/**
 * style.css — CSC Doroteias | Versão HTML moderna (padrão app/SaaS)
 * 100% estático: funciona em qualquer hospedagem, sem PHP.
 * Paleta oficial extraída do PPTX: azul #0F3B5B · petróleo #13808F · dourado #C59B45
 */
:root {
    --azul: #0F3B5B;
    --azul-900: #0A2A42;
    --petroleo: #13808F;
    --petroleo-600: #0D6B77;
    --ouro: #C59B45;
    --ink: #14212E;
    --muted: #5B6B7B;
    --line: #E5EBF1;
    --bg: #FFFFFF;
    --bg-soft: #F4F8FB;
    --r-lg: 22px;
    --r-md: 16px;
    --shadow-sm: 0 1px 2px rgba(16,42,67,.06), 0 4px 12px rgba(16,42,67,.05);
    --shadow-md: 0 6px 24px rgba(16,42,67,.10), 0 2px 6px rgba(16,42,67,.06);
    --grad: linear-gradient(135deg, #0F3B5B 0%, #13808F 100%);
    --grad-soft: linear-gradient(135deg, rgba(15,59,91,.06), rgba(19,128,143,.08));
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
    color: var(--ink); background: var(--bg); line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--petroleo-600); text-decoration: none; }
.container { width: min(1160px, 92%); margin-inline: auto; }

/* ============ NAV flutuante (estilo app) ============ */
.nav {
    position: sticky; top: 14px; z-index: 100;
    margin: 14px auto 0; width: min(1160px, 94%);
    background: rgba(255,255,255,.82); backdrop-filter: blur(14px);
    border: 1px solid var(--line); border-radius: 999px;
    display: flex; align-items: center; gap: 1rem; padding: .55rem .9rem;
    box-shadow: var(--shadow-sm);
}
.brand { display: flex; align-items: center; gap: .55rem; font-weight: 800; color: var(--azul); font-size: 1.02rem; letter-spacing: -.01em; }
.brand-badge {
    width: 38px; height: 38px; border-radius: 12px;
    background: var(--grad); color: #fff;
    display: grid; place-items: center; font-size: .82rem; font-weight: 800;
    box-shadow: 0 4px 12px rgba(19,128,143,.35);
}
.brand small { display: block; font-size: .6rem; color: var(--muted); font-weight: 500; letter-spacing: .02em; }
.nav-links { display: flex; gap: .15rem; margin-inline: auto; list-style: none; padding: 0; }
.nav-links a {
    display: block; padding: .5rem .8rem; border-radius: 999px;
    color: var(--ink); font-size: .9rem; font-weight: 600; transition: all .2s;
}
.nav-links a:hover { background: var(--bg-soft); color: var(--petroleo-600); }
.nav-links a.active { background: var(--azul); color: #fff; }
.nav-cta { display: flex; align-items: center; gap: .5rem; }

/* ============ Botões ============ */
.btn {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .72rem 1.5rem; border-radius: 999px; border: 0;
    font-weight: 700; font-size: .95rem; cursor: pointer;
    transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 6px 18px rgba(19,128,143,.35); }
.btn-primary:hover { box-shadow: 0 10px 26px rgba(19,128,143,.45); }
.btn-ghost { background: #fff; color: var(--azul); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--petroleo); }
.btn-gold { background: linear-gradient(135deg, #D9B25C, var(--ouro)); color: #fff; box-shadow: 0 6px 18px rgba(197,155,69,.35); }

/* ============ HERO ============ */
.hero { position: relative; padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem); overflow: hidden; }
.hero::before {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(60% 50% at 80% 10%, rgba(19,128,143,.12), transparent 60%),
        radial-gradient(50% 40% at 10% 90%, rgba(15,59,91,.10), transparent 60%);
    pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 3.5rem; align-items: center; position: relative; }
.hero-tag {
    display: inline-flex; align-items: center; gap: .5rem;
    background: #fff; border: 1px solid var(--line); border-radius: 999px;
    padding: .4rem 1rem; font-size: .78rem; font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase; color: var(--petroleo-600);
    box-shadow: var(--shadow-sm); margin-bottom: 1.4rem;
}
.hero-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ouro); }
.hero h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); line-height: 1.12; letter-spacing: -.03em; font-weight: 800; }
.hero h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { color: var(--muted); font-size: 1.1rem; max-width: 48ch; margin: 1.2rem 0 1.9rem; }
.hero-actions { display: flex; gap: .9rem; flex-wrap: wrap; }
.hero-media { position: relative; }
.hero-media .shot { border-radius: var(--r-lg); box-shadow: var(--shadow-md); border: 1px solid var(--line); width: 100%; height: auto; }
.float-card {
    position: absolute; background: rgba(255,255,255,.94); backdrop-filter: blur(8px);
    border: 1px solid var(--line); border-radius: var(--r-md);
    padding: .8rem 1.1rem; box-shadow: var(--shadow-md); font-size: .82rem; font-weight: 700; color: var(--azul);
    display: flex; align-items: center; gap: .6rem;
}
.float-card .dot { width: 10px; height: 10px; border-radius: 50%; }
.fc-1 { top: 8%; left: -6%; }
.fc-2 { bottom: 10%; right: -4%; }

