/* ==========================================================================
   1.ª Conferência Gestão de Frotas Comerciais — v5 · "Claro e escuro"
   Evolução da v8.

   Princípios seguidos:
   - Apple (Liquid Glass): o "vidro" fica só na camada de navegação e de
     controlos; o conteúdo vive em superfícies sólidas. Cantos concêntricos.
   - Google (Material 3 Expressive): destaque das ações-chave por cor, forma
     e tamanho; contentores claros; variedade de formas; movimento de mola.
   - Web: tema claro e escuro, contraste AA, alvos de toque de 44 px ou mais,
     respeito por movimento/transparência reduzidos, zero bibliotecas.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

.c9 {
  color-scheme: light;

  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Chivo Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --gutter: clamp(1rem, 4vw, 2.5rem);
  --max: 1240px;

  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 40px;

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --spring: cubic-bezier(0.3, 1.45, 0.45, 1);

  /* Marca */
  --accent: #f29200;
  --accent-hover: #ffa320;
  --on-accent: #0f1419;
  --on-accent-soft: #3a2600;

  /* Tema claro */
  --bg: #f6f4ef;
  --bg-fade: rgba(246, 244, 239, 0.9);
  --tint: #ece9e1;
  --surface: #ffffff;
  --surface-2: #efece5;
  --surface-3: #e3dfd6;
  --field-bg: #ffffff;
  --ink: #0f1419;
  --text: #1c222b;
  --muted: #4c5562;
  --faint: #616a76;
  --line: rgba(15, 20, 25, 0.13);
  --line-strong: rgba(15, 20, 25, 0.42);
  --hover: rgba(15, 20, 25, 0.07);
  --accent-text: #8a4f00;
  --accent-container: #ffe3b8;
  --on-accent-container: #3b2400;
  --on-accent-container-muted: #5c4318;
  --feature-inset: rgba(255, 255, 255, 0.6);
  --inverse: #0f1419;
  --on-inverse: #f3f5f8;
  --on-inverse-muted: #aab3be;
  --inverse-line: rgba(255, 255, 255, 0.16);
  --btn-ink-bg: #0f1419;
  --btn-ink-fg: #ffffff;
  --warn-bg: #fde3df;
  --warn-fg: #8f1d14;
  --danger: #b3261e;
  --glass: rgba(255, 255, 255, 0.74);
  --glass-line: rgba(15, 20, 25, 0.1);
  --glass-rim: rgba(255, 255, 255, 0.7);
  --glass-shadow: rgba(15, 20, 25, 0.28);
  --plan-bg: #f3f0e9;
  --plan-grid: rgba(15, 20, 25, 0.1);
  --plan-stand: rgba(242, 146, 0, 0.26);
  --van-fill: #ffffff;
  --shadow-lg: 0 30px 60px -28px rgba(15, 20, 25, 0.38), 0 8px 20px -12px rgba(15, 20, 25, 0.16);
  --focus-base: #0f1419;
  --focus: var(--focus-base);
  --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f1419' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  --d-light: block;
  --d-dark: none;

  position: relative;
  min-height: 100vh;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

/* Tema escuro: pelo sistema (se não houver escolha manual) ou por escolha */
@media (prefers-color-scheme: dark) {
  .c9:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0b0e12;
    --bg-fade: rgba(11, 14, 18, 0.9);
    --tint: #10141a;
    --surface: #161c24;
    --surface-2: #1e2630;
    --surface-3: #29333f;
    --field-bg: #0f141a;
    --ink: #f4f6f8;
    --text: #e4e8ec;
    --muted: #a8b1bc;
    --faint: #8f99a5;
    --line: rgba(255, 255, 255, 0.13);
    --line-strong: rgba(255, 255, 255, 0.4);
    --hover: rgba(255, 255, 255, 0.1);
    --accent-text: #ffb44a;
    --accent-container: #472c00;
    --on-accent-container: #ffddb0;
    --on-accent-container-muted: #e6c594;
    --feature-inset: rgba(0, 0, 0, 0.26);
    --inverse: #171d25;
    --btn-ink-bg: #f4f6f8;
    --btn-ink-fg: #0f1419;
    --warn-bg: #4a1512;
    --warn-fg: #ffb4ab;
    --danger: #ffb4ab;
    --glass: rgba(22, 28, 36, 0.74);
    --glass-line: rgba(255, 255, 255, 0.14);
    --glass-rim: rgba(255, 255, 255, 0.16);
    --glass-shadow: rgba(0, 0, 0, 0.6);
    --plan-bg: #10151b;
    --plan-grid: rgba(255, 255, 255, 0.1);
    --plan-stand: rgba(242, 146, 0, 0.24);
    --van-fill: #0f141a;
    --shadow-lg: 0 30px 60px -24px rgba(0, 0, 0, 0.75), 0 8px 20px -12px rgba(0, 0, 0, 0.5);
    --focus-base: #ffb44a;
    --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4f6f8' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    --d-light: none;
    --d-dark: block;
  }
}

.c9[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b0e12;
  --bg-fade: rgba(11, 14, 18, 0.9);
  --tint: #10141a;
  --surface: #161c24;
  --surface-2: #1e2630;
  --surface-3: #29333f;
  --field-bg: #0f141a;
  --ink: #f4f6f8;
  --text: #e4e8ec;
  --muted: #a8b1bc;
  --faint: #8f99a5;
  --line: rgba(255, 255, 255, 0.13);
  --line-strong: rgba(255, 255, 255, 0.4);
  --hover: rgba(255, 255, 255, 0.1);
  --accent-text: #ffb44a;
  --accent-container: #472c00;
  --on-accent-container: #ffddb0;
  --on-accent-container-muted: #e6c594;
  --feature-inset: rgba(0, 0, 0, 0.26);
  --inverse: #171d25;
  --btn-ink-bg: #f4f6f8;
  --btn-ink-fg: #0f1419;
  --warn-bg: #4a1512;
  --warn-fg: #ffb4ab;
  --danger: #ffb4ab;
  --glass: rgba(22, 28, 36, 0.74);
  --glass-line: rgba(255, 255, 255, 0.14);
  --glass-rim: rgba(255, 255, 255, 0.16);
  --glass-shadow: rgba(0, 0, 0, 0.6);
  --plan-bg: #10151b;
  --plan-grid: rgba(255, 255, 255, 0.1);
  --plan-stand: rgba(242, 146, 0, 0.24);
  --van-fill: #0f141a;
  --shadow-lg: 0 30px 60px -24px rgba(0, 0, 0, 0.75), 0 8px 20px -12px rgba(0, 0, 0, 0.5);
  --focus-base: #ffb44a;
  --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4f6f8' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  --d-light: none;
  --d-dark: block;
}

