/* =========================================================================
   VARIÁVEIS DE SISTEMA (Mude as cores aqui e mude em todo o site!)
   ========================================================================= */
:root {
    --bg-cream: #F4EFE6;         /* Tom de marfim/creme aconchegante */
    --text-black: #161513;       /* Preto profundo para contraste perfeito */
    --accent-orange: #e97828;  
    
    --border-light: rgba(22, 21, 19, 0.08); /* Linhas de grelha ultra discretas */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    --font-serif: 'yeseva one', serif;
    --font-sans: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

/* RESETS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-cream);
    color: var(--text-black);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
}

/* =========================================================================
   HEADER & NAVBAR
   ========================================================================= */
.header-container {
    width: 100%;
}

.navbar {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 4rem;
}

.brand-logo {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-black);
    text-decoration: none;
}

.brand-logo span {
    color: var(--accent-orange);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-black);
    font-weight: 500;
    font-size: 0.95rem;
    transition: opacity 0.2s;
}

.btn-diagnostico {
    background-color: var(--text-black);
    color: var(--bg-cream);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sub-header {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 1rem 4rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: rgba(22, 21, 19, 0.5);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

/* =========================================================================
   NOVA FAIXA DE MANIFESTO LARANJA (LOGO ABAIXO DO NAV)
   ========================================================================= */
.manifesto-banner {
    background-color: var(--accent-orange);
    color: var(--text-black);
    width: 100%;
    padding: 1.5rem 4rem;
}

.manifesto-content {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.manifesto-title {
    font-weight: 950;
    font-size: 1rem;
    letter-spacing: -0.02em;
}

.manifesto-text {
    font-weight: 500;
    font-size: 1rem;
    opacity: 0.9;
}

.manifesto-date {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
}

/* =========================================================================
   HERO SPLIT LAYOUT
   ========================================================================= */
.hero-split {
    display: flex;
    min-height: calc(100vh - 180px);
    width: 100%;
    border-bottom: 1px solid var(--border-light);
}

.hero-left {
    flex: 1.25;
    padding: 6rem 4rem 2rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-content {
    max-width: 650px;
}

.main-title {
    font-family: 'Yeseva One', cursive;
    font-size: 6.2rem;
    line-height: 0.85;
    letter-spacing: -0.04em;
    font-weight: 900;
    margin-bottom: 2rem;
}

.italic-orange {
    font-style: italic;
    color: var(--accent-orange);
}

.hero-description {
    font-size: 1.15rem;
    line-height: 1.6;
    color: rgba(22, 21, 19, 0.7);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.btn-solid-dark {
    background-color: var(--text-black);
    color: var(--bg-cream);
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
}

.btn-outline-dark {
    border: 1px solid var(--border-light);
    color: var(--text-black);
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
}

/* Métricas na base */
.metrics-row {
    display: flex;
    align-items: center;
    border-top: 1px solid var(--border-light);
    padding-top: 2rem;
    gap: 3rem;
}

.metric-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent-orange);
    line-height: 1;
}

.metric-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    color: rgba(22, 21, 19, 0.5);
    margin-top: 0.5rem;
    display: block;
}

.metric-divider {
    width: 1px;
    height: 40px;
    background-color: var(--border-light);
}

/* Coluna Direita (Escuro) */
.hero-right {
    flex: 0.85;
    background-color: #0F0E0D;
    color: #FFFFFF;
    padding: 4rem;
    position: relative;
    overflow: hidden;
}

.hero-right-bg {
    position: absolute;
    inset: 0;
    background-image: url('escritorio-tech.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.08;
    z-index: 1;
}

.right-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.right-kicker {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
    display: block;
    margin-bottom: 2rem;
}

.projects-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.project-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 1.5rem;
}

.project-item:last-child {
    border-bottom: none;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
}

.proj-number { color: var(--accent-orange); font-weight: 700; }
.proj-year { color: rgba(255, 255, 255, 0.3); }
.proj-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.2rem; }
.proj-category { font-size: 0.85rem; color: rgba(255, 255, 255, 0.4); }

/* Score */
.lighthouse-container {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
}

.lighthouse-kicker {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    display: block;
    margin-bottom: 0.5rem;
}

.score-display {
    display: flex;
    align-items: baseline;
    line-height: 1;
}

.score-main { font-size: 4.5rem; font-weight: 900; color: var(--accent-orange); }
.score-sub { font-size: 2.2rem; color: rgba(255, 255, 255, 0.2); }
.score-label { font-size: 0.8rem; color: rgba(255, 255, 255, 0.4); margin-top: 0.25rem; }

/* =========================================================================
   AS GRELHAS SEQUENCIAIS (ESTRUTURA GERAL DE SEÇÃO)
   ========================================================================= */
.section-row {
    display: flex;
    max-width: 100%;
    border-bottom: 1px solid var(--border-light);
    background-color: var(--bg-cream);
}

.section-left-col {
    flex: 0.35;
    padding: 6rem 4rem;
    border-right: 1px solid var(--border-light);
}

.section-right-col {
    flex: 0.65;
    padding: 6rem 4rem;
}

.section-num {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: var(--accent-orange);
    display: block;
    margin-bottom: 1.5rem;
}

.section-heading-serif {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.03em;
}

/* =========================================================================
   01 — SERVIÇOS
   ========================================================================= */
.list-services {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
}

.list-item {
    display: flex;
    gap: 3rem;
    border-bottom: 1px solid rgba(22, 21, 19, 0.05);
    padding-bottom: 3.5rem;
}

.list-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.item-index {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-orange);
}

