/* CowSynch — site público.
   Sem framework e sem build: o deploy é um sync do diretório website/ para o
   S3. Tokens espelham brand/source/palette.json e prototypes/css/tokens.css.
   Regras de marca ativas nesta folha: nenhum gradiente, nenhum raio de
   pílula, sombra sempre azul-marinho em alfa, cobre nunca como texto sobre
   papel. Motion de entrada só existe sob html.js; sem JS tudo fica visível. */

/* ==========================================================================
   1. Fontes
   ========================================================================== */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/montserrat-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/montserrat-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/montserrat-latin-600-normal.woff2') format('woff2');
}

/* ==========================================================================
   2. Tokens
   ========================================================================== */
:root {
  --copper: #c7924e;
  --copper-deep: #b07c3a;
  --copper-soft: #d3a667;
  --copper-light: #e3c196;
  --navy: #0d1b2e;
  --paper: #f2f2f0;
  --surface: #ffffff;
  --ink-on-copper: #10203a;

  --text: #2c3a4e;
  --text-strong: #0d1b2e;
  --text-muted: #5c6879;
  --on-navy: #f2f2f0;
  --on-navy-muted: rgba(242, 242, 240, 0.68);
  --on-navy-faint: rgba(242, 242, 240, 0.12);

  --border: rgba(13, 27, 46, 0.12);
  --border-strong: rgba(13, 27, 46, 0.2);
  --divider: rgba(13, 27, 46, 0.08);

  --c-iatf: #e2551e;
  --c-tetf: #1e6fb8;
  --c-opu: #0e9ba3;
  --c-outros: #2e9e5b;

  --radius-ctl: 10px;
  --radius-card: 12px;

  --shadow-card: 0 1px 2px 0 rgba(13, 27, 46, 0.03), 0 6px 20px 0 rgba(13, 27, 46, 0.05);
  --shadow-card-hover: 0 10px 28px rgba(13, 27, 46, 0.1);
  --shadow-deep: 0 24px 60px -24px rgba(13, 27, 46, 0.45);

  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --tracking-wider: 0.08em;
  --angle-brand: 34deg;

  --topbar-h: 68px;
  --container: 1200px;
}

/* Em monitor grande a coluna de leitura acompanha a tela, senão sobra uma
   faixa morta enorme dos dois lados. */
@media (min-width: 1600px) {
  :root { --container: 1400px; }
}

/* ==========================================================================
   3. Base
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  margin: 0;
  color: var(--text-strong);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.01em;
}

p { margin: 0; }

a { color: var(--text-strong); text-decoration: none; }

section { scroll-margin-top: var(--topbar-h); }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}

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

/* Rótulo pequeno em caixa alta: o recurso de hierarquia da marca. Sem
   nenhum traço decorativo, que leria como travessão. */
.eyebrow {
  display: block;
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.eyebrow--on-navy { color: var(--copper); }

.section-head { max-width: 720px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); }
.section-head p {
  margin-top: 14px;
  font-size: clamp(16px, 1.6vw, 18px);
  color: var(--text-muted);
  max-width: 56ch;
}
.section-head--on-navy h2 { color: var(--on-navy); }
.section-head--on-navy p { color: var(--on-navy-muted); }

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: none;
}
.dot--iatf { background: var(--c-iatf); }
.dot--tetf { background: var(--c-tetf); }
.dot--opu { background: var(--c-opu); }
.dot--outros { background: var(--c-outros); }

/* ==========================================================================
   4. Botões e badges de loja
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--radius-ctl);
  font: 600 15px/1 'Montserrat', system-ui, sans-serif;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background-color 180ms var(--ease-expo), transform 180ms var(--ease-expo);
}
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(199, 146, 78, 0.28); }
.btn--primary { background: var(--copper); color: var(--ink-on-copper); }
.btn--primary:hover { background: var(--copper-deep); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }

.store-badges {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
/* As duas artes estão sem respiro embutido, então a altura iguala o corpo do
   badge nas duas lojas e a largura sai da proporção de cada uma. O respiro
   exigido pelas marcas vem do gap, sempre maior que 1/4 da altura. */