/* ============ Faixa de confiança ============ */
.trust { border-block: 1px solid var(--line); background: var(--bg-soft); }
.trust-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .7rem 1.6rem; padding: 1.3rem 0; }
.trust span.pill {
    background: #fff; border: 1px solid var(--line); border-radius: 999px;
    padding: .42rem 1.1rem; font-size: .86rem; font-weight: 600; color: var(--muted);
}

/* ============ Seções ============ */
.section { padding: clamp(3rem, 6vw, 4.8rem) 0; }
.sec-head { max-width: 660px; margin: 0 auto 2.6rem; text-align: center; }
.sec-tag { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--petroleo-600); }
.sec-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -.02em; margin: .5rem 0 .6rem; }
.sec-head p { color: var(--muted); font-size: 1.05rem; }

/* Bento de serviços */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; list-style: none; padding: 0; }
.bento li {
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
    padding: 1.7rem 1.5rem; transition: all .25s; position: relative; overflow: hidden;
}
.bento li::after {
    content: ""; position: absolute; inset: auto 0 0 0; height: 4px;
    background: var(--grad); opacity: 0; transition: opacity .25s;
}
.bento li:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.bento li:hover::after { opacity: 1; }
.bento .ico {
    width: 52px; height: 52px; border-radius: 15px; margin-bottom: 1.1rem;
    background: var(--grad-soft); display: grid; place-items: center; color: var(--petroleo-600);
}
.bento h3 { font-size: 1.06rem; margin-bottom: .4rem; }
.bento p { color: var(--muted); font-size: .93rem; margin-bottom: .9rem; }
.bento .more { font-weight: 700; font-size: .88rem; }

/* Números — banda gradiente */
.stats { background: var(--grad); color: #fff; border-radius: var(--r-lg); padding: clamp(2.2rem, 5vw, 3.4rem); box-shadow: var(--shadow-md); position: relative; overflow: hidden; }
.stats::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: rgba(255,255,255,.07); top: -220px; right: -120px; }
.stats-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; position: relative; }
.stat { text-align: center; padding: .4rem; }
.stat b { display: block; font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.02em; }
.stat span { font-size: .82rem; opacity: .85; }
.stats-note { margin-top: 1.8rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.25); font-size: .85rem; opacity: .85; position: relative; }

/* Banner humano */
.human { display: grid; grid-template-columns: .95fr 1.05fr; border-radius: var(--r-lg); overflow: hidden; background: var(--azul-900); color: #fff; box-shadow: var(--shadow-md); }
.human img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.human-body { padding: clamp(1.8rem, 4vw, 3rem); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 1.1rem; }
.human-body h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); line-height: 1.2; letter-spacing: -.02em; }
.human-body .k { color: var(--ouro); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }

/* Valores */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; list-style: none; padding: 0; }
.values li {
    display: flex; align-items: center; gap: .9rem;
    background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-md);
    padding: 1.2rem 1.4rem; font-weight: 700; color: var(--azul); font-size: .97rem;
}
.values svg { color: var(--ouro); flex-shrink: 0; }

/* CTA final */
.cta { text-align: center; background: var(--grad-soft); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(2.5rem, 6vw, 4rem); }
.cta h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); letter-spacing: -.02em; }
.cta p { color: var(--muted); margin: .8rem auto 1.6rem; max-width: 52ch; }

/* Rodapé */
footer { border-top: 1px solid var(--line); background: var(--bg-soft); color: var(--muted); margin-top: 3rem; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.2rem; padding: 3rem 0 2rem; }
.foot-grid h4 { color: var(--azul); font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; }
.foot-grid ul { list-style: none; padding: 0; }
.foot-grid li { margin-bottom: .5rem; }
.foot-grid a { color: var(--petroleo-600); font-size: .92rem; }
.foot-grid a:hover { color: var(--azul); }
.foot-brand p { font-size: .92rem; margin-top: .9rem; max-width: 42ch; }
.foot-note { color: var(--ouro); font-size: .8rem; margin-top: .8rem; }
.foot-bottom { border-top: 1px solid var(--line); padding: 1.1rem 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; font-size: .82rem; color: var(--muted); }

