/* =========================================================
   Venda+ — estilos da landing page
   Identidade visual oficial 1.0 (aprovada em 03/12/2026).
   ========================================================= */

/* Fontes e tokens oficiais: brand/fonts.css e brand/tokens.css (carregados antes
   deste arquivo no <head>). Aqui ficam só os tokens de layout da landing. */

/* ---------- Tokens de layout ---------- */

:root {
  /* Grade e ritmo */
  --wrap: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --col-gap: 2rem;
  --header-h: 68px;
  --section-y: clamp(3.5rem, 7vw, 6rem);
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  scrollbar-color: #9AA4AC var(--mineral);
}

body {
  margin: 0;
  background: var(--mineral);
  color: var(--grafite);
  font-family: var(--font-text);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  caret-color: var(--azul);
}

::selection { background: var(--dourado); color: var(--azul); }

a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }

:focus-visible {
  outline: 2px solid var(--azul);
  outline-offset: 3px;
  border-radius: var(--r-control);
}
.on-dark :focus-visible { outline-color: var(--dourado); }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--azul);
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
ul, ol, dl, dd { margin: 0; padding: 0; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 100;
  padding: 0.6rem 0.9rem;
  background: var(--dourado);
  color: var(--azul);
  font-weight: 600;
  border-radius: var(--r-control);
}
.skip-link:focus { top: 0.75rem; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Ícone de seta: traço único, mesmo peso em toda a página */
.icon-arrow {
  width: 16px; height: 16px;
  flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.22s var(--ease-out);
}

/* ---------- Botões e links ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  height: 48px;
  padding: 0 1.3rem;
  border: 1px solid transparent;
  border-radius: var(--r-control);
  font-family: var(--font-text);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.button:active { transform: translateY(1px); }
.button:hover .icon-arrow { transform: translateX(3px); }

/* Sobre azul: dourado com texto azul-petróleo */
.button--accent { background: var(--dourado); color: var(--azul); }
.button--accent:hover { background: var(--dourado-hover); }

/* Sobre claro: azul-petróleo com texto branco */
.button--primary { background: var(--azul); color: var(--branco); }
.button--primary:hover { background: var(--grafite); }

.button--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.32);
  color: var(--branco);
}
.button--ghost:hover { border-color: rgba(255, 255, 255, 0.64); }

.button--sm { height: 40px; padding: 0 1rem; font-size: 0.875rem; }

.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--t-fast);
}
.text-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease-out);
}
.text-link:hover::after { transform: scaleX(1); }
.text-link:hover .icon-arrow { transform: translateX(3px); }
.text-link--light { color: var(--branco); }

/* ---------- Cabeçalho ---------- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--azul);
  color: var(--branco);
  border-bottom: 1px solid var(--linha-escura);
}
.masthead__bar {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  height: var(--header-h);
}

.brand { display: inline-flex; flex: none; }
.brand img { width: auto; height: 26px; }

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-left: auto;
}
.nav__list { display: flex; gap: 1.6rem; list-style: none; }
.nav__list a {
  position: relative;
  display: block;
  padding: 0.5rem 0;
  color: var(--claro-2);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--t-fast);
}
.nav > .button { display: none; }
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.2rem;
  height: 1px;
  background: var(--dourado);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease-out);
}
.nav__list a:hover { color: var(--branco); }
.nav__list a:hover::after { transform: scaleX(1); }

.masthead__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--r-control);
  color: var(--branco);
  cursor: pointer;
}
.menu-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.menu-toggle path { transform-box: fill-box; transform-origin: center; transition: transform 0.24s var(--ease-out); }
.nav-open .menu-toggle .l1 { transform: translateY(3.5px) rotate(45deg); }
.nav-open .menu-toggle .l2 { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: var(--azul);
  color: var(--branco);
}

.hero__top { position: relative; }

.hero__copy {
  /* colunas 1 a 7 da grade de 12 */
  width: calc((100% - 11 * var(--col-gap)) / 12 * 7 + 6 * var(--col-gap));
  padding: clamp(2.75rem, 4.4vw, 3.75rem) 0 clamp(2.75rem, 4vw, 3.5rem);
}

