/* 
   B2CON - Estilos Principais
   Projeto Institucional Demonstrativo
*/

/* ==========================================================================
   VARIÁVEIS (CSS CUSTOM PROPERTIES)
   ========================================================================== */
   :root {
    /* Cores Principais */
    --charcoal:       #1A1A1A;
    --charcoal-light: #2A2A2A;
    --off-white:      #F2EFE8;
    --warm-white:     #F5F4F0;
    --gold:           #C9A84C;
    --gold-light:     #E8D5A0;
    --white:          #FFFFFF;

    /* Textos */
    --text-primary:   #1A1A1A;
    --text-secondary: #555555;
    --text-muted:     #999999;
    --text-light:     #B0B0B0;
    
    /* Bordas e UI */
    --border-light:   #CCCCCC;
    --border-gold:    #C9A84C;
    
    /* Tipografia */
    --font-title: 'Playfair Display', serif;
    --font-body: 'DM Sans', sans-serif;
    
    /* Transições */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    
    /* Dimensões */
    --header-height: 80px;
    --container-max: 1200px;
    --container-padding: 24px;
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.skip-link {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 10000;
    padding: .75rem 1rem;
    border-radius: 6px;
    background: var(--charcoal);
    color: var(--white);
    transform: translateY(-160%);
    transition: transform var(--transition-fast);
}

.skip-link:focus {
    transform: translateY(0);
}

:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

/* ==========================================================================
   TIPOGRAFIA BÁSICA
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
    font-family: var(--font-body); /* Ou Playfair dependendo da seção, usarei Playfair como principal e DM Sans pra headers menores */
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-normal);
}

ul {
    list-style: none;
}

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

.text-center { text-align: center; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.justify-center { justify-content: center; }
.position-relative { position: relative; }

/* ==========================================================================
   LAYOUT & CONTAINERS
   ========================================================================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

section {
    padding: 6rem 0;
}

.section-bg-warm { background-color: var(--warm-white); }
.section-dark { background-color: var(--charcoal); color: var(--white); }
.section-dark h2, .section-dark p { color: var(--white); }
.section-dark p { color: var(--text-light); }

.section-header {
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

.subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
}
.section-dark .subtitle { color: var(--text-light); }

.top-gold {
    border-top: 2px solid var(--gold);
}

/* ==========================================================================
   BOTÕES
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-align: center;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--charcoal);
    color: var(--white);
}
.btn-primary:hover { background-color: #000; }

.btn-outline-primary {
    background-color: transparent;
    border-color: var(--charcoal);
    color: var(--charcoal);
}
.btn-outline-primary:hover {
    background-color: var(--charcoal);
    color: var(--white);
}

.btn-solid-white {
    background-color: var(--white);
    color: var(--charcoal);
}
.btn-solid-white:hover {
    background-color: var(--off-white);
}

.btn-outline-white {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}
.btn-outline-white:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-outline-gold {
    background-color: transparent;
    border-color: var(--gold);
    color: var(--gold);
}
.btn-outline-gold:hover {
    background-color: var(--gold);
    color: var(--charcoal);
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    font-weight: 500;
    font-size: 0.95rem;
}
.btn-link:hover { color: var(--text-primary); }
.btn-link i { width: 16px; height: 16px; }


/* ==========================================================================
   CABEÇALHO (HEADER)
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all var(--transition-normal);
}

.header.scrolled {
    height: 70px;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

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

.logo {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--charcoal);
    letter-spacing: 1px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-list {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-link:hover, .nav-link.active {
    color: var(--charcoal);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: var(--charcoal);
    border: 1px solid var(--charcoal);
    border-radius: 8px;
    color: var(--charcoal);
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex: 0 0 44px;
    position: relative;
    z-index: 1002;
}

.menu-toggle-line {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--white);
    transform-origin: center;
    transition: transform var(--transition-normal), opacity var(--transition-fast);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   HERO SECTION (01)
   ========================================================================== */
.hero {
    display: flex;
    min-height: 100vh;
    padding-top: var(--header-height);
    padding-bottom: 0;
    background-color: var(--charcoal);
}

.hero-left {
    flex: 1;
    background-color: var(--charcoal);
    display: flex;
    align-items: center;
    padding: 4rem 4rem 4rem 8vw;
    position: relative;
    overflow: hidden;
}

/* Luz direcional no hero-left */
.hero-left::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle at top right, rgba(210,185,140,0.18) 0%, rgba(26,26,26,0) 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    max-width: 650px;
    z-index: 2;
}

