@import url("https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&display=swap");

:root { --ink:#151515; --muted:#6f6b67; --line:#ddd9d4; --accent:#b98265; --blue:#08aee7; --black:#111; --erro:#b4342a; }
* { box-sizing:border-box; }
html { background:#fff; color:var(--ink); scroll-behavior:smooth; }
body { margin:0; background:#fff; font-family:Arial, Helvetica, sans-serif; overflow-x:hidden; }
button, input { font:inherit; }
button { color:inherit; cursor:pointer; }
img { display:block; max-width:100%; }
.conf-aberto, .conf-aberto body { overflow:hidden; }

:where(button, a, input, [tabindex]):focus-visible { outline:2px solid var(--accent); outline-offset:3px; border-radius:6px; }

/* ------------------------------------------------------------------
   CLIMA DE COR
   A escolha emocional da entrada tinge o fundo das telas seguintes.
   São tons quase imperceptíveis de propósito: precisam dar temperatura
   sem competir com as fotos das piscinas, que são o produto.
   Para ajustar, mexa só nestes quatro valores.
   ------------------------------------------------------------------ */
.site-shell { --clima:#fff; --clima-suave:#f7f5f2; min-height:100dvh; background:var(--clima); transition:background .5s ease; }

.site-shell[data-clima="paz"]       { --clima:#DCEAEE; --clima-suave:#C8DDE3; }  /* água parada, verde-água   */
.site-shell[data-clima="alegria"]   { --clima:#FAE7C6; --clima-suave:#F4D8A8; }  /* sol alto, dourado         */
.site-shell[data-clima="encontros"] { --clima:#F2DCCC; --clima-suave:#E8C7B0; }  /* fim de tarde, terracota   */
.site-shell[data-clima="design"]    { --clima:#E4E1DA; --clima-suave:#D6D2C9; }  /* pedra, concreto queimado  */

.sheet { background:transparent; }

.model-end-note, .barra-continuar { background:var(--clima); }

/* A entrada permanece branca: o clima começa depois da escolha. */
.entry-sheet { background:#fff; }
/* Tarja preta fixa no topo, em todas as telas */
.sheet-header { align-items:center; background:var(--black); border-bottom:0; color:#fff; display:flex; height:64px; justify-content:space-between; padding:0 max(24px, calc((100vw - 720px)/2)); position:sticky; top:0; z-index:30; }
.brand-lockup { align-items:center; background:none; border:0; display:flex; gap:13px; padding:0; }
.brand-lockup img { height:42px; width:auto; }
.brand-lockup span { color:#fff; font-size:12px; letter-spacing:.06em; }
.page-dots { display:flex; gap:8px; }
.page-dots i { background:rgba(255,255,255,.28); border-radius:50%; height:7px; width:7px; }
.page-dots i.active { background:#fff; }
.stage-progress { bottom:-1px; height:1px; left:0; position:absolute; right:0; }
.stage-progress i { background:var(--accent); display:block; height:1px; transition:width .35s ease; }

.sheet { margin:0 auto; max-width:720px; min-height:calc(100dvh - 64px); display:flex; flex-direction:column; background:transparent; }
.sheet-content { flex:1; padding:26px 24px 34px; }
.editorial-title { font-family:"Instrument Serif", Georgia, serif; font-size:clamp(40px, 7vw, 64px); font-weight:400; letter-spacing:-.035em; line-height:.92; margin:14px auto 22px; text-align:center; }
.back-button { background:transparent; border:0; border-bottom:1px solid currentColor; color:#6b6763; font-size:13px; padding:0 0 4px; }
.intro-copy { font-size:15px; line-height:1.4; margin:0 auto 18px; max-width:460px; text-align:center; }
.fine-print { color:var(--muted); font-size:10px; line-height:1.45; margin:12px auto 0; max-width:480px; text-align:center; }

.entry-hero { position:relative; }
.entry-hero picture, .entry-hero img { width:100%; }
.entry-hero img { height:310px; object-fit:cover; }
.entry-hero h1 { bottom:26px; color:#111; font-family:"Instrument Serif", Georgia, serif; font-size:clamp(42px, 8vw, 66px); font-weight:400; left:18px; letter-spacing:-.035em; margin:0; position:absolute; text-shadow:0 1px 12px rgba(255,255,255,.65); }
.entry-hero h1 span { display:inline; }
.entry-choices { padding:22px 24px 26px; }
.entry-choices h2 { font-family:"Instrument Serif", Georgia, serif; font-size:36px; font-weight:400; letter-spacing:-.03em; line-height:1; margin:0 0 14px; text-align:center; }
.feeling-grid { display:grid; gap:12px; grid-template-columns:1fr 1fr; }
.feeling-grid button { background:#fff; border:1px solid var(--line); border-radius:18px; overflow:hidden; padding:0; text-align:left; }
.feeling-grid img { aspect-ratio:2.15/1; object-fit:cover; width:100%; }
.feeling-grid span { align-items:center; display:flex; gap:8px; justify-content:space-between; min-height:54px; padding:10px 14px; }
.feeling-grid strong { font-size:16px; font-weight:400; line-height:1.12; }
.feeling-grid b { font-size:18px; font-weight:400; }

.space-stack { display:grid; gap:12px; }
.space-stack > button { align-items:stretch; background:#fff; border:1px solid var(--line); border-radius:20px; display:grid; grid-template-columns:44% 1fr auto; min-height:112px; overflow:hidden; padding:0; text-align:left; }
.space-stack picture { display:block; height:100%; width:100%; }
.space-stack img { height:100%; object-fit:cover; width:100%; }
.space-stack span { align-content:center; display:grid; padding:18px; }
.space-stack strong { font-size:22px; font-weight:400; }
.space-stack small { color:var(--muted); font-size:13px; margin-top:5px; }
.space-stack b { align-self:center; font-size:20px; font-weight:400; padding-right:18px; }
.space-stack .all-models { grid-template-columns:1fr auto; min-height:92px; }
.all-models span { padding:16px 20px; }
.all-models small { color:var(--accent); font-size:10px; font-weight:700; letter-spacing:.16em; margin:0 0 5px; }
.all-models strong { font-size:19px; }

.pool-grid { display:grid; gap:12px; grid-template-columns:1fr 1fr; }
.pool-grid article { background:#fff; border:1px solid var(--line); border-radius:18px; overflow:hidden; transition:border-color .2s, box-shadow .2s; }
.pool-grid article.selected { border-color:var(--accent); box-shadow:0 0 0 2px rgba(185,130,101,.16); }
.pool-grid article > img { aspect-ratio:1.48/1; object-fit:cover; width:100%; }
.pool-grid article > div { align-items:center; display:grid; gap:7px; grid-template-columns:1fr auto; padding:10px; }
.pool-grid article > div > span { min-width:0; }
.pool-grid strong { display:block; font-size:18px; font-weight:500; line-height:1.05; }
.pool-grid small { color:var(--muted); display:block; font-size:9px; margin-top:5px; white-space:nowrap; }
.pool-grid article button { align-items:center; background:transparent; border:0; display:flex; flex-direction:column; font-size:8px; gap:4px; padding:0; }
.pool-grid article button i { align-items:center; background:#fff; border:1.5px solid #bda38f; border-radius:50%; display:flex; font-style:normal; height:28px; justify-content:center; width:28px; }
.pool-grid article.selected button { color:var(--accent); }
.pool-grid article.selected button i { background:var(--accent); color:#fff; }
.model-end-note { align-items:center; background:#f6f3f0; border-radius:16px; display:flex; font-family:"Instrument Serif", Georgia, serif; font-size:23px; line-height:1.02; padding:18px; }


.primary-cta { align-items:center; background:var(--accent); border:0; border-radius:999px; color:#fff; display:flex; font-weight:600; justify-content:space-between; margin:18px auto 0; max-width:420px; padding:16px 22px; text-decoration:none; width:100%; }
.primary-cta:disabled { opacity:.6; cursor:progress; }
.ghost-cta { align-items:center; background:#fff; border:1px solid var(--line); border-radius:999px; color:var(--ink); display:flex; font-weight:600; justify-content:center; gap:8px; margin:10px auto 0; max-width:420px; padding:15px 22px; text-decoration:none; width:100%; }
.skip-link { background:transparent; border:0; border-bottom:1px solid currentColor; color:var(--muted); display:block; font-size:12px; margin:22px auto 0; padding:0 0 3px; }

/* --- Assinatura --- */
.assinatura-sheet .sheet-content { text-align:center; }
.assinatura-campo { margin:26px auto 0; max-width:420px; text-align:left; }
.assinatura-campo label { color:var(--muted); font-size:11px; letter-spacing:.08em; text-transform:uppercase; }
.assinatura-campo input { background:transparent; border:0; border-bottom:1px solid var(--line); font-family:"Instrument Serif", Georgia, serif; font-size:38px; letter-spacing:-.02em; outline:none; padding:6px 0; text-align:center; width:100%; }
.assinatura-campo input:focus { border-bottom-color:var(--accent); }
.assinatura-dica { color:var(--muted); font-size:11px; margin-top:8px; text-align:center; }

.engraving-sheet .sheet-content, .reveal-sheet .sheet-content, .lead-sheet .sheet-content, .done-sheet .sheet-content { text-align:center; }
.family-prototype { border-radius:20px; margin:0 auto; max-width:430px; overflow:hidden; position:relative; }
.family-prototype img { width:100%; }
/* ------------------------------------------------------------------
   GRAVAÇÃO — sequência cinematográfica.
   Três tempos: aproximação, corte do traço, revelação.
------------------------------------------------------------------ */
.family-prototype.engraving { animation:cine-aproxima 6.6s cubic-bezier(.33,0,.15,1) forwards; }
.family-prototype.engraving img { animation:cine-luz 6.6s cubic-bezier(.4,0,.2,1) forwards; }
/* sem véu sobre a placa: quem conduz a cena é o feixe de luz */
.family-prototype.engraving i { animation:cine-feixe 4.8s cubic-bezier(.55,0,.25,1) .7s forwards;
  background:linear-gradient(180deg, rgba(255,214,170,0) 0%, rgba(255,236,205,.95) 22%, #fff 50%, rgba(255,236,205,.95) 78%, rgba(255,214,170,0) 100%);
  border-radius:2px; bottom:42%; filter:blur(.4px); left:29%; opacity:0;
  box-shadow:0 0 10px 3px rgba(255,196,130,.8), 0 0 26px 10px rgba(255,168,86,.4);
  position:absolute; top:35%; width:3px; z-index:3; }
.family-prototype.engraving:before { animation:cine-brilho 6.6s ease-out forwards;
  background:radial-gradient(ellipse at 50% 48%, rgba(255,206,150,.55) 0%, rgba(255,206,150,0) 62%);
  content:""; inset:0; opacity:0; pointer-events:none; position:absolute; z-index:4; }
@keyframes cine-aproxima { 0% { transform:scale(1.07); } 72% { transform:scale(1.012); } 100% { transform:scale(1); } }
@keyframes cine-luz { 0% { filter:saturate(.55) brightness(.82) contrast(1.06); } 62% { filter:saturate(.8) brightness(.95) contrast(1.03); } 100% { filter:none; } }
@keyframes cine-feixe { 0% { left:29%; opacity:0; } 9% { opacity:1; } 86% { opacity:1; } 100% { left:71%; opacity:0; } }
@keyframes cine-brilho { 0%,62% { opacity:0; } 76% { opacity:1; } 100% { opacity:0; } }
.engraving-legendas { height:26px; margin:16px auto 0; position:relative; }
.engraving-legendas span { animation:cine-legenda 6.6s ease-in-out forwards; color:var(--muted); left:0; opacity:0; position:absolute; right:0; top:0; }
.engraving-legendas span:nth-child(2) { animation-delay:2.1s; }
.engraving-legendas span:nth-child(3) { animation-delay:4.5s; }
@keyframes cine-legenda { 0% { opacity:0; transform:translateY(6px); } 6% { opacity:1; transform:translateY(0); } 26% { opacity:1; transform:translateY(0); } 33% { opacity:0; transform:translateY(-6px); } 100% { opacity:0; } }
@media (prefers-reduced-motion: reduce) {
  .family-prototype.engraving, .family-prototype.engraving img,
  .family-prototype.engraving:before, .family-prototype.engraving i { animation:none; }
  .engraving-legendas span { animation:none; opacity:0; }
  .engraving-legendas span:nth-child(2) { opacity:1; }
}
.engraving-sheet p, .reveal-sheet p, .lead-sheet p, .done-sheet p { color:var(--muted); line-height:1.55; margin:18px auto; max-width:500px; }
.result-label { color:var(--accent); font-size:12px; font-weight:700; letter-spacing:.16em; text-transform:uppercase; }
.reveal-sheet .sheet-content > strong { display:block; font-family:"Instrument Serif", Georgia, serif; font-size:24px; font-weight:400; margin:20px auto; }

/* --- Placa gerada --- */
.placa-wrap { margin:0 auto; max-width:360px; position:relative; }
.placa-wrap canvas { border-radius:16px; box-shadow:0 18px 50px rgba(0,0,0,.18); display:block; width:100%; }
.placa-acoes { display:grid; gap:0; margin:22px auto 0; max-width:420px; }

/* ------------------------------------------------------------------
   DIFERENCIAIS — entram depois da placa.
   Hierarquia: o prazo domina, o resto sussurra.
   ------------------------------------------------------------------ */
.diferenciais { border-top:1px solid var(--line); margin:38px auto 0; max-width:520px; padding-top:32px; }

.prazo { align-items:center; display:flex; gap:16px; justify-content:center; }
.prazo strong { color:var(--accent); font-family:"Instrument Serif", Georgia, serif; font-size:86px; font-weight:400; letter-spacing:-.04em; line-height:.8; }
.prazo span { display:grid; text-align:left; }
.prazo b { font-family:"Instrument Serif", Georgia, serif; font-size:30px; font-weight:400; letter-spacing:-.02em; line-height:1; }
.prazo span { color:var(--ink); font-size:14px; line-height:1.35; max-width:180px; }
.prazo-apoio { color:var(--muted) !important; font-size:13px; margin:12px auto 0 !important; text-align:center; }

.dif-grid { display:grid; gap:22px 18px; grid-template-columns:1fr 1fr; margin-top:30px; text-align:left; }
.dif-grid article { display:grid; gap:6px; }
.dif-grid i { color:var(--accent); display:block; font-style:normal; line-height:0; }
.dif-grid strong { font-size:15px; font-weight:500; line-height:1.2; }
.dif-grid small { color:var(--muted); font-size:12.5px; line-height:1.45; }

.reveal-sheet .primary-cta { margin-top:34px; }

.lead-pool { border-radius:20px; height:280px; margin:14px auto 18px; object-fit:cover; width:100%; }
.summary-chips { display:flex; flex-wrap:wrap; gap:8px; justify-content:center; margin:18px 0; }
.summary-chips span { border:1px solid var(--line); border-radius:999px; font-size:14px; padding:8px 14px; }
.lead-titulo { font-size:clamp(30px, 5vw, 44px); line-height:1.08; margin-bottom:18px; }
.lead-promessa { color:var(--ink) !important; font-family:"Instrument Serif", Georgia, serif; font-size:26px; letter-spacing:-.02em; line-height:1.18; margin:4px auto 26px !important; max-width:440px; }
.link-registro { background:transparent; border:0; border-bottom:2px solid var(--ink); color:var(--ink);
  display:inline-block; font-size:17px; font-weight:700; margin:0 auto 26px; padding:0 0 4px; }
.link-registro span { display:inline-block; font-size:1.15em; font-weight:900;
  margin-left:6px; transform:translateY(1px); }
.link-registro:disabled { opacity:.6; cursor:progress; }

.lead-sheet form { display:grid; gap:13px; margin:0 auto; max-width:460px; text-align:left; }
.lead-sheet label { color:var(--muted); font-size:11px; text-transform:uppercase; }
.lead-sheet input { border:0; border-bottom:1px solid var(--line); border-radius:0; font-size:18px; outline:none; padding:8px 0; width:100%; }
.lead-sheet input:focus { border-bottom-color:var(--accent); }
.lead-sheet label.consent { align-items:flex-start; color:var(--ink); display:flex; gap:10px; line-height:1.4; margin-top:6px; text-transform:none; }
.lead-sheet label.consent input { accent-color:var(--accent); flex:0 0 auto; height:19px; margin-top:1px; width:19px; }
.lead-sheet label.consent span { font-size:12px; }
.form-error { background:#fdf3f2; border-left:3px solid var(--erro); color:var(--erro) !important; font-size:13px; margin:12px auto 0 !important; max-width:460px !important; padding:10px 12px; text-align:left; }
.done-mark { align-items:center; border:1px solid var(--accent); border-radius:50%; color:var(--accent); display:flex; font-size:32px; height:74px; justify-content:center; margin:50px auto 24px; width:74px; }

.sheet-footer { align-items:center; background:var(--black); color:#fff; display:flex; gap:14px; justify-content:center; margin-top:auto; min-height:96px; padding:18px 24px; }
.sheet-footer img { height:54px; width:auto; }
.sheet-footer.compact { min-height:76px; }
.sheet-footer.compact img { height:38px; }
.sheet-footer.compact strong { font-size:10px; letter-spacing:.08em; }
.sheet-footer.contact div { display:grid; gap:3px; }
.sheet-footer.contact strong { font-size:17px; }
.sheet-footer.contact a { color:#fff; font-size:16px; font-weight:700; text-decoration:none; }
.sheet-footer.contact span { color:#aaa; font-size:11px; }
.whatsapp-float { background:#169c57; border:3px solid #fff; border-radius:999px; bottom:14px; box-shadow:0 8px 25px rgba(0,0,0,.16); color:#fff; font-size:11px; font-weight:700; padding:12px 16px; position:fixed; right:14px; text-decoration:none; z-index:40; }

/* ==================================================================
   CONFIGURADOR
   Vive em #conf, fora do #app. Estrutura em coluna: cabeçalho, palco,
   identificação, vistas, tira de revestimentos e ação.
   ================================================================== */
.conf-overlay { background:#fff; display:flex; flex-direction:column;
  inset:0; overflow:hidden; position:fixed; z-index:9999; }
.conf-overlay > header { align-items:center; background:var(--black); color:#fff; display:flex; flex:0 0 auto; gap:12px; justify-content:space-between; min-height:58px; padding:max(8px, env(safe-area-inset-top)) 16px 8px; }
.conf-overlay > header > div { align-items:center; display:flex; gap:10px; min-width:0; }
/* Sem filtro: a logo já tem a gota branca e as marcas azuis,
   e é assim que ela lê sobre a tarja preta no resto do site. */
.conf-overlay > header img { height:34px; width:auto; }
.conf-overlay > header span { display:grid; min-width:0; }
.conf-overlay > header strong { font-size:15px; letter-spacing:.02em; }
.conf-overlay > header small { color:#9a9894; font-size:11px; white-space:nowrap; }
.conf-overlay > header button { background:transparent; border:0; color:#fff; font-size:20px; line-height:1; padding:8px 4px; }

/* O palco: todas as cenas empilhadas, só a ativa opaca.
   Preenche todo o espaço livre — foto pequena com sobra branca em volta
   fica pior do que um corte discreto. */
/* A foto preenche todo o espaço livre. O corte nas laterais é seguro
   porque as cenas seguem o gabarito: a piscina fica dentro do retângulo
   central de 800×700 do arquivo 1600×900, e é justamente esse miolo que
   sobrevive ao recorte em qualquer altura de tela.

   Ver gabarito/COMO-ENQUADRAR.md antes de mexer aqui. */
.conf-palco { background:#0b0c0d; flex:1 1 auto; min-height:0;
  overflow:hidden; position:relative; }
.conf-palco img { height:100%; inset:0; object-fit:cover; object-position:center;
  opacity:0; position:absolute; transition:opacity .45s ease; width:100%; }
.conf-palco img.ativa { opacity:1; }
.conf-carregando { align-items:center; background:#0b0c0d; color:#7d7b78; display:flex; font-size:13px; inset:0; justify-content:center; position:absolute; transition:opacity .4s ease; z-index:4; }
.conf-carregando.sumiu { opacity:0; pointer-events:none; }

.conf-etiqueta { align-items:baseline; display:flex; flex-wrap:wrap; flex:0 0 auto;
  gap:0 10px; opacity:0; padding:14px 16px 0; transition:opacity .3s ease; }
.conf-etiqueta.visivel { opacity:1; }
.conf-etiqueta em { color:var(--accent); font-size:10.5px; font-style:normal; font-weight:700; letter-spacing:.16em; order:1; width:100%; }
.conf-etiqueta b { font-family:"Instrument Serif", Georgia, serif; font-size:30px; font-weight:400; line-height:1.15; order:2; }
.conf-etiqueta span { color:var(--muted); font-size:10.5px; letter-spacing:.12em; order:3; text-transform:uppercase; }

.conf-vistas { display:flex; flex:0 0 auto; gap:8px; padding:13px 16px 0; }
.conf-vistas button { background:transparent; border:1.5px solid var(--line); border-radius:999px; color:var(--muted); flex:1 1 0; font-size:13px; font-weight:600; padding:11px 8px; transition:.2s ease; }
.conf-vistas button[aria-pressed="true"] { background:var(--ink); border-color:var(--ink); color:#fff; }
.conf-vista-unica { color:var(--accent); font-size:11px; font-weight:700; letter-spacing:.12em; margin:12px 0 0; padding:0 16px; text-transform:uppercase; }

.conf-seletor { flex:0 0 auto; padding:13px 0 0; }
.conf-seletor > p { color:var(--muted); font-size:11px; letter-spacing:.14em; margin:0; padding:0 16px 10px; text-transform:uppercase; }
.conf-tira { -webkit-overflow-scrolling:touch; display:flex; gap:11px; overflow-x:auto; padding:2px 16px 16px; scroll-snap-type:x proximity; }
.conf-tira::-webkit-scrollbar { height:0; }
.conf-tira button { background:none; border:0; flex:0 0 auto; padding:0; position:relative; scroll-snap-align:center; }
.conf-tira img { border-radius:11px; height:66px; outline:2px solid transparent; outline-offset:2px; transition:outline-color .2s ease, transform .2s ease; width:66px; }
.conf-tira button[aria-pressed="true"] img { outline-color:var(--accent); transform:scale(1.06); }
.conf-tira button i { background:var(--accent); border-radius:50%; bottom:-8px; display:block; height:5px; left:50%; opacity:0; position:absolute; transform:translateX(-50%); transition:opacity .2s ease; width:5px; }
.conf-tira button[aria-pressed="true"] i { opacity:1; }

.conf-acao { border-top:1px solid var(--line); flex:0 0 auto;
  padding:13px 16px max(13px, env(safe-area-inset-bottom)); }
.conf-acao button { align-items:center; background:var(--accent); border:0; border-radius:14px; color:#fff; display:flex; font-size:16px; font-weight:700; gap:10px; justify-content:center; padding:16px; width:100%; }
.conf-acao button:active { transform:translateY(1px); }
.conf-acao small { color:var(--muted); display:block; font-size:11.5px; margin-top:8px; text-align:center; }

/* ------------------------------------------------------------------
   DESKTOP
   Uma coluna centrada, com a foto e os controles alinhados na mesma
   largura. Sem isso o rótulo fica encostado na borda esquerda enquanto
   as pastilhas ficam no meio — foi o que quebrou o desktop.

   A foto continua 16:9, então nunca é cortada: o mesmo arquivo serve
   ao celular e ao computador.
   ------------------------------------------------------------------ */
@media (min-width:900px) {
  /* ------------------------------------------------------------------
     ENTRADA NO DESKTOP
     A coluna de 720px é boa para o resto da jornada, mas na abertura
     deixava a foto pequena no meio da tela e vazio dos dois lados — a
     primeira impressão ficava de página inacabada.

     Aqui o hero ocupa a largura toda e as escolhas ficam em duas
     colunas largas. As demais telas seguem em 720px.
     ------------------------------------------------------------------ */
  .entry-sheet { max-width:none; }

  /* Ancorada pela base: é o piso da piscina que precisa aparecer, porque
     é sobre ele que o título assenta. Sem nenhum véu ou gradiente — a
     foto fica limpa e o texto vai onde já é claro. */
  .entry-hero img { height:min(48dvh, 440px); object-position:center bottom; }

  /* bottom em % e não em px: o quanto a foto é ampliada muda com a
     largura da janela, e a medida relativa mantém o título sobre o piso
     de 1200 a 2560px. Conferido nas quatro larguras. */
  .entry-hero h1 { bottom:5%; font-size:clamp(46px, 4.4vw, 76px); left:48px;
    line-height:.92; text-shadow:none; }

  /* Duas colunas, não quatro. As fotos das escolhas são 1200×560, bem
     deitadas — em quatro colunas elas seriam espremidas e perderiam as
     pontas. Aqui os cartões ficam grandes e a foto mantém o formato
     original, sem recorte. */
  .entry-choices { margin:0 auto; max-width:1000px; padding:32px 28px 40px; }
  .entry-choices h2 { font-size:42px; margin:0 0 22px; }
  .feeling-grid { gap:20px; }
  .feeling-grid button { border-radius:22px; }
  .feeling-grid span { min-height:66px; padding:14px 20px; }
  .feeling-grid strong { font-size:19px; }
  .feeling-grid b { font-size:21px; }

  .conf-overlay { --conf-col:min(980px, 76vw); }

  .conf-overlay > header { justify-content:center; padding:0 28px; position:relative; }
  .conf-overlay > header button { position:absolute; right:24px; top:50%;
    transform:translateY(-50%); }

  /* No desktop a foto fica numa coluna centrada, com cantos arredondados,
     mas continua preenchendo a altura livre. O corte é seguro pelo mesmo
     motivo: a piscina mora no miolo do arquivo. */
  .conf-palco { border-radius:16px; margin:18px auto 0; width:var(--conf-col); }

  .conf-etiqueta { align-items:center; flex-direction:column; gap:3px;
    margin:0 auto; padding:18px 0 0; text-align:center; width:var(--conf-col); }
  .conf-etiqueta em, .conf-etiqueta b, .conf-etiqueta span { order:0; width:auto; }
  .conf-etiqueta b { font-size:34px; }

  .conf-vistas { gap:10px; justify-content:center; margin:0 auto;
    max-width:520px; padding-top:16px; width:100%; }
  .conf-vistas button { flex:0 1 130px; }
  .conf-vista-unica { padding-top:6px; text-align:center; }

  .conf-seletor { margin:0 auto; width:var(--conf-col); }
  .conf-seletor > p { padding-left:0; padding-right:0; text-align:center; }
  .conf-tira { flex-wrap:wrap; justify-content:center; overflow:visible;
    padding-left:0; padding-right:0; }
  .conf-tira img { height:62px; width:62px; }

  .conf-acao { background:transparent; border-top:0; padding-top:4px; }
  .conf-acao button { max-width:340px; margin:0 auto; }
}

/* Barra de continuidade na grade de piscinas.
   Garante que ninguém fique preso se fechar o configurador sem confirmar. */
.barra-continuar { align-items:center; background:#fff; border-top:1px solid var(--line); bottom:0; box-shadow:0 -8px 26px rgba(0,0,0,.08); display:flex; gap:14px; justify-content:space-between; padding:12px max(24px, calc((100vw - 720px)/2)); position:sticky; z-index:25; }
.barra-continuar span { display:grid; min-width:0; }
.barra-continuar small { color:var(--muted); font-size:10px; letter-spacing:.1em; text-transform:uppercase; }
.barra-continuar strong { font-size:18px; font-weight:500; }
.barra-continuar button { align-items:center; background:var(--accent); border:0; border-radius:999px; color:#fff; display:flex; font-weight:600; gap:10px; padding:14px 24px; white-space:nowrap; }

@media (max-width:700px) {
  .sheet-header { height:51px; justify-content:flex-start; padding:0 14px; position:relative; }
  .brand-lockup { gap:9px; }
  .brand-lockup img { height:34px; }
  .brand-lockup span { font-size:9.5px; letter-spacing:.04em; }
  .page-dots, .stage-progress { display:none; }
  .sheet { min-height:calc(100dvh - 51px); width:100%; }
  .entry-sheet { min-height:0; }
  .sheet-content { padding:14px 16px 20px; }
  .editorial-title { font-size:clamp(30px, 8.6vw, 38px); line-height:.96; margin:8px auto 13px; max-width:360px; }
  .back-button { font-size:12px; }
  .entry-hero img { height:min(96vw, 400px); object-position:center 50%; }
  .entry-hero h1 { bottom:14px; font-size:30px; left:20px; line-height:.88; max-width:88%; text-shadow:0 1px 12px rgba(255,255,255,.72); }
  .entry-hero h1 span { display:block; }
  .entry-choices { padding:11px 12px 8px; }
  .entry-choices h2 { font-size:23px; font-style:italic; line-height:1; margin:0 0 10px; text-align:left; }
  .feeling-grid { gap:8px; }
  .feeling-grid button { border-radius:13px; }
  .feeling-grid img { aspect-ratio:1.78/1; }
  .feeling-grid span { min-height:43px; padding:6px 9px; }
  .feeling-grid strong { font-size:13px; }
  .feeling-grid b { font-size:14px; }

  /* Cards de cenário mais altos — a imagem precisa respirar */
  /* A legenda sai de cima da foto: as imagens já vêm no enquadramento
     certo, então cobri-las escondia justamente a piscina. */
  .space-stack { gap:10px; }
  .space-stack > button { display:block; height:auto; min-height:0; position:relative; }
  .space-stack picture { display:block; height:auto; width:100%; }
  .space-stack img { aspect-ratio:1.9/1; height:auto; object-fit:cover; width:100%; }
  /* Legenda reescrita do zero: sem grid, sem herança do layout antigo.
     A seta é posicionada à direita; título e medida empilham à esquerda. */
  .space-stack > button > span {
    align-content:start; background:none; backdrop-filter:none;
    color:var(--ink); display:block; padding:12px 44px 14px 14px;
    position:relative; text-align:left; }
  .space-stack > button > span > strong {
    display:block; font-size:18px; font-weight:400; line-height:1.2; }
  .space-stack > button > span > small {
    color:var(--muted); display:block; font-size:11px; margin-top:3px; }
  .space-stack > button > span > b {
    font-size:18px; font-weight:400; padding:0;
    position:absolute; right:14px; top:50%; transform:translateY(-50%); }
  .space-stack .all-models { display:grid; grid-template-columns:1fr auto; height:58px; min-height:58px; }
  .space-stack .all-models span { position:static; background:none; backdrop-filter:none; }
  .all-models strong { font-size:14px; }

  .pool-grid { gap:8px; }
  .pool-grid article { border-radius:13px; }
  .pool-grid article > img { aspect-ratio:1.6/1; }
  .pool-grid article > div { align-items:end; display:grid; grid-template-columns:1fr auto; padding:8px; }
  .pool-grid strong { font-size:15px; }
  .pool-grid small { font-size:7.5px; letter-spacing:-.02em; }
  .pool-grid article button { margin:0; min-width:38px; }
  .pool-grid article button i { height:27px; width:27px; }
  .pool-grid article button span { max-width:48px; }
  .model-end-note { font-size:18px; min-height:100%; padding:14px; }
  .intro-copy { font-size:12px; margin-bottom:12px; }
  .fine-print { font-size:8px; margin-top:9px; }
    .assinatura-campo input { font-size:30px; }
  .placa-wrap { max-width:300px; }
  .diferenciais { margin-top:30px; padding-top:26px; }
  .prazo strong { font-size:70px; }
  .prazo b { font-size:26px; }
  .prazo span { font-size:13px; max-width:160px; }
  .dif-grid { gap:20px 14px; margin-top:26px; }
  .dif-grid strong { font-size:14px; }
  .dif-grid small { font-size:12px; }
  .lead-pool { height:220px; }
  .lead-titulo { font-size:clamp(30px, 5vw, 44px); line-height:1.08; margin-bottom:18px; }
.lead-promessa { font-size:22px; margin-bottom:20px !important; }
  .summary-chips span { font-size:12px; padding:7px 12px; }
  .entry-sheet .sheet-footer { margin-top:0; }
  .sheet-footer { gap:10px; min-height:54px; padding:6px 14px; }
  .sheet-footer img { height:34px; }
  .sheet-footer.contact div { gap:1px; }
  .sheet-footer.contact strong { font-size:9px; font-weight:400; letter-spacing:.04em; line-height:1; text-transform:uppercase; }
  .sheet-footer.contact a { font-size:13px; line-height:1; }
  .sheet-footer.contact span { font-size:8px; line-height:1; }
  .sheet-footer.compact { min-height:52px; }
  .sheet-footer.compact img { height:30px; }
  /* Barra de continuidade */
  .barra-continuar { padding:10px 14px max(10px, env(safe-area-inset-bottom)); }
  .barra-continuar strong { font-size:16px; }
  .barra-continuar button { font-size:14px; padding:13px 20px; }
}

@media (max-width:390px) {
  .brand-lockup span { font-size:8.5px; letter-spacing:.02em; }
  .sheet-content, .entry-choices { padding-left:14px; padding-right:14px; }
  .entry-hero h1 { left:16px; }
  .feeling-grid strong { font-size:12px; }
  .space-stack strong { font-size:16px; }
  .pool-grid { gap:8px; }
  .pool-grid strong { font-size:14px; }
  .pool-grid article button span { font-size:8px; }
}

@media (prefers-reduced-motion:reduce) { * { animation-duration:.01ms !important; scroll-behavior:auto !important; } }
