/* =========================================================
   Sianfer — Home
   Paleta e tipografia extraídas do projeto Framer original
   ========================================================= */

:root {
  --yellow: #F5C518;
  --yellow-strong: #E3B30A;
  --ink: #1A1A1A;
  --ink-2: #2A2A2A;
  --text: #1A1A1A;
  --muted: #5B5B5B;
  --line: #DBDBDB;
  --bg: #FFFFFF;
  --bg-soft: #F7F7F5;
  --white: #FFFFFF;

  --radius-sm: 8px;
  --radius: 24px;
  --radius-lg: 40px;

  --container: 1360px;
  --gutter: 40px;
  --header-h: 100px;

  --shadow-header: 0 1px 25px rgba(0, 0, 0, .10);
  --shadow-card: 0 18px 40px -18px rgba(26, 26, 26, .25);

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- Reset básico ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }
button { font: inherit; cursor: pointer; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: var(--radius-sm);
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  padding: 16px 32px 16px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-weight: 700; font-size: 16px; line-height: 1;
  transition: background-color .25s var(--ease-out), color .25s var(--ease-out), border-color .25s, transform .25s var(--ease-out), box-shadow .25s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-icon { width: 18px; height: 20px; flex: none; }
.btn-primary { background: var(--yellow); color: #000; }
.btn-primary:hover { background: var(--ink); color: var(--white); border-color: #444; box-shadow: 0 10px 24px -12px rgba(0,0,0,.45); }
.btn-ghost { padding-inline: 24px; color: var(--ink); border-color: rgba(26,26,26,.25); background: rgba(255,255,255,.55); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--ink); background: var(--white); }
.btn-outline-light { padding-inline: 24px; color: var(--white); border-color: rgba(255,255,255,.35); }
.btn-outline-light:hover { border-color: var(--yellow); color: var(--yellow); }
.cta .btn-primary:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.4) blur(10px);
  box-shadow: var(--shadow-header);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand img { height: 64px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 40px; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a {
  position: relative; font-weight: 500; font-size: 16px; line-height: 1; padding: 8px 0; color: var(--ink);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out);
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }

.lang-switch { display: flex; gap: 12px; }
.lang { display: block; width: 28px; height: 28px; border-radius: 4px; overflow: hidden; opacity: .45; filter: grayscale(.4); }
.lang.is-active { opacity: 1; filter: none; box-shadow: 0 0 0 2px var(--white), 0 0 0 3px var(--yellow); }
.lang img { width: 100%; height: 100%; object-fit: cover; }

.ticker { display: flex; gap: 16px; font-size: 14px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.ticker[hidden] { display: none; }
.ticker-item { display: grid; grid-template-columns: auto auto; column-gap: 6px; align-items: baseline; }
.ticker-label { font-weight: 700; }
.ticker-var { grid-column: 1 / -1; font-size: 12px; }
.ticker-var.up { color: #16A34A; }
.ticker-var.down { color: #DC2626; }

.menu-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px;
  flex-direction: column; justify-content: space-between;
}
.menu-toggle span { display: block; height: 2px; width: 100%; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease-out), opacity .2s; }
.menu-toggle span:nth-child(2) { width: 100%; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(640px, calc(100vh - var(--header-h)));
  min-height: max(640px, calc(100svh - var(--header-h)));
  display: flex; align-items: center;
  padding-block: 80px;
}
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg { z-index: -2; }
.hero-bg img { object-fit: cover; object-position: 60% center; }
.hero::before { /* leve véu para garantir legibilidade do texto */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(255,255,255,.72) 0%, rgba(255,255,255,.35) 38%, rgba(255,255,255,0) 58%);
}
.hero-content { max-width: 640px; }
.hero h1 {
  font-size: clamp(42px, 5.3vw, 76px);
  line-height: 1.04; font-weight: 800; letter-spacing: -0.035em;
  text-wrap: balance;
}
.hero-lead { margin-top: 24px; max-width: 560px; font-size: 18px; font-weight: 600; line-height: 1.5; }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

/* =========================================================
   NÚMEROS
   ========================================================= */
.stats { background: var(--ink); color: var(--white); padding-block: 48px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 32px; }
.stat { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.stat-icon { height: 64px; width: auto; margin-bottom: 16px; color: var(--white); filter: invert(1); }
.stat-number { font-size: 48px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; color: var(--yellow); font-variant-numeric: tabular-nums; }
.stat-label { font-size: 18px; font-weight: 600; line-height: 1.5; }

/* =========================================================
   SEÇÕES
   ========================================================= */
.section { padding-block: 96px; }
.section-tight-top { padding-top: 24px; }
.section-head { margin-bottom: 56px; }
.section-head h2 {
  font-size: clamp(32px, 3.2vw, 44px); line-height: 1.2; font-weight: 800; letter-spacing: -0.03em;
}
.section-head p { margin-top: 12px; font-size: 18px; font-weight: 600; color: var(--muted); }
.accent-line {
  display: block; margin-top: 16px; width: min(352px, 60%); height: 5px; border-radius: 5px; background: var(--yellow);
  transform-origin: left;
}

/* ---------- Por que escolher ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.why-card {
  display: flex; flex-direction: column; justify-content: center; gap: 16px;
  min-height: 220px; padding: 24px 28px;
  border: 2.5px solid var(--yellow); border-radius: var(--radius-lg); background: var(--white);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background-color .35s;
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.why-top { display: flex; align-items: center; gap: 14px; }
.why-icon {
  flex: none; width: 52px; height: 52px; background: var(--ink);
  -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat;
}
.why-card h3 { font-size: 22px; line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }
.why-card p { font-size: 16px; font-weight: 500; color: var(--muted); }

/* ---------- Setores ---------- */
.sector-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.sector-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  height: 220px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
  transition: box-shadow .35s var(--ease-out), border-color .35s, transform .35s var(--ease-out);
}
.sector-photo { width: 100%; height: 150px; object-fit: cover; transition: transform .6s var(--ease-out); }
.sector-body { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding-bottom: 12px; }
.sector-icon { position: absolute; top: -24px; left: 50%; translate: -50% 0; width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 0 0 4px var(--white); transition: scale .35s var(--ease-out); }
.sector-name { font-size: 20px; font-weight: 600; line-height: 1.2; text-align: center; }
.sector-card:hover { transform: translateY(-4px); border-color: var(--yellow); box-shadow: var(--shadow-card); }
.sector-card:hover .sector-photo { transform: scale(1.06); }
.sector-card:hover .sector-icon { scale: 1.1; }

/* ---------- Operações ---------- */
.ops-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.op-card {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.op-card img { width: 100%; height: 173px; object-fit: cover; transition: transform .6s var(--ease-out); }
.op-body { padding: 16px 16px 20px; display: flex; flex-direction: column; gap: 8px; background: var(--white); position: relative; }
.op-card h3 { font-size: 18px; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
.op-card p { font-size: 15px; font-weight: 500; line-height: 1.45; color: var(--muted); }
.op-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.op-card:hover img { transform: scale(1.05); }

/* ---------- Processo (linha do tempo) ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; counter-reset: step; }
.steps::before { /* trilho que conecta as etapas */
  content: ""; position: absolute; top: 56px; left: 10%; right: 10%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 18px);
}
.step {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px;
  padding: 32px 20px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
  transition: border-color .3s, box-shadow .35s var(--ease-out), transform .35s var(--ease-out);
}
.step:hover { border-color: var(--yellow); box-shadow: var(--shadow-card); transform: translateY(-4px); }
.step-num {
  display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 10px; border-radius: 50%;
  background: var(--ink); color: var(--white); font-size: 24px; font-weight: 700; line-height: 1;
  box-shadow: 0 0 0 6px var(--white);
  transition: background-color .3s, color .3s;
}
.step:hover .step-num { background: var(--yellow); color: var(--ink); }
.step h3 { font-size: 20px; font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
.step p { font-size: 15px; font-weight: 500; color: var(--muted); }

/* =========================================================
   CTA
   ========================================================= */
.cta { background: var(--ink); color: var(--white); padding-block: 96px; overflow: hidden; }
.cta-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.cta h2 { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; }
.cta-text p { margin-top: 16px; font-size: 18px; font-weight: 600; color: rgba(255,255,255,.78); }
.cta-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.cta-photo { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; }
.cta-photo > img { width: 100%; height: 100%; object-fit: cover; }
.cta-photo figcaption img { flex: none; width: 16px; height: 18px; }
.cta-photo figcaption {
  position: absolute; left: 16px; bottom: 16px; right: 16px; width: fit-content;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 999px; background: rgba(26,26,26,.82); backdrop-filter: blur(8px);
  font-size: 14px; font-weight: 600;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--ink); color: var(--white); padding-top: 80px; border-top: 1px solid #2c2c2c; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .8fr 1.6fr; gap: 40px; padding-bottom: 56px; }
.footer-brand img { height: 48px; width: auto; }
.footer-brand p { margin-top: 16px; max-width: 300px; font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.85); }
.footer-col h3 { font-size: 16px; font-weight: 700; line-height: 1; margin-bottom: 24px; color: var(--yellow); }
.footer-col ul { display: flex; flex-direction: column; gap: 16px; }
.footer-col a { color: rgba(255,255,255,.85); transition: color .2s; }
.footer-col a:hover { color: var(--yellow); }
.social { flex-direction: row !important; gap: 10px !important; }
.social a { display: block; border-radius: 50%; transition: transform .25s var(--ease-out); }
.social a:hover { transform: translateY(-3px); }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact li img { flex: none; margin-top: 3px; }
.footer-legal {
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding-block: 20px; border-top: 1px solid #333; font-size: 14px; color: rgba(255,255,255,.65);
}

/* WhatsApp flutuante */
.whatsapp-fab {
  position: fixed; right: 32px; bottom: 40px; z-index: 60;
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: #25D366; color: var(--white);
  box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .6);
  transition: background-color .25s, transform .25s var(--ease-out);
}
.whatsapp-fab svg { width: 34px; height: 34px; }
.whatsapp-fab:hover { background: #159E47; transform: scale(1.06); }
.whatsapp-fab::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366;
  animation: pulse 2.4s var(--ease-out) infinite;
}
@keyframes pulse { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(1.6); } }

