/* ============================================================
   DESIGN SYSTEM — RENATA FRANÇA ADVOCACIA · LUXURY PREVIDENCIÁRIO
   Palette: Deep Dark Blue · Metallic Silver · White
============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Colors */
    --blue-base: #061021;
    --blue-soft: #09172e;
    --blue-mid: #0e2240;
    --blue-border: rgba(255, 255, 255, 0.08);
    
    --silver-glow: #ffffff;
    --silver-base: #e2e8f0;
    --silver-dark: #94a3b8;
    
    --white: #ffffff;
    --white-soft: rgba(255, 255, 255, 0.9);
    --white-dim: rgba(255, 255, 255, 0.05);
    
    /* Metallic Silver Gradients */
    --silver-gradient: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #94a3b8 100%);
    --silver-gradient-hover: linear-gradient(135deg, #cbd5e1 0%, #94a3b8 50%, #475569 100%);
    --silver-text-gradient: linear-gradient(135deg, #ffffff 0%, #e2e8f0 50%, #94a3b8 100%);
    
    /* Fonts */
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Inter', sans-serif;
    
    /* Spacing & Transitions */
    --radius: 8px; 
    --transition-base: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    --transition-slow: all 0.9s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Luxury Orbs & Silver Glows */
body::before, body::after {
    content: '';
    position: fixed;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
    animation: pulseGlow 15s infinite alternate ease-in-out;
}

body::before { top: -15%; right: -10%; animation-delay: -2s; }
body::after { bottom: -10%; left: -15%; animation-delay: -5s; }

@keyframes pulseGlow {
    0% { transform: scale(1) translate(0, 0); opacity: 0.3; }
    50% { transform: scale(1.1) translate(20px, 20px); opacity: 0.6; }
    100% { transform: scale(0.9) translate(-10px, -20px); opacity: 0.4; }
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--blue-base);
    color: var(--white-soft);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 200;
    line-height: 1.05;
    color: var(--white);
    letter-spacing: -0.01em;
}

em {
    font-style: italic;
    font-weight: 300;
    color: var(--silver-base);
    background: var(--silver-text-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    padding: 0.05em 0.15em 0.05em 0.05em;
    margin: -0.05em -0.15em -0.05em -0.05em;
    vertical-align: baseline;
}

.eyebrow {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--silver-dark);
    display: block;
    margin-bottom: 1.5rem;
}

.section-header {
    text-align: center;
    margin: 0 auto 70px;
    max-width: 800px;
}

.section-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    margin-bottom: 1rem;
    color: var(--white);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--silver-dark);
    max-width: 650px;
    margin: 0 auto;
}

/* Layout */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

section {
    padding: 100px 0;
    position: relative;
    background-color: var(--blue-base) !important; /* Force all backgrounds to be the exact same blue */
}

@media (max-width: 768px) {
    .container { padding: 0 24px; }
    section { padding: 60px 0 !important; }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 44px;
    font-size: 0.95rem; /* Aumentado para melhor visibilidade */
    font-weight: 600;
    letter-spacing: 0.02em; /* Reduzido para aproximar as letras e ficar mais elegante */
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    white-space: nowrap;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: skewX(-25deg);
    transition: 0.8s;
    z-index: 2; /* Subido para 2 para que passe por cima do fundo do botão */
}

.btn:hover::before {
    left: 150%;
}

/* Refined Dark Green Button */
.btn-primary {
    background-color: #0f5945; /* Verde escuro sofisticado e luxuoso */
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(15, 89, 69, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    background-color: #14735a; /* Tom ligeiramente mais vivo no hover */
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(15, 89, 69, 0.4);
}

.btn-primary iconify-icon {
    transition: transform 0.4s ease;
}

.btn-primary:hover iconify-icon {
    transform: translateX(4px) rotate(-10deg);
}

@media (max-width: 768px) {
    .btn {
        padding: 15px 22px;
        font-size: clamp(0.7rem, 3.2vw, 0.88rem); /* Escala de acordo com a largura da tela */
        letter-spacing: 0.02em;
        max-width: 100%;
        display: inline-flex;
        white-space: normal;
        text-align: center;
    }
}

.btn-map-switch {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--silver-dark);
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    padding: 8px 16px;
    cursor: pointer;
    transition: all 0.4s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    border-radius: 4px;
}

