/* ============================================================
   HAFRA GLOBAL - STYLE.CSS
   Custom styles beyond Tailwind
   ============================================================ */

/* ============================================================
   CSS CUSTOM PROPERTIES — Gradients reutilizáveis
   ============================================================ */
:root {
    /* Gold divider line (fade in/out) */
    --grad-gold-divider: linear-gradient(90deg, transparent, #D4AF37, transparent);
    /* Gold divider sutil */
    --grad-gold-divider-sub: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.4), transparent);
    /* Gold shimmer animado (preloader/OAB) */
    --grad-gold-shimmer: linear-gradient(90deg, #D4AF37, #E5B85C, #D4AF37);
    /* Gold shimmer compacto */
    --grad-gold-shimmer-compact: linear-gradient(90deg, #D4AF37, #E5B85C);
    /* Gold button (pill animado) */
    --grad-gold-btn-pill: linear-gradient(135deg, #D4AF37 0%, #E5C55A 25%, #C5A028 50%, #D4AF37 75%, #B8922E 100%);
    /* Gold CTA button */
    --grad-gold-btn-cta: linear-gradient(135deg, #D4AF37 0%, #C5A028 50%, #B8922E 100%);
    /* Gold CTA hover */
    --grad-gold-btn-hover: linear-gradient(135deg, #E0C04A 0%, #D4AF37 50%, #C5A028 100%);
    /* Green dark inner background */
    --grad-green-inner: linear-gradient(135deg, #0F2E25 0%, #1A4D3A 50%, #0F2E25 100%);
    /* Green dark button */
    --grad-green-btn: linear-gradient(135deg, #0A2A1F 0%, #143829 100%);
    /* Green dark button hover */
    --grad-green-btn-hover: linear-gradient(135deg, #0F2E25 0%, #1A4D3A 100%);
    /* White shine overlay */
    --grad-shine-strong: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    /* White shine overlay sutil */
    --grad-shine-sub: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
    /* Radial gold glow forte */
    --grad-gold-glow-strong: radial-gradient(circle, rgba(212, 175, 55, 0.15), transparent 70%);
    /* Radial gold glow médio */
    --grad-gold-glow-mid: radial-gradient(circle, rgba(212, 175, 55, 0.12), transparent 70%);
    /* Radial gold glow fraco */
    --grad-gold-glow-sub: radial-gradient(circle, rgba(212, 175, 55, 0.08), transparent 70%);
    /* Overlay escuro 160deg (serviços/setores) */
    --grad-overlay-dark: linear-gradient(160deg, rgba(15, 46, 37, 0.92) 0%, rgba(10, 30, 24, 0.88) 50%, rgba(8, 25, 20, 0.85) 100%);
    /* Overlay claro hover 160deg */
    --grad-overlay-light: linear-gradient(160deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 245, 235, 0.9) 40%, rgba(245, 240, 225, 0.85) 100%);
    /* Card highlight dourado 135deg */
    --grad-card-highlight: linear-gradient(135deg, rgba(212, 175, 55, 0.06) 0%, rgba(212, 175, 55, 0.01) 50%, transparent 100%);
    /* Card highlight hover 135deg */
    --grad-card-highlight-hover: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.03) 50%, transparent 100%);
}

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.whatsapp-float:hover {
    transform: scale(1.08);
}

.whatsapp-icon-wrapper {
    position: relative;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: box-shadow 0.3s ease;
}

.whatsapp-float:hover .whatsapp-icon-wrapper {
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

.whatsapp-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #25D366;
    animation: whatsapp-pulse 2s ease-in-out infinite;
    z-index: -1;
}

@keyframes whatsapp-pulse {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.35); opacity: 0.15; }
    100% { transform: scale(1); opacity: 0.5; }
}

.whatsapp-tooltip {
    background: #ffffff;
    color: #1C1C1C;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 767px) {
    .whatsapp-float {
        bottom: 16px;
        right: 16px;
    }

    .whatsapp-icon-wrapper {
        width: 52px;
        height: 52px;
    }

    .whatsapp-icon-wrapper svg {
        width: 24px;
        height: 24px;
    }

    .whatsapp-tooltip {
        display: none;
    }
}

/* ============================================================
   SOBRE NÓS — HEADER PREMIUM
   ============================================================ */
.sobre-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 20px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    background: rgba(212, 175, 55, 0.04);
}

.sobre-badge-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 20px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 100px;
    background: rgba(212, 175, 55, 0.08);
    font-family: 'Cinzel', serif;
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(212, 175, 55, 0.9);
    margin-bottom: 16px;
}

.sobre-badge-label::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #D4AF37;
    animation: sobre-badge-pulse 2s ease-in-out infinite;
}

@keyframes sobre-badge-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.sobre-divider {
    width: 80px;
    height: 1.5px;
    background: var(--grad-gold-divider);
    margin: 16px auto 20px;
    opacity: 0.7;
}

.sobre-intro {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 1.25rem;
    color: #1C1C1C;
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.7;
    text-align: justify;
}

.sobre-texto {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 1.05rem;
    color: #1C1C1C;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    text-align: justify;
}

/* ============================================================
   SOBRE NÓS — CARDS MISSÃO / VISÃO / VALORES (GSAP)
   ============================================================ */
#sobre-grid .gsap-sobre {
    position: relative;
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
    min-height: 320px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    padding: 36px 30px;
}

#sobre-grid .gsap-sobre:hover {
    border-color: #D4AF37;
    box-shadow: 0 24px 70px -20px rgba(212, 175, 55, 0.4), 0 0 0 2px rgba(212, 175, 55, 0.15);
    transform: translateY(-8px);
    background: #0F2E25;
}

/* Número do card */
#sobre-grid .gsap-sobre .sobre-numero {
    position: absolute;
    top: 16px;
    right: 20px;
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(212, 175, 55, 0.15);
    line-height: 1;
    z-index: 2;
    transition: color 0.4s ease, transform 0.4s ease;
    pointer-events: none;
}

#sobre-grid .gsap-sobre:hover .sobre-numero {
    color: rgba(212, 175, 55, 0.3);
    transform: scale(1.15);
}

/* Ícone do card */
#sobre-grid .gsap-sobre .sobre-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(212, 175, 55, 0.35);
    border-radius: 14px;
    background: rgba(212, 175, 55, 0.1);
    margin-bottom: 18px;
    transition: all 0.4s ease;
    color: #D4AF37;
}

#sobre-grid .gsap-sobre:hover .sobre-icon {
    background: #D4AF37;
    border-color: #D4AF37;
    color: #ffffff;
    box-shadow: 0 6px 24px rgba(212, 175, 55, 0.3);
}

#sobre-grid .gsap-sobre .sobre-icon svg {
    width: 22px;
    height: 22px;
    stroke-width: 1.8;
}

/* Título do card */
#sobre-grid .gsap-sobre h3 {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.3;
    color: #0F2E25;
    margin-bottom: 10px;
    transition: color 0.3s ease;
    letter-spacing: 0.02em;
}

#sobre-grid .gsap-sobre:hover h3 {
    color: #D4AF37;
}

/* Texto do card */
#sobre-grid .gsap-sobre p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 1.05rem;
    line-height: 1.65;
    color: rgba(40, 50, 60, 0.8);
    transition: color 0.3s ease;
    text-align: justify;
}

#sobre-grid .gsap-sobre:hover p {
    color: rgba(200, 210, 200, 0.9);
}

/* ============================================================
   SOBRE NÓS — CARROSSEL MOBILE
   ============================================================ */
#sobre-carousel .carousel-slide > div {
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
    min-height: 280px;
    position: relative;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
    padding: 28px 22px;
}

#sobre-carousel .carousel-slide > div:hover {
    background: #0F2E25;
    border-color: #D4AF37;
}

#sobre-carousel .carousel-slide .sobre-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(212, 175, 55, 0.35);
    border-radius: 12px;
    background: rgba(212, 175, 55, 0.1);
    margin-bottom: 14px;
    color: #D4AF37;
    transition: all 0.4s ease;
}

