/* seatoro.pt: the landing (index.html) and the text pages (privacidade.html, 404.html).
 * Mobile first; breakpoints at 720px and 960px.
 *
 * Landing v3 (docs/design/landing-variantes/v3/, adopted 2026-11-21, plan
 * docs/superpowers/plans/2026-11-21-landing-v3-para-site.md): GPT photo, icons and band
 * backgrounds (D1); no uppercase labels and no entrance motion, only motion that answers an
 * action (D3, D3a); no decorative lines anywhere (D5): only boxes (buttons, cards, fields) and
 * the team panel, which copies the app's screen, draw edges.
 */

/* ---------- Fonts: self-hosted WOFF2, latin + latin-ext, OFL (fonts/OFL.txt) ---------- */
/* why two files per face: Google ships latin and latin-ext as separate subsets; the browser
 * only fetches latin-ext when a glyph from its unicode-range is on the page. */

@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/nunito-700-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/nunito-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/nunito-800-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/nunito-800.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Amiko';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/amiko-400-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Amiko';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/amiko-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Amiko';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/amiko-600-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Amiko';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/amiko-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */

:root {
  /* Brand colours (closed palette, 2026-11-16). --claro is never text on white or --bazul. */
  --azul: #1e4fa3;
  --noite: #0d1a33;
  --claro: #5b8cff;
  --bazul: #eef3ff;
  --branco: #ffffff;
  /* Secondary text: 7.5:1 on white. */
  --tinta-suave: #4a5568;
  /* Edges of boxes (buttons, fields, the team panel); never a rule on its own (D5). */
  --linha: #dbe3f2;
  --noite-2: #14244a;

  --letra-titulo: 'Nunito', ui-rounded, system-ui, sans-serif;
  --letra-texto: 'Amiko', system-ui, sans-serif;

  /* Spacing scale (4px base), used by the text pages (privacidade, 404). */
  --e-2: 8px;
  --e-3: 12px;
  --e-4: 16px;
  --e-5: 24px;
  --e-6: 32px;
  --e-7: 48px;
  --e-8: 64px;

  --gutter: 16px;
  --raio: 18px;
  --raio-pequeno: 12px;
  --sombra-baixa: 0 1px 2px rgb(13 26 51 / 0.06), 0 6px 18px -8px rgb(13 26 51 / 0.14);
  --sombra-media: 0 2px 6px rgb(13 26 51 / 0.08), 0 20px 40px -18px rgb(13 26 51 / 0.28);
  --sombra-alta: 0 4px 10px rgb(13 26 51 / 0.12), 0 36px 70px -24px rgb(13 26 51 / 0.5);
  --sai: cubic-bezier(0.16, 1, 0.3, 1);
  /* Header row height: 72px on phones, 84px from 720px, 96px from 960px (the logo grew on
   * 2026-11-18: 34, 38 and 44px tall). The hero and the anchor targets read it. */
  --topo-altura: 72px;

  color-scheme: light;
  accent-color: var(--azul);
}

@media (min-width: 720px) {
  :root { --gutter: 32px; --topo-altura: 84px; }
}
@media (min-width: 960px) {
  :root { --topo-altura: 96px; }
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html {
  overflow-x: clip;
  scroll-behavior: smooth;
  /* Anchor targets land below the sticky header (from 720px; on phones it scrolls away). */
  scroll-padding-top: 12px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (min-width: 720px) {
  html { scroll-padding-top: calc(var(--topo-altura) + 12px); }
}
body {
  margin: 0;
  background: var(--branco);
  color: var(--noite);
  font-family: var(--letra-texto);
  font-size: 16px;
  line-height: 1.6;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--azul); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
::selection { background: var(--azul); color: var(--branco); }
:focus-visible { outline: 3px solid var(--azul); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--letra-titulo); font-weight: 800; text-wrap: balance; letter-spacing: -0.015em; }
h2 { font-size: clamp(30px, 4.2vw, 44px); line-height: 1.1; }
h3 { font-size: 19px; line-height: 1.25; font-weight: 800; }
p { text-wrap: pretty; }

/* Text for screen readers and text-only views, hidden on screen. */
.so-leitor { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.formas { position: absolute; width: 0; height: 0; }
.moldura { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --fundo: var(--noite);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 1.5px solid var(--fundo);
  border-radius: 999px;
  background: var(--fundo);
  color: var(--branco);
  font-family: var(--letra-titulo);
  font-weight: 800;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  box-shadow: 0 1px 2px rgb(13 26 51 / 0.12);
  transition: transform 200ms var(--sai), box-shadow 220ms var(--sai), background-color 200ms ease-out, border-color 200ms ease-out, color 200ms ease-out;
}
/* The sheen: a soft light band that sweeps across the pill on hover (motion that answers an
   action, so it stays under D3). */
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgb(255 255 255 / 0.22) 48%, transparent 66%);
  transform: translateX(-120%);
  transition: transform 0ms;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgb(13 26 51 / 0.12), 0 14px 28px -12px rgb(13 26 51 / 0.45);
}
.btn:hover::before { transform: translateX(120%); transition: transform 650ms var(--sai); }
.btn:active { transform: translateY(0) scale(0.97); transition-duration: 90ms; box-shadow: 0 1px 2px rgb(13 26 51 / 0.2); }
.btn:focus-visible { outline: 3px solid var(--claro); outline-offset: 3px; border-radius: 999px; }

