/* GOTHAM LIGHT (Para textos finos) */
@font-face {
    font-family: 'Gotham Light';
    src: url('fonts/Gotham-Light.otf') format('opentype'); /* Ajuste a extensão se for .ttf */
    font-weight: 300;
    font-style: normal;
}

/* GOTHAM BOOK/REGULAR (Para corpo de texto) */
@font-face {
    font-family: 'Gotham'; /* Vamos chamar só de Gotham */
    src: url('fonts/Gotham-Book.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

/* GOTHAM BOLD (Para títulos fortes) */
@font-face {
    font-family: 'Gotham';
    src: url('fonts/Gotham-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

/* AGaramond-Regular (Para títulos serifados) */
@font-face {
    font-family: 'AGaramond-Regular';
    src: url('fonts/AGaramond-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}


/* ============================================================
   1. VARIÁVEIS E ROOT
   ============================================================ */
:root {
    --navy: #0e1b2a; 
    --gold: #d4af37;
    --white: #FFFFFF;
    --black: #0A0A0A;
    --serif-display: 'AGaramond-Regular', serif;
    --sans-body: 'AGaramond-Regular', serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--navy); 
    font-family: var(--sans-body);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================================
   HEADER & LOGO (AJUSTE SCROLL)
   ============================================================ */

.main-header {
    width: 100%;
    height: 120px;
    background-color: transparent; /* Começa transparente */
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    z-index: 2000;
    /* Transição suave da cor e da altura */
    transition: background-color 0.4s ease, height 0.4s ease, box-shadow 0.4s ease;
}
/* ############################ */

/* --- LINK DO LOGO (CORREÇÃO CLIQUE) --- */
.logo-link {
    display: block;         /* Transforma o link em um bloco sólido */
    width: 100%;            /* Ocupa a largura disponível */
    height: 100%;           /* Ocupa a altura disponível */
    position: relative;     /* Necessário para o z-index funcionar */
    z-index: 3000;           /* Garante que fique acima de qualquer "sujeira" visual */
    cursor: pointer;        /* Garante a mãozinha do mouse */
    text-decoration: none;  /* Remove sublinhados indesejados */
}

/* Garante que o SVG dentro respeite o Link */
.logo-link svg {
    pointer-events: none;   /* TRUQUE DE MESTRE: O clique passa pelo desenho e pega no link */
    display: block;         /* Remove espaços fantasmas abaixo da imagem */
    /* Mantém as suas definições originais de altura */
    height: 250px; 
    width: auto;
    transition: height 0.3s ease;
}

/* ############################ */

/* ESTADO QUANDO ROLA PARA BAIXO */
.main-header.scrolled, .logo-link svg {
    background-color: var(--navy); /* Azul Sólido (100% Opaco) */
    height: 100px; /* Fica um pouco mais compacto */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); /* Sombra suave para destacar do conteúdo */
}

.container.logo-flex {
    width: 90%;
    max-width: 2000px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- AJUSTE DO LOGO --- */
.logo-area svg {
    height: 250px; /* Tamanho original grande */
    width: auto;
    display: block;
    transition: height 0.3s ease;
    overflow: visible; 
    margin-top: 0px;

    /* TRUQUE PARA O SAFARI/IOS: 
       1. brightness(0) -> Torna tudo PRETO SÓLIDO (remove cores originais)
       2. invert(1) -> Inverte o PRETO para BRANCO PURO
    */
    filter: brightness(0) invert(1) !important; 
    
    /* Fallback para navegadores que não suportam filter (raro) */
    fill: #FFFFFF !important; 

}

.logo-area {
    cursor: pointer;       /* Faz a mãozinha aparecer */
    z-index: 3000;         /* Garante que fique acima de tudo */
    position: relative;    /* Necessário para o z-index */
    pointer-events: auto !important; /* FORÇA o clique a funcionar */
}

/* ============================================================
   HEADER & LOGO (CORREÇÃO DEFINITIVA APPLE/SAFARI)
   ============================================================ */

/* 1. Configuração Geral do SVG */
.logo-area svg {
    height: 250px;
    width: auto;
    display: block;
    transition: height 0.3s ease;
    margin-top: 0px;
    
    /* Garante que o clique passe para o link pai (.logo-area) */
    pointer-events: none; 

    /* A MÁGICA (NUCLEAR):
       1. brightness(0) -> Transforma tudo (Vetor e PNG) em PRETO SÓLIDO.
       2. invert(1) -> Inverte o Preto para BRANCO PURO.
       Funciona em todos os navegadores, inclusive Safari/Opera iOS.
    */
    filter: brightness(0) invert(1) !important;
}

/* 2. Reset para elementos internos (Evita conflitos) */
.logo-area svg * {
    pointer-events: none; /* Garante clique */
    fill: inherit !important; /* Não tente pintar caminhos individualmente */
    filter: none !important; /* Não aplique filtros em partes separadas */
}

/* 3. Comportamento ao Rolar (Scroll) */
/* Se você quiser diminuir o logo ao rolar, descomente o height abaixo */
.main-header.scrolled .logo-area svg {
    /* height: 120px; */ 
    
    /* Mantém o filtro branco garantido */
    filter: brightness(0) invert(1) !important;
}

/* ============================================================
   MENU HAMBÚRGUER (ESTILO CROW HOLDINGS)
   ============================================================ */
.menu-toggle-container {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    z-index: 6000; /* Sobre o overlay */
    position: relative;
}

.menu-label {
    font-family: var(--sans-body);
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--white);
    font-weight: 500;
}

.hamburger-icon span {
    display: block;
    width: 25px;
    height: 1px; /* Linha fina */
    background-color: var(--white);
    margin: 6px 0;
    transition: 0.3s;
    transform-origin: center;
}

/* Animação do X */
.menu-toggle-container.open .hamburger-icon span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle-container.open .hamburger-icon span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.menu-toggle-container.open .hamburger-icon span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   OVERLAY MENU (ESTILO EDITORIAL / GRID)
   ============================================================ */
.nav-links.overlay-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--navy);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s;
    z-index: 5100;
}

.nav-links.overlay-menu.active {
    opacity: 1;     
    visibility: visible;
}

.overlay-content {
    width: 90%;
    max-width: 1200px;
    height: auto;
}

/* --- GRID DE COLUNAS --- */
.menu-grid {
    display: grid;
    /* Coluna 1 (60%), Linha divisória, Coluna 2 (Restante) */
    grid-template-columns: 1.5fr 1px 1fr; 
    gap: 60px;
    align-items: start;
}

.menu-col {
    display: flex;
    flex-direction: column;
    text-align: left;
}

/* Divisor Vertical Fino */
.menu-divider {
    width: 1px;
    height: 100%;
    min-height: 300px;
    background-color: rgba(255, 255, 255, 0.15);
}

/* Labels Pequenos (Ex: "Áreas de Atuação") */
.col-label {
    font-family: var(--sans-body);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 30px;
    display: block;
    opacity: 0.8;
}

/* --- LINKS PRINCIPAIS (COLUNA ESQUERDA) --- */
.main-link {
    font-family: var(--serif-display);
    font-size: 2.5rem;
    color: var(--white);
    text-decoration: none;
    line-height: 1.1;
    margin-bottom: 20px;
    transition: transform 0.3s, color 0.3s;
    display: inline-block;
}

.main-link:hover {
    color: var(--gold);
    transform: translateX(10px);
}

/* --- LINKS SECUNDÁRIOS / ACESSAR (COLUNA DIREITA) --- */
.dropdown-wrapper {
    align-items: flex-start; 
    width: 100%;
}

/* Botão "Acessar" reestilizado para parecer item de menu */
.btn-investor.text-left-style {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding: 15px 0;
    width: 100%;
    text-align: left;
    color: var(--white) !important;
    font-family: var(--sans-body);
    font-size: 1.2rem;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    margin: 0;
}

.btn-investor.text-left-style:hover {
    border-bottom-color: var(--gold);
    color: var(--gold) !important;
}

.arrow-icon {
    transition: transform 0.3s;
}

/* SUBMENU (A lista que abre) */
.submenu.editorial-list {
    list-style: none;
    padding-left: 20px;
    border-left: 1px solid rgba(212, 175, 55, 0.3);
    margin-top: 15px;
    margin-bottom: 30px;
    display: none; /* Controlado pelo JS/GSAP */
}

.submenu.editorial-list li a {
    font-family: var(--sans-body);
    font-size: 1rem;
    color: #aaa !important;
    padding: 10px 0 !important;
    display: block;
    text-decoration: none;
    transition: color 0.3s;
    border: none;
}

.submenu.editorial-list li a:hover {
    color: var(--white) !important;
    padding-left: 5px !important;
}

/* Links Extras (Sobre, Contato) */
.extra-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.extra-links a {
    font-family: var(--sans-body);
    font-size: 1.1rem;
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.extra-links a:hover {
    color: var(--gold);
}

/* ============================================================
   HERO BANNER
   ============================================================ */
.hero-banner {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}

.bg-video {
    width: 100%; height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(14, 27, 42, 0.5);
}

/* --- HERO TEXT: Estilo Crow Holdings --- */
.hero-text {
    position: absolute;
    top: 50%;
    left: 12%; /* Alinhamento PC */
    transform: translateY(-50%); 
    text-align: left;
    width: 90%;
    max-width: 1000px;
    z-index: 10;
    border-left: 1px solid rgba(255, 255, 255, 0.6);
    padding-left: 30px; 
}

.hero-text h1 {
    font-family: 'AGaramond-Regular', serif; 
    font-size: clamp(1.0rem, 7vw, 3rem); 
    line-height: 0.95; 
    font-weight: 400;
    margin-bottom: 25px;
    color: var(--white);
    font-style: normal; 
}

.hero-text h1 br {
    display: block;
}

.hero-text p {
    font-family: 'AGaramond-Regular', serif;
    font-size: 1.3rem;
    line-height: 1.5;
    max-width: 600px;
    margin: 0;
    opacity: 0.9;
    font-weight: 300;
}

/* Elementos ocultos para animação */
#d1, #d2, #d3, #d4, #r1, #r2, #logotexto, #h1, .hero-text h1, .hero-text p {
    opacity: 0;
}
.symbol-fixed-bg { display: none; }

/* ============================================================
   BOTÕES HERO (CROW STYLE)
   ============================================================ */
.hero-buttons {
    display: flex;
    gap: 50px;
    margin-top: 60px;
}

.btn-crow {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--white);
    font-family: 'AGaramond-Regular', serif;
    font-size: 1.3rem;
    transition: opacity 0.3s;
}

.btn-crow:hover {
    opacity: 0.8;
}

.circle-arrow {
    width: 24px;
    height: 24px;
    background-color: #bfa15f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.circle-arrow svg {
    width: 16px;
    height: 16px;
    stroke: var(--navy);
}

.btn-crow:hover .circle-arrow {
    transform: translateX(5px);
}

/* ============================================================
   SEÇÃO 2: BUSINESS & PILARES
   ============================================================ */
.business-section {
    background-color: #fcfcfc;
    color: var(--navy);
    padding: 100px 5%;
    text-align: center;
    position: relative;
}

.business-header {
    max-width: 800px;
    margin: 0 auto 40px;
}

.section-title {
    position: relative;
    font-family: 'AGaramond-Regular', serif;
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 20px;
    margin-left: 0%;
    color: var(--navy);
}

.section-desc {
    font-family: 'AGaramond-Regular', serif;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-left: 0%;
    color: #555;
}

/* --- ÁRVORE CONECTORA --- */
.connector-tree {
    width: 60%;
    margin: 0 auto;
    height: 60px;
    position: relative;
    display: block;
}

.vertical-stem {
    width: 1px;
    height: 30px;
    background-color: #aaa;
    margin: 0 auto;
}

.horizontal-branch {
    width: 100%;
    height: 1px;
    background-color: #aaa;
}

.vertical-drops {
    display: flex;
    justify-content: space-between;
}

.vertical-drops span {
    display: block;
    width: 1px;
    height: 30px;
    background-color: #aaa;
}

/* --- COLUNAS DE NEGÓCIO --- */
.business-columns {
    display: flex;
    justify-content: center;
    gap: 5%;
    margin-bottom: 80px;
}

.biz-col {
    width: 30%;
    text-align: center;
    padding-top: 20px;
}

.biz-label {
    font-family: 'AGaramond-Regular', serif;
    font-size: 1.0rem;
    letter-spacing: 2px;
    color: #d4af37;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
}

.biz-title {
    font-family: 'AGaramond-Regular', serif;
    font-weight: 400;
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--navy);
    font-weight: 400;
}

.biz-text {
    font-family: 'AGaramond-Regular', serif;
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Botão versão escura */
.btn-crow.dark-version {
    color: var(--navy);
    justify-content: center;
}

.btn-crow.dark-version .circle-arrow {
    background-color: #d4af37;
}
.btn-crow.dark-version .circle-arrow svg {
    stroke: var(--white);
}

/* --- PILARES INSTITUCIONAIS (Texto no lugar de números) --- */
.pillars-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin-top: 80px;
    border-top: 1px solid #e0e0e0;
    padding-top: 60px;
}

.pillar-item {
    padding: 0 40px;
    text-align: center;
}

.pillar-text {
    font-family: 'AGaramond-Regular', serif;
    font-size: 2.2rem;
    color: var(--navy);
    line-height: 1.2;
    display: block;
    font-weight: 400;
}

.pillar-divider {
    width: 1px;
    height: 40px;
    background-color: #d4af37;
    opacity: 0.5;
}

/* ============================================================
   🖼️ SEÇÃO VISÃO E GALERIA
   ============================================================ */

.vision-section {
    background-color: var(--navy); /* Fundo Azul Escuro */
    color: var(--white);
    padding-top: 100px; /* Espaço apenas em cima */
    padding-bottom: 0; /* Embaixo cola na galeria */
    position: relative;
}

/* Área de Texto (Lado a Lado) */
.vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Metade para título, metade para texto */
    gap: 80px;
    margin-bottom: 80px; /* Distância entre texto e galeria */
    align-items: start;
    padding: 0 15%; /* Padding lateral do container */
}