.hero__title {
  color: var(--branco);
  font-size: clamp(2.5rem, 3.9vw, 3.5rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.hero__title span { display: block; }

.hero__lede {
  max-width: 46ch;
  margin-top: 1.5rem;
  color: var(--claro-2);
  font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  margin-top: 2rem;
}
.hero__actions .button { height: 52px; padding: 0 1.4rem; }

/* Fotografia: sangra até a borda direita, começando na coluna 8 */
.hero__media {
  --cw: min(100% - 2 * var(--gutter), var(--wrap) - 2 * var(--gutter));
  position: absolute;
  top: 0; right: 0; bottom: 0;
  left: calc((100% - var(--cw)) / 2 + (var(--cw) - 11 * var(--col-gap)) / 12 * 7 + 7 * var(--col-gap));
  margin: 0;
  overflow: hidden;
  background: var(--grafite);
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Enquadra vendedor e cliente: a cena é a venda no balcão */
  object-position: 80% 40%;
}

/* Condições comerciais: lidas como uma linha de tabela de preços */
.terms { border-top: 1px solid var(--linha-escura); }
.terms__list {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  list-style: none;
  padding-top: 1.35rem;
  padding-bottom: 1.4rem;
}
.term {
  display: flex;
  align-items: baseline;
  column-gap: 0.6rem;
  padding: 0 0 0 1.75rem;
  border-left: 1px solid var(--linha-ouro);
  white-space: nowrap;
}
.term:first-child { padding-left: 0; border-left: 0; }
.term__value {
  font-family: var(--font-display);
  font-variant-numeric: lining-nums tabular-nums;
  font-size: clamp(1.375rem, 1.9vw, 1.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--dourado);
  white-space: nowrap;
}
.term__text {
  color: var(--claro-2);
  font-size: 0.875rem;
  font-weight: 500;
}

/* ---------- Comparativo inicial ---------- */

.brief {
  padding: clamp(2.25rem, 3.4vw, 3rem) 0 clamp(3rem, 5vw, 4rem);
  background: var(--branco);
}

.brief__head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: 0.75rem;
  align-items: end;
}
.brief__title {
  grid-column: 1 / span 7;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.brief__lede {
  grid-column: 8 / span 5;
  max-width: 44ch;
  color: var(--cinza);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.brief__table {
  width: 100%;
  margin-top: 1.5rem;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 0.9375rem;
  font-variant-numeric: lining-nums tabular-nums;
  line-height: 1.45;
}
.brief__table th,
.brief__table td { text-align: left; vertical-align: top; }

.brief__table thead th {
  padding: 0.95rem 1.25rem 0.9rem;
  vertical-align: middle;
  border-bottom: 1px solid var(--azul);
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--azul);
}
.brief__corner { border-bottom: 1px solid var(--azul); }
.brief__table .col-label { width: 22%; }
.brief__table .col-vm { width: 26%; }

/* Coluna Venda+: cabeçalho em azul-petróleo e coluna em branco mineral */
.brief__table .is-vm { background: var(--mineral); }
.brief__table thead .is-vm { background: var(--azul); border-bottom-color: var(--azul); }
.brief__table thead .is-vm img { width: auto; height: 22px; }

.brief__table tbody th {
  padding: 1.05rem 1rem 1.05rem 0;
  border-bottom: 1px solid var(--linha);
  font-weight: 600;
  color: var(--azul);
}
.brief__table tbody td {
  padding: 1.05rem 1.25rem;
  border-bottom: 1px solid var(--linha);
}
.brief__table tbody td.is-vm {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--azul);
  letter-spacing: -0.005em;
}
.brief__table .is-price { font-size: 1.3125rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
.brief__table .is-unknown { color: var(--cinza); }

.brief__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem 2.5rem;
  margin-top: 1.5rem;
}
.brief__sources {
  max-width: 78ch;
  color: var(--cinza);
  font-size: 0.8125rem;
  line-height: 1.55;
}
.brief__sources a { text-decoration: underline; text-decoration-color: var(--linha-forte); }
.brief__sources a:hover { color: var(--azul); text-decoration-color: currentColor; }

/* ---------- Fabricantes: faixa azul de largura total, logotipos em loop contínuo ---------- */

.brands {
  --logo-base: 24px;
  --brand-gap: clamp(3rem, 5vw, 5rem);
  padding: clamp(2.75rem, 5vw, 4rem) 0 clamp(2.25rem, 4vw, 3rem);
  background: var(--azul);
  color: var(--branco);
  border-top: 1px solid var(--linha-escura);
}
.brands__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}
.brands__title {
  max-width: 24ch;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.brands__viewport {
  margin-top: clamp(2rem, 4vw, 3rem);
  overflow: hidden;
  /* Bordas esmaecidas: os logotipos entram e saem sem corte seco */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.brands__track {
  display: flex;
  width: max-content;
}
.brands[data-loop] .brands__track {
  animation: brands-scroll var(--loop-t, 40s) linear infinite;
  will-change: transform;
}
.brands__list {
  display: flex;
  align-items: center;
  gap: var(--brand-gap);
  padding-right: var(--brand-gap);
  list-style: none;
}
.brands__item {
  display: flex;
  align-items: center;
  height: 64px;
}
.brands__item img {
  display: block;
  width: auto;
  height: calc(var(--logo-base) * var(--logo-scale, 1));
  opacity: 0.9;
}
.brands__name {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--branco);
  white-space: nowrap;
}

@media (hover: hover) {
  .brands__viewport:hover .brands__track { animation-play-state: paused; }
}
.brands[data-paused] .brands__track,
.brands[data-offscreen] .brands__track { animation-play-state: paused; }

/* Uma volta = largura de uma cópia da lista (medida em main.js): sem salto */
@keyframes brands-scroll {
  to { transform: translate3d(calc(-1 * var(--loop-w, 50%)), 0, 0); }
}

.brands__toggle {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  height: 38px;
  padding: 0 0.8rem;
  background: transparent;
  border: 1px solid var(--linha-escura);
  border-radius: var(--r-control);
  color: var(--branco);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color var(--t-fast), background-color var(--t-fast);
}
.brands__toggle:hover { border-color: rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.06); }
.brands__toggle svg { width: 14px; height: 14px; fill: currentColor; }
.brands__toggle .icon-play { display: none; }
.brands[data-paused] .brands__toggle .icon-play { display: block; }
.brands[data-paused] .brands__toggle .icon-pause { display: none; }