.btn-map-switch:hover {
    border-color: var(--white);
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
    padding-left: 20px;
}

.btn-map-switch iconify-icon {
    transition: transform 0.4s ease;
}

.btn-map-switch:hover iconify-icon {
    transform: translateX(4px);
}

/* Fixed Header */
header.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(6, 16, 33, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--blue-border);
    padding: 20px 0;
    transition: var(--transition-base);
}

header.fixed-header .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header.fixed-header .logo-wrap img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

header.fixed-header nav {
    display: flex;
    gap: 30px;
}

header.fixed-header nav a {
    color: var(--silver-base);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    transition: var(--transition-base);
}

header.fixed-header nav a:hover {
    color: var(--white);
}

header.fixed-header .btn-header-cta {
    padding: 10px 24px;
    font-size: 0.75rem;
}

@media (max-width: 992px) {
    header.fixed-header nav {
        display: none;
    }
}

/* Hero Section */
#hero {
    min-height: 100vh; 
    display: flex;
    align-items: center; 
    justify-content: center; /* Mantém o container centralizado na página */
    padding: 140px 0 100px;
    overflow: hidden;
    background-color: var(--blue-base);
    background-image: url('../imagem/backg01.webp');
    background-position: right center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--blue-base) 0%, rgba(6, 16, 33, 0.9) 15%, rgba(6, 16, 33, 0) 40%);
    z-index: 1;
    pointer-events: none;
}

.hero-inner {
    width: 100%; /* Garante que ocupe toda a largura do container */
}

.hero-content {
    max-width: 680px; /* Reduzido para dar espaço à imagem de fundo à direita */
    margin: 0; /* Alinhado à esquerda */
    text-align: left;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.2rem, 5.5vw, 4.2rem);
    margin: 0 0 1.5rem 0; /* Removido o centralizador */
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--silver-dark);
    font-weight: 300;
    line-height: 1.7;
    max-width: 650px;
    margin: 0 0 2.5rem 0; /* Removido o centralizador */
}

.hero-actions {
    display: flex;
    justify-content: flex-start; /* Alinhado à esquerda */
    align-items: center;
    gap: 40px;
}

.hero-side-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.2);
}

.hero-actions .btn {
    padding: 18px 56px;
}

.hero-mobile-image {
    display: none;
}

@media (max-width: 768px) {
    #hero {
        background-image: none !important;
        position: relative;
        margin-top: 80px; /* Altura do cabeçalho fixo */
    }
    #hero::before {
        display: none;
    }
    .hero-mobile-image {
        display: block;
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        max-width: none;
        height: auto;
        z-index: 1;
        pointer-events: none;
        margin-top: -70px;
    }
    .hero-content {
        margin: 0;
        text-align: left;
        padding-bottom: 280px; /* Evita que os botões fiquem sobre a imagem */
        position: relative;
        z-index: 2;
    }
    .hero-title {
        margin: 0 0 1.5rem;
    }
    .hero-subtitle {
        margin: 0 0 2.5rem;
    }
    .hero-actions {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: center;
        gap: 20px;
    }
    .hero-side-logo {
        height: 32px;
    }
}

/* Services Section */
#servicos {
    background-color: var(--blue-base);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 24px;
}

.service-card {
    background: rgba(14, 34, 64, 0.4);
    padding: 60px 40px;
    position: relative;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid var(--blue-border);
    border-radius: var(--radius);
    overflow: hidden;
    z-index: 1;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
        gap: 16px;
    }
    .service-card {
        padding: 35px 20px;
    }
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
    pointer-events: none;
    z-index: -1;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 2px;
    background: var(--silver-gradient);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.5s ease;
    transform: scaleX(0);
}

.service-card:hover {
    transform: translateY(-8px) perspective(1000px) rotateX(1deg);
    background: rgba(14, 34, 64, 0.7);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.15);
}

