/* Conceito: "Carga alta. Exame em dia." Duas chapas, grafite e aço, cortadas no ângulo do escudo.
   Cada corte e chanfro da página vem da geometria da logo. */
:root {
  --grafite: #17191d;
  --grafite-2: #24272c;
  --aco: #d3d6d9;
  --aco-claro: #eceef0;
  --tinta: #15171a;
  --tinta-2: #4b5057;
  --nevoa: #a4a9b0;
  --vermelho: #d4151b;
  --vermelho-txt: #b90f15;
  --display: 'Archivo', 'Arial Black', Impact, sans-serif;
  --texto: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'IBM Plex Mono', Menlo, Consolas, monospace;
  --gutter: clamp(20px, 4.5vw, 72px);
  --chanfro: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--grafite); color: var(--tinta); font: 400 1.0625rem/1.55 var(--texto); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--vermelho); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

h1, h2, h3, .fim__line, .plano__preco {
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 125%;
  text-transform: uppercase;
  line-height: .92;
  letter-spacing: -.012em;
  text-wrap: balance;
}
h2 { font-size: clamp(2.1rem, 5.2vw, 4.6rem); }

/* Botão: chanfrado como a ponta do escudo */
.btn {
  display: inline-block;
  padding: 1.05em 2.4em 1.05em 1.7em;
  background: var(--vermelho);
  color: #fff;
  font: 800 1rem/1 var(--display);
  font-stretch: 112%;
  text-transform: uppercase;
  letter-spacing: .02em;
  text-decoration: none;
  text-align: center;
  clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 100%, 0 100%);
  transition: background .15s, transform .15s;
}
.btn:hover { background: #ad0e13; transform: translateX(4px); }
.btn--line { background: var(--grafite); }
.btn--line:hover { background: #000; }
.btn.is-off { background: transparent; color: var(--tinta-2); box-shadow: inset 0 0 0 2px var(--nevoa); clip-path: none; cursor: not-allowed; transform: none; }

/* Topo */
.top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--gutter);
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
  background: var(--grafite) url(../img/graphite.jpg);
  color: #fff;
}
.top__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 .95rem/1 var(--display); font-stretch: 118%; text-transform: uppercase; }
.top__brand img { width: 30px; }
.top__link { font: 500 .85rem/1 var(--mono); text-underline-offset: 4px; }

/* Hero */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  background: var(--aco) url(../img/steel.jpg);
  overflow: hidden;
}
.hero__title { display: block; font-size: clamp(3.2rem, min(11.2vw, 15.5vh), 11.5rem); line-height: .86; letter-spacing: -.02em; position: relative; z-index: 2; }
.hero__slab { display: block; padding: .16em var(--gutter) .14em; }
.hero__slab--carga {
  color: #fff;
  background: var(--grafite) url(../img/graphite.jpg);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 58% 100%, calc(58% - .32em) calc(100% - .32em), 0 calc(100% - .32em));
  padding-bottom: .46em;
  animation: entraEsq .7s cubic-bezier(.16, 1, .3, 1) both;
}
.hero__slab--exame { color: var(--tinta); margin-top: -.3em; padding-top: .38em; animation: entraDir .7s cubic-bezier(.16, 1, .3, 1) both; }
.hero__slab--exame em { font-style: normal; color: var(--vermelho); }
.hero__wedge {
  position: absolute; z-index: 1;
  top: 0; right: 0; bottom: 0; width: 46%;
  background: var(--grafite) url(../img/graphite.jpg);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 36% 100%);
}
.hero__mark {
  position: absolute; z-index: 3;
  right: clamp(8px, 4vw, 90px); top: 50%;
  width: clamp(240px, 31vw, 560px);
  transform: translateY(-50%);
  filter: drop-shadow(0 22px 26px rgb(0 0 0 / .55));
  animation: crava .55s .28s cubic-bezier(.3, 1.3, .5, 1) both;
}
.hero__foot {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: flex-start; gap: 22px;
  max-width: min(46ch, 50%);
  padding: 22px var(--gutter) clamp(40px, 6vw, 80px);
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  box-sizing: content-box;
}
@keyframes entraEsq { from { transform: translateX(-6%); opacity: 0; } }
@keyframes entraDir { from { transform: translateX(6%); opacity: 0; } }
@keyframes crava { from { transform: translateY(-58%) scale(1.14); opacity: 0; } }