.brands__foot { margin-top: clamp(1.75rem, 3vw, 2.25rem); }
.brands__foot::before {
  content: "";
  display: block;
  height: 1px;
  margin-bottom: 1.25rem;
  background: var(--linha-escura);
}
.brands__note,
.brands__pending {
  color: var(--claro-2);
  font-size: 0.8125rem;
  line-height: 1.55;
}
.brands__pending { margin-top: 0.4rem; }
.brands__pending strong { color: var(--dourado); font-weight: 600; }

@media (max-width: 720px) {
  .brands { --logo-base: 19px; --brand-gap: 2.5rem; }
  .brands__item { height: 52px; }
}
@media (max-width: 560px) {
  .brands__head { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
}

/* ---------- Entrada do hero: o único momento coreografado ---------- */

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
}
@keyframes settle {
  from { opacity: 0; transform: scale(1.035); }
}
@keyframes draw-rule {
  from { transform: scaleX(0); }
}

.hero__title span,
.hero__lede,
.hero__actions,
.term {
  animation: rise 0.8s var(--ease-out) both;
}
.hero__title span:nth-child(2) { animation-delay: 0.08s; }
.hero__lede { animation-delay: 0.16s; }
.hero__actions { animation-delay: 0.24s; }
.term:nth-child(1) { animation-delay: 0.4s; }
.term:nth-child(2) { animation-delay: 0.48s; }
.term:nth-child(3) { animation-delay: 0.56s; }
.hero__media img { animation: settle 1.4s var(--ease-out) both; }
.terms { position: relative; border-top-color: transparent; }
.terms::before {
  content: "";
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 1px;
  background: var(--linha-escura);
  transform-origin: left;
  animation: draw-rule 1.1s var(--ease-out) 0.3s both;
}