.service-card:hover::before {
    opacity: 1;
    transform: translate(10%, 10%);
}

.service-card:hover::after {
    opacity: 1;
    transform: scaleX(1);
}

.service-icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--blue-border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    transition: var(--transition-base);
}

.service-icon {
    font-size: 32px;
    width: 32px;
    height: 32px;
    color: var(--white);
    transition: var(--transition-base);
}

.service-card:hover .service-icon-wrapper {
    transform: translateY(-3px);
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    color: var(--white);
    transition: var(--transition-base);
}

.service-card p {
    color: var(--silver-dark);
    font-size: 0.95rem;
    font-weight: 300;
    transition: var(--transition-base);
}

.service-card:hover p {
    color: var(--silver-base);
}

/* Custom Background for Aposentadorias Card */
.service-card.card-aposentadorias {
    background-image: url('../imagem/card01.webp');
    background-size: cover;
    background-position: right center;
    border-color: rgba(255, 255, 255, 0.12);
}

.service-card.card-aposentadorias:hover {
    background-image: url('../imagem/card01.webp');
    border-color: rgba(255, 255, 255, 0.25);
}

.service-card.card-aposentadorias::after {
    left: auto;
    right: 0;
    transform-origin: right;
}

/* Custom Background for BPC/LOAS Autismo Card */
.service-card.card-bpc-autismo {
    background-image: url('../imagem/card02.webp');
    background-size: cover;
    background-position: right center;
    border-color: rgba(255, 255, 255, 0.12);
}

.service-card.card-bpc-autismo:hover {
    background-image: url('../imagem/card02.webp');
    border-color: rgba(255, 255, 255, 0.25);
}

.service-card.card-bpc-autismo::after {
    left: auto;
    right: 0;
    transform-origin: right;
}

/* Custom Background for BPC/LOAS Geral Card */
.service-card.card-bpc-geral {
    background-image: url('../imagem/card03.webp');
    background-size: cover;
    background-position: right center;
    border-color: rgba(255, 255, 255, 0.12);
}

.service-card.card-bpc-geral:hover {
    background-image: url('../imagem/card03.webp');
    border-color: rgba(255, 255, 255, 0.25);
}

.service-card.card-bpc-geral::after {
    left: auto;
    right: 0;
    transform-origin: right;
}

/* Custom Background for Benefícios por Incapacidade Card */
.service-card.card-beneficios-incapacidade {
    background-image: url('../imagem/card04.webp');
    background-size: cover;
    background-position: right center;
    border-color: rgba(255, 255, 255, 0.12);
}

.service-card.card-beneficios-incapacidade:hover {
    background-image: url('../imagem/card04.webp');
    border-color: rgba(255, 255, 255, 0.25);
}

.service-card.card-beneficios-incapacidade::after {
    left: auto;
    right: 0;
    transform-origin: right;
}

/* Custom Background for Planejamento Previdenciário Card */
.service-card.card-planejamento {
    background-image: url('../imagem/card05.webp');
    background-size: cover;
    background-position: right center;
    border-color: rgba(255, 255, 255, 0.12);
}

.service-card.card-planejamento:hover {
    background-image: url('../imagem/card05.webp');
    border-color: rgba(255, 255, 255, 0.25);
}

.service-card.card-planejamento::after {
    left: auto;
    right: 0;
    transform-origin: right;
}

/* Highlighted Service Card - Silver Theme with Dark Text */
.service-card.service-card-highlighted {
    background: var(--silver-gradient);
    border: 1px solid #ffffff;
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.1);
}

.service-card.service-card-highlighted h3 {
    color: var(--blue-base) !important;
}

.service-card.service-card-highlighted p {
    color: #1e293b !important; /* Slate escuro elegante para alta legibilidade */
}

.service-card.service-card-highlighted .service-icon-wrapper {
    background: rgba(6, 16, 33, 0.05);
    border-color: rgba(6, 16, 33, 0.12);
}