.vision-title h2 {
    font-family: 'AGaramond-Regular', serif;
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.1;
    color: #FFFFFF; /* Destaque elegante no azul */
}

.vision-desc p {
    font-family: 'AGaramond-Regular', serif; /* Texto sofisticado pede serif */
    font-size: 1.2rem; /* Tamanho grande para leitura de impacto */
    line-height: 1.6;
    font-weight: 300;
    opacity: 0.9;
}

/* GALERIA SEM ESPAÇAMENTO */
.full-gallery {
    display: grid;
    width: 100%;
    /* PC: 4 colunas padrão */
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 350px; /* Altura fixa das linhas no PC */
    gap: 0; /* Sem espaçamento */
}

.gallery-item {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
    display: block;
}

/* Efeito de Zoom Suave no Hover */
.gallery-item:hover img {
    transform: scale(1.05);
}

/* Ajuste para as últimas 2 imagens fecharem a linha 3 no PC */
.gallery-item.wide {
    grid-column: span 2; /* Cada uma ocupa 2 espaços */
}

/* RESPONSIVIDADE (MOBILE) */
@media (max-width: 768px) {
    .vision-grid {
        grid-template-columns: 1fr; /* Um embaixo do outro */
        gap: 30px;
        margin-bottom: 50px;
    }

    .vision-title h2 {
        font-size: 2.5rem;
        border-bottom: 1px solid rgba(197, 160, 89, 0.3);
        padding-bottom: 20px;
    }

    .vision-desc p {
        font-size: 1.2rem;
    }

    /* Galeria Mobile: 2 Colunas, Quadradas */
    .full-gallery {
        grid-template-columns: repeat(2, 1fr); /* 2 Colunas */
        grid-auto-rows: auto; /* Altura automática baseada no aspect-ratio */
    }

    .gallery-item {
        aspect-ratio: 1 / 1; /* Força ser quadrado perfeito */
        width: 100%;
    }

    /* No mobile, removemos o "span" das últimas imagens para ficarem iguais */
    .gallery-item.wide {
        grid-column: span 1; 
    }
}