.store-badges img { height: 46px; width: auto; }
.store-badges--lg img { height: 54px; }
.store-badges :is(a, button) {
  display: inline-flex;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 8px;
  transition: transform 180ms var(--ease-expo), opacity 180ms var(--ease-expo);
}
.store-badges :is(a, button):hover { transform: translateY(-2px); }
.store-badges :is(a, button):focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(199, 146, 78, 0.28); }

.store-dialog {
  width: min(420px, calc(100% - 40px));
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  color: var(--text);
  background: var(--surface);
  box-shadow: var(--shadow-deep);
}
.store-dialog::backdrop { background: rgba(13, 27, 46, 0.72); }
.store-dialog__content {
  display: grid;
  justify-items: center;
  padding: 34px 30px 30px;
  text-align: center;
}
.store-dialog__content > img { width: 36px; height: auto; margin-bottom: 16px; }
.store-dialog__content > span {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.store-dialog h2 { margin-top: 6px; font-size: 28px; }
.store-dialog p { margin-top: 10px; color: var(--text-muted); }
.store-dialog .btn { margin-top: 26px; min-width: 132px; }

/* ==========================================================================
   5. Topbar
   ========================================================================== */
.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: var(--topbar-h);
  background: var(--navy);
  transition: box-shadow 220ms var(--ease-expo);
}
.topbar__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}
.topbar__brand { display: inline-flex; align-items: center; gap: 10px; }
.topbar__symbol { height: 30px; width: auto; }
.topbar__brand-copy { display: grid; gap: 2px; line-height: 1; }
.topbar__brand-name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--on-navy);
}
.topbar__brand-tag {
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--copper-soft);
  white-space: nowrap;
}
.topbar__nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
}
.topbar__nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--on-navy-muted);
  transition: color 160ms var(--ease-expo);
}
.topbar__nav a:hover,
.topbar__nav a[aria-current='true'] { color: var(--copper-soft); }
.topbar--scrolled {
  box-shadow: 0 1px 0 var(--on-navy-faint), 0 12px 30px rgba(13, 27, 46, 0.35);
}
/* Idiomas: menu suspenso com bandeira à direita do botão. Funciona sem JS,
   porque é um details nativo; o JS só fecha ao clicar fora. */
.lang { position: relative; flex: none; }
.lang__current {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 10px 0 12px;
  border: 1px solid var(--on-navy-faint);
  border-radius: var(--radius-ctl);
  color: var(--on-navy);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  list-style: none;
  cursor: pointer;
  transition: border-color 160ms var(--ease-expo), background-color 160ms var(--ease-expo);
}
.lang__current::-webkit-details-marker { display: none; }
.lang__current:hover, .lang[open] .lang__current { border-color: var(--copper); background: rgba(242, 242, 240, 0.06); }
.lang__current:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(199, 146, 78, 0.28); }
.lang__chevron { width: 16px; height: 16px; stroke: var(--on-navy-muted); stroke-width: 2.2; fill: none; stroke-linecap: round; stroke-linejoin: round; transition: transform 200ms var(--ease-expo); }
.lang[open] .lang__chevron { transform: rotate(180deg); }
.flag { width: 20px; height: 14px; flex: none; border-radius: 2px; box-shadow: 0 0 0 1px rgba(13, 27, 46, 0.25); }
.lang__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 50;
  min-width: 188px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--navy);
  border: 1px solid var(--on-navy-faint);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-deep);
}
.lang__menu a {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-ctl);
  color: var(--on-navy);
  transition: background-color 160ms var(--ease-expo);
}
.lang__menu a:hover { background: rgba(242, 242, 240, 0.08); }
.lang__menu a[aria-current='true'] { color: var(--copper-soft); }
.lang__menu a[aria-current='true'] .lang__name { color: var(--copper-soft); }
.lang__code { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; }
.lang__name { font-size: 13px; color: var(--on-navy-muted); white-space: nowrap; }
.topbar__cta { margin-left: auto; }
.topbar__nav + .topbar__cta { margin-left: 0; }
@media (max-width: 860px) {
  .topbar__nav { display: none; }
  .topbar__nav + .topbar__cta { margin-left: auto; }
  .topbar__inner { gap: 12px; }
}
/* Em tela estreita a tagline disputa espaço com o botão e o menu de idiomas. */
@media (max-width: 640px) {
  .topbar__brand-tag { display: none; }
}
@media (max-width: 460px) {
  .topbar__brand-name { display: none; }
  .lang__current { padding: 0 8px 0 10px; }
}

