/* ============================================================
   STYLE.CSS v4 — Ana Paula Monteiro Leite | Psicóloga
   CSS puro · Mobile-First · Sem frameworks

   LOGO NO NAVBAR — COMO FUNCIONA:
   A logo (logo-transparente-02.png) é a versão colorida horizontal.
   - Sobre o hero (navbar transparente): CSS aplica filter para branca
   - Após scroll (navbar--solid): filter é removido → cor original
   - Nunca haverá fundo preto → filter é apenas brilho + inversão.
============================================================ */

/* ============================================================
   0. VARIÁVEIS
============================================================ */
:root {
    --petroleo:        #42686D;
    --petroleo-deep:   #2E4B4F;
    --petroleo-light:  #5C8C92;
    --petroleo-pale:   #D6E8EA;
    --petroleo-bg:     #EEF6F7;

    --white:    #FFFFFF;
    --soft-bg:  #F2F6F5;
    --text:     #3D4849;
    --muted:    #6D7E7F;
    --border:   #DDE8E8;

    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body:    'Nunito', 'Segoe UI', sans-serif;

    --t-xs:   0.75rem;
    --t-sm:   0.875rem;
    --t-base: 1rem;
    --t-md:   1.1rem;
    --t-lg:   1.25rem;
    --t-xl:   1.5rem;
    --t-2xl:  2rem;
    --t-3xl:  2.5rem;
    --t-4xl:  3.2rem;

    --max-w:    1140px;
    --px:       1.5rem;
    --sec-py:   60px;   /* padding vertical das seções — reduzido vs v3 */

    --r-sm:   8px;
    --r-md:   16px;
    --r-lg:   24px;
    --r-xl:   40px;
    --r-full: 9999px;

    --shadow-sm: 0 2px 12px rgba(66,104,109,0.07);
    --shadow-md: 0 8px 30px rgba(66,104,109,0.12);
    --shadow-lg: 0 20px 60px rgba(66,104,109,0.16);

    --transition: 0.28s ease;
}

/* ============================================================
   1. RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); color: var(--text); line-height: 1.7; overflow-x: hidden; background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--petroleo); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--petroleo-deep); }
ul { list-style: none; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--petroleo); outline-offset: 3px; border-radius: 3px; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ============================================================
   2. UTILITÁRIOS
============================================================ */
.container { width: 100%; max-width: var(--max-w); margin-inline: auto; padding-inline: var(--px); }
.section-pad { padding-block: var(--sec-py); }
.bg-soft { background-color: var(--soft-bg); }
.text-center { text-align: center; }

.eyebrow {
    display: block;
    font-size: var(--t-xs);
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--petroleo);
    margin-bottom: 0.5rem;
}
.eyebrow--light { color: var(--petroleo-pale); }

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.5vw, var(--t-3xl));
    font-weight: 700;
    color: var(--petroleo-deep);
    line-height: 1.15;
    margin-bottom: 0.85rem;
}
.section-sub {
    font-size: var(--t-md);
    color: var(--muted);
    max-width: 680px;
    margin-inline: auto;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

/* BOTÕES */
.btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.85rem 1.9rem;
    border-radius: var(--r-full);
    font-family: var(--font-body); font-size: var(--t-sm); font-weight: 700;
    letter-spacing: 0.04em; cursor: pointer; border: 2px solid transparent;
    transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-hero { background: var(--white); color: var(--petroleo-deep); border-color: var(--white); }
.btn-hero:hover { background: var(--petroleo-pale); border-color: var(--petroleo-pale); color: var(--petroleo-deep); }
.btn-lg { padding: 1.05rem 2.4rem; font-size: var(--t-md); }

.btn-primary { background: var(--petroleo); color: var(--white); border-color: var(--petroleo); }
.btn-primary:hover { background: var(--petroleo-deep); border-color: var(--petroleo-deep); color: var(--white); }

.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.55); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: var(--white); color: var(--white); }

/* ============================================================
   3. WHATSAPP FAB
============================================================ */
.whatsapp-fab {
    position: fixed; bottom: 26px; right: 26px; z-index: 1000;
    width: 60px; height: 60px; border-radius: 50%;
    background: #25D366;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 22px rgba(37,211,102,0.38);
    transition: transform var(--transition), box-shadow var(--transition);
    animation: pulse-wa 3s ease-in-out infinite;
}
.whatsapp-fab:hover { transform: scale(1.1) translateY(-2px); box-shadow: 0 10px 30px rgba(37,211,102,0.58); animation: none; }
@keyframes pulse-wa {
    0%,100% { box-shadow: 0 6px 22px rgba(37,211,102,0.38); }
    50%      { box-shadow: 0 6px 32px rgba(37,211,102,0.62); }
}