#sobre-carousel .carousel-slide > div:hover .sobre-icon {
    background: #D4AF37;
    border-color: #D4AF37;
    color: #ffffff;
    box-shadow: 0 6px 24px rgba(212, 175, 55, 0.3);
}

#sobre-carousel .carousel-slide .sobre-icon svg {
    width: 18px;
    height: 18px;
    stroke-width: 1.8;
}

#sobre-carousel .carousel-slide h3 {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.3;
    color: #0F2E25;
    margin-bottom: 8px;
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
}

#sobre-carousel .carousel-slide > div:hover h3 {
    color: #D4AF37;
}

#sobre-carousel .carousel-slide p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(40, 50, 60, 0.8);
    transition: color 0.3s ease;
    text-align: justify;
}

#sobre-carousel .carousel-slide > div:hover p {
    color: rgba(200, 210, 200, 0.9);
}

/* ============================================================
   SOBRE NÓS — ESTATÍSTICAS / NÚMEROS
   ============================================================ */
.sobre-stats-wrapper {
    position: relative;
}

.sobre-stats-divider {
    width: 120px;
    height: 1.5px;
    background: var(--grad-gold-divider);
    margin: 0 auto 32px;
    opacity: 0.5;
}

/* Card de estatística */
.sobre-stat-card {
    background: #ffffff;
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    padding: 32px 20px;
    transition: all 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    cursor: default;
}

.sobre-stat-card:hover {
    border-color: #D4AF37;
    box-shadow: 0 24px 70px -20px rgba(212, 175, 55, 0.4), 0 0 0 2px rgba(212, 175, 55, 0.15);
    transform: translateY(-6px);
    background: #0F2E25;
}

.sobre-stat-card .stat-number {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 2.5rem;
    line-height: 1.1;
    color: #0F2E25;
    margin-bottom: 4px;
    transition: color 0.4s ease;
}

.sobre-stat-card:hover .stat-number {
    color: #D4AF37;
}

.sobre-stat-card p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 0.95rem;
    color: rgba(30, 50, 45, 0.7);
    letter-spacing: 0.04em;
    transition: color 0.4s ease;
}

.sobre-stat-card:hover p {
    color: rgba(200, 210, 200, 0.9);
}


/* ============================================================
   RESPONSIVO — SOBRE NÓS
   ============================================================ */
@media (max-width: 767px) {
    .sobre-intro {
        font-size: 1.1rem;
        font-weight: 400;
    }

    .sobre-texto {
        font-size: 0.95rem;
    }

    #sobre-grid .gsap-sobre {
        padding: 28px 22px;
        min-height: auto;
    }

    #sobre-grid .gsap-sobre .sobre-numero {
        font-size: 2rem;
        top: 12px;
        right: 16px;
    }

    .sobre-stat-card {
        padding: 24px 16px;
    }

    .sobre-stat-card .stat-number {
        font-size: 2rem;
    }
}

/* ============================================================
   BANNER CTA — CARD ÚNICO PREMIUM
   ============================================================ */
#cta-premium {
    position: relative;
    background: #0F2E25;
    border: 2px solid rgba(212, 175, 55, 0.25);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 20px 60px -15px rgba(15, 46, 37, 0.4);
    transition: border-color 0.5s ease, box-shadow 0.5s ease;
}

/* Cantos decorativos */
.cta-corner {
    position: absolute;
    width: 40px;
    height: 40px;
    border-color: rgba(212, 175, 55, 0.3);
    border-style: solid;
    pointer-events: none;
    z-index: 1;
    transition: border-color 0.5s ease;
}

.cta-corner-tl {
    top: 12px;
    left: 12px;
    border-width: 1px 0 0 1px;
    border-radius: 6px 0 0 0;
}

.cta-corner-tr {
    top: 12px;
    right: 12px;
    border-width: 1px 1px 0 0;
    border-radius: 0 6px 0 0;
}

.cta-corner-bl {
    bottom: 12px;
    left: 12px;
    border-width: 0 0 1px 1px;
    border-radius: 0 0 0 6px;
}

.cta-corner-br {
    bottom: 12px;
    right: 12px;
    border-width: 0 1px 1px 0;
    border-radius: 0 0 6px 0;
}

/* Light streaks */
.cta-light-streak {
    position: absolute;
    top: 0;
    width: 30%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.4), transparent);
    pointer-events: none;
    z-index: 1;
    animation: cta-streak 4s ease-in-out infinite;
}

.cta-light-streak:nth-child(4) { left: 5%; animation-delay: 0s; }
.cta-light-streak:nth-child(5) { left: 35%; animation-delay: 1.5s; }
.cta-light-streak:nth-child(6) { left: 65%; animation-delay: 3s; }

@keyframes cta-streak {
    0%, 100% { opacity: 0.2; transform: scaleX(0.8); }
    50% { opacity: 0.8; transform: scaleX(1.2); }
}

/* Partículas */
.cta-particle {
    position: absolute;
    border-radius: 50%;
    background: var(--grad-gold-glow-strong);
    pointer-events: none;
    z-index: 0;
}

.cta-particle:nth-child(7) {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -80px;
}

.cta-particle:nth-child(8) {
    width: 200px;
    height: 200px;
    bottom: -60px;
    left: -60px;
}

.cta-particle:nth-child(9) {
    width: 120px;
    height: 120px;
    top: 30%;
    left: 10%;
}

.cta-particle:nth-child(10) {
    width: 80px;
    height: 80px;
    bottom: 20%;
    right: 15%;
}

/* Título */
.cta-title {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 1.75rem;
    line-height: 1.3;
    color: #ffffff;
    letter-spacing: 0.02em;
}

.cta-title-dourado {
    color: #D4AF37;
}

/* Subtítulo */
.cta-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 12px;
    line-height: 1.6;
}

/* Botão CTA — ÚNICO elemento com hover */
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: #D4AF37;
    color: #0F2E25;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 0.8125rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 24px rgba(212, 175, 55, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: var(--grad-shine-strong);
    transform: skewX(-25deg);
    transition: left 0.6s ease;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: #E0C04A;
}

.cta-btn:hover::before {
    left: 125%;
}

.cta-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 12px rgba(212, 175, 55, 0.3);
}

.cta-arrow {
    display: inline-flex;
    transition: transform 0.3s ease;
}

.cta-btn:hover .cta-arrow {
    transform: translateX(4px);
}

.cta-arrow svg {
    width: 16px;
    height: 16px;
}

/* Responsivo CTA */
@media (max-width: 767px) {
    #cta-premium {
        border-radius: 24px;
        padding: 2rem 1.5rem !important;
    }

    .cta-corner {
        width: 24px;
        height: 24px;
    }

    .cta-corner-tl { top: 8px; left: 8px; }
    .cta-corner-tr { top: 8px; right: 8px; }
    .cta-corner-bl { bottom: 8px; left: 8px; }
    .cta-corner-br { bottom: 8px; right: 8px; }

    .cta-title {
        font-size: 1.35rem;
        text-align: center;
    }

    .cta-subtitle {
        font-size: 1rem;
        text-align: center;
    }

    .cta-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 28px;
        font-size: 0.75rem;
    }

    .cta-particle:nth-child(7) { width: 180px; height: 180px; top: -60px; right: -40px; }
    .cta-particle:nth-child(8) { width: 120px; height: 120px; bottom: -40px; left: -30px; }
    .cta-particle:nth-child(9),
    .cta-particle:nth-child(10) { display: none; }
}

/* Textura Global (Noise Overlay) */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    z-index: 9999;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}


/* ============================================================
   CONTATO — SEÇÃO
   ============================================================ */

.contato-section {
    background: linear-gradient(
        160deg,
        #f8f9fa 0%,
        #ffffff 30%,
        #f0f2f5 60%,
        #fafbfc 100%
    );
    position: relative;
    overflow: hidden;
}

/* Brilho espelhado sutil */
.contato-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        ellipse at 30% 20%,
        rgba(255, 255, 255, 0.6) 0%,
        transparent 50%
    ),
    radial-gradient(
        ellipse at 70% 80%,
        rgba(255, 255, 255, 0.3) 0%,
        transparent 40%
    );
    pointer-events: none;
    z-index: 0;
}