/* ---------- Comparativo: mais critérios ---------- */

.brief__more { margin-top: 0; }
.brief__more summary {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: max-content;
  padding: 1rem 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--azul);
}
.brief__more summary::-webkit-details-marker { display: none; }
.brief__more-icon,
.qa__icon {
  width: 16px; height: 16px;
  flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round;
  transition: transform 0.24s var(--ease-out);
}
.brief__more[open] .brief__more-icon,
.qa[open] .qa__icon { transform: rotate(45deg); }
.brief__more summary:hover span { text-decoration: underline; text-underline-offset: 0.25em; }
.brief__table--more { margin-top: 0; }
.brief__table--more tbody tr:first-child th,
.brief__table--more tbody tr:first-child td { border-top: 1px solid var(--linha); }

/* ---------- Títulos das seções ---------- */

.intro__title,
.steps__title,
.mdm__title,
.locate__title,
.support__title,
.faq__title {
  font-size: clamp(1.75rem, 3vw, 2.625rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.intro__lede,
.steps__lede,
.locate__lede,
.faq__lede {
  margin-top: 1.1rem;
  max-width: 46ch;
  color: var(--texto-2);
  font-size: 1.0625rem;
  line-height: 1.6;
}
.on-dark h2, .on-dark h3 { color: var(--branco); }

/* ---------- Apresentação: tese à esquerda, quatro benefícios à direita ---------- */

.intro {
  padding: var(--section-y) 0;
  background: var(--branco);
}
.intro .wrap {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: 2.5rem;
}
.intro__head { grid-column: 1 / span 5; }
.benefits {
  grid-column: 7 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.25rem var(--col-gap);
  list-style: none;
  align-self: end;
}
.benefit { padding-top: 1.1rem; border-top: 1px solid var(--azul); }
.benefit__title {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
}
.benefit__text {
  margin-top: 0.55rem;
  color: var(--texto-2);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ---------- Como funciona: fotografia sangrando à esquerda, etapas à direita ---------- */

.steps {
  position: relative;
  background: var(--mineral);
  border-top: 1px solid var(--linha);
}
.steps__media,
.support__media {
  --cw: min(100% - 2 * var(--gutter), var(--wrap) - 2 * var(--gutter));
  position: absolute;
  top: 0; bottom: 0; left: 0;
  /* da borda esquerda até o fim da coluna 6 */
  width: calc((100% - var(--cw)) / 2 + (var(--cw) - 11 * var(--col-gap)) / 12 * 6 + 5 * var(--col-gap));
  margin: 0;
  overflow: hidden;
  background: var(--grafite);
}
.steps__media img,
.support__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.steps__media img { object-position: 54% 50%; }
.steps__grid,
.support__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
}
.steps__body {
  grid-column: 8 / -1;
  padding: var(--section-y) 0;
}
.steps__list {
  margin-top: 2rem;
  list-style: none;
  border-bottom: 1px solid var(--linha);
}
.step {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  align-items: baseline;
  padding: 1.15rem 0;
  border-top: 1px solid var(--linha);
}
.step__n {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1;
  color: var(--azul);
  font-variant-numeric: lining-nums tabular-nums;
}
.step__title {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.step__text {
  margin-top: 0.35rem;
  color: var(--texto-2);
  font-size: 0.9375rem;
  line-height: 1.6;
}
.steps__risk {
  margin-top: 1.75rem;
  padding: 1rem 1.25rem;
  background: var(--branco);
  border: 1px solid var(--azul);
  border-radius: var(--r-control);
  color: var(--grafite);
  font-size: 0.9375rem;
  line-height: 1.6;
}
.steps__risk strong { color: var(--azul); }

/* ---------- Tecnologia MDM: campo azul, fotografia contida ---------- */

.mdm {
  padding: var(--section-y) 0;
  background: var(--azul);
  color: var(--branco);
}
.mdm__top {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: 2.5rem;
  align-items: center;
}
.mdm__copy { grid-column: 1 / span 5; }
.mdm__title { font-size: clamp(2rem, 3.6vw, 3.125rem); line-height: 1.05; letter-spacing: -0.035em; }
.mdm__lede {
  margin-top: 1.25rem;
  max-width: 40ch;
  color: var(--claro-2);
  font-size: 1.0625rem;
  line-height: 1.6;
}
.mdm__media {
  grid-column: 7 / -1;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--r-figure);
  background: var(--grafite);
}
.mdm__media img { width: 100%; height: 100%; object-fit: cover; }
.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem var(--col-gap);
  margin-top: clamp(2.75rem, 5vw, 4rem);
  list-style: none;
}
.feature { padding-top: 1.1rem; border-top: 1px solid var(--linha-ouro); }
.feature__title {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.feature__text {
  margin-top: 0.5rem;
  color: var(--claro-2);
  font-size: 0.9375rem;
  line-height: 1.6;
}
.mdm__note {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--linha-escura);
  max-width: 90ch;
  color: var(--claro-2);
  font-size: 0.8125rem;
  line-height: 1.6;
}

/* ---------- iPhone: fotografia sangrando à esquerda, conteúdo à direita ---------- */

.apple {
  position: relative;
  background: var(--branco);
}
.apple__media {
  --cw: min(100% - 2 * var(--gutter), var(--wrap) - 2 * var(--gutter));
  position: absolute;
  top: 0; bottom: 0; left: 0;
  /* da borda esquerda até o fim da coluna 6 */
  width: calc((100% - var(--cw)) / 2 + (var(--cw) - 11 * var(--col-gap)) / 12 * 6 + 5 * var(--col-gap));
  margin: 0;
  overflow: hidden;
  background: var(--mineral);
}
.apple__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 45% 50%;
}
.apple__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
}
.apple__body {
  grid-column: 8 / -1;
  padding: var(--section-y) 0;
}
.apple__title {
  font-size: clamp(2.25rem, 3.9vw, 3.5rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.apple__lede {
  margin-top: 1.5rem;
  max-width: 42ch;
  color: var(--grafite);
  font-size: 1.0625rem;
  line-height: 1.65;
}
.apple__list {
  margin-top: 2.25rem;
  list-style: none;
  border-bottom: 1px solid var(--linha);
}
.apple__list li {
  padding: 0.9rem 0;
  border-top: 1px solid var(--linha);
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--azul);
}
.apple__list li:first-child { border-top-color: var(--azul); }
.apple__note,
.apple__legal {
  max-width: 60ch;
  color: var(--texto-2);
  font-size: 0.8125rem;
  line-height: 1.6;
}
.apple__note { margin-top: 1.75rem; }
.apple__legal { margin-top: 0.75rem; }

/* Entrada própria: uma cortina mineral recolhe para a direita e revela a foto.
   Só com movimento permitido (main.js); sem JavaScript a foto já está visível.
   A imagem em si não é ocultada, para o carregamento lazy funcionar. */
.apple__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--mineral);
  transform: scaleX(0);
  transform-origin: right center;
  pointer-events: none;
}
.apple__media.will-reveal::after { transform: scaleX(1); }
.apple__media.will-reveal.is-in::after {
  transform: scaleX(0);
  transition: transform 1.3s var(--ease-out);
}
.apple__media.will-reveal img,
.apple__media.will-reveal.is-in img { opacity: 1; transform: none; transition: none; }