/* ============ Páginas internas (stub) ============ */
.page-hero { background: var(--grad); color: #fff; padding: clamp(3.5rem, 8vw, 6rem) 0; text-align: center; }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); letter-spacing: -.02em; }
.page-hero p { color: rgba(255,255,255,.88); max-width: 60ch; margin: .8rem auto 0; }
.soon-box {
    max-width: 620px; margin: 0 auto; text-align: center;
    background: var(--bg-soft); border: 1px dashed var(--ouro); border-radius: var(--r-lg);
    padding: 2.6rem 2rem;
}
.soon-box h2 { color: var(--azul); font-size: 1.35rem; margin-bottom: .5rem; }
.soon-box p { color: var(--muted); margin-bottom: 1.4rem; }

/* Acessibilidade */
.skip { position: absolute; left: -999px; top: 0; background: var(--azul); color: #fff; padding: .7rem 1.2rem; border-radius: 0 0 10px 0; z-index: 999; }
.skip:focus { left: 0; }
:focus-visible { outline: 3px solid var(--petroleo); outline-offset: 2px; border-radius: 6px; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    html { scroll-behavior: auto; }
}

/* ============ Responsivo ============ */
@media (max-width: 1024px) {
    .nav-links a { padding: .5rem .55rem; font-size: .85rem; }
    .bento { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
    .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
    .hero-grid { grid-template-columns: 1fr; gap: 2.2rem; }
    .fc-1 { left: 2%; } .fc-2 { right: 2%; }
    .human { grid-template-columns: 1fr; }
    .human img { max-height: 300px; }
    .nav { border-radius: var(--r-md); flex-wrap: wrap; }
    .nav-links {
        display: none; width: 100%; flex-direction: column; margin: .4rem 0 0;
        border-top: 1px solid var(--line); padding-top: .5rem;
    }
    .nav-links.open { display: flex; }
    .menu-btn { display: inline-flex; }
    .nav-cta .btn span.txt { display: none; }
}
@media (min-width: 861px) { .menu-btn { display: none; } }
@media (max-width: 560px) {
    .bento, .values, .foot-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .float-card { display: none; }
}

/* ============ LOGOMARCA OFICIAL (parametrizada) ============ */
.brand-logo { height: 46px; width: auto; object-fit: contain; display: block; }
.footer-logo {
    background: #fff; border-radius: var(--r-md);
    padding: .55rem .9rem; display: inline-block;
}
.footer-logo img { height: 52px; width: auto; object-fit: contain; display: block; }
@media (max-width: 560px) { .brand-logo { height: 38px; } }

/* ============ Conteúdo institucional (novas seções) ============ */
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2.6rem; align-items: center; }
.cols-2 .media img, .media-round img { border-radius: var(--r-lg); box-shadow: var(--shadow-md); border: 1px solid var(--line); width: 100%; height: auto; }
.lead-text { font-size: 1.12rem; color: var(--ink); }
.text-muted { color: var(--muted); }

/* Breakdown dos números */
.chip-row { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-top: 1.4rem; position: relative; }
.chip { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: .35rem .95rem; font-size: .84rem; font-weight: 600; }

/* Benefícios */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; list-style: none; padding: 0; }
.benefits li {
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
    padding: 1.15rem 1.2rem; font-weight: 600; font-size: .93rem; color: var(--azul);
    display: flex; align-items: center; gap: .7rem; transition: all .25s;
}
.benefits li:hover { border-color: var(--petroleo); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.benefits svg { color: var(--ouro); flex-shrink: 0; }

/* Linha do tempo */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 19px; top: 6px; bottom: 6px; width: 3px; border-radius: 3px; background: var(--grad); opacity: .85; }
.timeline li { position: relative; padding: 0 0 1.6rem 60px; }
.timeline li::before {
    content: ""; position: absolute; left: 8px; top: 3px; width: 24px; height: 24px;
    border-radius: 50%; background: #fff; border: 3px solid var(--petroleo);
}
.timeline .year { display: inline-block; background: var(--azul); color: #fff; border-radius: 999px; padding: .15rem .85rem; font-size: .8rem; font-weight: 800; margin-bottom: .4rem; }
.timeline h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.timeline p { color: var(--muted); font-size: .94rem; margin: 0; }

/* Setores (7 áreas) */
.sectors { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
.sector-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.5rem; transition: all .25s; }
.sector-card:hover { box-shadow: var(--shadow-md); border-color: var(--petroleo); }
.sector-card .top { display: flex; align-items: center; gap: .8rem; margin-bottom: .6rem; }
.sector-card .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--grad-soft); display: grid; place-items: center; color: var(--petroleo-600); flex-shrink: 0; }
.sector-card h3 { margin: 0; font-size: 1.02rem; }
.sector-card .obj { font-size: .9rem; color: var(--ink); font-style: italic; border-left: 3px solid var(--ouro); padding-left: .8rem; margin: .6rem 0; }
.sector-card .colab { font-size: .78rem; font-weight: 800; color: var(--petroleo-600); text-transform: uppercase; letter-spacing: .06em; }