/* Efeito de brilho tipo "espelho" nas bordas */
.contato-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(212, 175, 55, 0.08) 20%,
        rgba(212, 175, 55, 0.15) 50%,
        rgba(212, 175, 55, 0.08) 80%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* ============================================================
   CONTATO — FORMULÁRIO
   ============================================================ */

/* Container do formulário — Neon Dourado */
.contato-card {
    position: relative;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.08),
                0 0 60px rgba(212, 175, 55, 0.05),
                0 20px 60px -15px rgba(15, 46, 37, 0.4);
    transition: box-shadow 0.5s ease;
}

.contato-card::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: calc(2.5rem + 3px);
    background: linear-gradient(
        135deg,
        rgba(212, 175, 55, 0.15) 0%,
        rgba(212, 175, 55, 0.05) 30%,
        transparent 50%,
        rgba(212, 175, 55, 0.05) 70%,
        rgba(212, 175, 55, 0.15) 100%
    );
    z-index: -1;
    opacity: 0.6;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.contato-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: calc(2.5rem + 1px);
    background: linear-gradient(
        135deg,
        rgba(212, 175, 55, 0.08) 0%,
        transparent 40%,
        transparent 60%,
        rgba(212, 175, 55, 0.08) 100%
    );
    z-index: -1;
    opacity: 0.4;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.contato-card:hover {
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.12),
                0 0 80px rgba(212, 175, 55, 0.08),
                0 24px 70px -15px rgba(15, 46, 37, 0.5);
}

.contato-card:hover::before {
    opacity: 0.9;
}

.contato-card:hover::after {
    opacity: 0.7;
}

/* Botão Submit Principal — Estilo Fantástico (gradiente dourado) */
#form-submit-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 4px;
    border: none;
    border-radius: 60px;
    background: var(--grad-gold-btn-pill);
    background-size: 200% 200%;
    animation: oab-btn-gradient 4s ease-in-out infinite;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.2),
                0 8px 32px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
    overflow: hidden;
    cursor: pointer;
    width: 100%;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 0.8125rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #ffffff;
}

#form-submit-btn::before {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 56px;
    background: var(--grad-green-inner);
    z-index: 1;
    transition: all 0.4s ease;
}

/* Efeito de brilho no hover */
#form-submit-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    transform: rotate(25deg);
    transition: left 0.7s ease;
    z-index: 2;
    pointer-events: none;
}

#form-submit-btn:hover::after {
    left: 120%;
}

#form-submit-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.35),
                0 12px 40px rgba(0, 0, 0, 0.35),
                inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

#form-submit-btn:active {
    transform: translateY(-1px) scale(1.01);
}

/* Conteúdo interno do botão */
#form-submit-btn .oab-btn-content {
    position: relative;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    color: #ffffff;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: all 0.4s ease;
}

@media (min-width: 768px) {
    #form-submit-btn .oab-btn-content {
        padding: 16px 40px;
        font-size: 0.875rem;
        gap: 14px;
    }
}

/* Ícone do livro/lei */
#form-submit-btn .oab-btn-icon {
    width: 18px;
    height: 18px;
    color: #D4AF37;
    transition: all 0.4s ease;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    #form-submit-btn .oab-btn-icon {
        width: 20px;
        height: 20px;
    }
}

#form-submit-btn:hover .oab-btn-icon {
    color: #ffffff;
    transform: rotate(-4deg) scale(1.1);
}

/* Label do botão */
#form-submit-btn .oab-btn-label {
    white-space: nowrap;
}

/* Seta animada */
#form-submit-btn .oab-btn-arrow {
    width: 14px;
    height: 14px;
    transition: transform 0.4s ease;
    flex-shrink: 0;
}

#form-submit-btn:hover .oab-btn-arrow {
    transform: translateX(6px);
}

/* Spinner do botão */
.btn-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2.5px solid rgba(255,255,255,0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: form-spin 0.7s linear infinite;
}

#form-submit-btn.loading .oab-btn-content,
#form-submit-btn.loading .oab-btn-icon,
#form-submit-btn.loading .oab-btn-label,
#form-submit-btn.loading .oab-btn-arrow {
    display: none;
}

#form-submit-btn.loading .btn-spinner {
    display: inline-block;
}

@keyframes form-spin {
    to { transform: rotate(360deg); }
}

@keyframes oab-btn-gradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Feedback do formulário */
#form-feedback {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    border: 1px solid transparent;
}

#form-feedback.success {
    background: rgba(15, 46, 37, 0.08);
    border-color: rgba(15, 46, 37, 0.2);
    color: #0F2E25;
}

#form-feedback.error {
    background: rgba(220, 38, 38, 0.08);
    border-color: rgba(220, 38, 38, 0.2);
    color: #B91C1C;
}

/* Checkbox dos Termos */
.termos-checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 16px;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.termos-checkbox-wrapper:hover {
    border-color: rgba(212, 175, 55, 0.35);
    background: rgba(255, 255, 255, 0.85);
}

.termos-checkbox-wrapper input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid rgba(15, 46, 37, 0.3);
    border-radius: 6px;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-top: 2px;
    position: relative;
}

.termos-checkbox-wrapper input[type="checkbox"]:checked {
    background: #0F2E25;
    border-color: #0F2E25;
}

.termos-checkbox-wrapper input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 6px;
    width: 5px;
    height: 10px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.termos-checkbox-wrapper input[type="checkbox"]:focus-visible {
    outline: 2px solid rgba(212, 175, 55, 0.5);
    outline-offset: 2px;
}

.termos-checkbox-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(30, 50, 45, 0.8);
    cursor: pointer;
    user-select: none;
}

.termos-checkbox-label a {
    color: #D4AF37;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: rgba(212, 175, 55, 0.3);
    transition: color 0.3s ease, text-decoration-color 0.3s ease;
}

.termos-checkbox-label a:hover {
    color: #B8860B;
    text-decoration-color: #B8860B;
}

/* Mensagem de erro dos termos */
.termos-error-msg {
    display: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: #B91C1C;
    padding: 8px 16px;
    background: rgba(220, 38, 38, 0.06);
    border: 1px solid rgba(220, 38, 38, 0.15);
    border-radius: 10px;
    text-align: center;
}

.termos-error-msg.visible {
    display: block;
}

/* Mensagem de erro CNPJ */
.cnpj-error-msg {
    display: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    color: #B91C1C;
    margin-top: 4px;
    padding-left: 4px;
}

.cnpj-error-msg.visible {
    display: block;
}

/* Responsivo — Formulário */
@media (max-width: 767px) {
    .termos-checkbox-wrapper {
        padding: 14px 16px;
    }

    .termos-checkbox-label {
        font-size: 0.85rem;
    }
}

/* Base Títulos */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* ============================================================
   SERVIÇOS — HEADER PREMIUM
   ============================================================ */
.servicos-header {
    text-align: center;
    margin-bottom: 4rem;
}

.servicos-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 20px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 100px;
    background: rgba(212, 175, 55, 0.08);
    font-family: 'Cinzel', serif;
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(212, 175, 55, 0.9);
    margin-bottom: 20px;
}

.servicos-badge::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #D4AF37;
    animation: servicos-badge-pulse 2s ease-in-out infinite;
}

@keyframes servicos-badge-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.servicos-divider {
    width: 80px;
    height: 1.5px;
    background: var(--grad-gold-divider);
    margin: 16px auto 20px;
    opacity: 0.7;
}

.servicos-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 1.1rem;
    color: rgba(30, 50, 45, 0.85);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================================
   SERVIÇOS — CARDS PREMIUM V3 (FUNDO VERDE → CLARO NO HOVER)
   ============================================================ */
#servicos-grid .gsap-servico {
    position: relative;
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    overflow: hidden;
    background: #0F2E25;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
    min-height: 340px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

#servicos-grid .gsap-servico:hover {
    border-color: #D4AF37;
    box-shadow: 0 24px 70px -20px rgba(212, 175, 55, 0.4), 0 0 0 2px rgba(212, 175, 55, 0.15);
    transform: translateY(-8px);
    background: #ffffff;
}

