/* ==========================================================================
   Norte Dent — site one-page
   Tokens: Design System 1.0 (07/10/2026)
   ========================================================================== */

:root {
  /* Cor */
  --accent: #F5760D;          /* Laranja Norte: marca, fundo de botão, ícones */
  --accent-hover: #FF8C2E;
  --accent-press: #DB6A0A;
  --on-accent: #17262A;       /* texto sobre laranja (5,6:1) — nunca branco */
  --teal: #35666D;
  --wa: #0F7A55;              /* verde WhatsApp escurecido: 5,3:1 sobre branco */
  --wa-tint: #E8F7EE;
  --wa-on-dark: #8FE3B5;      /* verde claro para botões sobre o bloco escuro (8,7:1) */            /* nome do logo, links, rótulos */
  --teal-tint: #E6F0F1;
  --tint: #FFEBDC;            /* laranja claro */
  --surface: #FFFFFF;
  --surface-warm: #FFF7F0;
  --fg: #17262A;
  --fg-soft: #4B5F64;
  --line: #E0E6E6;
  --ink-block: #17343A;
  --on-ink: #F1F7F7;
  --on-ink-soft: #B9CDD0;
  --focus: #17262A;

  /* Tipografia */
  --font-display: 'Baloo Chettan 2', 'Nunito', 'Trebuchet MS', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --fs-hero: clamp(2.5rem, 1.7rem + 3vw, 4.25rem);
  --fs-h2: clamp(1.75rem, 1.35rem + 1.7vw, 2.75rem);
  --fs-h3: 1.25rem;
  --fs-body: 1rem;
  /* Espaçamento da Baloo: aperta mais quanto maior o título */
  --track-hero: -0.035em;
  --track-h2: -0.025em;
  --track-h3: -0.012em;
  --fs-lead: clamp(1.0625rem, 1rem + .3vw, 1.1875rem);

  /* Forma e espaço */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;
  --gutter: clamp(16px, 4vw, 32px);
  --container: 1280px;       /* coluna de conteúdo */
  --container-wide: 1440px;  /* blocos coloridos (hero, faixas, banners, rodapé) */
  --section-space: clamp(48px, 7vw, 88px);

  --shadow-1: 0 1px 2px rgba(23,38,42,.06), 0 2px 8px rgba(23,38,42,.06);
  --shadow-2: 0 4px 14px rgba(23,38,42,.14);
  --shadow-3: 0 8px 24px rgba(23,38,42,.22);

  --header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; margin: 0; text-wrap: balance; }
h2 { letter-spacing: var(--track-h2); }
h3 { letter-spacing: var(--track-h3); }
p { margin: 0; }
a { color: var(--teal); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--wide { max-width: var(--container-wide); }
.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .8125rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--teal);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: var(--r-pill);
  border: 2px solid transparent;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, transform .15s, box-shadow .15s;
  white-space: nowrap;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: var(--shadow-2); }