/* ==========================================================================
   6. Hero
   ========================================================================== */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 47%) minmax(0, 53%);
  min-height: 100svh;
  background: var(--navy);
  overflow: hidden;
}
.hero__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--topbar-h) + 40px) clamp(24px, 4.5vw, 72px) 72px;
  position: relative;
  z-index: 2;
}
/* Símbolo e nome lado a lado, como no topo, antes do título. */
.hero__brand { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 22px); margin-bottom: clamp(28px, 4vh, 44px); }
.hero__symbol { width: clamp(56px, 5.4vw, 84px); height: auto; display: block; }
.hero__wordmark {
  color: var(--on-navy);
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1;
}
.hero__title {
  color: var(--on-navy);
  font-size: clamp(34px, 4.2vw, 56px);
  max-width: 14ch;
}
.hero__sub {
  margin-top: 18px;
  font-size: clamp(16px, 1.7vw, 19px);
  color: var(--on-navy-muted);
  max-width: 38ch;
}
.hero__actions { margin-top: clamp(30px, 4.5vh, 46px); }
.hero__note {
  margin-top: 16px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--on-navy-muted);
}
.hero__media {
  position: relative;
  z-index: 1;
  /* A costura entre painel e foto herda o ângulo das pernas da ampulheta. */
  clip-path: polygon(clamp(0px, 4.4vw, 64px) 0, 100% 0, 100% 100%, 0 100%);
  margin-left: calc(-1 * clamp(0px, 4.4vw, 64px));
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
}
.hero__scrollcue {
  position: absolute;
  left: clamp(24px, 4.5vw, 72px);
  bottom: 28px;
  z-index: 2;
  width: 2px;
  height: 44px;
  background: var(--on-navy-faint);
  overflow: hidden;
}
.hero__scrollcue::after {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 16px;
  background: var(--copper);
  animation: cue 2.2s var(--ease-expo) infinite;
}
@keyframes cue {
  0% { transform: translateY(-18px); }
  60% { transform: translateY(46px); }
  100% { transform: translateY(46px); }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero__panel { padding-top: calc(var(--topbar-h) + 48px); padding-bottom: 48px; }
  .hero__media {
    clip-path: none;
    margin-left: 0;
    aspect-ratio: 4 / 5;
    max-height: 62svh;
  }
  .hero__scrollcue { display: none; }
}

/* ==========================================================================
   7. Seção O app — tablet e celular inclinados com as peças das lojas
   ========================================================================== */
.app { background: var(--paper); overflow: hidden; }
/* Texto e aparelhos lado a lado: a seção fica na altura das vizinhas em vez
   de parar a página numa vitrine de tela inteira. No celular empilha. */
.app__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  grid-template-areas: "copy showcase" "badges showcase";
  column-gap: clamp(24px, 4vw, 64px);
  align-items: center;
  padding-block: clamp(56px, 8vh, 96px);
}
.app__copy { grid-area: copy; align-self: end; }
.app__showcase {
  grid-area: showcase;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: clamp(8px, 2vh, 24px) 0;
}
.app__device { flex: none; }
.app__device--tablet { width: clamp(200px, 26vw, 380px); }
.app__device--phone { width: clamp(126px, 15vw, 216px); margin-left: clamp(-70px, -5vw, -26px); margin-bottom: clamp(-12px, -1.6vw, 0px); position: relative; z-index: 2; }
/* A inclinação mora numa camada própria: o reveal e o parallax usam as deles. */
.app__tilt { display: block; }
.app__device--tablet .app__tilt { transform: rotate(-4.5deg); }
.app__device--phone .app__tilt { transform: rotate(5deg); }
/* Os recortes vêm com fundo transparente, então a sombra é da marca e um
   aparelho encobre o outro sem caixa visível. */