/* Curva de mola verdadeira onde o browser a suporta */
@supports (transition-timing-function: linear(0, 1)) {
  .c9 {
    --spring: linear(
      0, 0.009, 0.035 2.1%, 0.141 4.4%, 0.723 12.9%, 0.938 16.7%, 1.017, 1.077, 1.121, 1.149 24.3%, 1.159,
      1.163, 1.161, 1.154 29.9%, 1.129 32.8%, 1.051 39.6%, 1.017 43.1%, 0.991, 0.977 51%, 0.974 53.8%,
      0.975 57.1%, 0.997 69.8%, 1.003 76.9%, 1.004 83.8%, 1
    );
  }
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */

html:has(.c9) {
  background-color: #f6f4ef;
  scroll-padding-top: 6.5rem;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html:has(.c9[data-theme="dark"]) {
  background-color: #0b0e12;
}

@media (prefers-color-scheme: dark) {
  html:has(.c9:not([data-theme="light"])) {
    background-color: #0b0e12;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html:has(.c9) {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
}

.c9 *,
.c9 *::before,
.c9 *::after {
  box-sizing: border-box;
}

:where(.c9) img,
:where(.c9) video,
:where(.c9) svg {
  display: block;
  max-width: 100%;
}

.c9 [hidden] {
  display: none !important;
}

.c9 ::selection {
  background-color: var(--accent);
  color: #0f1419;
}

.c9 :focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

:where(.c9) a {
  color: inherit;
}

:where(.c9) button,
:where(.c9) input,
:where(.c9) select,
:where(.c9) textarea {
  font: inherit;
  color: inherit;
}

:where(.c9) strong {
  font-weight: 650;
}

.c9-wrap {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}

.c9-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.c9-defs {
  position: absolute;
}

.c9-only-light {
  display: var(--d-light);
}

.c9-only-dark {
  display: var(--d-dark);
}

.c9-i {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
}

.c9-i--sm {
  width: 1rem;
  height: 1rem;
}

.c9-skip {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  background-color: var(--ink);
  color: var(--bg);
  font-weight: 650;
  text-decoration: none;
  translate: 0 -200%;
}

.c9-skip:focus-visible {
  translate: 0 0;
}

/* Rótulos pequenos, em mono */
.c9-label {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--muted);
}

.c9-label > span {
  margin-right: 0.6rem;
  color: var(--accent-text);
}

.c9-h2 {
  margin: 0.75rem 0 0;
  max-width: 21ch;
  font-stretch: 112%;
  font-weight: 740;
  font-size: clamp(1.9rem, 1.25rem + 2.9vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--ink);
  text-wrap: balance;
}

.c9-h3 {
  margin: 0;
  font-stretch: 108%;
  font-weight: 720;
  font-size: clamp(1.3rem, 1.15rem + 0.7vw, 1.65rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}

/* Vidro: só navegação e controlos flutuantes */
.c9-glass {
  background-color: var(--glass);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid var(--glass-line);
  box-shadow: inset 0 1px 0 var(--glass-rim), 0 12px 32px -16px var(--glass-shadow);
}

/* Blocos de fundo escuro em qualquer tema (programa, rodapé) */
.c9-inverse {
  --ink: var(--on-inverse);
  --text: var(--on-inverse);
  --muted: var(--on-inverse-muted);
  --line: var(--inverse-line);
  --line-strong: rgba(255, 255, 255, 0.42);
  --hover: rgba(255, 255, 255, 0.1);
  --accent-text: #ffb44a;
  --focus: #ffb44a;
  color: var(--on-inverse);
}

/* --------------------------------------------------------------------------
   3. Botões (cápsula; ao premir, a forma "cede")
   -------------------------------------------------------------------------- */

.c9-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.7rem 1.35rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  background-color: transparent;
  font-family: var(--font);
  font-stretch: 104%;
  font-weight: 650;
  font-size: 1rem;
  line-height: 1.15;
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.25s ease,
    border-radius 0.4s var(--spring), scale 0.4s var(--spring);
}

.c9-btn:active {
  scale: 0.97;
  border-radius: 16px;
}

.c9-btn .c9-i {
  width: 1.15em;
  height: 1.15em;
  transition: translate 0.4s var(--spring);
}

.c9-btn:hover .c9-i {
  translate: 3px 0;
}

.c9-btn--sm {
  min-height: 44px;
  padding: 0.5rem 1.15rem;
  font-size: 0.94rem;
}

.c9-btn--lg {
  min-height: 56px;
  padding: 0.9rem 1.7rem;
  font-size: 1.06rem;
}

.c9-btn--block {
  width: 100%;
}

.c9-btn--wrap {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
}

.c9-btn--primary {
  background-color: var(--accent);
  color: var(--on-accent);
}

.c9-btn--primary:hover {
  background-color: var(--accent-hover);
  box-shadow: 0 12px 26px -12px rgba(242, 146, 0, 0.75);
}

.c9-btn--tonal {
  background-color: var(--surface-2);
  color: var(--ink);
}

.c9-btn--tonal:hover {
  background-color: var(--surface-3);
}

.c9-btn--outline {
  border-color: var(--line-strong);
  color: var(--ink);
}

.c9-btn--outline:hover {
  border-color: var(--ink);
  background-color: var(--hover);
}

.c9-btn--ink {
  background-color: var(--btn-ink-bg);
  color: var(--btn-ink-fg);
}

.c9-btn--ink:hover {
  box-shadow: 0 12px 26px -14px rgba(15, 20, 25, 0.7);
}

.c9-btn[aria-busy="true"] {
  pointer-events: none;
}

.c9-btn[aria-busy="true"] .c9-i {
  display: none;
}

.c9-btn[aria-busy="true"]::after {
  content: "";
  width: 1.1em;
  height: 1.1em;
  border: 2.5px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: c9-spin 0.7s linear infinite;
}

@keyframes c9-spin {
  to {
    transform: rotate(360deg);
  }
}

.c9-icon-btn {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background-color: transparent;
  color: var(--ink);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.2s ease, scale 0.4s var(--spring);
}

.c9-icon-btn:hover {
  background-color: var(--hover);
}

.c9-icon-btn:active {
  scale: 0.9;
}

/* --------------------------------------------------------------------------
   4. Navegação flutuante
   -------------------------------------------------------------------------- */

.c9-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 0.75rem var(--gutter) 0;
  pointer-events: none;
}

/* Esbate o conteúdo que passa por baixo da barra (efeito de margem de scroll) */
.c9-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: -1;
  height: 6.25rem;
  background: linear-gradient(to bottom, var(--bg-fade), transparent);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent);
  mask-image: linear-gradient(to bottom, #000 30%, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.c9-header.is-scrolled::before {
  opacity: 1;
}

.c9-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: var(--max);
  min-height: 64px;
  margin-inline: auto;
  padding: 0.5rem 0.5rem 0.5rem 1.15rem;
  border-radius: 999px;
  pointer-events: auto;
}

.c9-brand {
  display: flex;
  align-items: center;
  min-height: 44px;
  border-radius: var(--r-sm);
}

.c9-brand-logo {
  width: auto;
  height: 42px;
}

.c9-nav {
  display: flex;
  gap: 0.15rem;
  margin-inline: auto;
}

.c9-nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.95rem;
  border-radius: 999px;
  font-weight: 550;
  font-size: 0.97rem;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.c9-nav-link:hover {
  background-color: var(--hover);
}

.c9-nav-link[aria-current="true"] {
  background-color: var(--ink);
  color: var(--bg);
}

.c9-bar-end {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.c9-menu-btn {
  display: none;
}

.c9-burger {
  position: relative;
  width: 20px;
  height: 12px;
}

.c9-burger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background-color: currentColor;
  transition: translate 0.4s var(--spring), rotate 0.4s var(--spring);
}

.c9-burger span:first-child {
  top: 0;
}

.c9-burger span:last-child {
  bottom: 0;
}

.c9-menu-btn[aria-expanded="true"] .c9-burger span:first-child {
  translate: 0 5px;
  rotate: 45deg;
}

.c9-menu-btn[aria-expanded="true"] .c9-burger span:last-child {
  translate: 0 -5px;
  rotate: -45deg;
}

.c9-menu {
  display: grid;
  gap: 0.75rem;
  max-width: var(--max);
  margin: 0.5rem auto 0;
  padding: 0.75rem;
  border-radius: var(--r-lg);
  background-color: color-mix(in srgb, var(--surface) 94%, transparent);
  pointer-events: auto;
}

.c9-menu nav {
  display: grid;
}

.c9-menu nav a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 1rem;
  border-radius: calc(var(--r-lg) - 0.75rem);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
  text-decoration: none;
}

.c9-menu nav a:hover {
  background-color: var(--hover);
}

