/* ==========================================================================
   Royal Space — Website oficial
   Identidade: azul #023cc8 · amarelo #f5b501 · Montserrat
   ========================================================================== */

:root {
  --blue: #023cc8;
  --blue-700: #022f9c;
  --blue-900: #04185a;
  --yellow: #f5b501;
  --yellow-300: #ffd45c;
  --yellow-50: #fff7df;
  --ink: #0e1330;
  --text: #2b3150;
  --muted: #646b88;
  --line: #e4e7f1;
  --bg: #ffffff;
  --bg-soft: #f4f6fb;
  --radius-lg: 32px;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px -24px rgba(4, 24, 90, .35);
  --shadow-sm: 0 8px 24px -12px rgba(4, 24, 90, .25);
  --container: 1200px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 999; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip-link:focus { top: 12px; }

/* ---------- Tipografia ---------- */
h1, h2, h3, h4 { color: var(--ink); line-height: 1.12; font-weight: 800; letter-spacing: -.02em; }
.display { font-size: clamp(2.4rem, 6vw, 4.4rem); }
.h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
.h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 56ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 16px;
}
.eyebrow::before { content: ''; width: 10px; height: 10px; border-radius: 3px; background: var(--yellow); }
.on-blue .eyebrow { color: var(--yellow); }
.on-blue .eyebrow::before { background: #fff; }
.hl { color: var(--blue); }
.hl-y { color: var(--yellow); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.section-head .lead { margin-top: 16px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 700; font-size: .95rem; letter-spacing: .01em; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: none; }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -10px rgba(2, 60, 200, .7); }
.btn-blue:hover { background: var(--blue-700); }
.btn-yellow { background: var(--yellow); color: var(--blue-900); box-shadow: 0 10px 24px -10px rgba(245, 181, 1, .8); }
.btn-yellow:hover { background: var(--yellow-300); }
.btn-ghost { border: 2px solid currentColor; color: var(--blue); }
.btn-ghost:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.on-blue .btn-ghost { color: #fff; }
.on-blue .btn-ghost:hover { background: #fff; color: var(--blue); border-color: #fff; }
.btn svg { width: 20px; height: 20px; flex: none; }

.store-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 20px 10px 16px; min-height: 58px; border-radius: 16px;
  background: var(--ink); color: #fff;
  transition: transform .2s ease, background-color .2s ease;
}
.store-btn:hover { transform: translateY(-2px); background: #000; }
.store-btn svg { width: 26px; height: 26px; flex: none; }
.store-btn small { display: block; font-size: .68rem; font-weight: 500; opacity: .8; line-height: 1.1; }
.store-btn strong { display: block; font-size: 1.08rem; font-weight: 700; line-height: 1.2; }
.on-blue .store-btn { background: #fff; color: var(--ink); }
.on-blue .store-btn:hover { background: var(--yellow); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color .3s ease, box-shadow .3s ease;
}
.site-header.scrolled { background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-header.solid { background: #fff; box-shadow: 0 1px 0 var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 40px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-weight: 600; font-size: .92rem; color: var(--ink); position: relative; padding: 6px 0; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 3px; border-radius: 3px; background: var(--yellow); transition: right .25s ease; }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { right: 0; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { min-height: 44px; padding: 0 20px; font-size: .88rem; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; place-items: center; background: var(--bg-soft); }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); position: relative; transition: transform .25s ease, background-color .25s ease; }
.menu-toggle span::before, .menu-toggle span::after { content: ''; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; background: #fff;
  padding: 24px clamp(16px, 4vw, 32px) 40px;
  display: flex; flex-direction: column; gap: 4px;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
  overflow-y: auto;
}
.menu-open .mobile-menu { opacity: 1; transform: none; visibility: visible; }
.mobile-menu a:not(.btn) { font-size: 1.4rem; font-weight: 700; color: var(--ink); padding: 14px 0; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 24px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--header-h) + clamp(32px, 6vw, 72px)) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.hero::before {
  content: ''; position: absolute; z-index: -1;
  width: min(900px, 120vw); aspect-ratio: 1; border-radius: 50%;
  right: max(-360px, -30vw); top: -240px; background: var(--yellow);
}
.hero::after {
  content: ''; position: absolute; z-index: -1; width: 260px; aspect-ratio: 1; border-radius: 50%;
  left: -150px; bottom: -110px; background: var(--yellow-50);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(32px, 5vw, 64px); }
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px; margin-bottom: 24px;
  border-radius: 999px; background: var(--bg-soft); font-size: .84rem; font-weight: 600; color: var(--ink);
}
.hero-tag .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; }
.hero-tag .dot::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }
.hero h1 { margin-bottom: 22px; }
.hero h1 .underline { position: relative; white-space: nowrap; color: var(--blue); }
.hero h1 .underline::after { content: ''; position: absolute; left: 0; right: 0; bottom: .06em; height: .22em; background: var(--yellow); border-radius: 6px; z-index: -1; opacity: .9; }
.hero .lead { margin-bottom: 34px; }
.hero-actions { display: flex; flex-direction: column; gap: 22px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .88rem; font-weight: 600; color: var(--muted); }
.hero-note li { display: inline-flex; align-items: center; gap: 8px; }
.hero-note svg { width: 18px; height: 18px; color: var(--blue); }

.hero-visual { position: relative; min-height: 560px; display: grid; place-items: center; }
.phone {
  position: relative; width: 270px; aspect-ratio: 540 / 1168; border-radius: 42px;
  padding: 10px; background: #0b0f24; box-shadow: var(--shadow), 0 0 0 2px rgba(255,255,255,.08) inset;
}
.phone::before { content: ''; position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 76px; height: 20px; border-radius: 20px; background: #0b0f24; z-index: 2; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 33px; background: var(--bg-soft); }
.hero-visual .phone-main { z-index: 2; transform: translateZ(40px) rotate(-3deg); }
.hero-visual .phone-back { position: absolute; width: 230px; right: 2%; top: 4%; transform: translateZ(-60px) rotate(8deg); z-index: 1; }
.float-card {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm);
  font-size: .82rem; font-weight: 600; color: var(--ink); line-height: 1.3;
}
.float-card small { display: block; font-weight: 500; color: var(--muted); }
.float-card .ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.float-card .ic svg { width: 20px; height: 20px; }
.float-card.fc-1 { left: 0; top: 22%; }
.float-card.fc-1 .ic { background: #e5ecff; color: var(--blue); }
.float-card.fc-2 { right: 0; bottom: 14%; }
.float-card.fc-2 .ic { background: var(--yellow-50); color: #b07f00; }

/* ---------- Faixa de confiança ---------- */
.trust { border-block: 1px solid var(--line); background: #fff; }
.trust ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust li { display: flex; align-items: center; gap: 14px; padding: 26px 20px; font-weight: 600; color: var(--ink); font-size: .93rem; line-height: 1.35; }
.trust li + li { border-left: 1px solid var(--line); }
.trust li small { display: block; font-weight: 500; color: var(--muted); font-size: .8rem; }
.trust .ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; flex: none; background: var(--bg-soft); color: var(--blue); }
.trust .ic svg { width: 22px; height: 22px; }

/* ---------- Secções ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section.soft { background: var(--bg-soft); }
.on-blue { background: var(--blue); color: rgba(255,255,255,.82); }
.on-blue h2, .on-blue h3 { color: #fff; }
.on-blue .lead { color: rgba(255,255,255,.78); }

/* Como funciona */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { background: #fff; border-radius: var(--radius-lg); padding: 28px 28px 0; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); transition: transform .3s ease, box-shadow .3s ease; }
.step:hover { box-shadow: var(--shadow); }
.step-num { width: 44px; height: 44px; border-radius: 14px; background: var(--yellow); color: var(--blue-900); font-weight: 800; display: grid; place-items: center; margin-bottom: 20px; }
.step p { color: var(--muted); margin-top: 10px; font-size: .95rem; }
.step-shot { margin-top: 28px; margin-inline: auto; width: 74%; aspect-ratio: 540 / 760; overflow: hidden; border-radius: 26px 26px 0 0; border: 8px solid #0b0f24; border-bottom: 0; }
.step-shot img { width: 100%; height: auto; }
.step:nth-child(2) { background: var(--blue); border-color: var(--blue); }
.step:nth-child(2) h3 { color: #fff; }
.step:nth-child(2) p { color: rgba(255,255,255,.8); }

/* Serviços */
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.services-list { display: grid; gap: 14px; margin-top: 36px; }
.service {
  display: flex; align-items: center; gap: 18px; padding: 18px 22px; border-radius: 22px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  transition: background-color .25s ease, transform .25s ease;
}
.service:hover { background: rgba(255,255,255,.14); transform: translateX(6px); }
.service .ic { width: 52px; height: 52px; border-radius: 16px; background: var(--yellow); color: var(--blue-900); display: grid; place-items: center; flex: none; }
.service .ic svg { width: 26px; height: 26px; }
.service h3 { font-size: 1.06rem; }
.service p { font-size: .9rem; color: rgba(255,255,255,.72); line-height: 1.5; }
.services-visual { position: relative; display: grid; place-items: center; }
.services-visual::before { content: ''; position: absolute; width: 82%; aspect-ratio: 1; border-radius: 50%; background: var(--yellow); }
.services-visual .phone { width: 280px; transform: rotate(4deg); }
.bubble { position: absolute; z-index: 2; background: #fff; color: var(--blue); font-weight: 700; border-radius: 999px; padding: 12px 22px; box-shadow: var(--shadow-sm); font-size: .92rem; }
.bubble.b1 { left: 2%; top: 18%; }
.bubble.b2 { right: 0; bottom: 18%; background: var(--yellow); color: var(--blue-900); }

/* Funcionalidades */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { padding: 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: border-color .25s ease, transform .25s ease; }
.feature:hover { border-color: var(--blue); }
.feature .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: #e5ecff; color: var(--blue); margin-bottom: 20px; }
.feature:nth-child(even) .ic { background: var(--yellow-50); color: #b07f00; }
.feature .ic svg { width: 26px; height: 26px; }
.feature p { color: var(--muted); font-size: .94rem; margin-top: 8px; }

/* Galeria */
.gallery-wrap { position: relative; }
.gallery {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 26vw, 300px); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px clamp(16px, 4vw, 32px) 24px;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery figure { scroll-snap-align: center; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 9 / 16; background: var(--bg-soft); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery-controls { display: flex; gap: 10px; justify-content: center; margin-top: 18px; }
.gallery-controls button { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--ink); transition: background-color .2s ease, color .2s ease; }
.gallery-controls button:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.gallery-controls svg { width: 20px; height: 20px; }

/* Parceiros */
.partner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: center; background: var(--blue-900); border-radius: 40px; padding: clamp(32px, 6vw, 72px); overflow: hidden; position: relative; color: rgba(255,255,255,.8); }
.partner::after { content: ''; position: absolute; width: 420px; aspect-ratio: 1; border-radius: 50%; border: 60px solid var(--yellow); right: -180px; top: -180px; opacity: .95; }
.partner h2 { color: #fff; }
.partner .eyebrow { color: var(--yellow); }
.partner .eyebrow::before { background: #fff; }
.partner .lead { color: rgba(255,255,255,.75); margin-top: 16px; }
.partner-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.partner-actions .btn-ghost { color: #fff; }
.partner-actions .btn-ghost:hover { background: #fff; color: var(--blue-900); border-color: #fff; }
.partner-list { display: grid; gap: 14px; position: relative; z-index: 1; }
.partner-list li { display: flex; gap: 14px; padding: 18px 20px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.partner-list li strong { display: block; color: #fff; font-size: 1rem; }
.partner-list li span { font-size: .88rem; line-height: 1.5; }
.partner-list .ic { width: 28px; height: 28px; border-radius: 50%; background: var(--yellow); color: var(--blue-900); display: grid; place-items: center; flex: none; margin-top: 2px; }
.partner-list .ic svg { width: 16px; height: 16px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-aside .btn { margin-top: 28px; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: border-color .2s ease; }
.faq-item[open] { border-color: var(--blue); }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; font-weight: 700; color: var(--ink); cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .pm { width: 32px; height: 32px; border-radius: 50%; background: var(--bg-soft); flex: none; position: relative; transition: background-color .2s ease, transform .3s ease; }
.faq-item summary .pm::before, .faq-item summary .pm::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--ink); border-radius: 2px; transform: translate(-50%, -50%); }
.faq-item summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s ease; }
.faq-item[open] .pm { background: var(--yellow); transform: rotate(180deg); }
.faq-item[open] .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-item .answer { padding: 0 24px 22px; color: var(--muted); }

/* CTA download */
.cta { position: relative; overflow: hidden; border-radius: 40px; background: var(--yellow); padding: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; }
.cta h2 { color: var(--blue-900); }
.cta p { color: var(--blue-900); opacity: .8; margin: 16px 0 32px; max-width: 46ch; font-size: 1.05rem; }
.cta-mark { justify-self: center; width: min(280px, 70%); opacity: .95; transform: rotate(-8deg); }
.cta::before { content: ''; position: absolute; width: 360px; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.22); right: -80px; bottom: -160px; }

/* Contacto */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card { padding: 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; transition: border-color .2s ease, transform .2s ease; }
a.contact-card:hover { border-color: var(--blue); }
.contact-card .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--blue); color: #fff; display: grid; place-items: center; margin-bottom: 14px; }
.contact-card .ic svg { width: 22px; height: 22px; }
.contact-card span { color: var(--muted); font-size: .9rem; }
.contact-card strong { color: var(--ink); font-size: 1.06rem; word-break: break-word; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-900); color: rgba(255,255,255,.7); padding: clamp(56px, 8vw, 88px) 0 28px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.footer-brand img { height: 44px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 34ch; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer a:hover { color: var(--yellow); }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); transition: background-color .2s ease, color .2s ease; }
.socials a:hover { background: var(--yellow); color: var(--blue-900); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: .84rem; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 20px; }

/* ---------- Páginas legais ---------- */
.page-hero { padding: calc(var(--header-h) + 56px) 0 56px; background: var(--bg-soft); position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; width: 380px; aspect-ratio: 1; border-radius: 50%; background: var(--yellow); right: -140px; top: -140px; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 14px; }
.page-hero .meta { color: var(--muted); font-size: .92rem; font-weight: 500; }
.breadcrumb { display: flex; gap: 8px; font-size: .86rem; font-weight: 600; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--blue); }
.legal { display: grid; grid-template-columns: 260px 1fr; gap: clamp(32px, 5vw, 72px); padding-block: clamp(48px, 7vw, 88px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); padding: 24px; border-radius: var(--radius); background: var(--bg-soft); font-size: .9rem; }
.toc h2 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; color: var(--muted); }
.toc ol { list-style: none; display: grid; gap: 4px; counter-reset: toc; }
.toc a { display: block; padding: 6px 10px; border-radius: 8px; font-weight: 600; color: var(--ink); }
.toc a:hover { background: #fff; color: var(--blue); }
.prose { max-width: 760px; }
.prose > * + * { margin-top: 16px; }
.prose h2 { font-size: 1.5rem; margin-top: 52px; padding-top: 4px; display: flex; gap: 14px; align-items: baseline; }
.prose h2:first-child { margin-top: 0; }
.prose h2 .n { color: var(--yellow); font-size: 1rem; font-weight: 800; }
.prose h3 { font-size: 1.1rem; margin-top: 28px; }
.prose ul { padding-left: 0; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 24px; }
.prose ul li::before { content: ''; position: absolute; left: 4px; top: .68em; width: 8px; height: 8px; border-radius: 2px; background: var(--blue); }
.prose strong { color: var(--ink); }
.prose a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.note { padding: 18px 20px; border-radius: 16px; background: var(--yellow-50); border-left: 4px solid var(--yellow); color: var(--ink); font-size: .95rem; }
.note.blue { background: #eef2ff; border-color: var(--blue); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 560px; }
.prose th, .prose td { text-align: left; padding: 14px 16px; vertical-align: top; }
.prose th { background: var(--bg-soft); color: var(--ink); font-weight: 700; }
.prose tr + tr td { border-top: 1px solid var(--line); }

/* Formulário (eliminar conta) */
.form-card { padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.field { display: grid; gap: 8px; margin-top: 20px; }
.field label { font-weight: 700; color: var(--ink); font-size: .92rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); padding: 14px 16px; border-radius: 14px;
  border: 1.5px solid var(--line); background: var(--bg-soft); transition: border-color .2s ease, background-color .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.field .hint { font-size: .82rem; color: var(--muted); }
.field .error { font-size: .82rem; color: #c62828; display: none; }
.field.invalid input, .field.invalid select { border-color: #c62828; }
.field.invalid .error { display: block; }
.check { display: flex; gap: 12px; align-items: flex-start; margin-top: 24px; font-size: .92rem; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--blue); flex: none; }
.form-card .btn { margin-top: 28px; width: 100%; }
.success { text-align: center; padding: 24px 0; }
.success .ic { width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; background: var(--yellow); color: var(--blue-900); display: grid; place-items: center; }
.success .ic svg { width: 34px; height: 34px; }
.timeline { display: grid; gap: 0; margin-top: 8px; }
.timeline li { position: relative; padding: 0 0 20px 28px; }
.timeline li::before { content: ''; position: absolute; left: 0; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px var(--yellow-50); }
.timeline li::after { content: ''; position: absolute; left: 5px; top: 22px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline strong { display: block; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mini-card { padding: 20px; border-radius: 16px; background: var(--bg-soft); }
.mini-card h3 { margin-top: 0; font-size: 1rem; }
.mini-card p { font-size: .9rem; color: var(--muted); margin-top: 6px; }

/* ---------- Animações de entrada ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }
.no-js .reveal { opacity: 1; transform: none; }

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

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .menu-toggle { display: grid; }
  .hero-grid, .services-grid, .partner, .faq-grid, .cta { grid-template-columns: 1fr; }
  .hero-visual { min-height: 520px; }
  .features { grid-template-columns: 1fr 1fr; }
  .trust ul { grid-template-columns: 1fr 1fr; }
  .trust li:nth-child(3) { border-left: 0; }
  .trust li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .cta-mark { display: none; }
  .services-visual { order: -1; }
  .legal { grid-template-columns: 1fr; }
  .toc { position: static; }
}
@media (max-width: 760px) {
  .nav-cta .btn { display: none; }
  .steps, .features, .contact-grid, .grid-2 { grid-template-columns: 1fr; }
  .step-shot { width: 62%; }
  .hero-visual { min-height: 460px; }
  .phone { width: 230px; }
  .hero-visual .phone-back { width: 190px; right: -4%; }
  .float-card { font-size: .76rem; padding: 10px 12px; }
  .float-card.fc-1 { left: -4px; top: 12%; }
  .float-card.fc-2 { right: -4px; bottom: 8%; }
  .services-visual .phone { width: 230px; }
  .bubble { font-size: .8rem; padding: 10px 16px; }
  .trust ul { grid-template-columns: 1fr; }
  .trust li + li { border-left: 0; border-top: 1px solid var(--line); }
  .partner { border-radius: 28px; }
  .cta { border-radius: 28px; }
  .store-btn { flex: 1 1 180px; }
}
@media (max-width: 420px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 .underline { white-space: normal; }
}

/* Ajustes de contraste em ecrãs pequenos */
@media (max-width: 1024px) {
  .site-header { background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
  .hero::before { width: 520px; right: -300px; top: auto; bottom: 120px; }
  .page-hero::after { width: 220px; right: -120px; top: -120px; }
}

/* Botão Entrar (projecto web) */
.btn-login { gap: 8px; }
.btn-login svg { width: 18px; height: 18px; }
.mobile-menu .btn-ghost { margin-top: 24px; }