.app__device img { filter: drop-shadow(0 26px 46px rgba(13, 27, 46, 0.24)); }
.app__footer { grid-area: badges; align-self: start; display: flex; justify-content: flex-start; padding-top: clamp(20px, 3vh, 32px); }
@media (max-width: 860px) {
  .app__grid { grid-template-columns: 1fr; grid-template-areas: "copy" "showcase" "badges"; row-gap: clamp(16px, 3vh, 28px); }
  .app__showcase { padding: clamp(12px, 3vh, 28px) 0 0; }
  .app__device--tablet { width: clamp(200px, 46vw, 320px); }
  .app__device--phone { width: clamp(126px, 26vw, 190px); }
  .app__footer { justify-content: center; }
}

.phone {
  width: 100%;
  background: var(--navy);
  border-radius: 34px;
  padding: 10px;
  box-shadow: var(--shadow-deep), inset 0 0 0 1.5px rgba(255, 255, 255, 0.06);
}
.phone__screen {
  border-radius: 26px;
  overflow: hidden;
  aspect-ratio: 390 / 844;
  background: var(--paper);
}
.phone__screen img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   8. Seção Protocolo — linha do tempo em marinho
   ========================================================================== */
.protocolo {
  background: var(--navy);
  padding: clamp(76px, 11vh, 130px) 0;
}
.protocolo__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 4fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
}
.timeline { margin-top: clamp(36px, 6vh, 64px); }
.timeline svg { width: 100%; height: auto; display: block; overflow: visible; }
.timeline__labels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 18px;
}
.timeline__label { text-align: center; opacity: 0.35; transition: opacity 500ms var(--ease-expo); }
.timeline__label.is-active { opacity: 1; }
.timeline__label strong {
  display: block;
  font-weight: 600;
  font-size: clamp(17px, 2vw, 22px);
  color: var(--copper-soft);
  font-variant-numeric: tabular-nums;
}
.timeline__label span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--on-navy-muted);
}
.protocolo__facts { display: grid; gap: 18px; }
.fact {
  border: 1px solid var(--on-navy-faint);
  border-left: 3px solid var(--copper);
  border-radius: var(--radius-card);
  padding: 22px 24px;
}
.fact strong {
  display: block;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 600;
  color: var(--on-navy);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.fact > span { display: block; margin-top: 6px; font-size: 14px; color: var(--on-navy-muted); max-width: 34ch; }
@media (max-width: 860px) {
  .protocolo__grid { grid-template-columns: 1fr; }
  .timeline__label span { font-size: 12px; }
}

/* ==========================================================================
   9. Serviços de campo — a foto ocupa a seção, o índice vive sobre ela
   ========================================================================== */
.servicos {
  position: relative;
  background: var(--paper);
  padding: clamp(76px, 11vh, 130px) 0 0;
  overflow: hidden;
}
.servicos__stage {
  position: relative;
  margin-top: clamp(32px, 5vh, 56px);
  min-height: clamp(520px, 76vh, 780px);
  display: flex;
  align-items: center;
}
/* Sangra da esquerda até a borda direita, com a costura da ampulheta. */
.servicos__media {
  position: absolute;
  inset: 0 0 0 30%;
  clip-path: polygon(clamp(40px, 5vw, 92px) 0, 100% 0, 100% 100%, 0 100%);
}
.servicos__media picture {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 800ms var(--ease-expo);
}
.servicos__media picture.is-active { opacity: 1; }
.servicos__media img { width: 100%; height: 100%; object-fit: cover; }
.servicos__list {
  position: relative;
  z-index: 2;
  width: min(580px, 50%);
  margin-left: calc(max(0px, (100vw - var(--container)) / 2) + clamp(20px, 4vw, 48px));
  background: var(--navy);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-deep);
  padding: clamp(20px, 2.6vw, 34px) clamp(22px, 2.8vw, 38px);
}
.servico-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  width: 100%;
  padding: clamp(15px, 2.2vh, 22px) 0;
  border: 0;
  border-top: 1px solid var(--on-navy-faint);
  background: none;
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.servico-row:first-of-type { border-top: 0; }
.servico-row:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(199, 146, 78, 0.28); }
.servico-row .dot { margin-top: 12px; }
.servico-row__text { display: block; }
/* A linha inativa não é apagada por opacidade: isso derrubava o contraste do
   texto. Quem marca a ativa é a cor do título e o ponto da taxonomia. */