/* --------------------------------------------------------------------------
   5. Topo
   -------------------------------------------------------------------------- */

.c9-hero {
  padding-top: clamp(6.75rem, 5.4rem + 4.6vw, 8.75rem);
  padding-bottom: clamp(1rem, 3vw, 2.5rem);
}

.c9-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
}

.c9-hero-copy {
  min-width: 0;
  container-type: inline-size;
}

.c9-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.4rem;
  padding: 0.4rem 0.95rem 0.4rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background-color: var(--surface);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

.c9-live {
  position: relative;
  flex: none;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background-color: var(--accent);
}

.c9-live::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-color: var(--accent);
}

.c9-display {
  margin: 0;
  color: var(--ink);
}

.c9-display-pre {
  display: block;
  margin-bottom: 0.45rem;
  font-size: clamp(1.15rem, 0.95rem + 1vw, 1.6rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--muted);
}

.c9-display-main {
  display: block;
  font-stretch: 116%;
  font-weight: 780;
  font-size: clamp(2.4rem, 12.6cqi, 5.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.c9-display-line {
  display: inline;
}

.c9-mark {
  display: inline-block;
  margin-left: -0.05em;
  padding: 0.02em 0.16em 0.07em;
  border-radius: 0.16em;
  background-color: var(--accent);
  color: #0f1419;
  rotate: -1.2deg;
  transform-origin: left center;
}

.c9-lead {
  max-width: 60ch;
  margin: 1.6rem 0 0;
  font-size: clamp(1.1rem, 1rem + 0.45vw, 1.3rem);
  line-height: 1.5;
  color: var(--muted);
  text-wrap: pretty;
}

.c9-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.9rem;
}

.c9-countline {
  margin: 1.25rem 0 0;
  font-family: var(--mono);
  font-size: 0.9rem;
  color: var(--muted);
}

.c9-countline strong {
  color: var(--ink);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* Credencial (ecrãs largos) */
.c9-pass {
  display: none;
}

/* Factos */
.c9-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem 1.5rem;
  margin: clamp(2.25rem, 4.5vw, 3.5rem) 0 0;
}

.c9-facts > div {
  padding-top: 0.85rem;
  border-top: 1.5px solid var(--ink);
}

.c9-facts dt {
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--muted);
}

.c9-facts dd {
  margin: 0.3rem 0 0;
  font-size: clamp(1.02rem, 0.95rem + 0.35vw, 1.2rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  text-wrap: balance;
}

/* Palco do vídeo */
.c9-stage {
  margin: clamp(1.75rem, 3.5vw, 2.75rem) 0 0;
  --glass: rgba(15, 20, 25, 0.58);
  --glass-line: rgba(255, 255, 255, 0.22);
  --glass-rim: rgba(255, 255, 255, 0.18);
  --glass-shadow: rgba(0, 0, 0, 0.5);
  --focus: #ffffff;
}

.c9-stage-media {
  position: relative;
  border-radius: clamp(var(--r-lg), 3.5vw, var(--r-xl));
  background-color: #0f1419;
}

.c9-stage-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: min(82vh, 760px);
  border-radius: inherit;
  object-fit: cover;
  background-color: #0f1419;
}

.c9-stage-ui {
  position: absolute;
  left: clamp(0.75rem, 2vw, 1.25rem);
  bottom: clamp(0.75rem, 2vw, 1.25rem);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.c9-chip-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0 1.05rem 0 0.9rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.94rem;
  color: #ffffff;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.2s ease, scale 0.4s var(--spring), border-radius 0.4s var(--spring);
}

.c9-chip-btn:hover {
  background-color: rgba(15, 20, 25, 0.78);
}

.c9-chip-btn:active {
  scale: 0.96;
  border-radius: 14px;
}

.c9-chip-btn .c9-i {
  width: 1.1rem;
  height: 1.1rem;
}

.c9-chip-meta {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
}

.c9-when-playing,
.c9-chip-btn[aria-pressed="true"] .c9-when-paused {
  display: none;
}

.c9-chip-btn[aria-pressed="true"] .c9-when-playing {
  display: block;
}

/* Selo recortado: o momento "expressivo" do topo */
.c9-sticker {
  position: absolute;
  top: clamp(-2.4rem, -3vw, -1.25rem);
  right: clamp(1rem, 6vw, 4.5rem);
  display: grid;
  place-items: center;
  width: clamp(5.75rem, 4.6rem + 4.6vw, 8.25rem);
  aspect-ratio: 1;
  rotate: 9deg;
  pointer-events: none;
}

.c9-sticker-shape {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: var(--accent);
  filter: drop-shadow(0 10px 14px rgba(15, 20, 25, 0.28));
}

.c9-sticker-text {
  position: relative;
  display: grid;
  justify-items: center;
  font-size: clamp(0.78rem, 0.66rem + 0.5vw, 1rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #0f1419;
}

.c9-sticker-text strong {
  font-stretch: 118%;
  font-weight: 850;
  font-size: 2.3em;
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: none;
}

/* --------------------------------------------------------------------------
   6. Secções
   -------------------------------------------------------------------------- */

.c9-section {
  padding-block: clamp(3.25rem, 9vw, 7.5rem);
}

/* Faixas de tom, recolhidas das margens e com cantos largos */
.c9-section--tint {
  margin-inline: clamp(0.5rem, 1.2vw, 1rem);
  border-radius: clamp(var(--r-lg), 4vw, 3.5rem);
  background-color: var(--tint);
}

.c9-head {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  align-items: end;
  gap: 1.25rem 3rem;
  margin-bottom: clamp(2rem, 4.5vw, 3.5rem);
}

.c9-head-sub {
  max-width: 44ch;
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--muted);
  text-wrap: pretty;
}

.c9-head > .c9-head-sub {
  justify-self: end;
}

/* --------------------------------------------------------------------------
   7. Sobre
   -------------------------------------------------------------------------- */

.c9-about {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 5rem);
}

.c9-about-photo {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-xl);
  background-color: var(--surface-2);
  overflow: hidden;
}

.c9-about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c9-about-photo figcaption {
  position: absolute;
  inset: auto 0.75rem 0.75rem;
  padding: 0.95rem 1.15rem 1rem;
  border-radius: calc(var(--r-xl) - 0.75rem);
  background-color: var(--surface);
  font-size: 0.98rem;
  line-height: 1.35;
  color: var(--text);
}

.c9-about-photo figcaption small {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.84rem;
  color: var(--muted);
}

.c9-stage-cap {
  margin-top: 0.75rem;
  padding-inline: 0.25rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.c9-about-photo figcaption strong {
  display: block;
  margin-bottom: 0.1rem;
  font-stretch: 112%;
  font-weight: 760;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.c9-prose-lg {
  margin: 0 0 1.25rem;
  font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.5rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.012em;
  color: var(--ink);
  text-wrap: pretty;
}

.c9-prose-lg strong {
  font-weight: 700;
}

.c9-prose {
  max-width: 62ch;
  margin: 0;
  color: var(--muted);
  text-wrap: pretty;
}

.c9-prose strong {
  color: var(--ink);
}

.c9-audience {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.c9-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
}

.c9-chips li {
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background-color: var(--surface);
  font-weight: 550;
  font-size: 0.95rem;
  line-height: 1.3;
  color: var(--ink);
}

/* Em números */
.c9-glance {
  display: grid;
  grid-template-columns: 1.9fr 1fr 1fr 1.35fr;
  gap: 1rem;
  margin: clamp(2rem, 5vw, 4rem) 0 0;
  padding: 0;
  list-style: none;
}

.c9-tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  min-height: 220px;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background-color: var(--surface);
}

.c9-tile-num {
  font-stretch: 118%;
  font-weight: 800;
  font-size: clamp(2.8rem, 2rem + 3.4vw, 4.75rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--ink);
  font-variant-numeric: lining-nums;
  white-space: nowrap;
}

.c9-tile-text {
  font-size: 0.95rem;
  line-height: 1.35;
  color: var(--muted);
}

.c9-tile-text strong {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 1.05rem;
  color: var(--ink);
}

.c9-tile--accent {
  border-color: transparent;
  background-color: var(--accent);
}

.c9-tile--accent .c9-tile-num,
.c9-tile--accent .c9-tile-text strong {
  color: #0f1419;
}

.c9-tile--accent .c9-tile-text {
  color: var(--on-accent-soft);
}

.c9-tile--inverse {
  border-color: transparent;
  background-color: var(--inverse);
}

.c9-tile--inverse .c9-tile-num {
  color: var(--accent);
}

.c9-tile--inverse .c9-tile-text {
  color: var(--on-inverse-muted);
}

.c9-tile--inverse .c9-tile-text strong {
  color: var(--on-inverse);
}

/* --------------------------------------------------------------------------
   8. Eixos e programa
   -------------------------------------------------------------------------- */

.c9-pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: c9-pillar;
}

