/* 
   BOOG CONSULTORIA - ESTILO VISUAL PREMIUM
   Inspirado em Halstein Consulting (Estilo Moderno, Amplo e Editorial)
   Paleta de Cores: Azul (#00456d), Detalhes em Vermelho (#800002) e Dourado (#c5a459)
*/

/* --- Reset & Variables --- */
:root {
    --primary: #00456d;
    --primary-dark: #002d4a;
    --primary-light: #005a8d;
    --accent: #800002;
    --accent-dark: #5a0001;
    --accent-light: #a61c1e;
    --gold: #c5a459;
    --gold-light: #ecdcb9;
    --gold-bg: #FAF6ED;
    --bg-warm: #FAF8F5;
    --bg-white: #ffffff;
    --bg-dark: #081521;
    --text-main: #2b353e;
    --text-muted: #475462;
    --text-light: #ffffff;
    
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
    
    /* Layout amplo */
    --padding-section: 8rem 6vw;
    --max-width: 1720px;
}

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

html, body {
    overflow-x: hidden;
    width: 100%;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-warm);
    color: var(--text-main);
    line-height: 1.7;
}

/* --- Typography & Global Elements --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-weight: 500;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 400;
}

h2 {
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    font-weight: 400;
    margin-bottom: 1.5rem;
    position: relative;
}

h3 {
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    font-weight: 500;
}

p {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

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

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

/* --- Helper Utilities --- */
.wide-container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.text-gold { color: var(--gold); }
.text-accent { color: var(--accent); }
.text-light { color: var(--text-light); }

.bg-white { background-color: var(--bg-white); }
.bg-warm { background-color: var(--bg-warm); }
.bg-dark { background-color: var(--bg-dark); }
.bg-primary { background-color: var(--primary); }

.gold-divider {
    width: 60px;
    height: 2px;
    background-color: var(--gold);
    margin: 1.5rem 0;
}

.center-divider {
    margin: 1.5rem auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.1rem 2.5rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--accent);
    transition: var(--transition-smooth);
    z-index: -1;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-light);
    border-color: var(--primary);
}

.btn-primary::before {
    background-color: var(--accent);
}

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

.btn-primary:hover {
    border-color: var(--accent);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-secondary::before {
    background-color: var(--primary);
}

.btn-secondary:hover::before {
    width: 100%;
}

.btn-secondary:hover {
    color: var(--text-light);
}

.btn-gold {
    background-color: var(--gold);
    color: var(--primary-dark);
    border-color: var(--gold);
}

.btn-gold::before {
    background-color: var(--primary-dark);
}

.btn-gold:hover::before {
    width: 100%;
}

.btn-gold:hover {
    color: var(--text-light);
    border-color: var(--primary-dark);
}

.btn-gold::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg) translateX(-300%);
    z-index: 2;
    animation: btnShine 4.5s ease-in-out infinite;
}

@keyframes btnShine {
    0% {
        transform: skewX(-25deg) translateX(-300%);
    }
    10% {
        transform: skewX(-25deg) translateX(300%);
    }
    100% {
        transform: skewX(-25deg) translateX(300%);
    }
}

.btn-link {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--primary);
    padding: 0.5rem 0;
    border-bottom: 2px solid var(--gold);
    transition: var(--transition-fast);
}

.btn-link svg {
    margin-left: 8px;
    width: 18px;
    height: 18px;
    transition: var(--transition-fast);
}

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

.btn-link:hover svg {
    transform: translateX(5px);
}

/* Badge */
.section-badge {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
    position: relative;
    padding-left: 25px;
}

.section-badge::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 1px;
    background-color: var(--gold);
}

/* --- HEADER / NAVIGATION --- */
.header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(197, 164, 89, 0.18);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.header-wrapper.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 6vw;
    max-width: var(--max-width);
    margin: 0 auto;
    transition: var(--transition-smooth);
}

.header-wrapper.scrolled .header-container {
    padding: 0.8rem 6vw;
}

.logo img {
    height: 64px;
    width: auto;
    transition: var(--transition-smooth);
}

.header-wrapper.scrolled .logo img {
    height: 48px;
}

/* Menu principal */
.main-nav {
    display: flex;
    align-items: center;
}