.servico-row__title {
  display: block;
  font-size: clamp(19px, 1.9vw, 27px);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: var(--on-navy-muted);
  transition: color 300ms var(--ease-expo);
}
.servico-row:hover .servico-row__title,
.servico-row.is-active .servico-row__title { color: var(--on-navy); }
.servico-row .dot { opacity: 0.45; transition: opacity 300ms var(--ease-expo); }
.servico-row:hover .dot,
.servico-row.is-active .dot { opacity: 1; }
.servico-row__desc {
  display: block;
  margin-top: 6px;
  font-size: clamp(14px, 0.95vw, 16px);
  color: var(--on-navy-muted);
  max-width: 38ch;
}
.servicos__note {
  margin: 6px 0 0;
  padding-top: clamp(14px, 2vh, 20px);
  border-top: 1px solid var(--on-navy-faint);
  font-size: clamp(13px, 0.9vw, 15px);
  color: var(--on-navy-muted);
  max-width: 46ch;
}
@media (max-width: 860px) {
  .servicos { padding-bottom: 0; }
  .servicos__stage { display: block; min-height: 0; }
  .servicos__media { position: relative; inset: auto; clip-path: none; aspect-ratio: 4 / 3; }
  .servicos__list {
    width: auto;
    margin: clamp(-56px, -8vw, -32px) clamp(16px, 4vw, 40px) 0;
  }
}

/* ==========================================================================
   10. Feito para o campo — fotos sangradas com a costura da marca
   ========================================================================== */
.campo { background: var(--surface); padding: clamp(76px, 11vh, 130px) 0 clamp(64px, 10vh, 112px); }
.campo__rows { margin-top: clamp(40px, 6vh, 72px); }
/* A borda interna da foto acompanha a coluna do container, senão em tela
   larga ela avança sobre o texto. Estas medidas são o limite dessa coluna. */
.prova {
  --cw: min(100vw, var(--container));
  --gutter: calc((100vw - var(--cw)) / 2);
  /* Meio da coluna do container: onde a foto encosta sem invadir o texto. */
  --split: calc(var(--gutter) + var(--cw) / 2);
  position: relative;
}
.prova__media { position: absolute; inset: 0 0 0 var(--split); }
.prova__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* A costura da foto herda o ângulo das pernas da ampulheta, como no hero. */
.prova:not(.prova--flip) .prova__media { clip-path: polygon(clamp(32px, 4.4vw, 64px) 0, 100% 0, 100% 100%, 0 100%); }
.prova--flip .prova__media {
  inset: 0 calc(100% - var(--split)) 0 0;
  clip-path: polygon(0 0, 100% 0, calc(100% - clamp(32px, 4.4vw, 64px)) 100%, 0 100%);
}
/* O texto é uma coluna da grade do container, nunca padding contra um teto
   de largura: em tela larga aquilo esmagava a medida até zerar. */
.prova__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  min-height: clamp(440px, 64vh, 640px);
}
.prova__body {
  grid-column: 1;
  padding-block: clamp(48px, 8vh, 88px);
  padding-right: clamp(16px, 2.4vw, 40px);
}
.prova--flip .prova__body {
  grid-column: 2;
  padding-right: 0;
  padding-left: clamp(16px, 2.4vw, 40px);
}
.prova__body h2,
.prova__body h3 { font-size: clamp(24px, 2.6vw, 38px); max-width: 18ch; }
.prova__body p { margin-top: 16px; font-size: clamp(15px, 1.4vw, 19px); color: var(--text-muted); max-width: 46ch; }

