@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("fonts/atkinson-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("fonts/atkinson-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/*
  Identidade mantida: papel, sálvia, floresta, teal e açafrão.
  Açafrão só em botões de WhatsApp. Escala tipográfica: 19 / 25 / 34 / 48 / 64 px.
*/
:root {
  --paper: #F8FBF9;
  --sage: #E3EFE8;
  --ink: #14302E;
  --muted: #3E5753;
  --teal: #1F6F6A;
  --teal-deep: #185A56;
  --line: #B9D1C5;
  --saffron: #F4B63F;
  --saffron-dark: #E0A02A;
  --on-teal: #FFFFFF;
  --on-teal-soft: #D5E8E3;
  --font-body: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Bricolage Grotesque", "Atkinson Hyperlegible", system-ui, sans-serif;
  --gutter: 20px;
  --max: 1120px;
}

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

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.1875rem; /* 19px */
  line-height: 1.65;
}

[hidden] { display: none !important; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 7vw, 4rem); letter-spacing: -0.025em; line-height: 1.02; }
h2 { font-size: clamp(1.9rem, 4.8vw, 3rem); letter-spacing: -0.02em; }
h3 { font-size: 1.5625rem; }
p { margin: 0 0 1em; }

a { color: inherit; }
img { max-width: 100%; }

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

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -64px;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  z-index: 10;
}
.skip:focus { top: 12px; }

/* Marca de dado pendente: remover quando os dados reais entrarem */
.todo {
  background: #FFF3A3;
  color: #5C4A00;
  padding: 0 0.2em;
  border-radius: 3px;
}

/* Botões: o único lugar do açafrão */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--saffron);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}
.btn:hover { background: var(--saffron-dark); }
.btn-small {
  min-height: 44px;
  padding: 8px 20px;
  font-size: 1rem;
}

/* Cabeçalho */
.top {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.top-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 10px;
}
.brand {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

/* Topo: texto e retrato. No celular, o retrato vem depois do texto e ocupa a largura toda. */
.hero {
  background: var(--sage);
  display: grid;
}
.hero-text {
  padding: 44px var(--gutter) 40px;
}
.lead {
  max-width: 32em;
  margin-top: 22px;
  font-size: 1.3rem;
  line-height: 1.55;
}
.cred {
  max-width: 34em;
  color: var(--muted);
}
.hero-cta { margin: 28px 0 0; }
.note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1rem;
}
.hero-foto {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  max-height: 78vh;
  object-fit: cover;
  object-position: 50% 20%;
  background: var(--paper);
}

/* Atalhos para as três formas de acompanhamento */
.atalhos {
  display: grid;
  margin-top: 40px;
  border-top: 2px solid var(--ink);
}
.atalhos a {
  display: grid;
  gap: 2px;
  min-height: 56px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.atalhos strong {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1.2;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  text-decoration-color: var(--teal);
}
.atalhos span { color: var(--muted); font-size: 1rem; line-height: 1.4; }
.atalhos a:hover strong { text-decoration-color: var(--ink); }

/* Seções */
.section { padding-block: 64px; }
.section-line { border-top: 1px solid var(--line); }

.split { display: grid; gap: 28px; }

.intro { margin: 16px 0 0; font-size: 1.25rem; }
.fit {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.fit li {
  padding-left: 20px;
  border-left: 5px solid var(--teal);
  max-width: 38em;
}
.fecho { max-width: 38em; margin: 28px 0 0; }
.fecho + .fecho { margin-top: 12px; }

/* O ciclo do Plano Autonomia: o elemento de destaque */
.ciclo-sec {
  background: var(--teal);
  color: var(--on-teal);
}
.ciclo-sec :focus-visible { outline-color: #fff; }
.ciclo-intro {
  max-width: 32em;
  margin: 16px 0 0;
  color: var(--on-teal-soft);
  font-size: 1.25rem;
}
.ciclo {
  list-style: none;
  counter-reset: passo;
  margin: 44px 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.ciclo li {
  position: relative;
  counter-increment: passo;
  padding: 0 0 36px 64px;
}
/* Marcador numerado: é uma sequência real */
.ciclo li::before {
  content: counter(passo);
  position: absolute;
  left: 0;
  top: 0;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--paper);
  color: var(--teal);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
}
/* Trilho entre os passos */
.ciclo li::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 52px;
  bottom: 6px;
  width: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.35);
}
/* "Toda semana" se repete: trilho tracejado */
.ciclo li:nth-child(3)::after {
  background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.7) 0 8px, transparent 8px 16px);
}
.quando {
  margin: 0 0 4px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.9rem, 5vw, 2.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--on-teal);
}
.ciclo h3 {
  margin-bottom: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0;
  color: var(--on-teal);
}
.ciclo li p:last-child {
  margin: 0;
  max-width: 24em;
  color: var(--on-teal-soft);
}
.ciclo-volta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding-left: 9px;
  font-weight: 700;
  font-size: 1.15rem;
}
.ciclo-volta svg { flex: none; }

