/* ============================================================
   SEM ZOOM
   O meta viewport com user-scalable=no trata do Android. O iOS
   ignora-o desde o iOS 10 — de proposito, por acessibilidade.
   O que o Safari respeita e o touch-action: «pan-x pan-y» permite
   arrastar a pagina mas exclui o pinch e o duplo toque.
   As duas coisas juntas cobrem os dois sistemas.
   Para voltar a permitir zoom, apagar este bloco e tirar o
   user-scalable=no dos 11 <meta name="viewport">.
   ============================================================ */
html {
  touch-action: pan-x pan-y;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* ============================================================
   FUNIL PT — DESIGN TOKENS + COMPONENTES PARTILHADOS
   Valores extraídos do funil original (ver DESIGN-SYSTEM.md).
   Editar aqui muda o aspecto de TODOS os steps.
   ============================================================ */

:root {
  /* ---- SUPERFÍCIES (creme quente, nunca cinzento) ---- */
  --background:            35 60% 96%;      /* #FBF6EF */
  --card:                   0 0% 100%;      /* #FFFFFF */
  --secondary:             40 35% 94%;      /* #F5F1EA */
  --muted:                 40 30% 92%;      /* #F1EDE4 */
  --warm-cream:            40 40% 96%;      /* #F9F6F1 */

  /* ---- TEXTO É VIOLETA. É este o look todo. ---- */
  --foreground:           262 83% 58%;      /* #7C3BED */
  --card-foreground:      262 83% 58%;
  --muted-foreground:      25 15% 42%;      /* #7B6A5C  (escurecido p/ AA) */
  --warm-brown:            25 30% 25%;      /* #533D2D */

  /* ---- ACÇÃO = VERDE ---- */
  --primary:              140 48% 42%;      /* #389F5A */
  --primary-foreground:     0 0% 100%;
  --chef-green:           140 48% 42%;
  --chef-green-dark:      140 52% 35%;      /* #2B884A */
  --soft-sage:            140 20% 85%;      /* #D1E0D6 */

  /* ---- IDENTIDADE ---- */
  --accent:               262 83% 58%;
  --accent-foreground:      0 0% 100%;
  --purple-light:         262 83% 96%;      /* #F4EFFE  (fundo de opção seleccionada) */

  /* ---- RECOMPENSA = OURO (dinheiro, estrelas, "GRÁTIS") ---- */
  --gold:                  48 96% 53%;      /* #FACC14 */

  /* ---- URGÊNCIA = VERMELHO ---- */
  --destructive:            0 84.2% 60.2%;  /* #EF4444 */
  --destructive-foreground: 0 0% 100%;

  /* ---- ESTRUTURA ---- */
  --border:                40 25% 88%;      /* #E8E3D9 */
  --ring:                 140 48% 42%;
  --radius: 1rem;                           /* 16px */

  /* ---- MEDIDAS DE LAYOUT (a 390px) ---- */
  --gutter: 16px;
  --header-h: 49px;
  --cta-inset: 32px;                        /* faz o botão ficar com 294px */

  /* ---- FONTES ---- */
  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;

  /* ---- SOMBRAS (profundidade = interactividade) ---- */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / .05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { color-scheme: light; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  color: hsl(var(--foreground));
  background: hsl(var(--background));
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
a { color: inherit; }
ul { list-style: none; }

:focus-visible {
  outline: 2px solid hsl(var(--ring));
  outline-offset: 2px;
  border-radius: 6px;
}

/* ============================================================
   TIPOGRAFIA — escala 10·11·12·13·14·15·16·18·20·24·28·40
   ============================================================ */
.t-10 { font-size: 10px; }
.t-11 { font-size: 11px; }
.t-12 { font-size: 12px; }
.t-13 { font-size: 13px; line-height: 1.375; }
.t-14 { font-size: 14px; line-height: 1.6; }
.t-16 { font-size: 16px; }
.t-18 { font-size: 18px; line-height: 1.3; }
.t-20 { font-size: 20px; line-height: 1.3; }
.t-24 { font-size: 24px; line-height: 1.25; }
.t-28 { font-size: 28px; line-height: 1.2; }
.bold { font-weight: 700; }
.muted { color: hsl(var(--muted-foreground)); }
.center { text-align: center; }
.green { color: hsl(var(--chef-green-dark)); }
.gold { color: hsl(var(--gold)); }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.25; }

/* ============================================================
   LAYOUT
   ============================================================ */
/* .fn-page é o wrapper de todas as páginas: tem de ser o container flex
   para que .fn-main possa crescer e empurrar a barra fixa para o fundo. */
.fn-page {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 100dvh;
}

.fn-main {
  flex: 1;
  width: 100%;
  max-width: 672px;          /* max-w-2xl — só relevante acima de 390px */
  margin-inline: auto;
  padding: 20px var(--gutter) 24px;
}

.fn-title {
  font-size: 24px;
  line-height: 30px;
  font-weight: 700;
  text-align: center;
  padding-inline: 4px;
  color: hsl(var(--foreground));
}

.fn-subtitle {
  font-size: 13px;
  line-height: 1.375;
  text-align: center;
  color: hsl(var(--muted-foreground));
  padding-inline: 16px;
  margin-top: 8px;
}

.fn-microcopy {
  font-size: 12px;
  text-align: center;
  color: hsl(var(--muted-foreground));
  margin-top: 18px;
}
/* Instrucao que no original aparece ACIMA das opcoes, com a seta.
   No chefameliedupont.fr esta linha e VIOLETA, nao cinzenta:
   classe «text-purple-text/70», que calcula rgba(124,59,237,.7).
   Esse violeta e exactamente o nosso --accent (262 83% 58%),
   por isso basta usa-lo a 70% de opacidade. Verificado na pergunta
   1 e na pergunta 2 do funil frances. */
.fn-microcopy--above {
  margin-top: 20px;
  margin-bottom: 4px;
  font-size: 13px;
  line-height: 1.5;
  color: hsl(var(--accent) / .7);
  /* A mão fica à ESQUERDA do texto, na mesma linha — não por cima.
     Com flex, se o texto passar a duas linhas em ecrã estreito a mão
     fica centrada ao lado do bloco todo, em vez de colar à 1.ª linha
     e deixar a segunda a correr por baixo dela. */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.fn-microcopy--above > span:last-child { text-align: left; }

/* ============================================================
   HEADER (steps de pergunta) — sticky, 49px, blur
   ============================================================ */
.fn-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 8px;
  padding-inline: var(--gutter);
  background: rgb(255 255 255 / .8);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  border-bottom: 1px solid hsl(var(--border) / .5);
  box-shadow: var(--shadow-sm);
}

.fn-avatar {
  width: 32px; height: 32px;
  border-radius: 9999px;
  flex: 0 0 32px;
  object-fit: cover;
  box-shadow: 0 0 0 2px hsl(var(--accent) / .2);
}

.fn-progress-wrap { flex: 1; min-width: 0; }

.fn-progress {
  height: 6px;
  border-radius: 9999px;
  background: hsl(var(--secondary));
  overflow: hidden;
}

.fn-progress-fill {
  height: 100%;
  width: 100%;
  background: hsl(var(--primary));
  transform: translateX(-100%);
  transition: transform .35s cubic-bezier(.16,1,.3,1);
}

.fn-steplabel {
  display: block;
  font-size: 10px;
  color: hsl(var(--muted-foreground));
  margin-top: 2px;
}

/* ============================================================
   CARTÕES DE OPÇÃO
   Borda 2px em ambos os estados -> o cartão NUNCA salta ao seleccionar.
   ============================================================ */
.fn-options { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }

.fn-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  padding: 10px 14px;
  text-align: left;
  background: hsl(var(--card));
  border: 2px solid hsl(var(--border));
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: border-color .18s ease, background-color .18s ease;
}

@media (hover: hover) {
  .fn-option:hover { border-color: hsl(var(--accent) / .4); }
}

.fn-option[aria-pressed="true"] {
  border-color: hsl(var(--accent));
  background: hsl(var(--purple-light));
}

.fn-radio {
  flex: 0 0 20px;
  width: 20px; height: 20px;
  border-radius: 9999px;
  border: 2px solid hsl(var(--border));
  display: grid;
  place-items: center;
  transition: border-color .18s ease, background-color .18s ease;
}

.fn-radio::after {
  content: "";
  width: 8px; height: 8px;
  border-radius: 9999px;
  background: #fff;
  transform: scale(0);
  transition: transform .18s cubic-bezier(.34,1.56,.64,1);
}

.fn-option[aria-pressed="true"] .fn-radio {
  border-color: hsl(var(--accent));
  background: hsl(var(--accent));
}
.fn-option[aria-pressed="true"] .fn-radio::after { transform: scale(1); }

.fn-option-icon { flex: 0 0 auto; font-size: 20px; line-height: 1; }

.fn-option-label {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: hsl(var(--foreground));
}

/* --- variante image-list (Pergunta 4) --- */
.fn-option--image { padding: 8px 12px 8px 8px; min-height: 72px; }

.fn-option--image .fn-thumb {
  flex: 0 0 80px;
  width: 80px; height: 56px;
  border-radius: 12px;
  object-fit: cover;
  background: hsl(var(--muted));
}

.fn-option--image .fn-option-text { display: flex; flex-direction: column; gap: 2px; }
.fn-option--image .fn-option-desc { font-size: 12px; color: hsl(var(--muted-foreground)); line-height: 1.35; }

/* ============================================================
   BOTÕES
   ============================================================ */
.fn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding-inline: 24px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  transition: background-color .18s ease, transform .12s ease, opacity .18s ease;
}