/* Banda final: o cartão de WhatsApp sobre a madeira do curral. */
.prova--band { display: block; min-height: 0; margin-top: clamp(56px, 9vh, 100px); padding: clamp(64px, 10vh, 110px) 0; }
.prova--band .prova__media { position: absolute; inset: 0; clip-path: none; }
.prova--band__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.prova--band__panel {
  background: var(--navy);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-deep);
  padding: clamp(28px, 4vw, 52px);
}
.prova--band__panel h3 { color: var(--on-navy); font-size: clamp(24px, 2.8vw, 34px); max-width: 16ch; }
.prova--band__panel p { margin-top: 14px; color: var(--on-navy-muted); font-size: clamp(15px, 1.6vw, 17px); max-width: 40ch; }
.prova--band .phone { width: clamp(210px, 21vw, 270px); justify-self: center; margin-block: clamp(-104px, -14vh, -84px); }
@media (max-width: 860px) {
  .prova__inner, .prova--flip .prova__inner { grid-template-columns: 1fr; min-height: 0; }
  .prova__media, .prova--flip .prova__media { position: static; inset: auto; clip-path: none; aspect-ratio: 4 / 3; }
  .prova:not(.prova--flip) .prova__media { clip-path: none; }
  .prova__media img { position: static; }
  .prova__body, .prova--flip .prova__body { grid-column: 1; padding: 28px 0 40px; }
  .prova--band__grid { grid-template-columns: 1fr; }
  .prova--band .phone { margin-block: 0; }
}

/* ==========================================================================
   11. Banda panorâmica
   ========================================================================== */
/* Duas fotos sangradas em sequência precisam de uma emenda declarada: um
   respiro claro acima e o corte diagonal da marca abrindo a panorâmica. */
.banda {
  --banda-seam: clamp(28px, 4.4vw, 72px);
  position: relative;
  overflow: hidden;
  height: clamp(260px, 44vh, 460px);
  margin-top: calc(-1 * var(--banda-seam));
  clip-path: polygon(0 var(--banda-seam), 100% 0, 100% 100%, 0 100%);
}
.banda img { width: 100%; height: 120%; object-fit: cover; }

/* ==========================================================================
   11b. Relatórios — os quatro do app, em cards de leitura
   ========================================================================== */
.relatorios { background: var(--paper); padding: clamp(76px, 11vh, 130px) 0; }
.relatorios__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(32px, 5vh, 56px);
}
.relatorio {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--copper);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: clamp(20px, 2.4vw, 28px);
}
.relatorio h3 { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.2; }
.relatorio p { margin-top: 10px; font-size: 14.5px; color: var(--text-muted); }
@media (max-width: 860px) {
  .relatorios__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
}
@media (max-width: 520px) {
  .relatorios__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   12. Preço — o teste grátis na frente, o valor como consequência
   ========================================================================== */
.preco { background: var(--navy); padding: clamp(76px, 11vh, 130px) 0; }
.preco__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}
.preco__trial h2 {
  color: var(--on-navy);
  font-size: clamp(40px, 5vw, 64px);
  max-width: 12ch;
}
.preco__trial > p { margin-top: 12px; color: var(--on-navy-muted); font-size: clamp(15px, 1.7vw, 18px); }
.trial-list { display: grid; gap: 14px; margin: clamp(24px, 4vh, 36px) 0 0; padding: 0; list-style: none; }
.trial-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--on-navy-muted); font-size: 15.5px; max-width: 44ch; }
.trial-list svg { flex: none; width: 22px; height: 22px; stroke: var(--copper); stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-linejoin: round; margin-top: 1px; }
.preco__card {
  border: 1px solid var(--on-navy-faint);
  border-top: 3px solid var(--copper);
  border-radius: var(--radius-card);
  padding: clamp(28px, 4vw, 44px);
  text-align: center;
  display: grid;
  justify-items: center;
}
.preco__card > span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper);
}
.preco__valor {
  margin-top: 18px;
  color: var(--on-navy);
  font-size: clamp(46px, 4.6vw, 64px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.preco__valor sup { font-size: 0.34em; font-weight: 500; margin-right: 8px; letter-spacing: 0; vertical-align: 58%; }
.preco__plano { margin-top: 12px; font-size: 14.5px; color: var(--on-navy-muted); }
.preco__inclui {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  justify-items: start;
  text-align: left;
}
.preco__inclui li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--on-navy); }
.preco__inclui svg { flex: none; width: 20px; height: 20px; stroke: var(--copper); stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-linejoin: round; margin-top: 1px; }
.preco__card .store-badges { margin-top: clamp(24px, 4vh, 34px); justify-content: center; }
@media (max-width: 860px) {
  .preco__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   13. Footer
   ========================================================================== */
.footer { background: var(--navy); border-top: 1px solid var(--on-navy-faint); padding: 44px 0 36px; }
.footer__inner { display: grid; gap: 26px; }
.footer__top { display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; }
.footer__brand { display: inline-flex; align-items: center; gap: 10px; }
.footer__symbol { height: 24px; width: auto; }
.footer__wordmark { color: var(--on-navy); font-size: 14px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; line-height: 1; }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__links a { font-size: 14px; color: var(--on-navy-muted); transition: color 160ms var(--ease-expo); }
.footer__social { display: inline-flex; align-items: center; gap: 6px; }
.footer__social svg { width: 17px; height: 17px; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.footer__links a:hover { color: var(--copper-soft); }
.footer__base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  flex-wrap: wrap;
  border-top: 1px solid var(--on-navy-faint);
  padding-top: 22px;
}
.footer__copy { font-size: 12.5px; color: var(--on-navy-muted); }

/* Assinatura da Ordinum, no padrão das outras entregas. */
.powered { display: inline-flex; align-items: center; gap: 9px; }
.powered__pre {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-navy-muted);
}
.powered__od { display: inline-flex; align-items: center; gap: 7px; }
.powered__mark {
  display: block;
  height: 15px;
  width: auto;
  aspect-ratio: 560 / 356;
  background-color: var(--on-navy-muted);
  -webkit-mask: url('brand/ordinum-mark.png') center / contain no-repeat;
  mask: url('brand/ordinum-mark.png') center / contain no-repeat;
  transition: background-color 160ms var(--ease-expo);
}
.powered__name {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--on-navy-muted);
  transition: color 160ms var(--ease-expo);
}
.powered__od:hover .powered__mark { background-color: var(--copper-soft); }
.powered__od:hover .powered__name { color: var(--copper-soft); }
.powered__od:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(199, 146, 78, 0.28); border-radius: 4px; }

