/* ============================================================
   Design iOS vibrante — tipografia do sistema, cor, gradientes,
   movimento suave e totalmente responsivo (telemóvel + PC).
   ============================================================ */

:root {
  --verde: #1f6f54;
  --verde-vivo: #2f9e74;
  --menta: #6fd3ad;
  --teal: #16b6b0;
  --azul: #3b82f6;
  --indigo: #6c5ce7;
  --coral: #ff7a59;
  --ambar: #ffb020;
  --rosa: #ff6b9d;

  --accent: #1f9e74;
  --accent-2: #16b6b0;
  --accent-press: #178a5f;

  --bg: #f4f7f6;
  --bg-elev: #ffffff;
  --sep: rgba(60, 60, 67, 0.1);
  --fill: #eef2f1;
  --fill-2: #e4eae8;

  --label: #141b19;
  --label-2: #434d4a;
  --label-3: #8a938f;

  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 13px;
  --pill: 980px;

  --shadow-card: 0 1px 2px rgba(16,40,32,0.04), 0 10px 30px rgba(16,56,42,0.07);
  --shadow-float: 0 18px 44px rgba(16,56,42,0.16);
  --shadow-color: 0 8px 22px rgba(31,158,116,0.3);

  --grad-brand: linear-gradient(120deg, #1f9e74 0%, #16b6b0 55%, #3b82f6 115%);
  --grad-warm: linear-gradient(120deg, #ff7a59, #ffb020);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
          "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--label);
  background: var(--bg);
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3 { color: var(--label); font-weight: 700; letter-spacing: -0.022em; line-height: 1.1; }
p { color: var(--label-2); }
a { color: var(--accent); text-decoration: none; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* ---------- Fundo decorativo com blobs de cor ---------- */
.bg-decor { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg-decor::before, .bg-decor::after {
  content: ""; position: absolute; width: 60vw; height: 60vw; max-width: 720px; max-height: 720px;
  border-radius: 50%; filter: blur(80px); opacity: 0.4;
}
.bg-decor::before { top: -14vw; right: -12vw; background: radial-gradient(circle, #6fd3ad, transparent 65%); }
.bg-decor::after { bottom: -18vw; left: -14vw; background: radial-gradient(circle, #8ab4ff, transparent 65%); }

/* ---------- Nav (vidro fosco) ---------- */
header.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.7);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 0.5px solid var(--sep);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; max-width: 1040px; margin: 0 auto; }
.brand { font-size: 17px; font-weight: 700; color: var(--label); letter-spacing: -0.02em; }
.brand small { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav a.cta {
  background: var(--grad-brand); color: #fff; padding: 10px 18px; border-radius: var(--pill);
  font-size: 15px; font-weight: 600; box-shadow: var(--shadow-color); transition: transform .12s ease, filter .2s;
}
.nav a.cta:hover { filter: brightness(1.05); }
.nav a.cta:active { transform: scale(0.96); }

/* ---------- Botões ---------- */
.btn {
  display: inline-block; background: var(--grad-brand); color: #fff;
  padding: 15px 28px; border-radius: var(--pill); font-size: 17px; font-weight: 600;
  border: none; cursor: pointer; transition: transform .12s ease, filter .2s, box-shadow .2s;
  box-shadow: var(--shadow-color); background-size: 160% 160%;
}
.btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn:active { transform: scale(0.97); }
.btn.ghost { background: var(--bg-elev); color: var(--accent); box-shadow: var(--shadow-card); background-size: auto; }
.btn.ghost:hover { filter: none; background: #fff; }

/* ---------- Animações de entrada ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1); }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1 !important; transform: none !important; transition: none; } }

/* ---------- Hero ---------- */
.hero { padding: 60px 0 46px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 46px; align-items: center; }
.pill-badge {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.1px;
  padding: 7px 14px; border-radius: var(--pill); margin-bottom: 18px;
  color: var(--accent); background: rgba(31,158,116,0.1);
}
.hero h1 { font-size: 48px; font-weight: 800; letter-spacing: -0.035em; margin-bottom: 16px; }
.grad-text { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 20px; color: var(--label-2); margin-bottom: 26px; letter-spacing: -0.015em; max-width: 44ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.trust-row { display: flex; gap: 26px; margin-top: 30px; flex-wrap: wrap; }
.trust { display: flex; flex-direction: column; }
.trust strong { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.trust span { font-size: 13px; color: var(--label-3); }

.hero-photo-wrap { position: relative; }
.hero-photo-wrap::before {
  content: ""; position: absolute; inset: -14px -14px -14px -14px; border-radius: 30px; z-index: 0;
  background: var(--grad-brand); opacity: 0.16; filter: blur(14px);
}
.hero-photo {
  position: relative; z-index: 1; width: 100%; aspect-ratio: 4/5; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-float); background: var(--fill-2);
}

/* ---------- Secções ---------- */
section { padding: 50px 0; position: relative; }
.section-title { font-size: 32px; font-weight: 800; letter-spacing: -0.032em; margin-bottom: 6px; }
.section-sub { color: var(--label-3); margin-bottom: 30px; font-size: 18px; letter-spacing: -0.01em; }

/* Cartões coloridos */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  position: relative; background: var(--bg-elev); border-radius: var(--radius-md); padding: 24px;
  box-shadow: var(--shadow-card); transition: transform .18s ease, box-shadow .18s ease;
  overflow: hidden;
}
.card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--c, var(--accent)); opacity: 0.9; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-float); }
.card-ico {
  width: 50px; height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 14px; background: var(--c-soft, rgba(31,158,116,0.12));
}
.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.02em; }
.card p { color: var(--label-2); font-size: 15px; }
.card.c1 { --c: #1f9e74; --c-soft: rgba(31,158,116,0.13); }
.card.c2 { --c: #ffb020; --c-soft: rgba(255,176,32,0.16); }
.card.c3 { --c: #16b6b0; --c-soft: rgba(22,182,176,0.14); }
.card.c4 { --c: #6c5ce7; --c-soft: rgba(108,92,231,0.14); }
.card.c5 { --c: #3b82f6; --c-soft: rgba(59,130,246,0.13); }
.card.c6 { --c: #ff6b9d; --c-soft: rgba(255,107,157,0.14); }

/* Passos */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.step { text-align: center; background: var(--bg-elev); border-radius: var(--radius-md); padding: 26px 18px; box-shadow: var(--shadow-card); transition: transform .18s ease; }
.step:hover { transform: translateY(-3px); }
.step .num {
  width: 50px; height: 50px; border-radius: 50%; background: var(--grad-brand);
  color: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px;
  font-weight: 800; font-size: 19px; box-shadow: var(--shadow-color);
}
.step:nth-child(2) .num { background: linear-gradient(135deg, #ffb020, #ff7a59); box-shadow: 0 8px 20px rgba(255,140,60,0.35); }
.step:nth-child(3) .num { background: linear-gradient(135deg, #6c5ce7, #3b82f6); box-shadow: 0 8px 20px rgba(80,100,230,0.35); }
.step:nth-child(4) .num { background: linear-gradient(135deg, #16b6b0, #1f9e74); }
.step h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; letter-spacing: -0.02em; }
.step p { font-size: 14px; color: var(--label-2); }

/* Preço */
.price-box {
  position: relative; overflow: hidden;
  background: linear-gradient(145deg, #1f9e74 0%, #157a63 55%, #0f5f57 100%);
  color: #fff; border-radius: var(--radius-lg); padding: 44px; text-align: center;
  box-shadow: var(--shadow-float); max-width: 560px; margin: 0 auto;
}
.price-glow { position: absolute; top: -40%; right: -20%; width: 70%; height: 140%; background: radial-gradient(circle, rgba(111,211,173,0.5), transparent 60%); filter: blur(30px); }
.price-box > * { position: relative; z-index: 1; }
.price-box h3 { color: #fff; font-size: 20px; font-weight: 600; }
.price-box .amount { font-size: 60px; font-weight: 800; letter-spacing: -0.03em; }
.price-box .per { opacity: 0.8; font-size: 16px; }
.price-box ul { list-style: none; margin: 22px 0; font-size: 16px; text-align: left; display: inline-block; }
.price-box li { margin: 10px 0; opacity: 0.97; }
.price-box li::before { content: "✓"; margin-right: 10px; color: var(--menta); font-weight: 800; }
.price-box .btn { background: #fff; color: var(--verde); box-shadow: 0 8px 20px rgba(0,0,0,0.18); }
.price-box .btn:hover { background: #f2fbf8; filter: none; }
.price-note { font-size: 12px; opacity: 0.75; margin-top: 14px; }

/* Bio */
.bio-grid { display: grid; grid-template-columns: 0.9fr 1.5fr; gap: 40px; align-items: center; }
.bio-text p { margin-bottom: 14px; color: var(--label-2); font-size: 17px; }
.reg-line { font-size: 14px; color: var(--label-3); }

/* FAQ */
.faq details {
  background: var(--bg-elev); border-radius: var(--radius-sm); padding: 16px 18px; margin-bottom: 10px;
  box-shadow: var(--shadow-card); transition: box-shadow .2s;
}
.faq details[open] { box-shadow: var(--shadow-float); }
.faq summary { cursor: pointer; font-weight: 600; color: var(--label); font-size: 16px; list-style: none; position: relative; padding-right: 26px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "⌄"; position: absolute; right: 2px; top: -3px; color: var(--accent); font-size: 20px; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq p { margin-top: 10px; color: var(--label-2); font-size: 15px; }

/* Banda CTA final */
.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  background: var(--grad-brand); color: #fff; border-radius: var(--radius-lg);
  padding: 34px 40px; box-shadow: var(--shadow-float);
}
.cta-band h2 { color: #fff; font-size: 26px; font-weight: 800; letter-spacing: -0.03em; }
.cta-band p { color: rgba(255,255,255,0.9); margin-top: 4px; }
.cta-band .btn { background: #fff; color: var(--verde); box-shadow: 0 8px 20px rgba(0,0,0,0.18); }
.cta-band .btn:hover { background: #f2fbf8; filter: none; }

/* Footer */
footer { color: var(--label-3); padding: 40px 0 54px; font-size: 14px; border-top: 0.5px solid var(--sep); margin-top: 16px; }
footer a { color: var(--accent); }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
footer strong { color: var(--label); }
.foot-reg { font-size: 12px; }

/* ---------- Página de marcação ---------- */
.booking { padding: 40px 0 72px; min-height: 70vh; }
.booking h1 { font-size: 36px; font-weight: 800; letter-spacing: -0.032em; margin-bottom: 4px; }
.booking h1 .grad-text { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.booking .section-sub { margin-bottom: 26px; }
.booking-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 32px; align-items: start; }

.day-group { margin-bottom: 22px; }
.day-group h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--accent); margin-bottom: 10px; padding-left: 2px; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 9px; }
.slot {
  font-size: 16px; font-weight: 600; padding: 13px 6px; text-align: center;
  border: none; border-radius: var(--radius-sm); background: var(--bg-elev); color: var(--accent);
  box-shadow: var(--shadow-card); cursor: pointer; transition: transform .12s ease, background .15s, color .15s, box-shadow .15s;
}
.slot:hover { transform: translateY(-2px); }
.slot:active { transform: scale(0.95); }
.slot.selected { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-color); }

.form-panel { background: var(--bg-elev); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-float); position: sticky; top: 84px; }
.form-panel h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.selected-slot { background: rgba(31,158,116,0.1); border-radius: var(--radius-sm); padding: 13px 15px; margin: 14px 0; font-size: 16px; font-weight: 600; color: var(--accent); }
.selected-slot.empty { color: var(--label-3); font-weight: 400; background: var(--fill); }

label { display: block; font-size: 13px; font-weight: 600; color: var(--label-3); margin: 16px 0 5px; }
input, textarea {
  width: 100%; font-family: var(--font); font-size: 17px; padding: 13px 15px;
  border: none; border-radius: var(--radius-sm); background: var(--fill); color: var(--label);
  transition: box-shadow .15s, background .15s;
}
input::placeholder, textarea::placeholder { color: var(--label-3); }
input:focus, textarea:focus { outline: none; background: #fff; box-shadow: 0 0 0 3px rgba(31,158,116,0.28); }
textarea { resize: vertical; min-height: 78px; }

.form-panel .btn { width: 100%; margin-top: 22px; }
.form-panel .btn:disabled { opacity: 0.4; cursor: not-allowed; box-shadow: none; filter: none; transform: none; }
.msg { font-size: 15px; padding: 13px 15px; border-radius: var(--radius-sm); margin-top: 14px; }
.msg.error { background: #ffecec; color: #c0362c; }
.loading { text-align: center; color: var(--label-3); padding: 34px; font-size: 16px; }
.privacy-note { font-size: 12px; color: var(--label-3); margin-top: 14px; line-height: 1.45; }

/* ---------- Páginas de estado ---------- */
.status-page { min-height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.status-card { max-width: 480px; padding: 40px 26px; background: var(--bg-elev); border-radius: var(--radius-lg); box-shadow: var(--shadow-float); }
.status-card .icon {
  width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 40px; color: #fff;
  background: var(--grad-brand); box-shadow: var(--shadow-color);
}
.status-card h1 { font-size: 27px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 12px; }
.status-card p { color: var(--label-2); margin-bottom: 16px; font-size: 16px; }

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
  .bio-grid { grid-template-columns: 1fr 1.4fr; }
}
@media (max-width: 820px) {
  .hero-grid, .bio-grid, .booking-layout { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding: 36px 0 28px; }
  .hero h1 { font-size: 38px; }
  .hero p.lead { font-size: 18px; max-width: none; }
  .cards, .steps { grid-template-columns: 1fr 1fr; }
  .form-panel { position: static; }
  .hero-photo-wrap { max-width: 320px; margin: 0 auto; }
  .bio-grid .hero-photo-wrap { order: -1; }
  .cta-band { padding: 28px 24px; }
  section { padding: 40px 0; }
}
@media (max-width: 540px) {
  .cards, .steps { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .section-title { font-size: 26px; }
  .section-sub { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .trust-row { gap: 18px; }
  .price-box { padding: 32px 24px; }
  .price-box .amount { font-size: 50px; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .cta-band .btn { width: 100%; text-align: center; }
  footer .wrap { flex-direction: column; }
}

/* ---------- Modo escuro ---------- */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0f0e;
    --bg-elev: #17201d;
    --sep: rgba(120,130,126,0.2);
    --fill: #222c29;
    --fill-2: #2c3733;
    --label: #ffffff;
    --label-2: #d6ddda;
    --label-3: #8a938f;
    --shadow-card: 0 1px 2px rgba(0,0,0,0.5), 0 10px 30px rgba(0,0,0,0.4);
    --shadow-float: 0 18px 44px rgba(0,0,0,0.5);
  }
  header.nav { background: rgba(23,32,29,0.72); }
  .pill-badge { background: rgba(47,158,116,0.18); }
  input:focus, textarea:focus { background: #0b0f0e; }
  .msg.error { background: #3a1a18; color: #ff6b5e; }
  .bg-decor::before, .bg-decor::after { opacity: 0.25; }
}