/* Estágios de evolução */
.stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stage { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.5rem 1.3rem; border-top: 4px solid var(--petroleo); }
.stage:nth-child(1){border-top-color:#0F3B5B}.stage:nth-child(2){border-top-color:#13808F}
.stage:nth-child(3){border-top-color:#3FA7B4}.stage:nth-child(4){border-top-color:#C59B45}
.stage .num { font-size: .8rem; font-weight: 800; color: var(--muted); letter-spacing: .1em; }
.stage h3 { margin: .3rem 0 .5rem; font-size: 1rem; }
.stage p { font-size: .88rem; color: var(--muted); margin: 0; }

/* Plano de ação */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.plan { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.6rem 1.5rem; }
.plan .months { display: inline-block; background: var(--grad); color: #fff; border-radius: 999px; padding: .3rem 1rem; font-size: .82rem; font-weight: 800; margin-bottom: .8rem; }
.plan h3 { font-size: 1.05rem; }
.plan ul { margin: .6rem 0 0; padding-left: 1.1rem; color: var(--muted); font-size: .92rem; }
.plan li { margin-bottom: .35rem; }

/* Citação */
.quote-band { text-align: center; max-width: 780px; margin: 0 auto; }
.quote-band blockquote { font-size: clamp(1.15rem, 2.4vw, 1.55rem); font-weight: 700; color: var(--azul); font-style: italic; line-height: 1.45; margin: 0 0 1rem; }
.quote-band cite { color: var(--petroleo-600); font-style: normal; font-weight: 600; font-size: .95rem; }

/* Catálogo de serviços */
.cat-toolbar { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; margin-bottom: 1.8rem; }
.cat-toolbar input {
    flex: 1; min-width: 230px; padding: .8rem 1.2rem; border: 1px solid var(--line);
    border-radius: 999px; font-size: .95rem; font-family: inherit;
}
.cat-toolbar input:focus { outline: 2px solid var(--petroleo); border-color: var(--petroleo); }
.filter-btn {
    border: 1px solid var(--line); background: #fff; border-radius: 999px;
    padding: .55rem 1.1rem; font-size: .86rem; font-weight: 700; color: var(--muted);
    cursor: pointer; font-family: inherit; transition: all .2s;
}
.filter-btn:hover { border-color: var(--petroleo); color: var(--petroleo-600); }
.filter-btn.on { background: var(--azul); border-color: var(--azul); color: #fff; }
.cat-count { font-size: .85rem; color: var(--muted); margin-left: auto; }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; }
.svc {
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
    padding: 1.15rem 1.25rem; transition: all .2s;
}
.svc:hover { box-shadow: var(--shadow-md); border-color: var(--petroleo); }
.svc .cat { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--petroleo-600); background: var(--grad-soft); border-radius: 999px; padding: .18rem .7rem; margin-bottom: .55rem; }
.svc .setor-lbl { font-size: .72rem; color: var(--muted); display: block; margin-top: .5rem; }
.svc h3 { font-size: .95rem; margin: 0; line-height: 1.35; }
.cat-empty { text-align: center; color: var(--muted); padding: 2.5rem 0; grid-column: 1/-1; }
.cat-sector-head { grid-column: 1/-1; margin-top: 1.2rem; }
.cat-sector-head h3 { display: flex; align-items: center; gap: .6rem; }
.cat-sector-head h3::after { content: ""; flex: 1; height: 1px; background: var(--line); }

@media (max-width: 1024px) {
    .benefits { grid-template-columns: repeat(2, 1fr); }
    .stages { grid-template-columns: repeat(2, 1fr); }
    .cat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
    .cols-2, .sectors, .plans { grid-template-columns: 1fr; }
    .cat-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .benefits, .stages { grid-template-columns: 1fr; }
}

/* ============ CORREÇÕES V2 — efeitos e ilustrações ============ */

/* Hero com logomarca grande em fundo branco (correção) */
.hero-logo-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
    box-shadow: var(--shadow-md); padding: clamp(2rem, 5vw, 3.5rem);
    display: grid; place-items: center; min-height: 320px;
    position: relative; overflow: hidden;
}
.hero-logo-card::before {
    content: ""; position: absolute; inset: -40%;
    background: conic-gradient(from 0deg, transparent 70%, rgba(19,128,143,.08) 85%, transparent 100%);
    animation: spinSlow 14s linear infinite;
}
@keyframes spinSlow { to { transform: rotate(360deg); } }
.hero-logo-card img { max-width: 88%; height: auto; position: relative; animation: floaty 5s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Banners de página com imagem de fundo + efeito */
.banner-img {
    position: relative; border-radius: var(--r-lg); overflow: hidden;
    min-height: 300px; display: flex; align-items: flex-end;
    box-shadow: var(--shadow-md); isolation: isolate;
}
.banner-img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 6s ease; }
.banner-img:hover > img { transform: scale(1.05); }
.banner-img::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(10,42,66,.05) 0%, rgba(10,42,66,.72) 100%);
}
.banner-img .cap {
    color: #fff; padding: 1.6rem; width: 100%;
    display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.banner-img .cap h2 { color: #fff; margin: 0; font-size: clamp(1.4rem, 3vw, 2rem); text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.banner-img .cap p { margin: .3rem 0 0; color: rgba(255,255,255,.9); font-size: .95rem; }

/* Revelação ao rolar */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Setores em telas alternadas (sem quadros) com foto */
.sector-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; align-items: center; padding: 2.2rem 0; }
.sector-row + .sector-row { border-top: 1px solid var(--line); }
.sector-row:nth-child(even) .sector-photo { order: 2; }
.sector-photo { position: relative; }
.sector-photo img { width: 100%; height: auto; border-radius: var(--r-lg); box-shadow: var(--shadow-md); display: block; }
.sector-photo::after {
    content: ""; position: absolute; inset: 0; border-radius: var(--r-lg);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); pointer-events: none;
}
.sector-info .tagline { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--petroleo-600); }
.sector-info h3 { font-size: clamp(1.25rem, 2.4vw, 1.7rem); margin: .4rem 0 .8rem; letter-spacing: -.01em; }
.sector-info .obj { font-size: 1.02rem; color: var(--ink); border-left: 3px solid var(--ouro); padding-left: .9rem; margin-bottom: 1rem; }
.sector-info ul { list-style: none; padding: 0; margin: 0 0 1rem; }
.sector-info ul li { padding: .34rem 0 .34rem 1.6rem; position: relative; color: var(--muted); font-size: .95rem; }
.sector-info ul li::before { content: ""; position: absolute; left: .2rem; top: .82rem; width: 8px; height: 8px; border-radius: 50%; background: var(--petroleo); }
.sector-info .colab { display: inline-block; background: var(--grad-soft); border: 1px solid var(--line); border-radius: 999px; padding: .3rem .95rem; font-size: .8rem; font-weight: 800; color: var(--azul); }