/* Ofertas */
.ofertas-sec { background: var(--sage); }
.plano {
  display: grid;
  gap: 24px;
  margin-top: 36px;
  padding: 32px 24px;
  border: 2px solid var(--ink);
  border-radius: 24px;
  background: var(--paper);
  scroll-margin-top: 16px;
}
.plano h3 { font-size: clamp(1.8rem, 4.4vw, 2.4rem); margin-bottom: 12px; }
.plano p { margin: 0; max-width: 32em; }
.plano-preco .price { margin: 0 0 16px; }

.price {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 3rem);
  line-height: 1;
  letter-spacing: -0.02em;
}
.price small {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.1rem;
  letter-spacing: 0;
}

.aulas { margin-top: 12px; }
.aula {
  display: grid;
  gap: 18px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 16px;
}
.aula:last-child { border-bottom: 0; padding-bottom: 0; }
.aula h3 { margin-bottom: 10px; }
.aula p { margin: 0; max-width: 34em; }
.price-sm {
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 0 12px !important;
}
.mensal {
  width: 100%;
  max-width: 22em;
  margin: 0 0 20px;
  border-collapse: collapse;
  font-size: 1.05rem;
}
.mensal caption {
  text-align: left;
  color: var(--muted);
  font-size: 1rem;
  padding-bottom: 4px;
}
.mensal th, .mensal td {
  padding: 6px 0;
  border-top: 1px solid var(--line);
}
.mensal th { text-align: left; font-weight: 400; }
.mensal td { text-align: right; font-weight: 700; white-space: nowrap; }

/* Depoimentos: carrossel. Sem JS, o trilho continua rolável com a barra visível. */
.carrossel { margin-top: 32px; }
.carrossel-trilho {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 88%;
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding-bottom: 4px;
}
.carrossel-ativo .carrossel-trilho { scrollbar-width: none; }
.carrossel-ativo .carrossel-trilho::-webkit-scrollbar { display: none; }
.slide {
  scroll-snap-align: start;
  display: grid;
  align-content: center;
  gap: 24px;
  padding: 28px 22px;
  border-radius: 24px;
  background: var(--sage);
}
.slide blockquote {
  margin: 0;
  padding-left: 20px;
  border-left: 5px solid var(--teal);
}
.slide blockquote p {
  margin: 0 0 14px;
  font-size: clamp(1.2rem, 2.6vw, 1.45rem);
  line-height: 1.5;
  max-width: 34em;
}
.slide blockquote footer { color: var(--muted); font-size: 1.05rem; }
.slide-video video {
  display: block;
  width: 100%;
  max-width: 260px;
  height: auto;
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  background: var(--ink);
}
.slide-video blockquote p { font-size: clamp(1.1rem, 2.2vw, 1.25rem); }
.carrossel-controles {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}
.carrossel-btn {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}
.carrossel-btn:hover:not(:disabled) { background: var(--sage); }
.carrossel-btn:disabled { opacity: 0.35; cursor: default; }
.carrossel-conta { margin: 0; min-width: 4.5em; text-align: center; font-weight: 700; }

/* Sobre ela: título em cima; foto e texto lado a lado, centralizados */
.sobre-sec { background: var(--sage); }
.sobre { display: grid; gap: 32px; margin-top: 32px; }
.sobre-foto { margin: 0; }
.sobre-foto img {
  display: block;
  width: 100%;
  max-width: 340px;
  height: auto;
  border-radius: 20px;
}
.sobre p { max-width: 36em; }
.lema {
  margin-top: 24px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

/* Perguntas frequentes */
.faq { max-width: 44em; }
.faq details { border-bottom: 1px solid var(--line); padding: 8px 0; }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.15rem;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  color: var(--teal);
  font-size: 1.8rem;
  line-height: 1;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: 4px 0 12px; max-width: 40em; }