/* Abaixo de 1280 px a coluna ficaria estreita demais para os dois aparelhos:
   a foto inteira (3:2) vem antes do texto. */
@media (max-width: 1279px) {
  .apple__media {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
  }
  .apple__body { grid-column: 1 / -1; max-width: 40rem; }
}
@media (max-width: 720px) {
  .apple__media { aspect-ratio: 1 / 1; }
}

/* ---------- Geolocalização: conteúdo à esquerda, imagem sangrando à direita ---------- */

.locate {
  position: relative;
  background: var(--mineral);
  border-top: 1px solid var(--linha);
}
.locate__media {
  --cw: min(100% - 2 * var(--gutter), var(--wrap) - 2 * var(--gutter));
  position: absolute;
  top: 0; bottom: 0; right: 0;
  /* do início da coluna 7 até a borda direita */
  width: calc((100% - var(--cw)) / 2 + (var(--cw) - 11 * var(--col-gap)) / 12 * 6 + 5 * var(--col-gap));
  margin: 0;
  overflow: hidden;
  background: var(--azul);
}
.locate__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 28% 50%;
}
.locate__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
}
.locate__body {
  grid-column: 1 / span 5;
  padding: var(--section-y) 0;
}
.locate__label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--azul);
}
.locate__label::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: var(--azul);
}
.locate .locate__lede { max-width: 44ch; }
.locate__points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: 1.75rem;
  margin-top: clamp(2rem, 3.5vw, 2.75rem);
  list-style: none;
}
.locate__points li {
  padding-top: 1.1rem;
  border-top: 1px solid var(--linha-forte);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--azul);
  text-wrap: balance;
}
.locate__icon {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--azul);
}
.locate__note,
.locate__legal {
  color: var(--texto-2);
  font-size: 0.8125rem;
  line-height: 1.6;
}
.locate__note { margin-top: clamp(2rem, 3.5vw, 2.5rem); }
.locate__legal { margin-top: 0.75rem; }

