/* ==========================================================================
   Trampita / Landing page
   ========================================================================== */

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

/* Cabecalho de seccao: etiqueta em mono + regua grossa. O sistema inteiro
   pendura-se nesta peca. */
.lede {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  border-top: 2px solid var(--ink-12);
  padding-top: .9rem;
  margin-bottom: 2.5rem;
}
.lede__tag { color: var(--terracotta); white-space: nowrap; }
.lede__note { margin-left: auto; color: var(--ink-40); text-align: right; }

.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section--paper2 { background: var(--paper-2); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--dark { background: #2E3524; color: #F2F0E6; }
.section--dark .lede { border-color: rgba(242, 240, 230, .22); }
.section--dark .lede__tag { color: var(--terracotta); }
.section--dark .lede__note { color: rgba(242, 240, 230, .45); }
.section--dark .h-sec em { color: var(--amber-soft); }
.section--ink .lede { border-color: var(--paper); }
.section--ink .lede__tag { color: var(--amber); }
.section--ink .lede__note { color: rgba(251, 246, 238, .45); }

.h-sec {
  font-size: clamp(2rem, 5vw, 3.5rem);
  max-width: 20ch;
}
.h-sec em { font-style: normal; color: var(--terracotta); }
.section--ink .h-sec em { color: var(--amber); }

/* --- Ticker ---------------------------------------------------------------- */
.ticker {
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
}
.ticker__track {
  display: flex;
  width: max-content;
  gap: 3rem;
  padding-block: .6rem;
  animation: ticker 34s linear infinite;
}
.ticker__track span { display: inline-flex; gap: 3rem; white-space: nowrap; }
.ticker b { color: var(--amber); font-weight: 600; }
@keyframes ticker { to { transform: translateX(-50%); } }
.ticker:hover .ticker__track { animation-play-state: paused; }

/* --- Nav ------------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 243, 238, .82);
  backdrop-filter: blur(12px);
  padding-block: .55rem;
}
.nav__in { display: flex; align-items: center; gap: 1rem; height: 62px; }
.brand {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: -.045em;
  text-decoration: none;
}
.brand__mark {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  background: var(--terracotta);
  color: var(--white);
  border-radius: 11px;
  font-size: .95rem;
}

/* Os links vivem dentro de uma pilula branca, ao centro */
.nav__pill {
  display: flex;
  gap: .2rem;
  margin-inline: auto;
  padding: .3rem;
  background: var(--white);
  border-radius: 999px;
  box-shadow: var(--shadow-flat);
}
.nav__pill a {
  padding: .5rem .95rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink-60);
  transition: background .16s, color .16s;
}
.nav__pill a:hover { background: var(--paper-2); color: var(--ink); }

.nav__end { display: flex; align-items: center; gap: .9rem; }
.nav__login { font-size: .85rem; font-weight: 600; text-decoration: none; color: var(--ink); }
.nav__login:hover { color: var(--terracotta-dark); }
.nav__cta { padding: .68rem 1.25rem; font-size: .85rem; }

@media (max-width: 1040px) { .nav__pill { display: none; } .nav__end { margin-left: auto; } }
@media (max-width: 560px) { .nav__login { display: none; } }

/* --- Hero ------------------------------------------------------------------ */
.hero { padding-block: clamp(2.5rem, 6vw, 4.5rem) 0; overflow: hidden; }
.hero__in { text-align: center; display: grid; justify-items: center; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .48rem .95rem;
  background: var(--olive-soft);
  color: var(--olive);
  border-radius: 999px;
  margin-bottom: 1.4rem;
}

.hero h1 {
  font-size: var(--t-3xl);
  letter-spacing: -.045em;
  margin-bottom: 1.15rem;
  max-width: 16ch;
}

/* Marca-texto atras da palavra que importa */
.marker {
  position: relative;
  white-space: nowrap;
  z-index: 0;
}
.marker::before {
  content: '';
  position: absolute;
  z-index: -1;
  left: -.12em; right: -.12em;
  top: .1em; bottom: .06em;
  background: var(--amber-soft);
  border-radius: .42em .55em .38em .6em;
  transform: scaleX(0);
  transform-origin: left;
  animation: marcar .55s cubic-bezier(.22, 1, .36, 1) .5s forwards;
}
@keyframes marcar { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .marker::before { transform: none; animation: none; } }

.hero__sub {
  font-size: var(--t-md);
  color: var(--ink-60);
  max-width: 52ch;
  margin-bottom: 1.9rem;
}
.hero__actions { display: flex; gap: .7rem; flex-wrap: wrap; justify-content: center; }

/* --- Palco do heroi -------------------------------------------------------- */
.stage {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-bottom: 5.5rem;
  display: grid;
  justify-items: center;
}

/* Mancha coral atras do telemovel */
.stage__blob {
  position: absolute;
  top: -4%;
  left: 50%;
  transform: translateX(-50%);
  width: min(560px, 88%);
  aspect-ratio: 1 / .78;
  background: var(--amber-soft);
  border-radius: 46% 54% 40% 60% / 55% 45% 55% 45%;
  z-index: 0;
  animation: respirar 12s ease-in-out infinite;
}
@keyframes respirar {
  50% { border-radius: 52% 48% 58% 42% / 46% 56% 44% 54%; }
}

.stage .phone { position: relative; z-index: 2; margin: 0; }

/* Cartoes de numero em volta */
.stat-card {
  position: absolute;
  z-index: 3;
  background: var(--white);
  border-radius: var(--r);
  box-shadow: var(--shadow-flat);
  padding: 1rem 1.15rem;
  text-align: left;
  max-width: 210px;
}
.stat-card b {
  display: block;
  font-family: var(--f-display);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
}
.stat-card span { display: block; font-size: .76rem; color: var(--ink-60); margin-top: .35rem; line-height: 1.35; }
.stat-card--tl { top: 16%; left: 0; }
.stat-card--tr { top: 34%; right: 0; }
.stat-card__faces { display: flex; margin-bottom: .5rem; }
.stat-card__faces span {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--paper-2);
  border: 2px solid var(--white);
  margin-left: -8px;
  display: grid; place-items: center;
  font-size: .7rem;
}
.stat-card__faces span:first-child { margin-left: 0; }