/* Chamada final */
.cta {
  background: var(--teal-deep);
  color: var(--on-teal);
  padding-block: 64px;
}
.cta-grid { display: grid; gap: 40px; }
.cta p { max-width: 30em; margin-top: 12px; font-size: 1.2rem; }
.cta .btn { margin-top: 8px; }
.cta .indicar {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: var(--on-teal);
  font-size: 1.05rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cta :focus-visible { outline-color: #fff; }
.onde-titulo { font-size: 1.5625rem; margin-bottom: 12px; }
.onde {
  margin: 0;
  border-top: 2px solid var(--on-teal);
}
.onde div {
  display: grid;
  grid-template-columns: 7.5em 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
.onde dt { color: var(--on-teal-soft); }
.onde dd { margin: 0; font-weight: 700; }

/* Páginas de texto (privacidade) */
.doc { max-width: 44em; }
.doc h2 { margin: 1.6em 0 0.4em; font-size: 1.5rem; }
.doc ul { padding-left: 1.2em; }

/* Rodapé */
.foot {
  background: var(--ink);
  color: #DCE8E3;
  padding-block: 32px;
  font-size: 1rem;
}
.foot p { margin: 0 0 12px; }
.foot :focus-visible { outline-color: #fff; }

/* Telas médias */
@media (min-width: 640px) {
  :root { --gutter: 32px; }
  .atalhos { grid-template-columns: repeat(3, 1fr); gap: 0 24px; }
  .atalhos a { border-bottom: 0; }
}

/* Telas maiores */
@media (min-width: 900px) {
  /* Retrato encostado na borda direita da tela; texto alinhado à grade da página */
  .hero {
    grid-template-columns:
      minmax(var(--gutter), 1fr)
      minmax(0, calc(var(--max) * 0.58 - var(--gutter)))
      56px
      minmax(0, calc(var(--max) * 0.42 - var(--gutter) - 56px))
      minmax(0, 1fr);
    min-height: 640px;
  }
  .hero-text {
    grid-column: 2;
    align-self: center;
    padding: 72px 0 64px;
  }
  .hero-foto {
    grid-column: 4 / -1;
    height: 100%;
    max-height: none;
    aspect-ratio: auto;
  }
  .atalhos { grid-template-columns: repeat(3, 1fr); }

  .section { padding-block: 96px; }
  .split {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 56px;
  }

  /* Ciclo na horizontal */
  /* subgrid: "quando", título e texto alinhados entre as quatro colunas */
  .ciclo {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto 1fr;
    gap: 0 32px;
    margin-top: 56px;
  }
  .ciclo li {
    display: grid;
    grid-row: span 3;
    grid-template-rows: subgrid;
    align-content: start;
    padding: 72px 0 0;
  }
  .quando { font-size: clamp(1.6rem, 2.1vw, 1.95rem); align-self: end; }
  .ciclo li::before { top: 0; }
  .ciclo li::after {
    left: 54px;
    right: -26px;
    top: 21px;
    bottom: auto;
    width: auto;
    height: 3px;
  }
  .ciclo li:nth-child(3)::after {
    background: repeating-linear-gradient(to right, rgba(255, 255, 255, 0.7) 0 8px, transparent 8px 16px);
  }
  .ciclo li:last-child::after { display: none; }
  .ciclo-volta { margin-top: 40px; padding-left: 0; }

  .plano {
    grid-template-columns: 1.5fr 1fr;
    align-items: end;
    gap: 48px;
    padding: 44px;
  }
  .aulas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 48px;
    margin-top: 20px;
  }
  .aula {
    align-content: start;
    border-bottom: 0;
    padding: 32px 0 0;
  }

  .carrossel-trilho { grid-auto-columns: 100%; gap: 24px; }
  .slide { padding: 48px 56px; min-height: 420px; }
  .slide-video { grid-template-columns: 260px 1fr; gap: 56px; align-items: center; }

  .sobre { grid-template-columns: 400px 1fr; gap: 64px; align-items: center; margin-top: 40px; }
  .sobre-foto img { max-width: none; }

  .cta { padding-block: 88px; }
  .cta-grid { grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: center; }
}

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