.eyebrow {
    display: block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    
    /* Gradiente no texto */
    background: linear-gradient(180deg, #FFFFFF 0%, #888888 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #fff; /* fallback */
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

/* Word Carousel */
.word-carousel {
    display: inline-block;
    position: relative;
    vertical-align: bottom;
    color: var(--white);
    font-weight: 500;
    min-width: 140px; /* Evita pulos */
}
.word {
    position: absolute;
    left: 0;
    bottom: 0;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    white-space: nowrap;
}
.word.active {
    position: static;
    opacity: 1;
    transform: translateY(0);
}

.cursor {
    display: inline-block;
    color: var(--white);
    font-weight: 300;
    animation: blink 1s step-end infinite;
    margin-left: 2px;
}

@keyframes blink {
    50% { opacity: 0; }
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.hero-microcopy {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--text-secondary);
}

/* Hero Right: Shimmer */
.hero-right {
    width: 250px;
    background-color: var(--off-white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 0.5px solid var(--border-light);
}

.vertical-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.separator {
    color: #CCCCCC;
    font-size: 1.5rem;
}

.shimmer-word {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.1em;
    color: #AAAAAA;
    text-transform: uppercase;
    position: relative;
    /* Shimmer Effect */
    background: linear-gradient(90deg, #AAAAAA 0%, #FFFFFF 50%, #AAAAAA 100%);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    transition: color 0.3s;
}

/* O script JS ativará a classe .shimmer-anim para rodar a animação */
.shimmer-anim {
    animation: shimmer 1.5s linear;
}

@keyframes shimmer {
    to { background-position: 200% center; -webkit-text-fill-color: transparent;}
}

/* A palavra ativa fica escura (padrão) */
.shimmer-word.active {
    color: var(--charcoal);
    background: none;
    -webkit-text-fill-color: initial;
}


/* ==========================================================================
   FAIXA DE CREDIBILIDADE (02)
   ========================================================================== */
.credibility {
    background-color: var(--white);
}

.border-top-gold {
    position: relative;
}
.border-top-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--gold);
}

.credibility-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem 2rem;
    margin-top: 3rem;
}

.cred-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.cred-item i {
    color: var(--gold);
    width: 32px;
    height: 32px;
    stroke-width: 1.5;
}

.cred-item p {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
    margin: 0;
}


/* ==========================================================================
   PROPOSTA DE VALOR (03)
   ========================================================================== */
.value-proposition {
    background-color: var(--white);
}

.value-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.value-text h2 {
    margin-bottom: 2rem;
}

.value-text p {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.value-pillars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.pillar-card {
    background-color: var(--warm-white);
    padding: 2rem;
    border-radius: 12px;
}

.pillar-card h3 {
    font-size: 1.1rem;
    font-family: var(--font-body);
    margin-bottom: 1rem;
}

.pillar-card p {
    font-size: 0.9rem;
    margin: 0;
}


/* ==========================================================================
   COMPETÊNCIAS (04)
   ========================================================================== */
.competencies-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.comp-card {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.comp-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.comp-card h3 {
    font-family: var(--font-title);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.comp-subtitle {
    font-style: italic;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.comp-desc {
    font-size: 1rem;
    margin-bottom: 2rem;
}

.comp-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.comp-list li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1rem;
}

.comp-list li::before {
    content: '•';
    color: var(--gold);
    position: absolute;
    left: 0;
    top: 0;
}


/* ==========================================================================
   REFORMA TRIBUTÁRIA (05)
   ========================================================================== */
.reform-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.eyebrow-gold {
    display: block;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.reform-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.r-card {
    background-color: var(--charcoal-light);
    padding: 1.5rem 2rem;
    border-radius: 8px;
}

.r-card h4 {
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.r-card p {
    margin: 0;
    font-size: 0.9rem;
}


/* ==========================================================================
   DIFERENCIAIS (06)
   ========================================================================== */
.diff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.diff-card {
    background-color: var(--warm-white);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: all var(--transition-normal);
}

.diff-card:hover {
    border-color: var(--gold);
    background-color: var(--white);
    box-shadow: 0 10px 30px rgba(201, 168, 76, 0.05);
}

.diff-card i {
    color: var(--charcoal);
    width: 28px;
    height: 28px;
    margin-bottom: 1.5rem;
    stroke-width: 1.5;
}

.diff-card h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.diff-card p {
    font-size: 0.95rem;
    margin: 0;
}


/* ==========================================================================
   PARA QUEM ATUAMOS (07)
   ========================================================================== */
.who-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.who-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    display: flex;
    gap: 1.5rem;
    border-top: 2px solid var(--gold);
}

.who-icon i {
    color: var(--gold);
    width: 28px;
    height: 28px;
    stroke-width: 1.5;
}

.who-content h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}
.who-content p {
    font-size: 0.9rem;
    margin: 0;
}


/* ==========================================================================
   CASES E RESULTADOS (08)
   ========================================================================== */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.case-card {
    background-color: var(--warm-white);
    padding: 2.5rem;
    border-radius: 12px;
    position: relative;
}

.case-label {
    display: inline-block;
    background-color: var(--charcoal);
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 4px;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.case-content p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.case-content strong {
    color: var(--charcoal);
    display: block;
    margin-bottom: 0.2rem;
    font-weight: 600;
}


/* ==========================================================================
   INSIGHTS (09)
   ========================================================================== */
.insights-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 4rem;
}

.pill {
    padding: 8px 16px;
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    background-color: var(--white);
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.insight-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-light);
}

.insight-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.insight-cat {
    color: var(--gold);
    font-weight: 600;
}

.insight-date {
    color: var(--text-muted);
}

.insight-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.insight-card p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}


/* ==========================================================================
   SOBRE A B2CON (10)
   ========================================================================== */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    overflow: hidden;
    border-radius: 12px;
    background: var(--charcoal-light);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .14);
}