/* Etiqueta flutuante junto ao ecra */
.mood-chip {
  position: absolute;
  z-index: 4;
  top: 8%;
  right: 16%;
  display: flex;
  align-items: center;
  gap: .55rem;
  background: var(--white);
  border-radius: 999px;
  box-shadow: var(--shadow-flat);
  padding: .5rem .95rem .5rem .5rem;
  animation: flutuar 6s ease-in-out infinite;
}
.mood-chip i {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--terracotta);
  display: grid; place-items: center;
  font-size: .8rem;
  font-style: normal;
}
.mood-chip span { font-size: .78rem; font-weight: 700; line-height: 1.2; }
.mood-chip em {
  display: block;
  font-style: normal;
  font-size: .6rem;
  font-weight: 600;
  color: var(--ink-40);
}
@keyframes flutuar { 50% { transform: translateY(-9px); } }

/* Faixa de estatistica sobreposta em baixo */
.statbar {
  position: absolute;
  z-index: 4;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(560px, 94%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--white);
  border-radius: var(--r);
  box-shadow: var(--shadow-soft);
  padding: 1.15rem .5rem;
}
.statbar div { text-align: center; }
.statbar b {
  display: block;
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -.04em;
}
.statbar span { display: block; font-size: .72rem; color: var(--ink-40); margin-top: .2rem; }

@media (max-width: 860px) {
  .stat-card { position: static; max-width: none; }
  .stat-card--tl, .stat-card--tr { margin-bottom: .7rem; }
  .mood-chip { display: none; }
  .stage { padding-bottom: 6.5rem; }
  .stage__blob { top: 12%; }
}