/* Imagem de fundo do card */
#servicos-grid .gsap-servico .servico-img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    opacity: 0.08;
    transition: opacity 0.6s ease, transform 0.8s ease;
}

#servicos-grid .gsap-servico:hover .servico-img {
    opacity: 0.12;
    transform: scale(1.05);
}

/* Overlay gradiente */
#servicos-grid .gsap-servico .servico-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        160deg,
        rgba(15, 46, 37, 0.92) 0%,
        rgba(10, 30, 24, 0.88) 50%,
        rgba(8, 25, 20, 0.85) 100%
    );
    transition: background 0.5s ease;
}

#servicos-grid .gsap-servico:hover .servico-overlay {
    background: linear-gradient(
        160deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(250, 245, 235, 0.9) 40%,
        rgba(245, 240, 225, 0.85) 100%
    );
}

/* Número do serviço */
#servicos-grid .gsap-servico .servico-numero {
    position: absolute;
    top: 16px;
    right: 20px;
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(212, 175, 55, 0.2);
    line-height: 1;
    z-index: 2;
    transition: color 0.4s ease, transform 0.4s ease;
    pointer-events: none;
}

#servicos-grid .gsap-servico:hover .servico-numero {
    color: rgba(212, 175, 55, 0.3);
    transform: scale(1.15);
}

/* Conteúdo do card */
#servicos-grid .gsap-servico .servico-content {
    position: relative;
    z-index: 2;
    padding: 36px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
    transform-origin: center bottom;
}

#servicos-grid .gsap-servico:hover .servico-content {
    transform: scale(1.04);
}

/* Badge HAFRA no topo do card */
#servicos-grid .gsap-servico .servico-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Cinzel', serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #D4AF37;
    margin-bottom: 18px;
    transition: all 0.3s ease;
    border: 1.5px solid rgba(212, 175, 55, 0.4);
    border-radius: 100px;
    padding: 4px 14px;
    background: rgba(212, 175, 55, 0.1);
    width: fit-content;
}

#servicos-grid .gsap-servico:hover .servico-brand {
    background: #D4AF37;
    color: #0F2E25;
    border-color: #D4AF37;
}

/* Ícone do serviço */
#servicos-grid .gsap-servico .servico-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(212, 175, 55, 0.35);
    border-radius: 14px;
    background: rgba(212, 175, 55, 0.1);
    margin-bottom: 18px;
    transition: all 0.4s ease;
    color: #D4AF37;
}

#servicos-grid .gsap-servico:hover .servico-icon {
    background: #D4AF37;
    border-color: #D4AF37;
    color: #ffffff;
    box-shadow: 0 6px 24px rgba(212, 175, 55, 0.3);
}

#servicos-grid .gsap-servico .servico-icon svg {
    width: 22px;
    height: 22px;
    stroke-width: 1.8;
}

/* Título do serviço */
#servicos-grid .gsap-servico .servico-titulo {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.3;
    color: #ffffff;
    margin-bottom: 10px;
    transition: color 0.3s ease;
    letter-spacing: 0.02em;
}

#servicos-grid .gsap-servico:hover .servico-titulo {
    color: #B8860B;
}

/* Descrição do serviço */
#servicos-grid .gsap-servico .servico-desc {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 1.05rem;
    line-height: 1.65;
    color: rgba(200, 210, 200, 0.85);
    transition: color 0.3s ease;
}

#servicos-grid .gsap-servico:hover .servico-desc {
    color: rgba(40, 50, 60, 0.95);
}

/* Linha decorativa no hover */
#servicos-grid .gsap-servico .servico-hover-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #D4AF37, #B8860B, #D4AF37, transparent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
    z-index: 3;
}

#servicos-grid .gsap-servico:hover .servico-hover-line {
    transform: scaleX(1);
}

/* ============================================================
   SERVIÇOS — BACKGROUND DA SEÇÃO
   ============================================================ */
#servicos {
    position: relative;
    overflow: hidden;
}

#servicos .servicos-bg-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        135deg,
        rgba(220, 235, 220, 0.6) 0%,
        rgba(210, 230, 210, 0.4) 50%,
        rgba(225, 240, 225, 0.5) 100%
    );
    transition: background 2.5s cubic-bezier(0.22, 0.61, 0.36, 1);
    pointer-events: none;
}

#servicos.servicos-hover .servicos-bg-overlay {
    background: linear-gradient(
        135deg,
        rgba(10, 30, 24, 0.92) 0%,
        rgba(15, 46, 37, 0.88) 25%,
        rgba(8, 25, 20, 0.85) 50%,
        rgba(15, 46, 37, 0.90) 75%,
        rgba(10, 30, 24, 0.95) 100%
    );
}

#servicos.servicos-hover h2 {
    color: #D4AF37 !important;
}

#servicos.servicos-hover .servicos-subtitle {
    color: rgba(255, 255, 255, 0.7) !important;
}

#servicos.servicos-hover .servicos-badge {
    border-color: rgba(212, 175, 55, 0.6);
    background: rgba(212, 175, 55, 0.15);
    color: #D4AF37;
}

/* ============================================================
   SERVIÇOS — CARROSSEL MOBILE V3 (FUNDO VERDE → CLARO)
   ============================================================ */
#servicos-carousel .carousel-slide > div {
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    overflow: hidden;
    background: #0F2E25;
    min-height: 280px;
    position: relative;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

#servicos-carousel .carousel-slide > div:hover {
    background: #ffffff;
    border-color: #D4AF37;
}

#servicos-carousel .carousel-slide .servico-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    opacity: 0.08;
    z-index: 0;
}

#servicos-carousel .carousel-slide .servico-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        160deg,
        rgba(15, 46, 37, 0.92) 0%,
        rgba(10, 30, 24, 0.88) 100%
    );
    transition: background 0.5s ease;
}

#servicos-carousel .carousel-slide:hover .servico-overlay {
    background: linear-gradient(
        160deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(250, 245, 235, 0.9) 100%
    );
}

#servicos-carousel .carousel-slide .servico-content {
    position: relative;
    z-index: 2;
    padding: 28px 22px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 280px;
    transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
    transform-origin: center bottom;
}

#servicos-carousel .carousel-slide:hover .servico-content {
    transform: scale(1.04);
}

#servicos-carousel .carousel-slide .servico-numero {
    position: absolute;
    top: 12px;
    right: 16px;
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    font-weight: 700;
    color: rgba(212, 175, 55, 0.2);
    line-height: 1;
    z-index: 2;
    pointer-events: none;
    transition: color 0.4s ease;
}

#servicos-carousel .carousel-slide:hover .servico-numero {
    color: rgba(212, 175, 55, 0.3);
}

#servicos-carousel .carousel-slide .servico-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Cinzel', serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #D4AF37;
    margin-bottom: 14px;
    border: 1.5px solid rgba(212, 175, 55, 0.4);
    border-radius: 100px;
    padding: 3px 12px;
    background: rgba(212, 175, 55, 0.1);
    width: fit-content;
    transition: all 0.3s ease;
}

#servicos-carousel .carousel-slide:hover .servico-brand {
    background: #D4AF37;
    color: #0F2E25;
    border-color: #D4AF37;
}

#servicos-carousel .carousel-slide .servico-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(212, 175, 55, 0.35);
    border-radius: 12px;
    background: rgba(212, 175, 55, 0.1);
    margin-bottom: 14px;
    color: #D4AF37;
    transition: all 0.4s ease;
}

#servicos-carousel .carousel-slide:hover .servico-icon {
    background: #D4AF37;
    border-color: #D4AF37;
    color: #ffffff;
    box-shadow: 0 6px 24px rgba(212, 175, 55, 0.3);
}

#servicos-carousel .carousel-slide .servico-icon svg {
    width: 18px;
    height: 18px;
    stroke-width: 1.8;
}

#servicos-carousel .carousel-slide .servico-titulo {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.3;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
}