.hero::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--grafite); z-index: 1; }

/* Fichas */
.fichas {
  background: var(--grafite) url(../img/graphite.jpg);
  color: #fff;
  padding: clamp(64px, 9vw, 130px) var(--gutter);
}
.fichas__head { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px clamp(32px, 6vw, 96px); align-items: end; }
.fichas__head p { color: #c4c8cd; max-width: 44ch; }
.fichas__sheets { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(16px, 2.2vw, 32px); margin-top: clamp(40px, 5vw, 72px); align-items: start; }
.sheet {
  min-width: 0;
  background: var(--aco) url(../img/steel.jpg);
  color: var(--tinta);
  padding: clamp(18px, 2.2vw, 32px);
  clip-path: polygon(0 0, calc(100% - var(--chanfro)) 0, 100% var(--chanfro), 100% 100%, 0 100%);
}
.sheet--saude { margin-top: clamp(0px, 5vw, 76px); background: var(--vermelho); color: #fff; }
.sheet__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; padding-right: 18px; margin-bottom: 16px; }
.sheet__head h3 { font-size: clamp(1.05rem, 1.6vw, 1.45rem); }
.sheet__head span { font: 400 .75rem/1.3 var(--mono); }
.sheet__scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font: 400 .875rem/1.3 var(--mono); }
thead th { font-weight: 400; text-align: left; font-size: .72rem; padding-bottom: 8px; }
tbody th { font-weight: 500; text-align: left; }
tbody th, tbody td { padding: 11px 12px 11px 0; border-top: 2px solid currentColor; white-space: nowrap; }
tbody td:last-child, thead th:last-child { padding-right: 0; }
tbody b { font-weight: 500; color: var(--vermelho-txt); }

/* Entrega */
.entrega { background: var(--aco) url(../img/steel.jpg); padding: clamp(56px, 8vw, 110px) var(--gutter) clamp(64px, 8vw, 110px); }
.entrega__row {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 12px clamp(32px, 6vw, 96px); align-items: end;
  padding-block: clamp(14px, 2vw, 26px);
  border-bottom: 5px solid var(--tinta);
}
.entrega__row h3 { font-size: clamp(3rem, 10.5vw, 10rem); line-height: .86; }
.entrega__row p { max-width: 44ch; color: var(--tinta); }
.regua { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 24px clamp(32px, 6vw, 96px); align-items: center; }
.regua__text { font-size: clamp(1.15rem, 1.8vw, 1.5rem); line-height: 1.3; max-width: 26ch; }
.regua__text strong { font-weight: 800; }
.regua__ruler { position: relative; padding-bottom: 26px; font: 500 .8rem/1 var(--mono); }
.regua__ticks {
  display: block; height: 44px;
  background:
    linear-gradient(var(--vermelho), var(--vermelho)) right bottom / 6px 100% no-repeat,
    repeating-linear-gradient(90deg, var(--tinta) 0 2px, transparent 2px calc((100% - 2px) / 14)) left bottom / 100% 55% no-repeat;
  border-bottom: 3px solid var(--tinta);
}
.regua__start, .regua__end { position: absolute; bottom: 0; }
.regua__start { left: 0; }
.regua__end { right: 0; color: var(--vermelho-txt); }