.item-title {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.item-desc {
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(22, 21, 19, 0.7);
    margin-bottom: 1.5rem;
    max-width: 600px;
}

.item-tags {
    display: flex;
    gap: 0.5rem;
}

.tech-tag {
    background-color: rgba(22, 21, 19, 0.04);
    border: 1px solid rgba(22, 21, 19, 0.06);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    color: rgba(22, 21, 19, 0.7);
}

/* =========================================================================
   02 — TECNOLOGIA (TEMA ESCURO)
   ========================================================================= */

.engineering-transition-banner {
    width: 100%;
    min-height: 280px;
    background-color: #0F0E0D; /* Cor de fundo unificada */
    background-image: url('imagens/fundo\ codigo.png'); 
    background-size: cover;
    background-position: center top;
    position: relative;
    display: flex;
    align-items: center;
    padding: 4rem 8rem;
    overflow: hidden;
}

/* AJUSTADO: Gradiente agora vai para BAIXO (to bottom) para fundir as seções */
.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15, 14, 13, 0.4) 0%, #0F0E0D 95%);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.banner-kicker {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--accent-orange);
    display: block;
    margin-bottom: 1rem;
}

.banner-title {
    font-family: var(--font-serif);
    font-size: 2.2rem; /* Aumentado levemente para combinar com o print */
    font-weight: 900;
    line-height: 1.2;
    color: #FFFFFF;
    letter-spacing: -0.02em;
}

.accent-orange-text {
    color: var(--accent-orange);
    font-style: italic;
}

/* --- SEÇÃO DOS TRÊS PILARES --- */
.pillars-section {
    background-color: #0F0E0D; /* MODIFICADO: Mesma cor do banner para não ver divisão */
    padding: 60px 0 100px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Linha superior com Título e Descrição lateral */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* MODIFICADO: Alinha os textos pelo topo, como no print */
    border-bottom: 1px solid rgba(255, 255, 255, 0.08); /* Suavizado igual ao print */
    padding-bottom: 40px;
    margin-bottom: 50px;
}