.about-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 600ms var(--motion-ease);
}

.about-image:hover img {
    transform: scale(1.018);
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background:
        radial-gradient(circle at 24% 28%, rgba(201, 157, 54, .32), transparent 28%),
        radial-gradient(circle at 76% 72%, rgba(255, 255, 255, .10), transparent 24%),
        linear-gradient(135deg, #111 0%, #28251f 48%, #151515 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 2rem;
}

.about-disclaimer {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 1rem;
    font-style: italic;
}


/* ==========================================================================
   CTA FINAL (11)
   ========================================================================== */
.final-cta {
    position: relative;
    overflow: hidden;
}

.cta-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
}

.cta-subtitle {
    max-width: 700px;
    margin: 0 auto;
}


/* ==========================================================================
   CONTATO (12)
   ========================================================================== */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-logo {
    font-family: var(--font-title);
    color: var(--charcoal);
    font-size: 2rem;
    margin-bottom: 0;
}

.contact-tagline {
    color: var(--gold);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

.contact-list i {
    color: var(--gold);
    width: 20px;
    height: 20px;
    margin-top: 2px;
}

.contact-list li > a:has(i) {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.placeholder-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* Formulário */
.contact-form-wrapper {
    background-color: var(--warm-white);
    padding: 3rem;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.contact-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: var(--white);
    transition: border-color var(--transition-fast);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.form-checkbox {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.form-checkbox input {
    margin-top: 4px;
}

.form-checkbox label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
    font-weight: 400;
}

.btn-submit {
    width: 100%;
}

.form-message {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: #E8F5E9;
    color: #2E7D32;
    border-radius: 6px;
    font-size: 0.9rem;
    text-align: center;
}
.form-message.hidden {
    display: none;
}


/* ==========================================================================
   RODAPÉ (FOOTER)
   ========================================================================== */
.footer {
    background-color: var(--charcoal);
    color: var(--white);
    padding: 4rem 0 2rem 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-family: var(--font-title);
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
}

.footer-tagline {
    color: var(--gold);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.footer-desc {
    font-size: 0.9rem;
    color: var(--text-light);
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

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

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--text-light);
    border-radius: 50%;
}
.social-link:hover {
    border-color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-disclaimer {
    font-style: italic;
}


/* ==========================================================================
   BOTÃO FLUTUANTE WHATSAPP
   ========================================================================== */
.fab-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    border-radius: 50px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    animation: pulse 2s infinite;
}

.fab-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
    color: white;
}

.fab-whatsapp i {
    width: 24px;
    height: 24px;
}

.fab-text {
    font-weight: 500;
    font-size: 0.95rem;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}


/* ==========================================================================
   EFEITOS VISUAIS HERO (FUNDO E GLASS CARDS)
   ========================================================================== */
.hero-visuals {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1507679799987-c73779587ccf?q=80&w=2071&auto=format&fit=crop'); 
    background-size: cover;
    background-position: center;
    opacity: 0.20;
    mix-blend-mode: luminosity;
    -webkit-mask-image: linear-gradient(to right, transparent, black 60%);
    mask-image: linear-gradient(to right, transparent, black 60%);
}

.glass-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
    color: var(--white);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.card-1 {
    top: 25%;
    right: 25%;
    width: 240px;
    animation: floatCard1 8s ease-in-out infinite;
}

.card-2 {
    bottom: 20%;
    right: 15%;
    width: 220px;
    animation: floatCard2 10s ease-in-out infinite reverse;
}

.glass-card .card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}
.glass-card .card-header i {
    width: 16px;
    height: 16px;
    color: var(--gold);
}

.card-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 60px;
}
.card-chart .bar {
    flex: 1;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    transition: height 1s;
}

