/* ==========================================================================
   Guía Ilustrada de Podología — landing page
   Motivo visual: legendas de atlas anatômico (ponto + linha-guia + rótulo).
   ========================================================================== */

:root {
  --ink: #0C4A57;          /* azul petróleo */
  --ink-deep: #083641;
  --ink-600: #0F5E6E;
  --tint: #E4EFF1;         /* petróleo muito claro */
  --tint-2: #CFE1E5;
  --paper: #F4F7F8;
  --line: #DCE5E8;
  --text: #1D2B31;
  --muted: #5A6A71;
  --ok: #2E8B68;
  --white: #FFFFFF;

  --font: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: 16px;
  --wrap: 1180px;
  --section: clamp(64px, 9vw, 120px);

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --shadow-page: 0 1px 2px rgba(8, 54, 65, .06), 0 12px 28px -12px rgba(8, 54, 65, .22);
  --shadow-soft: 0 24px 60px -30px rgba(8, 54, 65, .30);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--ink-600); outline-offset: 3px; border-radius: 4px; }

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

.ico {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.ico--lg { width: 28px; height: 28px; stroke-width: 1.5; }
.ico--ok { color: var(--ok); stroke-width: 2.2; }

/* ---------- Tipografia ---------- */
.h2 {
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.1;
  font-weight: 620;
  font-stretch: 92%;
  letter-spacing: -.02em;
  color: var(--ink-deep);
  text-wrap: balance;
  max-width: 22ch;
}
.h2--narrow { max-width: 18ch; }
.h2--center { margin-inline: auto; text-align: center; }
.h3 {
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.2;
  font-weight: 600;
  font-stretch: 94%;
  letter-spacing: -.012em;
  color: var(--ink-deep);
  text-wrap: balance;
}
.h3--center { text-align: center; }
.lead {
  font-size: clamp(17px, 1.6vw, 19px);
  color: var(--muted);
  max-width: 58ch;
  text-wrap: pretty;
}
.section-head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 56px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 560; letter-spacing: .01em;
  color: var(--ink);
}
.eyebrow__dot {
  width: 9px; height: 9px; border-radius: 50%;
  border: 2px solid var(--ink); position: relative;
}
.eyebrow__dot::after {
  content: ""; position: absolute; left: 100%; top: 50%;
  width: 18px; height: 1.5px; background: var(--ink); transform: translate(3px, -50%);
}
.eyebrow__dot { margin-right: 22px; }

