/* ============================================
   TECHNOCHAMA - MINIMALISTA & INOVADOR
   ============================================ */

/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* --- Variables --- */
:root {
    --primary: #0a1628;
    --primary-light: #1a365d;
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-900: #0f172a;

    --font: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
}

/* --- Reset --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    /* CORREÇÃO: Trava a largura total da página */
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    background: var(--white);
    color: var(--gray-900);
    line-height: 1.6;
    /* CORREÇÃO: Reforço para evitar vazamento lateral */
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* --- Custom Cursor (Desktop only) --- */
.cursor,
.cursor-follower {
    display: none !important;
}

/* ============================================
   NAVIGATION
   ============================================ */
/* --- NAVIGATION (Mobile First Base) --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 70px;
    /* Altura reduzida para mobile */
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* CORREÇÃO: Aumentado padding direito e limitado largura */
    padding: 10px 25px;
    width: 100%;
    max-width: 100vw;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.nav.scrolled {
    height: 70px;
    padding: 8px 20px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.nav-logo img,
.nav-logo-img {
    height: 45px;
    /* Logo menor no mobile */
    width: auto;
    object-fit: contain;
    max-height: 100%;
    transition: var(--transition);
}

.nav-links {
    display: none;
    gap: 48px;
    margin-left: 120px;
}

.nav-link {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--gray-600);
    position: relative;
    padding: 8px 0;
    transition: var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--gray-900);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background: #25D366;
    color: var(--white);
    border-radius: 100px;
    font-size: 1.2rem;
    font-weight: 700;
    transition: var(--transition);
}

.nav-cta:hover {
    background: #20BA5A;
    transform: translateY(-2px);
}

.nav-cta i {
    font-size: 1.1rem;
}

.cta-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gray-900);
    transition: var(--transition);
}

.nav-toggle.active span:first-child {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:last-child {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.mobile-link {
    font-size: 1.5rem;
    /* Tamanho ligeiramente menor para evitar quebra de linha */
    font-weight: 600;
    color: var(--gray-900);
    padding: 10px 0;
    /* Aumenta a área de toque vertical */
    display: block;
    width: 100%;
    text-align: center;
    transition: var(--transition);
}

.mobile-link:hover {
    color: var(--accent);
}

.mobile-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px;
    background: var(--accent);
    color: var(--white);
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 500;
    margin-top: 20px;
    width: 80%;
    /* Botão largo é mais fácil de clicar */
    justify-content: center;
}

/* Desktop Nav */
@media (min-width: 768px) {
    .nav {
        height: 120px;
        /* Altura desktop */
        padding: 20px 40px;
        background: #ffffff;
    }

    .nav.scrolled {
        height: 90px;
        padding: 15px 40px;
    }

    .nav-logo img,
    .nav-logo-img {
        height: 80px;
        /* Logo maior no desktop */
    }

    .nav-links {
        display: flex;
    }

    .nav-cta {
        display: flex;
    }

    .nav-toggle {
        display: none;
    }
}

@media (min-width: 1200px) {
    .nav {
        padding: 24px 80px;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100dvh;
    /* Garante ajuste correto em navegadores mobile (Chrome/Safari) */
    display: flex;
    flex-direction: column;
    /* ADICIONADO: Garante pilha vertical */
    align-items: center;
    justify-content: flex-start;
    /* ALTERADO: Deixa as margens internas controlarem o centro */
    position: relative;
    padding: 120px 20px 40px;
    /* AJUSTADO: Padding inferior seguro */
    /* CORREÇÃO: Garante o corte de elementos flutuantes */
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--primary) 100%);
    z-index: -3;
}

.hero-images-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
    overflow: hidden;
}

.hero-image-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-image-slide.active {
    opacity: 1;
}

.hero-images-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.85) 0%, rgba(15, 23, 42, 0.9) 100%);
    z-index: 1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
    animation: float 15s ease-in-out infinite;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -20%;
    width: 60%;
    height: 80%;
    background: radial-gradient(ellipse, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
    animation: float 12s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(30px, 30px) rotate(5deg);
    }
}

.hero-content {
    text-align: center;
    max-width: 900px;
    width: 100%;
    /* ADICIONADO: O segredo para centralizar verticalmente em layout flexível */
    margin-top: auto;
    margin-bottom: auto;
    z-index: 10;
    /* Garante prioridade de clique */
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.2s;
}

.label-line {
    width: 40px;
    height: 1px;
    background: var(--white);
}

.hero-label span:last-child {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--white);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(2rem, 10vw, 3.5rem);
    /* Ajuste dinâmico melhorado */
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    color: var(--white);
    word-wrap: break-word;
    /* Evita quebra de layout com palavras longas */
}