#servicos-carousel .carousel-slide:hover .servico-titulo {
    color: #B8860B;
}

#servicos-carousel .carousel-slide .servico-desc {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(200, 210, 200, 0.85);
    transition: color 0.3s ease;
}

#servicos-carousel .carousel-slide:hover .servico-desc {
    color: rgba(40, 50, 60, 0.95);
}

/* ============================================================
   HERO SECTION — LUXO & SOFISTICAÇÃO
   ============================================================ */

#hero {
    position: relative;
}

/* Container da imagem de fundo — centralizada com bordas arredondadas */
#hero .hero-bg-container {
    position: absolute;
    inset: 24px;
    z-index: 0;
    border-radius: 32px;
    overflow: hidden;
}

#hero .hero-bg-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay gradiente premium com vinheta */
#hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 30, 24, 0.92) 0%,
        rgba(15, 46, 37, 0.75) 40%,
        rgba(10, 30, 24, 0.88) 100%
    );
    transition: background 0.6s ease;
}

#hero .hero-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.5) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Partículas decorativas (círculos dourados sutis) */
.hero-particle {
    position: absolute;
    border-radius: 50%;
    background: var(--grad-gold-glow-mid);
    pointer-events: none;
    z-index: 1;
}

.hero-particle:nth-child(1) {
    width: 400px;
    height: 400px;
    top: -120px;
    right: -80px;
}

.hero-particle:nth-child(2) {
    width: 280px;
    height: 280px;
    bottom: -80px;
    left: -60px;
}

.hero-particle:nth-child(3) {
    width: 160px;
    height: 160px;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
}

/* Card moldura da Hero — borda dourada com vidro fosco */
.hero-card {
    position: relative;
    width: 100%;
    max-width: 820px;
    padding: 36px 36px;
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 24px;
    background: rgba(10, 30, 24, 0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 48px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(212, 175, 55, 0.1);
    transition: border-color 0.5s ease, box-shadow 0.5s ease, background 0.5s ease;
    text-align: center;
}

/* Efeito hover no card: escurece fundo, textos dourados, botão branco */
#hero.hero-card-hover .hero-overlay {
    background: linear-gradient(
        135deg,
        rgba(5, 15, 12, 0.97) 0%,
        rgba(8, 25, 20, 0.92) 40%,
        rgba(5, 15, 12, 0.95) 100%
    ) !important;
    transition: background 0.6s ease;
}

#hero.hero-card-hover .hero-card {
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 0 8px 48px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(212, 175, 55, 0.25),
                0 0 60px rgba(212, 175, 55, 0.08);
    background: rgba(5, 15, 12, 0.5);
}

#hero.hero-card-hover .hero-card::before,
#hero.hero-card-hover .hero-card::after {
    border-color: rgba(212, 175, 55, 0.7);
    transition: border-color 0.5s ease;
}

#hero.hero-card-hover .hero-card-glow {
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.8), transparent);
}

#hero.hero-card-hover .hero-badge {
    color: #D4AF37;
    border-color: rgba(212, 175, 55, 0.5);
    background: rgba(212, 175, 55, 0.15);
}

#hero.hero-card-hover .gsap-hero-title {
    color: #D4AF37 !important;
    text-shadow: 0 2px 40px rgba(212, 175, 55, 0.2);
}

/* Transições suaves nos elementos que mudam com hover */
#hero .gsap-hero-title,
#hero .hero-subtitle,
#hero .hero-badge,
#hero .hero-divider,
#hero .hero-scroll-indicator span,
#hero .hero-scroll-indicator .scroll-line {
    transition: color 0.5s ease, opacity 0.5s ease, background 0.5s ease, border-color 0.5s ease, text-shadow 0.5s ease;
}

#hero.hero-card-hover .hero-divider {
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.9), transparent);
    opacity: 1;
}

#hero.hero-card-hover .hero-subtitle {
    color: rgba(212, 175, 55, 0.85) !important;
}

#hero.hero-card-hover .hero-cta {
    background: #ffffff !important;
    color: #0F2E25 !important;
    box-shadow: 0 4px 24px rgba(255, 255, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
}

#hero.hero-card-hover .hero-cta:hover {
    background: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.3) !important;
}

#hero.hero-card-hover .hero-cta svg {
    stroke: #0F2E25;
}

#hero.hero-card-hover .hero-scroll-indicator span {
    color: rgba(212, 175, 55, 0.6);
}

#hero.hero-card-hover .hero-scroll-indicator .scroll-line {
    background: linear-gradient(to bottom, rgba(212, 175, 55, 0.8), transparent);
}

/* ============================================================
   HERO — TEXTO "HAFRA" E "ASSESSORIA" NO HOVER (DESKTOP)
   ============================================================ */
.hero-hover-hafra,
.hero-hover-assessoria {
    position: absolute;
    z-index: 5;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: clamp(2.5rem, 5vw, 6rem);
    line-height: 1;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.08);
    pointer-events: none;
    user-select: none;
    transition: color 0.6s ease, opacity 0.6s ease;
    opacity: 0;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    /* Centralizado verticalmente com padding no topo e fundo */
    top: 50%;
    transform: translateY(-50%);
    padding-top: clamp(16px, 3vh, 48px);
    padding-bottom: clamp(16px, 3vh, 48px);
    box-sizing: content-box;
    /* Garante que o texto não ultrapasse a altura do container */
    max-height: 90vh;
}

.hero-hover-hafra {
    /* Ajustado: spans agora dentro do .hero-bg-container (que tem inset: 24px) */
    left: max(0px, calc((100% + 48px - 820px) / 4 - 12px));
}

.hero-hover-assessoria {
    /* Ajustado: spans agora dentro do .hero-bg-container (que tem inset: 24px) */
    right: max(0px, calc((100% + 48px - 820px) / 4 - 12px));
}

#hero.hero-card-hover .hero-hover-hafra,
#hero.hero-card-hover .hero-hover-assessoria {
    color: rgba(255, 255, 255, 0.15);
    opacity: 1;
}

/* Cantos decorativos do card */
.hero-card::before,
.hero-card::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border-color: rgba(212, 175, 55, 0.4);
    border-style: solid;
    pointer-events: none;
}

.hero-card::before {
    top: 12px;
    left: 12px;
    border-width: 1px 0 0 1px;
    border-radius: 4px 0 0 0;
}

.hero-card::after {
    bottom: 12px;
    right: 12px;
    border-width: 0 1px 1px 0;
    border-radius: 0 0 4px 0;
}

/* Brilho sutil no topo do card */
.hero-card .hero-card-glow {
    position: absolute;
    top: -1px;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.5), transparent);
}

/* Badge premium acima do título */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 20px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 100px;
    background: rgba(212, 175, 55, 0.08);
    backdrop-filter: blur(4px);
    font-family: 'Cinzel', serif;
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(212, 175, 55, 0.9);
    margin-bottom: 24px;
}

.hero-badge::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #D4AF37;
    animation: hero-badge-pulse 2s ease-in-out infinite;
}

@keyframes hero-badge-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

/* Linha decorativa dourada */
.hero-divider {
    width: 80px;
    height: 1.5px;
    background: var(--grad-gold-divider);
    margin: 16px auto 18px;
    opacity: 0.7;
}

/* Título principal com lettering refinado */
#hero h1 {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.15;
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.3);
}

/* Subtítulo com peso elegante — centralizado dentro do card */
#hero .hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 1.1rem;
    letter-spacing: 0.04em;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.8);
    max-width: 640px;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

@media (min-width: 768px) {
    #hero .hero-subtitle {
        font-size: 1.2rem;
    }
}

/* Botão CTA refinado com brilho dourado */
.hero-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: var(--grad-gold-btn-cta);
    color: #0F2E25;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 0.8125rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 24px rgba(212, 175, 55, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    overflow: hidden;
    text-decoration: none;
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: var(--grad-shine-strong);
    transform: skewX(-25deg);
    transition: left 0.6s ease;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: var(--grad-gold-btn-hover);
}

.hero-cta:hover::before {
    left: 125%;
}