/* ==========================================================================
   16. Páginas internas
   ========================================================================== */
.page { max-width: 900px; margin-inline: auto; padding: calc(var(--topbar-h) + 48px) clamp(20px, 4vw, 48px) 96px; }
/* A faixa de foto dá às páginas internas a mesma abertura da landing. */
.page-hero { position: relative; margin-top: var(--topbar-h); height: clamp(160px, 26vh, 280px); overflow: hidden; background: var(--navy); }
.page-hero img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: rgba(13, 27, 46, 0.32); }
.page--after-hero { padding-top: clamp(36px, 6vh, 56px); }
.page__notice { margin-top: 12px; font-size: 14px; color: var(--text-muted); }
.page__eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 12px;
}
.page h1 { font-size: clamp(28px, 4vw, 38px); }
.page__updated { margin-top: 10px; font-size: 14px; color: var(--text-muted); }
.page h2 {
  font-size: clamp(20px, 2.6vw, 24px);
  margin: 44px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--divider);
}
.page h3 { font-size: 17px; margin: 26px 0 0; }
.page p, .page li { max-width: 68ch; }
.page p { margin-top: 14px; }
.page ul, .page ol { margin: 14px 0 0; padding-left: 22px; }
.page li { margin-top: 8px; }
.page li::marker { color: var(--copper-deep); }
.page a { color: var(--text-strong); text-decoration: underline; text-decoration-color: var(--copper); text-underline-offset: 3px; }
.page a:hover { text-decoration-thickness: 2px; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 22px 24px;
  margin-top: 22px;
}
.card p:first-child { margin-top: 0; }

.table-wrap { overflow-x: auto; margin-top: 18px; }
table { border-collapse: collapse; width: 100%; font-size: 14.5px; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--divider); vertical-align: top; }
th { color: var(--text-strong); font-weight: 600; white-space: nowrap; }

/* Hero das páginas de aviso, como o 404. */
.notice {
  min-height: 100svh;
  display: grid;
  place-items: center;
  background: var(--navy);
  padding: calc(var(--topbar-h) + 40px) clamp(20px, 4vw, 48px) 80px;
}
.notice__inner { text-align: center; max-width: 480px; display: grid; justify-items: center; }
.notice__inner img { width: 72px; height: auto; margin-bottom: 28px; }
.notice h1 { color: var(--on-navy); font-size: clamp(26px, 4vw, 34px); }
.notice p { margin-top: 14px; color: var(--on-navy-muted); }
.notice .btn { margin-top: 30px; }