.title-line {
    display: block;
    overflow: hidden;
}

.title-line span {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
}

.title-line span.animate {
    animation: revealUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.title-line span.exit {
    animation: fadeOutUp 0.5s ease forwards;
}

.title-line:nth-child(1) span.animate {
    animation-delay: 0.1s;
}

.title-line:nth-child(2) span.animate {
    animation-delay: 0.2s;
}

.title-line:nth-child(3) span.animate {
    animation-delay: 0.3s;
}

.title-line.highlight span {
    color: var(--accent);
}

@keyframes revealUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOutUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-50%);
    }
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    max-width: 480px;
    margin: 0 auto 48px;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.7s;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.9s;
}

/* Button Primary */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: var(--gray-900);
    color: var(--white);
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary i {
    transition: var(--transition);
}

.btn-primary:hover i {
    transform: translateX(4px);
}

/* Button Ghost */
.btn-ghost {
    display: inline-flex;
    align-items: center;
    padding: 18px 36px;
    color: var(--white);
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.btn-ghost::after {
    content: '';
    position: absolute;
    bottom: 12px;
    left: 36px;
    right: 36px;
    height: 1px;
    background: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

.btn-ghost:hover {
    color: var(--white);
    opacity: 0.9;
}

.btn-ghost:hover::after {
    background: var(--white);
}

/* Scroll Indicator */
.hero-scroll {
    /* ALTERADO: Removemos o posicionamento absoluto */
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;

    /* Margens para espaçamento seguro */
    margin-top: 40px;
    margin-bottom: 0;

    opacity: 0;
    animation: fadeUp 0.8s ease forwards 1.2s;
    z-index: 10;
}

.hero-scroll span {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
    position: relative;
}

.scroll-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: var(--white);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% {
        top: 0;
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

@media (min-width: 768px) {
    .hero {
        padding: 140px 24px 80px;
    }

    .hero-title {
        font-size: clamp(3rem, 6vw, 5.5rem);
    }

    .hero-actions {
        flex-direction: row;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats {
    padding: 60px 20px;
    background: var(--white);
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
}

.stats-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
}

.stat-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-500);
    font-weight: 500;
}

.stat-divider {
    display: none;
    width: 1px;
    height: 60px;
    background: var(--gray-200);
    align-self: center;
}

@media (min-width: 768px) {
    .stats {
        padding: 100px 60px;
    }

    .stats-container {
        grid-template-columns: 1fr auto 1fr auto 1fr;
        gap: 40px;
    }

    .stat-divider {
        display: block;
    }

    .stat-number {
        font-size: 4rem;
    }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: 60px 20px;
    background: var(--white);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 60px;
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
    letter-spacing: -0.02em;
}

.title-accent {
    color: var(--accent);
}

.about-text {
    font-size: 1.1rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 48px;
}

.about-text strong {
    color: var(--gray-900);
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.feature {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--gray-50);
    border-radius: 16px;
    transition: var(--transition);
}

.feature:hover {
    background: var(--white);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: var(--white);
    border-radius: 12px;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.feature-content p {
    font-size: 0.9rem;
    color: var(--gray-500);
}

/* ============================================
   ABOUT ROTATING ANIMATION
   ============================================ */
.about-rotating-container {
    position: relative;
    min-height: 200px;
}

.about-title-wrapper {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.about-title-wrapper.active {
    opacity: 1;
    transform: translateY(0);
    position: relative;
}

.about-features-alt {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-features-alt.active {
    opacity: 1;
    transform: translateY(0);
    position: relative;
}

/* Cursor de digitação piscante */
.typing-cursor {
    color: var(--accent);
    animation: blink 0.7s infinite;
    font-weight: 300;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

/* Features alternativas - estilos */
.feature-alt {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--gray-50);
    border-radius: 12px;
    transition: var(--transition);
}

.feature-alt:hover {
    background: var(--white);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transform: translateX(8px);
}

.feature-icon-alt {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: var(--white);
    border-radius: 10px;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.feature-content-alt h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.feature-content-alt p {
    font-size: 0.85rem;
    color: var(--gray-500);
}

@media (min-width: 1024px) {
    .about {
        padding: 100px 60px;
    }

    .about-container {
        grid-template-columns: 1fr 1.5fr;
        gap: 60px;
        align-items: start;
    }

    .about-left {
        position: sticky;
        top: 140px;
    }
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    padding: 100px 24px;
    background: var(--gray-50);
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title-large {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    color: var(--gray-900);
    letter-spacing: -0.03em;
}

.services-layout {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.services-grid {
    display: grid;
    gap: 20px;
}

.service-card {
    background: var(--white);
    padding: 32px;
    padding-bottom: 70px;
    border-radius: 20px;
    position: relative;
    transition: var(--transition);
    cursor: pointer;
    overflow: hidden;
    border: 1px solid transparent;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary-light) 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.15);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover h3,
.service-card:hover p,
.service-card:hover .service-number {
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.service-number {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 16px;
    transition: var(--transition);
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
    transition: var(--transition);
}

.service-card p {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.7;
    transition: var(--transition);
}

.service-whatsapp {
    position: absolute;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.4rem;
    transition: var(--transition);
    opacity: 0;
    transform: scale(0.8);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.service-card:hover .service-whatsapp {
    opacity: 1;
    transform: scale(1);
}

/* Mobile: mostrar sempre o ícone */
@media (max-width: 767px) {
    .service-whatsapp {
        opacity: 0.7;
        transform: scale(0.9);
    }

    .service-card:active .service-whatsapp {
        opacity: 1;
        transform: scale(1);
    }
}


.service-preview {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: #020617;
    min-height: 200px;
    /* Altura menor para mobile */
    margin-top: 20px;
}

.service-preview-image-wrapper {
    position: absolute;
    inset: 0;
}

.service-preview-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: opacity 0.4s ease, transform 4s ease-out;
    transform: scale(1.02);
}

.service-preview-tag {
    position: relative;
    z-index: 1;
    padding: 24px 28px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(248, 250, 252, 0.9);
}

.service-preview-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.service-preview-tag::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #22c55e;
}

@media (min-width: 768px) {
    .services {
        padding: 140px 60px;
    }

    .services-layout {
        flex-direction: row;
        align-items: stretch;
    }

    .services-grid {
        flex: 1.4;
        grid-template-columns: repeat(2, 1fr);
    }

    .service-preview {
        flex: 1;
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .service-card {
        padding: 40px;
        padding-bottom: 80px;
    }
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
    padding: 60px 20px;
    background: var(--gray-900);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(37, 99, 235, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.cta-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 40px;
    background: var(--accent);
    color: var(--white);
    border-radius: 100px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition);
}

.cta-button:hover {
    background: var(--white);
    color: var(--gray-900);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.2);
}

.cta-button i {
    font-size: 1.3rem;
}

@media (min-width: 768px) {
    .cta {
        padding: 100px 60px;
    }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 80px 24px 40px;
    background: var(--primary);
    color: var(--white);
}

.footer-main {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 16px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-col a,
.footer-col span {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin-bottom: 12px;
    transition: var(--transition-fast);
}

.footer-col a:hover {
    color: var(--white);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-cnpj {
    font-size: 0.8rem !important;
}

.footer-developer {
    max-width: 1200px;
    margin: 30px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-developer p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}

.developer-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.developer-whatsapp:hover {
    background: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.5);
}

@media (min-width: 768px) {
    .footer {
        padding: 100px 60px 50px;
    }

    .footer-main {
        grid-template-columns: 1.5fr 1fr;
        align-items: start;
    }

    .footer-brand {
        align-items: flex-start;
        text-align: left;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* ============================================
   ANIMATIONS & UTILITIES
   ============================================ */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Ajuste da logo no rodapé */
.footer-logo {
    width: 180px;
    height: auto;
    max-width: 90%;
    margin-top: 14px;
    background: transparent !important;
}

/* Container para logos lado a lado no footer */
.footer-logos {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* SINDISTAL logos */
.nav-sindistal {
    height: 55px;
    width: auto;
    object-fit: contain;
    margin-left: auto;
    margin-right: 20px;
    transition: var(--transition);
}

.footer-sindistal {
    width: 280px;
    height: auto;
    object-fit: contain;
    background: white;
    padding: 15px 20px;
    border-radius: 8px;
    max-width: 90%;
}

@media (min-width: 768px) {
    .nav-sindistal {
        height: 70px;
    }

    .footer-logo {
        width: 220px;
    }

    .footer-sindistal {
        width: 320px;
        padding: 20px 25px;
    }

    .footer-logos {
        flex-direction: row;
        gap: 30px;
    }
}

/* Spinner de Carregamento para galeria */
.loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 5;
    display: none;
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.gallery-item.loading .loader {
    display: block;
}

.lazy-media {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.lazy-media.loaded {
    opacity: 1;
}

/* Selection */
::selection {
    background: var(--accent);
    color: var(--white);
}

/* Smooth scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-400);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-500);
}