/* ═══════════════════════════════════════════════════════════════════════
   Planeador v3 — experiência própria (06/10/2026)
   Direção: "app de viagem premium" — hero fotográfico escuro, painel branco
   de alto contraste (padrão Booking/Airbnb, Baymard), resumo que se preenche
   (goal-gradient, padrão Layla), resultado em painel com preços reais.
   ═══════════════════════════════════════════════════════════════════════ */
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/fonts/planner/fraunces.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 100 900; font-display: swap; src: url('/fonts/planner/fraunces-italic.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/fonts/planner/inter.woff2') format('woff2'); }
:root {
  --ink: #06121f;
  --ink-2: #0b1b2b;
  --navy: #0a3d6b;
  --navy-2: #12507f;
  --gold: #c9a84c;
  --gold-2: #e8c97a;
  --gold-text: #8c6b14;
  --sand: #f7f4ee;
  --paper: #ffffff;
  --line: #e7e2d7;
  --text: #13202e;
  --muted: #5b6776;
  --ok: #16a34a;
  --radius: 22px;
  --shadow-card: 0 1px 2px rgba(6,18,31,.06), 0 12px 32px rgba(6,18,31,.08);
  --shadow-pop: 0 30px 80px rgba(0,0,0,.35), 0 8px 24px rgba(0,0,0,.18);
  --f-display: 'Fraunces', Georgia, serif;
  --f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body.pv3 { margin: 0; background: var(--sand); color: var(--text); font: 400 16px/1.55 var(--f-body); -webkit-font-smoothing: antialiased; }
body.pv3-busy { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
.pv3-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 10px; }
.pv3-skip:focus { left: 12px; }

/* ── Barra de topo ─────────────────────────────────────────────────────── */
.pv3-top { position: absolute; inset: 0 0 auto 0; z-index: 20; display: flex; align-items: center; gap: 12px; padding: 18px clamp(16px, 4vw, 48px); color: #fff; }
.pv3-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: .95rem; letter-spacing: -.01em; }
.pv3-logo em { font-style: normal; color: var(--gold-2); }
.pv3-badge { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 5px 10px; border-radius: 99px; background: rgba(201,168,76,.18); color: var(--gold-2); border: 1px solid rgba(232,201,122,.35); }
.pv3-top-nav { margin-left: auto; display: flex; gap: 20px; font-size: .88rem; }
.pv3-top-nav a { text-decoration: none; opacity: .82; transition: opacity .2s; }
.pv3-top-nav a:hover { opacity: 1; }
@media (max-width: 640px) {
  .pv3-top { padding: 14px 16px; }
  .pv3-top-nav a:not(:last-child) { display: none; }
  .pv3-logo span { display: none; }
}

/* ── Hero ──────────────────────────────────────────────────────────────── */
.pv3-hero { position: relative; isolation: isolate; color: #fff; background: var(--ink); padding: 104px clamp(16px, 4vw, 48px) 56px; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; transition: min-height .4s; }
.pv3-hero.is-collapsed { min-height: 0; padding-bottom: 40px; }
.pv3-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.pv3-bg::after { content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 85% 10%, rgba(201,168,76,.18), transparent 55%),
    linear-gradient(90deg, rgba(6,18,31,.92) 0%, rgba(6,18,31,.72) 45%, rgba(6,18,31,.55) 100%),
    linear-gradient(180deg, rgba(6,18,31,.2) 0%, rgba(6,18,31,.85) 100%); }
.pv3-bg-l { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.1s ease; }
.pv3-bg-l.is-on { opacity: 1; }
.pv3-credit { position: absolute; right: 16px; bottom: 10px; margin: 0; font-size: .68rem; opacity: .55; max-width: 60%; text-align: right; }

.pv3-wrap { width: 100%; max-width: 1180px; margin: 0 auto; display: grid; gap: 28px 56px; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); align-items: start; }
.pv3-app { display: contents; }
.pv3-intro { grid-column: 1; grid-row: 1; padding-top: 18px; }
.pv3-card { grid-column: 2; grid-row: 1 / span 2; }
.pv3-preview { grid-column: 1; grid-row: 2; }
@media (max-width: 960px) {
  .pv3-hero { padding-top: 84px; min-height: 0; }
  .pv3-wrap { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .pv3-intro, .pv3-card, .pv3-preview { grid-column: 1; grid-row: auto; }
  .pv3-intro { padding-top: 0; }
}

.pv3-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-2); }
.pv3-dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52,211,153,.18); }
.pv3-intro h1 { margin: 0; font: 600 clamp(2.1rem, 4.6vw, 3.6rem)/1.05 var(--f-display); letter-spacing: -.02em; max-width: 14ch; font-variation-settings: 'opsz' 144; }
.pv3-intro h1 em { font-style: italic; font-weight: 400; color: var(--gold-2); }
.pv3-lead { margin: 18px 0 0; max-width: 46ch; font-size: clamp(1rem, 1.4vw, 1.12rem); color: rgba(255,255,255,.82); }
.pv3-lead strong { color: #fff; }
.pv3-proof { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; font-size: .9rem; color: rgba(255,255,255,.86); }
.pv3-proof li { display: flex; align-items: center; gap: 10px; }
.pv3-proof svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--gold-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 960px) {
  .pv3-intro h1 { max-width: 18ch; font-size: clamp(1.9rem, 8vw, 2.5rem); }
  .pv3-lead { font-size: .98rem; margin-top: 12px; }
  .pv3-proof { display: none; }
}