/* =========================================================
   ANIMAÇÕES DE ENTRADA (só com JS ativo)
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--delay, 0s); }
.js .reveal-left { transform: translateX(-60px); }
.js .reveal.is-visible { opacity: 1; transform: none; }

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

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1439.98px) {
  .ticker { display: none; }
  .ops-grid { grid-template-columns: repeat(3, 1fr); }
  .sector-grid { grid-template-columns: repeat(5, 1fr); gap: 16px; }
  .why-grid { gap: 24px; }
}

@media (max-width: 1180px) {
  :root { --header-h: 76px; }
  .brand img { height: 52px; }
  .menu-toggle { display: flex; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 24px;
    padding: 24px var(--gutter) 32px; background: var(--white);
    box-shadow: 0 20px 30px -20px rgba(0,0,0,.25);
    clip-path: inset(0 0 100% 0); visibility: hidden;
    transition: clip-path .35s var(--ease-out), visibility .35s;
  }
  .main-nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
  .nav-links { flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; font-size: 18px; }
  .nav-links a::after { bottom: 6px; right: auto; width: 32px; }

  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .sector-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(6, 1fr); }
  .steps::before { display: none; }
  .step { grid-column: span 2; }
  .step:nth-child(4) { grid-column: 2 / span 2; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 809.98px) {
  :root { --gutter: 20px; --header-h: 64px; }
  .brand img { height: 44px; }
  .section { padding-block: 64px; }
  .section-tight-top { padding-top: 8px; }
  .section-head { margin-bottom: 32px; }

  .hero { min-height: auto; padding-block: 0 48px; align-items: flex-start; flex-direction: column; }
  .hero-bg { position: relative; inset: auto; height: 300px; }
  .hero-bg img { position: absolute; }
  .hero::before { display: none; }
  .hero-inner { margin-top: -56px; }
  .hero-content { position: relative; background: var(--white); border-radius: var(--radius); padding: 28px 22px 24px; box-shadow: var(--shadow-card); }
  .hero h1 { font-size: 38px; }
  .hero-lead { font-size: 17px; margin-top: 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; white-space: normal; }

  .stats { padding-block: 40px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 32px 16px; }
  .stat-icon { height: 44px; margin-bottom: 8px; }
  .stat-number { font-size: 34px; }
  .stat-label { font-size: 15px; }

  .why-grid { grid-template-columns: 1fr; gap: 16px; }
  .why-card { min-height: 0; border-radius: var(--radius); padding: 22px; }
  .why-card h3 { font-size: 20px; }

  .sector-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .sector-card { height: 176px; border-radius: 18px; }
  .sector-photo { height: 112px; }
  .sector-icon { width: 40px; height: 40px; top: -20px; }
  .sector-name { font-size: 16px; }

  /* Operações viram carrossel com scroll-snap */
  .ops-grid {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px;
    margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 20px; scrollbar-width: none;
  }
  .ops-grid::-webkit-scrollbar { display: none; }
  .op-card { flex: 0 0 78%; scroll-snap-align: start; }

  .steps { display: flex; flex-direction: column; gap: 14px; }
  .step { flex-direction: row; align-items: flex-start; text-align: left; gap: 16px; padding: 20px; flex-wrap: wrap; }
  .step-num { flex: none; margin: 0; width: 40px; height: 40px; font-size: 20px; }
  .step h3 { flex: 1; align-self: center; font-size: 18px; }
  .step p { flex-basis: 100%; padding-left: 56px; margin-top: -6px; }

  .cta { padding-block: 64px; }
  .cta-inner { grid-template-columns: 1fr; gap: 36px; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; white-space: normal; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-legal { flex-direction: column; gap: 6px; }

  .whatsapp-fab { right: 16px; bottom: 20px; width: 58px; height: 58px; }
  .whatsapp-fab svg { width: 30px; height: 30px; }
}