/* ============================================================
   SEÇÃO 3: EXPERIÊNCIA (Crow Style)
   ============================================================ */
.experience-section {
    background-color: #FFFFFF; /* Fundo branco puro para contraste */
    color: var(--navy);
    padding: 120px 5%;
    text-align: center;
}

/* Cabeçalho */
.exp-header {
    margin-bottom: 80px;
}

.exp-title {
    font-family: 'AGaramond-Regular', serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--navy);
    line-height: 1.1;
    margin-bottom: 30px;
}

.gold-separator {
    width: 100px;
    height: 1px;
    background-color: #d4af37; /* Dourado */
    margin: 0 auto;
}

/* Grid de 3 Colunas */
.exp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.exp-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Ícones Circulares */
.icon-circle {
    width: 80px;
    height: 80px;
    border: 1px solid #d4af37; /* Borda dourada fina */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.icon-circle svg {
    width: 35px;
    height: 35px;
    stroke: var(--navy); /* Ícone azul escuro */
}

.exp-item:hover .icon-circle {
    transform: translateY(-5px); /* Leve flutuação ao passar o mouse */
    background-color: rgba(212, 175, 55, 0.05); /* Fundo dourado sutil */
}

/* Títulos dos Itens */
.exp-item-title {
    font-family: 'AGaramond-Regular', serif;
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 400;
}