.service-card.service-card-highlighted:hover {
    background: var(--silver-gradient-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    border-color: var(--silver-dark);
}

.service-card.service-card-highlighted:hover h3 {
    color: var(--blue-base) !important;
}

.service-card.service-card-highlighted:hover p {
    color: var(--blue-base) !important;
}

.service-card.service-card-highlighted:hover .service-icon-wrapper {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--white);
}

.service-card-highlighted .card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--blue-base);
    color: var(--white);
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 6px 14px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}


/* Split Section (Sobre) */
#sobre {
    background-color: var(--blue-base);
    background-image: url('../imagem/backg02.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    border-top: 1px solid var(--blue-border);
    border-bottom: 1px solid var(--blue-border);
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 80px;
    align-items: center;
}

.split-text {
    max-width: 580px;
}

.split-image {
    position: relative;
    aspect-ratio: 4/5;
    max-width: 420px;
    justify-self: center;
    background: var(--blue-soft);
    padding: 15px;
    border-radius: var(--radius);
    border: 1px solid var(--blue-border);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: calc(var(--radius) - 5px);
    transition: 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.split-image:hover img {
    transform: scale(1.05);
}

.split-text h2 {
    margin-bottom: 2rem;
    font-size: clamp(2rem, 4vw, 3rem);
}

.split-p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--silver-dark);
}

@media (max-width: 900px) {
    .split-layout { grid-template-columns: 1fr; gap: 50px; }
    .split-image { max-width: 100%; }
}

/* Diferenciais Section */
#diferenciais {
    background-color: var(--blue-base);
}

.service-icon-circle {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--blue-border);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--white);
    transition: var(--transition-base);
}

.service-card:hover .service-icon-circle {
    background: var(--white);
    border-color: var(--white);
    color: var(--blue-base);
    transform: scale(1.1);
}

/* Testimonials Section */
#avaliacoes {
    background-color: var(--blue-base);
}

.testimonials-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
}

.testimonials-track {
    display: flex;
    gap: 32px;
    overflow-x: auto;
    padding: 40px 8% 60px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}

.testimonials-track::-webkit-scrollbar {
    display: none;
}

.test-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 24px;
    color: var(--blue-base);
}

.test-nav:hover {
    background: var(--silver-base);
    transform: translateY(-50%) scale(1.05);
}

.test-nav.prev { left: 4%; }
.test-nav.next { right: 4%; }

.testimonial-card {
    flex: 0 0 400px;
    scroll-snap-align: center;
    background: rgba(14, 34, 64, 0.4);
    padding: 30px;
    position: relative;
    border: 1px solid var(--blue-border);
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: var(--transition-base);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(14, 34, 64, 0.7);
}

.test-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    position: relative;
}

.test-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 1.2rem;
    overflow: hidden;
}

.test-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.test-meta {
    display: flex;
    flex-direction: column;
}

.test-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 2px;
}

.test-date {
    font-size: 0.75rem;
    color: var(--silver-dark);
}

.test-google-icon {
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
}

.test-stars-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.test-stars {
    color: #fbbc05;
    font-size: 1.1rem;
    display: flex;
    gap: 2px;
}

.test-verified {
    color: #4285f4;
    font-size: 0.9rem;
    display: flex;
}

.test-text {
    font-size: 0.9rem;
    color: var(--silver-base);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .testimonial-card { flex: 0 0 85vw; padding: 24px; }
    .test-nav { display: none; }
}

/* FAQ Section */
#faq {
    background-color: var(--blue-base);
}

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--blue-border);
    background: rgba(14, 34, 64, 0.4);
    border-radius: var(--radius);
    transition: var(--transition-base);
    overflow: hidden;
}

.faq-item:hover {
    background: rgba(14, 34, 64, 0.6);
    border-color: rgba(255, 255, 255, 0.15);
}

.faq-trigger {
    width: 100%;
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    text-align: left;
    transition: all 0.3s ease;
}

.faq-icon {
    width: 24px;
    height: 24px;
    color: var(--silver-dark);
    transition: var(--transition-base);
    flex-shrink: 0;
    margin-left: 20px;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: var(--transition-base);
    padding: 0 30px;
}