/* Infográficos animados (Visão de Futuro) */
.kpi-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.kpi {
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
    padding: 1.5rem 1.3rem; text-align: center; transition: transform .25s, box-shadow .25s;
}
.kpi:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.kpi .ring {
    width: 92px; height: 92px; border-radius: 50%; margin: 0 auto .9rem;
    display: grid; place-items: center; position: relative;
    background: conic-gradient(var(--petroleo) calc(var(--p) * 1%), #E5EBF1 0);
}
.kpi .ring::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: #fff; }
.kpi .ring b { position: relative; font-size: 1.15rem; color: var(--azul); }
.kpi h3 { font-size: .92rem; margin: 0 0 .3rem; }
.kpi p { font-size: .8rem; color: var(--muted); margin: 0; }

/* Barras animadas */
.bars { display: grid; gap: .9rem; }
.bar-row { display: grid; grid-template-columns: 150px 1fr 52px; align-items: center; gap: .9rem; font-size: .88rem; }
.bar-row .lbl { font-weight: 700; color: var(--azul); }
.bar-track { height: 14px; background: #E9EFF4; border-radius: 999px; overflow: hidden; }
.bar-fill {
    height: 100%; width: 0; border-radius: 999px;
    background: linear-gradient(90deg, var(--azul), var(--petroleo));
    transition: width 1.4s cubic-bezier(.22,.8,.3,1);
}
.bar-fill.gold { background: linear-gradient(90deg, var(--ouro), #E3C27E); }
.bar-row .val { text-align: right; font-weight: 800; color: var(--petroleo-600); }

/* Linha do tempo animada */
.timeline-anim li { opacity: 0; transform: translateX(-18px); transition: opacity .6s ease, transform .6s ease; }
.timeline-anim li.visible { opacity: 1; transform: none; }

/* Movimento contínuo sutil no banner de dados */
.pulse-dot { width: 10px; height: 10px; border-radius: 50%; background: #4ADE80; display: inline-block; margin-right: .5rem; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1);} 50% { opacity: .45; transform: scale(.8);} }

@media (max-width: 860px) {
    .sector-row { grid-template-columns: 1fr; gap: 1.4rem; }
    .sector-row:nth-child(even) .sector-photo { order: 0; }
    .kpi-band { grid-template-columns: repeat(2, 1fr); }
    .bar-row { grid-template-columns: 110px 1fr 48px; }
}
@media (max-width: 560px) { .kpi-band { grid-template-columns: 1fr; } }

/* ============ V3 — abas no menu, logo animada, gráficos ============ */
@keyframes logoPulse {
  0%,100% { filter: drop-shadow(0 0 0 rgba(19,128,143,0)); }
  50% { filter: drop-shadow(0 6px 22px rgba(19,128,143,.35)); }
}
.brand-logo { animation: logoPulse 4s ease-in-out infinite; }
@keyframes shine { 0% { transform: translateX(-130%) skewX(-18deg); } 60%,100% { transform: translateX(230%) skewX(-18deg); } }
.hero-logo-card .shine {
    position: absolute; top: 0; bottom: 0; width: 45%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.75), transparent);
    animation: shine 3.8s ease-in-out infinite; pointer-events: none;
}

/* Dropdown (abas) no menu principal — mesmo padrão */
.nav-links li { position: relative; }
.nav-links li.has-sub > a::after { content: " ▾"; font-size: .75em; color: var(--petroleo-600); }
.nav-links ul.sub {
    display: none; position: absolute; top: 100%; left: 0; min-width: 230px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
    box-shadow: var(--shadow-md); list-style: none; padding: .5rem; margin: .3rem 0 0; z-index: 60;
}
.nav-links li:hover > ul.sub, .nav-links li:focus-within > ul.sub { display: block; }
.nav-links ul.sub a { border-radius: 10px; padding: .6rem .9rem; white-space: nowrap; }
.nav-links li.has-sub > a.active-parent { background: var(--azul); color: #fff; }

/* Submenu em abas (mesmo padrão) para Serviços/Atendimento/Indicadores */
.tabs {
    display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center;
    margin: 0 auto 2.2rem;
}
.tabs a {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .6rem 1.4rem; border-radius: 999px; border: 1px solid var(--line);
    background: #fff; color: var(--ink); font-weight: 700; font-size: .92rem;
    transition: all .2s;
}
.tabs a:hover { border-color: var(--petroleo); color: var(--petroleo-600); }
.tabs a.on { background: var(--azul); border-color: var(--azul); color: #fff; }

/* Gráficos — paleta reunião (azul #0F3B5B · petróleo #13808F · dourado #C59B45) */
.dash-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 1.2rem; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.panel h3 { font-size: 1rem; margin-bottom: .3rem; }
.panel .sub-lbl { font-size: .8rem; color: var(--muted); margin-bottom: 1.2rem; }

/* Gráfico de barras verticais animado */
.vchart { display: flex; align-items: flex-end; gap: .9rem; height: 210px; border-bottom: 2px solid var(--line); padding-bottom: 0; }
.vbar { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; }
.vbar .fill {
    width: 100%; max-width: 46px; border-radius: 8px 8px 0 0; height: 0;
    transition: height 1.3s cubic-bezier(.22,.8,.3,1); position: relative;
}
.vbar .fill::after { content: attr(data-v); position: absolute; top: -1.5rem; left: 50%; transform: translateX(-50%); font-size: .78rem; font-weight: 800; color: var(--azul); }
.vbar .lbl { font-size: .72rem; color: var(--muted); margin-top: .5rem; text-align: center; }
.vc-blue { background: linear-gradient(180deg, #13808F, #0F3B5B); }
.vc-teal { background: linear-gradient(180deg, #3FA7B4, #13808F); }
.vc-gold { background: linear-gradient(180deg, #E3C27E, #C59B45); }
.vc-navy { background: linear-gradient(180deg, #2A5A80, #0A2A42); }

/* Donut animado */
.donut-wrap { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; }
.donut {
    width: 150px; height: 150px; border-radius: 50%; flex-shrink: 0; position: relative;
    background: conic-gradient(var(--petroleo) 0deg, #E5EBF1 0deg);
    transition: background 1.4s ease;
}
.donut::before { content: ""; position: absolute; inset: 22px; border-radius: 50%; background: #fff; }
.donut b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.25rem; color: var(--azul); }
.legend { list-style: none; padding: 0; margin: 0; font-size: .88rem; }
.legend li { display: flex; align-items: center; gap: .55rem; margin-bottom: .5rem; color: var(--muted); }
.legend .sw { width: 14px; height: 14px; border-radius: 4px; flex-shrink: 0; }

/* Gráfico de linha (SVG) */
.linechart path.draw {
    stroke-dasharray: 1000; stroke-dashoffset: 1000;
    transition: stroke-dashoffset 2s ease .2s;
}
.linechart.visible path.draw { stroke-dashoffset: 0; }
.linechart circle { opacity: 0; transition: opacity .4s ease 1.4s; }
.linechart.visible circle { opacity: 1; }

@media (max-width: 860px) {
    .nav-links ul.sub { position: static; box-shadow: none; border: 0; padding-left: 1rem; display: none; }
    .nav-links li:focus-within > ul.sub, .nav-links li.sub-open > ul.sub { display: block; }
    .dash-grid { grid-template-columns: 1fr; }
}

/* ============ V4 — idiomas, passos, jornada ============ */
.lang-flags { display: flex; gap: .3rem; align-items: center; }
.lang-flags a {
    font-size: 1.15rem; line-height: 1; opacity: .55; filter: grayscale(40%);
    transition: all .2s; text-decoration: none !important; border-radius: 6px;
}
.lang-flags a:hover { opacity: 1; transform: scale(1.18); filter: none; }
.lang-flags a.on { opacity: 1; filter: none; transform: scale(1.12); box-shadow: 0 0 0 2px var(--petroleo); }
.lang-flags span.sr { position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden; }

/* Passos animados (como funciona) */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; counter-reset: passo; }
.step { text-align: center; padding: 1.4rem 1rem; position: relative; }
.step .n {
    width: 56px; height: 56px; margin: 0 auto 1rem; border-radius: 50%;
    background: var(--grad); color: #fff; display: grid; place-items: center;
    font-weight: 800; font-size: 1.25rem; box-shadow: 0 6px 18px rgba(19,128,143,.35);
    animation: popIn .6s cubic-bezier(.34,1.56,.64,1) backwards;
}
.step:nth-child(1) .n { animation-delay: .1s; }
.step:nth-child(2) .n { animation-delay: .3s; }
.step:nth-child(3) .n { animation-delay: .5s; }
.step:nth-child(4) .n { animation-delay: .7s; }
@keyframes popIn { from { transform: scale(0); } to { transform: scale(1); } }
.step h3 { font-size: 1rem; margin-bottom: .4rem; }
.step p { font-size: .88rem; color: var(--muted); margin: 0; }
.step::after {
    content: ""; position: absolute; top: 42px; right: -14px; width: 28px; height: 3px;
    background: linear-gradient(90deg, var(--petroleo), var(--ouro)); border-radius: 2px;
}
.step:last-child::after { display: none; }

/* Jornada (sem prazos) — fluxo animado */
.flow { display: grid; grid-template-columns: 1fr 46px 1fr 46px 1fr; align-items: stretch; gap: 0; }
.flow .node {
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
    padding: 1.7rem 1.5rem; text-align: center; position: relative; overflow: hidden;
}
.flow .node::before {
    content: ""; position: absolute; inset: 0 auto 0 0; width: 5px;
    background: linear-gradient(180deg, var(--azul), var(--petroleo), var(--ouro));
}
.flow .node h3 { margin: .5rem 0 .5rem; font-size: 1.08rem; }
.flow .node p { font-size: .9rem; color: var(--muted); margin: 0; }
.flow .node .ico { width: 52px; height: 52px; border-radius: 14px; margin: 0 auto; background: var(--grad-soft); display: grid; place-items: center; color: var(--petroleo-600); }
.flow .arr { display: grid; place-items: center; color: var(--ouro); animation: slideArr 1.4s ease-in-out infinite; }
@keyframes slideArr { 0%,100% { transform: translateX(-4px); } 50% { transform: translateX(5px); } }
@media (max-width: 860px) {
    .flow { grid-template-columns: 1fr; gap: .9rem; }
    .flow .arr { transform: rotate(90deg); padding: .2rem 0; }
    .step::after { display: none; }
    .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.blist { list-style: none; padding: 0; margin: 0; }
.blist .bli { padding: .4rem 0 .4rem 1.6rem; position: relative; color: var(--muted); }
.blist .bli::before { content: ""; position: absolute; left: .2rem; top: .9rem; width: 8px; height: 8px; border-radius: 50%; }
.blist .dot-p::before { background: var(--petroleo); }
.blist .dot-g::before { background: var(--ouro); }

/* Tópicos do catálogo (estilo Estrutura) */
.cat-group { margin-bottom: 1.2rem; }
.cat-group h4 { margin: 0 0 .5rem; font-size: .95rem; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.cat-group .cat { font-size: .7rem; }
.topic-list { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 2rem; }
.topic-list .topic { break-inside: avoid; padding: .28rem 0 .28rem 1.5rem; position: relative; font-size: .9rem; color: var(--muted); transition: color .2s; }
.topic-list .topic::before { content: ""; position: absolute; left: .2rem; top: .72rem; width: 7px; height: 7px; border-radius: 50%; background: var(--petroleo); opacity: .7; }
.topic-list .topic:hover { color: var(--azul); }
@media (max-width: 700px) { .topic-list { columns: 1; } }

@media (max-width: 860px) {
    .flow { grid-template-columns: 1fr; gap: .9rem; }
    .flow .arr { transform: rotate(90deg); padding: .2rem 0; }
    .step::after { display: none; }
    .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ===== Efeito Google Earth — queda do céu até o Casarão ===== */
.earth-wrap {
    position: relative; border-radius: var(--r-lg); overflow: hidden;
    box-shadow: var(--shadow-md); border: 1px solid var(--line);
    aspect-ratio: 16/9; background: #0A2A42; isolation: isolate;
}
.earth-wrap iframe {
    width: 100%; height: 100%; border: 0; display: block;
    transform: scale(3.4); filter: saturate(.4) brightness(.7);
    transition: transform 3.6s cubic-bezier(.22,.7,.25,1), filter 3.6s ease;
}
.earth-wrap.dive iframe { transform: scale(1); filter: none; }
.earth-space {
    position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background:
        radial-gradient(1px 1px at 12% 25%, #fff 50%, transparent 51%),
        radial-gradient(1px 1px at 68% 12%, #fff 50%, transparent 51%),
        radial-gradient(1.5px 1.5px at 84% 38%, #fff 50%, transparent 51%),
        radial-gradient(1px 1px at 30% 68%, #fff 50%, transparent 51%),
        radial-gradient(1.5px 1.5px at 52% 84%, #fff 50%, transparent 51%),
        radial-gradient(1px 1px at 90% 76%, #fff 50%, transparent 51%),
        radial-gradient(2px 2px at 42% 15%, #fff 50%, transparent 51%),
        linear-gradient(180deg, #060D17 0%, #0A1F33 60%, #123B5C 100%);
    opacity: 1; transition: opacity 3s ease .3s;
}
.earth-wrap.dive .earth-space { opacity: 0; }
.earth-cap {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
    display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap;
    padding: 1rem 1.3rem; color: #fff;
    background: linear-gradient(180deg, transparent, rgba(10,42,66,.85));
}
.earth-cap strong { font-size: 1rem; }
.earth-cap span { font-size: .82rem; opacity: .85; display: block; }
.earth-replay {
    border: 1px solid rgba(255,255,255,.5); background: rgba(255,255,255,.12);
    color: #fff; border-radius: 999px; padding: .45rem 1rem; font-size: .8rem; font-weight: 700;
    cursor: pointer; font-family: inherit; backdrop-filter: blur(4px); transition: all .2s;
}
.earth-replay:hover { background: rgba(255,255,255,.25); }
.earth-fallback { padding: 2.5rem 1.5rem; color: rgba(255,255,255,.85); font-size: .9rem; text-align: center; }
@media (prefers-reduced-motion: reduce) {
    .earth-wrap iframe { transform: scale(1); filter: none; transition: none; }
    .earth-space { opacity: 0; transition: none; }
}

/* Canais de contato */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.contact-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
    padding: 1.5rem 1.4rem; transition: all .25s; position: relative; overflow: hidden;
}
.contact-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad); opacity: 0; transition: opacity .25s; }
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.contact-card:hover::before { opacity: 1; }
.contact-card h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.02rem; margin-bottom: .9rem; }
.contact-card h3 .ico { width: 40px; height: 40px; border-radius: 11px; background: var(--grad-soft); display: grid; place-items: center; color: var(--petroleo-600); flex-shrink: 0; }
.contact-card .linha { display: flex; align-items: center; gap: .55rem; font-size: .88rem; color: var(--muted); margin-bottom: .55rem; word-break: break-all; }
.contact-card .linha svg { color: var(--petroleo-600); flex-shrink: 0; }
.contact-card .acoes { display: flex; gap: .5rem; margin-top: 1rem; flex-wrap: wrap; }
.chip-btn {
    display: inline-flex; align-items: center; gap: .4rem; border-radius: 999px;
    padding: .45rem .95rem; font-size: .8rem; font-weight: 700; text-decoration: none !important;
    border: 1px solid var(--line); color: var(--azul); background: #fff; transition: all .2s;
}
.chip-btn:hover { border-color: var(--petroleo); background: var(--teal-bg); }
.chip-btn.wa { background: #E7F6EC; border-color: #BFE6CC; color: #1E7A3C; }
.chip-btn.wa:hover { background: #CDEEDA; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .contact-grid { grid-template-columns: 1fr; } }