.btn--primary:active { background: var(--accent-press); transform: none; box-shadow: none; }
.btn--outline { background: transparent; color: var(--fg); border-color: var(--fg); }
.btn--outline:hover { background: var(--tint); }
.btn--wa { background: var(--surface); color: var(--wa); border-color: var(--wa); }
.btn--wa:hover { background: var(--wa); color: #FFFFFF; transform: translateY(-1px); box-shadow: var(--shadow-2); }
.btn--wa:active { background: #0B6B45; border-color: #0B6B45; color: #FFFFFF; transform: none; box-shadow: none; }
.btn--wa-dark { background: transparent; color: var(--wa-on-dark); border-color: var(--wa-on-dark); }
.btn--wa-dark:hover { background: var(--wa-on-dark); color: var(--ink-block); transform: translateY(-1px); }
.btn--lg { min-height: 56px; padding: 0 24px; font-size: 1.125rem; }
.btn--sm { min-height: 46px; padding: 0 20px; font-size: 1rem; }

/* ---------- 0. Top bar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  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;
}
.topbar.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 2px 12px rgba(23,38,42,.06); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.topbar__logo { flex: none; }
.topbar__logo img { width: 140px; height: auto; }
.topbar__nav { display: flex; gap: 4px 28px; flex-wrap: wrap; }
.topbar__nav a { color: var(--fg); text-decoration: none; font-weight: 500; font-size: .9375rem; padding: 6px 2px; border-bottom: 2px solid transparent; }
.topbar__nav a:hover { border-bottom-color: var(--accent); }
@media (max-width: 860px) {
  .topbar__nav { display: none; }
  .topbar__logo img { width: 112px; }
  :root { --header-h: 68px; }
  .topbar .btn { min-height: 44px; padding: 0 16px; font-size: .9375rem; }
  .topbar .btn .btn__long { display: none; }
}
@media (min-width: 861px) { .topbar .btn .btn__short { display: none; } }

/* ---------- 1. Hero ---------- */
/* Faixa verde-petróleo de ponta a ponta atrás do card laranja: separa o hero do resto da página */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ink-block);
  padding-block: clamp(16px, 3vw, 40px) clamp(36px, 5vw, 64px);
}
.hero__card {
  /* Textura D: arcos concêntricos saindo do canto da foto + grão de papel quase imperceptível */
  background:
    url("../img/textura-arcos.svg") right bottom / cover no-repeat,
    url("../img/textura-grao.svg") 0 0 / 300px 300px,
    var(--tint);
  border-radius: var(--r-xl);
  /* o texto interno se alinha à coluna de 1280 px */
  padding-block: clamp(28px, 5vw, 72px);
  padding-inline: clamp(24px, 5vw, 96px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.hero__text { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.hero__title { font-weight: 800; font-size: var(--fs-hero); line-height: 1; letter-spacing: var(--track-hero); }
.hero__title em { font-style: normal; color: var(--teal); }
.hero__lead { font-size: var(--fs-lead); color: var(--fg-soft); max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .875rem; color: var(--fg-soft); }
.hero__trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero__trust svg { width: 18px; height: 18px; color: var(--teal); }

.hero__media { position: relative; min-width: 0; }
.hero__photo {
  aspect-ratio: 4 / 3;
  width: 100%;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface-warm);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
/* Enquanto a foto da captação não chega */
.hero__photo--pending {
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 24px;
  border: 2px dashed var(--accent);
  background: repeating-linear-gradient(135deg, var(--surface-warm) 0 14px, var(--surface) 14px 28px);
  color: var(--teal); font-weight: 600; font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase;
}
@media (max-width: 900px) {
  .hero__card { grid-template-columns: minmax(0, 1fr); background-position: right bottom, 0 0, 0 0; background-size: 260% auto, 300px 300px, auto; }
}
@media (max-width: 480px) {
  .hero__actions .btn { width: 100%; }
}

/* ---------- 2. Atributos ---------- */
.attributes { padding-top: clamp(20px, 3vw, 32px); }
.attributes__grid {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.attr {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--surface);
}
.attr__icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--teal-tint); color: var(--teal);
  display: inline-flex; align-items: center; justify-content: center;
}
.attr__icon svg { width: 24px; height: 24px; }
.attr h3 { font-size: var(--fs-h3); line-height: 1.2; }
.attr p { color: var(--fg-soft); font-size: .9375rem; }
@media (max-width: 1000px) { .attributes__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) {
  .attributes__grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .attr { flex-direction: row; align-items: flex-start; gap: 14px; padding: 18px; }
  .attr__icon { flex: none; }
}

/* ---------- 3. Linhas de produto ---------- */
.lines { padding-top: var(--section-space); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; margin-bottom: clamp(24px, 3vw, 36px); }
.section-head h2 { font-size: var(--fs-h2); max-width: 15ch; }
.section-head p { color: var(--fg-soft); max-width: 44ch; font-size: var(--fs-lead); }
.lines__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.line-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  background: var(--surface); box-shadow: var(--shadow-1);
  transition: transform .2s, box-shadow .2s;
}
.line-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.line-card__thumb {
  position: relative; aspect-ratio: 4 / 3; background: var(--tint);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.line-card:nth-child(even) .line-card__thumb { background: var(--teal-tint); }
.line-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.line-card:hover .line-card__thumb img { transform: scale(1.04); }
/* Enquanto a ilustração 3D não chega, mostra o nome da linha em marca d'água */
.line-card__thumb::after {
  content: attr(data-pending);
  position: absolute; inset: auto 0 14px; text-align: center;
  font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--teal);
}
.line-card__thumb.has-img::after { content: none; }
.line-card__body { display: flex; flex-direction: column; gap: 10px; padding: 20px 20px 22px; flex: 1; }
.line-card h3 { font-size: 1.375rem; line-height: 1.15; }
.line-card p { color: var(--fg-soft); font-size: .9375rem; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: .75rem; font-weight: 600; background: var(--teal-tint); color: var(--teal); border-radius: var(--r-pill); padding: 3px 10px; }
.line-card .btn { margin-top: auto; align-self: flex-start; }
.lines__note { margin-top: 20px; text-align: center; color: var(--fg-soft); font-size: .9375rem; }
/* Âncoras por card: compensam o menu fixo e destacam o card de destino */
.line-card, .path { scroll-margin-top: calc(var(--header-h) + 16px); }
.line-card.is-target, .path.is-target { animation: target-pulse 2.2s ease-out 1; }
@keyframes target-pulse {
  0%, 55% { box-shadow: 0 0 0 4px var(--accent), 0 14px 32px -12px rgba(23,38,42,.35); }
  100% { box-shadow: 0 0 0 4px rgba(245,118,13,0); }
}
.lines__hint { display: none; margin-top: 4px; font-size: .8125rem; color: var(--fg-soft); text-align: right; }
@media (max-width: 1080px) { .lines__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Celular: carrossel com rolagem lateral dentro da própria faixa */
@media (max-width: 640px) {
  .lines__grid {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 16px;
    scrollbar-width: none;
  }
  .lines__grid::-webkit-scrollbar { display: none; }
  .line-card { flex: 0 0 80%; scroll-snap-align: start; }
  .lines__hint { display: block; }
}

/* ---------- 4. Para quem (dois caminhos) ---------- */
.paths { padding-block: var(--section-space); background: var(--tint); }
.paths__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.path {
  position: relative; overflow: hidden;
  border-radius: 28px;
  padding: clamp(24px, 3vw, 40px);
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: end;
}
.path--dark { background: var(--ink-block); color: var(--on-ink); }
.path--light { background: var(--teal-tint); color: var(--fg); }
.path__text { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.path .eyebrow { color: var(--accent); }
.path--light .eyebrow { color: var(--teal); }
.path h3 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); line-height: 1.08; letter-spacing: var(--track-h2); }
.path--dark h3 { color: var(--on-ink); }
.path p { font-size: .9375rem; }
.path--dark p, .path--dark li { color: var(--on-ink-soft); }
.path--light p, .path--light li { color: var(--fg-soft); }
.path ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: .9375rem; }
.path li { display: flex; gap: 10px; align-items: flex-start; }
.path li svg { flex: none; width: 18px; height: 18px; margin-top: 3px; }
.path--dark li svg { color: var(--accent); }
.path--light li svg { color: var(--teal); }
.path .btn { align-self: flex-start; margin-top: 6px; }
.path__media { aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; align-self: stretch; max-height: 280px; }
.path--dark .path__media { background: #1E434A; }
.path--light .path__media { background: var(--surface); }
.path__media img { width: 100%; height: 100%; object-fit: cover; }
/* Pessoa recortada (PNG/WebP com transparência), apoiada na base do card */
.path:has(.path__person) { grid-template-columns: minmax(0, 1fr) clamp(140px, 13.5vw, 196px); gap: 12px; align-items: end; padding-bottom: 0; }
.path:has(.path__person) .path__text { padding-bottom: clamp(24px, 3vw, 40px); align-self: center; }
.path:has(.path__person) h3 { font-size: clamp(1.5rem, 1.1rem + 1vw, 1.75rem); }
.path__person { width: 100%; height: auto; align-self: end; display: block; filter: drop-shadow(0 10px 24px rgba(0,0,0,.18)); }
.path--light .path__person { filter: drop-shadow(0 10px 24px rgba(23,38,42,.10)); }

/* Ícone grande em linha (Tabler Icons, licença MIT) */
.path:has(.path__icon) { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.path__icon {
  width: clamp(120px, 12vw, 176px); aspect-ratio: 1; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.path__icon svg { width: 56%; height: 56%; }
.path--dark .path__icon { background: rgba(245,118,13,.10); border: 1px solid rgba(245,118,13,.35); color: var(--accent); }
.path--light .path__icon { background: var(--surface); border: 1px solid rgba(53,102,109,.25); color: var(--teal); }
/* com imagem: duas colunas; se o arquivo não existir, o JS remove o bloco e o texto ocupa o card */
.path:has(.path__media) { grid-template-columns: minmax(0, 1fr) minmax(0, 200px); }
@media (max-width: 1080px) { .paths__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) {
  .path, .path:has(.path__media), .path:has(.path__icon) { grid-template-columns: minmax(0, 1fr); }
  .path__icon { order: -1; width: 72px; }
  .path:has(.path__person) { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .path:has(.path__person) .path__text { padding-bottom: 8px; }
  .path__person { width: 62%; justify-self: center; }
  .path__icon svg { stroke-width: 1.4; }
  .path__media { order: -1; aspect-ratio: 16 / 9; max-height: none; }
  .path .btn { width: 100%; }
}

/* ---------- 5. Marcas ---------- */
.brands { padding-top: var(--section-space); }
.brands__head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; margin-bottom: clamp(20px, 3vw, 32px); }
.brands__head h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); max-width: 22ch; }
@media (min-width: 900px) { .brands__head h2 { max-width: none; white-space: nowrap; } }
.brands__head p { color: var(--fg-soft); }
.brands__marquee {
  display: flex; overflow: hidden; max-width: var(--container-wide); margin-inline: auto;
  border-block: 1px solid var(--line);
  -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.brands__track {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex: none; align-items: center;
  animation: brands-scroll 48s linear infinite;
}
.brands__marquee:hover .brands__track { animation-play-state: paused; }
.brands__item {
  display: flex; align-items: center; gap: clamp(28px, 4vw, 56px);
  padding: 22px 0 22px clamp(28px, 4vw, 56px);
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.125rem, 1rem + .6vw, 1.5rem);
  letter-spacing: var(--track-h3); color: var(--fg-soft); white-space: nowrap;
  transition: color .2s;
}
.brands__item::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); opacity: .55; }
.brands__item:hover { color: var(--fg); }
.brands__item img { height: 32px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.brands__item:hover img { filter: none; opacity: 1; }
@keyframes brands-scroll { to { transform: translateX(-100%); } }
/* Sem animação: vira lista centralizada que quebra linha */
@media (prefers-reduced-motion: reduce) {
  .brands__marquee { -webkit-mask: none; mask: none; justify-content: center; }
  .brands__track { flex-wrap: wrap; justify-content: center; flex: 1; animation: none; padding-inline: var(--gutter); }
  .brands__track[aria-hidden="true"] { display: none; }
  .brands__item { padding: 10px 0 10px 28px; }
}

/* ---------- 6. Linha em destaque ---------- */
.feature { padding-top: var(--section-space); padding-bottom: var(--section-space); }
.feature__card {
  background: url("../img/textura-grao.svg") 0 0 / 300px 300px, var(--surface-warm);
  border: 1px solid #F6E2D2;
  border-radius: var(--r-xl);
  padding-block: clamp(28px, 4vw, 56px);
  padding-inline: clamp(24px, 5vw, 96px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: center;
}
.feature__text { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.feature__tag {
  align-self: flex-start; font-size: .75rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  background: var(--accent); color: var(--on-accent); border-radius: var(--r-pill); padding: 5px 12px;
}
.feature h2 { font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem); font-weight: 800; letter-spacing: var(--track-hero); line-height: 1; }
.feature__text p { color: var(--fg-soft); max-width: 36ch; }
.feature__text .btn { align-self: flex-start; margin-top: 4px; }
.feature__media { aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--tint); box-shadow: var(--shadow-2); }
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.feature__item {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 16px;
}
.feature__icon { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--teal-tint); color: var(--teal); display: inline-flex; align-items: center; justify-content: center; }
.feature__icon svg { width: 18px; height: 18px; }
.feature__item b { display: block; font-family: var(--font-display); font-size: 1.125rem; line-height: 1.2; letter-spacing: var(--track-h3); }
.feature__item span:not(.feature__icon) { font-size: .875rem; color: var(--fg-soft); }
@media (max-width: 1080px) {
  .feature__card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .feature__list { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .feature__card { grid-template-columns: minmax(0, 1fr); }
  .feature__media { order: -1; }
  .feature__list { grid-template-columns: minmax(0, 1fr); }
  .feature__text .btn { width: 100%; }
}

/* ---------- 7. Como pedir ---------- */
.how { position: relative; isolation: isolate; overflow: hidden; padding-block: var(--section-space); color: var(--on-ink); }
/* Fundo fotográfico com parallax: a imagem é maior que a seção e o JS a desloca na rolagem */
.how__bg, .hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--ink-block); }
.how__bg picture, .hero__bg picture { display: block; }
.how__bg-img, .hero__bg-img {
  position: absolute; left: 0; top: -38%; width: 100%; height: 176%; object-fit: cover;
  transform: translate3d(0, 0, 0); will-change: transform;
}
/* Overlay verde petróleo da Norte Dent */
.how__bg::after, .hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(23,52,58,.86) 0%, rgba(53,102,109,.80) 55%, rgba(23,52,58,.88) 100%);
}
.how__head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: clamp(28px, 4vw, 44px); }
.how__head .eyebrow { color: var(--on-ink-soft); }
.how__head h2 { font-size: var(--fs-h2); color: #FFFFFF; }
.how__head p { color: var(--on-ink); max-width: 46ch; font-size: var(--fs-lead); }
.how__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--step-gap); }
.step {
  position: relative; display: flex; flex-direction: column; gap: 16px; color: var(--fg);
  background: var(--surface); border-radius: 28px; padding: 14px 14px 24px;
  box-shadow: 0 22px 44px -20px rgba(8,24,28,.55);
}
/* seta tracejada ligando um passo ao próximo (só desktop) */
.how__steps { --step-gap: clamp(28px, 4.5vw, 64px); }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 30%;
  left: calc(100% + 8px);
  width: calc(var(--step-gap) - 16px);
  height: 2px; background: repeating-linear-gradient(90deg, var(--accent) 0 8px, transparent 8px 14px);
}
.step__media {
  position: relative; width: 100%; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden;
  background: var(--tint); display: flex; align-items: center; justify-content: center; margin-inline: auto;
}
.step:nth-child(2) .step__media { background: var(--teal-tint); }
.step__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.step__num { font-family: var(--font-display); font-weight: 800; font-size: 5rem; line-height: 1; color: var(--accent); opacity: .55; }
.step:nth-child(2) .step__num { color: var(--teal); }
.step__media.has-img .step__num { display: none; }
.step__body { text-align: center; display: flex; flex-direction: column; gap: 6px; align-items: center; }
.step__label { font-size: .75rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--teal); }
.step h3 { font-size: 1.375rem; }
.step p { color: var(--fg-soft); font-size: .9375rem; max-width: 32ch; }
.how__cta { display: flex; justify-content: center; margin-top: clamp(24px, 3vw, 36px); }
@media (max-width: 760px) {
  .how__steps { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .step { flex-direction: row; align-items: center; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 12px; }
  .step::after { display: none; }
  .step__media { width: 116px; border-radius: 16px; margin: 0; flex: none; }
  .step:not(:last-child)::after { display: none; }
  .step__num { font-size: 3rem; }
  .step__body { text-align: left; align-items: flex-start; }
  .step h3 { font-size: 1.125rem; }
  .how__cta .btn { width: 100%; }
}

/* ---------- Comparador de escala de cor (antes/depois de tom) ---------- */
.compare { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--tint); box-shadow: var(--shadow-2); user-select: none; touch-action: pan-y; }
.compare__layer { position: absolute; inset: 0; }
.compare__layer img { width: 100%; height: 100%; object-fit: cover; }
.compare__layer--before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
/* linha divisória */
.compare::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px;
  background: var(--surface); box-shadow: 0 0 0 1px rgba(23,38,42,.08); z-index: 2; pointer-events: none;
}
.compare__handle {
  position: absolute; top: 50%; left: var(--pos); z-index: 3; transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%; background: var(--surface); color: var(--fg);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-2); pointer-events: none;
}
.compare__handle svg { width: 22px; height: 22px; }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 4; }
.compare__range:focus-visible ~ .compare__handle, .compare:has(.compare__range:focus-visible) .compare__handle { outline: 3px solid var(--focus); outline-offset: 3px; }
.compare__tag {
  position: absolute; top: 14px; z-index: 3; pointer-events: none;
  font-family: var(--font-display); font-weight: 700; font-size: .9375rem; line-height: 1;
  background: rgba(255,255,255,.92); color: var(--fg); border-radius: var(--r-pill); padding: 7px 12px;
}
.compare__tag--before { left: 14px; }
.compare__tag--after { right: 14px; }
.compare__caption {
  position: absolute; left: 0; right: 0; bottom: 12px; z-index: 3; text-align: center; pointer-events: none;
  font-size: .75rem; font-weight: 500; color: var(--fg-soft);
}
.compare__caption { text-shadow: 0 1px 0 rgba(255,255,255,.7); }
/* Sem as imagens ainda: dois tons chapados para testar o slider */
.compare.is-empty .compare__layer img { display: none; }
.compare.is-empty .compare__layer--after { background: radial-gradient(60% 55% at 50% 45%, #F7F3EA 0 55%, transparent 56%), var(--tint); }
.compare.is-empty .compare__layer--before { background: radial-gradient(60% 55% at 50% 45%, #E3C98F 0 55%, transparent 56%), var(--tint); }

/* ---------- Marcação de texto pendente (remover antes de publicar) ---------- */
mark.todo { background: #FFF2B3; color: #5C4A00; border-radius: 4px; padding: 0 3px; font-weight: 500; }
.footer mark.todo { background: rgba(255,242,179,.16); color: #FFE680; }

/* ---------- 8. Dúvidas frequentes ---------- */
.faq { padding-block: var(--section-space); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq__head { display: flex; flex-direction: column; gap: 14px; position: sticky; top: calc(var(--header-h) + 24px); }
.faq__head h2 { font-size: var(--fs-h2); max-width: 12ch; }
.faq__head p { color: var(--fg-soft); font-size: var(--fs-lead); max-width: 32ch; }
.faq__head .btn { align-self: flex-start; margin-top: 6px; }
.faq__list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 4px; font-family: var(--font-display); font-weight: 600; font-size: 1.1875rem; line-height: 1.25; letter-spacing: var(--track-h3);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--teal); }
.faq__plus { flex: none; position: relative; width: 32px; height: 32px; border-radius: 50%; background: var(--tint); transition: background-color .2s, transform .25s; }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--accent-press); }
.faq__plus::after { transform: rotate(90deg); transition: transform .25s; }
.faq__item[open] .faq__plus { background: var(--accent); }
.faq__item[open] .faq__plus::before, .faq__item[open] .faq__plus::after { background: var(--on-accent); }
.faq__item[open] .faq__plus::after { transform: rotate(0deg); }
.faq__answer { padding: 0 52px 24px 4px; color: var(--fg-soft); }
@media (max-width: 900px) {
  .faq__grid { grid-template-columns: minmax(0, 1fr); }
  .faq__head { position: static; }
}
@media (max-width: 520px) {
  .faq__item summary { font-size: 1.0625rem; padding-block: 18px; }
  .faq__answer { padding-right: 4px; }
  .faq__head .btn { align-self: stretch; }
}

/* ---------- 9. Rodapé: logo gigante sangrando na base ---------- */
.footer { background: var(--ink-block); color: var(--on-ink-soft); padding-top: clamp(48px, 6vw, 80px); overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px clamp(24px, 4vw, 56px); }
.footer__intro { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.footer__claim { font-family: var(--font-display); font-weight: 700; color: var(--on-ink); font-size: clamp(1.5rem, 1.15rem + 1.1vw, 2.125rem); line-height: 1.08; letter-spacing: var(--track-h2); max-width: 15ch; }
.footer__title { font-family: var(--font-body); font-size: .8125rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: .9375rem; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer__social { display: inline-flex; align-items: center; gap: 8px; }
.footer__social svg { width: 20px; height: 20px; flex: none; }
.footer address { font-style: normal; line-height: 1.6; }
.footer a { color: var(--on-ink); text-decoration: none; }
.footer__col a, .footer__legal a { text-decoration: underline; text-decoration-color: rgba(241,247,247,.3); text-underline-offset: 4px; }
.footer__col a:hover, .footer__legal a:hover { color: var(--accent); text-decoration-color: currentColor; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: clamp(40px, 5vw, 64px); padding-top: 20px; border-top: 1px solid rgba(241,247,247,.12); font-size: .8125rem; }
/* A logo ocupa a largura do bloco e é cortada pela borda inferior da página */
.footer__logo { max-width: var(--container-wide); margin: clamp(32px, 4vw, 56px) auto 0; padding-inline: var(--gutter); }
.footer__logo img { width: 70%; height: auto; margin-bottom: -.8%; }
@media (max-width: 1080px) { .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer__intro { grid-column: 1 / -1; } }
@media (max-width: 640px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__intro .btn { align-self: stretch; }
  .footer { padding-bottom: 0; }
}