.menu-list {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2.2rem;
}

.menu-item {
    position: relative;
}

.menu-link {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
    padding: 1.5rem 0;
    display: inline-block;
    transition: var(--transition-smooth);
    position: relative;
}

.header-wrapper.scrolled .menu-link {
    padding: 1.0rem 0;
}

.menu-link::after {
    content: '';
    position: absolute;
    bottom: 0.8rem;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: var(--transition-smooth);
    transform: translateX(-50%);
}

.header-wrapper.scrolled .menu-link::after {
    bottom: 0.5rem;
}

.menu-link:hover::after, .menu-item.active > .menu-link::after {
    width: 100%;
}

.menu-link:hover, .menu-item.active > .menu-link {
    color: var(--gold) !important;
}

/* Dropdown Nossos Serviços */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: -20px;
    background-color: var(--bg-white);
    min-width: 320px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition-smooth);
    list-style: none;
    padding: 1.2rem 0;
    border-top: 3px solid var(--gold);
}
@media (min-width: 1101px) {
    .menu-item:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

.dropdown-item a {
    display: block;
    padding: 0.8rem 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--primary);
    text-transform: uppercase;
    transition: var(--transition-fast);
}

.dropdown-item a:hover {
    background-color: var(--bg-warm);
    color: var(--accent);
    padding-left: 2.3rem;
}

/* Header Right Button */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-actions .btn {
    padding: 0.8rem 1.8rem;
    font-size: 0.8rem;
    transition: var(--transition-smooth);
}

.header-wrapper.scrolled .header-actions .btn {
    padding: 0.7rem 1.6rem;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary);
}

.menu-toggle svg {
    width: 28px;
    height: 28px;
}

/* --- HERO BANNER (REDISEGNADO COM BANNER DE TELA CHEIA 100VH) --- */
.hero-section {
    position: relative;
    min-height: 100vh;
    height: auto;
    display: flex;
    align-items: center;
    color: var(--text-light);
    overflow: hidden;
    background-color: var(--primary-dark);
    padding: 180px 6vw 120px 6vw;
    box-sizing: border-box;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

@keyframes kenBurnsContinuous {
    0% {
        transform: scale(1) translate(0, 0);
    }
    50% {
        transform: scale(1.08) translate(-1%, -0.5%);
    }
    100% {
        transform: scale(1.03) translate(0.5%, 0.5%);
    }
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.45;
    filter: brightness(0.65) contrast(1.25) saturate(1.15);
    animation: kenBurnsContinuous 36s ease-in-out infinite alternate;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(4, 15, 25, 0.95) 0%, rgba(0, 45, 74, 0.65) 100%);
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 4;
    padding: 0 6vw;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.hero-content {
    max-width: 900px;
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-title {
    color: var(--text-light);
    margin-bottom: 2.5rem;
    font-size: clamp(2.8rem, 5.5vw, 4.5rem);
    font-weight: 300;
    line-height: 1.15;
}

.hero-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1.05rem, 1.2vw, 1.25rem);
    line-height: 1.85;
    margin-bottom: 4rem;
    font-weight: 300;
    max-width: 820px;
}

/* Custom Outlined Badge for Hero */
.hero-section .section-badge {
    background-color: rgba(197, 164, 89, 0.15);
    border: 1px solid rgba(197, 164, 89, 0.3);
    color: var(--gold-light);
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    font-size: 0.75rem;
    display: inline-block;
    margin-bottom: 2.5rem;
    letter-spacing: 0.15em;
}