.btn__seta { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; transition: transform 220ms var(--sai); }
.btn:hover .btn__seta { transform: translateX(4px); }
.btn__play { width: 14px; height: 14px; flex: none; fill: currentColor; transition: transform 220ms var(--sai); }
.btn:hover .btn__play { transform: scale(1.15); }

.btn--claro {
  --fundo: var(--branco);
  border-color: var(--linha);
  color: var(--noite);
}
.btn--claro::before { background: linear-gradient(105deg, transparent 30%, rgb(30 79 163 / 0.08) 48%, transparent 66%); }
.btn--claro:hover { border-color: var(--azul); }
.btn--pequeno { min-height: 44px; padding: 0 20px; font-size: 15px; }

/* ---------- Block 0: header (every page) ---------- */
/* Sticky from 720px. See-through at the top of the page (from 960px the hero photo runs under
   it); once the page scrolls, js/topo.js sets data-rolado: white, blurred, a soft shadow. No
   rule under it (D5). Without JavaScript it stays white, so it never sits see-through over
   text. why not sticky on phones: there the header row is the logo and an email button, and
   the mobile email bar (D4) takes over once it scrolls away; a sticky one would put two email
   buttons on every phone screen. */
.topo {
  position: relative;
  z-index: 50;
  transition: background-color 250ms ease-out, box-shadow 250ms ease-out;
}
@media (min-width: 720px) {
  .topo { position: sticky; top: 0; }
}
html:not(.js) .topo { background: var(--branco); }
.topo[data-rolado] {
  background: rgb(255 255 255 / 0.9);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 10px 30px -18px rgb(13 26 51 / 0.35);
}
.topo__linha { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--topo-altura); }
/* Tiago, 2026-11-18: a bigger logo, so the brand reads at a glance: 34px on phones, 38px from
   720px, 44px from 960px. why padding: a 44px tap target around the logo, without moving it. */
.topo__marca { display: block; flex: none; padding-block: 5px; border-radius: 6px; }
.topo__marca img { height: 34px; width: auto; }

.topo__nav { display: flex; align-items: center; gap: 16px; }
.topo__ancora {
  /* On phones the anchors give way to the email button; the page is short enough to scroll. */
  display: none;
  align-items: center;
  min-height: 44px;
  font-family: var(--letra-titulo);
  font-weight: 700;
  font-size: 15px;
  color: var(--noite);
  text-decoration: none;
  border-radius: 999px;
  transition: color 180ms ease-out;
}
/* A plain underline on hover (the link's own affordance, not a drawn bar, D5). */
.topo__ancora:hover { color: var(--azul); text-decoration: underline; text-decoration-thickness: 1.5px; }
.topo__ancora[aria-current='true'] { color: var(--azul); }

/* The narrowest phones (under 360px): a slightly smaller logo, so it and the one-line header
   button fit side by side. */
@media (max-width: 359.98px) {
  .topo__marca img { height: 30px; }
  .topo__marca { padding-block: 7px; }
  /* why two classes: .btn--pequeno sets the padding too. */
  .topo__nav .topo__email { padding-inline: 14px; }
}
@media (min-width: 720px) {
  .topo__linha { gap: 24px; }
  .topo__marca img { height: 38px; }
  .topo__ancora { display: inline-flex; }
  /* The anchors follow the logo; the email button keeps the right edge. */
  .topo__nav { flex: 1; }
  .topo__email { margin-left: auto; }
}
@media (min-width: 960px) {
  .topo__marca img { height: 44px; }
  .topo__nav { gap: 4px; }
  .topo__ancora { padding: 0 12px; }
}

/* ---------- Block 1: the hero ---------- */
.abertura { position: relative; padding-block: 20px 0; }
.abertura__grelha { display: grid; gap: 32px; }
.abertura__texto { position: relative; z-index: 2; }

.abertura h1 { display: grid; gap: 0; }
/* The h1's first line is the page's subject in plain words (the search phrase). D3a: it stays
   for SEO, in normal letters (no capitals, no wide spacing), small and azul above the
   headline; never smaller than the body text. */