.faq-content p {
    color: var(--silver-dark);
    font-size: 1rem;
    line-height: 1.8;
    padding-bottom: 24px;
    margin: 0;
}

.faq-item.open {
    background: rgba(14, 34, 64, 0.7);
    border-color: var(--white);
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    color: var(--white);
}

.faq-item.open .faq-content {
    max-height: 300px;
}

@media (max-width: 600px) {
    .faq-trigger { padding: 20px 24px; font-size: 1.1rem; }
    .faq-content { padding: 0 24px; }
}

/* Final CTA Section */
.cta-full {
    background-color: var(--blue-base);
    background-image: url('../imagem/backg03.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    position: relative;
    padding: 120px 0;
    border-top: 1px solid var(--blue-border);
    border-bottom: 1px solid var(--blue-border);
    overflow: hidden;
}

.cta-full::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.02) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.cta-inner {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(14, 34, 64, 0.45) 0%, rgba(6, 16, 33, 0.75) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 80px 60px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(12px);
}

.cta-inner .section-title {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    margin-bottom: 1.5rem;
}

.cta-inner .section-subtitle {
    font-size: 1.1rem;
    color: var(--silver-dark);
    max-width: 680px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .cta-full {
        padding: 60px 0 !important;
    }
    .cta-inner {
        padding: 40px 16px;
        margin: 0;
        border-radius: 12px;
    }
    .cta-inner .section-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    .cta-inner .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }
    .cta-inner .btn {
        width: 100%;
        max-width: 100%;
        padding: 14px 12px;
        font-size: clamp(0.65rem, 2.9vw, 0.82rem);
        white-space: nowrap;
        box-sizing: border-box;
    }
}

/* Informações / Mapa Section */
#informacoes {
    background-color: var(--blue-base);
    padding: 80px 0;
}

.info-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: stretch;
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    background: rgba(14, 34, 64, 0.4);
    padding: 35px;
    border: 1px solid var(--blue-border);
    border-radius: var(--radius);
    transition: var(--transition-base);
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.info-card ul li {
    flex-wrap: wrap;
    word-break: break-all;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
}

.info-map-wrap {
    border: 1px solid var(--blue-border);
    border-radius: var(--radius);
    position: relative;
    min-height: 400px;
    width: 100%;
    /* Luxury Dark Mode Map Filter */
    filter: invert(90%) hue-rotate(180deg) grayscale(80%) contrast(1.2); 
    transition: filter 0.8s ease, opacity 0.5s ease;
    overflow: hidden;
}

.info-map-wrap:hover {
    filter: invert(90%) hue-rotate(180deg) grayscale(30%) contrast(1.1);
}

@media (max-width: 900px) {
    .info-layout { grid-template-columns: 1fr; }
    .info-map-wrap { min-height: 350px; }
}

/* Footer styling */
footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--blue-border);
    background: #030810;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    text-align: center;
}

.footer-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.footer-nav {
    display: flex;
    gap: 30px;
}

.footer-nav a {
    color: var(--silver-dark);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    transition: color 0.3s ease;
}

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

.footer-legal {
    font-size: 0.7rem;
    color: var(--silver-dark);
    max-width: 600px;
    line-height: 1.6;
}

/* Floating WhatsApp Widgets */
#wa-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 9999;
}

.wa-btn-circle {
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    transition: var(--transition-base);
    text-decoration: none;
}

.wa-btn-circle iconify-icon {
    font-size: 34px;
    display: flex;
}

.wa-btn-circle:hover {
    transform: scale(1.1) rotate(10deg);
}

.wa-tooltip-balloon-chat {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 300px;
    background: var(--blue-soft);
    border: 1px solid var(--blue-border);
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    z-index: 10000;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}

.wa-tooltip-balloon-chat.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.wa-tooltip-balloon-chat .wa-tooltip-link {
    display: block;
    text-decoration: none;
}

.wa-tooltip-balloon-chat .chat-header {
    background: rgba(14, 34, 64, 0.7);
    padding: 10px 14px;
}

.wa-tooltip-balloon-chat .chat-avatar {
    width: 34px;
    height: 34px;
}