/* --- Telemovel: previsualizacao do WebApp ---------------------------------- */
.phone {
  position: relative;
  width: min(272px, 74vw);
  aspect-ratio: 300 / 575;
  background: var(--ink);
  border-radius: 40px;
  padding: 10px;
  box-shadow: 0 40px 70px -32px rgba(23, 23, 26, .5);
}
.phone__screen {
  width: 100%; height: 100%;
  background: var(--paper);
  border-radius: 31px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.phone__notch {
  position: absolute;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  width: 84px; height: 20px;
  background: var(--ink);
  border-radius: 999px;
  z-index: 2;
}

.ps-top {
  display: flex; align-items: center; gap: .5rem;
  padding: 2.2rem .85rem .5rem;
}
.ps-top > div { flex: 1; text-align: center; min-width: 0; }
.ps-top span { display: block; color: var(--ink-40); font-size: .5rem; font-weight: 600; }
.ps-hello { font-weight: 700; font-size: .72rem; letter-spacing: -.02em; }
.ps-dot {
  width: 20px; height: 20px; flex: none;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 1px 4px -1px rgba(23, 23, 26, .18);
}
.ps-dot--av {
  display: grid; place-items: center;
  font-size: .48rem; font-weight: 800; color: var(--ink);
}

.ps-gauge { position: relative; width: 78%; margin: .2rem auto 0; }
.ps-gauge svg { width: 100%; display: block; }
.ps-gauge__mid { position: absolute; left: 0; right: 0; bottom: 4%; text-align: center; }
.ps-gauge__mid b { display: block; font-size: .95rem; font-weight: 800; letter-spacing: -.04em; }
.ps-gauge__mid span { display: block; font-size: .42rem; color: var(--ink-40); font-weight: 600; }

.ps-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; padding: .35rem .85rem .55rem; }
.ps-day {
  aspect-ratio: 1;
  display: grid; place-items: center;
  border-radius: 7px;
  background: var(--white);
  color: var(--ink-40);
  font-size: .44rem;
  font-weight: 700;
  box-shadow: 0 1px 3px -1px rgba(23, 23, 26, .14);
}
.ps-day.is-done { background: var(--olive); color: var(--white); }
.ps-day.is-now { background: var(--terracotta); color: var(--white); }

.ps-card {
  margin: 0 .85rem;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 6px 16px -10px rgba(23, 23, 26, .3);
  overflow: hidden;
  padding: .35rem;
}
.ps-card__art { background: var(--amber-soft); border-radius: 10px; padding: .45rem; }
.ps-card__art svg { width: 54px; margin-inline: auto; }
.ps-card__body { padding: .45rem .35rem .2rem; }
.ps-card__body h4 { font-size: .58rem; line-height: 1.15; letter-spacing: -.02em; }
.ps-macros {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px;
  margin-top: .35rem;
  background: var(--paper-2);
  border-radius: 8px;
  padding: .3rem .15rem;
}
.ps-macro { text-align: center; }
.ps-macro span { display: block; font-size: .34rem; color: var(--ink-40); font-weight: 600; }
.ps-macro b { display: block; font-size: .46rem; font-weight: 700; }

.ps-list { margin: .6rem .85rem 0; display: grid; gap: 3px; }
.ps-list__t { font-size: .5rem; font-weight: 700; letter-spacing: -.01em; margin-bottom: .1rem; }
.ps-list__r {
  display: flex; align-items: center;
  background: var(--white);
  border-radius: 7px;
  padding: .3rem .45rem;
  font-size: .42rem;
  font-weight: 600;
  color: var(--ink-60);
  box-shadow: 0 1px 3px -1px rgba(23, 23, 26, .12);
}
.ps-list__r b { margin-left: auto; color: var(--ink); }

.ps-nav {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-around;
  background: var(--ink);
  padding: .55rem .8rem;
}
.ps-nav span { width: 11px; height: 11px; border-radius: 3px; background: rgba(255, 255, 255, .3); }
.ps-nav i {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--terracotta);
  transform: translateY(-7px);
  box-shadow: 0 4px 10px -4px rgba(240, 138, 99, .9);
}

/* --- Botoes da landing ----------------------------------------------------- */
.btn--dark { --btn-bg: var(--ink); --btn-fg: var(--white); }
.btn--dark:hover { background: #000; }
.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink-12);
}
.btn--outline:hover { background: var(--white); box-shadow: var(--shadow-flat); }
.btn--sm { padding: .72rem 1.25rem; font-size: .88rem; }
.btn i {
  font-style: normal;
  display: inline-block;
  transition: transform .18s var(--ease);
}
.btn:hover i { transform: translateX(3px); }

/* --- Duas colunas: titulo a esquerda, apoio a direita ---------------------- */
.split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: end;
}
.split .h-sec { max-width: 14ch; }
.split__side { display: grid; gap: 1.25rem; justify-items: start; }
.split__side p { color: var(--ink-60); font-size: var(--t-sm); line-height: 1.6; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; align-items: start; } }