.abertura__assunto {
  margin-bottom: 10px;
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: normal;
  color: var(--azul);
}
.abertura__frase {
  /* why 36px at the least: the display headline's floor on phones (render test). */
  font-size: clamp(36px, 8.4vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.025em;
}
/* The paragraph groups with the headline (16px, 24px from 960px); the buttons sit further. */
.abertura__site { margin-top: 16px; max-width: 27em; font-size: 17px; color: var(--tinta-suave); }
.abertura__acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.garantias { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-size: 14px; color: var(--tinta-suave); }
.garantias li { display: inline-flex; align-items: center; gap: 8px; min-height: 28px; }
.garantias svg { width: 16px; height: 16px; flex: none; fill: none; stroke: var(--azul); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* The stage: photo frame, the phone standing on the table. Still (D3: no entrance motion). */
.palco {
  position: relative;
  display: grid;
  justify-items: center;
  padding: 44px 0 28px;
}
/* The dining-room photo (img/hero-sala), clipped by the organic frame. */
.palco__foto {
  position: absolute;
  inset: 0 calc(-1 * var(--gutter));
  clip-path: url(#forma-estreita);
  background: #dfe3e6;
}
.palco__foto img {
  width: 100%; height: 100%;
  object-fit: cover;
  /* why 30% 70%: keeps the candle and the marble table edge in frame at every width. */
  object-position: 30% 70%;
}

.telemovel {
  position: relative;
  padding: 8px;
  border-radius: 38px;
  background: linear-gradient(145deg, #23345a, var(--noite) 45%);
  box-shadow: var(--sombra-alta), inset 0 0 0 1.5px rgb(255 255 255 / 0.08);
}
.telemovel--hero { width: min(250px, 66vw); z-index: 1; }
/* The still screen ends at «Continuar», like the design, so it is shorter than a real
   390x844 screen. */
.telemovel--hero .ecra { aspect-ratio: 9 / 15; }
.ecra {
  position: relative;
  aspect-ratio: 390 / 844;
  overflow: hidden;
  border-radius: 30px;
  background: var(--branco);
  container-type: inline-size;
}
.ecra img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
/* The live widget scrolls inside the screen, like on a real phone. Hidden until mounted, so
   the fallback image shows while it loads and when it fails (js/site.js). */
.widget-host { position: absolute; inset: 0; overflow-y: auto; visibility: hidden; }
#widget-demo[data-widget='vivo'] .widget-host { visibility: visible; }
#widget-demo[data-widget='vivo'] .ecra__reserva { display: none; }

/* The still widget screen on the hero phone. Sized in cqi (1% of the screen width), so the
   same markup scales to any phone size. */
.mock {
  --mare: #1f5c63;
  --mare-campo: #e8f0ef;
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  padding: 9cqi 7cqi 7cqi;
  font-family: var(--letra-titulo);
  font-size: 4.6cqi;
  color: var(--noite);
}
.mock__topo { display: flex; align-items: center; gap: 3.5cqi; margin-bottom: 6cqi; }
.mock__logo {
  display: grid; place-items: center;
  width: 9cqi; height: 9cqi; border-radius: 2.4cqi;
  background: var(--noite); color: var(--branco);
  font-weight: 800; font-size: 4.4cqi;
}
.mock__nome { font-weight: 800; font-size: 5.4cqi; }
.mock__lingua {
  margin-left: auto; padding: 1cqi 3cqi;
  border: 1px solid var(--linha); border-radius: 999px;
  font-weight: 700; font-size: 3.4cqi;
}
.mock__lingua::after { content: ' ⌄'; }
.mock__campo {
  display: flex; align-items: center; gap: 3cqi;
  margin-bottom: 3.4cqi; padding: 3.4cqi 4cqi;
  border-radius: 3cqi;
  background: var(--mare-campo);
  font-weight: 700; font-size: 4.2cqi;
}
.mock__campo::before {
  content: ''; width: 4.6cqi; height: 4.6cqi; flex: none;
  background: no-repeat center / contain;
}
.mock__campo::after { content: '⌄'; margin-left: auto; opacity: 0.6; }
.mock__campo--pessoas::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d1a33' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E"); }
.mock__campo--dia::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d1a33' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3.5' y='5' width='17' height='15' rx='2.5'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
.mock__rotulo { margin: 3cqi 0 3cqi; font-weight: 700; font-size: 3.8cqi; color: var(--tinta-suave); }
.mock__horas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.6cqi; }
.mock__horas li {
  padding: 2.6cqi 0;
  border: 1px solid var(--linha); border-radius: 2.4cqi;
  background: var(--branco);
  font-weight: 700; font-size: 3.8cqi; text-align: center;
  font-variant-numeric: tabular-nums;
}
.mock__horas .mock__hora-escolhida { border-color: var(--mare); background: var(--mare); color: var(--branco); }
.mock__botao {
  margin-top: auto; padding: 4.2cqi 0;
  border-radius: 3.4cqi;
  background: var(--mare); color: var(--branco);
  font-weight: 800; font-size: 4.6cqi; text-align: center;
}

/* ---------- The facts strip ---------- */
/* No rules above, below or between the facts (D5): space and the icons set them apart. */
.factos { background: var(--branco); }
.factos__lista { display: grid; grid-template-columns: 1fr 1fr; }
.factos__lista li { display: flex; align-items: center; gap: 12px; padding: 18px 8px 18px 0; }
.factos__lista p { display: grid; font-size: 13.5px; line-height: 1.3; color: var(--tinta-suave); }
.factos__lista strong { font-family: var(--letra-titulo); font-weight: 800; font-size: 19px; color: var(--noite); }

/* The GPT icons (img/icones, blue on transparent). */
.icone { display: block; flex: none; }
.factos__lista .icone { width: 30px; height: 30px; }
.recursos__icone .icone { width: 26px; height: 26px; }

/* ---------- Block 2: try a booking (the live widget, D2) ---------- */
.demo { padding-block: 72px; background: var(--branco); }
.demo__grelha { display: grid; gap: 40px; align-items: start; }
.demo__intro { margin-top: 16px; color: var(--tinta-suave); max-width: 30em; }
/* The three steps as numbered captions: an azul number disc and the text, no card (D2). */
.demo__passos { display: grid; gap: 20px; margin-top: 28px; }
.demo__passos li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; }
.demo__n {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--azul); color: var(--branco);
  font-family: var(--letra-titulo); font-weight: 800; font-size: 16px;
}
.demo__passos h3 { font-size: 18px; padding-top: 5px; }
.demo__passos p { margin-top: 4px; font-size: 15px; color: var(--tinta-suave); max-width: 34em; }
.demo__seguir a { font-family: var(--letra-titulo); font-weight: 800; }
.demo__nota { margin-top: 24px; font-size: 14.5px; color: var(--tinta-suave); max-width: 30em; }
.demo__acao { display: grid; justify-items: start; gap: 12px; margin-top: 24px; }
.demo__acao p { font-family: var(--letra-titulo); font-weight: 800; font-size: 18px; }
/* The phone on a soft blue round, with the real bull faint behind it (as in the bands). */
.demo__palco {
  position: relative;
  display: grid; justify-items: center;
  padding: 36px 0;
  isolation: isolate;
}
.demo__palco::before {
  content: '';
  position: absolute; z-index: -1;
  left: 50%; top: 50%;
  width: min(560px, 100%); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, #cddcff, #e3ebff 70%, rgb(238 243 255 / 0));
}
.demo__palco::after {
  content: '';
  position: absolute; z-index: -1;
  left: 50%; top: 50%;
  width: min(420px, 90%); aspect-ratio: 1;
  transform: translate(-50%, -50%) rotate(-8deg);
  background: url('../marca/simbolo/seatoro-simbolo-claro.svg') center / contain no-repeat;
  opacity: 0.12;
}
/* why the svh cap: a 390x844 screen is taller than most laptop viewports; the phone shrinks
   so the whole widget stays in view under the header while the reader books. */
.telemovel--demo { width: min(310px, calc((100svh - 220px) * 0.462 + 16px)); }

/* ---------- Block 3: what the team sees ---------- */
/* A soft white-to-blue fade, so it reads apart from the white block 2 above without a rule. */
.equipa { padding-block: 72px; background: linear-gradient(180deg, var(--branco), #f5f8ff); }
.equipa__grelha { display: grid; gap: 32px; }
/* The team's day list on a computer: a side menu and the list, in one white card. Its lines
   stay (D5): they copy the backoffice's own screen. */
.painel {
  display: grid; grid-template-columns: minmax(0, 0.5fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--linha);
  border-radius: 16px;
  background: var(--branco);
  box-shadow: var(--sombra-media);
  font-family: var(--letra-titulo);
}
.painel__lado { padding: 18px 12px; border-right: 1px solid var(--linha); }
.painel__marca { display: flex; align-items: center; gap: 8px; margin: 0 4px 16px; font-weight: 800; font-size: 14px; }
.painel__marca .mock__logo { width: 24px; height: 24px; border-radius: 6px; font-size: 12px; }
.painel__menu { display: grid; gap: 4px; }
.painel__menu li { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 8px; font-weight: 700; font-size: 12.5px; line-height: 1.2; white-space: nowrap; color: var(--tinta-suave); }
.painel__menu svg { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.painel__menu .painel__ativo { background: var(--azul); color: var(--branco); }
.painel__dia { padding: 18px 16px; }
.painel__data { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; font-weight: 800; font-size: 13.5px; }
.painel__seta { color: var(--tinta-suave); font-size: 18px; line-height: 1; }
.painel__lista li {
  display: grid; grid-template-columns: 3.4em 1fr auto; align-items: center; gap: 10px;
  padding: 10px 8px;
  border-top: 1px solid var(--linha);
  font-size: 13px;
}
.painel__lista b { font-weight: 800; font-variant-numeric: tabular-nums; }
.painel__lista span { color: var(--tinta-suave); }
.painel__lista em {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 8px; border-radius: 999px;
  background: #e7f6ec; color: #1d6b3a;
  font-style: normal; font-weight: 700; font-size: 11.5px;
}
.painel__lista em::before { content: '✓'; }
.painel__lista .painel__nova { border-radius: 8px; border-top-color: transparent; background: var(--bazul); }
.painel__lista .painel__nova + li { border-top-color: transparent; }
/* why hide the side menu on phones and from 960 to 1199px (three tight columns): there it
   would squeeze the list and overlap it; the day list alone is what the section is about. */
@media (max-width: 559.98px), (min-width: 960px) and (max-width: 1199.98px) {
  .painel { grid-template-columns: minmax(0, 1fr); }
  .painel__lado { display: none; }
}
.equipa__lista { display: grid; gap: 16px; align-content: center; }
.equipa__lista li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 16px; line-height: 1.45; }
.equipa__lista svg { width: 22px; height: 22px; margin-top: 1px; }
.equipa__lista circle { fill: var(--azul); }
.equipa__lista path { fill: none; stroke: var(--branco); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Block 4: with or without a site ---------- */
/* The light azul band (Tiago, 2026-11-18: the site offer must stand out). */
.plataforma { background: var(--bazul); padding-block: 72px; }
.plataforma__grelha { display: grid; gap: 44px; }
.plataforma__texto > p { margin-top: 16px; color: var(--tinta-suave); max-width: 32em; }
.aparelhos { position: relative; max-width: 600px; justify-self: center; width: 100%; }
/* why scale 1.12: the mockup has transparent margins around the devices. */
/* why scale only from 720px: on phones the column is the full width, and the scaled
   image ran 5px past the screen edge (measured at 320, 360 and 390px). */
.aparelhos__img { width: 100%; height: auto; }
@media (min-width: 720px) { .aparelhos__img { transform: scale(1.12); } }
.recursos { display: grid; gap: 26px; }
.recursos li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.recursos__icone { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--branco); box-shadow: var(--sombra-baixa); }
.recursos h3 { font-size: 18px; }
.recursos p { margin-top: 4px; font-size: 15px; color: var(--tinta-suave); }
.recursos .recursos__preco { color: var(--noite); }
.recursos__preco strong { font-family: var(--letra-titulo); font-weight: 800; font-size: 18px; }
.recursos__btn { margin-top: 12px; }

/* ---------- Block 5: the price band ---------- */
.preco {
  position: relative;
  overflow: hidden;
  padding-block: 72px;
  /* GPT background (img/fundo-preco): silky light waves, calmer on the left.
     why 100% 100% and not cover: the band is about 5:1 and the image 3:2, so cover kept
     only the middle strip and cut both waves off; the soft waves stretch without showing it. */
  background: var(--azul) url('../img/fundo-preco.webp') center / 100% 100% no-repeat;
  color: var(--branco);
}
/* The real Seatoro bull, large and faint, cropped by the right edge (as in the dark band). */
.preco::after {
  content: '';
  position: absolute;
  right: -4%; top: 50%;
  width: min(460px, 60vw); aspect-ratio: 1;
  transform: translateY(-50%) rotate(-8deg);
  background: url('../marca/simbolo/seatoro-simbolo-branco.svg') center / contain no-repeat;
  opacity: 0.07;
  pointer-events: none;
}
.preco ::selection { background: var(--branco); color: var(--azul); }
.preco__grelha { position: relative; z-index: 1; display: grid; gap: 32px; }
.preco__texto h2 { color: var(--branco); }
.preco__texto > p { margin-top: 14px; color: #dbe6ff; max-width: 26em; }
.conta {
  display: grid; gap: 24px;
  padding: 28px 24px;
  border-radius: 22px;
  background: var(--branco);
  color: var(--noite);
  box-shadow: 0 30px 60px -28px rgb(5 12 30 / 0.65);
}
.conta ::selection { background: var(--azul); color: var(--branco); }
.conta__cartaz { display: grid; }
/* The billboard «39 €»: 96px from 600px wide (the 2026-11-18 billboard scale). */
.conta__grande { font-family: var(--letra-titulo); font-weight: 800; font-size: clamp(64px, 16vw, 96px); line-height: 0.95; letter-spacing: -0.03em; }
.conta__unidade { margin-top: 8px; font-family: var(--letra-titulo); font-weight: 700; font-size: 16px; color: var(--tinta-suave); }
.conta__unidade strong { color: var(--noite); }
/* A checklist: «label: value» on one line each, a blue tick before, no rule beside (D5). */
.conta__linhas { display: grid; gap: 10px; }
.conta__linhas li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.4; color: var(--tinta-suave); }
.conta__linhas li::before {
  content: ''; position: absolute; left: 0; top: 0.2em; width: 14px; height: 14px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 8.5 3 3 7-7' fill='none' stroke='%231e4fa3' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.conta__linhas strong { font-family: var(--letra-titulo); font-weight: 800; color: var(--noite); white-space: nowrap; }
.conta__btn { justify-self: start; }
/* Narrow phones: a smaller row text keeps «Instalação e configuração: incluídas» on one line. */
@media (max-width: 399.98px) {
  .conta { padding: 24px 18px; }
  .conta__linhas li { font-size: 14px; }
}

/* ---------- Block 6: «Feita no Porto» (D4) ---------- */
.quem { padding-block: 72px 0; }
.quem__grelha { display: grid; gap: 12px; }
.quem h2 { font-size: clamp(34px, 5vw, 56px); line-height: 1.02; letter-spacing: -0.03em; }
.quem p { font-size: clamp(18px, 2vw, 24px); line-height: 1.4; max-width: 34em; color: var(--tinta-suave); }

/* ---------- Block 7: questions ---------- */
.perguntas { padding-block: 72px; }
.perguntas__grelha { display: grid; gap: 32px; }
.perguntas__texto > p { margin-top: 14px; color: var(--tinta-suave); max-width: 22em; }
/* No rules (D5): each question is a light azul field, with space between them. */
.perguntas__lista { display: grid; gap: 10px; }
.perguntas details { border-radius: 14px; background: var(--bazul); }
.perguntas summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 56px; padding: 12px 18px;
  font-family: var(--letra-titulo); font-weight: 800; font-size: 16px; line-height: 1.3;
  cursor: pointer; list-style: none;
  border-radius: 14px;
  transition: color 180ms ease-out;
}
.perguntas summary::-webkit-details-marker { display: none; }
.perguntas summary:hover { color: var(--azul); }
.sinal { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; background: transparent; transition: transform 280ms var(--sai), background-color 200ms ease-out; }
.sinal::before, .sinal::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--azul); transition: transform 280ms var(--sai); }
.sinal::after { transform: rotate(90deg); }
details[open] .sinal { transform: rotate(45deg); background: var(--azul); }
details[open] .sinal::before, details[open] .sinal::after { background: var(--branco); }
.resposta p { padding: 0 48px 18px 18px; color: var(--tinta-suave); max-width: 60ch; }
/* The answer opens with an animated height where the browser supports it (motion that
   answers the click, so it stays under D3). */
@supports (interpolate-size: allow-keywords) {
  .perguntas { interpolate-size: allow-keywords; }
  .perguntas details::details-content {
    block-size: 0; overflow: hidden; opacity: 0;
    transition: block-size 320ms var(--sai), opacity 240ms ease-out, content-visibility 320ms allow-discrete;
  }
  .perguntas details[open]::details-content { block-size: auto; opacity: 1; }
}

/* ---------- Block 8: the closing and the footer (one dark band, every page) ---------- */
/* The dark band: GPT waves (img/fundo-fecho) plus the real Seatoro bull, large and faint,
   cropped by the right edge. why the bull in CSS and not in the GPT image: the brand symbol
   must be exact, and an image model redraws logos loosely. */
.faixa-escura {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--noite) url('../img/fundo-fecho.webp') center / cover no-repeat;
  color: var(--branco);
}
.faixa-escura::before {
  content: '';
  position: absolute; z-index: -1;
  right: -6%; top: 50%;
  width: min(560px, 70vw); aspect-ratio: 1;
  transform: translateY(-50%) rotate(-8deg);
  background: url('../marca/simbolo/seatoro-simbolo-branco.svg') center / contain no-repeat;
  opacity: 0.05;
  pointer-events: none;
}
.faixa-escura ::selection { background: var(--branco); color: var(--noite); }
.fecho { padding-block: 64px 24px; }
.fecho__grelha { display: grid; gap: 28px; align-items: center; }
.fecho__titulo { font-size: clamp(30px, 4vw, 40px); line-height: 1.12; max-width: 14em; color: var(--branco); }
.contactos { display: grid; gap: 12px; }
.contacto {
  display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center;
  padding: 14px 18px;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 16px;
  background: var(--noite-2);
  color: var(--branco);
  text-decoration: none;
  transition: transform 220ms var(--sai), background-color 200ms ease-out, border-color 200ms ease-out, box-shadow 220ms var(--sai);
}
.contacto:hover { transform: translateY(-3px); background: #1a2d5a; border-color: rgb(207 220 255 / 0.35); box-shadow: 0 18px 30px -18px rgb(0 0 0 / 0.7); }
.contacto:active { transform: translateY(0) scale(0.98); }
.contacto:focus-visible { outline-color: var(--claro); border-radius: 16px; }
.contacto__icone { grid-row: span 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--azul); }
.contacto__icone svg { width: 22px; height: 22px; fill: none; stroke: var(--branco); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contacto__rotulo { font-size: 13px; color: #b9c7e6; }
.contacto__valor { font-family: var(--letra-titulo); font-weight: 800; font-size: 18px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

/* The footer: white links keep a quiet underline (WCAG 1.4.1: they differ from the plain
   lines by more than colour). No rules (D5). */
.rodape { color: #c9d4ec; font-size: 14px; line-height: 1.8; padding-block: 32px 40px; }
.rodape__grelha { display: grid; gap: 18px; }
.rodape__marca { width: 116px; height: auto; }
.rodape a { color: var(--branco); text-decoration-color: rgb(255 255 255 / 0.45); }
.rodape a:hover { text-decoration-color: currentColor; }
.rodape a[href^='tel:'] { font-variant-numeric: tabular-nums; }
.faixa-escura :focus-visible { outline-color: var(--claro); }

/* ---------- The email window (js/email.js, every page) ---------- */
.janela-email {
  width: min(420px, calc(100vw - 2 * var(--gutter)));
  max-width: none; padding: 0; border: 0; border-radius: 22px;
  background: var(--branco); color: var(--noite); box-shadow: var(--sombra-alta);
}
.janela-email::backdrop { background: rgb(13 26 51 / 0.55); backdrop-filter: blur(3px); }
/* The page behind stays still while the window is open, so closing it returns the visitor to
   the same place (and the mobile bar cannot change under it). */
html:has(.janela-email[open]) { overflow: hidden; }
.janela-email__caixa { position: relative; display: grid; gap: 16px; padding: 28px 22px 22px; }
.janela-email__titulo { padding-right: 48px; font-size: 26px; line-height: 1.15; }
.janela-email__fechar { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--noite); cursor: pointer; transition: background-color 180ms ease-out; }
.janela-email__fechar:hover { background: var(--bazul); }
.janela-email__fechar svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; }
/* The visitor may select the address by hand when the clipboard is blocked. */
.janela-email__endereco { padding: 16px; border-radius: var(--raio-pequeno); background: var(--bazul); font-family: var(--letra-titulo); font-weight: 800; font-size: 22px; line-height: 1.2; text-align: center; overflow-wrap: anywhere; user-select: all; }
.janela-email__acoes { display: grid; gap: 10px; }
.janela-email__acoes .btn { width: 100%; }

/* ---------- Mobile email bar (under 720px, the landing only) ---------- */
.barra { display: none; }
@media (max-width: 719.98px) {
  .barra {
    display: block;
    position: fixed;
    inset: auto 0 0;
    z-index: 40;
    padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
    background: var(--branco);
    /* A soft shadow above the bar, not a rule (D5). */
    box-shadow: 0 -10px 24px -14px rgb(13 26 51 / 0.35);
  }
  .barra__btn { width: 100%; }
  /* why: keyboard focus scrolled into view must land above the fixed bar, never under it
     (WCAG 2.4.11). Bar height 76px plus a little air. */
  html { scroll-padding-bottom: calc(76px + 16px + env(safe-area-inset-bottom)); }
  /* Hidden: slid below the screen and out of the tab order (visibility). */
  body[data-barra='oculta'] .barra { transform: translateY(100%); visibility: hidden; }
  /* why the footer reserves the bar's height: where the bar cannot hide (no observer), the
     footer's last line still ends above it. */
  .rodape { padding-bottom: calc(40px + 76px + env(safe-area-inset-bottom)); }
  .legal .rodape { padding-bottom: 40px; }
}
@media (max-width: 719.98px) and (prefers-reduced-motion: no-preference) {
  .barra { transition: transform 220ms var(--sai), visibility 0ms linear 0ms; }
  body[data-barra='oculta'] .barra { transition: transform 220ms var(--sai), visibility 0ms linear 220ms; }
}

/* ---------- Text pages (body.legal: privacidade, 404) ---------- */
/* Sections are separated by space only (D5: no hairlines between them). */
.bloco { padding-block: var(--e-7); }
.bloco + .bloco { padding-top: 0; }
.bloco__grelha { display: grid; gap: var(--e-5); }
.bloco__titulo {
  font-family: var(--letra-titulo);
  font-weight: 800;
  font-size: clamp(1.75rem, 1.35rem + 1.8vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.bloco__texto { display: grid; gap: var(--e-4); max-width: 60ch; text-wrap: pretty; }
.legal main { padding-bottom: var(--e-7); }
/* why a full-height column: the 404 page is short, and the dark footer must reach the bottom of
   the window instead of leaving a white strip under it. */
body.legal { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; }
.legal main { flex: 1 0 auto; }
.legal h1.bloco__titulo { font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3rem); }
.legal__data { color: var(--tinta-suave); font-size: 15px; }
/* Question-style lead-ins inside the campaign section. */
.legal .bloco__texto h3 { font-family: var(--letra-titulo); font-weight: 700; font-size: 18px; line-height: 1.3; margin-top: var(--e-3); }
.legal .bloco__texto h3:first-child { margin-top: 0; }
.legal .bloco__texto a { overflow-wrap: anywhere; }
.legal__dados { margin: 0; display: grid; gap: var(--e-2); }
/* why 8.5rem: the widest label, «Livro de Reclamações», is 117px at 18px (it spilled out of 6.5rem). */
.legal__dados div { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: var(--e-3); }
.legal__dados dt { color: var(--tinta-suave); }
.legal__dados dd { margin: 0; }
.legal__dados a[href^='tel:'] { font-variant-numeric: tabular-nums; }
.legal__lista { display: grid; gap: var(--e-3); }

/* ---------- 720px ---------- */
@media (min-width: 720px) {
  .factos__lista { grid-template-columns: repeat(4, 1fr); }
  .factos__lista li { padding: 22px 0; }
  .contactos { grid-template-columns: 1fr 1fr; }
  .rodape__grelha { grid-template-columns: auto 1fr 1fr; align-items: start; gap: 18px 32px; }
  .rodape__marca { grid-row: span 2; margin-top: 6px; }
  .conta { padding: 32px; }
}

/* ---------- 960px: two columns ---------- */
@media (min-width: 960px) {
  body { font-size: 17px; }
  /* The hero runs under the see-through header, so the photo reaches the top of the page. */
  .abertura { padding-block: 0; margin-top: calc(-1 * var(--topo-altura)); }
  .abertura__grelha { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 24px; min-height: 660px; align-items: center; }
  .abertura__texto { padding-block: calc(var(--topo-altura) + 36px) 56px; }
  .abertura__assunto { font-size: 18px; }
  .abertura__site { margin-top: 24px; font-size: 18px; }
  .abertura__acoes { margin-top: 36px; }

  .palco { align-self: stretch; padding: calc(var(--topo-altura) + 20px) 0 40px; align-content: center; perspective: 1400px; }
  /* The frame bleeds to the right edge and the top of the page. */
  .palco__foto {
    inset: 0 calc((100vw - min(1200px, 100vw - 2 * var(--gutter))) / -2) 0 -14%;
    clip-path: url(#forma-larga);
  }
  /* The phone stands on the marble table, left of centre, turned a little towards the reader
     as in the design: a still 3D turn plus a thicker right edge (the box-shadow). */
  .telemovel--hero {
    width: 260px; justify-self: start; margin-left: 18%;
    transform: rotateY(-16deg) rotateX(4deg) rotateZ(3deg);
    transform-origin: 50% 100%;
    box-shadow:
      7px 4px 0 -1px #0a1428,
      var(--sombra-alta),
      inset 0 0 0 1.5px rgb(255 255 255 / 0.08);
  }

  /* Block 2: the captions left, the phone right, both from the top. why less padding: the
     whole phone must be in view below the sticky header even on a 600px-tall laptop. */
  .demo { padding-block: 40px 64px; }
  .demo__grelha { grid-template-columns: 1fr 1fr; gap: 64px; }
  .demo__palco { padding: 12px 0; }

  .equipa__grelha { grid-template-columns: 0.7fr 1.4fr 1fr; align-items: center; gap: 44px; }
  .plataforma__grelha { grid-template-columns: 0.9fr 1.25fr 1fr; align-items: center; gap: 40px; }
  .preco__grelha { grid-template-columns: 0.62fr 1.6fr; align-items: center; gap: 40px; }
  .conta { grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; padding: 30px 32px; }
  .conta__linhas li { white-space: nowrap; }
  .quem { padding-block: 96px 0; }
  .perguntas { padding-block: 80px 96px; }
  .perguntas__grelha { grid-template-columns: 0.8fr 1.4fr; gap: 64px; align-items: start; }
  .fecho__grelha { grid-template-columns: 1fr 1.4fr; gap: 40px; }
  .rodape__grelha { grid-template-columns: auto 1fr 1fr 1fr; align-items: start; }
  .rodape__marca { grid-row: auto; }

  .legal .bloco { padding-block: var(--e-8); }
  .legal .bloco + .bloco { padding-top: 0; }
  .legal h1.bloco__titulo { font-size: 56px; }
  .bloco__grelha { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--e-8); align-items: start; }
  .bloco__titulo { font-size: 40px; }
}

/* 960-1199px: the card is too narrow for price, rows and button in one row (the button ran
   past the card's edge at 1024), so the button goes under them. */
@media (min-width: 960px) and (max-width: 1199.98px) {
  .conta { grid-template-columns: auto 1fr; }
  .conta__btn { grid-column: 1 / -1; }
}

@media (min-width: 1200px) {
  .telemovel--hero { width: 270px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
  .btn:hover, .contacto:hover { transform: none; }
  .btn:hover::before { transform: translateX(-120%); }
  .btn:hover .btn__seta, .btn:hover .btn__play { transform: none; }
}