.subtitle {
    font-size: 11px;
    letter-spacing: 2px;
    color: #d97736;
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

.section-header h2 {
    font-family: 'Lora', serif;
    font-size: 2.5rem;
    color: #f4ebd9;
    font-weight: bold;
    margin-top: 0; /* Evita desalinhamento nativo do H2 */
}

.header-right p {
    font-size: 0.9rem;
    color: #a6a19a;
    max-width: 400px;
    line-height: 1.5;  
    margin-top: 65px;
}

/* Grid/Layout Principal inferior */
.pillars-content {
    display: flex;
    justify-content: space-between;
    gap: 50px;
}

.pillars-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Estilização de cada item da lista */
.pillar-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.pillar-icon {
    background-color: rgba(15, 14, 13, 0.6); /* MODIFICADO: Fundo escuro igual ao print */
    border: 1px solid rgba(217, 119, 54, 0.3);
    color: #d97736;
    width: 42px; /* Ajustado para bater com o tamanho visual */
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px; /* Bordas levemente mais retas */
    font-size: 1.1rem;
    flex-shrink: 0;
}

.pillar-text h3 {
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    color: #f4ebd9;
    margin-top: 0; /* Alinha o topo do texto com o topo do ícone quadrado */
    margin-bottom: 8px;
}

.pillar-text p {
    font-size: 0.95rem;
    color: #8c8780;
    line-height: 1.6;
}

/* Lado Direito: Bloco da Imagem */
.pillars-image-container {
    flex: 1;
    max-width: 450px;
    display: flex;
    flex-direction: column;
}

.pillars-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    filter: grayscale(20%) contrast(105%); /* Suavizado o filtro */
    opacity: 0.85;
}

.image-caption {
    font-size: 11px;
    color: #d97736;
    letter-spacing: 1px;
    margin-top: 15px;
    font-weight: bold;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 768px) {
    .engineering-transition-banner {
        padding: 4rem 2rem;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .pillars-content {
        flex-direction: column;
    }

    .pillars-image-container {
        max-width: 100%;
        margin-top: 30px;
    }
}

/* =========================================================================
   03 — CASES DE SUCESSO (TABELA)
   ========================================================================= */

   /* 1. Alinha as duas grandes colunas (Esquerda: "Casos reais" | Direita: Tabela de projetos) */
.section-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 80px; /* Aumenta o espaço horizontal entre o título esquerdo e os projetos */
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    width: 100%;
    box-sizing: border-box;
}

/* 2. Coluna da Esquerda (Título) */
/* 1. Modificado: Alinha tudo à esquerda e remove a distância forçada antiga */
/* 1. ESTRUTURA PRINCIPAL: Junta as duas colunas e alinha à esquerda */
.section-row {
    display: flex;
    justify-content: flex-start; 
    align-items: flex-start;
    gap: 0; /* Controlaremos o espaço diretamente nas colunas internas */
    max-width: 1440px; 
    margin: 0 auto;
    padding: 80px 4rem; 
    width: 100%;
    box-sizing: border-box;
}

/* 2. COLUNA DA ESQUERDA: Mantém o título no lugar sem ocupar espaço extra */
.section-left-col {
    flex: 0 0 240px; /* Define um tamanho base ideal para a área do título */
    padding-right: 20px;
}

/* 3. COLUNA DA DIREITA: Agora inicia imediatamente ao lado do título */
.section-right-col {
    flex: 1; 
    min-width: 0; 
    border-left: 1px solid rgba(0, 0, 0, 0.08); /* Linha divisória vertical fina */
    padding-left: 48px; /* O conteúdo começa com um respiro elegante colado na linha */
}

.cases-table {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* 4. A MÁGICA DO ALINHAMENTO: Mudando de Flex para Grid na linha */
.case-row {
    display: grid;
    /* Divide a linha exatamente em 4 colunas proporcionais usando frações (fr) */
    grid-template-columns: 1.2fr 1.5fr 3fr 0.8fr; 
    align-items: center; 
    gap: 32px; 
    padding: 50px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    width: 100%;
}

.case-row:first-child { padding-top: 0; }
.case-row:last-child { border-bottom: none; padding-bottom: 0; }

/* Célula do Título */
.case-meta-cell {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.case-num-small {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--accent-orange);
    font-weight: 700;
}

.case-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: rgba(22, 21, 19, 0.4);
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.25rem;
}

.case-row-title {
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
}

/* Célula da Descrição */
.case-desc-cell p {
    font-size: 0.95rem;
    color: rgba(22, 21, 19, 0.7);
    line-height: 1.5;
    margin: 0;
}