.c9-pillar {
  position: relative;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background-color: var(--surface);
  counter-increment: c9-pillar;
  transition: translate 0.5s var(--spring), box-shadow 0.3s ease;
}

.c9-pillar::after {
  content: "0" counter(c9-pillar);
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--faint);
}

.c9-pillar-ico {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 2.5rem;
  background-color: var(--accent-container);
  color: var(--on-accent-container);
  transition: border-radius 0.6s var(--spring), rotate 0.6s var(--spring), background-color 0.3s ease, color 0.3s ease;
}

.c9-pillar-ico .c9-i {
  width: 1.5rem;
  height: 1.5rem;
}

/* Variedade de formas */
.c9-shape-1 {
  border-radius: 50%;
}

.c9-shape-2 {
  border-radius: 18px;
}

.c9-shape-3 {
  border-radius: 28px 28px 28px 6px;
}

.c9-shape-4 {
  border-radius: 6px 28px;
}

.c9-pillar h3 {
  margin: 0 0 0.5rem;
  font-stretch: 108%;
  font-weight: 720;
  font-size: 1.2rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}

.c9-pillar p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--muted);
}

@media (hover: hover) {
  .c9-pillar:hover {
    translate: 0 -4px;
    box-shadow: var(--shadow-lg);
  }

  .c9-pillar:hover .c9-pillar-ico {
    border-radius: 20px;
    rotate: -8deg;
    background-color: var(--accent);
    color: #0f1419;
  }

  .c9-pillar:hover .c9-shape-2 {
    border-radius: 50%;
  }
}

.c9-programme {
  margin-top: 1rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: var(--r-xl);
  background-color: var(--inverse);
}

.c9-programme-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem);
}

.c9-programme-head .c9-h3 {
  margin-top: 0.4rem;
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.2rem);
}

.c9-programme-head > p {
  max-width: 34ch;
  margin: 0;
  color: var(--muted);
}

.c9-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.c9-steps li {
  position: relative;
  padding: 1.6rem 1.5rem 0 0;
  border-top: 2px dashed var(--inverse-line);
}

.c9-steps li::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--accent);
  box-shadow: 0 0 0 5px var(--inverse);
}

.c9-step-n {
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent-text);
}

.c9-steps h4 {
  margin: 0.35rem 0 0.4rem;
  font-stretch: 106%;
  font-weight: 700;
  font-size: 1.12rem;
  line-height: 1.25;
  color: var(--ink);
}

.c9-steps p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.5;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   9. Modalidades
   -------------------------------------------------------------------------- */

.c9-included {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr);
  align-items: center;
  gap: 0.9rem 2rem;
  margin-bottom: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--r-lg);
  background-color: var(--accent-container);
  color: var(--on-accent-container);
}

.c9-included p {
  margin: 0;
  font-stretch: 106%;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.25;
  text-wrap: balance;
}

.c9-included ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.c9-included li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 550;
  font-size: 0.98rem;
  line-height: 1.3;
}

.c9-included .c9-i {
  width: 1.5rem;
  height: 1.5rem;
  padding: 0.32rem;
  border-radius: 50%;
  background-color: var(--on-accent-container);
  color: var(--accent-container);
}

.c9-mods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.c9-mod {
  --pad: clamp(1.25rem, 2.6vw, 2rem);
  display: flex;
  flex-direction: column;
  padding: var(--pad);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background-color: var(--surface);
}

.c9-mod-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.c9-mod-n {
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.c9-mod > p {
  margin: 0.6rem 0 0;
  color: var(--muted);
  text-wrap: pretty;
}

.c9-mod > .c9-btn {
  flex-wrap: wrap;
  margin-top: auto;
  white-space: normal;
  text-align: center;
}

.c9-btn-meta {
  font-family: var(--mono);
  font-size: 0.86em;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0.78;
}

/* Em duas colunas, os cartões partilham as linhas da grelha: títulos,
   textos, plantas e botões ficam alinhados de um cartão para o outro */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 900px) {
    .c9-mod {
      display: grid;
      grid-template-rows: subgrid;
      grid-row: span 5;
      row-gap: 0;
    }

    .c9-mod > .c9-btn {
      align-self: end;
      margin-top: 0;
    }

    .c9-mod > .c9-plan,
    .c9-mod > .c9-spec {
      align-self: start;
    }
  }
}

.c9-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  background-color: var(--surface-2);
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.2;
  color: var(--ink);
}

.c9-tag--warn {
  background-color: var(--warn-bg);
  color: var(--warn-fg);
}

.c9-tag--solid {
  background-color: var(--btn-ink-bg);
  color: var(--btn-ink-fg);
}

.c9-mod--feature {
  --ink: var(--on-accent-container);
  --muted: var(--on-accent-container-muted);
  border-color: transparent;
  background-color: var(--accent-container);
  color: var(--on-accent-container);
}

.c9-spec {
  margin: 1.25rem 0;
  padding: 1rem 1.15rem;
  border-radius: max(var(--r-sm), calc(var(--r-xl) - var(--pad)));
  background-color: var(--surface-2);
}

.c9-mod--feature .c9-spec {
  background-color: var(--feature-inset);
}

