/* =========================================================
   VOLTARISCHEMICAL — folha de estilo principal
   Tokens primeiro; componentes usam apenas os tokens.
   ========================================================= */
:root {
  --navy: #0B2A4A;
  --navy-deep: #071D34;
  --navy-soft: #13406B;
  --teal: #0FA3A3;          /* decorativo / sobre fundo escuro */
  --teal-ink: #0A7475;      /* texto e links sobre fundo claro (AA) */
  --gray: #6B7280;
  --ink: #0F1E2E;
  --line: #DCE3EA;
  --surface: #F3F6F9;
  --white: #FFFFFF;
  --danger: #B42318;
  --success: #067647;

  --font-head: "Poppins", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-sm: .875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.375rem;
  --fs-xl: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem);
  --fs-2xl: clamp(2.1rem, 1.4rem + 2.8vw, 3.5rem);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --wrap: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 1px 2px rgba(11, 42, 74, .06), 0 8px 24px -12px rgba(11, 42, 74, .18);

  --hex-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 66 0 50V17L28 1l28 16v33L28 66zm0 31L0 81' fill='none' stroke='%230B2A4A' stroke-opacity='.06' stroke-width='1'/%3E%3C/svg%3E");
  --hex-pattern-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 66 0 50V17L28 1l28 16v33L28 66zm0 31L0 81' fill='none' stroke='%23FFFFFF' stroke-opacity='.07' stroke-width='1'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
.ic { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
a { color: var(--teal-ink); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; color: var(--navy); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: var(--fs-2xl); letter-spacing: -.02em; }
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-md); }
p { margin: 0 0 1em; }
ul { padding: 0; margin: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -60px; z-index: 1000; background: var(--navy); color: var(--white); padding: .7rem 1rem; border-radius: var(--r-sm); }
.skip-link:focus { top: 1rem; color: var(--white); }

/* Dado ilustrativo — trocar pelo real */
.ph { text-decoration: underline dotted rgba(10, 116, 117, .55); text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.ph-note { font-size: var(--fs-sm); color: var(--gray); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.4rem;
  border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--font-head); font-weight: 500; font-size: .975rem;
  text-decoration: none; cursor: pointer; touch-action: manipulation;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--teal); color: var(--navy-deep); }