/* 5. A IMAGEM GANHA O MÁXIMO DE ESPAÇO: Sem travas rígidas de largura máxima */
.case-img-cell {
    width: 100%;       /* Ocupa 100% dos '3fr' do Grid */
    height: 230px;     /* Altura imponente para valorizar os mockups */
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.04);
}

.case-project-img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.case-row:hover .case-project-img {
    transform: scale(1.05);
}

/* Célula do Score Lighthouse */
.case-score-cell {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-end; /* Puxa a nota sutilmente para a extremidade direita */
}

.case-score-cell .score-num {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--accent-orange);
    line-height: 1;
}

.case-score-cell .score-lbl {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: rgba(22, 21, 19, 0.4);
    line-height: 1.2;
}

/* Container da imagem ajustado para o espaço da tabela */
.case-img-cell {
    flex: 2.5;
    min-width: 280px;
    max-width: 360px;
    height: 180px;
    overflow: hidden;
    border-radius: 6px;
}

/* Estilização interna da imagem do projeto */
.case-project-img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Efeito sutil de interação: quando passa o mouse na linha do projeto, a imagem ganha foco */
.case-row:hover .case-project-img {
    transform: scale(1.08);
}


/* =========================================================================
   04 — COMO TRABALHAMOS (LARANJA COMPACTO)
   ========================================================================= */
.orange-theme {
    background-color: var(--accent-orange);
    color: var(--text-black);
}

.orange-theme .section-left-col {
    border-right-color: rgba(22, 21, 19, 0.15);
}

.orange-theme .section-num {
    color: var(--text-black);
    opacity: 0.6;
}

.metodologia-split {
    display: flex;
    gap: 4rem;
}

.section-left-col {
    flex: 0.25;
    padding: 2rem 5rem;
    border-right: 1px solid rgba(22, 21, 19, 0.15);
}