.fn-btn-primary {
  background: hsl(var(--primary));
  color: #fff;
  box-shadow: var(--shadow-lg);
}
@media (hover: hover) {
  .fn-btn-primary:hover:not(:disabled) { background: hsl(var(--chef-green-dark)); }
}
.fn-btn-primary:active:not(:disabled) { transform: translateY(1px); }

.fn-btn-primary:disabled {
  background: hsl(var(--muted));
  color: hsl(var(--muted-foreground));
  cursor: not-allowed;
  box-shadow: var(--shadow-lg);
}

.fn-btn-block { width: 100%; padding-inline: 12px; }
.fn-btn-lg { height: 56px; border-radius: 16px; text-transform: uppercase; letter-spacing: .01em; }
.fn-btn-xl { height: 64px; border-radius: 16px; text-transform: uppercase; letter-spacing: .01em; }

/* ============================================================
   BARRA CTA FIXA (rodapé)
   Wrapper com padding lateral de 32px -> botão fica com 294px.
   ============================================================ */
.fn-sticky {
  position: sticky;
  bottom: 0;
  z-index: 40;
  padding: 10px var(--gutter);
  background: rgb(255 255 255 / .9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid hsl(var(--border) / .6);
}
.fn-sticky-inner {
  max-width: 672px;
  margin-inline: auto;
  padding-inline: var(--cta-inset);
}

/* ============================================================
   CARTÕES DE CONTEÚDO
   ============================================================ */
.fn-card {
  background: hsl(var(--card));
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.fn-card--cream { background: hsl(var(--warm-cream)); }
.fn-card--sm { border-radius: 16px; padding: 20px; }

.fn-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.fn-pill--green { background: hsl(var(--soft-sage) / .5); color: hsl(var(--chef-green-dark)); }
.fn-pill--violet { background: hsl(var(--purple-light)); color: hsl(var(--accent)); }

/* lista de features com badge circular */
.fn-feature { display: flex; gap: 12px; align-items: flex-start; }
.fn-feature + .fn-feature { margin-top: 16px; }
.fn-feature-badge {
  flex: 0 0 36px;
  width: 36px; height: 36px;
  border-radius: 9999px;
  background: hsl(var(--primary));
  color: #fff;
  display: grid; place-items: center;
  font-size: 17px;
}
.fn-feature > span:last-child { display: block; min-width: 0; }
.fn-feature-title { display: block; font-size: 15px; font-weight: 700; line-height: 1.35; color: hsl(var(--foreground)); }
.fn-feature-desc  { display: block; font-size: 13px; color: hsl(var(--muted-foreground)); line-height: 1.5; margin-top: 2px; }

/* grelha de fotos 4x2 */
.fn-photogrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  border-radius: 12px;
  overflow: hidden;
}
/* O `height: auto` faltava e era o que estragava tudo. O <img> traz
   width="200" height="200" no HTML, e esses atributos entram como
   presentational hints — ou seja, valem como CSS. Ao definir aqui só a
   largura, a altura ficava presa nos 200px do atributo; e com as duas
   medidas definidas o `aspect-ratio` é simplesmente ignorado. Em
   telemóvel cada foto media 83 de largura por 200 de altura e a grelha
   ocupava 404px — metade do ecrã. Com `height: auto` a proporção volta
   a mandar: 83x83, e a grelha passa a 170px. Corrigido a 29-08-2026. */
.fn-photogrid img { aspect-ratio: 1; object-fit: cover; border-radius: 8px; width: 100%; height: auto; }

/* ============================================================
   CARROSSEL (scroll-snap + setas + dots)
   ============================================================ */
.fn-carousel { position: relative; }
.fn-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}
.fn-track::-webkit-scrollbar { display: none; }
.fn-slide { flex: 0 0 100%; scroll-snap-align: center; }