.hero-section .section-badge::before {
    display: none; /* Hide standard line */
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.btn-secondary-white {
    background-color: transparent;
    color: var(--text-light);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-secondary-white::before {
    background-color: var(--accent);
}

.btn-secondary-white:hover::before {
    width: 100%;
}

.btn-secondary-white:hover {
    border-color: var(--accent);
    color: var(--text-light);
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Canvas for Interactive Network Particles */
#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3; /* Em frente ao overlay (z-index 2) e atrás de hero-container (z-index 4) */
    pointer-events: none; /* Não bloqueia cliques */
    opacity: 0.85;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    display: block;
    animation: scrollLineAnimation 2.2s infinite;
    transform-origin: top;
}

@keyframes scrollLineAnimation {
    0% {
        transform: scaleY(0);
        opacity: 0;
    }
    50% {
        transform: scaleY(1);
        opacity: 1;
    }
    100% {
        transform: scaleY(1);
        transform: translateY(15px);
        opacity: 0;
    }
}

/* --- SECTION: SOBRE & CRENÇA (SPLIT) --- */
.section-sobre {
    padding: var(--padding-section);
    background-color: var(--bg-white);
}

.sobre-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 6vw;
    align-items: center;
}

.sobre-image-container,
.invest-image-container {
    position: relative;
    padding-right: 2rem;
    padding-bottom: 2rem;
    width: 100%;
    max-width: 490px;
    margin: 0 auto;
}

.sobre-image-container img {
    width: 100%;
    height: auto;
    aspect-ratio: 800 / 1199;
    object-fit: cover;
    box-shadow: 20px 20px 0px 0px var(--gold-bg);
}

.invest-image-container img {
    width: 100%;
    height: auto;
    aspect-ratio: 800 / 1067;
    object-fit: cover;
    box-shadow: 20px 20px 0px 0px var(--gold-bg);
}


.sobre-image-container::before,
.invest-image-container::before {
    content: '';
    position: absolute;
    bottom: -15px;
    right: 15px;
    width: 140px;
    height: 140px;
    border: 2px solid var(--gold);
    z-index: 1;
    pointer-events: none;
}

.sobre-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sobre-highlight-box {
    margin-top: 2rem;
    padding: 2.5rem;
    background-color: var(--bg-warm);
    border-left: 4px solid var(--gold);
}

.sobre-highlight-box h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

/* --- SECTION: CRENÇA --- */
.section-crenca {
    padding: var(--padding-section);
    background-color: var(--primary-dark);
    color: var(--text-light);
    position: relative;
    background-image: radial-gradient(circle at 80% 20%, rgba(197, 164, 89, 0.08) 0%, transparent 50%);
}

.crenca-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.crenca-text {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    line-height: 1.4;
    color: var(--text-light);
    font-weight: 300;
    margin-bottom: 3rem;
}

/* --- SECTION: POR QUE INVESTIR & QUAL MOTIVO (SPLIT GRIDS) --- */
.section-investimento {
    padding: var(--padding-section);
    background-color: var(--bg-warm);
}

.invest-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8vw;
    margin-bottom: 8rem;
    align-items: center; /* Alinha verticalmente os elementos */
}

.invest-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.invest-split:last-child {
    margin-bottom: 0;
}

.invest-content {
    position: relative;
}

.invest-accent-quote {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    line-height: 1.35;
    color: var(--accent);
    padding: 1.5rem 0 1.5rem 2.2rem;
    border-left: 3px solid var(--gold);
    margin: 2.5rem 0;
    font-style: italic;
}

.premium-card {
    background-color: var(--bg-white);
    border-top: 3px solid var(--gold);
    padding: 2.5rem;
    box-shadow: 0 15px 35px rgba(0, 69, 109, 0.03);
    margin-top: 2rem;
}

.premium-card h4 {
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.premium-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
    color: var(--text-muted);
}

/* --- SECTION: DIFERENCIAIS --- */
.section-diferenciais {
    padding: var(--padding-section);
    background-color: var(--bg-white);
}

.section-header-wide {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5vw;
    margin-bottom: 5rem;
    align-items: flex-end;
}

.section-header-wide .lead-text {
    font-size: 1.2rem;
    color: var(--text-muted);
    border-left: 2px solid var(--gold);
    padding-left: 2rem;
    margin-bottom: 0;
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

.diferencial-card {
    background-color: var(--bg-warm);
    padding: 3rem 2rem;
    transition: var(--transition-smooth);
    border-bottom: 3px solid transparent;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.diferencial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 69, 109, 0.05);
    border-bottom-color: var(--gold);
    background-color: var(--bg-white);
}

.diferencial-icon {
    color: var(--gold);
    margin-bottom: 2rem;
    width: 48px;
    height: 48px;
    transition: var(--transition-smooth);
}

.diferencial-card:hover .diferencial-icon {
    color: var(--accent);
    transform: scale(1.1);
}

