/* Sementinha Fiel · página de vendas */

@font-face {
  font-family: "Madimi One";
  src: url("../fonts/madimi-one-latin-ext.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Madimi One";
  src: url("../fonts/madimi-one-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-latin-ext.woff2") format("woff2");
  font-weight: 200 1000;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-latin.woff2") format("woff2");
  font-weight: 200 1000;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --teal: #07464c;
  --amarelo: #f9b11c;
  --laranja: #e8970f;
  --verde: #78a21c;
  --verde-escuro: #4b662d;
  --creme: #fef8ed;
  --creme-final: #fef9ef; /* fundo exato da IMG-E, pra ela não mostrar retângulo */
  --creme-texto: rgb(254 248 237 / 0.84); /* texto secundário sobre o teal */
  --linha: rgb(7 70 76 / 0.16);
  --sombra-papel: 0 1px 2px rgb(7 70 76 / 0.1), 0 8px 18px -6px rgb(7 70 76 / 0.2), 0 22px 40px -18px rgb(7 70 76 / 0.28);
  --sombra-leve: 0 1px 2px rgb(7 70 76 / 0.08), 0 4px 10px -4px rgb(7 70 76 / 0.14);
  --display: "Madimi One", "Nunito", system-ui, sans-serif;
  --texto: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: 20px;
  --suave: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-bottom: 80px;
  accent-color: var(--teal);
}

body {
  margin: 0;
  background: var(--creme);
  color: var(--teal);
  font: 400 1.0625rem/1.55 var(--texto);
  caret-color: var(--teal);
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
:where(ul[class], ol[class]) { list-style: none; padding: 0; }
b, strong { font-weight: 700; }

a { color: inherit; text-decoration-thickness: 0.08em; text-underline-offset: 0.2em; }
a:hover { text-decoration-color: var(--laranja); }

::selection { background: var(--amarelo); color: var(--teal); }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 8px; }
.faixa :focus-visible, .kits > .caixa > :focus-visible, .publico :focus-visible, .rodape :focus-visible, .barra:focus-visible, .lightbox :focus-visible { outline-color: var(--amarelo); }

.ic {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.caixa { width: min(100% - 2 * var(--gutter), 1120px); margin-inline: auto; }
.caixa--estreita { width: min(100% - 2 * var(--gutter), 760px); }

.secao { padding-block: 72px; }

h2 {
  font-size: clamp(1.75rem, 1.25rem + 2.2vw, 2.75rem);
  line-height: 1.12;
  text-wrap: balance;
  max-width: 21ch;
}
.secao-sub { margin-top: 12px; font-size: 1.125rem; color: var(--verde-escuro); max-width: 46ch; }

/* Madimi One (só existe o peso 400): H1, títulos de seção, preços e botões. Texto em Nunito 400/700. Cursiva, só na logo. */
h1, h2, .preco, .botao, .barra-cta, .barra b { font-family: var(--display); font-weight: 400; font-synthesis: none; letter-spacing: 0; }

/* Botões */
.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 14px 28px;
  border: 0;
  border-radius: 999px;
  background: var(--amarelo);
  color: var(--teal);
  font-size: 1.1875rem;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 2px 3px rgb(7 70 76 / 0.2), 0 12px 22px -10px rgb(232 151 15 / 0.7);
  transition: background-color 0.2s, box-shadow 0.2s, translate 0.25s var(--suave);
}
.botao:hover { background: color-mix(in srgb, var(--amarelo), var(--laranja)); translate: 0 -2px; } /* teal sobre laranja puro dá 4,46:1; a mistura dá 5:1 */
.botao:active { translate: 0 1px; }
.botao--contorno { background: transparent; box-shadow: inset 0 0 0 2.5px var(--teal); }
.botao--contorno:hover { background: var(--teal); color: var(--creme); }
.botao--largo { width: 100%; }

/* S0 · faixa de topo (não gruda) */
.faixa {
  background: var(--teal);
  color: var(--creme);
  padding: 9px var(--gutter);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-wrap: balance;
}
.faixa span { display: inline-block; }
.faixa s { color: var(--creme-texto); }
.faixa b { color: var(--amarelo); }

/* S1 · hero */
.hero-texto {
  width: min(100% - 2 * var(--gutter), 560px);
  margin-inline: auto;
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-logo { width: 84px; height: 84px; margin-left: -6px; }
h1 {
  margin-top: 10px;
  font-size: clamp(2.125rem, 1.45rem + 3.1vw, 3.875rem);
  line-height: 1.08;
  text-wrap: balance;
}
.hero-sub { margin-top: 12px; max-width: 36ch; }
.hero-preco { margin-top: 14px; font-weight: 700; font-size: 1.125rem; }
.hero-preco .preco { font-size: 1.75rem; line-height: 1; margin-left: 2px; }
.hero-texto .botao { margin-top: 14px; }
.confianca {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.9375rem;
  font-weight: 700;
}
.confianca li { display: flex; align-items: center; gap: 7px; }
.confianca .ic { color: var(--verde); }
.hero-img img {
  width: 100%;
  max-width: 560px;
  margin: 4px auto 0;
  /* a imagem tem fundo um pouco mais quente que o creme: funde as bordas */
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 86%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 86%, transparent);
}

/* S2 · tipos de atividade */
.chips { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; max-width: 940px; } /* no computador quebra 5/4/2, sem chip sozinho na última linha */
.chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px 9px 12px;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--sombra-leve);
  font-weight: 700;
  line-height: 1.25;
}
.chips .ic { color: var(--verde); width: 22px; height: 22px; }