/* ── Cartão do planeador (branco, alto contraste) ──────────────────────── */
.pv3-card { background: var(--paper); color: var(--text); border-radius: 28px; padding: 28px 28px 22px; box-shadow: var(--shadow-pop); outline: none; }
@media (max-width: 540px) { .pv3-card { padding: 22px 18px 18px; border-radius: 24px; } }
.pv3-prog { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.pv3-segs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.pv3-seg { height: 5px; border-radius: 9px; background: #ece8df; transition: background .35s; }
.pv3-seg.is-on { background: linear-gradient(90deg, var(--gold), var(--gold-2)); }
.pv3-count { margin: 0; font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pv3-q { margin: 0; font: 600 clamp(1.45rem, 2.4vw, 1.85rem)/1.15 var(--f-display); letter-spacing: -.015em; color: var(--ink); }
.pv3-h { margin: 6px 0 0; color: var(--muted); font-size: .92rem; }
.pv3-body { margin-top: 20px; min-height: 160px; animation: pv3In .35s ease both; }
@keyframes pv3In { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.pv3-grid { display: grid; gap: 10px; }
.pv3-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pv3-grid--people { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.pv3-grid--regions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pv3-grid--regions .pv3-opt:last-child { grid-column: span 2; } /* Lote B: 10 regioes + 'Surpreendam-me' -> ultima linha completa */
@media (max-width: 540px) {
  .pv3-grid--regions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pv3-grid--regions .pv3-opt:first-child { grid-column: 1 / -1; }
  .pv3-grid--regions .pv3-opt:last-child { grid-column: auto; }
}

.pv3-opt { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px; text-align: left; background: #fff; border: 1.5px solid var(--line); border-radius: 16px; cursor: pointer; transition: border-color .18s, box-shadow .18s, transform .18s, background .18s; }
.pv3-opt:hover { border-color: #c9c2b3; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(6,18,31,.07); }
.pv3-opt.is-sel { border-color: var(--navy); background: #f2f6fa; box-shadow: 0 0 0 3px rgba(10,61,107,.12); }
.pv3-opt-ic { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 12px; background: #f3efe5; color: var(--navy); transition: background .18s, color .18s; }
.pv3-opt.is-sel .pv3-opt-ic { background: var(--navy); color: #fff; }
.pv3-opt-tx { display: flex; flex-direction: column; min-width: 0; }
.pv3-opt-tx strong { font-weight: 600; font-size: .98rem; color: var(--ink); line-height: 1.25; }
.pv3-opt-tx small { font-size: .8rem; color: var(--muted); line-height: 1.3; margin-top: 2px; }
.pv3-opt-ck { position: absolute; top: 10px; right: 10px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--ink); opacity: 0; transform: scale(.6); transition: opacity .18s, transform .18s; }
.pv3-opt.is-sel .pv3-opt-ck { opacity: 1; transform: scale(1); }
@media (max-width: 540px) {
  .pv3-grid--2 .pv3-opt { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* Regiões com foto */
.pv3-opt--photo { padding: 0; overflow: hidden; min-height: 112px; align-items: flex-end; border: 0; color: #fff; background: var(--ink-2); }
.pv3-opt--photo .pv3-opt-ph { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .5s ease; }
.pv3-opt--photo .pv3-opt-ph::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,18,31,0) 25%, rgba(6,18,31,.82) 100%); }
.pv3-opt--photo:hover .pv3-opt-ph { transform: scale(1.06); }
.pv3-opt--photo .pv3-opt-ph:not([style]) { background: radial-gradient(120% 90% at 20% 10%, #1f6f5c 0%, #0b3b4a 45%, var(--ink) 100%); }
.pv3-opt--photo .pv3-opt-tx { position: relative; padding: 12px; }
.pv3-opt--photo .pv3-opt-tx strong { color: #fff; font-size: .95rem; }
.pv3-opt--photo .pv3-opt-tx small { color: rgba(255,255,255,.8); font-size: .74rem; }
.pv3-opt--photo.is-sel { box-shadow: 0 0 0 3px var(--gold), 0 10px 24px rgba(6,18,31,.2); background: var(--ink-2); }
.pv3-grid--regions .pv3-opt--photo:last-child { min-height: 64px; background: linear-gradient(120deg, var(--navy), var(--ink)); }
.pv3-grid--regions .pv3-opt--photo:last-child .pv3-opt-ph { display: none; }

/* Datas */
.pv3-dates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pv3-field { min-width: 0; display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 16px; background: #fff; transition: border-color .18s; }
.pv3-field:focus-within { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(10,61,107,.12); }
.pv3-field span { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pv3-field input { width: 100%; border: 0; padding: 0; font: 600 1rem var(--f-body); color: var(--ink); background: transparent; outline: none; min-width: 0; }
@media (max-width: 540px) { .pv3-field { padding: 10px 12px; } .pv3-field input { font-size: .92rem; } }
.pv3-quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pv3-chip { padding: 9px 14px; border-radius: 99px; border: 1.5px solid var(--line); background: #fff; font-size: .84rem; font-weight: 500; cursor: pointer; transition: border-color .18s, background .18s; }
.pv3-chip:hover { border-color: #c9c2b3; }
.pv3-chip.is-sel { border-color: var(--navy); background: #f2f6fa; color: var(--navy); }
.pv3-err { margin: 8px 0 0; min-height: 1.2em; color: #b42318; font-size: .84rem; }

/* Navegação */
.pv3-nav { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.pv3-back { display: inline-flex; align-items: center; gap: 6px; padding: 12px 6px; border: 0; background: none; color: var(--muted); font-weight: 500; cursor: pointer; }
.pv3-back:hover { color: var(--ink); }
.pv3-back svg, .pv3-next svg, .r-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pv3-next { margin-left: auto; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 180px; padding: 15px 26px; border: 0; border-radius: 99px; background: var(--ink); color: #fff; font-weight: 600; font-size: 1rem; cursor: pointer; transition: transform .18s, box-shadow .18s, opacity .18s, background .18s; }
.pv3-next:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(6,18,31,.25); }
.pv3-next:disabled { opacity: .35; cursor: not-allowed; }
.pv3-next--go { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: var(--ink); box-shadow: 0 10px 28px rgba(201,168,76,.45); }
@media (max-width: 540px) { .pv3-next { flex: 1; min-width: 0; padding: 15px 18px; font-size: .95rem; white-space: nowrap; } }

/* ── Resumo que se preenche (vidro) ────────────────────────────────────── */
.pv3-preview { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 18px 20px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); max-width: 460px; }
.pv3-prev-head { display: flex; align-items: center; gap: 14px; }
.pv3-ring { position: relative; width: 52px; height: 52px; flex: none; }
.pv3-ring svg, .r-ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.pv3-ring-bg, .r-ring-bg { fill: none; stroke: rgba(255,255,255,.15); stroke-width: 4; }
.pv3-ring-fg, .r-ring-fg { fill: none; stroke: var(--gold-2); stroke-width: 4; stroke-linecap: round; transition: stroke-dasharray .5s ease; }
.pv3-ring span { position: absolute; inset: 0; display: grid; place-items: center; font-size: .78rem; font-weight: 700; }
.pv3-prev-k { margin: 0; font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2); }
.pv3-prev-title { margin: 2px 0 0; font: 600 1.05rem/1.25 var(--f-display); }
.pv3-prev-rows { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 2px; }
.pv3-prev-rows li { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid rgba(255,255,255,.08); opacity: .55; transition: opacity .3s; }
.pv3-prev-rows li.is-done { opacity: 1; }
.pv3-prev-ic { width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); }
.pv3-prev-rows li.is-done .pv3-prev-ic { background: var(--gold-2); border-color: var(--gold-2); color: var(--ink); }
.pv3-prev-tx { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.pv3-prev-tx small { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; opacity: .7; }
.pv3-prev-tx strong { font-size: .92rem; font-weight: 600; }
@media (max-width: 960px) {
  .pv3-preview { max-width: none; padding: 14px 16px; }
  .pv3-prev-rows { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
  .pv3-prev-rows li:last-child { grid-column: 1 / -1; }
}

/* ── Overlay de geração ────────────────────────────────────────────────── */
.pv3-gen { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; background: rgba(6,18,31,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 16px; }
.pv3-gen[hidden] { display: none; }
.pv3-gen-card { width: min(420px, 100%); background: #fff; border-radius: 24px; padding: 28px; box-shadow: var(--shadow-pop); text-align: center; }
.pv3-gen-spin { width: 46px; height: 46px; margin: 0 auto 14px; border-radius: 50%; border: 4px solid #eee7d6; border-top-color: var(--gold); animation: pv3Spin .9s linear infinite; }
@keyframes pv3Spin { to { transform: rotate(360deg); } }
.pv3-gen-t { margin: 0 0 16px; font: 600 1.15rem/1.3 var(--f-display); color: var(--ink); }
.pv3-gen ul { list-style: none; margin: 0; padding: 0; text-align: left; display: grid; gap: 10px; }
.pv3-gen li { position: relative; padding-left: 30px; color: var(--muted); font-size: .92rem; transition: color .25s; }
.pv3-gen li::before { content: ''; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line); transition: background .25s, border-color .25s; }
.pv3-gen li.is-done { color: var(--ink); }
.pv3-gen li.is-done::before { background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center/12px no-repeat; border-color: var(--ok); }

/* ═══ RESULTADOS ═══════════════════════════════════════════════════════════ */
.pv3-results { max-width: 1180px; margin: 0 auto; padding: 28px clamp(16px, 4vw, 48px) 120px; }
.pv3-results[hidden] { display: none; }

.r-hero { position: relative; overflow: hidden; border-radius: 28px; min-height: 380px; display: flex; align-items: flex-end; color: #fff; background: var(--ink); box-shadow: var(--shadow-card); }
.r-hero::before { content: ''; position: absolute; inset: 0; background-image: var(--r-hero-img); background-size: cover; background-position: center; }
.r-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,18,31,.45) 0%, rgba(6,18,31,.3) 30%, rgba(6,18,31,.55) 55%, rgba(6,18,31,.92) 100%); }
.r-hero-in { text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.r-hero-in .r-btn { text-shadow: none; }
.r-hero-in { position: relative; z-index: 1; padding: clamp(22px, 4vw, 44px); width: 100%; }
.r-kicker { margin: 0 0 8px; font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); }
.r-title { margin: 0; font: 600 clamp(2.4rem, 6vw, 4.2rem)/1 var(--f-display); letter-spacing: -.02em; }
.r-title span { display: block; margin-top: 8px; font: 400 italic clamp(1.05rem, 2vw, 1.4rem)/1.2 var(--f-display); color: rgba(255,255,255,.85); }
.r-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.r-chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 99px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: .86rem; font-weight: 500; }
.r-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; }
.r-share-msg { font-size: .84rem; color: #bbf7d0; word-break: break-all; }
.r-credit { position: absolute; right: 14px; top: 12px; z-index: 1; margin: 0; font-size: .66rem; opacity: .7; max-width: 60%; text-align: right; }
@media (max-width: 540px) { .r-hero { min-height: 360px; border-radius: 22px; } }

.r-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 99px; border: 0; font-weight: 600; font-size: .92rem; text-decoration: none; cursor: pointer; transition: transform .18s, box-shadow .18s, background .18s; }
.r-btn:hover { transform: translateY(-1px); }
.r-btn--light { background: #fff; color: var(--ink); }
.r-btn--ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.3); }
.r-btn--gold { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: var(--ink); box-shadow: 0 8px 22px rgba(201,168,76,.35); }

.r-live { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px 0 0; min-height: 40px; }
.r-live-head { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.r-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.18); animation: rPulse 2s ease-in-out infinite; }
@keyframes rPulse { 50% { box-shadow: 0 0 0 7px rgba(34,197,94,.06); } }
.r-live-pill { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: .86rem; color: var(--muted); animation: pv3In .3s ease both; }
.r-live-pill svg { color: var(--navy); }
.r-live-pill strong { color: var(--ink); }

.r-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; margin-top: 22px; align-items: start; }
.r-main { display: grid; gap: 22px; min-width: 0; }
.r-side { display: grid; gap: 16px; position: sticky; top: 20px; }
@media (max-width: 960px) { .r-grid { grid-template-columns: minmax(0, 1fr); } .r-side { position: static; } }

.r-block { background: var(--paper); border-radius: var(--radius); padding: clamp(18px, 2.6vw, 28px); box-shadow: var(--shadow-card); display: grid; gap: 14px; min-width: 0; }
.r-block-h { display: flex; gap: 14px; align-items: flex-start; }
.r-step { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--gold-2); font: 600 .95rem var(--f-display); }
.r-block-h h3 { margin: 2px 0 0; font: 600 clamp(1.25rem, 2.2vw, 1.55rem)/1.2 var(--f-display); color: var(--ink); letter-spacing: -.01em; }
.r-block-h p { margin: 4px 0 0; font-size: .9rem; color: var(--muted); }
.r-map { height: 440px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #eef1f3; }
.r-map iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 540px) { .r-map { height: 400px; border-radius: 14px; } }
.r-note { margin: 0; font-size: .82rem; color: var(--muted); }
.r-sub { margin: 8px 0 0; font: 600 .78rem var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); }

.r-cards { display: grid; gap: 10px; }
.r-card { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1.5px solid var(--line); border-radius: 18px; background: #fff; text-decoration: none; color: var(--text); transition: border-color .18s, box-shadow .18s, transform .18s; }
.r-card:hover { border-color: var(--navy); box-shadow: 0 10px 24px rgba(6,18,31,.08); transform: translateY(-1px); }
.r-card-ic { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 14px; background: #eef3f8; color: var(--navy); }
.r-card-tx { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.r-card-partner { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); }
.r-card-tx strong { font-size: 1rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.r-card-meta { font-size: .84rem; color: var(--muted); }
.r-card-go { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 10px 16px; border-radius: 99px; background: var(--ink); color: #fff; font-size: .86rem; font-weight: 600; white-space: nowrap; }
.r-card--big { background: linear-gradient(135deg, #fffaf0, #fff); border-color: #e9d9a8; }
.r-card--big .r-card-ic { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: var(--ink); }
.r-card--big .r-card-go { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: var(--ink); }
@media (max-width: 540px) {
  .r-card { flex-wrap: wrap; padding: 14px; }
  .r-card-ic { width: 42px; height: 42px; }
  .r-card-go { width: 100%; justify-content: center; }
}

.r-beaches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.r-beach { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .18s, box-shadow .18s; }
.r-beach:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(6,18,31,.1); }
.r-beach-img { aspect-ratio: 4 / 3; background-size: cover; background-position: center; background-color: #e6ebef; }
.r-beach-tx { display: flex; flex-direction: column; padding: 10px 12px 12px; }
.r-beach-tx strong { font-size: .92rem; font-weight: 600; line-height: 1.25; }
.r-beach-tx small { font-size: .76rem; color: var(--muted); }
@media (max-width: 640px) {
  .r-beaches { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; }
  .r-beach { scroll-snap-align: start; }
}

/* Lateral */
.r-side-card { background: var(--paper); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-card); }
.r-progress { background: var(--ink); color: #fff; }
.r-progress-h { display: flex; align-items: center; gap: 14px; }
.r-ring-wrap { position: relative; width: 56px; height: 56px; flex: none; }
.r-ring-n { position: absolute; inset: 0; display: grid; place-items: center; font-size: .82rem; font-weight: 700; }
.r-progress-h strong { display: block; font: 600 1.08rem var(--f-display); }
.r-progress-h small { font-size: .8rem; opacity: .7; }
.r-steps { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; }
.r-steps a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.06); text-decoration: none; font-size: .92rem; transition: background .18s; }
.r-steps a:hover { background: rgba(255,255,255,.12); }
.r-steps-ic { color: var(--gold-2); display: inline-flex; }
.r-steps-t { flex: 1; }
.r-steps-ck { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.3); color: transparent; }
.r-steps li.is-done .r-steps-ck { background: var(--ok); border-color: var(--ok); color: #fff; }
.r-steps li.is-done .r-steps-t { text-decoration: line-through; opacity: .7; }

.r-email-h { display: flex; align-items: center; gap: 10px; color: var(--navy); }
.r-email-h strong { font: 600 1.08rem var(--f-display); color: var(--ink); }
.r-email p { margin: 8px 0 12px; font-size: .88rem; color: var(--muted); }
.r-email-f { display: grid; gap: 10px; }
.r-email-f input { width: 100%; padding: 13px 14px; border-radius: 12px; border: 1.5px solid var(--line); font: 500 .95rem var(--f-body); }
.r-email-f input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(10,61,107,.12); }
.r-email-f .r-btn { width: 100%; }
.r-email-f .r-btn:disabled { opacity: .6; cursor: default; transform: none; }
.r-ts:empty { display: none; }
.r-email-msg { margin: 0 !important; min-height: 1.2em; font-size: .84rem !important; color: var(--navy) !important; }

.r-trust { display: grid; gap: 14px; }
.r-trust-row { display: flex; gap: 12px; }
.r-trust-ic { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 10px; background: #eef3f8; color: var(--navy); }
.r-trust-row strong { font-size: .92rem; color: var(--ink); }
.r-trust-row p { margin: 2px 0 0; font-size: .8rem; color: var(--muted); line-height: 1.45; }
.r-trust-partners { margin: 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: .74rem; color: var(--muted); }

/* Barra fixa "próximo passo" */
.r-sticky { position: fixed; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 40; width: min(760px, calc(100% - 24px)); display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 20px; border-radius: 99px; background: rgba(6,18,31,.92); color: #fff; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 16px 40px rgba(0,0,0,.28); animation: rUp .4s ease both; }
.r-sticky[hidden] { display: none; }
@keyframes rUp { from { opacity: 0; transform: translate(-50%, 20px); } to { opacity: 1; transform: translate(-50%, 0); } }
.r-sticky-t { margin: 0; flex: 1; min-width: 0; font-size: .9rem; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.r-sticky.is-done .r-btn { display: none; }
@media (max-width: 540px) { .r-sticky { border-radius: 18px; padding: 10px 10px 10px 14px; } .r-sticky-t { font-size: .82rem; white-space: normal; line-height: 1.25; } .r-sticky .r-btn { padding: 11px 14px; font-size: .86rem; } }

/* ── Como funciona / FAQ ───────────────────────────────────────────────── */
.pv3-how { padding: 72px clamp(16px, 4vw, 48px); background: #fff; }
.pv3-how-in { max-width: 1080px; margin: 0 auto; }
.pv3-how h2 { margin: 0 0 28px; font: 600 clamp(1.7rem, 3vw, 2.3rem)/1.1 var(--f-display); color: var(--ink); }
.pv3-how-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pv3-how-steps li { padding: 22px; border-radius: var(--radius); background: var(--sand); }
.pv3-how-steps span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--gold-2); font: 600 .95rem var(--f-display); }
.pv3-how-steps strong { display: block; margin-top: 12px; font-size: 1.02rem; color: var(--ink); }
.pv3-how-steps p { margin: 6px 0 0; font-size: .9rem; color: var(--muted); }
@media (max-width: 760px) { .pv3-how-steps { grid-template-columns: minmax(0, 1fr); } }
.pv3-faq { margin-top: 36px; display: grid; gap: 10px; }
.pv3-faq details { border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; background: #fff; }
.pv3-faq summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.pv3-faq p { margin: 10px 0 0; color: var(--muted); font-size: .92rem; }

.pv3-foot { padding: 28px 16px 120px; text-align: center; font-size: .82rem; color: var(--muted); }
.pv3-foot a { color: var(--navy); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Com resultados visíveis: o plano passa a ser o ecrã principal */
body.pv3-has-results .pv3-top { position: relative; background: var(--ink); }
body.pv3-has-results #planner { display: none; }

.r-email-legal { margin: 0 !important; font-size: .74rem !important; color: var(--muted); line-height: 1.4; }
.r-email-legal a { color: var(--navy); }
.pv3-credits { max-width: 900px; margin: 0 auto 14px; font-size: .7rem; line-height: 1.5; color: var(--muted); }
.pv3-credits a { color: var(--muted); }
.pv3-q:focus { outline: none; }
.pv3-q:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.r-title:focus { outline: none; }

/* ── Instalar como app (PWA) + continuar plano ─────────────────────────── */
.pv3-install { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 99px; border: 1px solid rgba(232,201,122,.45); background: rgba(6,18,31,.35); color: var(--gold-2); font-size: .8rem; font-weight: 600; cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.pv3-install:hover { background: rgba(201,168,76,.2); }
.pv3-install svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pv3-install[hidden], .pv3-resume[hidden] { display: none; }
.pv3-resume { margin: 0 0 14px; }
.pv3-resume-btn { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 14px; background: #f2f6fa; border: 1px solid #d6e2ee; color: var(--navy); font-size: .9rem; font-weight: 600; text-decoration: none; }
.pv3-resume-btn:hover { background: #e8f0f7; }
.pv3-resume-btn svg:last-child { margin-left: auto; }
.r-app { background: linear-gradient(160deg, #fff 0%, #fbf6e9 100%); border: 1px solid #efe3c2; }
.r-app-h { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.r-app-h svg { color: var(--gold-text); }
.r-app-h strong { font: 600 1.05rem var(--f-display); }
.r-app p { margin: 8px 0 14px; font-size: .86rem; color: var(--muted); line-height: 1.45; }
.r-btn--dark { width: 100%; background: var(--ink); color: #fff; }
.r-btn--dark:hover { background: var(--ink-2); }
.pv3-ios { position: fixed; inset: 0; z-index: 1000; /* Lote B (PLN-06): acima da barra inferior (z 90) e do cabecalho */ display: flex; align-items: flex-end; justify-content: center; padding: 16px; background: rgba(6,18,31,.55); }
.pv3-ios[hidden] { display: none; }
.pv3-ios-card { width: 100%; max-width: 420px; background: #fff; color: var(--text); border-radius: 22px; padding: 22px 22px calc(18px + env(safe-area-inset-bottom)); box-shadow: var(--shadow-pop); animation: pv3In .3s ease both; }
.pv3-ios-card h2 { margin: 0 0 4px; font: 600 1.3rem var(--f-display); color: var(--ink); }
.pv3-ios-card > p { margin: 0 0 14px; font-size: .88rem; color: var(--muted); }
.pv3-ios-card ol { margin: 0 0 18px; padding: 0; list-style: none; display: grid; gap: 10px; counter-reset: s; }
.pv3-ios-card li { counter-increment: s; display: flex; align-items: center; gap: 12px; font-size: .95rem; }
.pv3-ios-card li::before { content: counter(s); flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #f3efe5; color: var(--navy); font-weight: 700; font-size: .85rem; }
.pv3-ios-card li svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pv3-ios-card button { width: 100%; }
/* Aberto como app instalada: respeita a barra de estado e esconde o que não faz sentido */
body.pv3-standalone .pv3-top { padding-top: calc(14px + env(safe-area-inset-top)); }
body.pv3-standalone .pv3-hero { padding-top: calc(96px + env(safe-area-inset-top)); }
body.pv3-standalone .pv3-install { display: none; }
.pv3-top-nav { align-items: center; }

/* Creditos de fotos quase invisiveis (pedido do Ricardo, 07/10/2026). O texto fica na pagina porque as licencas CC/Pexels/Unsplash exigem atribuicao; so aparece melhor com o rato/foco. */
.pv3-credit, .r-credit, .pv3-credits{opacity:.28 !important; font-size:9px !important; letter-spacing:0 !important; text-shadow:none !important; transition:opacity .2s ease;}
.pv3-credit:hover, .r-credit:hover, .pv3-credits:hover, .pv3-credit:focus-within, .r-credit:focus-within, .pv3-credits:focus-within{opacity:.75 !important;}