/* ============================================================
   4. NAVBAR
   ─────────────────────────────────────────────────────────────
   SOLUÇÃO DEFINITIVA DA LOGO:
   • Estado inicial (sobre hero): fundo transparente.
     A logo usa filter: brightness(0) invert(1) → fica branca.
     Isso funciona com QUALQUER arquivo de logo colorida.
   • Após scroll (classe .navbar--solid): fundo branco real.
     filter é resetado para none → logo aparece na cor original.
   • NUNCA há fundo preto — o background é sempre branco ou transparente.
============================================================ */
.navbar {
    position: fixed;
    inset-block-start: 0;
    inset-inline: 0;
    z-index: 900;
    background: transparent;
    transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
.navbar--solid {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
}

.nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding-block: 1rem;
}

/* Logo: branca sobre o hero, colorida após scroll */
.nav-logo-img {
    height: 44px;
    width: auto;
    object-fit: contain;
    /* Sobre hero (transparente): torna branca qualquer logo colorida */
    filter: brightness(0) invert(1);
    transition: filter var(--transition), height var(--transition);
    display: block;
}
/* Após scroll: remove o filter → logo na cor original (#42686D) */
.navbar--solid .nav-logo-img {
    filter: none;
    height: 40px;
}

/* Links do navbar */
.nav-links { display: none; align-items: center; gap: 1.8rem; }

.nav-links a {
    font-size: var(--t-sm); font-weight: 700;
    color: rgba(255,255,255,0.93);
    transition: color var(--transition);
    letter-spacing: 0.02em;
    padding-block: 0.25rem;
    border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: var(--white); border-bottom-color: rgba(255,255,255,0.5); outline: none; }
.nav-link--ativo { border-bottom-color: rgba(255,255,255,0.7) !important; }

/* Links após scroll: escuros */
.navbar--solid .nav-links a { color: var(--text); }
.navbar--solid .nav-links a:hover { color: var(--petroleo); border-bottom-color: var(--petroleo); }
.navbar--solid .nav-link--ativo { color: var(--petroleo); border-bottom-color: var(--petroleo); }

/* Botão CTA no navbar */
.nav-cta {
    background: var(--white) !important;
    color: var(--petroleo-deep) !important;
    padding: 0.5rem 1.35rem;
    border-radius: var(--r-full);
    font-weight: 700;
    border-bottom: none !important;
    transition: background var(--transition), color var(--transition), box-shadow var(--transition) !important;
}
.nav-cta:hover { box-shadow: var(--shadow-sm); transform: none !important; }
.navbar--solid .nav-cta {
    background: var(--petroleo) !important;
    color: var(--white) !important;
}
.navbar--solid .nav-cta:hover { background: var(--petroleo-deep) !important; }

/* Hamburguer */
.nav-hamburger {
    display: flex; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-hamburger span {
    display: block; width: 24px; height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: background var(--transition), transform var(--transition), opacity var(--transition);
}
.navbar--solid .nav-hamburger span { background: var(--text); }

.nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Menu mobile aberto */
.nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; inset: 0;
    background: var(--white);
    justify-content: center; align-items: center;
    gap: 2.25rem; z-index: 899;
}
.nav-links.open a { color: var(--text) !important; font-size: var(--t-xl); border-bottom: none !important; }
.nav-links.open .nav-cta {
    background: var(--petroleo) !important;
    color: var(--white) !important;
    padding: 0.75rem 2rem;
    font-size: var(--t-md);
}

/* Botão X para fechar o menu mobile — aparece somente quando o menu está aberto */
.nav-close {
    display: none;              /* escondido por padrão */
    position: fixed;
    top: 1.1rem;
    right: 1.25rem;
    z-index: 1000;              /* acima do overlay */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--text);
    line-height: 1;
}
.nav-close svg { display: block; }
.nav-links.open ~ .nav-close,   /* quando menu aberto via CSS sibling */
.nav-close.visible {            /* controlado pelo JS */
    display: block;
}

@media (min-width: 768px) {
    .nav-links { display: flex !important; }
    .nav-hamburger { display: none; }
}