.wa-tooltip-balloon-chat .chat-name {
    font-size: 0.82rem;
}

.wa-tooltip-balloon-chat .chat-status {
    font-size: 0.68rem;
}

.wa-tooltip-balloon-chat .chat-messages {
    padding: 12px 14px;
    min-height: 80px;
    background: rgba(6, 16, 33, 0.2);
}

.wa-tooltip-balloon-chat .chat-bubble {
    font-size: 0.8rem;
    padding: 8px 12px;
    line-height: 1.45;
}

.wa-tooltip-balloon-chat .wa-tooltip-close {
    position: absolute;
    top: 8px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--silver-dark);
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
    z-index: 20;
}

.wa-tooltip-balloon-chat .wa-tooltip-close:hover {
    color: var(--white);
}

@media (max-width: 768px) {
    #wa-float {
        bottom: 20px !important;
        right: 20px !important;
        z-index: 999999 !important;
        position: fixed !important;
    }
    .wa-btn-circle { width: 50px; height: 50px; }
    .wa-btn-circle iconify-icon { font-size: 28px; }
    .wa-tooltip-balloon-chat { display: none !important; }
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-slow);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   VIDEO NEGADO SECTION (INSS)
============================================================ */
.video-negado-section {
    background-color: var(--blue-base);
    padding: 120px 0;
    border-top: 1px solid var(--blue-border);
    border-bottom: 1px solid var(--blue-border);
}

.video-negado-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.video-negado-player {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: #000;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px var(--blue-border);
    max-width: 360px; /* Tamanho otimizado para formato nativo */
    justify-self: center;
    width: 100%;
}

.video-negado-player video {
    width: 100%;
    height: auto;
    display: block;
}

.video-negado-content {
    max-width: 580px;
}