/* Descrição dos Itens */
.exp-item-desc {
    font-family: 'AGaramond-Regular', Sans-serif; /* Sans serif para leitura */
    font-size: 1.2rem;
    color: #555; /* Cinza para hierarquia */
    line-height: 1.7;
    max-width: 350px; /* Limita largura para leitura confortável */
    margin: 0 auto;
}

/* ============================================================
   RESPONSIVIDADE SEÇÃO 3
   ============================================================ */
@media (max-width: 992px) {
    .exp-title {
        font-size: 2.8rem;
    }
    
    .exp-grid {
        grid-template-columns: 1fr; /* Empilha em 1 coluna */
        gap: 60px;
    }
    
    .exp-item-desc {
        max-width: 500px; /* Aumenta largura no mobile para preencher melhor */
    }
}

/* ============================================================
   SEÇÃO DE NOTÍCIAS (CAROUSEL)
   ============================================================ */
.news-section {
    position: relative;
    background-color: #f4f4f4; /* Cinza claro estilo Crow */
    padding: 100px 0;
    overflow: hidden;
    color: var(--navy);
}

/* Símbolo de Fundo Transparente */
.news-bg-symbol {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background-image: url('images/simbolo2_doctorrholdings.webp');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.3; /* 70% transparente = 30% opaco */
    pointer-events: none;
    z-index: 0;
    mix-blend-mode: multiply; /* Melhor integração com fundo cinza */
}

.news-header {
    position: relative;
    z-index: 2;
    margin-bottom: 50px;
    padding-left: 5%;
}

.news-controls {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.nav-buttons {
    display: flex;
    gap: 15px;
}

.nav-btn {
    width: 50px;
    height: 50px;
    border: 1px solid var(--navy);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--navy);
}

.nav-btn:hover {
    background: var(--navy);
    color: var(--white);
}

/* TRACK DO CAROUSEL */
.news-carousel-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    /* AQUI ESTÁ A MÁGICA DOS 3 CARDS */
    max-width: 1260px; /* 400px*3 cards + 30px*2 gaps */
    margin: 0 auto; /* Centraliza o bloco na tela */
}