.card-status {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 500;
}
.status-dot {
    width: 8px;
    height: 8px;
    background-color: #4CAF50;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
}

@keyframes floatCard1 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes floatCard2 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(15px); }
}

/* ==========================================================================
   GPTW SECTION
   ========================================================================== */
.gptw-section {
    padding: 6rem 0;
}

.gptw-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.gptw-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gptw-badge {
    background-color: var(--white);
    padding: 3rem 4rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    border: 1px solid rgba(201, 168, 76, 0.2);
    position: relative;
    overflow: hidden;
}

.gptw-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--gold);
}

.badge-years {
    font-size: 5rem;
    font-family: var(--font-title);
    color: var(--gold);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.badge-label {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.badge-title {
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
}

.badge-icon i {
    width: 48px;
    height: 48px;
    color: var(--gold);
}

@media (max-width: 992px) {
    .gptw-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* ==========================================================================
   RESPONSIVIDADE (MEDIA QUERIES)
   ========================================================================== */

/* Tablet (1024px e menor) */
@media (max-width: 1024px) {
    .hero-visuals {
        display: none;
    }
    .hero {
        flex-direction: column;
    }
    .hero-left {
        padding: 6rem 4rem;
        flex: auto;
    }
    .hero-right {
        width: 100%;
        height: auto;
        padding: 2rem;
        border-left: none;
        border-top: 0.5px solid var(--border-light);
    }
    .vertical-nav {
        writing-mode: horizontal-tb;
        transform: none;
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .credibility-grid,
    .value-pillars,
    .competencies-grid,
    .reform-layout,
    .cases-grid,
    .insights-grid,
    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .diff-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

/* Mobile (768px e menor) */
@media (max-width: 768px) {
    :root {
        --header-height: 68px;
        --container-padding: 18px;
    }

    section { padding: 4rem 0; }
    h2 { font-size: 2rem; }

    .header,
    .header.scrolled { height: var(--header-height); }

    .header-container {
        width: 100%;
        max-width: 100%;
        padding-inline: var(--container-padding);
    }

    .logo img {
        width: 108px !important;
        max-width: 108px !important;
    }

    .value-container {
        grid-template-columns: minmax(0, 1fr);
        gap: 2.5rem;
    }

    .value-text h2 {
        max-width: 12ch;
        margin-bottom: 1.5rem;
        font-size: clamp(2rem, 9vw, 2.65rem);
        line-height: 1.05;
    }

    .value-text p {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 1.25rem;
    }

    .value-pillars {
        grid-template-columns: minmax(0, 1fr);
        gap: 1rem;
    }

    .pillar-card {
        width: 100%;
        padding: 1.5rem;
    }

    .pillar-card h3 {
        margin-bottom: .75rem;
        font-size: 1.15rem;
        line-height: 1.2;
    }

    .pillar-card p {
        font-size: .95rem;
        line-height: 1.65;
    }
    
    .header-container { position: relative; }
    
    .menu-toggle {
        display: flex;
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        max-height: calc(100dvh - var(--header-height));
        overflow-y: auto;
        background-color: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 1.25rem var(--container-padding) 1.5rem;
        gap: 1.25rem;
        border-top: 1px solid rgba(0,0,0,.06);
        box-shadow: 0 16px 30px rgba(0,0,0,0.14);
        transform: translateY(-12px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.25s ease, opacity 0.2s ease, visibility 0.2s ease;
        z-index: 999;
    }

    .header.scrolled .main-nav {
        top: var(--header-height);
        max-height: calc(100dvh - var(--header-height));
    }

    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        text-align: left;
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: .8rem .25rem;
        border-bottom: 1px solid rgba(0,0,0,.07);
        font-size: 1rem;
    }
    
    .btn-header { width: 100%; }

    body.menu-open { overflow: hidden; }

    .hero {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .hero-left {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 3.25rem 1.25rem;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
    
    .hero-title {
        max-width: 100%;
        font-size: clamp(2rem, 9.5vw, 2.35rem);
        overflow-wrap: anywhere;
    }

    .hero-subtitle {
        max-width: 100%;
        font-size: 1.05rem;
        line-height: 1.55;
    }

    .hero-actions,
    .hero-actions .btn { width: 100%; }
    
    .diff-grid,
    .who-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row { grid-template-columns: 1fr; }
    
    .footer-container { grid-template-columns: 1fr; }
    .footer-bottom { 
        flex-direction: column; 
        gap: 1rem; 
        text-align: center; 
    }

    .fab-text { display: none; }
    .fab-whatsapp {
        border-radius: 50%;
        padding: 15px;
        bottom: 20px;
        right: 20px;
    }
    .fab-whatsapp i { width: 28px; height: 28px; }
}

/* ========================================================================== 
   MOTION UI — CAMADA BASE
   ========================================================================== */
:root {
    --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --motion-duration: 760ms;
}

.motion-hero-item,
.motion-hero-visual,
.motion-hero-side {
    opacity: 0;
    will-change: transform, opacity;
}

.motion-hero-item { transform: translate3d(0, 24px, 0); }
.motion-hero-visual { transform: scale(1.025); }
.motion-hero-side { transform: translate3d(26px, 0, 0); }

.motion-ready .motion-hero-item,
.motion-ready .motion-hero-visual,
.motion-ready .motion-hero-side {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    transition:
        opacity 720ms var(--motion-ease) var(--motion-delay, 0ms),
        transform 820ms var(--motion-ease) var(--motion-delay, 0ms);
}

.motion-reveal-up,
.motion-reveal-blur,
.motion-reveal-side,
.motion-reveal-card {
    opacity: 0;
    will-change: transform, opacity, filter;
    transition:
        opacity var(--motion-duration) var(--motion-ease),
        transform var(--motion-duration) var(--motion-ease),
        filter 620ms var(--motion-ease);
}

.motion-reveal-up { transform: translate3d(0, 34px, 0); }
.motion-reveal-blur {
    transform: translate3d(0, 18px, 0);
    filter: blur(7px);
}
.motion-reveal-side { transform: translate3d(38px, 0, 0) scale(0.985); }
.motion-reveal-card {
    transform: translate3d(0, 28px, 0) scale(0.985);
    transition-delay: var(--stagger-delay, 0ms);
}

.motion-reveal-up.is-visible,
.motion-reveal-blur.is-visible,
.motion-reveal-side.is-visible,
.motion-reveal-card.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
}

.btn {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: transform 220ms var(--motion-ease), color 220ms ease,
        background-color 220ms ease, border-color 220ms ease, box-shadow 260ms ease;
}

.btn::after {
    content: '';
    position: absolute;
    inset: -100% -45%;
    z-index: -1;
    background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.24) 50%, transparent 62%);
    transform: translate3d(-55%, 0, 0) rotate(8deg);
    transition: transform 520ms var(--motion-ease);
    pointer-events: none;
}

.btn:hover {
    transform: translate3d(0, -3px, 0) scale(1.012);
    box-shadow: 0 12px 30px rgba(0,0,0,.14);
}
.btn:hover::after { transform: translate3d(55%, 0, 0) rotate(8deg); }
.btn:active { transform: translate3d(0, -1px, 0) scale(.995); }

.comp-card,
.who-card,
.case-card,
.diff-card,
.insight-card,
.cred-item,
.pillar {
    transition: transform 300ms var(--motion-ease), border-color 260ms ease,
        background-color 260ms ease, box-shadow 300ms ease;
}

.comp-card:hover,
.who-card:hover,
.case-card:hover,
.diff-card:hover,
.insight-card:hover,
.cred-item:hover,
.pillar:hover {
    transform: translate3d(0, -6px, 0);
    border-color: rgba(198, 154, 52, .55);
    box-shadow: 0 18px 42px rgba(17, 17, 17, .10);
}

.comp-card svg,
.who-card svg,
.diff-card svg,
.cred-item svg {
    transition: transform 300ms var(--motion-ease), color 260ms ease;
}

.comp-card:hover svg,
.who-card:hover svg,
.diff-card:hover svg,
.cred-item:hover svg {
    transform: translate3d(0, -2px, 0) scale(1.08);
    color: var(--gold);
}

.nav-link {
    position: relative;
    transition: color 220ms ease;
}
.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -7px;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 300ms var(--motion-ease);
}
.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.gptw-visual img,
.reform-visual img,
.about-visual img {
    transition: transform 600ms var(--motion-ease), box-shadow 400ms ease;
}
.gptw-visual:hover img,
.reform-visual:hover img,
.about-visual:hover img {
    transform: scale(1.018);
    box-shadow: 0 22px 48px rgba(0,0,0,.18);
}

@media (max-width: 768px) {
    :root { --motion-duration: 560ms; }
    .motion-reveal-up { transform: translate3d(0, 22px, 0); }
    .motion-reveal-side { transform: translate3d(18px, 0, 0) scale(.99); }
    .motion-reveal-card { transform: translate3d(0, 18px, 0); transition-delay: calc(var(--stagger-delay, 0ms) * .55); }
}

/* ========================================================================== 
   MOTION UI AVANÇADO — ATMOSFERA, LUZ E PROFUNDIDADE
   ========================================================================== */
html {
    --mouse-x: 50vw;
    --mouse-y: 34vh;
    --parallax-y: 0px;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 900;
    pointer-events: none;
    background: radial-gradient(520px circle at var(--mouse-x) var(--mouse-y), rgba(204, 159, 54, .11), transparent 62%);
    mix-blend-mode: multiply;
    opacity: .78;
}

.hero {
    isolation: isolate;
    overflow: hidden;
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    z-index: 0;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(8px);
    will-change: transform;
}

.hero::before {
    width: 34rem;
    height: 34rem;
    top: -17rem;
    left: 10%;
    background: radial-gradient(circle, rgba(205, 161, 61, .24), rgba(205, 161, 61, 0) 68%);
    translate: 0 var(--parallax-y);
    animation: ambientOrbOne 11s ease-in-out infinite alternate;
}

.hero::after {
    width: 28rem;
    height: 28rem;
    right: -10rem;
    bottom: -13rem;
    background: radial-gradient(circle, rgba(122, 96, 43, .26), transparent 68%);
    translate: 0 calc(var(--parallax-y) * -.65);
    animation: ambientOrbTwo 14s ease-in-out infinite alternate;
}

.hero-left,
.hero-right { position: relative; z-index: 1; }

@keyframes ambientOrbOne {
    from { translate: -3% var(--parallax-y); opacity: .62; scale: .92; }
    to { translate: 8% var(--parallax-y); opacity: 1; scale: 1.12; }
}

@keyframes ambientOrbTwo {
    from { translate: 2% calc(var(--parallax-y) * -.65); opacity: .55; scale: .9; }
    to { translate: -7% calc(var(--parallax-y) * -.65); opacity: .9; scale: 1.08; }
}

.section-dark,
.final-cta {
    position: relative;
    overflow: hidden;
    background-image:
        radial-gradient(circle at 12% 18%, rgba(204, 159, 54, .10), transparent 27%),
        radial-gradient(circle at 88% 76%, rgba(255, 255, 255, .055), transparent 25%),
        linear-gradient(120deg, transparent 35%, rgba(204, 159, 54, .04) 50%, transparent 65%);
    background-size: 100% 100%, 100% 100%, 220% 100%;
    animation: darkSectionFlow 12s ease-in-out infinite alternate;
}

@keyframes darkSectionFlow {
    from { background-position: 0 0, 0 0, 100% 0; }
    to { background-position: 4% 2%, -4% -2%, -80% 0; }
}

.motion-border-glow {
    position: relative;
    isolation: isolate;
}

.motion-border-glow::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 3;
    border-radius: inherit;
    padding: 1.5px;
    pointer-events: none;
    background: conic-gradient(from var(--border-angle, 0deg), transparent 0 56%, rgba(211, 168, 65, .18) 63%, #e4ba58 72%, rgba(255,255,255,.92) 76%, #b98b26 82%, transparent 90%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: borderOrbit 4.6s linear infinite;
    opacity: .95;
}

@property --border-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes borderOrbit { to { --border-angle: 360deg; } }

.motion-spotlight {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.motion-spotlight::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(240px circle at var(--card-x, 50%) var(--card-y, 50%), rgba(229, 188, 90, .22), transparent 68%);
    transition: opacity 260ms ease;
}

.motion-spotlight:hover::before { opacity: 1; }
.motion-spotlight > * { position: relative; z-index: 2; }

.glass-card {
    background: linear-gradient(135deg, rgba(255,255,255,.13), rgba(255,255,255,.045));
    border-color: rgba(255,255,255,.24);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 22px 55px rgba(0,0,0,.25);
}

.btn-primary,
.btn-solid-white,
.fab-whatsapp {
    background-size: 220% 100%;
    animation: premiumButtonGlow 5.5s ease-in-out infinite;
}

.btn-primary {
    background-image: linear-gradient(105deg, var(--charcoal) 0%, #29251d 38%, #71551b 50%, var(--charcoal) 64%);
}

.btn-solid-white {
    background-image: linear-gradient(105deg, #fff 0%, #fff 38%, #f6e7bd 50%, #fff 64%);
}

@keyframes premiumButtonGlow {
    0%, 58%, 100% { background-position: 100% 50%; }
    78% { background-position: 0 50%; }
}

.btn-primary:hover,
.btn-solid-white:hover,
.fab-whatsapp:hover {
    box-shadow: 0 0 0 1px rgba(210, 168, 66, .34), 0 14px 38px rgba(202, 157, 51, .24);
}

@media (max-width: 768px), (hover: none) {
    body::before {
        position: absolute;
        background: radial-gradient(420px circle at 70% 12%, rgba(204,159,54,.10), transparent 68%);
        opacity: .65;
    }
    .hero::before { width: 24rem; height: 24rem; }
    .hero::after { width: 20rem; height: 20rem; }
    .motion-spotlight::before { display: none; }
    .motion-border-glow::after { animation-duration: 7s; opacity: .72; }
}

/* Contenção mobile — evita expansão lateral em navegadores Android/Samsung */
@media (max-width: 768px) {
    html,
    body {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        overflow-x: clip !important;
        overscroll-behavior-x: none;
        touch-action: pan-y;
    }

    body > header,
    body > main,
    body > footer,
    main > section,
    .container,
    .hero,
    .hero-left,
    .hero-content {
        width: 100% !important;
        max-width: 100vw !important;
        min-width: 0 !important;
    }

    .hero-right {
        display: none !important;
    }

    .word-carousel {
        min-width: 0;
        max-width: 100%;
    }

    .word {
        max-width: 100%;
        white-space: normal;
    }

    .btn,
    .hero-actions,
    .hero-actions .btn {
        max-width: 100%;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    img,
    svg {
        max-width: 100%;
    }
}

/* Acessibilidade - Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .motion-hero-item,
    .motion-hero-visual,
    .motion-hero-side,
    .motion-reveal-up,
    .motion-reveal-blur,
    .motion-reveal-side,
    .motion-reveal-card {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }

    body::before,
    .hero::before,
    .hero::after,
    .motion-spotlight::before {
        display: none !important;
    }

    .motion-border-glow::after {
        animation: none !important;
        background: linear-gradient(120deg, rgba(211,168,65,.45), rgba(255,255,255,.25)) !important;
    }
}