/* Abaixo de 1280 px a coluna da imagem ficaria estreita demais para o aparelho:
   a imagem vem antes do texto, em largura total. */
@media (max-width: 1279px) {
  .locate__media {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
  }
  .locate__body { grid-column: 1 / -1; max-width: 40rem; }
}
@media (max-width: 720px) {
  .locate__media { aspect-ratio: 1 / 1; }
}
@media (max-width: 560px) {
  .locate__points { grid-template-columns: 1fr; row-gap: 0; }
  .locate__points li {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.9rem 0;
  }
  .locate__points li:last-child { border-bottom: 1px solid var(--linha-forte); }
  .locate__icon { flex: none; margin-bottom: 0; }
}

/* ---------- Suporte: fotografia à esquerda, horário em destaque ---------- */

.support {
  position: relative;
  background: var(--azul);
  color: var(--branco);
}
.support__media img { object-position: 62% 30%; }
.support__body {
  grid-column: 7 / -1;
  padding: var(--section-y) 0 var(--section-y) clamp(1rem, 4vw, 4rem);
}
.support__title { max-width: 18ch; }
.support__hours {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 1rem;
  margin-top: 2rem;
}
.support__figure {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.2vw, 5.25rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--dourado);
  font-variant-numeric: lining-nums tabular-nums;
  white-space: nowrap;
}
.support__days {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--branco);
}
.support__terms {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.75rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--linha-escura);
  border-bottom: 1px solid var(--linha-escura);
  list-style: none;
}
.support__terms li {
  padding: 0 1rem;
  border-left: 1px solid var(--linha-ouro);
  text-wrap: balance;
  color: var(--claro-2);
  font-size: 0.8125rem;
  line-height: 1.45;
}
.support__terms li:first-child { padding-left: 0; border-left: 0; }
.support__terms strong {
  display: block;
  margin-bottom: 0.2rem;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--branco);
}
.support__text {
  margin: 1.5rem 0 2rem;
  max-width: 46ch;
  color: var(--claro-2);
  font-size: 1rem;
  line-height: 1.6;
}

/* ---------- Perguntas frequentes ---------- */

.faq {
  padding: var(--section-y) 0;
  background: var(--branco);
}
.faq__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: 2rem;
  align-items: start;
}
.faq__head {
  grid-column: 1 / span 4;
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}
.faq__list { grid-column: 6 / -1; border-bottom: 1px solid var(--linha); }
.qa { border-top: 1px solid var(--linha); }
.qa:first-child { border-top-color: var(--azul); }
.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.15rem 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--azul);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--grafite); }
.qa p {
  max-width: 62ch;
  padding: 0 2.5rem 1.35rem 0;
  color: var(--texto-2);
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* ---------- Chamada final ---------- */

.closing {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  background: var(--azul);
  color: var(--branco);
}
.closing__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: 2rem;
  align-items: end;
}
.closing__title {
  grid-column: 1 / span 7;
  font-size: clamp(2.25rem, 4.6vw, 4rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.04em;
}
.closing__side { grid-column: 9 / -1; }
.closing__text {
  color: var(--claro-2);
  font-size: 1.0625rem;
  line-height: 1.6;
}
.closing__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  margin-top: 1.75rem;
}
.closing__actions .button { height: 52px; }