.news-track {
    display: flex;
    gap: 30px; /* Distância entre cards */
    overflow-x: auto;
    scroll-behavior: smooth;
    
    /* Centraliza o conteúdo se houver poucos cards (menos de 3) */
    /* justify-content: center;  <-- Descomente se quiser centralizar quando tiver só 1 ou 2 */
    
    /* Esconder Scrollbar */
    scrollbar-width: none; 
    -ms-overflow-style: none;
    cursor: grab;
    padding: 10px; /* Padding interno para a sombra do hover não cortar */
}

.news-track::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.news-track.active {
    cursor: grabbing;
    scroll-behavior: auto; /* Remove suavidade durante o arrasto manual para ficar responsivo */
}

/* CARD ESTILO */
.news-card {
    flex: 0 0 400px; /* Largura fixa do card */
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(14, 27, 42, 0.1);
}

.card-image {
    height: 250px;
    width: 100%;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: left;
}

.card-category {
    font-family: var(--sans-body);
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: #bfa15f; /* Dourado escuro para leitura no branco */
    text-transform: uppercase;
    margin-bottom: 15px;
    font-weight: 600;
}

.card-title {
    font-family: 'AGaramond-Regular', serif;
    font-size: 1.6rem;
    line-height: 1.2;
    color: var(--navy);
    margin-bottom: 15px;
    font-weight: 500;
}

.card-excerpt {
    font-family: 'AGaramond-Regular', Sans-serif;
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
    flex-grow: 1; /* Empurra o botão para o final */
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--navy);
    font-family: var(--sans-body);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.card-link:hover {
    color: var(--gold);
}

/* Responsividade Mobile */

/* Responsividade: Em telas menores que os 3 cards, ele ocupa 100% e libera o scroll */
@media (max-width: 1300px) {
    .news-carousel-wrapper {
        max-width: 100%;
        padding-left: 5%; /* Sangria lateral para mobile/tablet */
        padding-right: 5%;
    }
}

@media (max-width: 768px) {
    .news-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .news-card {
        flex: 0 0 300px; /* Cards menores no mobile */
    }
    
    .card-title {
        font-size: 1.4rem;
    }
}


/* ============================================================
   RODAPÉ LUXURY (CORRIGIDO E CENTRALIZADO)
   ============================================================ */
.luxury-footer {
    background-color: var(--navy);
    color: var(--white);
    padding: 80px 0 60px;
    font-family: var(--sans-body);
    font-weight: 300;
}

.luxury-footer .container {
    max-width: 1400px; /* Largura para manter proporção */
    margin: 0 auto;
    padding: 0 5%;
}

/* --- 1. TOPO (Logo + Linha) --- */
.footer-top {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 60px;
}

.logo-box img {
    height: 80px; /* Tamanho do logo */
    width: auto;
    display: block;
    filter: brightness(0) invert(1); /* Inverte logo preto para branco */
}

.top-line {
    flex-grow: 1;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2); /* Linha fina sutil */
    margin-top: 15px; /* Alinha com o centro visual do logo */
}

/* --- 2. GRID DO MEIO (3 COLUNAS) --- */
.footer-grid {
    display: grid;
    /* Grid assimétrico: Esquerda menor, Meio Largo, Direita Média */
    grid-template-columns: 1fr 1.5fr 1fr;
    margin-bottom: 80px;
    align-items: start;
}