.fn-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px; height: 36px;
  /* área tocável de 44x44 sem alterar o tamanho visível */
  -webkit-tap-highlight-color: transparent;
  border-radius: 9999px;
  background: #fff;
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-md);
  display: grid; place-items: center;
  color: hsl(var(--accent));
  z-index: 3;
  transition: opacity .2s ease;
}
/* A seta pequena mede 36x36, abaixo do mínimo de 44 para toque.
   O pseudo-elemento leva a altura tocável a 44 sem mexer no círculo.
   Só na vertical: alargar na horizontal empurrava a caixa do carrossel
   e era tapado pelos slides de qualquer maneira. */
.fn-arrow::before { content: ""; position: absolute; inset: -4px 0; }
.fn-arrow--lg { width: 44px; height: 44px; border: none; }
.fn-arrow--lg::before { content: none; }
.fn-arrow[data-dir="prev"] { left: 4px; }
.fn-arrow[data-dir="next"] { right: 4px; }
.fn-arrow:disabled { opacity: .35; cursor: default; }

.fn-dots { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
.fn-dot {
  width: 6px; height: 6px;
  border-radius: 9999px;
  background: hsl(var(--accent) / .3);
  transition: width .25s ease, background-color .25s ease;
}
.fn-dot[aria-current="true"] { width: 16px; background: hsl(var(--accent)); }

/* ============================================================
   BARRAS DE URGÊNCIA / ANÚNCIO
   ============================================================ */
.fn-announce {
  background: hsl(var(--destructive));
  color: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  padding: 10px var(--gutter);
}
/* No original, a barra do /commande é FIXED (o conteúdo passa por baixo),
   não sticky. O espaçamento é reposto por .bp-main. */
.fn-announce--sticky {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding-block: 8px;      /* altura final 36px, como no original */
  font-size: 12px;
}

.fn-countdown-chip {
  display: inline-block;
  background: rgb(0 0 0 / .18);
  border-radius: 6px;
  padding: 2px 8px;
  font-variant-numeric: tabular-nums;
  margin-left: 6px;
}

/* contador de pessoas a ver */
.fn-live {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 10px 16px;
  font-size: 13px;
  margin-inline: auto;
  max-width: 340px;
  text-align: center;
}

/* ============================================================
   CAIXA DE PREÇO
   ============================================================ */
.fn-pricing {
  background: hsl(var(--accent));
  border-radius: 24px;
  padding: 24px;
  text-align: center;
  color: #fff;
}
.fn-pricing .strike { text-decoration: line-through; opacity: .85; }
.fn-price {
  font-size: 40px;
  font-weight: 800;
  color: hsl(var(--gold));
  line-height: 1.1;
  margin: 14px 0 10px;
}
.fn-pricing-framing { color: hsl(var(--gold)); font-size: 14px; font-weight: 700; line-height: 1.4; }

.fn-trustline { font-size: 13px; color: hsl(var(--muted-foreground)); text-align: center; margin-top: 14px; }
.fn-trustline b { color: hsl(var(--accent)); }

/* ---- Selos dos meios de pagamento ----
   São os símbolos OFICIAIS, tirados dos próprios plugins da loja: o Visa
   e o Mastercard do plugin do Stripe, o BLIK do PayPal. Cada um traz o
   seu cartão e a sua cor — azul, cinzento claro e preto — por isso aqui
   só se lhes fixa a altura e eles alinham sozinhos.

   Discretos de propósito: são um sinal de confiança, não um anúncio.
   Para os fazer maiores ou mais pequenos, mexe-se só no `height`. */
.fn-payments {
  display: flex; justify-content: center; align-items: center;
  gap: 6px; margin-top: 12px; flex-wrap: wrap;
}
.fn-payments .fn-pay {
  height: 24px; width: auto;
  border: 0; border-radius: 3px; padding: 0; background: none;
  opacity: .92;
}
/* O BLIK já traz o seu próprio cartão preto no SVG, tal como o Visa traz
   o azul e o Mastercard o cinzento claro. Não leva fundo nenhum daqui:
   os três ficam à mesma altura, cada um com a sua cor oficial. */

/* O PayPal é a excepção: o símbolo oficial é o monograma quadrado e vem
   sem fundo. Leva aqui um cartão branco com a mesma largura dos do Visa
   e do Mastercard, para a fila não ficar com um selo torto no meio.
   É o mesmo símbolo que aparece no checkout, portanto bate certo. */
.fn-payments .fn-pay--paypal {
  width: 38px; background: #FFFFFF; border: 1px solid hsl(var(--border));
  padding: 3px; box-sizing: border-box; object-fit: contain;
}


/* ============================================================
   FAQ (acordeão)
   ============================================================ */
.fn-faq-item { border-bottom: 1px solid hsl(var(--border)); }
.fn-faq-item:last-child { border-bottom: none; }
.fn-faq-q {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 16px 0;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  color: hsl(var(--foreground));
}
.fn-faq-chev { flex: 0 0 auto; transition: transform .25s ease; color: hsl(var(--accent)); }
.fn-faq-q[aria-expanded="true"] .fn-faq-chev { transform: rotate(180deg); }
.fn-faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height .3s ease;
}
.fn-faq-a > div { padding-bottom: 16px; font-size: 14px; line-height: 1.6; color: hsl(var(--muted-foreground)); }