.c9-spec-label {
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.c9-spec p {
  margin: 0.35rem 0 0;
  font-size: 0.98rem;
  line-height: 1.45;
  color: var(--ink);
}

/* Planta à escala: --m é 1 metro; --w e --d são a frente e o fundo do stand */
.c9-plan {
  --m: 15px;
  --inset: 18px;
  margin: 1.25rem 0;
}

.c9-plan-canvas {
  position: relative;
  height: calc(10 * var(--m) + 2 * var(--inset) + 18px);
  border-radius: max(var(--r-sm), calc(var(--r-xl) - var(--pad)));
  background-color: var(--plan-bg);
  background-image: linear-gradient(var(--plan-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--plan-grid) 1px, transparent 1px);
  background-size: var(--m) var(--m);
  background-position: var(--inset) calc(100% - var(--inset));
  overflow: hidden;
}

.c9-plan-stand {
  position: absolute;
  left: var(--inset);
  bottom: var(--inset);
  width: calc(var(--w) * var(--m));
  height: calc(var(--d) * var(--m));
  border: 2px solid var(--ink);
  border-radius: 4px;
  background-color: var(--plan-stand);
  transition: width 0.7s var(--spring), height 0.7s var(--spring);
}

.c9-plan-dim {
  position: absolute;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  color: var(--muted);
}

.c9-plan-dim--w {
  inset: auto 0 calc(100% + 7px);
  text-align: center;
}

.c9-plan-dim--d {
  top: 50%;
  left: calc(100% + 9px);
  translate: 0 -50%;
}

.c9-van {
  position: absolute;
  left: -2px;
  bottom: -2px;
  width: calc(5.5 * var(--m));
  height: calc(2.5 * var(--m));
  max-width: none;
  color: var(--ink);
  translate: calc(var(--x, 0) * var(--m)) calc(var(--y, 0) * var(--m) * -1);
  rotate: var(--rot, 0deg);
  scale: var(--sc, 1);
  opacity: var(--on, 1);
  transition: translate 0.7s var(--spring), rotate 0.7s var(--spring), scale 0.5s var(--spring), opacity 0.25s ease;
}

.c9-van-body {
  fill: var(--van-fill);
  stroke: currentColor;
  stroke-width: 1.9;
}

.c9-van-glass {
  fill: currentColor;
}

/* Posição dos furgões (em metros, a partir do canto inferior esquerdo) */
.c9-plan[data-size="8m x 6m"] .c9-van--1 {
  --x: 1.25;
  --y: 1.75;
}

.c9-plan[data-size="8m x 6m"] .c9-van--2,
.c9-plan[data-size="8m x 6m"] .c9-van--3 {
  --x: 1.25;
  --y: 1.75;
  --sc: 0.6;
  --on: 0;
}

.c9-plan[data-size="8m x 8m"] .c9-van--1 {
  --x: 1.25;
  --y: 1;
}

.c9-plan[data-size="8m x 8m"] .c9-van--2 {
  --x: 1.25;
  --y: 4.5;
}

.c9-plan[data-size="8m x 8m"] .c9-van--3 {
  --x: 1.25;
  --y: 4.5;
  --sc: 0.6;
  --on: 0;
}

.c9-plan[data-size="10m x 10m"] .c9-van--1 {
  --x: 0.9;
  --y: 1.2;
}

.c9-plan[data-size="10m x 10m"] .c9-van--2 {
  --x: 0.9;
  --y: 4.7;
}

.c9-plan[data-size="10m x 10m"] .c9-van--3 {
  --x: 5.5;
  --y: 2.7;
  --rot: -90deg;
}

.c9-plan-cap {
  position: absolute;
  top: 0.85rem;
  right: 1rem;
  display: grid;
  justify-items: end;
  gap: 0.1rem;
  margin: 0;
  text-align: right;
}

.c9-plan-cap strong {
  margin-bottom: 0.15rem;
  font-family: var(--mono);
  font-weight: 700;
  font-size: clamp(1.02rem, 0.92rem + 0.5vw, 1.3rem);
  line-height: 1.2;
  white-space: nowrap;
  color: var(--ink);
}

.c9-plan-cap span {
  font-size: 0.92rem;
  line-height: 1.3;
  color: var(--muted);
}

/* Seletor segmentado: o segmento escolhido ganha a forma de cápsula */
.c9-seg {
  display: flex;
  gap: 0.25rem;
  min-width: 0;
  margin: 0.75rem 0 0;
  padding: 0.25rem;
  border: 0;
  border-radius: 999px;
  background-color: var(--surface-2);
}

.c9-seg label {
  position: relative;
  flex: 1;
  min-width: 0;
}

.c9-seg input,
.c9-rchip input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.c9-seg span {
  display: grid;
  place-items: center;
  min-height: 44px;
  padding: 0 0.6rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  color: var(--text);
  transition: background-color 0.25s ease, color 0.25s ease, border-radius 0.5s var(--spring);
}

.c9-seg label:hover input:not(:checked) + span {
  background-color: var(--hover);
}

.c9-seg input:checked + span {
  border-radius: 999px;
  background-color: var(--ink);
  color: var(--bg);
}

.c9-seg input:focus-visible + span,
.c9-rchip input:focus-visible + span {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

/* Subtítulos que separam os stands das outras formas de presença */
.c9-subhead {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.75rem 0 1rem;
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--muted);
}

.c9-subhead::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: var(--line-strong);
}

.c9-subhead--gap {
  margin-top: clamp(2.25rem, 4.5vw, 3.5rem);
}

.c9-plan-list {
  margin: 0.7rem 0 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--muted);
}

.c9-plan-note {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0 0;
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--muted);
}

.c9-van--key {
  position: static;
  flex: none;
  width: 44px;
  height: 20px;
  translate: none;
}

.c9-fee {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-top: 1.25rem;
  padding: clamp(1.25rem, 2.6vw, 2rem);
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--r-xl);
}

.c9-fee > div {
  flex: 1 1 28rem;
}

.c9-fee .c9-h3 {
  margin: 0.8rem 0 0.35rem;
}

.c9-fee p {
  max-width: 70ch;
  margin: 0;
  color: var(--muted);
}

.c9-fee p strong {
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   10. Perguntas frequentes
   -------------------------------------------------------------------------- */

.c9-faq {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  align-items: start;
  gap: clamp(2rem, 6vw, 6rem);
}

.c9-faq-intro {
  position: sticky;
  top: 7rem;
}

.c9-faq-intro .c9-head-sub {
  margin: 1.1rem 0 1.5rem;
}

.c9-faq-list {
  border-top: 1.5px solid var(--ink);
}

.c9-faq-item {
  border-bottom: 1px solid var(--line);
}

.c9-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 72px;
  padding: 1.05rem 0;
  list-style: none;
  cursor: pointer;
  font-stretch: 104%;
  font-weight: 650;
  font-size: clamp(1.08rem, 1rem + 0.4vw, 1.3rem);
  line-height: 1.3;
  color: var(--ink);
}

.c9-faq-item summary::-webkit-details-marker {
  display: none;
}

.c9-faq-ico {
  position: relative;
  flex: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background-color: var(--surface);
  transition: background-color 0.25s ease, border-color 0.25s ease, rotate 0.6s var(--spring),
    border-radius 0.6s var(--spring);
}

.c9-faq-ico::before,
.c9-faq-ico::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2.5px;
  margin: -1.25px 0 0 -7px;
  border-radius: 2px;
  background-color: var(--ink);
  transition: rotate 0.5s var(--spring), background-color 0.25s ease;
}

.c9-faq-ico::after {
  rotate: 90deg;
}

.c9-faq-item summary:hover .c9-faq-ico {
  border-color: var(--line-strong);
}

.c9-faq-item[open] .c9-faq-ico {
  border-color: transparent;
  border-radius: 14px;
  background-color: var(--accent);
  rotate: 180deg;
}

.c9-faq-item[open] .c9-faq-ico::before,
.c9-faq-item[open] .c9-faq-ico::after {
  background-color: #0f1419;
}

.c9-faq-item[open] .c9-faq-ico::after {
  rotate: 0deg;
}

.c9-faq-body {
  padding: 0 3.5rem 1.4rem 0;
  color: var(--muted);
}

.c9-faq-body p {
  max-width: 64ch;
  margin: 0;
}