/* S3 · identificação */
.dor { padding-top: 24px; }
.dor-grade { display: grid; gap: 36px; }
.dores { margin-top: 26px; display: grid; gap: 16px; font-size: 1.125rem; max-width: 34em; }
.dores li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.dores .ic { width: 26px; height: 26px; color: var(--laranja); margin-top: 1px; }
.fecho { margin-top: 30px; font-size: 1.125rem; max-width: 34ch; }
.fecho .destaque { display: block; margin-bottom: 4px; font-size: 1.375rem; line-height: 1.25; text-wrap: balance; }
.foto { width: 100%; border-radius: 20px; box-shadow: var(--sombra-papel); }

/* S4 · páginas de verdade: folhear o kit */
.galeria { position: relative; margin-top: 16px; }
.folhas {
  --folha: min(60vw, 290px);
  display: flex;
  gap: 22px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 26px calc((100% - var(--folha)) / 2) 34px;
  scrollbar-width: thin;
  scrollbar-color: rgb(7 70 76 / 0.35) transparent;
}
.folhas:focus-visible { outline-offset: -3px; }
.folhas li {
  flex: 0 0 var(--folha);
  scroll-snap-align: center;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 14px;
}
.folha {
  --r: -1.6deg;
  display: block;
  background: #fff;
  border-radius: 3px;
  box-shadow: var(--sombra-papel);
  rotate: var(--r);
  transform-origin: 50% 90%;
}
.folhas li:nth-child(3n + 2) .folha { --r: 1.3deg; }
.folhas li:nth-child(3n) .folha { --r: -0.7deg; }
.folha img { border-radius: 3px; }
.etiqueta {
  padding: 3px 11px;
  border-radius: 999px;
  background: rgb(120 162 28 / 0.16);
  color: var(--verde-escuro);
  font-size: 0.8125rem;
  font-weight: 700;
  text-align: center;
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    /* Ao chegar no centro, a folha endireita e sobe; nas bordas, fica solta e inclinada */
    .folha { animation: folhear linear both; animation-timeline: view(inline); }
    @keyframes folhear {
      0% { rotate: calc(var(--r) * 3.5); translate: 0 18px; scale: 0.9; }
      50% { rotate: 0deg; translate: 0 -8px; scale: 1.03; }
      100% { rotate: calc(var(--r) * -3.5); translate: 0 18px; scale: 0.9; }
    }
  }
}
.rolar { display: none; }
@media (hover: hover) and (pointer: fine) {
  .rolar {
    position: absolute;
    top: -76px; /* canto direito, na altura do texto de apoio: não cobre as folhas */
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    background: var(--teal);
    color: var(--creme);
    box-shadow: var(--sombra-leve);
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
  }
  .rolar:hover { background: var(--amarelo); color: var(--teal); }
  .rolar--esq { right: calc(max(var(--gutter), (100% - 1120px) / 2) + 64px); }
  .rolar--dir { right: max(var(--gutter), calc((100% - 1120px) / 2)); }
}
.foto--mesa { margin-top: 36px; }

.lightbox {
  width: auto;
  max-width: min(92vw, 760px);
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}
.lightbox::backdrop { background: rgb(4 42 46 / 0.86); }
/* altura fixa: a miniatura e a grande ocupam o mesmo espaço (todas as folhas são retrato, proporção ≥ 1,414) */
.lightbox img { height: min(86vh, 130vw, 1075px); width: auto; border-radius: 4px; background: #fff; box-shadow: 0 24px 60px -12px rgb(0 0 0 / 0.5); }
.lightbox-fechar {
  position: absolute;
  top: -18px;
  right: -12px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--amarelo);
  color: var(--teal);
  box-shadow: var(--sombra-leve);
  cursor: pointer;
}
.lightbox-fechar .ic { width: 24px; height: 24px; stroke-width: 2.5; }