/* ==========================================================================
   17. Documento legal longo, usado em /terms
   ========================================================================== */
.legal-meta {
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
}
.legal-meta span { white-space: nowrap; }

/* Sumário navegável, exigência de leitura prévia do contrato de adesão. */
.legal-toc {
  margin-top: 26px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 22px 24px;
}
.legal-toc h2 {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--copper-deep);
}
.legal-toc ol {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  columns: 2;
  column-gap: 32px;
}
.legal-toc li {
  margin: 0 0 7px;
  break-inside: avoid;
  font-size: 14.5px;
  max-width: none;
}
.legal-toc a {
  color: var(--text);
  text-decoration: none;
  display: flex;
  gap: 9px;
  align-items: baseline;
}
.legal-toc a:hover { color: var(--text-strong); text-decoration: underline; text-decoration-color: var(--copper); }
.legal-toc b {
  flex: none;
  min-width: 1.7em;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--copper-deep);
}

/* Cláusula numerada. O número vive numa coluna própria, não entre parênteses. */
.page h2.legal-clause {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: baseline;
  scroll-margin-top: calc(var(--topbar-h) + 20px);
}
.legal-clause .legal-num {
  font-variant-numeric: tabular-nums;
  font-size: 0.72em;
  font-weight: 600;
  color: var(--copper-deep);
  letter-spacing: 0;
}

/* Destaque ostensivo das cláusulas que limitam direito. */
.legal-highlight {
  margin-top: 20px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-left: 4px solid var(--copper);
  border-radius: var(--radius-card);
  padding: 20px 24px;
}
.legal-highlight__label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--copper-deep);
  margin-bottom: 10px;
}
.page .legal-highlight p { margin-top: 12px; color: var(--text-strong); }
.page .legal-highlight p:first-of-type { margin-top: 0; }
.page .legal-highlight li { color: var(--text-strong); }

/* Lista de itens da cláusula, com alínea própria. */
.page ol.legal-items { margin-top: 14px; padding-left: 20px; }
.page ol.legal-items > li { margin-top: 10px; }
.page ol.legal-items > li::marker { color: var(--copper-deep); font-weight: 600; }

.legal-anchor-top {
  margin-top: 40px;
  font-size: 14px;
}

@media (max-width: 640px) {
  .legal-toc ol { columns: 1; }
  .legal-highlight { padding: 18px 20px; }
}

/* ==========================================================================
   18. Motion — só sob html.js, anulado por prefers-reduced-motion
   ========================================================================== */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 900ms var(--ease-expo), transform 900ms var(--ease-expo);
  transition-delay: calc(var(--i, 0) * 90ms);
}
html.js [data-reveal].is-in { opacity: 1; transform: none; }

html.js [data-parallax] { will-change: transform; }

/* Entrada do hero: dispara no load, não no scroll. O zoom fica no picture
   para não disputar o transform do parallax, que vive no img. */
html.js .hero__media picture {
  display: block;
  height: 100%;
  transform: scale(1.06);
  transition: transform 2400ms var(--ease-expo);
}
html.js .hero.is-ready .hero__media picture { transform: scale(1); }
.hero__media picture { display: block; height: 100%; }

/* Nós da linha do tempo. */
.timeline__node path { stroke: rgba(242, 242, 240, 0.22); transition: stroke 500ms var(--ease-expo); }
.timeline__node.is-active path { stroke: var(--copper); }

html.motion-off [data-reveal],
html.motion-off .hero__media picture { opacity: 1; transform: none; transition: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js [data-reveal],
  html.js .hero__media picture { opacity: 1; transform: none; transition: none; }
  .hero__scrollcue::after { animation: none; }
  .btn, .store-badges :is(a, button), .servico-card { transition: none; }
  .timeline__progress { stroke-dashoffset: 0 !important; }
  .timeline__node path { stroke: var(--copper); }
  .timeline__label { opacity: 1; }
}