/* --- Depoimentos ----------------------------------------------------------
   Tres capturas de conversa, lado a lado. Nada se corta: a imagem vai
   inteira, encaixada por dentro (contain) num ecra de fundo escuro. Como as
   proporcoes das tres nao sao exactamente iguais, o que sobra e uma tira de
   dois ou tres pixeis do mesmo tom da captura -- invisivel, e melhor do que
   cortar texto de alguem.

   O cartao claro em volta e o que impede a leitura de "tres blocos pretos
   colados na pagina": a captura passa a ser um ecra pousado num cartao, que
   e o mesmo objecto que a pagina usa em todo o lado.

   A frase esta dentro da imagem, entao vai inteira para o alt. A legenda
   diz so o pais: a bandeira ja esta dentro da captura, e repeti-la em emoji
   dava "AR Argentina" no Windows, que nao renderiza bandeiras. */
.dms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.dm {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .9rem;
  background: var(--white);
  border-radius: var(--r);
  padding: .75rem .75rem 1.1rem;
  box-shadow: var(--shadow-flat);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.dm:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.dm__ecra {
  border-radius: calc(var(--r) - .45rem);
  overflow: hidden;
  background: #0B0B0D;
  aspect-ratio: 3 / 4;
  display: grid;
  place-items: center;
}
.dm__ecra img {
  display: block;
  width: 100%;
  /* height:auto e obrigatorio: sem ele o atributo height do HTML manda e o
     aspect-ratio do ecra nunca chega a mandar. */
  height: auto;
  max-height: 100%;
  object-fit: contain;
}
.dm figcaption {
  font-family: var(--f-mono);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-40);
  text-align: center;
}
@media (max-width: 900px) { .dms { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .dms { grid-template-columns: 1fr; } }

/* --- Antes / depois ---------------------------------------------------------
   Reaproveita a caixa do .dm: a foto ja vem com os dois lados colados, entao
   o unico trabalho aqui e nomear cada metade e nao deixar a comparacao passar
   por retrato unico. O ecra passa a ser o referencial das duas etiquetas. */
.proof__lab {
  display: block;
  margin-top: 3rem;
  color: var(--ink-40);
  border-top: 1px solid var(--ink-12);
  padding-top: .9rem;
}
.dms--ba { margin-top: 1.25rem; }
.dms--ba .dm__ecra { position: relative; background: var(--paper-3); }
/* A foto e o conteudo, nao o fundo: aqui enche o ecra em vez de caber nele. */
.dms--ba .dm__ecra img { height: 100%; object-fit: cover; }
.ba__tag {
  position: absolute;
  bottom: .55rem;
  font-family: var(--f-mono);
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(11, 11, 13, .62);
  backdrop-filter: blur(4px);
  padding: .28rem .5rem;
  border-radius: 4px;
}
.ba__tag--a { left: .55rem; }
.ba__tag--b { right: .55rem; }
.proof__note {
  margin-top: 1.25rem;
  max-width: 62ch;
  font-size: var(--t-xs);
  color: var(--ink-40);
  line-height: 1.6;
}

/* --- Historia -------------------------------------------------------------- */
.story__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.story__portrait {
  position: sticky;
  top: 100px;
  border: 0;
  border-radius: var(--r-lg);
  background: var(--terracotta);
  color: var(--white);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-soft);
}
/* O ficheiro ja vem cortado em quadrado na cara dela, entao aqui basta o
   circulo. height:auto para o atributo height do HTML nao mandar. */
.story__avatar {
  display: block;
  width: 200px; height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  background: var(--amber);
  margin-bottom: 1.25rem;
}
.story__portrait h3 { font-size: var(--t-xl); margin-bottom: .35rem; }
.story__portrait .tag { color: rgba(255, 255, 255, .7); }
.story__quote {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, .3);
  font-size: var(--t-sm);
  line-height: 1.55;
}
.beats { display: grid; gap: 1px; background: var(--ink-12); border: 0; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-flat); }
.beat { background: var(--paper); padding: 1.6rem 1.5rem; display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-items: start; }
.beat__n {
  font-family: var(--f-mono);
  font-size: .68rem;
  font-weight: 700;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
}
.beat--turn { background: var(--olive-soft); }
.beat--turn .beat__n { background: var(--olive); }
.beat--win { background: var(--amber-soft); }
.beat--win .beat__n { background: var(--terracotta); }
.beat h4 { font-size: var(--t-lg); margin-bottom: .4rem; }
.beat p { color: var(--ink-80); font-size: var(--t-sm); }
@media (max-width: 860px) {
  .story__grid { grid-template-columns: 1fr; }
  .story__portrait { position: static; }
}