/* ============================================================
   5. HERO
   Foto como background total. Overlay petróleo suave.
   background-position escolhido para mostrar rosto + torso.
============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center; overflow: hidden;
    /*
      FOTO DE FUNDO DO HERO
      Usa a foto-topo.jpg: Ana Paula de pé junto à janela, plantas e livros.
      background-position: center 20% — mostra rosto e ambiente sem cortar.
      Para trocar a foto: altere o caminho abaixo.
    */
    background-image: url('./imagens/foto-topo2.jpeg');
    background-size: cover;
    background-position: center 20%;
    background-repeat: no-repeat;
    background-attachment: fixed; /* parallax suave */
}

/* Overlay petróleo: garante legibilidade sem apagar a foto */
.hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(
        160deg,
        rgba(30, 50, 52, 0.80) 0%,
        rgba(42, 68, 72, 0.75) 50%,
        rgba(66, 104, 109, 0.60) 100%
    );
}

.hero-content {
    position: relative; z-index: 2;
    display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
    padding-top: 5rem; padding-bottom: 4.5rem;
}

/* LOGO DO HERO — sempre branca via filter */
.hero-logo {
    width: 200px; height: auto; object-fit: contain;
    filter: brightness(0) invert(1); /* branco total, sem fundo */
    margin-bottom: 0.5rem;
    display: block;
}

.hero-nome {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5.5vw, var(--t-4xl));
    font-weight: 700; color: var(--white); line-height: 1.08;
}
.hero-crp {
    font-size: var(--t-xs); color: rgba(255,255,255,0.72);
    letter-spacing: 0.14em; margin-block: 0.1rem;
}
.hero-divider {
    width: 40px; height: 1px; background: rgba(255,255,255,0.38); margin-block: 0.2rem;
}
.hero-frase {
    font-family: var(--font-display); font-style: italic;
    font-size: clamp(1rem, 2.2vw, var(--t-lg));
    color: var(--white); max-width: 560px; line-height: 1.65;
}
.hero-badges {
    display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-block: 0.4rem;
}
.hero-badges span {
    background: rgba(255,255,255,0.14); backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.28); color: var(--white);
    font-size: var(--t-xs); font-weight: 700;
    padding: 0.3rem 0.85rem; border-radius: var(--r-full); letter-spacing: 0.04em;
}
.hero-wave {
    position: absolute; bottom: -2px; left: 0; width: 100%; line-height: 0; z-index: 3;
}
.hero-wave svg { display: block; width: 100%; }

/* Mobile: desativa parallax (bug em iOS) */
@media (max-width: 767px) {
    .hero { background-attachment: scroll; min-height: 100svh; }
}

/* ============================================================
   6. BLOCO FILOSOFIA
============================================================ */
.filosofia {
    background: var(--petroleo);
    padding-block: 4rem;
    position: relative; overflow: hidden; text-align: center;
}
.filosofia-box { max-width: 760px; margin-inline: auto; padding-inline: var(--px); position: relative; z-index: 2; }
.filosofia-text {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.5vw, var(--t-2xl));
    font-style: italic; color: rgba(255,255,255,0.92); line-height: 1.6;
}
.filosofia-text span {
    display: block; margin-top: 0.9rem;
    color: var(--white); font-style: normal; font-weight: 700;
}

/* Grupo de folhas SVG — versão mais densa e natural */
.deco-leaves {
    position: absolute; top: 0; bottom: 0;
    width: 160px; pointer-events: none; z-index: 1;
    display: flex; align-items: center;
}
.deco-leaves svg { width: 100%; height: 100%; max-height: 280px; }
.deco-leaves--left  { left: -20px; }
.deco-leaves--right { right: -20px; transform: scaleX(-1); }

@media (max-width: 600px) { .deco-leaves { display: none; } }

/* ============================================================
   7. SOBRE
============================================================ */
.sobre-grid {
    display: grid; grid-template-columns: 1fr; gap: 2.75rem; align-items: center;
}

/* Portal arredondado (igual ao código original do cliente) */
.sobre-media { position: relative; }
.image-portal {
    width: 100%; max-width: 360px; aspect-ratio: 4/5;
    border-radius: 200px 200px 28px 28px;
    overflow: hidden; box-shadow: var(--shadow-lg); margin-inline: auto;
}
.image-portal img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: top center;
    transition: transform 0.5s ease;
}
.image-portal:hover img { transform: scale(1.03); }