.micro { font-size: 14px; color: var(--muted); line-height: 1.5; }
.micro--center { text-align: center; }
.micro--light { color: rgba(255,255,255,.72); }
.sep {
  display: inline-block; width: 4px; height: 4px; border-radius: 50%;
  background: currentColor; opacity: .5; vertical-align: middle; margin: 0 8px;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 14px 28px;
  border-radius: 10px; border: 0;
  font-size: 15px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; text-align: center; line-height: 1.2;
  cursor: pointer;
  transition: background-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn--primary {
  background: var(--ink); color: var(--white);
  box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 10px 24px -12px rgba(12, 74, 87, .7);
}
.btn--primary:hover { background: var(--ink-deep); transform: translateY(-1px); }
.btn--light { background: var(--white); color: var(--ink-deep); }
.btn--light:hover { background: var(--tint); transform: translateY(-1px); }
.btn--lg { min-height: 58px; padding: 16px 32px; font-size: 16px; }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn:active { transform: translateY(0); }

.icon-btn {
  width: 44px; height: 44px; border-radius: 50%;
  display: inline-grid; place-items: center;
  background: var(--white); border: 1px solid var(--line); color: var(--ink);
  cursor: pointer; transition: border-color .2s, background-color .2s, opacity .2s;
}
.icon-btn:hover { border-color: var(--ink); }
.icon-btn:disabled { opacity: .35; cursor: default; border-color: var(--line); }

/* ---------- Listas com check ---------- */
.ticks { display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .ico { margin-top: 3px; }
.ticks--inline { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 15px; font-weight: 520; }
.ticks--inline li { gap: 8px; align-items: center; }
.ticks--inline .ico { margin: 0; width: 18px; height: 18px; }
.ticks--muted { color: var(--muted); }
.ticks--light { color: rgba(255,255,255,.92); }
.ticks--light .ico { color: #8FD6BA; stroke-width: 2.2; }
@media (min-width: 640px) { .ticks--two { grid-template-columns: 1fr 1fr; column-gap: 24px; } }

/* ---------- Topbar ---------- */
.topbar { border-bottom: 1px solid var(--line); background: var(--white); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark {
  width: 28px; height: 28px; border-radius: 8px; background: var(--ink); position: relative; flex: none;
}
.brand__mark::before {
  content: ""; position: absolute; left: 7px; top: 9px; width: 10px; height: 10px;
  border: 2px solid #fff; border-radius: 50%;
}
.brand__mark::after {
  content: ""; position: absolute; left: 17px; top: 13px; width: 6px; height: 2px; background: #fff;
}
.brand__name { font-weight: 640; font-stretch: 94%; letter-spacing: -.01em; color: var(--ink-deep); font-size: 16px; }
.topbar__note { font-size: 14px; color: var(--muted); display: none; }
@media (min-width: 760px) { .topbar__note { display: block; } }

/* ==========================================================================
   Imagens com fallback ("Vista previa del material")
   ========================================================================== */
.media { position: relative; display: block; overflow: hidden; }
.media > img {
  position: relative; z-index: 1;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .5s var(--ease);
}
.media.is-loaded > img { opacity: 1; }
.media.is-loaded > .media__fallback { display: none; }
.media:not(.is-loaded) > img { position: absolute; inset: 0; }
.media__fallback { position: absolute; inset: 0; }

.media--page {
  aspect-ratio: 1000 / 1414;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-page);
}
.media--wide { aspect-ratio: 3 / 2; }
.media--final { aspect-ratio: 3 / 2; overflow: visible; }

/* Estrutura abstrata de página (não é screenshot) */
.ph-page {
  position: absolute; inset: 9% 10%;
  background:
    linear-gradient(var(--ink), var(--ink)) 0 0 / 42% 6px no-repeat,
    linear-gradient(var(--line), var(--line)) 0 16px / 68% 4px no-repeat,
    linear-gradient(var(--tint), var(--tint)) 0 36px / 100% 50% no-repeat,
    repeating-linear-gradient(to bottom, var(--line) 0 4px, transparent 4px 13px) 0 100% / 100% 32% no-repeat;
}
.ph-page::after {
  content: ""; position: absolute; left: 50%; top: calc(36px + 25%);
  width: 34%; aspect-ratio: 1; border-radius: 50%;
  border: 1.5px dashed var(--tint-2); transform: translate(-50%, -50%);
}
.ph-label {
  position: absolute; left: 50%; top: calc(9% + 36px + 6%); transform: translateX(-50%);
  z-index: 1; white-space: nowrap;
  font-size: 12px; font-weight: 560; color: var(--ink);
  background: var(--white); border: 1px solid var(--tint-2);
  padding: 4px 10px; border-radius: 999px;
}
.ph-lines {
  position: absolute; inset: 10% 12%;
  background:
    linear-gradient(var(--tint), var(--tint)) 0 0 / 100% 46% no-repeat,
    repeating-linear-gradient(to bottom, var(--line) 0 3px, transparent 3px 10px) 0 100% / 100% 42% no-repeat;
}
.mk-note {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  font-size: 12px; color: var(--muted); white-space: nowrap;
}

/* ==========================================================================
   1. HERO
   ========================================================================== */
.hero {
  padding-block: clamp(32px, 6vw, 88px) clamp(40px, 6vw, 88px);
  background:
    radial-gradient(ellipse 60% 70% at 78% 45%, var(--tint) 0%, rgba(228,239,241,0) 70%),
    var(--white);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-areas: "eyebrow" "title" "lead" "visual" "action";
  gap: 18px;
}
.hero__eyebrow { grid-area: eyebrow; }
.hero__title {
  grid-area: title;
  font-size: clamp(36px, 5.2vw, 60px);
  line-height: 1.02;
  font-weight: 640;
  font-stretch: 88%;
  letter-spacing: -.028em;
  color: var(--ink-deep);
  text-wrap: balance;
  max-width: 15ch;
}
.hero__lead { grid-area: lead; font-size: clamp(17px, 1.7vw, 19px); color: var(--muted); max-width: 50ch; }
.hero__visual { grid-area: visual; position: relative; margin-top: 8px; }
.hero__action { grid-area: action; display: grid; gap: 18px; justify-items: start; margin-top: 4px; }
.hero__action .btn { width: 100%; }

@media (min-width: 560px) { .hero__action .btn { width: auto; } }

@media (min-width: 980px) {
  .hero__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    grid-template-rows: auto auto auto 1fr;
    grid-template-areas:
      "eyebrow visual"
      "title   visual"
      "lead    visual"
      "action  visual";
    column-gap: clamp(32px, 4vw, 64px);
    row-gap: 22px;
    align-items: start;
  }
  .hero__eyebrow { align-self: end; }
  .hero__visual { margin: 0; align-self: center; }
  .hero__action { margin-top: 10px; }
}

.hero-mock { aspect-ratio: 3 / 2; overflow: visible; }
@media (max-width: 979px) { .hero-mock { width: calc(100% + 2 * var(--gutter) - 8px); margin-inline: calc(4px - var(--gutter)); } }
@media (min-width: 1320px) { .hero-mock { width: 110%; margin-right: -10%; } }
.hero-mock > img { object-fit: contain; }

/* composição CSS mostrada até existir mockup-principal.webp */
.mk-spread {
  position: absolute; left: 24%; top: 6%; width: 68%; height: 66%;
  display: grid; grid-template-columns: 1fr 1fr;
  filter: drop-shadow(0 22px 30px rgba(8, 54, 65, .18));
}
.mk-page { position: relative; background: var(--white); border: 1px solid var(--line); }
.mk-page--l { border-radius: 6px 0 0 6px; background: linear-gradient(to left, #EDF2F3 0, #fff 12%); }
.mk-page--r { border-radius: 0 6px 6px 0; background: linear-gradient(to right, #EDF2F3 0, #fff 12%); }
.mk-page--r .ph-lines {
  background:
    repeating-linear-gradient(to bottom, var(--line) 0 3px, transparent 3px 10px) 0 0 / 100% 30% no-repeat,
    linear-gradient(var(--tint), var(--tint)) 0 100% / 46% 60% no-repeat,
    linear-gradient(var(--tint-2), var(--tint-2)) 100% 100% / 46% 60% no-repeat;
}

.mk-cover {
  position: absolute; left: 3%; top: 22%; width: 34%;
  aspect-ratio: 1 / 1.414;
  background: linear-gradient(160deg, var(--ink-600), var(--ink-deep));
  border-radius: 4px 10px 10px 4px;
  box-shadow: inset 6px 0 0 rgba(0,0,0,.18), 0 30px 40px -18px rgba(8, 54, 65, .55);
  padding: 9% 9% 8%;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
  color: var(--white);
  transform: rotate(-4deg);
  overflow: hidden;
}
.mk-cover__foot {
  position: absolute; top: 8%; right: 8%; height: 56%; width: auto;
  fill: none; stroke: rgba(255,255,255,.55); stroke-width: 2.4;
}
.mk-cover__axis { stroke-dasharray: 4 6; stroke: rgba(255,255,255,.35); }
.mk-cover__title { font-size: clamp(11px, 1.6vw, 19px); font-weight: 650; line-height: 1.05; font-stretch: 88%; letter-spacing: -.01em; max-width: 9ch; position: relative; }
.mk-cover__sub { font-size: clamp(7px, .8vw, 10px); line-height: 1.3; opacity: .78; max-width: 20ch; position: relative; }

.mk-phone {
  position: absolute; right: 3%; bottom: 4%; width: 21%;
  aspect-ratio: 9 / 18.5;
  background: #0E2328; border-radius: 16% / 8%;
  padding: 5% 4.5%;
  box-shadow: 0 30px 40px -18px rgba(8, 54, 65, .6);
}
.mk-phone__screen { position: relative; width: 100%; height: 100%; background: var(--white); border-radius: 11% / 5.5%; overflow: hidden; }

/* Legendas estilo atlas */
.callouts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.callout {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 560; color: var(--ink-deep);
}
.callout::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--ink); flex: none;
}
.callout span { white-space: nowrap; }

@media (min-width: 720px) {
  .callouts { display: block; margin: 0; position: absolute; inset: 0; pointer-events: none; }
  .callout {
    position: absolute; left: var(--x); top: var(--y);
    gap: 0; transform: translateY(-50%);
  }
  .callout::after {
    content: ""; order: 1; width: 34px; height: 1.5px; background: var(--ink);
    transform-origin: left center;
  }
  .callout span {
    order: 2;
    background: var(--white); border: 1px solid var(--tint-2);
    padding: 6px 12px; border-radius: 999px;
    box-shadow: 0 6px 18px -10px rgba(8, 54, 65, .45);
  }
  .callout--left { flex-direction: row-reverse; transform: translate(-100%, -50%); }
  .callout--left::after { transform-origin: right center; }
}

.hero-mock.is-loaded + .callouts {
  position: static; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 12px; margin-top: 18px;
}
.hero-mock.is-loaded + .callouts .callout { position: static; transform: none; flex-direction: row; gap: 8px; }
.hero-mock.is-loaded + .callouts .callout::after { display: none; }
.hero-mock.is-loaded + .callouts .callout span { box-shadow: none; }

/* Sequência de entrada do hero (única animação orquestrada) */
@media (prefers-reduced-motion: no-preference) {
  .hero__title, .hero__lead, .hero__eyebrow, .hero__action { animation: rise .7s var(--ease) both; }
  .hero__lead { animation-delay: .08s; }
  .hero__action { animation-delay: .16s; }
  .hero-mock > img { transition: opacity .8s var(--ease), transform .8s var(--ease); transform: translateY(16px); }
  .hero-mock.is-loaded > img { transform: none; }
  .hero .mk-cover { animation: cover-in .9s var(--ease) .15s both; }
  .hero .mk-spread { animation: spread-in .9s var(--ease) .05s both; }
  .hero .mk-phone { animation: phone-in .9s var(--ease) .3s both; }
  .callout { animation: fade .5s ease .85s both; }
  .callout:nth-child(2) { animation-delay: 1s; }
  .callout:nth-child(3) { animation-delay: 1.15s; }
  @media (min-width: 720px) {
    .callout::after { animation: draw .45s var(--ease) .9s both; }
    .callout:nth-child(2)::after { animation-delay: 1.05s; }
    .callout:nth-child(3)::after { animation-delay: 1.2s; }
  }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes fade { from { opacity: 0; } }
@keyframes draw { from { transform: scaleX(0); } }
@keyframes cover-in { from { opacity: 0; transform: translate(18%, 6%) rotate(0deg); } }
@keyframes spread-in { from { opacity: 0; transform: scale(.94) translateY(4%); } }
@keyframes phone-in { from { opacity: 0; transform: translate(-20%, 10%); } }

/* ---------- Barra de confiança ---------- */
.trustbar { border-block: 1px solid var(--line); background: var(--white); }
.trustbar__list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px;
  padding-block: 18px; font-size: 14px; color: var(--muted);
}
.trustbar__list li { display: flex; align-items: center; gap: 10px; line-height: 1.3; }
.trustbar__list .ico { color: var(--ink); width: 18px; height: 18px; }
@media (min-width: 900px) {
  .trustbar__list { display: flex; justify-content: space-between; padding-block: 20px; font-size: 15px; }
}

/* ==========================================================================
   Seções
   ========================================================================== */
.section { padding-block: var(--section); }
.section--paper { background: var(--paper); }
.center-cta { display: grid; justify-items: center; gap: 12px; margin-top: clamp(40px, 5vw, 56px); text-align: center; }

/* ---------- 2. Dor ---------- */
.pains {
  display: grid; gap: 0;
  margin-top: clamp(32px, 5vw, 56px);
  border-top: 1px solid var(--line);
}
.pain { padding: 26px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; row-gap: 6px; }
.pain .ico { color: var(--ink); grid-row: span 2; }
.pain h3 { font-size: 19px; line-height: 1.3; font-weight: 620; color: var(--ink-deep); }
.pain p { color: var(--muted); font-size: 16px; max-width: 44ch; }
@media (min-width: 720px) {
  .pains { grid-template-columns: 1fr 1fr; column-gap: 48px; }
}
@media (min-width: 1080px) {
  .pains { grid-template-columns: repeat(4, 1fr); column-gap: 32px; border-top: 0; }
  .pain { grid-template-columns: 1fr; border-bottom: 0; border-top: 1px solid var(--line); padding-top: 28px; row-gap: 12px; }
  .pain .ico { grid-row: auto; margin-bottom: 6px; }
}

.formula {
  margin-top: clamp(40px, 6vw, 64px);
  display: grid; gap: 14px; justify-items: center; text-align: center;
}
.formula__lead { font-size: 17px; color: var(--muted); }
.formula__eq { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 12px; }
.formula__term {
  font-size: clamp(20px, 2.6vw, 26px); font-weight: 600; font-stretch: 92%; letter-spacing: -.01em;
  color: var(--ink-deep); padding: 8px 18px; border: 1px solid var(--tint-2); border-radius: 999px; background: var(--white);
}
.formula__term--key { background: var(--ink); color: var(--white); border-color: var(--ink); }
.formula__op { color: var(--muted); display: inline-grid; }
.formula__op .ico { width: 18px; height: 18px; }

/* ---------- 3. Pranchas (material real) ---------- */
.plates {
  display: flex; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  padding-bottom: 24px;
  scrollbar-width: none;
}
.plates::-webkit-scrollbar { display: none; }
.plate { flex: 0 0 min(78vw, 360px); scroll-snap-align: start; display: grid; gap: 14px; }
.plate__cap {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 580; color: var(--ink-deep);
}
.plate__cap::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  border: 2px solid var(--ink); background: var(--paper); flex: none;
}.swipe-hint { font-size: 13px; color: var(--muted); margin-top: 2px; }

@media (min-width: 720px) {
  .plates {
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px 28px;
    overflow: visible; padding-bottom: 0;
    max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto;
  }
  .plate { flex: none; }
  .swipe-hint { display: none; }
}
@media (min-width: 1080px) {
  .plates { grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: start; max-width: calc(1280px + 2 * var(--gutter)); }
  .plate:nth-child(even) { margin-top: 64px; }
  .plate:nth-child(1) .media { transform: rotate(-1.2deg); }
  .plate:nth-child(4) .media { transform: rotate(1deg); }
}

/* reveal discreto — apenas nas páginas do material */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; translate: 0 28px; transition: opacity .8s var(--ease), translate .8s var(--ease); }
  .js [data-reveal].is-in { opacity: 1; translate: 0 0; }
  .js .plate:nth-child(2) { transition-delay: .08s; }
  .js .plate:nth-child(3) { transition-delay: .16s; }
  .js .plate:nth-child(4) { transition-delay: .24s; }
}

/* ---------- 4. Comparação ---------- */
.compare { display: grid; gap: 16px; }
@media (min-width: 860px) { .compare { grid-template-columns: 1fr 1.15fr; gap: 24px; align-items: stretch; } }
.compare__col { border-radius: var(--r-lg); padding: clamp(24px, 3.5vw, 40px); display: grid; gap: 24px; align-content: start; }
.compare__col--before { border: 1px solid var(--line); background: var(--white); }
.compare__col--after { background: var(--ink); color: var(--white); box-shadow: var(--shadow-soft); }
.compare__title { font-size: 22px; font-weight: 620; font-stretch: 94%; letter-spacing: -.01em; }
.compare__col--before .compare__title { color: var(--muted); }

.textblock { display: grid; gap: 9px; padding: 20px; border-radius: var(--r-md); background: var(--paper); height: 168px; align-content: start; overflow: hidden; }
.textblock span { height: 7px; border-radius: 4px; background: #D5DEE1; }
.textblock span:nth-child(3n) { width: 86%; }
.textblock span:nth-child(4n) { width: 93%; }
.textblock span:nth-child(9) { width: 54%; }

.visualblock {
  display: grid; grid-template-columns: 84px 1fr; gap: 20px; align-items: center;
  height: 168px; padding: 16px 20px; border-radius: var(--r-md);
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
}
.visualblock__foot { height: 136px; width: auto; fill: none; stroke: rgba(255,255,255,.85); stroke-width: 3; }
.visualblock__foot .zone { fill: rgba(143, 214, 186, .28); stroke: #8FD6BA; stroke-dasharray: 5 5; }
.visualblock__notes { display: grid; gap: 16px; }
.vb-note { display: flex; align-items: center; gap: 10px; }
.vb-note i { width: 8px; height: 8px; border-radius: 50%; border: 2px solid rgba(255,255,255,.7); flex: none; }
.vb-note b { height: 7px; border-radius: 4px; background: rgba(255,255,255,.3); width: 70%; }
.vb-note:nth-child(2) b { width: 52%; }
.vb-note--hi i { border-color: #8FD6BA; background: #8FD6BA; }
.vb-note--hi b { background: rgba(143, 214, 186, .6); width: 62%; }
@media (min-width: 480px) { .compare__col--after .ticks { grid-template-columns: 1fr 1fr; column-gap: 20px; } }

.steps {
  margin-top: clamp(48px, 6vw, 72px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px 16px;
  counter-reset: none;
}
.step { display: grid; gap: 6px; position: relative; padding-top: 18px; border-top: 1.5px solid var(--tint-2); }
.step::before {
  content: ""; position: absolute; top: -6px; left: 0;
  width: 10px; height: 10px; border-radius: 50%; background: var(--white); border: 2px solid var(--ink);
}
.step__n { font-size: 13px; font-weight: 600; color: var(--ink-600); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.step__w { font-size: clamp(26px, 4vw, 44px); font-weight: 620; font-stretch: 86%; letter-spacing: -.025em; line-height: 1; color: var(--ink-deep); }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 24px; } }

/* ---------- 5. Exemplo ---------- */
.example { display: grid; gap: 40px; align-items: center; }
.example__media { max-width: 420px; width: 100%; margin-inline: auto; }
.example__body { display: grid; gap: 18px; }
@media (min-width: 900px) {
  .example { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(48px, 6vw, 96px); }
  .example__media { max-width: none; order: 0; }
}
.pathway { display: grid; gap: 0; margin-top: 12px; counter-reset: step; }
.pathway li {
  counter-increment: step;
  display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  font-size: 18px; color: var(--text);
}
.pathway li::before {
  content: counter(step);
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; align-self: center;
  font-size: 14px; font-weight: 650; color: var(--ink);
  border: 1.5px solid var(--ink); background: var(--white);
}
.example__close { margin-top: 10px; font-size: clamp(19px, 2vw, 22px); font-weight: 580; line-height: 1.35; color: var(--ink-deep); max-width: 34ch; }

/* ---------- 6. Índice ---------- */
.index { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.index li {
  display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr; gap: 14px 8px;
  padding: 18px 16px 20px; min-height: 132px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--white);
}
.index__n { font-size: 13px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.index .ico { width: 30px; height: 30px; color: var(--ink); stroke-width: 1.4; justify-self: end; }
.index__t { grid-column: 1 / -1; align-self: end; font-size: 16px; font-weight: 600; line-height: 1.25; color: var(--ink-deep); hyphens: auto; }
@media (min-width: 720px) { .index { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) {
  .index { grid-template-columns: repeat(4, 1fr); }
  .index li { padding: 22px 22px 24px; min-height: 150px; }
  .index__t { font-size: 17px; }
}

/* ---------- 7. Temas ---------- */
.topics { margin-top: clamp(56px, 7vw, 88px); display: grid; gap: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line);
  font-size: 15px; font-weight: 540; color: var(--ink-deep);
}
.chips li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); opacity: .55; }
.topics__more { color: var(--muted); font-size: 16px; }

/* ---------- 8. Galeria ---------- */
.gallery-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 44px); }
.gallery {
  display: flex; gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding-inline: max(var(--gutter), calc((100% - var(--wrap)) / 2));
  scroll-padding-inline: max(var(--gutter), calc((100% - var(--wrap)) / 2));
  padding-block: 4px 24px;
  scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery li { flex: 0 0 min(70vw, 300px); scroll-snap-align: start; }

/* A partir de 720px a galeria deixa de rolar e vira uma grade 3x2 centrada. */
@media (min-width: 720px) {
  .gallery {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 28px);
    overflow: visible; scroll-snap-type: none;
    max-width: calc(960px + 2 * var(--gutter)); margin-inline: auto;
    padding-inline: var(--gutter); padding-block: 4px 8px;
  }
  .gallery li { flex: none; }
  .gallery-head { justify-content: center; text-align: center; }
  .gallery-head .h2 { margin-inline: auto; }
  .gallery-note { text-align: center; }
}
/* Em tablet só cabem 2 colunas sem deixar as páginas pequenas demais. */
@media (min-width: 720px) and (max-width: 1023px) {
  .gallery { grid-template-columns: repeat(2, 1fr); max-width: calc(680px + 2 * var(--gutter)); }
}
.shot {
  position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in;
  border-radius: var(--r-sm);
}
.shot .media { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.shot:hover .media { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(8,54,65,.06), 0 22px 40px -16px rgba(8,54,65,.32); }
.shot__zoom {
  position: absolute; right: 10px; bottom: 10px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.94); color: var(--ink); box-shadow: 0 4px 12px -4px rgba(8,54,65,.35);
}
.gallery-note { font-size: 13px; color: var(--muted); }

/* ---------- 9. Para quem ---------- */
.fit { display: grid; border-top: 1px solid var(--line); }
.fit li {
  display: flex; gap: 14px; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--line);
  font-size: 18px; font-weight: 540; color: var(--ink-deep); line-height: 1.35;
}
.fit .ico { width: 22px; height: 22px; }
@media (min-width: 760px) { .fit { grid-template-columns: 1fr 1fr; column-gap: 48px; } }
@media (min-width: 1080px) { .fit { grid-template-columns: repeat(3, 1fr); column-gap: 40px; } }
.fit__close { margin-top: clamp(28px, 4vw, 40px); font-size: clamp(18px, 1.8vw, 20px); color: var(--muted); max-width: 60ch; }