/* --- Oferta ---------------------------------------------------------------- */
.offer__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-top: 3rem; }
.feat {
  border: 2px solid rgba(251, 246, 238, .22);
  border-radius: var(--r);
  padding: 1.75rem 1.6rem;
  display: grid;
  gap: .6rem;
  transition: border-color .2s, background .2s;
}
.feat:hover { border-color: var(--amber); background: rgba(240, 145, 58, .07); }
.feat__ic { font-size: 1.7rem; }
.feat h3 { font-size: var(--t-lg); }
.feat p { color: rgba(251, 246, 238, .68); font-size: var(--t-sm); }
.feat__meta { color: var(--amber); margin-top: .3rem; }
.catrow { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; }
.catrow__item {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .55rem 1rem;
  border: 1.5px solid rgba(251, 246, 238, .3);
  border-radius: 999px;
  font-size: var(--t-sm);
}
@media (max-width: 720px) { .offer__grid { grid-template-columns: 1fr; } }

/* --- Bento da oferta ------------------------------------------------------- */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}
.bento__big, .bento__card, .bento__num {
  border-radius: var(--r-lg);
  padding: 1.6rem 1.5rem;
  display: grid;
  gap: .55rem;
  align-content: start;
}
.bento__big {
  grid-column: span 2;
  grid-row: span 2;
  background: rgba(242, 240, 230, .07);
  border: 1px solid rgba(242, 240, 230, .14);
}
.bento__card {
  grid-column: span 2;
  background: rgba(242, 240, 230, .07);
  border: 1px solid rgba(242, 240, 230, .14);
}
.bento__card--wide { grid-column: span 4; }
.bento__num {
  grid-column: span 1;
  background: #F2F0E6;
  color: var(--ink);
  align-content: space-between;
  min-height: 168px;
}
.bento__num--coral { background: var(--terracotta); color: var(--white); }
.bento__num b {
  font-family: var(--f-display);
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: 1;
}
.bento__num span { font-size: .8rem; line-height: 1.4; opacity: .8; }

.bento__ic {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: var(--amber-soft);
  border-radius: 13px;
  font-size: 1.2rem;
  margin-bottom: .3rem;
}
.bento h3 { font-size: var(--t-lg); }
.bento__big h3 { font-size: var(--t-xl); max-width: 18ch; }
.bento p { font-size: var(--t-sm); color: rgba(242, 240, 230, .68); line-height: 1.6; }
.pill-link {
  justify-self: start;
  margin-top: .4rem;
  padding: .45rem .9rem;
  border-radius: 999px;
  background: rgba(242, 240, 230, .1);
  font-size: .74rem;
  font-weight: 600;
}

@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__big, .bento__card, .bento__card--wide { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 520px) {
  .bento { grid-template-columns: 1fr; }
  .bento__big, .bento__card, .bento__card--wide, .bento__num { grid-column: span 1; }
}

.section--dark .catrow__item { border-color: rgba(242, 240, 230, .28); }

/* --- Quiz ------------------------------------------------------------------ */
.quiz {
  max-width: 720px;
  margin: 3rem auto 0;
  background: var(--white);
  border: 0;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.quiz__head {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--ink-12);
  background: var(--paper-2);
}
.quiz__count { color: var(--terracotta); }
.quiz__track { flex: 1; height: 6px; background: var(--paper-3); border-radius: 99px; overflow: hidden; }
.quiz__fill { display: block; height: 100%; width: 0; background: var(--terracotta); border-radius: 99px; transition: width .45s var(--ease); }
.quiz__body { padding: clamp(1.75rem, 4vw, 2.75rem); }
.quiz__q { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 1.75rem; }
.quiz__opts { display: grid; gap: .75rem; }
.opt {
  display: flex; align-items: center; gap: 1rem;
  width: 100%;
  padding: 1.1rem 1.25rem;
  background: var(--paper);
  border: 2px solid var(--ink-12);
  border-radius: var(--r);
  text-align: left;
  font-size: var(--t-md);
  font-weight: 500;
  transition: border-color .16s, background .16s, transform .16s var(--ease);
}
.opt:hover { border-color: var(--terracotta); background: var(--amber-soft); transform: translateX(4px); }
.opt__k {
  width: 30px; height: 30px; flex: none;
  display: grid; place-items: center;
  border: 2px solid var(--ink-12);
  border-radius: 10px;
  font-family: var(--f-body);
  font-size: .65rem;
  font-weight: 700;
}
.opt.is-picked { border-color: var(--olive); background: var(--olive-soft); }
.opt.is-picked .opt__k { background: var(--olive); color: var(--white); border-color: var(--olive); }