/* ============================================================
   TRANSIÇÕES DE PÁGINA (equivalente ao framer-motion do original)
   ============================================================ */
/* O fill-mode era `both` e partia TODAS as barras fixas do funil.
   Porquê: `both` mantém o último fotograma aplicado para sempre, e o
   último fotograma diz `transform: none` — mas o que fica aplicado ao
   elemento é o valor calculado da animação, uma matriz identidade, e
   não a ausência de transform. Qualquer transform, mesmo identidade,
   faz de .fn-page o quadro de referência dos filhos `position: fixed`.
   Resultado: a CTA fixa do step-09 e a barra do total do step-10
   colavam-se ao fundo do DOCUMENTO em vez do fundo do ECRÃ, e por isso
   não acompanhavam a página.

   `backwards` faz exactamente a mesma animação de entrada — o valor
   inicial já vale antes de ela arrancar — mas no fim larga o elemento,
   que volta a não ter transform nenhum. Durante os 0,28 s da animação
   a página está a passar de opacidade 0 a 1, por isso não se vê nada
   fora do sítio. Corrigido a 29-08-2026. */
.fn-page { animation: fnIn .28s cubic-bezier(.16,1,.3,1) backwards; }
@keyframes fnIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

body.fn-leaving .fn-page { animation: fnOut .2s ease forwards; }
@keyframes fnOut { to { opacity: 0; transform: translateY(-12px); } }