/* ---------- Rodapé ---------- */

.footer {
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
  background: var(--grafite);
  color: var(--claro-2);
  font-size: 0.875rem;
}
.footer__top {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: 2.5rem;
  padding-bottom: 2.5rem;
}
.footer__brand { grid-column: 1 / span 4; }
.footer__brand p { margin-top: 1rem; max-width: 34ch; line-height: 1.6; }
.footer__col:nth-of-type(1) { grid-column: 6 / span 2; }
.footer__col:nth-of-type(2) { grid-column: 8 / span 3; }
.footer__col:nth-of-type(3) { grid-column: 11 / span 2; }
.footer__label {
  margin-bottom: 0.9rem;
  font-family: var(--font-text);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--branco);
}
.footer ul { list-style: none; display: grid; gap: 0.6rem; }
.footer__col a { text-decoration: none; transition: color var(--t-fast); }
.footer__col a:hover { color: var(--branco); text-decoration: underline; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--linha-escura);
  font-size: 0.8125rem;
}
.footer__legal { display: flex !important; flex-wrap: wrap; gap: 0.5rem 1.75rem !important; }
.footer__legal span { color: rgba(255, 255, 255, 0.6); }

/* ---------- Fotografias das seções: assentam ao entrar na tela ---------- */

.will-reveal img {
  opacity: 0;
  transform: scale(1.04);
}
.will-reveal.is-in img {
  opacity: 1;
  transform: none;
  transition: opacity 0.9s var(--ease-out), transform 1.4s var(--ease-out);
}

/* ---------- Responsivo das seções da Fase 3 ---------- */

@media (max-width: 1023px) {
  .intro__head, .benefits { grid-column: 1 / -1; }
  .intro__head { max-width: 40rem; }

  .steps__media,
  .support__media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
  }
  .steps__body,
  .support__body { grid-column: 1 / -1; max-width: 40rem; padding-left: 0; }

  .mdm__copy, .mdm__media { grid-column: 1 / -1; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }



  .faq__head { grid-column: 1 / -1; position: static; }
  .faq__list { grid-column: 1 / -1; }

  .closing__title, .closing__side { grid-column: 1 / -1; }
  .closing__side { max-width: 36rem; }

  .footer__brand { grid-column: 1 / -1; }
  .footer__col:nth-of-type(1) { grid-column: 1 / span 4; }
  .footer__col:nth-of-type(2) { grid-column: 5 / span 4; }
  .footer__col:nth-of-type(3) { grid-column: 9 / span 4; }
}

@media (max-width: 720px) {
  .benefits,
  .features { grid-template-columns: 1fr; gap: 1.75rem; }

  .steps__media,
  .support__media { aspect-ratio: 4 / 3; }



  .qa p { padding-right: 0; }

  .brief__more summary { width: auto; }
  .brief__table--more { border-top: 0; }

  .footer__col:nth-of-type(1),
  .footer__col:nth-of-type(2),
  .footer__col:nth-of-type(3) { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; }
}

@media (max-width: 560px) {
  .closing__actions .button,
  .support__body .button { width: 100%; }

  .support__terms { grid-template-columns: 1fr; padding: 0.25rem 0; }
  .support__terms li,
  .support__terms li:first-child {
    padding: 0.7rem 0;
    border-left: 0;
    border-top: 1px solid var(--linha-escura);
    font-size: 0.875rem;
  }
  .support__terms li:first-child { border-top: 0; }
  .support__terms strong { display: inline; margin: 0 0.35rem 0 0; font-size: 1rem; }
}