/* =========================================================
   COMPONENTES DAS PÁGINAS INTERNAS
   ========================================================= */
.i { width: 24px; height: 24px; flex: none; }

.badge {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--yellow);
  background: #FFF6D6; color: var(--ink); font-size: 14px; font-weight: 700; line-height: 1;
}
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }
.badge-dark { background: rgba(245,197,24,.12); color: var(--yellow); }

/* ---------- Hero das páginas internas ---------- */
.page-hero { padding-block: 88px 72px; background: linear-gradient(180deg, var(--bg-soft) 0%, var(--white) 100%); }
.page-hero-inner { max-width: 980px; display: flex; flex-direction: column; gap: 24px; }
.page-hero h1 { font-size: clamp(40px, 5.2vw, 72px); line-height: 1.04; font-weight: 800; letter-spacing: -0.035em; text-wrap: balance; }
.page-hero .lead { font-size: 18px; font-weight: 600; line-height: 1.5; color: #3d3d3d; max-width: 720px; }
.page-hero-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.page-hero-split .page-hero-inner { max-width: none; }
.page-hero-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 11; box-shadow: var(--shadow-card); }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Grids e cards ---------- */
.grid-2, .grid-3, .grid-4, .grid-5 { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

.card {
  display: flex; flex-direction: column; gap: 14px; padding: 28px;
  background: var(--white); border: 2.5px solid #F2F2F2; border-radius: 32px;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.card-accent { border-color: var(--yellow); }
.card h3 { font-size: 22px; font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
.card p { color: var(--muted); font-weight: 500; }
.icon-badge {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; flex: none;
  background: var(--yellow); color: var(--ink);
}
.icon-badge .i { width: 24px; height: 24px; }
.icon-badge-dark { background: var(--ink); color: var(--yellow); }

.check-list { display: flex; flex-direction: column; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: #3d3d3d; }
.check-list li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1A1A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.banner-dark {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 40px 48px; border-radius: var(--radius); background: var(--ink); color: var(--white);
}
.banner-dark p { font-size: clamp(24px, 2.6vw, 36px); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; max-width: 900px; }
.banner-dark p strong { color: var(--yellow); font-weight: inherit; }

.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--yellow); color: var(--ink); }
.btn-outline { padding-inline: 24px; border-color: #cfcfcf; color: var(--ink); background: var(--white); }
.btn-outline:hover { border-color: var(--ink); }
.btn-sm { padding: 12px 18px; font-size: 15px; gap: 10px; }
.btn .i { width: 18px; height: 18px; }

/* ---------- Sobre nós: linha do tempo ---------- */
.story { display: flex; flex-direction: column; gap: 0; }
.story-row { display: grid; grid-template-columns: 1fr 88px 1fr; gap: 32px; align-items: stretch; }
.story-row .story-media { order: 1; }
.story-row .story-text { order: 3; }
.story-row:nth-child(even) .story-media { order: 3; }
.story-row:nth-child(even) .story-text { order: 1; }
.story-media { padding-bottom: 96px; }
.story-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.story-rail { order: 2; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.story-num { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--ink); }
.story-bar { position: relative; flex: 1; width: 3px; border-radius: 3px; background: #EDEDED; overflow: hidden; }
.story-bar span { position: absolute; inset: 0 0 auto 0; height: calc(var(--p, 0) * 100%); background: var(--yellow); border-radius: 3px; }
.story-text { display: flex; flex-direction: column; gap: 14px; padding-bottom: 96px; padding-top: 8px; }
.story-kicker { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #9a7a00; }
.story-text h3 { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.story-text p { font-size: 17px; line-height: 1.7; color: #3d3d3d; }
.story-row:last-child .story-media, .story-row:last-child .story-text { padding-bottom: 0; }

/* ---------- Seções escuras (estrutura) ---------- */
.section-dark { background: var(--ink); color: var(--white); padding-block: 96px; }
.section-dark .section-head h2 { color: var(--white); }
.section-dark .section-head p { color: rgba(255,255,255,.7); }
.unit-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); border: 1.5px solid #3a3a3a; background: #222; }
.unit-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.unit-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.unit-body h3 { font-size: 22px; font-weight: 700; }
.unit-body p { color: rgba(255,255,255,.72); font-weight: 500; }
.unit-card-map { position: relative; justify-content: flex-end; min-height: 320px; background: #1d1d1d url("/assets/img/mapa-brasil.webp") center 35% / 85% no-repeat; }

/* ---------- Sucata: processo ---------- */
.proc-card { display: flex; flex-direction: column; gap: 14px; padding: 28px 18px 18px; border: 2.5px solid #F2F2F2; border-radius: var(--radius); background: var(--white); text-align: center; align-items: center; transition: transform .35s var(--ease-out), box-shadow .35s; }
.proc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.proc-card h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.proc-card p { font-size: 15px; font-weight: 500; color: var(--muted); flex: 1; }
.proc-card img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 16px; background: #eee; }

/* ---------- Sucata: tabelas de ligas ---------- */
.materials { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.material-card { border: 2.5px solid #F2F2F2; border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; gap: 20px; background: var(--white); }
.material-card h3 { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; }
.material-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.material-count { font-size: 14px; font-weight: 700; color: var(--muted); }
.alloy-search { position: relative; }
.alloy-search .i { position: absolute; left: 14px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; color: var(--muted); }
.alloy-search input { width: 100%; padding: 12px 14px 12px 42px; border: 1.5px solid #E2E2E2; border-radius: 10px; font: inherit; font-size: 15px; }
.alloy-search input:focus { outline: none; border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(245,197,24,.25); }
.alloy-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.alloy-table th { text-align: left; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 0 8px 10px; border-bottom: 2px solid var(--ink); }
.alloy-table td { padding: 11px 8px; border-bottom: 1px solid #EFEFEF; vertical-align: top; }
.alloy-table td:first-child { font-weight: 700; width: 45%; }
.alloy-table td:last-child { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13.5px; color: #3d3d3d; }
.alloy-table tr:hover td { background: #FFFBEA; }
.alloy-table .empty td { text-align: center; color: var(--muted); font-family: var(--font); font-weight: 500; }
.material-note { font-size: 18px; font-weight: 700; line-height: 1.35; }
.material-note small { display: block; margin-top: 6px; font-size: 15px; font-weight: 600; color: var(--muted); }
.callout-yellow { padding: 20px 22px; border-radius: 18px; background: var(--yellow); font-size: 22px; font-weight: 800; line-height: 1.25; letter-spacing: -0.01em; }
.desmob-card { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.desmob-card p { font-size: 18px; font-weight: 500; color: #3d3d3d; line-height: 1.6; }

.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature-split img { width: 100%; height: 100%; max-height: 520px; object-fit: cover; border-radius: var(--radius); }
.feature-text { display: flex; flex-direction: column; gap: 22px; }
.feature-text h2 { font-size: clamp(32px, 3.2vw, 46px); line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; }
.feature-text p { font-size: 18px; font-weight: 500; color: #3d3d3d; line-height: 1.6; }
.quote { padding: 16px 22px; border-radius: 16px; background: #FFE066; border-left: 5px solid var(--ink); font-size: 18px; font-weight: 700; line-height: 1.4; }

.pill-card { display: flex; align-items: center; gap: 16px; padding: 22px 24px; border: 2.5px solid var(--yellow); border-radius: 28px; background: var(--white); font-size: 20px; font-weight: 700; line-height: 1.25; transition: transform .35s var(--ease-out), box-shadow .35s; }
.pill-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }

/* ---------- Certificados ---------- */
.doc-card { justify-content: space-between; min-height: 250px; }
.doc-card .btn { margin-top: auto; width: fit-content; }
.media-card { overflow: hidden; border: 1.5px solid #E5E5E5; border-radius: var(--radius); background: var(--white); display: flex; flex-direction: column; }
.media-card img { width: 100%; height: 180px; object-fit: cover; }
.media-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; }
.media-card-body h3 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.media-card-body p { color: var(--muted); font-weight: 500; line-height: 1.6; }
.seal { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 28px 16px; border: 2.5px solid var(--yellow); border-radius: 28px; }
.seal strong { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.seal span { font-weight: 600; color: var(--muted); }
.compliance-row { display: grid; grid-template-columns: 1.1fr 1.9fr; gap: 24px; }

/* ---------- Formulários ---------- */
.form-layout { display: grid; grid-template-columns: 1.7fr 1fr; gap: 32px; align-items: start; }
.form-card { padding: 36px; border: 2.5px solid #F2F2F2; border-radius: var(--radius); background: var(--white); }
.form-card > h2 { font-size: clamp(28px, 2.6vw, 38px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 8px; }
.form-card > .form-sub { color: var(--muted); font-weight: 500; margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label, .field .label { font-size: 15px; font-weight: 700; }
.field label .opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border: 1.5px solid #D9D9D9; border-radius: 10px; background: var(--white);
  font: inherit; font-size: 16px; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; padding-right: 40px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1A1A' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(245,197,24,.35); }
.field.has-error input, .field.has-error select, .field.has-error textarea, .field.has-error .file-drop { border-color: #DC2626; }
.field-error { font-size: 13px; font-weight: 600; color: #DC2626; min-height: 0; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.file-drop {
  position: relative; display: flex; align-items: center; gap: 14px; padding: 18px;
  border: 1.5px dashed #BDBDBD; border-radius: 12px; background: #FAFAFA; cursor: pointer; transition: border-color .2s, background-color .2s;
}
.file-drop:hover, .file-drop.is-drag { border-color: var(--ink); background: #FFFBEA; }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-drop .icon-badge { width: 44px; height: 44px; }
.file-drop-text { display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.file-drop-text strong { font-weight: 700; }
.file-drop-text span { color: var(--muted); font-weight: 500; font-size: 14px; }
.file-drop.has-file { border-style: solid; border-color: var(--yellow); background: #FFFBEA; }

.form-actions { margin-top: 26px; display: flex; flex-direction: column; gap: 12px; }
.form-actions .btn { width: 100%; }
.form-note { display: flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 500; color: var(--muted); }
.form-note .i { width: 16px; height: 16px; }
.btn[disabled] { opacity: .65; pointer-events: none; }
.btn .spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-alert { margin-top: 16px; padding: 14px 16px; border-radius: 12px; font-weight: 600; font-size: 15px; }
.form-alert.error { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.form-success { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 40px 12px; }
.form-success .icon-badge { width: 72px; height: 72px; }
.form-success .icon-badge .i { width: 34px; height: 34px; }
.form-success h3 { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
.form-success p { color: var(--muted); font-weight: 500; max-width: 420px; }

.aside-card { display: flex; flex-direction: column; gap: 28px; padding: 36px 30px; border-radius: var(--radius); background: var(--bg-soft); border: 2.5px solid #F0F0F0; position: sticky; top: calc(var(--header-h) + 24px); }
.aside-card h2 { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.aside-card p { color: var(--muted); font-weight: 500; }
.contact-line { display: flex; gap: 16px; align-items: center; }
.contact-line .icon-badge { width: 48px; height: 48px; }
.contact-line small { display: block; font-size: 14px; font-weight: 700; color: var(--muted); }
.contact-line a, .contact-line span { font-size: 18px; font-weight: 700; }
.contact-line a:hover { color: #9a7a00; }
.aside-card img.aside-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; }
.aside-divider { height: 1px; background: #E5E5E5; }

/* ---------- Localizações ---------- */
.locations { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.location-card { display: flex; flex-direction: column; gap: 14px; padding: 28px; border: 2.5px solid #F0F0F0; border-radius: var(--radius); }
.location-card h3 { font-size: 22px; font-weight: 800; }
.location-card address { font-weight: 500; color: #3d3d3d; line-height: 1.6; flex: 1; }

/* ---------- 404 ---------- */
.not-found { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: 96px; }
.not-found strong { display: block; font-size: clamp(90px, 16vw, 180px); font-weight: 800; letter-spacing: -0.06em; line-height: .9; color: var(--yellow); -webkit-text-stroke: 3px var(--ink); }
.not-found h1 { margin-top: 16px; font-size: 34px; font-weight: 800; letter-spacing: -0.02em; }
.not-found p { margin: 10px auto 28px; color: var(--muted); font-weight: 500; max-width: 440px; }

/* ---------- Responsivo das internas ---------- */
@media (max-width: 1180px) {
  .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .materials, .feature-split, .compliance-row, .desmob-card { grid-template-columns: 1fr; }
  .form-layout { grid-template-columns: 1fr; }
  .aside-card { position: static; }
  .page-hero-split { grid-template-columns: 1fr; }
}
@media (max-width: 809.98px) {
  .page-hero { padding-block: 48px 40px; }
  .page-hero .lead { font-size: 17px; }
  .grid-2, .grid-3, .grid-4, .grid-5, .locations { grid-template-columns: 1fr; }
  .card { border-radius: var(--radius); padding: 22px; }
  .story-row { grid-template-columns: 44px 1fr; gap: 16px; }
  .story-row .story-rail { order: 0 !important; grid-row: span 2; }
  .story-row .story-media, .story-row .story-text { order: 0 !important; grid-column: 2; padding-bottom: 20px; }
  .story-row .story-text { padding-bottom: 48px; }
  .story-num { font-size: 28px; }
  .story-text h3 { font-size: 24px; }
  .section-dark { padding-block: 64px; }
  .banner-dark { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
  .material-card { padding: 24px 16px; }
  .material-card h3 { font-size: 28px; }
  .alloy-table { font-size: 14px; }
  .form-card { padding: 24px 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .aside-card { padding: 28px 22px; }
  .pill-card { font-size: 18px; }
}
.form-success:focus { outline: none; }