/* S5 · kits */
.kits { background: var(--teal); color: var(--creme); }
.kits .secao-sub { color: var(--creme-texto); }
.planos { margin-top: 44px; display: grid; gap: 48px; max-width: 560px; margin-inline: auto; }
.plano {
  position: relative;
  padding: 30px 22px 24px;
  border-radius: 24px;
  background: var(--creme);
  color: var(--teal);
  box-shadow: 0 2px 4px rgb(0 0 0 / 0.14), 0 26px 50px -24px rgb(0 0 0 / 0.55);
}
.plano--completo { border: 4px solid var(--amarelo); padding-top: 38px; }
.selo {
  position: absolute;
  top: 0;
  left: 50%;
  translate: -50% -55%;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--amarelo);
  color: var(--teal);
  font-weight: 700;
  font-size: 0.9375rem;
  white-space: nowrap;
  box-shadow: 0 6px 14px -6px rgb(0 0 0 / 0.45);
}
.plano h3 { font: 700 1.625rem/1.15 var(--texto); letter-spacing: -0.01em; text-align: center; }

.capas { position: relative; margin: 14px auto 6px; }
.capas img { border-radius: 3px 6px 6px 3px; box-shadow: 0 1px 2px rgb(0 0 0 / 0.25), 0 10px 18px -8px rgb(0 0 0 / 0.45); }
.leque { position: relative; height: 188px; max-width: 320px; margin-inline: auto; }
.leque img {
  position: absolute;
  left: 50%;
  bottom: 30px;
  width: 88px;
  margin-left: -44px;
  transform-origin: 50% 260%;
  rotate: calc((var(--i) - 3) * 8.5deg);
}
.bonus { position: relative; display: flex; align-items: flex-end; justify-content: center; margin-top: -46px; padding-left: 12px; }
.bonus img { width: 70px; margin-left: -12px; }
.bonus img:nth-child(1) { rotate: -7deg; }
.bonus img:nth-child(2) { rotate: 2deg; translate: 0 -6px; }
.bonus img:nth-child(3) { rotate: 9deg; }
.fita {
  position: absolute;
  left: 50%;
  bottom: 18px;
  translate: -50% 0;
  rotate: -5deg;
  padding: 5px 14px;
  border-radius: 4px;
  background: var(--amarelo);
  color: var(--teal);
  font-weight: 700;
  font-size: 0.9375rem;
  white-space: nowrap;
  box-shadow: 0 6px 12px -4px rgb(0 0 0 / 0.4);
}
.capas--dupla { display: flex; align-items: flex-end; justify-content: center; padding-block: 8px 4px; } /* flex-end: capas de alturas diferentes não esticam */
.capas--dupla img { width: 108px; }
.capas--dupla img:first-child { rotate: -6deg; translate: 10px 0; }
.capas--dupla img:last-child { rotate: 5deg; translate: -10px 8px; }

.preco-linha { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 0 10px; }
.preco-linha .de { font-weight: 700; font-size: 1.0625rem; }
.preco-linha .preco { font-size: 3.25rem; line-height: 1.05; }
.prazo { font-size: 0.9375rem; font-weight: 700; color: var(--verde-escuro); text-align: center; text-wrap: balance; } /* em 320px, "7 de / outubro" não se separa */
.paginas { margin-top: 10px; text-align: center; }
.a-mais { margin-top: 16px; font-weight: 700; font-size: 1.125rem; text-align: center; text-wrap: balance; }
.a-mais span { /* marca-texto amarelo, como na folha impressa */
  padding-inline: 3px;
  background: linear-gradient(transparent 52%, rgb(249 177 28 / 0.6) 52%, rgb(249 177 28 / 0.6) 94%, transparent 94%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.plano h4 { margin-top: 24px; font: 700 1.0625rem/1.3 var(--texto); }
.livros { margin-top: 10px; display: grid; gap: 10px; font-size: 1rem; line-height: 1.45; }
.livros li { position: relative; padding-left: 28px; }
.livros li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  width: 20px;
  height: 20px;
  background: var(--verde-escuro);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.livros--bonus li::before {
  background: var(--laranja);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='8' width='17' height='4.5' rx='1'/%3E%3Cpath d='M5 12.5v8h14v-8M12 8v12.5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='8' width='17' height='4.5' rx='1'/%3E%3Cpath d='M5 12.5v8h14v-8M12 8v12.5'/%3E%3C/svg%3E");
}
.plano .botao { margin-top: 26px; }
.pagamento {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  font-weight: 700;
}
.pagamento li { display: flex; align-items: center; gap: 8px; }
.pagamento .ic { color: var(--amarelo); }

/* S6 · como funciona */
.passos-grade { display: grid; gap: 40px; }
.passos-lista { margin-top: 30px; display: grid; gap: 22px; counter-reset: passo; font-size: 1.125rem; }
.passos-lista li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center; counter-increment: passo; }
.passos-lista li::before {
  content: counter(passo);
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--amarelo);
  color: var(--teal);
  font: 700 1.375rem/1 var(--texto);
}