.diferencial-card h3 {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.diferencial-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.6;
}

/* --- SECTION: SERVIÇOS --- */
.section-servicos {
    padding: var(--padding-section);
    background-color: var(--primary-dark);
    color: var(--text-light);
    position: relative;
}

.section-servicos h2 {
    color: var(--text-light);
}

.servicos-intro {
    font-size: 1.25rem;
    font-weight: 300;
    max-width: 800px;
    margin-bottom: 4rem;
    color: rgba(255, 255, 255, 0.8);
}

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

.servico-card {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3rem 2rem;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 320px;
}

.servico-card:hover {
    background-color: var(--bg-white);
    border-color: var(--bg-white);
    transform: translateY(-8px);
}

.servico-card:hover * {
    color: var(--primary);
}

.servico-icon {
    color: var(--gold);
    width: 44px;
    height: 44px;
    margin-bottom: 2rem;
    transition: var(--transition-smooth);
}

.servico-card:hover .servico-icon {
    color: var(--accent);
}

.servico-card h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
}

.servico-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
    line-height: 1.6;
    transition: var(--transition-smooth);
}

.servico-card:hover p {
    color: var(--text-muted);
}

.servico-card .btn-link {
    color: var(--text-light);
    border-bottom-color: var(--gold);
}

.servico-card .btn-link:hover {
    color: var(--gold) !important;
    border-bottom-color: var(--gold);
}

.servico-card:hover .btn-link {
    color: var(--primary);
    border-bottom-color: var(--accent);
}

.servico-card:hover .btn-link:hover {
    color: var(--accent) !important;
    border-bottom-color: var(--accent);
}

/* --- SECTION: QUEM SOMOS COMPLETO --- */
.section-quem-somos-detalhe {
    padding: var(--padding-section);
    background-color: var(--bg-white);
}

.quem-somos-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6vw;
    align-items: center;
}

.quem-somos-text-side {
    padding-right: 2rem;
}

.quem-somos-stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.stat-item {
    border-top: 1px solid var(--gold-light);
    padding-top: 1.5rem;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
}

/* --- FAQ SECTION --- */
.section-faq {
    padding: var(--padding-section);
    background-color: var(--bg-warm);
}

.faq-container {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 6vw;
    align-items: flex-start;
}