.btn-primary:hover { background: #12B8B8; color: var(--navy-deep); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-soft); color: var(--white); }
.btn-ghost { border-color: rgba(11, 42, 74, .25); color: var(--navy); background: transparent; }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .4); color: var(--white); background: transparent; }
.btn-ghost-light:hover { border-color: var(--white); color: var(--white); }
.btn[disabled] { opacity: .55; cursor: progress; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(11, 42, 74, .4); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--navy); margin-right: auto; }
.brand img { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; letter-spacing: .06em; }
.brand-tag { font-size: .66rem; letter-spacing: .22em; color: var(--teal-ink); font-weight: 600; margin-top: 3px; }
.nav-list { display: flex; gap: .25rem; }
.nav-list a {
  display: block; padding: .55rem .75rem; border-radius: var(--r-sm);
  color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 500;
}
.nav-list a:hover { background: var(--surface); color: var(--navy); }
.nav-list a.is-active { color: var(--teal-ink); }
.nav-toggle {
  display: none; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer;
  border-radius: var(--r-sm); align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px;
  position: relative; transition: transform .25s var(--ease), background-color .2s;
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile-cta { display: none; }

@media (max-width: 1060px) {
  .nav-toggle { display: inline-flex; order: 3; }
  .header-cta { display: none; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
    background: var(--white); padding: 1.5rem var(--gutter) 2rem;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s;
    overflow-y: auto;
  }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a { padding: 1rem .25rem; font-size: 1.15rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-mobile-cta { display: flex; margin-top: 1.5rem; width: 100%; }
}

/* ---------- Seções ---------- */
main { display: block; }
.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section-alt { background: var(--surface); }
.section-head { max-width: 640px; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head p { color: var(--gray); font-size: var(--fs-md); margin: 0; }
.kicker { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; font-size: .95rem; color: var(--teal-ink); margin-bottom: .8rem; }
.kicker::before { content: ""; width: 10px; height: 11px; background: var(--teal); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem));
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(15, 163, 163, .10), transparent 70%),
    var(--hex-pattern) repeat, var(--white);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { max-width: 15ch; }
.hero-lead { font-size: var(--fs-md); color: #475467; max-width: 52ch; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-art { position: relative; aspect-ratio: 520 / 460; width: 100%; max-width: 560px; justify-self: end; }
.hero-art svg { width: 100%; height: 100%; }
.mol-bond { fill: none; stroke: var(--navy); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.mol-bond-soft { fill: none; stroke: var(--navy); stroke-opacity: .28; stroke-width: 2; stroke-linecap: round; }
.mol-ring { fill: none; stroke: var(--teal); stroke-width: 2.5; }
.mol-node { fill: var(--white); stroke: var(--navy); stroke-width: 3; }
.mol-node-accent { fill: var(--teal); }
.mol-label { font-family: var(--font-head); font-weight: 600; font-size: 15px; fill: var(--navy); }
.mol-halo { fill: var(--teal); opacity: .12; }

/* Único momento orquestrado: a molécula se desenha ao carregar */
@media (prefers-reduced-motion: no-preference) {
  .js .mol-draw { stroke-dasharray: var(--len, 600); stroke-dashoffset: var(--len, 600); animation: draw 1.6s var(--ease) forwards; animation-delay: var(--d, 0s); }
  .js .mol-pop { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.4); animation: pop .5s var(--ease) forwards; animation-delay: var(--d, 1.2s); }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  @keyframes pop { to { opacity: 1; transform: scale(1); } }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 420px; justify-self: center; order: -1; margin-bottom: -.5rem; }
}

/* ---------- Indicadores ---------- */
.stats { background: var(--navy); color: var(--white); background-image: var(--hex-pattern-light); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 2.25rem 1.5rem; border-left: 1px solid rgba(255, 255, 255, .12); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-value { font-family: var(--font-head); font-weight: 600; font-size: clamp(2rem, 1.5rem + 1.6vw, 2.75rem); line-height: 1; color: var(--white); font-variant-numeric: tabular-nums; }
.stat-value small { font-size: .55em; color: var(--teal); margin-left: .1em; }
.stat-label { margin-top: .6rem; color: #C5D3E0; font-size: .95rem; }
.stats-foot { padding-bottom: 1.25rem; font-size: .8rem; color: #9FB3C8; margin: 0; }
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 1.6rem 1rem; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .stat:nth-child(odd) { padding-left: 0; }
}

/* ---------- Sobre ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.about-text p { color: #344054; max-width: 62ch; }
.mvv { display: grid; gap: 0; border-top: 1px solid var(--line); }
.mvv-item { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.mvv-item h3 { margin-bottom: .3rem; }
.mvv-item p { margin: 0; color: var(--gray); }
.icon-badge { width: 44px; height: 44px; border-radius: 12px; background: rgba(15, 163, 163, .12); color: var(--teal-ink); display: grid; place-items: center; }
.icon-badge svg { width: 22px; height: 22px; }
.values { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .6rem; }
.values li { font-size: .9rem; padding: .3rem .75rem; border-radius: 999px; background: var(--surface); color: var(--navy); }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- Soluções: tiles de "elementos" ---------- */
.elements { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.element {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 1.5rem 1.5rem 1.4rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.element:hover { border-color: rgba(15, 163, 163, .6); box-shadow: var(--shadow); }
.element-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.1rem; }
.element-symbol {
  width: 64px; height: 64px; border-radius: 10px;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 600; font-size: 1.6rem; letter-spacing: -.02em;
  background: var(--navy); color: var(--white);
}
.element:nth-child(even) .element-symbol { background: var(--teal-ink); }
.element-family { font-size: .8rem; color: var(--gray); text-align: right; max-width: 12ch; line-height: 1.35; }
.element h3 { margin-bottom: .45rem; }
.element p { color: #475467; font-size: .96rem; margin-bottom: 1rem; }
.element-list { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; }
.element-list li { font-size: .82rem; color: var(--navy); border: 1px solid var(--line); padding: .2rem .6rem; border-radius: 6px; }
.solutions-foot { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.solutions-foot p { margin: 0; color: var(--gray); }
@media (max-width: 980px) { .elements { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .elements { grid-template-columns: 1fr; } }

/* ---------- Setores ---------- */
.sectors { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 2px solid var(--navy); }
.sector { padding: 1.6rem 1.25rem 1.6rem 0; border-right: 1px solid var(--line); padding-left: 1.25rem; }
.sector:first-child { padding-left: 0; }
.sector:last-child { border-right: 0; }
.sector svg { width: 30px; height: 30px; color: var(--teal-ink); margin-bottom: 1rem; }
.sector h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.sector p { font-size: .92rem; color: var(--gray); margin: 0; }
@media (max-width: 980px) {
  .sectors { grid-template-columns: 1fr 1fr; }
  .sector, .sector:first-child { padding: 1.4rem 1rem 1.4rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) { .sectors { grid-template-columns: 1fr; } }

/* ---------- Qualidade ---------- */
.quality-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.quality-points li { display: flex; gap: .8rem; padding: .55rem 0; color: #344054; }
.quality-points svg { flex: none; width: 22px; height: 22px; color: var(--teal-ink); margin-top: 2px; }
.seals { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.seal {
  display: flex; gap: 1rem; align-items: center;
  padding: 1.25rem; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line);
}
.seal-mark {
  flex: none; width: 58px; height: 64px; display: grid; place-items: center;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: var(--navy); color: var(--white); font-family: var(--font-head); font-weight: 600; font-size: .78rem; text-align: center; line-height: 1.1;
}
.seal strong { display: block; font-family: var(--font-head); font-weight: 600; color: var(--navy); }
.seal span { font-size: .88rem; color: var(--gray); }
@media (max-width: 900px) { .quality-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .seals { grid-template-columns: 1fr; } }

/* ---------- ESG ---------- */
.esg { background: var(--navy-deep); color: #D5E0EA; background-image: var(--hex-pattern-light), radial-gradient(50% 80% at 100% 0%, rgba(15, 163, 163, .22), transparent 70%); }
.esg h2, .esg h3 { color: var(--white); }
.esg .kicker { color: var(--teal); }
.esg .section-head p { color: #B7C7D6; }
.esg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.esg-item { border-top: 2px solid var(--teal); padding-top: 1.4rem; }
.esg-item svg { width: 28px; height: 28px; color: var(--teal); margin-bottom: .9rem; }
.esg-item p { margin: 0; font-size: .97rem; }
.esg-item ul { margin-top: .9rem; }
.esg-item li { font-size: .9rem; padding: .25rem 0 .25rem 1.1rem; position: relative; color: #B7C7D6; }
.esg-item li::before { content: ""; position: absolute; left: 0; top: .78em; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
@media (max-width: 900px) { .esg-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Prova social ---------- */
.testimonials { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.quote { margin: 0; padding: 2rem; border-radius: var(--r-lg); background: var(--surface); position: relative; }
.quote::before { content: "\201C"; position: absolute; top: .4rem; right: 1.5rem; font-family: var(--font-head); font-size: 5rem; line-height: 1; color: rgba(15, 163, 163, .25); }
.quote p { font-size: 1.06rem; color: var(--ink); margin-bottom: 1.25rem; }
.quote footer { display: flex; align-items: center; gap: .8rem; font-size: .92rem; color: var(--gray); }
.quote footer strong { display: block; color: var(--navy); font-weight: 600; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; font-family: var(--font-head); font-weight: 600; font-size: .95rem; flex: none; }
.logos { margin-top: 3rem; display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; align-items: center; }
.logo-ph {
  height: 56px; border: 1px dashed #C3CDD8; border-radius: var(--r-sm);
  display: grid; place-items: center; color: #8A96A3; font-family: var(--font-head); font-weight: 500; font-size: .85rem; letter-spacing: .04em;
}
@media (max-width: 860px) { .testimonials { grid-template-columns: 1fr; } .logos { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Contato / formulário ---------- */
.contact { background: var(--surface); background-image: var(--hex-pattern); }
.contact-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.form-card { background: var(--white); border-radius: var(--r-lg); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 500; font-size: .93rem; color: var(--navy); }
.field label .opt { font-weight: 400; color: var(--gray); }
.field label .req { color: var(--teal-ink); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .75rem .9rem;
  border: 1.5px solid #C9D3DD; border-radius: 10px; background: var(--white);
  font-size: 1rem; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-ink); box-shadow: 0 0 0 3px rgba(15, 163, 163, .2); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--danger); }
.field-error { font-size: .85rem; color: var(--danger); min-height: 0; }
.field-error:empty { display: none; }
.consent { display: flex; gap: .65rem; align-items: flex-start; font-size: .9rem; color: #475467; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--teal-ink); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: .4rem; }
.form-actions small { color: var(--gray); }
.form-status { margin-top: 1rem; padding: .9rem 1rem; border-radius: 10px; font-size: .95rem; }
.form-status:empty { display: none; }
.form-status.is-error { background: #FEF3F2; color: var(--danger); }
.form-success { text-align: center; padding: 2.5rem 1rem; }
.form-success svg { width: 56px; height: 56px; margin: 0 auto 1rem; color: var(--success); }
.form-success h3 { font-size: var(--fs-lg); }
.form-success p { color: var(--gray); max-width: 42ch; margin-inline: auto; }
.contact-info h3 { font-size: 1rem; margin-bottom: .3rem; }
.contact-info .info-block { padding: 1.25rem 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 44px 1fr; gap: 1rem; }
.contact-info .info-block:first-child { padding-top: 0; }
.contact-info p { margin: 0; color: #475467; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #B7C7D6; padding-top: 4rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.site-footer .brand { color: var(--white); margin-bottom: 1rem; }
.site-footer .brand-tag { color: var(--teal); }
.site-footer h4 { color: var(--white); font-size: .95rem; margin-bottom: 1rem; }
.site-footer li { padding: .25rem 0; }
.site-footer a { color: #B7C7D6; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.socials { display: flex; gap: .5rem; margin-top: 1.25rem; }
.socials a { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .15); }
.socials a:hover { border-color: var(--teal); text-decoration: none; }
.socials svg { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 1.4rem; display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between; font-size: .85rem; color: #8FA3B8; }
.site-footer.compact { padding-top: 0; }
.site-footer.compact .footer-bottom { border-top: 0; }
.footer-bottom button { background: none; border: 0; color: #B7C7D6; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; font-size: .85rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Botão flutuante ---------- */
.fab { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90; }
.fab-btn {
  width: 58px; height: 58px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--teal); color: var(--navy-deep); display: grid; place-items: center;
  box-shadow: 0 10px 28px -8px rgba(7, 29, 52, .55), 0 0 0 3px rgba(255, 255, 255, .9);
  transition: background-color .2s, transform .2s var(--ease);
}
.fab-btn:hover { background: #12B8B8; }
.fab-btn svg { width: 24px; height: 24px; }
.fab-btn .ic-close { display: none; }
.fab-btn[aria-expanded="true"] .ic-open { display: none; }
.fab-btn[aria-expanded="true"] .ic-close { display: block; }
.fab-menu {
  position: absolute; right: 0; bottom: 72px; min-width: 240px;
  background: var(--white); border-radius: var(--r-md); border: 1px solid var(--line); box-shadow: var(--shadow);
  padding: .5rem; opacity: 0; transform: translateY(8px) scale(.98); transform-origin: bottom right; visibility: hidden;
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s .18s;
}
.fab-menu.is-open { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.fab-menu a, .fab-menu button {
  display: flex; align-items: center; gap: .75rem; width: 100%; min-height: 48px; padding: .6rem .8rem;
  border-radius: 10px; border: 0; background: none; text-align: left; cursor: pointer;
  color: var(--ink); text-decoration: none; font-size: .95rem;
}
.fab-menu a:hover, .fab-menu button:hover { background: var(--surface); color: var(--navy); }
.fab-menu svg { width: 20px; height: 20px; color: var(--teal-ink); flex: none; }
.fab-menu small { display: block; color: var(--gray); font-size: .8rem; }

/* ---------- Modal de cotação ---------- */
dialog.modal {
  width: min(720px, calc(100% - 2rem)); max-height: calc(100dvh - 2rem);
  padding: 0; border: 0; border-radius: var(--r-lg); box-shadow: 0 30px 80px -20px rgba(7, 29, 52, .5);
  overflow: auto; color: var(--ink);
}
dialog.modal::backdrop { background: rgba(7, 29, 52, .55); backdrop-filter: blur(2px); }
dialog.modal[open] { animation: modal-in .22s var(--ease); }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: 1.75rem 1.75rem 0; }
.modal-head h2 { font-size: var(--fs-lg); margin-bottom: .25rem; }
.modal-head p { color: var(--gray); margin: 0; font-size: .95rem; }
.modal-close { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--surface); cursor: pointer; display: grid; place-items: center; color: var(--navy); }
.modal-close:hover { background: var(--line); }
.modal-close svg { width: 20px; height: 20px; }
.modal-body { padding: 1.5rem 1.75rem 1.75rem; }

/* ---------- Cookies ---------- */
.cookie {
  position: fixed; left: 1rem; bottom: 1rem; z-index: 95; max-width: 440px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow);
  padding: 1.25rem; font-size: .92rem; color: #344054;
}
.cookie[hidden] { display: none; }
.cookie p { margin-bottom: 1rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-actions .btn { min-height: 44px; padding: .55rem 1.1rem; font-size: .9rem; }
@media (max-width: 560px) { .cookie { left: .75rem; right: .75rem; bottom: .75rem; max-width: none; } .cookie-open .fab { bottom: 12.5rem; } }
.link-btn { background: none; border: 0; padding: 0; color: var(--teal-ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font: inherit; }
.link-btn:hover { color: var(--navy); }

/* ---------- Páginas internas ---------- */
.page-hero { padding-top: calc(var(--header-h) + 3.5rem); padding-bottom: 2.5rem; background: var(--hex-pattern) repeat, var(--surface); }
.page-hero p { color: var(--gray); max-width: 60ch; font-size: var(--fs-md); margin: 0; }
.prose { max-width: 72ch; padding-block: 3rem 5rem; }
.prose h2 { font-size: var(--fs-lg); margin-top: 2.2em; }
.prose p, .prose li { color: #344054; }
.prose ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 1em; }
.prose li { margin-bottom: .35rem; }
.breadcrumb { font-size: .9rem; color: var(--gray); margin-bottom: 1rem; }
.breadcrumb a { color: var(--teal-ink); }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; padding-block: 3rem 5rem; }
.post { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.5rem; background: var(--white); }
.post time { font-size: .85rem; color: var(--gray); margin-bottom: .6rem; }
.post h2 { font-size: 1.15rem; }
.post h2 a { color: var(--navy); text-decoration: none; }
.post h2 a:hover { color: var(--teal-ink); text-decoration: underline; }
.post p { color: #475467; font-size: .95rem; }
.post .tag { margin-top: auto; align-self: flex-start; font-size: .8rem; padding: .2rem .6rem; border-radius: 6px; background: var(--surface); color: var(--navy); }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .posts { grid-template-columns: 1fr; } }

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