.hero-cta:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 12px rgba(212, 175, 55, 0.3);
}

.hero-cta svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.hero-cta:hover svg {
    transform: translateX(4px);
}

/* CTA responsivo em mobile */
@media (max-width: 767px) {
    .hero-cta {
        padding: 12px 20px;
        font-size: 0.625rem;
        gap: 6px;
    }
    .hero-cta svg {
        width: 12px;
        height: 12px;
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        padding: 10px 14px;
        font-size: 0.5625rem;
        gap: 5px;
    }
    .hero-cta svg {
        width: 10px;
        height: 10px;
    }
}

/* Scroll indicator sutil */
.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    animation: hero-scroll-bounce 2.5s ease-in-out infinite;
}

.hero-scroll-indicator:hover {
    opacity: 0.8;
}

.hero-scroll-indicator span {
    font-family: 'Cinzel', serif;
    font-size: 7px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.hero-scroll-indicator .scroll-line {
    width: 1px;
    height: 32px;
    background: linear-gradient(to bottom, rgba(212, 175, 55, 0.6), transparent);
}

@keyframes hero-scroll-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* ============================================================
   SETORES — CARDS PREMIUM (Solutions for Your Area)
   ============================================================ */

/* Card individual com imagem de fundo */
.gsap-setor {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.5s ease, transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.gsap-setor:hover {
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.15), 0 4px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

/* Overlay escuro com gradiente mais sofisticado */
.gsap-setor .setor-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(15, 46, 37, 0.85) 0%,
        rgba(15, 46, 37, 0.65) 50%,
        rgba(10, 30, 24, 0.9) 100%
    );
    transition: all 0.5s ease;
    z-index: 1;
}

.gsap-setor:hover .setor-overlay {
    background: linear-gradient(
        160deg,
        rgba(15, 46, 37, 0.75) 0%,
        rgba(15, 46, 37, 0.50) 50%,
        rgba(10, 30, 24, 0.8) 100%
    );
}

/* Borda dourada sutil que aparece no hover */
.gsap-setor::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1.5px;
    background: linear-gradient(
        135deg,
        rgba(212, 175, 55, 0) 0%,
        rgba(212, 175, 55, 0) 30%,
        rgba(212, 175, 55, 0.6) 50%,
        rgba(212, 175, 55, 0) 70%,
        rgba(212, 175, 55, 0) 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 2;
}

.gsap-setor:hover::before {
    opacity: 1;
}

/* Brilho dourado que desliza no hover */
.gsap-setor::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(212, 175, 55, 0.08),
        transparent
    );
    transform: skewX(-20deg);
    transition: left 0.7s ease;
    pointer-events: none;
    z-index: 3;
}

.gsap-setor:hover::after {
    left: 150%;
}

/* Texto do card */
.gsap-setor .setor-title {
    position: relative;
    z-index: 4;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: color 0.4s ease;
    line-height: 1.4;
}

.gsap-setor:hover .setor-title {
    color: #D4AF37;
}

/* Ícone decorativo no card (opcional) */
.gsap-setor .setor-icon {
    position: relative;
    z-index: 4;
    color: rgba(212, 175, 55, 0.6);
    transition: color 0.4s ease, transform 0.4s ease;
    margin-bottom: 6px;
}

.gsap-setor:hover .setor-icon {
    color: #D4AF37;
    transform: scale(1.1);
}

/* =============================================
   SETORES — CARDS DE VIDRO 3D COM BORDA DOURADA
   ============================================= */

/* Wrapper principal — efeito vidro/espelho com borda dourada */
.gsap-setor-wrapper {
    position: relative;
    border-radius: 20px;
    padding: 3px;
    background: linear-gradient(
        135deg,
        #D4AF37 0%,
        rgba(212, 175, 55, 0.15) 20%,
        rgba(255, 255, 255, 0.25) 40%,
        rgba(212, 175, 55, 0.10) 60%,
        rgba(212, 175, 55, 0.30) 80%,
        #D4AF37 100%
    );
    transition: all 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
    transform-style: preserve-3d;
    perspective: 1000px;
    overflow: hidden;
    box-shadow:
        0 4px 20px rgba(212, 175, 55, 0.10),
        0 1px 4px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(212, 175, 55, 0.20);
}

/* Garantir que o wrapper tenha altura definida para que height:100% funcione */
@media (min-width: 640px) {
    .gsap-setor-wrapper {
        height: 350px;
    }
}

@media (max-width: 639px) {
    .gsap-setor-wrapper {
        height: 280px;
    }
}

/* Overlay glass interno — efeito espelho/vidro */
.gsap-setor-wrapper .setor-glass-inner {
    position: absolute;
    inset: 3px;
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    pointer-events: none;
    z-index: 1;
    transition: all 0.6s ease;
}

.gsap-setor-wrapper:hover .setor-glass-inner {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* Anel conic giratório — brilho espelhado SEMPRE VISÍVEL */
.gsap-setor-wrapper::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 22px;
    background: conic-gradient(
        from 0deg,
        transparent,
        rgba(212, 175, 55, 0.15),
        rgba(255, 215, 0, 0.25),
        rgba(255, 255, 255, 0.20),
        rgba(212, 175, 55, 0.30),
        rgba(255, 215, 0, 0.15),
        transparent
    );
    animation: setor-glass-rotate 5s linear infinite;
    opacity: 0.7;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 0;
    mask: radial-gradient(ellipse at center, transparent 65%, black 66%);
    -webkit-mask: radial-gradient(ellipse at center, transparent 65%, black 66%);
}

.gsap-setor-wrapper:hover::before {
    opacity: 1;
    animation-duration: 3s;
}

@keyframes setor-glass-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Brilho mouse-following — glow dourado */
.gsap-setor-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: radial-gradient(
        circle at var(--setor-mouse-x, 50%) var(--setor-mouse-y, 50%),
        rgba(255, 215, 0, 0.20) 0%,
        rgba(212, 175, 55, 0.08) 25%,
        transparent 55%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 2;
}

.gsap-setor-wrapper:hover::after {
    opacity: 1;
}

/* Efeito 3D no hover */
.gsap-setor-wrapper:hover {
    transform: translateZ(15px) rotateX(-2deg) rotateY(2deg);
    box-shadow:
        0 16px 48px rgba(212, 175, 55, 0.20),
        0 6px 16px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(212, 175, 55, 0.30);
}

/* Card interno */
.gsap-setor-wrapper .gsap-setor {
    border-radius: 17px;
    height: 100% !important;
    transform: translateZ(0);
    transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
    position: relative;
    z-index: 3;
}

.gsap-setor-wrapper:hover .gsap-setor {
    transform: translateZ(25px);
}

/* Ajuste de foco para imagem de Holdings & Patrimônio */
#setores-grid [data-setor="holdings"] img,
#setores-carousel [data-setor="holdings"] img {
    object-position: center 30%;
}

/* ALTURA DOS CARDS — GRANDES */
@media (min-width: 640px) {
    .gsap-setor {
        height: 350px !important;
    }
}

@media (max-width: 639px) {
    .gsap-setor {
        height: 280px !important;
    }
}

/* Título da seção "Solutions for Your Area" */
#setores h2 {
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 4px;
}

#setores h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #D4AF37, transparent);
    border-radius: 2px;
}

/* Subtítulo */
#setores > p {
    margin-top: 4px !important;
    margin-bottom: 24px !important;
}

/* ============================================================
   DIFERENCIAIS — CARDS 3D (Our Difference / Nosso Diferencial)
   ============================================================ */

/* Container com perspectiva 3D */
.diferenciais-3d-container {
    perspective: 1200px;
}

/* Card 3D individual */
.diferencial-card-3d {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    padding: 18px 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1),
                box-shadow 0.5s ease;
    transform-style: preserve-3d;
    border: 1px solid rgba(212, 175, 55, 0.08);
    overflow: hidden;
    min-height: 180px;
    display: flex;
    align-items: center;
}

@media (min-width: 640px) {
    .diferencial-card-3d {
        min-height: 200px;
        padding: 22px 20px;
    }
}