/* S7 · pra quem é */
.publico { background: var(--teal); color: var(--creme); }
.publico-lista { margin-top: 30px; max-width: 36em; }
.publico-lista li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  align-items: start;
  padding-block: 22px;
  border-top: 1px solid rgb(254 248 237 / 0.2);
  font-size: 1.1875rem;
  line-height: 1.45;
}
.publico-lista li:last-child { border-bottom: 1px solid rgb(254 248 237 / 0.2); }
.publico-lista .ic { width: 34px; height: 34px; color: var(--amarelo); stroke-width: 1.75; }
.publico-lista b { color: var(--amarelo); }

/* S8 · garantia (fundo = creme exato da IMG-D) */
.garantia-grade { display: grid; justify-items: center; gap: 12px; text-align: center; }
.garantia-img { width: 240px; }
.garantia h2 { margin-inline: auto; }
.garantia p { margin-top: 16px; max-width: 50ch; font-size: 1.125rem; }
.garantia a { font-weight: 700; overflow-wrap: anywhere; }

/* S9 · perguntas */
.faq-lista { margin-top: 28px; border-top: 1px solid var(--linha); }
.faq details { border-bottom: 1px solid var(--linha); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding-block: 14px;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic {
  width: 32px;
  height: 32px;
  padding: 6px;
  border-radius: 50%;
  background: var(--amarelo);
  stroke-width: 2.5;
  transition: rotate 0.3s var(--suave);
}
.faq details[open] summary .ic { rotate: 45deg; }
.faq summary:hover .ic { background: var(--laranja); }
.faq details p { padding-bottom: 20px; max-width: 60ch; }

/* S10 · chamada final (fundo = creme exato da IMG-E) */
.final { background: var(--creme-final); text-align: center; }
.final-grade { display: grid; justify-items: center; }
.final-img { width: 176px; }
.final h2 { margin-top: 6px; font-size: clamp(2.125rem, 1.5rem + 2.8vw, 3.5rem); line-height: 1.1; max-width: 15ch; }
.final-botoes { margin-top: 28px; width: min(100%, 520px); display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.final-botoes .botao { flex-direction: column; gap: 0; padding: 12px 10px; min-height: 64px; }
.final-botoes .botao span:last-child { font-size: 1.0625rem; }

/* S11 · rodapé */
.rodape { background: var(--teal); color: var(--creme); padding: 56px 0 44px; text-align: center; font-size: 0.9375rem; }
.rodape-selo {
  display: block;
  width: 116px;
  height: 116px;
  margin-inline: auto;
  padding: 6px;
  border-radius: 50%;
  background: var(--creme);
  overflow: hidden;
}
.rodape-selo img { border-radius: 50%; }
.rodape-contato { margin-top: 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 0 26px; font-weight: 700; }
.rodape-contato a, .rodape-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.rodape-contato .ic { color: var(--amarelo); }
.rodape-empresa { margin-top: 8px; color: var(--creme-texto); }
.rodape-links { margin-top: 10px; display: flex; flex-wrap: wrap; justify-content: center; gap: 0 22px; }
.rodape-nota { max-width: 56ch; margin: 18px auto 0; font-size: 0.8125rem; color: var(--creme-texto); }

/* Barra fixa (só celular) */
.barra {
  position: fixed;
  inset: auto 0 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 64px;
  padding: 0 10px 0 var(--gutter);
  background: var(--teal);
  color: var(--creme);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 -8px 24px -10px rgb(0 0 0 / 0.45);
  translate: 0 110%;
  visibility: hidden;
  transition: translate 0.35s var(--suave), visibility 0s 0.35s;
}
.barra.on { translate: 0 0; visibility: visible; transition: translate 0.35s var(--suave); }
.barra b { color: var(--amarelo); }
.barra-cta {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--amarelo);
  color: var(--teal);
}

/* Páginas legais */
.legal-topo { padding: 18px 0; border-bottom: 1px solid var(--linha); }
.legal-topo a { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; text-decoration: none; }
.legal-topo img { width: 56px; height: 56px; }
.legal { padding-block: 48px 72px; }
.legal h1 { font-size: clamp(1.875rem, 1.4rem + 2vw, 2.5rem); line-height: 1.15; }
.legal .atualizado { margin-top: 8px; color: var(--verde-escuro); font-size: 0.9375rem; }
.legal h2 { margin-top: 36px; font-size: 1.375rem; max-width: none; }
.legal p, .legal li { margin-top: 12px; max-width: 68ch; }
.legal ul { padding-left: 1.2em; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .botao, .barra, .faq summary .ic { transition: none; }
}

@media (max-width: 599px) {
  .faixa span { display: block; }
  .faixa .faixa-sep { display: none; }
}

@media (max-width: 899px) {
  .rodape { padding-bottom: 104px; } /* espaço da barra fixa */
}

@media (min-width: 600px) {
  .leque { height: 210px; max-width: 380px; }
  .leque img { width: 100px; margin-left: -50px; }
  .bonus img { width: 78px; }
}

@media (min-width: 900px) {
  body { font-size: 1.125rem; }
  .secao { padding-block: 112px; }
  .barra { display: none; }

  .hero { display: grid; width: min(100%, 1280px); margin-inline: auto; }
  .hero > * { grid-area: 1 / 1; }
  .hero-img {
    align-self: end;
    /* o lado esquerdo da imagem é só fundo: some no creme da página, e a logo e o texto ficam sobre #FEF8ED puro */
    -webkit-mask-image: linear-gradient(to right, transparent 26%, #000 50%, #000 94%, transparent);
    mask-image: linear-gradient(to right, transparent 26%, #000 50%, #000 94%, transparent);
  }
  .hero-img img {
    max-width: none;
    margin: 0;
    -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent);
    mask-image: linear-gradient(to bottom, #000 80%, transparent);
  }
  .hero-texto {
    z-index: 1;
    align-self: center;
    width: min(52%, 600px); /* largo o bastante pro H1 caber em 3 linhas de 900 a 1920px, sem encostar no mascote */
    margin: 0 0 0 clamp(40px, 6vw, 88px);
    padding-block: 40px 64px;
  }
  .hero-logo { width: 104px; height: 104px; }

  /* no computador a mesa enche a largura a partir da coluna do texto; a folha mais perto do centro fica reta */
  .folhas { padding-inline: max(var(--gutter), calc((100% - 1120px) / 2)); }

  .dor { padding-top: 72px; }
  .dor-grade { grid-template-columns: 5fr 6fr; align-items: center; gap: 64px; }

  /* título e Essencial na coluna da esquerda; o Completo, bem mais comprido, ocupa a direita inteira. A lista de pagamento fica fora da grade, embaixo dos dois (brief S5), pra o Essencial com sticky não passar por cima dela */
  .kits .caixa:not(.pagamento) { display: grid; grid-template-columns: 5fr 7fr; grid-template-rows: auto auto 1fr; column-gap: 48px; }
  .kits .caixa > h2 { grid-area: 1 / 1; }
  .kits .secao-sub { grid-area: 2 / 1; }
  .planos { display: contents; }
  .plano--completo { grid-area: 1 / 2 / 4; padding: 52px 40px 40px; }
  .plano--essencial { grid-area: 3 / 1; align-self: start; margin-top: 40px; padding: 34px 32px 30px; }

  .passos-grade { grid-template-columns: 1fr 1fr; align-items: center; gap: 72px; }

  .publico .caixa { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0 64px; align-items: start; }
  .publico-lista { margin-top: 0; }
  .publico-lista li { grid-template-columns: 48px 1fr; font-size: 1.375rem; padding-block: 24px; }
  .publico-lista li p { max-width: 38ch; }
  .publico-lista .ic { width: 40px; height: 40px; }

  .garantia-grade { grid-template-columns: 360px 1fr; justify-items: start; text-align: left; gap: 56px; align-items: center; }
  .garantia-img { width: 360px; }
  .garantia h2 { margin-inline: 0; }

  .final-img { width: 200px; }
}

@media (min-width: 1200px) {
  /* com o card do Completo na largura toda (537px), o leque cresce e abre mais: cada capa mostra o título */
  .leque { height: 212px; max-width: none; }
  .leque img { width: 120px; margin-left: -60px; transform-origin: 50% 250%; rotate: calc((var(--i) - 3) * 11deg); }
  .bonus img { width: 96px; }
}

@media (min-width: 900px) and (min-height: 760px) {
  /* o Essencial acompanha a rolagem ao lado do Completo e termina alinhado com ele */
  .plano--essencial { position: sticky; top: 32px; }
}