/* ---------- 10. Dispositivos ---------- */
.devices { display: grid; gap: 40px; align-items: center; }
.devices__body { display: grid; gap: 18px; }
.devices__body .ticks { margin-top: 8px; }
@media (min-width: 900px) { .devices { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(48px, 6vw, 88px); } }
.media--wide > img { object-fit: contain; }

.dev { position: absolute; }
.dev__screen { position: relative; background: var(--white); width: 100%; height: 100%; border-radius: 4px; overflow: hidden; }
.dev--laptop { left: 4%; top: 8%; width: 70%; aspect-ratio: 16 / 10.6; background: #16292E; border-radius: 12px 12px 0 0; padding: 2.2%; }
.dev--laptop .dev__base { position: absolute; left: -7%; right: -7%; bottom: -5%; height: 5%; background: #C9D4D8; border-radius: 0 0 14px 14px; }
.dev--tablet { right: 5%; top: 30%; width: 34%; aspect-ratio: 3 / 4; background: #16292E; border-radius: 16px; padding: 4%; box-shadow: var(--shadow-soft); }
.dev--phone { left: 50%; bottom: 8%; width: 15%; aspect-ratio: 9 / 18.5; background: #0E2328; border-radius: 16% / 8%; padding: 4% 3.2%; box-shadow: var(--shadow-soft); }
.dev--phone .dev__screen { border-radius: 11% / 5.5%; }

/* ---------- 11. Oferta ---------- */
.offer-section { background: linear-gradient(var(--white), var(--paper)); }
.offer {
  margin: clamp(32px, 5vw, 52px) auto 0; max-width: 1000px;
  display: grid;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft); overflow: hidden;
}
.offer__product { padding: clamp(24px, 4vw, 44px); display: grid; gap: 6px; align-content: start; }
.offer__name { font-size: clamp(24px, 3vw, 30px); font-weight: 650; font-stretch: 90%; letter-spacing: -.02em; line-height: 1.1; color: var(--ink-deep); }
.offer__sub { color: var(--muted); font-size: 16px; }
.offer__inc { margin-top: 20px; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
.offer__product .ticks { gap: 10px; font-size: 16px; }
.offer__buy {
  padding: clamp(24px, 4vw, 44px); display: grid; gap: 14px; align-content: center;
  background: var(--paper); border-top: 1px solid var(--line);
}
@media (min-width: 860px) {
  .offer { grid-template-columns: 1.35fr 1fr; }
  .offer__buy { border-top: 0; border-left: 1px solid var(--line); }
}
.offer__access { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
.offer__access .ico { width: 18px; height: 18px; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.price__old { font-size: 18px; color: var(--muted); text-decoration-thickness: 1.5px; }
.price__now { font-size: clamp(40px, 5vw, 52px); font-weight: 660; font-stretch: 88%; letter-spacing: -.03em; line-height: 1; color: var(--ink-deep); font-variant-numeric: tabular-nums; }
.price--light .price__now { color: var(--white); }
.promo { font-size: 14px; font-weight: 540; color: var(--ok); display: flex; align-items: center; gap: 8px; }
.promo::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.promo--soft { color: var(--muted); font-weight: 400; font-size: 13px; }
.promo--soft::before { display: none; }
.guarantee { display: flex; gap: 10px; align-items: center; justify-content: center; font-size: 14px; color: var(--ink-deep); }
.guarantee .ico { color: var(--ok); width: 18px; height: 18px; }

.easy { margin-top: clamp(56px, 7vw, 88px); display: grid; gap: 28px; }
.easy__grid { display: grid; gap: 12px; max-width: 1000px; margin-inline: auto; width: 100%; }
@media (min-width: 760px) { .easy__grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.easy__item { padding: 22px 24px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); display: grid; gap: 6px; }
.easy__q { font-weight: 620; color: var(--ink-deep); font-size: 17px; }
.easy__item p:last-child { color: var(--muted); font-size: 16px; }

/* ---------- 13. FAQ ---------- */
.faq-wrap { display: grid; gap: 32px; }
@media (min-width: 960px) { .faq-wrap { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: start; } }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 20px 0; font-size: 17px; font-weight: 580; color: var(--ink-deep); line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--tint-2); background:
    linear-gradient(var(--ink), var(--ink)) center / 11px 1.6px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.6px 11px no-repeat,
    var(--white);
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 44px 22px 0; color: var(--muted); font-size: 16px; max-width: 64ch; }
@media (prefers-reduced-motion: no-preference) {
  .faq details[open] p { animation: rise .35s var(--ease); }
}

/* ---------- Final ---------- */
.final { background: var(--ink-deep); color: var(--white); padding-block: var(--section); overflow: hidden; }
.final__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .final__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; } }
.final__body { display: grid; gap: 18px; }
.final__title { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.08; font-weight: 620; font-stretch: 90%; letter-spacing: -.024em; text-wrap: balance; max-width: 20ch; }
.final__lead { font-size: clamp(17px, 1.7vw, 19px); color: rgba(255,255,255,.75); max-width: 46ch; }
.final__buy { display: grid; gap: 14px; justify-items: start; margin-top: 12px; }
.final__buy .btn { width: 100%; }
@media (min-width: 560px) { .final__buy .btn { width: auto; } }
.final__media { max-width: 620px; width: 100%; margin-inline: auto; }
.media--final > img { object-fit: contain; }
.final-fallback .mk-cover { left: 8%; top: 6%; width: 58%; transform: rotate(-5deg); background: linear-gradient(160deg, #1C7384, var(--ink)); box-shadow: inset 6px 0 0 rgba(0,0,0,.18), 0 30px 50px -20px rgba(0,0,0,.6); }
.final-fallback .mk-cover__title { font-size: clamp(16px, 2.4vw, 24px); }
.final-fallback .mk-cover__sub { font-size: clamp(9px, 1vw, 12px); }
.final-fallback .mk-phone { right: 6%; bottom: 4%; width: 30%; box-shadow: 0 30px 50px -20px rgba(0,0,0,.7); border: 1px solid rgba(255,255,255,.12); }

/* ---------- Footer ---------- */
.footer { background: var(--ink-deep); color: rgba(255,255,255,.6); border-top: 1px solid rgba(255,255,255,.1); }
.footer__inner { padding-block: 28px 32px; display: grid; gap: 8px; font-size: 13px; line-height: 1.55; }
.footer strong { color: rgba(255,255,255,.85); font-weight: 600; }
@media (max-width: 859px) { .footer__inner { padding-bottom: 104px; } }

/* ---------- Sticky CTA mobile ---------- */
.sticky {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
  z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 8px 8px 16px;
  background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 16px 36px -14px rgba(8, 54, 65, .45);
  transform: translateY(calc(100% + 24px)); visibility: hidden;
  transition: transform .35s var(--ease), visibility 0s linear .35s;
}
.sticky.is-visible { transform: none; visibility: visible; transition: transform .35s var(--ease), visibility 0s; }
.sticky__info { display: grid; line-height: 1.2; min-width: 0; }
.sticky__name { font-size: 13px; font-weight: 600; color: var(--ink-deep); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky__price { font-size: 17px; font-weight: 660; color: var(--ink); font-variant-numeric: tabular-nums; }
@media (min-width: 860px) { .sticky { display: none; } }

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(6, 30, 36, .92); color: var(--white);
}
.lightbox::backdrop { background: transparent; }
.lightbox[open] { display: grid; place-items: center; }
@media (prefers-reduced-motion: no-preference) { .lightbox[open] { animation: fade .25s ease; } }
.lightbox__stage { width: min(92vw, calc(84vh / 1.414)); }
.lightbox__stage .media { box-shadow: 0 30px 80px -20px rgba(0,0,0,.6); border-color: transparent; }
.lightbox__stage .shot__zoom { display: none; }
.lightbox .icon-btn { position: absolute; background: rgba(255,255,255,.95); border-color: transparent; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev, .lightbox__next { top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: 12px; }
.lightbox__next { right: 12px; }
.lightbox__count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); font-size: 14px; color: rgba(255,255,255,.75); font-variant-numeric: tabular-nums; }

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