.c9-faq-body strong {
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   11. Formulário: o bloco laranja é o ponto de conversão
   -------------------------------------------------------------------------- */

.c9-section--form {
  padding-top: clamp(2.5rem, 6vw, 5rem);
  padding-bottom: clamp(1rem, 3vw, 2.5rem);
}

.c9-form-panel {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: start;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: clamp(1rem, 4vw, 3.5rem);
  border-radius: clamp(var(--r-lg), 4vw, 3.5rem);
  background-color: var(--accent);
  color: #0f1419;
}

.c9-form-aside {
  --ink: #0f1419;
  --muted: #3a2600;
  --accent-text: #3a2600;
  --focus: #0f1419;
  position: sticky;
  top: 6.5rem;
  padding: clamp(0.5rem, 1.5vw, 0.75rem) 0 0 clamp(0.25rem, 1vw, 0.5rem);
}

.c9-form-aside .c9-h2 {
  max-width: 16ch;
}

.c9-form-aside .c9-h2:focus-visible {
  outline-offset: 6px;
}

.c9-form-sub {
  margin: 1.1rem 0 1.6rem;
  font-size: 1.08rem;
  line-height: 1.5;
  color: #2b1c00;
  text-wrap: pretty;
}

.c9-summary {
  padding: 1.15rem 1.25rem 1.2rem;
  border-radius: var(--r-lg);
  background-color: #0f1419;
  color: #f3f5f8;
}

.c9-summary-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.c9-summary-top strong {
  font-weight: 700;
}

.c9-summary-top span {
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffb44a;
}

.c9-summary ul {
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
}

.c9-summary li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.15rem 1rem;
  padding: 0.65rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.96rem;
  line-height: 1.35;
}

.c9-summary li span:last-child:not(:first-child) {
  font-family: var(--mono);
  font-size: 0.84rem;
  color: #ffb44a;
}

.c9-summary .c9-summary-empty {
  color: #aab3be;
}

.c9-contacts {
  margin-top: 1.5rem;
}

.c9-contacts h3 {
  margin: 0 0 0.85rem;
  font-weight: 700;
  font-size: 1rem;
  color: #0f1419;
}

.c9-contacts ul {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.c9-contacts li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.1rem 0.9rem;
  line-height: 1.5;
}

.c9-contacts li strong {
  flex: 0 0 100%;
  font-weight: 700;
}

.c9-contacts a {
  padding-block: 0.2rem;
  color: #0f1419;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.c9-contacts a:hover {
  text-decoration-thickness: 2.5px;
}

.c9-map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.1rem;
  font-weight: 650;
}

.c9-form-card {
  --focus: var(--focus-base);
  --pad: clamp(1.15rem, 3vw, 2.25rem);
  padding: var(--pad);
  border-radius: var(--r-lg);
  background-color: var(--surface);
  color: var(--text);
  box-shadow: 0 30px 60px -32px rgba(15, 20, 25, 0.5);
}

.c9-fset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.c9-fset + .c9-fset {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.c9-fset legend {
  float: left;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  padding: 0;
  font-stretch: 106%;
  font-weight: 720;
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.c9-fstep {
  display: grid;
  place-items: center;
  flex: none;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: var(--ink);
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--surface);
}

/* Formulário em três passos. Sem JavaScript, os três blocos ficam à vista
   uns a seguir aos outros e os controlos de passo não aparecem. */
.c9-formsteps,
.c9-step-nav [data-step-next],
.c9-step-nav [data-step-prev],
.c9-review {
  display: none;
}

.is-stepped .c9-fset + .c9-fset {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.is-stepped .c9-formsteps {
  display: flex;
  gap: 0.25rem;
  margin: 0 0 1.75rem;
  padding: 0.25rem;
  border-radius: 999px;
  background-color: var(--surface-2);
  list-style: none;
}

.c9-formsteps li {
  flex: 1;
  min-width: 0;
}

.c9-formsteps button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 44px;
  padding: 0 0.5rem;
  border: 0;
  border-radius: 12px;
  background-color: transparent;
  font-weight: 650;
  font-size: 0.92rem;
  color: var(--text);
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-radius 0.5s var(--spring);
}

.c9-formsteps button b {
  display: grid;
  place-items: center;
  flex: none;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background-color: var(--surface-3);
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
}

.c9-formsteps button:disabled {
  color: var(--muted);
  cursor: default;
}

.c9-formsteps button.is-done b {
  background-color: var(--accent);
  color: #0f1419;
}

.c9-formsteps button[aria-current="step"] {
  border-radius: 999px;
  background-color: var(--ink);
  color: var(--bg);
}

.c9-formsteps button[aria-current="step"] b {
  background-color: var(--bg);
  color: var(--ink);
}

.c9-step-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.is-stepped .c9-step-nav [data-step-next],
.is-stepped .c9-step-nav [data-step-prev] {
  display: inline-flex;
}

.c9-step-nav [data-step-next],
.c9-step-nav [type="submit"] {
  flex: 1 1 14rem;
  margin-left: auto;
}

.c9-step-nav #c9Submit {
  margin-top: 0;
}

.c9-fset legend:focus-visible {
  outline-offset: 4px;
  border-radius: 6px;
}

.is-stepped .c9-review {
  display: block;
  margin-bottom: 1.5rem;
  padding: 1.1rem 1.25rem;
  border-radius: 16px;
  background-color: var(--surface-2);
}

.c9-review dl {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.5rem 1.25rem;
  margin: 0;
}

.c9-review dt {
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.7;
  text-transform: uppercase;
  color: var(--muted);
}

.c9-review dd {
  margin: 0;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.c9-fhint {
  clear: both;
  margin: 0 0 1rem;
  padding-top: 0.5rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.c9-req {
  color: var(--danger);
}

.c9-opts {
  display: grid;
  gap: 0.6rem;
}

.c9-opt {
  border: 1.5px solid var(--line);
  border-radius: 18px;
  background-color: var(--surface);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.c9-opt:hover {
  border-color: var(--line-strong);
}

.c9-opt.is-selected {
  border-color: var(--ink);
  background-color: var(--surface-2);
}

.c9-opt-main {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  min-height: 56px;
  padding: 0.95rem 1rem;
  cursor: pointer;
}

.c9-opt-main input,
.c9-consent input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
}

.c9-check {
  display: grid;
  place-items: center;
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.05rem;
  border: 2px solid var(--line-strong);
  border-radius: 8px;
  background-color: var(--field-bg);
  transition: background-color 0.2s ease, border-color 0.2s ease, border-radius 0.5s var(--spring);
}

.c9-check::after {
  content: "";
  width: 0.72rem;
  height: 0.38rem;
  border-bottom: 2.5px solid #0f1419;
  border-left: 2.5px solid #0f1419;
  translate: 0 -1px;
  rotate: -45deg;
  scale: 0.4;
  opacity: 0;
  transition: scale 0.4s var(--spring), opacity 0.15s ease;
}

input:checked + .c9-check {
  border-color: var(--accent);
  border-radius: 50%;
  background-color: var(--accent);
}

input:checked + .c9-check::after {
  scale: 1;
  opacity: 1;
}

input:focus-visible + .c9-check {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.c9-opt-text strong {
  display: block;
  font-weight: 650;
  line-height: 1.3;
  color: var(--ink);
}

.c9-opt-text small {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--muted);
}

.c9-opt-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0 1rem 1rem 3.35rem;
}

.c9-rchip {
  position: relative;
}

.c9-rchip span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.95rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background-color: var(--surface);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.c9-rchip input:checked + span {
  border-color: var(--ink);
  background-color: var(--ink);
  color: var(--surface);
}

.c9-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.c9-field--full {
  grid-column: 1 / -1;
}

.c9-field label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.35;
  color: var(--ink);
}

.c9-field input,
.c9-field select,
.c9-field textarea {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 14px;
  background-color: var(--field-bg);
  font-size: 1rem;
  line-height: 1.4;
  color: var(--ink);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.c9-field select {
  padding-right: 2.75rem;
  -webkit-appearance: none;
  appearance: none;
  background-image: var(--chev);
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 1.2rem;
}

.c9-field textarea {
  min-height: 6.5rem;
  resize: vertical;
}

.c9-field ::placeholder {
  color: var(--faint);
  opacity: 1;
}

.c9-field input:hover,
.c9-field select:hover,
.c9-field textarea:hover {
  border-color: var(--ink);
}

.c9-field input:focus-visible,
.c9-field select:focus-visible,
.c9-field textarea:focus-visible {
  border-color: var(--ink);
  outline-offset: 2px;
}

.c9-field [aria-invalid="true"] {
  border-color: var(--danger);
  border-width: 2px;
}

.c9-error {
  margin: 0.45rem 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--danger);
}