.section-heading-serif {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.metodologia-steps {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step-card {
    display: flex;
    gap: 2rem;
    border-bottom: 1px solid rgba(22, 21, 19, 0.1);
    padding-bottom: 2rem;
}

.step-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.step-num {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-black);
    opacity: 0.35;
}

.step-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.step-desc {
    opacity: 0.85;
    line-height: 1.5;
    font-size: 0.95rem;
}

.metodologia-visual {
    flex: 0.8;
}

.metodologia-image-placeholder {
    height: 80%;
    min-height: 320px;
    background-color: rgba(22, 21, 19, 0.05);
    background-image: url('team-work.jpg'); /* Link real */
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    position: relative;
}

.img-caption {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    color: rgba(22, 21, 19, 0.5);
}

img.metodologia-image {
    width: 130%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}
/* =========================================================================
   05 — FAQ (ACCORDION PREMIUM)
   ========================================================================= */
.accordion-group {
    display: flex;
    flex-direction: column;
}

.accordion-item {
    border-bottom: 1px solid var(--border-light);
    padding: 1.5rem 0;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    font-weight: 750;
    cursor: pointer;
    user-select: none;
    padding: 0.5rem 0;
}

.accordion-header::-webkit-details-marker {
    display: none;
}

.accordion-arrow {
    width: 12px;
    height: 12px;
    border-right: 2px solid var(--text-black);
    border-bottom: 2px solid var(--text-black);
    transform: rotate(45deg);
    transition: var(--transition-smooth);
}

.accordion-item[open] .accordion-arrow {
    transform: rotate(-135deg);
}

.accordion-content {
    padding-top: 1rem;
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(22, 21, 19, 0.6);
    max-width: 650px;
}

/* =========================================================================
   CONTACT HERO (TEMA ESCURO)
   ========================================================================= */
.contact-hero-dark {
    background-color: #0f0e0d;    
    background-image: radial-gradient(
        ellipse 90% 80% at 50% 95%, 
        rgba(224, 121, 47, 0.192) 0%, 
        rgba(224, 121, 47, 0.068) 50%, 
        transparent 100%
    );
    
    color: #FFFFFF;
    padding: 8rem 4rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-num {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-orange);
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 2rem;
}

.contact-main-title {
    font-family: var(--font-serif);
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 2rem;
}

.contact-sub {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 3rem;
}

.contact-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.btn-whatsapp-orange {
    background-color: var(--accent-orange);
    color: #0F0E0D;
    padding: 1.2rem 3rem;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 4px;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.btn-whatsapp-orange:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(224, 122, 47, 0.2);
}

.contact-badge {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

/* =========================================================================
   RODAPÉ (FOOTER)
   ========================================================================= */
.footer-layout {
    background-color: var(--bg-cream);
    padding: 3rem 4rem;
    border-top: 1px solid var(--border-light);
}

.footer-content {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 900;
    margin-right: 1.5rem;
}

.footer-logo span {
    color: var(--accent-orange);
}

.footer-sub {
    font-family: var(--font-mono);
    color: rgba(22, 21, 19, 0.4);
    letter-spacing: 0.05em;
}

.footer-middle {
    display: flex;
    gap: 1.5rem;
}

.footer-client {
    font-weight: 600;
    color: rgba(22, 21, 19, 0.7);
}

.footer-right {
    font-family: var(--font-sans);
    color: rgba(22, 21, 19, 0.4);
    margin-top: 5%;
}

/* =========================================================================
   RESPONSIVIDADE COMPLETA PARA DISPOSITIVOS MÓVEIS (CELULARES)
   ========================================================================= */
@media (max-width: 768px) {
    
    /* --- AJUSTES GERAIS DE ESPAÇAMENTO --- */
    .navbar, .sub-header, .manifesto-banner, .footer-layout {
        padding: 1.5rem 1.5rem !important;
    }
    
    .section-left-col, .section-right-col, .hero-left, .hero-right {
        padding: 3rem 1.5rem !important;
    }

    /* --- HEADER & NAVBAR --- */
    .navbar {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }

    .sub-header {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    /* --- HERO SPLIT LAYOUT --- */
    .hero-split {
        flex-direction: column;
        min-height: auto;
    }

    .main-title {
        font-size: 3.2rem !important; /* Evita que o título gigante ultrapasse as bordas */
        line-height: 0.95;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-solid-dark, .btn-outline-dark {
        text-align: center;
        width: 100%;
    }

    .metrics-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .metric-divider {
        display: none; /* Remove a linha vertical no mobile */
    }

    /* --- SEÇÃO DOS TRÊS PILARES --- */
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 30px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .header-right p {
        margin-top: 0; /* Corrige o espaçamento vertical artificial */
    }

    .pillars-content {
        flex-direction: column;
        gap: 30px;
    }

    .pillars-image-container {
        max-width: 100%;
    }

    .pillars-image {
        height: 250px; /* Reduz a altura para telas menores */
    }

    /* --- 03 — CASES DE SUCESSO (TABELA TRANSFORMADA EM CARDS) --- */
    .section-row {
        flex-direction: column;
        padding: 3rem 1.5rem !important;
    }

    .section-right-col {
        border-left: none !important; /* Remove a linha lateral vertical */
        padding-left: 0 !important;
    }

    .case-row {
        /* Desfaz o grid de 4 colunas horizontais e empilha tudo verticalmente */
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 2.5rem 0;
    }

    .case-img-cell {
        max-width: 100%;
        width: 100%;
        height: 200px;
    }

    .case-score-cell {
        justify-content: flex-start; /* Alinha a nota do Lighthouse à esquerda no mobile */
        margin-top: 0.5rem;
    }

    /* --- 04 — METODOLOGIA (PASSO A PASSO) --- */
    .metodologia-split {
        flex-direction: column;
        gap: 2.5rem;
    }

    .step-card {
        flex-direction: column;
        gap: 1rem;
        padding-bottom: 1.5rem;
    }

    .metodologia-image-placeholder {
        min-height: 250px;
    }

    img.metodologia-image {
        width: 100%; /* Corrige o estouro de 150% do container */
    }

    /* --- CONTACT HERO --- */
    .contact-main-title {
        font-size: 2.5rem !important;
    }

    .btn-whatsapp-orange {
        width: 100%;
        text-align: center;
        padding: 1.2rem 1.5rem;
    }
}