/* ---------- Movimento reduzido ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
  /* Fabricantes: grade estática centralizada, sem as cópias do loop nem o controle */
  .brands__viewport { max-width: var(--wrap); margin-inline: auto; padding: 0 var(--gutter); -webkit-mask-image: none; mask-image: none; }
  .brands__track { width: auto; justify-content: center; }
  .brands__list { flex-wrap: wrap; justify-content: center; column-gap: var(--brand-gap); row-gap: 0.5rem; padding-right: 0; }
  .brands__list[aria-hidden="true"], .brands__toggle { display: none; }
}

/* ---------- Responsivo ---------- */

/* Cinco links, o CTA e o Entrar deixam de caber: o menu recolhe. */
@media (max-width: 1120px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0.5rem var(--gutter) 1.5rem;
    background: var(--azul);
    border-bottom: 1px solid var(--linha-escura);
  }
  .nav-open .nav { display: flex; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a {
    padding: 0.95rem 0;
    font-size: 1.0625rem;
    color: var(--branco);
    border-bottom: 1px solid var(--linha-escura);
  }
  .nav__list a::after { display: none; }
  .nav > .button { display: inline-flex; height: 48px; }
  .masthead__actions { margin-left: auto; }
}

/* A fotografia deixa de caber ao lado do texto: empilha abaixo das condições. */
@media (max-width: 1023px) {
  .hero { display: flex; flex-direction: column; }
  .hero__top { display: contents; }
  .hero__copy-wrap { order: 1; width: 100%; }
  .terms { order: 2; }
  .hero__media {
    order: 3;
    position: relative;
    inset: auto;
    aspect-ratio: 16 / 9;
  }
  .hero__copy { width: auto; max-width: 40rem; padding-bottom: 2.5rem; }

  .terms__list { flex-direction: column; padding-top: 0.25rem; padding-bottom: 0.5rem; }
  .term,
  .term:first-child {
    display: grid;
    grid-template-columns: 8.75rem minmax(0, 1fr);
    column-gap: 0.75rem;
    width: 100%;
    padding: 0.85rem 0;
    border-left: 0;
    border-bottom: 1px solid var(--linha-escura);
    white-space: normal;
  }
  .term:last-child { border-bottom: 0; }

  .brief__title, .brief__lede { grid-column: 1 / -1; }
}

/* Comparativo no celular: cada critério vira um bloco com as três empresas. */
@media (max-width: 720px) {
  /* 11 espaços de 2rem não cabem em 360px: a grade de 12 colunas estreita o espaçamento */
  :root { --col-gap: 1rem; }
  .brief__table,
  .brief__table tbody,
  .brief__table tr,
  .brief__table th,
  .brief__table td { display: block; width: auto; }
  .brief__table thead {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .brief__table { margin-top: 1.5rem; border-top: 1px solid var(--azul); }
  .brief__table tbody tr { padding: 1rem 0 0.75rem; border-bottom: 1px solid var(--linha); }
  .brief__table tbody th { padding: 0 0 0.5rem; border: 0; }
  .brief__table tbody td {
    display: grid;
    grid-template-columns: 5.25rem minmax(0, 1fr);
    column-gap: 1rem;
    padding: 0.45rem 0;
    border: 0;
  }
  .brief__table tbody td::before {
    content: attr(data-label);
    font-family: var(--font-text);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.7;
    color: var(--texto-2);
  }
  .brief__table .is-vm { width: auto; }
  .brief__table tbody td.is-vm {
    margin: 0.15rem -0.75rem;
    padding: 0.6rem 0.75rem;
    border-radius: var(--r-control);
  }
  .brief__table tbody td.is-vm::before { color: var(--azul); }
  .brief__table .is-price { font-size: 1.125rem; }
}

@media (max-width: 600px) {
  .masthead__cta { display: none; }
}

@media (max-width: 560px) {
  :root { --header-h: 64px; }
  .brand img { height: 23px; }
  .hero__actions { gap: 0.75rem; }
  .hero__actions .button { flex: 1 1 100%; }
  .hero__media { aspect-ratio: 4 / 3; }
  .hero__title { font-size: clamp(2.125rem, 9.6vw, 2.5rem); }
  .term, .term:first-child { grid-template-columns: 7.5rem minmax(0, 1fr); }
  .button.login { padding: 0 0.85rem; }
}