.diferencial-card-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #D4AF37 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.diferencial-card-3d:hover::before {
    opacity: 1;
}

/* Efeito 3D no hover */
.diferencial-card-3d:hover {
    transform: translateZ(20px) rotateX(-2deg) rotateY(2deg);
    box-shadow: 0 20px 60px rgba(15, 46, 37, 0.12),
                0 8px 30px rgba(212, 175, 55, 0.08);
    border-color: rgba(212, 175, 55, 0.2);
}

/* Efeito de profundidade nos elementos internos */
.diferencial-card-3d .diferencial-icon {
    transform: translateZ(0);
    transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1),
                background 0.4s ease,
                color 0.4s ease;
    transform-style: preserve-3d;
    background: rgba(15, 46, 37, 0.06);
    border-radius: 10px;
    padding: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0F2E25;
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .diferencial-card-3d .diferencial-icon {
        padding: 12px;
    }
    .diferencial-card-3d .diferencial-icon svg,
    .diferencial-card-3d .diferencial-icon i {
        width: 18px !important;
        height: 18px !important;
    }
}

.diferencial-card-3d:hover .diferencial-icon {
    transform: translateZ(30px) scale(1.05);
    background: #0F2E25;
    color: #D4AF37;
    box-shadow: 0 8px 25px rgba(15, 46, 37, 0.2);
}

.diferencial-card-3d .diferencial-title {
    transform: translateZ(0);
    transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1),
                color 0.4s ease;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #0F2E25;
}

@media (min-width: 640px) {
    .diferencial-card-3d .diferencial-title {
        font-size: 0.85rem;
    }
}

.diferencial-card-3d:hover .diferencial-title {
    transform: translateZ(25px);
    color: #D4AF37;
}

.diferencial-card-3d .diferencial-text {
    transform: translateZ(0);
    transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    line-height: 1.5;
    color: rgba(30, 50, 45, 0.8);
}

@media (min-width: 640px) {
    .diferencial-card-3d .diferencial-text {
        font-size: 0.85rem;
        line-height: 1.55;
    }
}

.diferencial-card-3d:hover .diferencial-text {
    transform: translateZ(15px);
}

/* Brilho sutil que acompanha o efeito 3D */
.diferencial-card-3d::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: radial-gradient(
        circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(212, 175, 55, 0.04) 0%,
        transparent 60%
    );
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.diferencial-card-3d:hover::after {
    opacity: 1;
}

/* Responsivo: desativar 3D em mobile */
@media (max-width: 1023px) {
    .diferencial-card-3d {
        padding: 16px 14px;
    }

    .diferencial-card-3d:hover {
        transform: none;
        box-shadow: 0 8px 30px rgba(15, 46, 37, 0.08);
    }

    .diferencial-card-3d:hover .diferencial-icon {
        transform: none;
    }

    .diferencial-card-3d:hover .diferencial-title {
        transform: none;
    }

    .diferencial-card-3d:hover .diferencial-text {
        transform: none;
    }
}

/* Ajuste: título/subtítulo dos setores mais acima */
#setores h2 {
    margin-top: -8px;
}

#setores > p {
    margin-top: -4px !important;
    margin-bottom: 12px !important;
}

/* Reduz gap entre colunas na seção diferenciais */
#diferenciais .flex-col.lg\:flex-row {
    gap: 2rem !important;
}

@media (min-width: 1024px) {
    #diferenciais .flex-col.lg\:flex-row {
        gap: 3rem !important;
    }
}

/* ============================================================
   DIFERENCIAIS — EFEITO GLASS/VIDRO AO SCROLL
   ============================================================ */
#diferenciais {
    position: relative;
    overflow: hidden;
}

#diferenciais .diferenciais-glass-overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.22, 0.61, 0.36, 1);
    background: linear-gradient(
        135deg,
        rgba(10, 30, 24, 0.06) 0%,
        rgba(212, 175, 55, 0.03) 25%,
        rgba(15, 46, 37, 0.08) 50%,
        rgba(212, 175, 55, 0.02) 75%,
        rgba(10, 30, 24, 0.06) 100%
    );
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

#diferenciais.diferenciais-scroll .diferenciais-glass-overlay {
    opacity: 1;
}

/* Efeito sutil nos cards dentro da seção quando o glass está ativo */
#diferenciais.diferenciais-scroll .diferencial-card-3d {
    border-color: rgba(212, 175, 55, 0.15);
    box-shadow: 0 4px 24px rgba(212, 175, 55, 0.04);
}

#diferenciais.diferenciais-scroll .gsap-setor {
    box-shadow: 0 4px 24px rgba(212, 175, 55, 0.04);
}

/* Título e subtítulo da seção setores com tom dourado sutil ao scroll */
#diferenciais.diferenciais-scroll #setores h2 {
    color: #B8860B;
}

#diferenciais.diferenciais-scroll #setores p {
    color: rgba(15, 46, 37, 0.7);
}

/* Responsivo: desativar backdrop-filter em mobile para performance */
@media (max-width: 767px) {
    #diferenciais .diferenciais-glass-overlay {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
}

/* =============================================
   SETORES — EFEITO AO SCROLL (DESIGN CHANGE)
   ============================================= */
/* Quando a seção #setores entra no viewport, aplica um fundo escuro com overlay dourado */
#setores.setores-scroll-active {
    position: relative;
}

#setores.setores-scroll-active::before {
    content: '';
    position: absolute;
    inset: -40px -40px;
    border-radius: 24px;
    background: linear-gradient(135deg,
        rgba(10, 30, 24, 0.03) 0%,
        rgba(212, 175, 55, 0.06) 30%,
        rgba(10, 30, 24, 0.05) 60%,
        rgba(212, 175, 55, 0.03) 100%
    );
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    pointer-events: none;
    z-index: 0;
    border: 1px solid rgba(212, 175, 55, 0.10);
}

/* Título e subtítulo dourados ao scroll */
#setores.setores-scroll-active h2 {
    color: #B8860B !important;
}

#setores.setores-scroll-active > p {
    color: rgba(212, 175, 55, 0.7) !important;
}

/* Wrappers ganham brilho extra ao scroll */
#setores.setores-scroll-active .gsap-setor-wrapper {
    box-shadow:
        0 6px 30px rgba(212, 175, 55, 0.15),
        0 2px 8px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(212, 175, 55, 0.25);
}

#setores.setores-scroll-active .gsap-setor-wrapper::before {
    opacity: 1;
    animation-duration: 4s;
}

/* Ajuste de posição do título no scroll */
#setores.setores-scroll-active h2 {
    position: relative;
    z-index: 1;
}

#setores.setores-scroll-active > p {
    position: relative;
    z-index: 1;
}

#setores.setores-scroll-active #setores-grid {
    position: relative;
    z-index: 1;
}

#setores.setores-scroll-active #setores-carousel {
    position: relative;
    z-index: 1;
}

#setores.setores-scroll-active .carousel-dots {
    position: relative;
    z-index: 1;
}

/* ============================================================
   SEÇÃO OAB — CÓDIGO DE ÉTICA (ACIMA DO FOOTER)
   ============================================================ */

/* Partículas decorativas douradas */
.oab-particle {
    position: absolute;
    border-radius: 50%;
    background: var(--grad-gold-glow-sub);
    pointer-events: none;
    z-index: 0;
}

.oab-particle-1 {
    width: 350px;
    height: 350px;
    top: -120px;
    right: -100px;
}

.oab-particle-2 {
    width: 250px;
    height: 250px;
    bottom: -100px;
    left: -80px;
}

.oab-particle-3 {
    width: 140px;
    height: 140px;
    top: 20%;
    left: 60%;
    transform: translateX(-50%);
}

/* Linha de brilho no topo */
.oab-glow-line {
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), rgba(212, 175, 55, 0.6), rgba(212, 175, 55, 0.3), transparent);
    animation: oab-glow-pulse 3s ease-in-out infinite;
}

@keyframes oab-glow-pulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* Badge dourado */
.oab-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 100px;
    background: rgba(212, 175, 55, 0.08);
    font-family: 'Cinzel', serif;
    font-size: 9px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(212, 175, 55, 0.9);
}