/* chevron divisor com bounce (igual ao original) */
.fn-chev-divider {
  display: grid; place-items: center;
  color: hsl(var(--accent));
  margin: 18px 0;
  animation: fnBounce 1.8s ease-in-out infinite;
}
@keyframes fnBounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

.fn-reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.fn-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .fn-reveal { opacity: 1; transform: none; }
}

/* ============================================================
   POP-UP DE SAÍDA  (exit intent + botão voltar)
   Medidas retiradas do original.
   ============================================================ */
.fn-exit {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgb(0 0 0 / .6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  opacity: 0;
  transition: opacity .22s ease;
}
.fn-exit.is-open { opacity: 1; }

.fn-exit-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  max-height: 90dvh;
  overflow-y: auto;
  background: hsl(var(--background));   /* creme, não branco */
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 20px 45px rgb(0 0 0 / .28);
  transform: translateY(14px) scale(.97);
  transition: transform .26s cubic-bezier(.16,1,.3,1);
}
.fn-exit.is-open .fn-exit-card { transform: none; }

.fn-exit-close {
  position: absolute;
  top: 12px; right: 12px;
  padding: 4px;
  line-height: 0;
  color: hsl(var(--muted-foreground));
  border-radius: 9999px;
}
@media (hover: hover) { .fn-exit-close:hover { color: hsl(var(--foreground)); } }