.quiz__result { text-align: center; display: grid; gap: 1.1rem; justify-items: center; }
.quiz__seal {
  width: 76px; height: 76px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--olive);
  color: var(--white);
  font-size: 2.2rem;
  border: 0;
}
.quiz__result h3 { font-size: clamp(1.5rem, 3.4vw, 2.25rem); max-width: 18ch; }
.quiz__result p { color: var(--ink-60); max-width: 46ch; }
.quiz__profile {
  display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center;
  padding: 1rem 0;
  width: 100%;
  border-block: 1px dashed var(--ink-12);
}
.quiz__profile b {
  font-family: var(--f-mono);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .4rem .7rem;
  border-radius: 6px;
  background: var(--paper-2);
}
.is-hidden { display: none !important; }

/* --- Preco ----------------------------------------------------------------- */
.pricing__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.5rem; margin-top: 3rem; align-items: stretch; }
.pricebox {
  background: var(--white);
  border: 0;
  border-radius: var(--r-lg);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.pricebox__flag {
  align-self: flex-start;
  background: var(--terracotta);
  color: var(--white);
  padding: .4rem .8rem;
  border-radius: 6px;
}
.pricebox__amount { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; }
.pricebox__old {
  font-family: var(--f-mono);
  font-size: var(--t-lg);
  color: var(--ink-40);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}
.pricebox__new {
  font-family: var(--f-display);
  font-size: clamp(3.25rem, 9vw, 5.5rem);
  line-height: .85;
  letter-spacing: -.05em;
}
.pricebox__new { display: inline-flex; align-items: flex-start; gap: .1em; }
.pricebox__new span { font-size: .34em; font-weight: 700; margin-top: .24em; letter-spacing: -.02em; }
.pricebox__save { background: var(--olive-soft); color: var(--olive); padding: .4rem .7rem; border-radius: 6px; }
.pricebox ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.pricebox li { display: flex; gap: .7rem; align-items: flex-start; font-size: var(--t-sm); }
.pricebox li::before { content: '✓'; color: var(--olive); font-weight: 800; }
.pricebox__micro { text-align: center; color: var(--ink-40); font-size: var(--t-xs); }

/* Oliva mais fundo que o --olive: o branco sobre #6E8B5B fica em 3,8:1 e
   o texto corrido desta caixa precisa de passar dos 4,5:1. */
.guarantee {
  background: #50693E;
  color: var(--white);
  border: 0;
  border-radius: var(--r-lg);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.guarantee__head { display: flex; align-items: center; gap: .9rem; }
.guarantee__num {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(4.75rem, 11vw, 6.25rem);
  line-height: .78;
  letter-spacing: -.06em;
  color: var(--amber-soft);
}
.guarantee__unit {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: var(--t-md);
  line-height: 1.2;
  letter-spacing: -.02em;
}

/* A semana da garantia, dia a dia, como os dias do Reto na app */
.guarantee__days {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: .35rem;
}
.guarantee__days li {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-size: .78rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, .7);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .26);
}
.guarantee__days .is-cook { background: var(--paper); color: var(--ink); box-shadow: none; }
.guarantee__days .is-last { color: var(--amber-soft); box-shadow: inset 0 0 0 2px var(--amber-soft); }
.guarantee__legend {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: .55rem;
  font-weight: 600;
}
.guarantee__legend span:last-child { color: var(--amber-soft); text-align: right; }