/* Paulinho */
.paulinho {
  background: var(--vermelho); color: #fff;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  align-items: end;
  gap: 32px clamp(32px, 6vw, 96px);
  padding: clamp(56px, 8vw, 110px) var(--gutter);
}
.paulinho__photo {
  aspect-ratio: 4 / 5; width: 100%; object-fit: cover;
  background: var(--grafite) url(../img/graphite.jpg);
  display: grid; place-items: center; text-align: center;
  clip-path: polygon(0 0, calc(100% - 44px) 0, 100% 44px, 100% 100%, 0 100%);
  font: 400 .85rem/1.3 var(--mono); color: var(--nevoa);
  padding: 16px;
}
.paulinho__text { min-width: 0; }
.paulinho h2 { font-size: clamp(3rem, 7.6vw, 8.4rem); line-height: .86; }
.paulinho p { margin-top: clamp(20px, 2.4vw, 36px); max-width: 52ch; font-size: clamp(1.05rem, 1.4vw, 1.25rem); }

/* Planos */
.planos { background: var(--grafite) url(../img/graphite.jpg); color: #fff; padding: clamp(64px, 9vw, 130px) var(--gutter); scroll-margin-top: 0; }
.planos__head { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px clamp(32px, 6vw, 96px); align-items: end; }
.planos__head p { color: #c4c8cd; max-width: 40ch; }

.barra { display: flex; align-items: center; justify-content: center; height: clamp(120px, 15vw, 210px); margin-top: clamp(36px, 5vw, 64px); position: relative; }
.barra__bar {
  position: absolute; left: 0; right: 0; top: 50%; height: clamp(8px, 1vw, 14px); transform: translateY(-50%);
  background: linear-gradient(#f1f2f4, #8d9299 45%, #5a5e65);
}
.barra__side { display: flex; align-items: center; gap: clamp(2px, .35vw, 5px); position: absolute; top: 0; bottom: 0; z-index: 1; }
.barra__side--l { left: clamp(4%, 9vw, 12%); flex-direction: row-reverse; }
.barra__side--r { right: clamp(4%, 9vw, 12%); }
.barra__side i {
  display: block;
  width: clamp(8px, 2.1vw, 30px);
  height: calc(100% - var(--n) * 7%);
  border-radius: 3px;
  background: linear-gradient(90deg, #8d0c10, var(--vermelho) 35%, #8d0c10);
  transform: scaleY(.4); opacity: 0;
  transition: transform .32s cubic-bezier(.3, 1.4, .5, 1), opacity .15s;
  transition-delay: calc(var(--n) * 35ms);
}
.barra__side i:nth-child(even) { background: linear-gradient(90deg, #9da2a8, #eceef0 40%, #8e9399); }
.barra__side i.on { transform: none; opacity: 1; }

.ciclo { border: 0; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.ciclo input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ciclo span {
  display: block; padding: 16px 8px; text-align: center; cursor: pointer;
  background: var(--grafite-2); color: #e4e6e8;
  font: 800 clamp(.9rem, 1.5vw, 1.2rem)/1 var(--display); font-stretch: 112%; text-transform: uppercase;
  transition: background .15s, color .15s;
}
.ciclo span:hover { background: #33373d; }
.ciclo input:checked + span { background: #fff; color: var(--tinta); }
.ciclo input:focus-visible + span { outline: 3px solid var(--vermelho); outline-offset: 3px; }

.tabela { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; margin-top: 4px; align-items: stretch; }
.plano {
  --metal: #a8704a;
  display: flex; flex-direction: column;
  min-width: 0;
  background: var(--aco) url(../img/steel.jpg);
  color: var(--tinta);
  padding: clamp(20px, 2.4vw, 36px);
  border-top: 12px solid var(--metal);
}
.plano--prata { --metal: #8f959c; }
.plano--ouro { --metal: #c79c2e; background: #fff; }
.plano h3 { font-size: clamp(1.9rem, 3.4vw, 3.2rem); }
.plano__foco { font: 500 .8rem/1.3 var(--mono); margin-top: 8px; min-height: 2.6em; }
.plano__preco { font-size: clamp(1.7rem, 2.75vw, 2.75rem); font-stretch: 100%; margin-top: 18px; font-variant-numeric: tabular-nums; letter-spacing: -.02em; white-space: nowrap; }
.plano__mes { font-weight: 600; font-size: .95rem; line-height: 1.3; margin-top: 10px; min-height: 2.6em; }
.plano__parc { font-size: .85rem; color: var(--tinta-2); margin-top: 4px; }
.plano ul { margin-block: 20px 26px; flex: 1; }
.plano li { padding: 10px 0 10px 26px; border-top: 2px solid var(--tinta); position: relative; font-weight: 600; line-height: 1.25; }
.plano li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 12px; height: 12px; background: var(--tinta); clip-path: polygon(0 0, 100% 0, 100% 62%, 62% 100%, 0 100%); }
.plano li.no { font-weight: 400; color: #6a6f76; text-decoration: line-through; }
.plano li.no::before { background: none; box-shadow: inset 0 -2px 0 #6a6f76; height: 7px; top: 12px; clip-path: none; }
.plano--ouro li::before { background: var(--vermelho); }
.plano .btn { width: 100%; }

/* FAQ */
.faq {
  background: var(--aco) url(../img/steel.jpg);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 28px clamp(32px, 6vw, 96px);
  padding: clamp(56px, 8vw, 110px) var(--gutter);
}
.faq h2 { font-size: clamp(2.1rem, 4vw, 3.6rem); }
.faq__list { min-width: 0; border-top: 5px solid var(--tinta); }
.faq details { border-bottom: 2px solid var(--tinta); }
.faq summary { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; padding: 18px 0; cursor: pointer; list-style: none; font-weight: 700; font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 500 1.4rem/1 var(--mono); color: var(--vermelho-txt); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 32px 22px 0; max-width: 62ch; }

/* Fim */
.fim {
  background: var(--grafite) url(../img/graphite.jpg); color: #fff;
  padding: clamp(64px, 9vw, 130px) var(--gutter) clamp(40px, 5vw, 64px);
}
.fim__line { font-size: clamp(2.6rem, 8.6vw, 8.6rem); line-height: .9; max-width: 11em; margin-bottom: 32px; }

.rodape {
  background: var(--grafite) url(../img/graphite.jpg); color: var(--nevoa);
  padding: clamp(32px, 4vw, 56px) var(--gutter) 28px;
  font-size: .85rem;
  display: grid; gap: 12px;
}
.rodape img { width: min(100%, 460px); margin-bottom: 8px; }
.rodape p { max-width: 70ch; }

/* Tablet */
@media (max-width: 960px) {
  .tabela { grid-template-columns: minmax(0, 1fr); }
  .plano--ouro { order: -1; }
  .plano__foco, .plano__mes { min-height: 0; }
  .plano__preco { font-size: clamp(2.1rem, 8vw, 3rem); }
  .fichas__sheets { grid-template-columns: minmax(0, 1fr); }
  .sheet--saude { margin-top: 0; }
}

/* Celular */
@media (max-width: 720px) {
  .hero__wedge { display: none; }
  .hero__title { font-size: clamp(3.1rem, 17.2vw, 8rem); }
  .hero__slab--carga { clip-path: polygon(0 0, 100% 0, 100% 100%, 44% 100%, calc(44% - .32em) calc(100% - .32em), 0 calc(100% - .32em)); }
  .hero__mark { top: 16.5vw; right: 12px; width: 22vw; transform: none; animation: none; filter: none; }
  .hero__foot { max-width: none; box-sizing: border-box; }
  .fichas__head, .planos__head, .entrega__row, .regua, .paulinho, .faq { grid-template-columns: minmax(0, 1fr); }
  .paulinho__photo { max-width: 340px; }
  .paulinho h2 { font-size: 12.6vw; }
  table { font-size: .8rem; }
  tbody th { white-space: normal; }
  tbody td { white-space: normal; }
  tbody td:nth-last-child(-n+3) { white-space: nowrap; }
  .btn { width: 100%; }
  .barra__side--l { left: 3%; }
  .barra__side--r { right: 3%; }
}

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