/* Tag "18 anos" — número correto */
.exp-tag {
    display: flex; align-items: center; gap: 0.7rem;
    background: var(--petroleo); color: var(--white);
    padding: 0.7rem 1.4rem; border-radius: var(--r-md);
    max-width: 240px; margin: -1rem auto 0;
    position: relative; box-shadow: var(--shadow-md);
}
.exp-num {
    font-family: var(--font-display);
    font-size: var(--t-3xl); font-weight: 700; line-height: 1;
    /* Garante que "18" aparece como número, não símbolo romano */
    font-variant-numeric: tabular-nums;
}
.exp-label {
    font-size: var(--t-xs); font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.06em; line-height: 1.4; opacity: 0.9;
}

.sobre-bio p { font-size: var(--t-md); color: var(--muted); line-height: 1.8; margin-bottom: 1rem; }

/* Conquistas — números centralizados e bem espaçados */
.sobre-conquistas {
    display: flex; gap: 0.75rem; flex-wrap: wrap;
    padding: 1.1rem; background: var(--petroleo-bg);
    border-radius: var(--r-lg); margin-block: 1.25rem;
}
.conquista {
    display: flex; flex-direction: column; align-items: center;
    gap: 0.2rem; flex: 1; min-width: 80px; text-align: center;
    padding: 0.5rem;
}
.c-num {
    font-family: var(--font-display);
    font-size: var(--t-2xl); font-weight: 700; color: var(--petroleo);
    line-height: 1; font-variant-numeric: tabular-nums;
}
.c-label { font-size: var(--t-xs); color: var(--muted); font-weight: 600; line-height: 1.4; }