.video-negado-p {
    font-size: 1.05rem;
    color: var(--silver-dark);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.video-negado-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.video-negado-list li {
    position: relative;
    padding: 18px 24px 18px 56px;
    margin-bottom: 1rem;
    font-size: 1.05rem;
    color: var(--silver-base);
    line-height: 1.6;
    background: rgba(14, 34, 64, 0.3);
    border: 1px solid var(--blue-border);
    border-radius: var(--radius);
    transition: var(--transition-base);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.video-negado-list li::before {
    content: "✓";
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--silver-gradient); /* Medalha prateada metálica */
    color: var(--blue-base); /* Contraste escuro elegante no check */
    font-size: 0.8rem;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    transition: var(--transition-base);
}

.video-negado-list li:hover {
    background: rgba(14, 34, 64, 0.65);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateX(6px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.video-negado-list li:hover::before {
    transform: translateY(-50%) scale(1.12);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

@media (max-width: 900px) {
    .video-negado-section {
        padding: 80px 0;
    }
    .video-negado-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .video-negado-player {
        max-width: 100%;
    }
}

/* ============================================================
   PLAY VIDEO OVERLAY (ABOUT SECTION)
============================================================ */
.btn-video-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(6, 16, 33, 0.85);
    border: 1px solid var(--white-dim);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(8px);
    transition: var(--transition-base);
    z-index: 10;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.btn-video-overlay iconify-icon {
    color: #ffffff;
    animation: pulsePlay 2s infinite ease-in-out;
}

.btn-video-overlay:hover {
    background: var(--white);
    color: var(--blue-base);
    transform: scale(1.05);
    border-color: var(--white);
}

.btn-video-overlay:hover iconify-icon {
    color: var(--blue-base);
}

.video-overlay-text {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

@keyframes pulsePlay {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.15); opacity: 1; text-shadow: 0 0 10px rgba(255, 255, 255, 0.6); }
    100% { transform: scale(1); opacity: 0.8; }
}

/* ============================================================
   VIDEO MODAL POPUP
============================================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(3, 8, 16, 0.9);
    backdrop-filter: blur(12px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-container {
    background: var(--blue-soft);
    border: 1px solid var(--blue-border);
    width: 90%;
    max-width: 760px; /* Aumentado para acomodar vídeo e texto lado a lado */
    border-radius: var(--radius);
    padding: 35px;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    transform: translateY(30px) scale(0.95);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.modal-overlay.active .modal-container {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: var(--silver-dark);
    font-size: 2.2rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
    z-index: 15;
}

.modal-close:hover {
    color: var(--white);
}

.modal-body {
    display: flex;
    gap: 30px;
    align-items: center;
}

.modal-body video {
    width: 280px; /* Largura fixa ideal para o vídeo vertical */
    height: auto;
    border-radius: 6px;
    background: #000;
    display: block;
    flex-shrink: 0;
}

.modal-footer-cta {
    text-align: left;
    margin-top: 0;
    flex-grow: 1;
    width: 100%;
    min-width: 0;
}

.modal-footer-cta .btn {
    white-space: normal;
    text-align: center;
    padding: 15px 20px;
    font-size: 0.85rem;
    line-height: 1.3;
}

.modal-cta-title {
    font-size: 1.6rem;
    margin-bottom: 6px;
    color: var(--white);
    font-family: var(--font-serif);
    font-weight: 300;
}

.modal-cta-subtitle {
    font-size: 0.95rem;
    color: var(--silver-dark);
    margin-bottom: 20px;
    line-height: 1.5;
}

/* WhatsApp Chat Box Styles (Blue Theme) */
.modal-chat-box {
    background: rgba(14, 34, 64, 0.4);
    border: 1px solid var(--blue-border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 20px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    background: rgba(14, 34, 64, 0.85);
    border-bottom: 1px solid var(--blue-border);
}

.chat-avatar {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 1.5px solid var(--blue-border);
}

.chat-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.online-indicator {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 9px;
    height: 9px;
    background: #25d366;
    border-radius: 50%;
    border: 2px solid var(--blue-soft);
}

.chat-info {
    display: flex;
    flex-direction: column;
}

.chat-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--white);
    font-family: var(--font-sans);
}

.chat-status {
    font-size: 0.72rem;
    color: var(--silver-dark);
    font-family: var(--font-sans);
    transition: color 0.3s ease;
}

.chat-status.typing-status {
    color: #25d366;
    font-weight: 500;
}

.chat-messages {
    padding: 20px;
    background: rgba(6, 16, 33, 0.4);
    min-height: 110px;
    display: flex;
    align-items: flex-start;
}

.chat-bubble {
    max-width: 90%;
    padding: 12px 16px;
    border-radius: 0 12px 12px 12px;
    font-size: 0.88rem;
    color: var(--white);
    line-height: 1.5;
    background: #0e2240;
    border: 1px solid var(--blue-border);
    position: relative;
    font-family: var(--font-sans);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

/* Typing Indicator animation */
.chat-bubble.typing {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 14px 20px;
}

.chat-bubble.typing .dot {
    width: 6px;
    height: 6px;
    background: var(--silver-dark);
    border-radius: 50%;
    animation: typingPulse 1.4s infinite ease-in-out;
}

.chat-bubble.typing .dot:nth-child(2) { animation-delay: 0.2s; }
.chat-bubble.typing .dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingPulse {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.3); opacity: 1; }
}

@media (max-width: 768px) {
    .modal-container {
        padding: 15px;
        max-width: 90%;
        background: transparent;
        border: none;
        box-shadow: none;
    }
    .modal-body {
        flex-direction: column;
        gap: 0;
    }
    .modal-body video {
        width: 100%;
        max-width: 100%;
        border-radius: 12px;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    }
    .modal-footer-cta {
        display: none !important;
    }
    .modal-close {
        position: absolute;
        top: -45px;
        right: 0;
        background: rgba(6, 16, 33, 0.9);
        color: #ffffff !important;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        line-height: 1;
        border: 1px solid rgba(255, 255, 255, 0.3);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    }
    header.fixed-header .logo-wrap img {
        height: 30px;
    }
    .info-card {
        padding: 24px 20px;
    }
}

/* Pulse Animation for Highlighted Icon */
.animate-pulse {
    animation: simplePulse 2s infinite ease-in-out;
}

@keyframes simplePulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 0 15px 5px rgba(255, 77, 77, 0.2); }
}