.fn-exit-body { text-align: center; }

.fn-exit-title {
  font-size: 22px;
  line-height: 27.5px;
  font-weight: 700;
  color: hsl(var(--accent));
}
.fn-exit-text {
  font-size: 15px;
  line-height: 24.375px;
  color: hsl(var(--muted-foreground));
  margin-top: 10px;
}

.fn-exit-list {
  background: hsl(var(--chef-green) / .05);
  border: 2px solid hsl(var(--chef-green) / .2);
  border-radius: 16px;
  padding: 20px;
  margin-top: 18px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fn-exit-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 15px;
  line-height: 1.4;
  color: hsl(var(--accent));
}
.fn-exit-ic { flex: 0 0 auto; }

.fn-exit-cta { height: 56px; border-radius: 16px; margin-top: 18px; }

/* ============================================================
   RODAPÉ LEGAL
   ============================================================ */
.fn-footer {
  padding: 24px var(--gutter) 28px;
  text-align: center;
  font-size: 12px;
  color: hsl(var(--muted-foreground));
  line-height: 1.8;
}
/* Alvo tocável maior nos links do rodapé, sem alterar o desenho:
   o padding cresce a área e a margem negativa devolve o espaço. */
.fn-footer a { text-decoration: none; display: inline-block; padding: 11px 4px; margin-block: -11px; }
.fn-footer a:hover { text-decoration: underline; }

/* ============================================================
   ACIMA DE 390px — o funil continua estreito e centrado
   ============================================================ */
@media (min-width: 480px) {
  .fn-main { padding-inline: 24px; }
}


/* ============================================================
   PÁGINA DE OBRIGADO (step-11)
   ============================================================ */
.fn-announce--green {
  background: hsl(var(--chef-green));
  color: #fff;
}
.ob-main { text-align: center; }
.ob-avatar {
  width: 88px; height: 88px;
  border-radius: 9999px;
  margin: 4px auto 20px;
  object-fit: cover;
  box-shadow: 0 0 0 3px hsl(var(--accent) / .18);
}
.ob-h1 { font-size: 26px; line-height: 32px; }
.ob-card { margin-top: 22px; text-align: left; }
.ob-hello { font-size: 17px; font-weight: 700; color: hsl(var(--accent)); }
.ob-p { margin-top: 12px; font-size: 15px; line-height: 1.6; }
.ob-p--small { margin-top: 16px; font-size: 13px; color: hsl(var(--muted-foreground)); }
.ob-cta { margin-top: 20px; text-decoration: none; text-transform: none; letter-spacing: 0; }
.ob-sign {
  margin-top: 24px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 17px;
  font-style: italic;
  color: hsl(var(--accent));
}


/* Preco a espera da loja: invisivel, mas a ocupar o lugar — assim nao ha
   salto de layout nem se mostra um valor que possa estar desactualizado.
   Quem poe e tira esta classe e o step-10-order-bumps/script.js e o
   initPrecosPagina() do assets/funnel.js. */
.fn-preco-oculto { visibility: hidden; }