.c9-error--server {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--danger);
  border-radius: 14px;
}

.c9-consent {
  margin-top: 1.5rem;
}

.c9-consent label {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text);
  cursor: pointer;
}

#c9Submit {
  margin-top: 1.5rem;
}

.c9-success {
  display: grid;
  justify-items: start;
  gap: 1rem;
}

.c9-success > p {
  max-width: 56ch;
  margin: 0;
  color: var(--muted);
}

.c9-success-ico {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 20px;
  background-color: var(--accent);
  color: #0f1419;
}

.c9-success-ico .c9-i {
  width: 1.75rem;
  height: 1.75rem;
}

.c9-success-dl {
  width: 100%;
  padding: 1.1rem 1.25rem;
  border-radius: 16px;
  background-color: var(--surface-2);
}

.c9-success-dl dl {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.5rem 1.25rem;
  margin: 0;
}

.c9-success-dl dt {
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.7;
  text-transform: uppercase;
  color: var(--muted);
}

.c9-success-dl dd {
  margin: 0;
  color: var(--ink);
  overflow-wrap: anywhere;
}

/* --------------------------------------------------------------------------
   12. Rodapé
   -------------------------------------------------------------------------- */

.c9-footer {
  margin-top: clamp(2rem, 5vw, 4rem);
  padding-top: clamp(3rem, 7vw, 5.5rem);
  border-radius: clamp(var(--r-lg), 4vw, 3.5rem) clamp(var(--r-lg), 4vw, 3.5rem) 0 0;
  background-color: var(--inverse);
  overflow: hidden;
}

.c9-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr;
  gap: 2.5rem 2rem;
}

.c9-footer-logo {
  width: auto;
  height: 60px;
  margin-bottom: 1.1rem;
}

.c9-footer-brand p {
  max-width: 36ch;
  margin: 0;
  font-size: 0.98rem;
  color: var(--muted);
}

.c9-footer h3 {
  margin: 0 0 0.75rem;
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffb44a;
}

.c9-footer ul {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.c9-footer li a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-size: 0.98rem;
  color: var(--on-inverse);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.c9-footer li a:hover {
  color: #ffb44a;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.c9-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  margin-top: clamp(2rem, 5vw, 3.5rem);
  padding-top: 1.25rem;
  border-top: 1px solid var(--inverse-line);
  font-size: 0.88rem;
  color: var(--muted);
}

.c9-footer-bottom p {
  margin: 0;
}

/* A data, em grande, tom sobre tom, a fechar a página */
.c9-footer-mark {
  margin: 1.75rem 0 0;
  line-height: 0;
  container-type: inline-size;
}

.c9-footer-mark span {
  display: block;
  margin-bottom: -0.17em;
  font-stretch: 125%;
  font-weight: 900;
  font-size: 12.1cqi;
  line-height: 0.82;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.07);
}

/* --------------------------------------------------------------------------
   13. Barra de ação flutuante (ecrãs pequenos) e vídeo em janela
   -------------------------------------------------------------------------- */

.c9-dock {
  position: fixed;
  inset: auto 0.75rem max(0.75rem, env(safe-area-inset-bottom));
  z-index: 45;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem 0.5rem 0.5rem 1.15rem;
  border-radius: 999px;
  translate: 0 calc(100% + 2rem);
  opacity: 0;
  transition: translate 0.6s var(--spring), opacity 0.3s ease;
}

.c9-dock.is-shown {
  translate: 0 0;
  opacity: 1;
}

.c9-dock p {
  display: grid;
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.2;
  color: var(--muted);
}

.c9-dock p strong {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink);
}

.c9-modal {
  width: min(100% - 2rem, 1100px);
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: var(--r-lg);
  background-color: #000000;
  color: #ffffff;
  overflow: visible;
  --focus: #ffffff;
}

.c9-modal::backdrop {
  background-color: rgba(8, 10, 13, 0.76);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.c9-modal-box {
  position: relative;
}

.c9-modal-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  background-color: #000000;
}

.c9-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  color: #ffffff;
  --glass: rgba(15, 20, 25, 0.6);
  --glass-line: rgba(255, 255, 255, 0.25);
  --glass-rim: rgba(255, 255, 255, 0.2);
  --hover: rgba(15, 20, 25, 0.85);
}

/* --------------------------------------------------------------------------
   14. Ecrãs largos: credencial ao lado do título
   -------------------------------------------------------------------------- */

@media (min-width: 900px) {
  .c9-display-main {
    font-size: min(5.5rem, 10.6cqi);
  }

  .c9-display-line {
    display: block;
    white-space: nowrap;
  }
}

@media (min-width: 1080px) {
  .c9-hero-grid {
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
    gap: clamp(2rem, 5vw, 5rem);
  }

  .c9-countline {
    display: none;
  }

  .c9-pass {
    position: relative;
    display: block;
    margin-top: 0.5rem;
    color: var(--ink);
    text-decoration: none;
    rotate: 3.5deg;
    transform-origin: 50% -150px;
    transition: rotate 0.9s var(--spring);
  }

  .c9-pass:hover,
  .c9-pass:focus-visible {
    rotate: 0deg;
  }

  .c9-pass:focus-visible {
    outline-offset: 8px;
    border-radius: var(--r-lg);
  }

  .c9-pass-strap {
    position: absolute;
    bottom: calc(100% - 30px);
    left: 50%;
    width: 150px;
    max-width: none;
    translate: -50% 0;
  }

  .c9-strap-back {
    fill: #c97700;
  }

  .c9-strap-front {
    fill: var(--accent);
  }

  .c9-strap-clip {
    fill: #c9ced4;
    stroke: #868d96;
    stroke-width: 2;
  }

  .c9-pass-card {
    position: relative;
    display: block;
    padding: 2.5rem 1.15rem 1.15rem;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background-color: var(--surface);
    box-shadow: var(--shadow-lg);
  }

  .c9-pass-slot {
    position: absolute;
    top: 0.95rem;
    left: 50%;
    width: 54px;
    height: 10px;
    border-radius: 999px;
    background-color: var(--bg);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
    translate: -50% 0;
  }

  .c9-pass-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
  }

  .c9-pass-logo {
    width: auto;
    height: 44px;
  }

  .c9-pass-role {
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background-color: var(--btn-ink-bg);
    font-family: var(--mono);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--btn-ink-fg);
  }

  .c9-pass-brand {
    display: block;
    margin-top: 1rem;
    padding: 1.15rem 0.75rem 1.05rem;
    border: 1.5px dashed var(--line-strong);
    border-radius: calc(var(--r-lg) - 1.15rem + 4px);
    text-align: center;
  }

  .c9-pass-brand strong {
    display: block;
    font-stretch: 116%;
    font-weight: 780;
    font-size: 1.45rem;
    line-height: 1.08;
    letter-spacing: -0.03em;
  }

  .c9-pass-brand strong span {
    padding: 0 0.2em 0.04em;
    border-radius: 0.2em;
    background-color: var(--accent);
    color: #0f1419;
  }

  .c9-pass-brand small {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--muted);
  }

  .c9-pass-count {
    display: block;
    margin-top: 1rem;
  }

  .c9-pass-count-label {
    display: block;
    font-family: var(--mono);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
  }

  .c9-pass-cells {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.4rem;
    margin-top: 0.4rem;
  }

  .c9-pass-cells > span {
    display: grid;
    justify-items: center;
    padding: 0.6rem 0.25rem 0.5rem;
    border-radius: calc(var(--r-lg) - 1.15rem + 4px);
    background-color: var(--surface-2);
    font-size: 0.78rem;
    line-height: 1.3;
    color: var(--muted);
  }

  .c9-pass-cells strong {
    font-family: var(--mono);
    font-weight: 700;
    font-size: 1.4rem;
    line-height: 1.1;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
  }
}