.faq-intro {
    position: sticky;
    top: 120px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.faq-item {
    background-color: var(--bg-white);
    border: 1px solid rgba(0,0,0,0.03);
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item.active {
    box-shadow: 0 15px 35px rgba(0, 69, 109, 0.04);
    border-color: var(--gold-light);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.8rem 2.2rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition-fast);
}

.faq-question:hover {
    color: var(--accent);
}

.faq-icon {
    width: 20px;
    height: 20px;
    color: var(--gold);
    transition: var(--transition-smooth);
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
    padding: 0 2.2rem 2.2rem 2.2rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* --- SECTION: BLOG PREVIEW --- */
.section-blog {
    padding: var(--padding-section);
    background-color: var(--bg-white);
}

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

.blog-card {
    background-color: var(--bg-warm);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

.blog-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.blog-card:hover .blog-image img {
    transform: scale(1.08);
}

.blog-date {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background-color: var(--accent);
    color: var(--text-light);
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.blog-info {
    padding: 2.2rem;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.8rem;
}

.blog-author {
    color: var(--gold);
}

.blog-meta-sep {
    color: var(--text-muted);
    opacity: 0.4;
}

.blog-date-text {
    color: var(--text-muted);
    font-weight: 500;
}

.blog-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 1.2rem;
    line-height: 1.3;
}

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

.blog-link {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
}

.blog-link svg {
    width: 16px;
    height: 16px;
    margin-left: 6px;
    transition: var(--transition-fast);
}

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

.blog-card:hover .blog-link svg {
    transform: translateX(4px);
}

/* --- SECTION: CONTACT & CTA --- */
.section-contato {
    padding: var(--padding-section);
    background-color: var(--gold-bg);
    color: var(--text-main);
    position: relative;
    border-top: 1px solid rgba(197, 164, 89, 0.15);
}

.contato-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 6vw;
    align-items: flex-start;
}

.contato-info-side h2 {
    color: var(--primary);
}

.contato-lead {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.contato-channels {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contato-channel-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.channel-icon {
    width: 48px;
    height: 48px;
    background-color: var(--bg-white);
    border: 1px solid rgba(197, 164, 89, 0.35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.channel-icon svg {
    width: 22px;
    height: 22px;
}

.channel-details h3 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    margin-bottom: 0.4rem;
}

.channel-details p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 0;
}

/* Form */
.contato-form-side {
    background-color: var(--bg-white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 4rem;
    box-shadow: 0 15px 35px rgba(0, 69, 109, 0.04);
}

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

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

.form-label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 0.6rem;
}

.form-control {
    width: 100%;
    background-color: var(--bg-warm);
    border: 1px solid rgba(0, 0, 0, 0.12);
    padding: 1rem 1.2rem;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--gold);
    background-color: var(--bg-white);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-feedback {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    padding: 1rem;
    display: none;
}

.form-feedback.success {
    display: block;
    background-color: rgba(46, 204, 113, 0.15);
    border-left: 3px solid #2ecc71;
    color: #2ecc71;
}

.form-feedback.error {
    display: block;
    background-color: rgba(231, 76, 60, 0.15);
    border-left: 3px solid #e74c3c;
    color: #e74c3c;
}

/* --- FOOTER --- */
.site-footer {
    background-color: #040c14;
    color: #a0aab5;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.site-footer p {
    color: #a0aab5;
}

.footer-top {
    padding: 6rem 6vw;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 4rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 55px;
    width: auto;
    display: block;
}

.footer-column h3 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
    margin-bottom: 2rem;
    position: relative;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.newsletter-text {
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
}

.newsletter-input {
    flex-grow: 1;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1.2rem;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 0.9rem;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--gold);
}

.newsletter-submit {
    background-color: var(--gold);
    border: none;
    color: var(--primary-dark);
    padding: 0 1.5rem;
    cursor: pointer;
    font-weight: 700;
    transition: var(--transition-fast);
}

.newsletter-submit:hover {
    background-color: var(--accent);
    color: var(--text-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem 6vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
    font-size: 0.8rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a:hover {
    color: var(--gold);
}

/* --- ANIMATIONS & REVEALS --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal-element, .reveal-card {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-element.revealed, .reveal-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delay helpers */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }
.delay-7 { transition-delay: 0.7s; }
.delay-8 { transition-delay: 0.8s; }

/* --- RESPONSIVE STYLING (MEDIA QUERIES) --- */
@media (max-width: 1400px) {
    .diferenciais-grid, .servicos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1100px) {
    .sobre-grid, .quem-somos-container, .faq-container, .contato-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .hero-content {
        text-align: center;
        margin: 0 auto;
    }
    
    .hero-text {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .faq-intro {
        position: static;
        margin-bottom: 2rem;
    }
    
    .sobre-image-container,
    .invest-image-container {
        padding-right: 0;
        padding-bottom: 0;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .invest-split {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background-color: var(--bg-white);
        box-shadow: -15px 0 40px rgba(0,0,0,0.15);
        z-index: 999;
        flex-direction: column;
        justify-content: flex-start;
        padding: 8rem 3rem 3rem 3rem;
        transition: var(--transition-smooth);
        visibility: hidden; /* Hide off-screen nav to prevent horizontal overflow scrolling */
    }
    
    .main-nav.open {
        right: 0;
        visibility: visible;
    }
    
    .menu-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        width: 100%;
    }
    
    .menu-link {
        color: var(--primary) !important;
        font-size: 1.1rem;
        padding: 0.5rem 0;
        width: 100%;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 1.5rem;
        border-top: none;
        border-left: 2px solid var(--gold-light);
        min-width: unset;
        display: none;
        margin-top: 0.5rem;
    }
    
    .menu-item.active-mobile .dropdown-menu {
        display: block;
    }
    
    .dropdown-item a {
        padding: 0.5rem 0;
    }
    
    /* Toggle color fix when menu is open */
    .main-nav.open ~ .header-actions .menu-toggle {
        color: var(--primary) !important;
        position: relative;
        z-index: 1001;
    }
}

@media (max-width: 768px) {
    :root {
        --padding-section: 5rem 6vw;
    }
    
    .diferenciais-grid, .servicos-grid, .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .form-group-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contato-form-side {
        padding: 2.5rem 1.8rem;
    }
    
    .section-header-wide {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section-header-wide .lead-text {
        border-left: none;
        border-top: 1px solid var(--gold-light);
        padding-left: 0;
        padding-top: 1.5rem;
    }
    
    /* Forçar todos os botões a terem a mesma largura (100% do container) no celular */
    .btn {
        width: 100% !important;
        box-sizing: border-box;
    }
    .header-actions .btn {
        width: auto !important;
    }

    /* Desativar animações de reveal no celular para performance e como fallback de segurança */
    .reveal-element, .reveal-card {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* --- WHATSAPP FLOATING BUTTON (LEFT SIDE) --- */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: var(--transition-smooth);
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
    background-color: #20ba5a;
    color: #ffffff;
}

.whatsapp-float img {
    width: 30px;
    height: 30px;
    display: block;
}

@media (max-width: 600px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    }
    .whatsapp-float img {
        width: 25px;
        height: 25px;
    }
}

/* --- CUSTOM PERSONALIZED CTAS --- */
.cta-custom-section {
    padding: 6rem 6vw;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.cta-split-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
}

.cta-text-content {
    max-width: 900px;
}

.cta-text-content h3 {
    font-size: clamp(1.8rem, 2.5vw, 2.5rem);
    margin-bottom: 1rem;
    color: var(--primary);
}

.cta-text-content p {
    font-size: 1.05rem;
    margin-bottom: 0;
    color: var(--text-muted);
    line-height: 1.6;
}

.cta-button-content {
    flex-shrink: 0;
}

@media (max-width: 992px) {
    .cta-split-container {
        flex-direction: column;
        text-align: center;
        gap: 2.5rem;
    }
    .cta-text-content {
        max-width: 100%;
    }
}

/* Custom styles for White-Red accent button in CTA section */
.btn-white-accent {
    background-color: var(--bg-white) !important;
    color: var(--accent) !important;
    border-color: var(--bg-white) !important;
    border-radius: 0;
}
.btn-white-accent::before {
    background-color: var(--gold) !important;
}
.btn-white-accent:hover {
    color: var(--primary-dark) !important;
    border-color: var(--gold) !important;
}

/* Flagship service spans 2 grid columns on desktop for visual balance */
@media (min-width: 1401px) {
    .servico-card-double {
        grid-column: span 2;
    }
}

/* Skip link accessibility styling */
.skip-link {
    position: absolute;
    top: -100px;
    left: 20px;
    background-color: var(--accent);
    color: var(--text-light) !important;
    padding: 1rem 2rem;
    z-index: 10000;
    transition: top 0.3s ease;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
}
.skip-link:focus {
    top: 20px;
    outline: 2px solid var(--gold);
}

/* Responsive fix for e-books section grid overflow on mobile */
@media (max-width: 992px) {
    #livros .wide-container {
        grid-template-columns: 1fr !important;
        text-align: center !important;
        gap: 3rem !important;
    }
}

/* Responsive wrap for footer bottom links to prevent horizontal overflow */
@media (max-width: 768px) {
    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }
}

/* Custom premium hover animation for home page book covers */
.book-cover-link {
    display: block;
    transition: transform var(--transition-smooth);
}
.book-cover-link:hover {
    transform: translateY(-8px) scale(1.05) rotate(-1deg);
}

/* Custom responsive layout classes added for mobile fixes */
.sobre-grid-sucesso {
    grid-template-columns: 1.15fr 0.85fr;
}
@media (max-width: 1100px) {
    .sobre-grid-sucesso {
        grid-template-columns: 1fr;
    }
}

.sobre-grid-even {
    grid-template-columns: 1fr 1fr;
}
@media (max-width: 1100px) {
    .sobre-grid-even {
        grid-template-columns: 1fr;
    }
}

.apoio-grid {
    text-align: left;
    margin-top: 3.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}
@media (max-width: 1100px) {
    .apoio-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2.5rem;
    }
}

@media (max-width: 1100px) {
    .credibilidade-content .btn {
        margin: 0 auto;
        display: flex;
        width: fit-content;
    }
}