/* Botões sociais — centralizados */
.sobre-social {
    display: flex;
    flex-wrap: nowrap;          /* força linha única — nunca quebra */
    gap: 0.4rem;
    margin-top: 0.9rem;
    justify-content: center;    /* centralizado abaixo da foto */
    width: 100%;
    max-width: 360px;           /* alinha com a largura do portal */
    margin-inline: auto;
}
.social-btn {
    display: inline-flex; align-items: center; gap: 0.3rem;
    padding: 0.35rem 0.7rem;    /* menor que antes */
    border-radius: var(--r-full);
    font-size: 0.72rem;         /* menor que --t-sm para caber os 3 */
    font-weight: 700; border: 1.5px solid;
    white-space: nowrap;        /* texto de cada botão não quebra */
    transition: background var(--transition), color var(--transition), transform var(--transition);
}
.social-btn:hover { transform: translateY(-2px); }
.social-btn--ig     { border-color: #E1306C; color: #E1306C; }
.social-btn--ig:hover  { background: #E1306C; color: var(--white); }
.social-btn--li     { border-color: #0077B5; color: #0077B5; }
.social-btn--li:hover  { background: #0077B5; color: var(--white); }
.social-btn--lattes { border-color: var(--petroleo); color: var(--petroleo); }
.social-btn--lattes:hover { background: var(--petroleo); color: var(--white); }

@media (min-width: 900px) {
    .sobre-grid { grid-template-columns: 360px 1fr; }
}

/* ============================================================
   8. CARDS DE SERVIÇOS
============================================================ */
.cards-grid { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
.card {
    background: var(--white); border-radius: var(--r-lg);
    padding: 1.75rem 1.5rem; border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-icon {
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--petroleo-bg);
    display: flex; align-items: center; justify-content: center;
    color: var(--petroleo); margin-bottom: 1rem;
}
.card h3 {
    font-family: var(--font-display); font-size: var(--t-xl);
    font-weight: 700; color: var(--petroleo-deep); margin-bottom: 0.55rem;
}
.card p { font-size: var(--t-base); color: var(--muted); line-height: 1.75; }

@media (min-width: 600px) { .cards-grid { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   9. LOCAIS DE ATENDIMENTO
============================================================ */
.galeria {
    display: grid; grid-template-columns: 1fr; gap: 0.9rem;
    margin-bottom: 2rem;
}
.galeria-item {
    border-radius: var(--r-lg); overflow: hidden; position: relative; box-shadow: var(--shadow-md);
}
.galeria-item img {
    width: 100%; height: 250px; object-fit: cover; display: block;
    transition: transform 0.45s ease;
}
.galeria-item:hover img { transform: scale(1.04); }
.galeria-item figcaption {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(30,46,48,0.72));
    color: var(--white); font-size: var(--t-sm); font-weight: 700;
    padding: 1.5rem 1rem 0.7rem; letter-spacing: 0.02em;
}
.galeria-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }

@media (min-width: 640px) {
    .galeria { grid-template-columns: 1.4fr 1fr; }
    .galeria-item--tall img { height: 370px; }
    .galeria-col { grid-template-columns: 1fr; }
    .galeria-col .galeria-item img { height: 176px; }
}

.unidades { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.unidade-card {
    background: var(--soft-bg); border-radius: var(--r-lg);
    padding: 1.5rem; border: 1px solid var(--border);
}
.unidade-header {
    display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.6rem;
}
.unidade-header h3 {
    font-family: var(--font-display); font-size: var(--t-xl);
    font-weight: 700; color: var(--petroleo-deep);
}
.unidade-card address {
    font-size: var(--t-base); color: var(--muted); line-height: 1.75; margin-bottom: 1.1rem;
}
.mapa-frame {
    border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--border);
    line-height: 0;
}
.mapa-frame iframe {
    display: block; filter: grayscale(12%); transition: filter var(--transition);
}
.mapa-frame iframe:hover { filter: grayscale(0%); }

@media (min-width: 768px) { .unidades { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   10. FAQ
============================================================ */
.faq-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
.faq-esquerda .section-title { font-size: clamp(1.6rem, 3vw, var(--t-3xl)); }
.faq-sub { font-size: var(--t-md); color: var(--muted); line-height: 1.75; margin-bottom: 1.5rem; }
.faq-lista { display: flex; flex-direction: column; gap: 0.45rem; }

.faq-item {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition);
}
.faq-item[open] { box-shadow: var(--shadow-md); border-color: var(--petroleo-pale); }

.faq-q {
    display: flex; align-items: center; justify-content: space-between; gap: 0.9rem;
    padding: 1.15rem 1.4rem; cursor: pointer;
    font-weight: 700; font-size: var(--t-base); color: var(--petroleo-deep);
    list-style: none; user-select: none;
    transition: background var(--transition), color var(--transition);
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q:hover { background: var(--petroleo-bg); }
.faq-item[open] .faq-q { background: var(--petroleo); color: var(--white); }

.faq-arrow { flex-shrink: 0; transition: transform var(--transition); }
.faq-item[open] .faq-arrow { transform: rotate(180deg); }

.faq-a { padding: 0 1.4rem 1.15rem; border-top: 1px solid var(--petroleo-pale); }
.faq-a p { font-size: var(--t-base); color: var(--muted); line-height: 1.8; margin-top: 0.9rem; }
.faq-a p + p { margin-top: 0.6rem; }

@media (min-width: 860px) { .faq-layout { grid-template-columns: 280px 1fr; } }

/* ============================================================
   11. CTA FINAL
============================================================ */
.cta-final {
    background: linear-gradient(135deg, var(--petroleo-deep) 0%, var(--petroleo) 100%);
    text-align: center;
}
.cta-inner { max-width: 620px; margin-inline: auto; }
.cta-inner h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, var(--t-3xl));
    font-weight: 700; color: var(--white); line-height: 1.15; margin-bottom: 0.9rem;
}
.cta-inner > p { font-size: var(--t-md); color: rgba(255,255,255,0.82); line-height: 1.8; margin-bottom: 2rem; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; margin-bottom: 1.75rem; }
.cta-social { display: flex; gap: 0.85rem; justify-content: center; margin-top: 1.25rem; }
.cta-social a {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.22);
    transition: background var(--transition), transform var(--transition);
}
.cta-social a:hover { background: rgba(255,255,255,0.24); transform: translateY(-2px); }

/* ============================================================
   12. RODAPÉ
============================================================ */
.footer { background: var(--petroleo-deep); color: rgba(255,255,255,0.8); padding-block: 2.75rem 0; }
.footer-inner {
    display: grid; grid-template-columns: 1fr; gap: 1.75rem; padding-bottom: 2.25rem;
    /* Mobile: tudo centralizado */
    text-align: center;
}
.footer-logo {
    height: 120px; width: auto; object-fit: contain;
    filter: brightness(0) invert(1); opacity: 0.82; margin-bottom: 0.5rem;
    /* Mobile: logo centralizada */
    margin-inline: auto;
    object-position: center;
}
.footer-crp { font-size: var(--t-xs); color: rgba(255,255,255,0.42); letter-spacing: 0.05em; line-height: 1.55; }
.footer-heading { font-family: var(--font-display); font-size: var(--t-md); font-weight: 700; color: var(--white); margin-bottom: 0.85rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-links a, .footer-links span { font-size: var(--t-sm); color: rgba(255,255,255,0.62); transition: color var(--transition); line-height: 1.5; }
.footer-links a:hover { color: var(--white); }
.footer-links--contact li { display: flex; align-items: flex-start; gap: 0.5rem; color: rgba(255,255,255,0.62); justify-content: center; }
.footer-links--contact svg { flex-shrink: 0; margin-top: 3px; opacity: 0.55; }
.footer-links--contact a { color: rgba(255,255,255,0.62); }
.footer-links--contact a:hover { color: var(--white); }
.footer-social { display: flex; flex-wrap: wrap; gap: 0.55rem; justify-content: center; }
.fs-btn {
    display: flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255,255,255,0.1); color: var(--white);
    border: 1px solid rgba(255,255,255,0.14);
    transition: background var(--transition), transform var(--transition);
}
.fs-btn:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }

@media (min-width: 600px) { .footer-inner { grid-template-columns: 1fr 1fr; text-align: left; } }
@media (min-width: 600px) { .footer-logo { margin-inline: 0; object-position: left; } }
@media (min-width: 600px) { .footer-links--contact li { justify-content: flex-start; } }
@media (min-width: 600px) { .footer-social { justify-content: flex-start; } }
@media (min-width: 960px) { .footer-inner { grid-template-columns: 1.2fr 1fr 1.3fr 1fr; } }

.footer-base { border-top: 1px solid rgba(255,255,255,0.07); padding-block: 0.9rem; }
.footer-base-inner {
    display: flex; flex-direction: column; align-items: center; gap: 0.2rem; text-align: center;
}
.copy { font-size: var(--t-xs); color: rgba(255,255,255,0.3); letter-spacing: 0.04em; text-transform: uppercase; }
.credits { font-size: var(--t-xs); color: rgba(255,255,255,0.22); }
.credits a { color: inherit; }
.credits a:hover { text-decoration: underline; opacity: 0.6; }
@media (min-width: 640px) { .footer-base-inner { flex-direction: row; justify-content: space-between; } }

/* ============================================================
   13. PÁGINA DE ARTIGOS
============================================================ */
.artigos-hero {
    background: linear-gradient(135deg, var(--petroleo-deep) 0%, var(--petroleo) 100%);
    padding: 8rem var(--px) 3.5rem;
    text-align: center;
    color: var(--white);
}
.artigos-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700; color: var(--white); margin-block: 0.5rem;
}
.artigos-hero p { font-size: var(--t-md); color: rgba(255,255,255,0.8); max-width: 560px; margin-inline: auto; line-height: 1.75; }

.artigos-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 3rem; }

.artigo-card {
    background: var(--white); border-radius: var(--r-lg);
    padding: 1.75rem; border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition), transform var(--transition);
    display: flex; flex-direction: column; gap: 0.6rem;
}
.artigo-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.artigo-tag {
    display: inline-block;
    background: var(--petroleo-pale); color: var(--petroleo-deep);
    font-size: var(--t-xs); font-weight: 700; letter-spacing: 0.1em;
    text-transform: uppercase; padding: 0.25rem 0.75rem;
    border-radius: var(--r-full); align-self: flex-start;
}
.artigo-titulo { font-family: var(--font-display); font-size: var(--t-xl); font-weight: 700; color: var(--petroleo-deep); line-height: 1.3; }
.artigo-meta { font-size: var(--t-sm); color: var(--muted); }
.artigo-resumo { font-size: var(--t-base); color: var(--muted); line-height: 1.75; flex: 1; }
.artigo-link {
    display: inline-flex; align-items: center; gap: 0.4rem;
    color: var(--petroleo); font-weight: 700; font-size: var(--t-sm);
    border-bottom: 1px solid var(--petroleo-pale);
    padding-bottom: 0.1rem; align-self: flex-start;
    transition: color var(--transition), border-color var(--transition);
}
.artigo-link:hover { color: var(--petroleo-deep); border-color: var(--petroleo); }

.artigos-cta { text-align: center; padding: 2.5rem; background: var(--soft-bg); border-radius: var(--r-lg); }
.artigos-cta p { font-size: var(--t-lg); color: var(--text); margin-bottom: 1.25rem; font-family: var(--font-display); font-style: italic; }

/* Link ativo no menu da página de artigos */
.nav-link--ativo { color: var(--petroleo) !important; }

@media (min-width: 768px) { .artigos-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .artigos-grid { grid-template-columns: repeat(3, 1fr); } }

/* ============================================================
   14. RESPONSIVIDADE GERAL
============================================================ */
@media (min-width: 768px)  { :root { --px: 2rem; --sec-py: 70px; } }
@media (min-width: 1024px) { :root { --px: 2.5rem; } }