/* --------------------------------------------------------------------------
   15. Ecrãs médios e pequenos
   -------------------------------------------------------------------------- */

@media (max-width: 1079px) {
  .c9-pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .c9-glance {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .c9-tile {
    min-height: 180px;
  }

  .c9-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 899px) {
  html:has(.c9) {
    scroll-padding-bottom: 5.5rem;
  }

  .c9-nav,
  .c9-bar-cta {
    display: none;
  }

  .c9-menu-btn {
    display: inline-grid;
  }

  .c9-bar {
    min-height: 60px;
    padding-left: 1rem;
  }

  .c9-bar-end {
    margin-left: auto;
  }

  .c9-brand-logo {
    height: 38px;
  }

  .c9-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .c9-head,
  .c9-about,
  .c9-included,
  .c9-mods,
  .c9-faq,
  .c9-form-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .c9-head > .c9-head-sub {
    justify-self: start;
  }

  .c9-about-photo {
    aspect-ratio: 4 / 3;
  }

  .c9-faq-intro,
  .c9-form-aside {
    position: static;
  }

  .c9-form-aside {
    padding: 0.5rem 0.25rem 0;
  }

  .c9-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 2rem;
  }

  .c9-dock {
    display: flex;
  }

  .c9-footer {
    padding-bottom: 5rem;
  }
}

@media (max-width: 599px) {
  .c9-hero-actions .c9-btn {
    flex: 1 1 100%;
  }

  .c9-chips {
    gap: 0.4rem;
  }

  .c9-chips li {
    padding: 0.4rem 0.75rem;
    font-size: 0.88rem;
  }

  .c9-stage-video {
    aspect-ratio: 4 / 3;
  }

  .c9-chip-meta {
    display: none;
  }

  .c9-formsteps button {
    flex-direction: column;
    gap: 0.15rem;
    min-height: 56px;
    font-size: 0.8rem;
  }

  .c9-review dl {
    grid-template-columns: minmax(0, 1fr);
    gap: 0 1.25rem;
  }

  .c9-review dd {
    margin-bottom: 0.6rem;
  }

  .c9-glance {
    gap: 0.75rem;
  }

  .c9-tile {
    min-height: 0;
    gap: 1.5rem;
    padding: 1.15rem;
  }

  .c9-tile--accent,
  .c9-tile--inverse {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: flex-end;
  }

  /* Eixos em linhas compactas: ícone à esquerda, texto à direita */
  .c9-pillars {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
  }

  .c9-pillar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 1rem;
    padding: 1.15rem;
  }

  .c9-pillar::after {
    top: 1.15rem;
    right: 1.15rem;
  }

  .c9-pillar-ico {
    grid-row: span 2;
    width: 48px;
    height: 48px;
    margin-bottom: 0;
  }

  .c9-pillar h3 {
    padding-right: 2rem;
  }

  /* Programa na vertical, com a linha do percurso à esquerda */
  .c9-steps {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0;
    margin-left: 7px;
  }

  .c9-steps li {
    padding: 0 0 1.5rem 1.6rem;
    border-top: 0;
    border-left: 2px dashed var(--inverse-line);
  }

  .c9-steps li:last-child {
    padding-bottom: 0;
  }

  .c9-steps li::before {
    top: 0.2rem;
    left: -8px;
  }

  .c9-plan {
    --m: 13px;
    --inset: 16px;
  }

  .c9-seg span {
    padding: 0 0.35rem;
    font-size: 0.9rem;
  }

  .c9-fee .c9-btn {
    flex: 1 1 100%;
  }

  .c9-faq-item summary {
    min-height: 64px;
  }

  .c9-faq-body {
    padding-right: 0;
  }

  .c9-fields {
    grid-template-columns: minmax(0, 1fr);
  }

  .c9-opt-sizes {
    padding-left: 1rem;
  }

  .c9-footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .c9-dock p {
    display: none;
  }

  .c9-dock {
    padding: 0.5rem;
  }

  .c9-dock .c9-btn {
    flex: 1;
  }
}

@media (max-width: 400px) {
  .c9-tile--accent,
  .c9-tile--inverse {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* --------------------------------------------------------------------------
   16. Movimento (só para quem não pediu movimento reduzido)
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  .c9-live::after {
    animation: c9-ping 2.4s var(--ease) infinite;
  }

  .c9-sticker-shape {
    animation: c9-turn 48s linear infinite;
  }

  .c9-pass {
    animation: c9-swing 1.8s var(--ease) 0.2s both;
  }

  /* Abertura suave do acordeão, do menu e da janela do vídeo */
  @supports (interpolate-size: allow-keywords) {
    .c9 {
      interpolate-size: allow-keywords;
    }

    .c9-faq-item::details-content {
      block-size: 0;
      overflow: clip;
      transition: block-size 0.45s var(--ease), content-visibility 0.45s allow-discrete;
    }

    .c9-faq-item[open]::details-content {
      block-size: auto;
    }
  }

  .c9-menu {
    transition: opacity 0.25s ease, translate 0.5s var(--spring);
  }

  .c9-modal[open] {
    transition: opacity 0.3s ease, scale 0.5s var(--spring);
  }

  @starting-style {
    .c9-menu:not([hidden]) {
      opacity: 0;
      translate: 0 -10px;
    }

    .c9-modal[open] {
      opacity: 0;
      scale: 0.94;
    }
  }

  /* Entrada ao fazer scroll, em CSS puro; sem suporte, o conteúdo está visível */
  @supports (animation-timeline: view()) {
    .c9-reveal {
      animation: c9-rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 55%;
    }
  }
}

@keyframes c9-ping {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }

  70%,
  100% {
    transform: scale(2.6);
    opacity: 0;
  }
}

@keyframes c9-turn {
  to {
    transform: rotate(360deg);
  }
}

@keyframes c9-swing {
  0% {
    rotate: 12deg;
    opacity: 0;
  }

  15% {
    opacity: 1;
  }

  40% {
    rotate: -3deg;
  }

  65% {
    rotate: 5.5deg;
  }

  85% {
    rotate: 2.6deg;
  }

  100% {
    rotate: 3.5deg;
  }
}

@keyframes c9-rise {
  from {
    opacity: 0;
    transform: translateY(32px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* --------------------------------------------------------------------------
   17. Preferências de acessibilidade do sistema
   -------------------------------------------------------------------------- */

@media (prefers-reduced-transparency: reduce) {
  .c9-glass {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background-color: var(--surface);
  }

  .c9-stage .c9-glass,
  .c9-modal .c9-glass {
    background-color: #0f1419;
  }

  .c9-header::before {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

@media (prefers-contrast: more) {
  .c9 {
    --line: var(--line-strong);
    --muted: var(--text);
    --faint: var(--text);
  }

  .c9-glass {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background-color: var(--surface);
    border-color: var(--ink);
  }

  .c9-stage .c9-glass,
  .c9-modal .c9-glass {
    background-color: #0f1419;
    border-color: #ffffff;
  }
}

@media (forced-colors: active) {
  .c9-mark,
  .c9-tile,
  .c9-mod,
  .c9-summary,
  .c9-form-panel,
  .c9-form-card,
  .c9-programme,
  .c9-included {
    border: 1px solid CanvasText;
  }

  .c9-sticker-shape {
    fill: Highlight;
  }

  .c9-sticker-text {
    color: HighlightText;
  }
}