/* Texto principal */
.oab-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.35rem;
    line-height: 1.6;
    color: #1C1C1C;
    max-width: 700px;
    letter-spacing: 0.02em;
}

@media (min-width: 768px) {
    .oab-text {
        font-size: 1.55rem;
    }
}

/* Subtítulo */
.oab-subtext {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: rgba(28, 28, 28, 0.5);
    letter-spacing: 0.08em;
    max-width: 500px;
}

/* ============================================================
   BOTÃO OAB — ESTILO SIMPLES (antigo form-submit-btn)
   ============================================================ */
.oab-btn {
    background: var(--grad-green-btn);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 50px;
    padding: 10px 28px;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 2px 12px rgba(15, 46, 37, 0.2);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.oab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: var(--grad-shine-sub);
    transform: skewX(-25deg);
    transition: left 0.6s ease;
}

.oab-btn:hover {
    background: var(--grad-green-btn-hover);
    border-color: rgba(212, 175, 55, 0.3);
    color: rgba(255, 255, 255, 0.95);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(15, 46, 37, 0.3);
}

.oab-btn:hover::before {
    left: 125%;
}

.oab-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 12px rgba(212, 175, 55, 0.3);
}

.oab-btn .btn-icon {
    transition: transform 0.3s ease;
}

.oab-btn:hover .btn-icon {
    transform: translateX(4px);
}

/* Responsivo */
@media (max-width: 767px) {
    .oab-btn {
        padding: 8px 20px;
        font-size: 0.65rem;
    }

    .oab-text {
        font-size: 1.15rem;
    }

    .oab-particle-1 {
        width: 200px;
        height: 200px;
        top: -80px;
        right: -60px;
    }

    .oab-particle-2 {
        width: 150px;
        height: 150px;
        bottom: -60px;
        left: -50px;
    }

    .oab-particle-3 {
        display: none;
    }
}

/* ============================================================
   PRELOADER — SPLASH SCREEN PREMIUM
   ============================================================ */
#hafra-preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #0A1F18;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    overflow: hidden;
}

#hafra-preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

#hafra-preloader .preloader-logo {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #D4AF37;
    text-transform: uppercase;
    position: relative;
    margin-bottom: 8px;
}

#hafra-preloader .preloader-logo span {
    color: #ffffff;
}

#hafra-preloader .preloader-sub {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(212, 175, 55, 0.5);
    margin-bottom: 40px;
}

#hafra-preloader .preloader-bar-track {
    width: 200px;
    height: 2px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

#hafra-preloader .preloader-bar-fill {
    height: 100%;
    width: 0%;
    background: var(--grad-gold-shimmer);
    border-radius: 2px;
    animation: preloader-fill 1.8s ease-in-out forwards;
}

@keyframes preloader-fill {
    0% { width: 0%; }
    30% { width: 25%; }
    60% { width: 65%; }
    100% { width: 100%; }
}

#hafra-preloader .preloader-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

#hafra-preloader .preloader-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #D4AF37;
    border-radius: 50%;
    opacity: 0;
    animation: preloader-particle-float 3s ease-in-out infinite;
}

@keyframes preloader-particle-float {
    0%, 100% { opacity: 0; transform: translateY(0) scale(0); }
    50% { opacity: 0.8; transform: translateY(-40px) scale(1); }
}

/* ============================================================
   NAVBAR — EFEITO GLASS AO SCROLL
   ============================================================ */
#navbar.navbar-scrolled {
    background: rgba(255, 255, 255, 0.88) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06) !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.08) !important;
}

/* ============================================================
   NAVBAR — LINK UNDERLINE ANIMATION
   ============================================================ */
.nav-link {
    position: relative;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--grad-gold-shimmer-compact);
    transition: width 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
    border-radius: 2px;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: #D4AF37 !important;
}

/* ============================================================
   WHATSAPP — MICRO ANIMAÇÃO DE PULSO NO ÍCONE
   ============================================================ */
.whatsapp-icon-wrapper svg {
    transition: transform 0.3s ease;
}

.whatsapp-float:hover .whatsapp-icon-wrapper svg {
    transform: scale(1.15) rotate(-5deg);
}

/* ============================================================
   BACK TO TOP — ANIMAÇÃO MELHORADA
   ============================================================ */
#back-to-top {
    transition: all 0.4s cubic-bezier(0.22, 0.61, 0.36, 1) !important;
}

#back-to-top:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.25);
}

/* ============================================================
   RESPONSIVIDADE FINA — MOBILE
   ============================================================ */
@media (max-width: 767px) {
    .hero-card {
        padding: 20px 14px !important;
    }

    .hero-card h1 {
        font-size: 1.35rem !important;
        line-height: 1.2 !important;
    }

    .hero-card .hero-subtitle {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
    }

    .servicos-header h2,
    #sobre .text-center h2,
    #planos .text-center h2 {
        font-size: 1.8rem !important;
    }

    .contato-card {
        padding: 24px 16px !important;
        border-radius: 1.5rem !important;
    }

    section {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }

    .sobre-stats-wrapper .grid {
        gap: 12px !important;
    }

    .sobre-stat-card {
        padding: 16px 12px !important;
    }

    .sobre-stat-card .stat-number {
        font-size: 1.6rem !important;
    }
}

@media (max-width: 380px) {
    .hero-card h1 {
        font-size: 1.3rem !important;
    }

    .hero-card .hero-subtitle {
        font-size: 0.8rem !important;
    }
}

/* ============================================================
   OTIMIZAÇÃO DE IMAGENS — FADE IN SUAVE
   ============================================================ */
.modal-image {
    opacity: 0;
    transition: opacity 0.5s ease;
    object-position: center 30%;
}

.modal-image.loaded {
    opacity: 1;
}

/* ============================================================
   SELEÇÃO DE TEXTO — MAIS PREMIUM
   ============================================================ */
::selection {
    background: #D4AF37;
    color: #0A1F18;
}

/* ============================================================
   FOOTER — LINKS COM HOVER SUAVE
   ============================================================ */
#contato-footer ul li {
    transition: all 0.3s ease;
}

#contato-footer ul li:hover {
    padding-left: 4px;
}

#contato-footer ul li:hover svg {
    color: #D4AF37;
    transform: scale(1.1);
}

#contato-footer ul li svg {
    transition: all 0.3s ease;
}

/* ============================================================
   HERO — HAFRA/ASSESSORIA EM MOBILE (SOBRE A IMAGEM)
   ============================================================ */
@media (max-width: 1023px) {
    .hero-hover-hafra,
    .hero-hover-assessoria {
        writing-mode: horizontal-tb;
        text-orientation: mixed;
        opacity: 0.25;
        color: rgba(255, 255, 255, 0.25);
        top: auto;
        transform: none;
        left: auto;
        right: auto;
        bottom: auto;
        padding: 0;
        max-height: none;
        font-size: clamp(1.4rem, 5vw, 2.5rem);
        letter-spacing: 0.12em;
        pointer-events: none;
        user-select: none;
        z-index: 15;
        text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
        white-space: nowrap;
        line-height: 1.1;
    }

    .hero-hover-hafra {
        /* Posicionado dentro da área do hero-bg-container */
        top: clamp(16px, 3%, 28px);
        left: clamp(16px, 4%, 28px);
        text-align: left;
    }

    .hero-hover-assessoria {
        bottom: clamp(16px, 3%, 28px);
        right: clamp(16px, 4%, 28px);
        text-align: right;
    }
}

@media (max-width: 480px) {
    .hero-hover-hafra {
        font-size: clamp(1.1rem, 5vw, 1.6rem);
        letter-spacing: 0.1em;
        top: clamp(12px, 3%, 20px);
        left: clamp(12px, 3%, 20px);
    }

    .hero-hover-assessoria {
        font-size: clamp(0.8rem, 3.5vw, 1.1rem);
        letter-spacing: 0.08em;
        bottom: clamp(12px, 3%, 20px);
        right: clamp(12px, 3%, 20px);
    }
}