.guarantee h3 { font-size: var(--t-lg); letter-spacing: -.03em; margin-top: .35rem; }
.guarantee p { font-size: var(--t-sm); color: rgba(255, 255, 255, .9); }
/* A legenda tambem e um <p>: a regra de cima pesa mais que a classe sozinha */
.guarantee .guarantee__legend { font-size: var(--t-xs); color: rgba(255, 255, 255, .82); }
.guarantee__link {
  margin-top: auto;
  align-self: flex-start;
  font-size: var(--t-sm);
  font-weight: 700;
  color: var(--white);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.guarantee__link:hover { color: var(--amber-soft); }
@media (max-width: 860px) { .pricing__grid { grid-template-columns: 1fr; } }

/* --- FAQ ------------------------------------------------------------------- */
.faq { max-width: 800px; margin-top: 3rem; }
.faq details {
  border-top: 1px solid var(--ink-12);
  padding: 1.35rem 0;
}
.faq details:last-of-type { border-bottom: 1px solid var(--ink-12); }
.faq summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: var(--t-md);
  letter-spacing: -.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  margin-left: auto;
  font-family: var(--f-body);
  font-size: 1.3rem;
  color: var(--terracotta);
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-top: .85rem; color: var(--ink-60); font-size: var(--t-sm); max-width: 62ch; }

/* --- Rodape ---------------------------------------------------------------- */
.foot { background: var(--ink); color: var(--paper); padding-block: 3.5rem 2rem; }
.foot__grid { display: flex; gap: 2rem; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; }
.foot__cta h3 { font-size: clamp(1.75rem, 4vw, 2.75rem); max-width: 16ch; margin-bottom: 1.5rem; }
.foot__links { display: grid; gap: .5rem; font-size: var(--t-sm); }
.foot__links a { color: rgba(251, 246, 238, .6); text-decoration: none; }
.foot__links a:hover { color: var(--amber); }
.foot__legal {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(251, 246, 238, .18);
  color: rgba(251, 246, 238, .45);
  font-size: var(--t-xs);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --- Reveal ---------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* --- CTA intermedio ---------------------------------------------------------
   Fecha a seccao dos testimonios. A pagina tem 7.700 px e a caixa de preco so
   entra na seccao 05: aqui o leitor ja viu a prova social e ainda faltam duas
   seccoes ate ver um numero. Este bloco da o numero sem repetir a caixa. */
.midcta {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--white);
  border-radius: var(--r);
  box-shadow: var(--shadow-flat);
}
.midcta__txt { display: grid; gap: .35rem; max-width: 46ch; }
.midcta__txt b { font-family: var(--f-display); font-size: clamp(1.35rem, 3vw, 1.9rem); letter-spacing: -.03em; }
.midcta__txt span { font-size: var(--t-sm); color: var(--ink-60); }
.midcta__acts { display: grid; gap: .6rem; justify-items: center; }
.midcta__alt {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: .04em;
  color: var(--ink-40);
  text-decoration: none;
}
.midcta__alt:hover { color: var(--terracotta); }
@media (max-width: 620px) {
  .midcta { flex-direction: column; align-items: stretch; text-align: center; }
  .midcta__txt { justify-items: center; max-width: none; }
  .midcta__acts .btn { width: 100%; }
}

/* --- Barra fixa de compra (telemovel) ---------------------------------------
   So existe abaixo de 720 px: no desktop o CTA do cabecalho ja esta sempre
   visivel. Fica escondida ate passar o heroi e recolhe quando a caixa de
   preco entra no ecra, para nao haver dois precos no mesmo ecra. */
.stickybar { display: none; }
@media (max-width: 720px) {
  .stickybar {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    background: rgba(247, 243, 238, .94);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--ink-12);
    padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom));
    transform: translateY(115%);
    visibility: hidden;
    transition: transform .28s var(--ease), visibility .28s;
  }
  .stickybar.is-on { transform: none; visibility: visible; }
  .stickybar__in { display: flex; align-items: center; gap: 1rem; }
  .stickybar__price { display: grid; gap: .1rem; line-height: 1.2; }
  .stickybar__price s { color: var(--ink-40); font-size: var(--t-xs); }
  .stickybar__price b { font-family: var(--f-display); font-size: 1.35rem; letter-spacing: -.03em; }
  .stickybar__price small { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .05em; color: var(--ink-40); }
  .stickybar__btn { margin-left: auto; padding: .85rem 1.25rem; font-size: var(--t-sm); white-space: nowrap; }
  /* O rodape precisa de espaco por baixo, senao a barra tapa os links legais. */
  .foot { padding-bottom: 6rem; }
}
@media (prefers-reduced-motion: reduce) { .stickybar { transition: none; } }