/* Coluna 1: Contato */
.contact-col {
    font-size: 1.2rem;
    line-height: 2.5;
}
.contact-col a { color: var(--white); text-decoration: none; }
.contact-col .social-icon { margin-top: 20px; color: #d4af37; }

/* Coluna 2: Títulos Grandes (Centralizado no espaço dele) */
.big-links-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.big-links-col a {
    font-family: 'AGaramond-Regular', serif;
    font-size: 1.5rem; /* Fonte Grande */
    color: var(--white);
    text-decoration: none;
    line-height: 1.1;
    transition: color 0.3s;
}
.big-links-col a:hover { color: #d4af37; }

/* Coluna 3: Menu Lista */
.menu-col ul { list-style: none; padding: 0; }
.menu-col li { margin-bottom: 12px; }
.menu-col a {
    font-family: 'AGaramond-Regular', Sans-serif; /* Fonte limpa */
    font-size: 1.2rem;
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}
.menu-col a:hover { color: #d4af37; }

/* --- 3. PARTE INFERIOR (CENTRALIZADA) --- */
.footer-bottom {
    width: 100%;
    text-align: center; /* CENTRALIZA TODO O TEXTO DENTRO */
}

.bottom-line {
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    margin-bottom: 40px;
}

/* Links Legais (Termos, etc) */
.legal-menu {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    display: flex;
    justify-content: center; /* Centraliza horizontalmente */
    flex-wrap: wrap;
    gap: 15px;
}

.legal-menu a { color: var(--white); text-decoration: none; font-weight: 600; }
.legal-menu .sep { color: #d4af37; }

/* Texto Disclaimer (Pequeno e Centralizado) */
.disclaimer-text {
    max-width: 900px; /* Impede que o texto fique muito largo */
    margin: 0 auto;   /* Centraliza o bloco na tela */
    font-size: 0.8rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.5); /* Cinza claro */
}

.disclaimer-text p {
    margin-bottom: 15px;
}

.disclaimer-text .fine-print {
    font-size: 0.8rem; /* Texto ainda menor para a parte final */
    /* opacity: 0.7; */
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr; /* Tudo em 1 coluna no tablet */
        gap: 40px;
        text-align: left; /* Centraliza textos no tablet */
        
    }
    
    .contact-col, .big-links-col, .menu-col {
        align-items: left;

        
        
    }

    .footer-top {
        flex-direction: flex;
        align-items: left;
    }
    
    .top-line { width: 100%; margin-top: 20px; }
    
    .big-links-col a { font-size: 1.5rem; }
}

/* ============================================================
   ESTILOS ESPECÍFICOS: PÁGINAS INTERNAS (SOBRE, ETC) - CENTRALIZADO
   ============================================================ */

/* Utilitários de Centralização */
.container-narrow {
    max-width: 900px; /* Largura máxima mais estreita para o conteúdo */
    margin: 0 auto;
    padding: 0 5%;
}

.text-center { text-align: center; }
.flex-center { display: flex; justify-content: center; align-items: center; }
.h-100 { height: 100%; }

/* --- SUB-HERO CENTRALIZADO --- */
.sub-hero {
    position: relative;
    width: 100%;
    height: 75vh; /* Altura do Banner */
    background-image: url('images/bg_image6.webp'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Removemos flex/center pois não tem texto dentro */
}

.sub-hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(14, 27, 42, 0.7);
    z-index: 1;
}

/* Ajuste do texto do Hero para ficar centralizado */
.sub-hero .hero-text {
    position: relative; /* Remove posicionamento absoluto do index */
    z-index: 2;
    transform: none;
    left: auto; top: auto;
    text-align: center;
    padding: 0;
    border: none;
    font-size: small;
}

/* --- SEÇÃO: NOSSA ORIGEM (Centralizada) --- */
/* .about-intro-section { VOLNEI
    padding: 120px 0;
    background-color: var(--white);
    color: var(--navy);
} */

/* 2. Remove o padding padrão da seção para controlar manualmente */
.about-intro-section.custom-overlap-wrapper {
    padding-top: 0;
    background-color: transparent; /* Fundo transparente para ver o efeito */
    padding-bottom: 100px;
}

/* ################################## */

/* 3. A CAIXA BRANCA DE SOBREPOSIÇÃO */
.intro-container-overlap {
    background-color: #FFFFFF;
    width: 90%;
    max-width: 1300px; /* Largura generosa como na foto */
    margin: 0 auto; /* Centraliza horizontalmente */
    
    /* A MÁGICA: Margem negativa puxa a caixa para cima da imagem */
    margin-top: -120px; 
    
    position: relative;
    z-index: 10; /* Garante que fique POR CIMA da imagem */
    
    padding: 80px 40px; /* Espaçamento interno generoso */
    box-shadow: 0 10px 40px rgba(0,0,0,0.05); /* Sombra sutil para destacar */
}

/* 4. Tipografia Estilo "About Us" da foto */
.giant-serif-title {
    font-family: 'AGaramond-Regular', serif;
    font-size: 2.5rem; /* Tamanho muito grande */
    color: var(--navy);
    line-height: 1;
    margin: 0;
    font-weight: 400;
}

/* Ajuste Responsivo para Mobile */
@media (max-width: 768px) {
    .sub-hero {
        height: 50vh;
    }
    
    .intro-container-overlap {
        width: 95%;
        margin-top: -60px; /* Sobe menos no mobile */
        padding: 40px 20px;
    }

    .giant-serif-title {
        font-size: 3rem;
    }
}
/*  ###################################### */

.big-paragraph-central {
    font-family: 'AGaramond-Regular', serif;
    font-size: 2.5rem;
    line-height: 1.4;
    color: var(--navy);
    margin-bottom: 40px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    /* Removemos a borda lateral dourada para ficar mais limpo */
}

.normal-paragraph {
    font-family: 'AGaramond-Regular', serif;
    font-size: 1.15rem;
    color: #555;
    margin-bottom: 25px;
    line-height: 2.5;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Adicione isso no seu style.css */
.section-desc, .biz-text, .normal-paragraph {
    white-space: pre-line; /* Isso obriga o HTML a respeitar o "Enter" que o cliente deu no painel! */
}

/* --- SEÇÃO: TERRITÓRIO (Mapa Centralizado) --- */
.territory-section {
    background-color: #fcfcfc;
    padding: 100px 0;
}

.territory-title {
    font-family: 'AGaramond-Regular', serif;
    font-size: 2.5rem;
    color: var(--navy);
    line-height: 1.2;
}

.territory-desc {
    font-family: 'AGaramond-Regular', serif;
    font-size: 1.15rem;
    color: #666;
    line-height: 1.6;
}

.territory-image-central img {
    width: 100%;
    max-width: 800px; /* Limita a largura do mapa */
    height: auto;
    margin: 0 auto;
    display: block;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.08));
}

/* --- SEÇÃO: FILOSOFIA (Grid Centralizado) --- */
.philosophy-section {
    background-color: var(--navy);
    color: var(--white);
    padding: 120px 0;
}

/* Grid agora é mais estreito e centralizado */
.philosophy-grid-central {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-top: 60px;
    text-align: center;
}

.philo-item h3 {
    font-family: 'AGaramond-Regular', serif;
    font-size: 1.6rem;
    color: var(--white);
    margin-bottom: 15px;
    font-weight: 400;
}

.philo-num {
    display: block;
    font-family: 'AGaramond-Regular', serif;
    font-size: 0.9rem;
    color: var(--gold);
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 2px;
}

.philo-item p {
    font-family: 'AGaramond-Regular', serif;
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    max-width: 300px; /* Limita a largura do texto de cada pilar */
    margin: 0 auto;
}

/* --- CTA FINAL --- */
.next-step-cta {
    padding: 120px 0;
    background-color: var(--white);
}

.cta-title {
    font-family: 'AGaramond-Regular', sans-serif;
    font-size: 2.5rem;
    color: var(--navy);
}

/* RESPONSIVIDADE PÁGINAS INTERNAS */
@media (max-width: 992px) {
    .sub-hero { height: 45vh; }
    .sub-hero .hero-text h1 { font-size: 3rem; }

    .philosophy-grid-central {
        grid-template-columns: 1fr; /* Empilha os pilares no mobile */
        gap: 60px;
    }
    
    .big-paragraph-central {
        font-size: 1.5rem;
    }
    
    .territory-title, .section-title{
        font-size: 2.5rem;
    }
}

/* ============================================================
   PÁGINA DE CONTATO (ESTILOS ESPECÍFICOS)
   ============================================================ */

/* Banner Diferente para Contato (Imagem de Prédio/Escritório) */
.contact-hero {
    background-image: url('images/bg_image9.webp'); /* Altere para a imagem do prédio */
    background-position: center bottom; /* Foca na base do prédio se for alta */
}

/* Ajuste da Caixa de Contato */
.contact-box {
    max-width: 1000px; /* Um pouco mais larga que o texto do Sobre */
    padding: 60px 80px;
}

/* Estilo do Formulário Clean */
.clean-form {
    margin-top: 50px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 Colunas */
    gap: 20px;
    margin-bottom: 30px;
}

/* Campos que ocupam a linha toda */
.full-width {
    grid-column: span 2;
}

/* Estilo dos Inputs (Baseado na referência) */
.clean-form input, 
.clean-form select, 
.clean-form textarea {
    width: 100%;
    padding: 15px 20px;
    background-color: #f9f9f9; /* Fundo cinza bem claro */
    border: 1px solid #e0e0e0; /* Borda sutil */
    border-radius: 0; /* Quadrado (estilo clássico) ou 4px se preferir */
    font-family: 'AGaramond-Regular', Sans-serif;
    font-size: 1rem;
    color: var(--navy);
    transition: all 0.3s ease;
}

.clean-form input::placeholder,
.clean-form textarea::placeholder {
    color: #999;
}

.clean-form input:focus, 
.clean-form select:focus, 
.clean-form textarea:focus {
    outline: none;
    background-color: #fff;
    border-color: var(--navy); /* Foco azul escuro */
}

/* Botão de Enviar (Dark Navy) */
.form-submit-row {
    text-align: right; /* Botão alinhado à direita como na foto */
}

.btn-submit-dark {
    background-color: var(--navy);
    color: var(--white);
    border: none;
    padding: 15px 40px;
    font-family: 'AGaramond-Regular', serif;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.3s;
}

.btn-submit-dark:hover {
    background-color: #1a2f45; /* Um pouco mais claro no hover */
}

/* Responsividade do Formulário */
@media (max-width: 768px) {
    .contact-box {
        padding: 40px 20px;
        width: 95%;
    }

    .form-grid {
        grid-template-columns: 1fr; /* 1 Coluna no mobile */
    }

    .full-width {
        grid-column: span 1;
    }

    .form-submit-row {
        text-align: center; /* Botão centralizado no mobile */
    }
    
    .btn-submit-dark {
        width: 100%;
    }
}

/* ============================================================
   RESPONSIVIDADE (MOBILE & TABLET)
   ============================================================ */

/* Tablet e Mobile Menu */
@media (max-width: 992px) {
    .menu-grid {
        gap: 30px;
    }
    .main-link {
        font-size: 2.5rem;
    }
    .pillar-text {
        font-size: 2.5rem;
    }
    .pillar-item {
        padding: 0 20px;
    }
}

/* Mobile Específico */
@media (max-width: 768px) {
    /* Menu Grid Mobile */
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .menu-divider {
        display: none;
    }

    .overlay-content {
        height: 100%;
        overflow-y: auto;
        padding: 80px 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .col-label {
        margin-bottom: 15px;
    }

    .main-link {
        font-size: 2.2rem;
    }


    /* Hero Mobile */
    .hero-text {
        left: 5%;
        width: 90%;
        border-left: none;
        padding-left: 0;
        top: 45%;
    }

    .hero-text h1 {
        font-size: 3rem;
        margin-bottom: 20px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 20px;
        margin-top: 30px;
        align-items: flex-start;
    }

    .btn-crow {
        font-size: 1.4rem;
    }

    /* Seção 2 Mobile */
    .business-section {
        padding: 60px 5%;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .connector-tree {
        display: none;
    }

    .business-columns {
        flex-direction: column;
        gap: 50px;
    }

    .biz-col {
        width: 100%;
        padding-top: 0;
        border-bottom: 1px solid #eee;
        padding-bottom: 40px;
    }

    .biz-col:last-child {
        border-bottom: none;
    }

    /* Pilares Mobile */
    .pillars-row {
        flex-direction: column;
        gap: 30px;
        padding-top: 40px;
    }

    .pillar-divider {
        width: 40px;
        height: 1px;
        margin: 10px auto;
    }
    
    .pillar-item {
        padding: 0;
        width: 100%;
    }

    .pillar-text {
        font-size: 2.5rem;
    }
}

/* ============================================================
   ESTILOS ESPECÍFICOS PARA PÁGINA DE ARTIGO/BLOG
   ============================================================ */

/* Cabeçalho do Artigo dentro do overlap */
.article-header {
    margin-bottom: 60px;
}

/* --- GRID PRINCIPAL (SIDEBAR + CONTEÚDO) --- */
.article-body-grid {
    display: grid;
    /* Coluna Lateral (250px) + Espaço + Coluna Principal (Resto) */
    grid-template-columns: 250px 1fr;
    gap: 60px;
    align-items: start; /* Alinha tudo ao topo */
    text-align: left; /* Garante que o texto do artigo seja alinhado à esquerda */
}

/* --- SIDEBAR (DOCUMENTOS) --- */
.article-sidebar {
    position: static !important; /* Força ser estático (padrão) */
    margin-bottom: 40px; /* Dá um espaço embaixo antes do texto subir se for mobile */
    border-top: 1px solid #d4af37;
    padding-top: 20px;
    height: auto !important; /* Garante que não tenha altura fixa */
}

.sidebar-label {
    font-family: var(--sans-body);
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: #999;
    text-transform: uppercase;
    display: block;
    margin-bottom: 20px;
    font-weight: 600;
}

.files-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Item de Download */
.download-item {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s;
}

.download-item:hover {
    transform: translateX(5px);
}

.icon-box {
    width: 40px;
    height: 40px;
    background-color: #f4f4f4;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    color: var(--navy);
    transition: background 0.3s, color 0.3s;
}

.download-item:hover .icon-box {
    background-color: var(--navy);
    color: var(--white);
}

.file-info {
    display: flex;
    flex-direction: column;
}

.file-name {
    font-family: 'AGaramond-Regular', serif;
    font-size: 1rem;
    color: var(--navy);
    line-height: 1.2;
}

.file-type {
    font-family: var(--sans-body);
    font-size: 0.7rem;
    color: #999;
    margin-top: 2px;
}

/* --- COLUNA DE CONTEÚDO (TEXTO) --- */
.article-content {
    font-family: 'AGaramond-Regular', serif;
    font-size: 1.15rem;
    color: #444;
    line-height: 1.8;
}

.article-content p {
    margin-bottom: 25px;
}

.article-content h3 {
    font-family: 'AGaramond-Regular', serif;
    font-size: 1.8rem;
    color: var(--navy);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 400;
}

/* Imagens dentro do artigo */
.article-image {
    margin: 40px 0;
    width: 100%;
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 2px;
}

.article-image figcaption {
    font-family: var(--sans-body);
    font-size: 0.8rem;
    color: #888;
    margin-top: 10px;
    text-align: center;
    font-style: italic;
}

/* --- RESPONSIVIDADE ARTIGO --- */
@media (max-width: 992px) {
    .article-body-grid {
        grid-template-columns: 1fr; /* Vira uma coluna só */
        gap: 40px;
    }

    .article-sidebar {
        position: static; /* Remove o sticky no mobile */
        border-top: none;
        border-bottom: 1px solid #eee;
        padding-bottom: 30px;
        margin-bottom: 10px;
    }
    
    /* No mobile, talvez queira os arquivos abaixo do texto. 
       Se quiser mudar a ordem, use order: 2 no sidebar. 
       Por padrão deixei em cima para acesso rápido. */
}