/* ==========================================================================
   AXTEL TELECOM - Design System
   Paleta extraída do logotipo oficial:
     teal    #309C9C  (wordmark)
     magenta #96199B  (círculo)
     roxo    #4F0D57  (gradiente do círculo)
     grafite #282828  (texto "telecom")
   --------------------------------------------------------------------------
   Sumário
   01. Reset & normalização
   02. Design tokens (cores, escala, espaço, sombra)
   03. Tema escuro
   04. Tipografia
   05. Layout & utilitários
   06. Botões
   07. Header / Navegação
   08. Hero
   09. Cards & Planos
   10. Grade de canais
   11. Acordeão / FAQ
   12. Seções diversas
   13. Footer
   14. Animações & reveal
   15. Impressão
   ========================================================================== */

/* ==========================================================================
   01. RESET & NORMALIZAÇÃO
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd,
ul,
ol {
  margin: 0;
}

ul[role='list'],
ol[role='list'] {
  list-style: none;
  padding: 0;
}

body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.6;
}

img,
picture,
svg,
video {
  max-width: 100%;
  display: block;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

a {
  color: inherit;
}

table {
  border-collapse: collapse;
  width: 100%;
}

:target {
  scroll-margin-top: 6rem;
}

/* ==========================================================================
   02. DESIGN TOKENS
   ========================================================================== */

:root {
  color-scheme: light;

  /* --- Marca (valores absolutos, não mudam entre temas) --- */
  --brand-teal: #309c9c;
  --brand-teal-dark: #22797a;
  --brand-teal-darker: #175c5e;
  --brand-teal-light: #4fc3c3;
  --brand-teal-lighter: #8fdedd;
  --brand-magenta: #96199b;
  --brand-magenta-dark: #7a1480;
  --brand-magenta-light: #c04ac5;
  --brand-purple: #4f0d57;
  --brand-purple-deep: #2e0733;
  --brand-ink: #282828;
  --brand-amber: #f2891f;

  /* Gradiente assinatura - replica o círculo do logotipo */
  --grad-brand: linear-gradient(120deg, var(--brand-teal) 0%, var(--brand-magenta) 55%, var(--brand-purple) 100%);
  --grad-brand-soft: linear-gradient(120deg, rgba(48, 156, 156, .14) 0%, rgba(150, 25, 155, .14) 100%);
  --grad-teal: linear-gradient(120deg, var(--brand-teal-light) 0%, var(--brand-teal-dark) 100%);
  --grad-hero: radial-gradient(1200px 620px at 12% -10%, rgba(48, 156, 156, .38) 0%, transparent 62%),
    radial-gradient(1000px 560px at 88% 8%, rgba(150, 25, 155, .34) 0%, transparent 60%),
    linear-gradient(168deg, #1a1024 0%, #150d1d 48%, #0e0b12 100%);

  /* --- Semânticos: TEMA CLARO --- */
  --bg: #ffffff;
  --bg-alt: #f5f8f9;
  --bg-sunken: #eef3f4;
  --surface: #ffffff;
  --surface-2: #f8fafb;
  --surface-raised: #ffffff;

  --text: #1c1c22;
  --text-muted: #5a6672;
  --text-subtle: #616d7a;   /* 5.28:1 no branco e 4.94:1 no bg-alt (antes 3.61:1) */
  --text-invert: #ffffff;

  --border: #e2e8ec;
  --border-strong: #cbd5db;

  /* Para TEXTO e BOTAO usamos um teal mais escuro: o #309C9C da marca
     rende só 3.3:1 sobre branco e reprova no WCAG AA (min 4.5:1).
     #22797a rende 5.14:1 e é visualmente quase igual.
     A cor original continua nos gradientes, no logo e nos fundos escuros. */
  --primary: #22797a;
  --primary-hover: #175c5e;
  --primary-contrast: #ffffff;
  --accent: var(--brand-magenta);
  --accent-hover: var(--brand-magenta-dark);

  --success: #1a7f4b;
  --success-bg: #e6f6ee;
  --warning: #92610a;
  --warning-bg: #fdf3e2;
  --danger: #b4232a;
  --danger-bg: #fdecec;

  --whatsapp: #25d366;
  --whatsapp-dark: #1da851;

  /* --- Tipografia --- */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
  --font-display: 'Sora', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',
    Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;

  /* Escala fluida (clamp) */
  --fs-xs: .75rem;
  --fs-sm: .875rem;
  --fs-base: 1rem;
  --fs-md: 1.0625rem;
  --fs-lg: clamp(1.125rem, .3vw + 1.05rem, 1.25rem);
  --fs-xl: clamp(1.3rem, .6vw + 1.15rem, 1.6rem);
  --fs-2xl: clamp(1.6rem, 1.2vw + 1.3rem, 2.1rem);
  --fs-3xl: clamp(2rem, 2.2vw + 1.4rem, 3rem);
  --fs-4xl: clamp(2.4rem, 4vw + 1.2rem, 4.2rem);
  --fs-5xl: clamp(3rem, 6vw + 1rem, 5.5rem);

  --lh-tight: 1.1;
  --lh-snug: 1.28;
  --lh-normal: 1.6;
  --lh-relaxed: 1.75;

  /* --- Espaçamento (base 4px) --- */
  --sp-1: .25rem;
  --sp-2: .5rem;
  --sp-3: .75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;
  --sp-section: clamp(3.5rem, 7vw, 7rem);

  /* --- Raio --- */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 22px;
  --r-2xl: 30px;
  --r-full: 999px;

  /* --- Sombra --- */
  --sh-xs: 0 1px 2px rgba(20, 26, 33, .06);
  --sh-sm: 0 2px 6px rgba(20, 26, 33, .07);
  --sh-md: 0 6px 20px rgba(20, 26, 33, .09);
  --sh-lg: 0 18px 44px rgba(20, 26, 33, .12);
  --sh-xl: 0 30px 70px rgba(20, 26, 33, .16);
  --sh-teal: 0 14px 34px rgba(48, 156, 156, .3);
  --sh-magenta: 0 14px 34px rgba(150, 25, 155, .26);

  /* --- Movimento --- */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur-fast: .16s;
  --dur: .28s;
  --dur-slow: .5s;

  /* --- Layout --- */
  --container: 1200px;
  --container-narrow: 780px;
  --container-wide: 1400px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --header-h: 76px;

  --focus-ring: 0 0 0 3px var(--bg), 0 0 0 5.5px var(--primary);
}

/* ==========================================================================
   03. TEMA ESCURO
   ========================================================================== */

[data-theme='dark'] {
  color-scheme: dark;

  --bg: #0e0b12;
  --bg-alt: #150f1c;
  --bg-sunken: #0a0810;
  --surface: #181222;
  --surface-2: #1f1730;
  --surface-raised: #221a33;

  --text: #ece9f2;
  --text-muted: #a9a2ba;
  --text-subtle: #857e97;
  --text-invert: #14101b;

  --border: #2c2340;
  --border-strong: #3d3153;

  --primary: #45c8c8;
  --primary-hover: #6ad6d6;
  --primary-contrast: #06201f;
  --accent: #cb5ed0;
  --accent-hover: #dc85e0;

  --success: #4ade80;
  --success-bg: rgba(74, 222, 128, .12);
  --warning: #fbbf24;
  --warning-bg: rgba(251, 191, 36, .12);
  --danger: #f87171;
  --danger-bg: rgba(248, 113, 113, .12);

  --grad-brand-soft: linear-gradient(120deg, rgba(69, 200, 200, .12) 0%, rgba(203, 94, 208, .12) 100%);

  --sh-xs: 0 1px 2px rgba(0, 0, 0, .5);
  --sh-sm: 0 2px 8px rgba(0, 0, 0, .45);
  --sh-md: 0 8px 24px rgba(0, 0, 0, .5);
  --sh-lg: 0 20px 50px rgba(0, 0, 0, .58);
  --sh-xl: 0 34px 80px rgba(0, 0, 0, .66);
  --sh-teal: 0 14px 34px rgba(69, 200, 200, .22);
  --sh-magenta: 0 14px 34px rgba(203, 94, 208, .2);

  --focus-ring: 0 0 0 3px var(--bg), 0 0 0 5.5px var(--primary);
}

/* ==========================================================================
   04. TIPOGRAFIA
   ========================================================================== */

body {
  font-family: var(--font-sans);
  font-size: var(--fs-md);
  line-height: var(--lh-normal);
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'kern' 1, 'liga' 1, 'cv02' 1, 'cv03' 1;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: var(--lh-tight);
  letter-spacing: -.022em;
  color: var(--text);
  text-wrap: balance;
}

h1 { font-size: var(--fs-4xl); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-2xl); }
h4 { font-size: var(--fs-xl); }
h5 { font-size: var(--fs-lg); }
h6 { font-size: var(--fs-base); }

p {
  text-wrap: pretty;
}

strong,
b {
  font-weight: 650;
  color: var(--text);
}

small {
  font-size: var(--fs-sm);
}

a {
  text-decoration-thickness: 1.5px;
  text-underline-offset: .18em;
  transition: color var(--dur-fast) var(--ease);
}

a:hover {
  color: var(--primary);
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--r-sm);
}

/* Sublinhado do texto corrido - links dentro de conteúdo */
.prose a {
  color: var(--primary);
  text-decoration: underline;
}

.prose a:hover {
  color: var(--primary-hover);
}

.prose > * + * {
  margin-top: var(--sp-5);
}

.prose h2 {
  font-size: var(--fs-xl);
  margin-top: var(--sp-12);
  padding-top: var(--sp-2);
}

.prose h3 {
  font-size: var(--fs-lg);
  margin-top: var(--sp-8);
}

.prose ul,
.prose ol {
  padding-left: 1.35rem;
  display: grid;
  gap: var(--sp-2);
}

.prose li::marker {
  color: var(--primary);
}

.prose table {
  font-size: var(--fs-sm);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}

.prose th,
.prose td {
  padding: var(--sp-3) var(--sp-4);
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.prose th {
  background: var(--bg-alt);
  font-weight: 650;
}

.prose tr:last-child td {
  border-bottom: 0;
}

/* Realces tipográficos */
.text-gradient {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

[data-theme='dark'] .text-gradient {
  background: linear-gradient(110deg, #5fd8d8 0%, #d06fd5 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--sp-4);
}

.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
  flex: none;
}

.lead {
  font-size: var(--fs-lg);
  line-height: var(--lh-relaxed);
  color: var(--text-muted);
}

.muted { color: var(--text-muted); }
.subtle { color: var(--text-subtle); }
.fine-print {
  font-size: var(--fs-xs);
  line-height: 1.55;
  color: var(--text-subtle);
}

/* ==========================================================================
   05. LAYOUT & UTILITÁRIOS
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow { max-width: var(--container-narrow); }
.container--wide { max-width: var(--container-wide); }

.section {
  padding-block: var(--sp-section);
  position: relative;
}

.section--tight { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.section--alt { background: var(--bg-alt); }
.section--sunken { background: var(--bg-sunken); }

.section-head {
  max-width: 62ch;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .eyebrow {
  justify-content: center;
}

.section-head p {
  margin-top: var(--sp-4);
}

.grid { display: grid; gap: var(--sp-6); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }

.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  align-items: center;
}

.stack > * + * { margin-top: var(--sp-4); }

.text-center { text-align: center; }

.divider {
  height: 1px;
  border: 0;
  background: var(--border);
  margin-block: var(--sp-10);
}

/* Acessibilidade */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -120%);
  z-index: 999;
  background: var(--primary);
  color: var(--primary-contrast);
  padding: var(--sp-3) var(--sp-6);
  border-radius: 0 0 var(--r-md) var(--r-md);
  font-weight: 650;
  text-decoration: none;
  transition: transform var(--dur) var(--ease);
}

.skip-link:focus {
  transform: translate(-50%, 0);
}

/* ==========================================================================
   06. BOTÕES
   ========================================================================== */

.btn {
  --btn-bg: var(--primary);
  --btn-fg: var(--primary-contrast);
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: .8rem 1.5rem;
  min-height: 48px;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -.005em;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  border: 1.5px solid var(--btn-bd);
  border-radius: var(--r-full);
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease),
    box-shadow var(--dur) var(--ease),
    background-color var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease),
    color var(--dur-fast) var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.btn:hover {
  color: var(--btn-fg);
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn svg {
  flex: none;
  width: 1.15em;
  height: 1.15em;
}

.btn--primary {
  --btn-bg: var(--primary);
  --btn-fg: var(--primary-contrast);
  box-shadow: var(--sh-teal);
}

.btn--primary:hover {
  --btn-bg: var(--primary-hover);
}

.btn--brand {
  --btn-fg: #fff;
  background: var(--grad-brand);
  background-size: 160% 160%;
  background-position: 0% 50%;
  box-shadow: var(--sh-magenta);
  transition: background-position var(--dur-slow) var(--ease),
    transform var(--dur-fast) var(--ease), box-shadow var(--dur) var(--ease);
}

.btn--brand:hover {
  background-position: 100% 50%;
  --btn-fg: #fff;
}

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  --btn-bd: var(--border-strong);
}

.btn--outline:hover {
  --btn-bd: var(--primary);
  --btn-fg: var(--primary);
  --btn-bg: var(--grad-brand-soft);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text-muted);
  --btn-bd: transparent;
  min-height: 40px;
  padding: .5rem 1rem;
}

.btn--ghost:hover {
  --btn-fg: var(--primary);
  --btn-bg: var(--bg-alt);
}

.btn--whatsapp {
  --btn-bg: var(--whatsapp);
  --btn-fg: #04301a;
  box-shadow: 0 14px 34px rgba(37, 211, 102, .28);
}

.btn--whatsapp:hover {
  --btn-bg: var(--whatsapp-dark);
  --btn-fg: #fff;
}

.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--brand-purple-deep);
}

.btn--light:hover {
  --btn-bg: #f2f6f7;
  --btn-fg: var(--brand-purple-deep);
}

.btn--on-dark-outline {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-bd: rgba(255, 255, 255, .38);
}

.btn--on-dark-outline:hover {
  --btn-bg: rgba(255, 255, 255, .1);
  --btn-fg: #fff;
  --btn-bd: rgba(255, 255, 255, .7);
}

.btn--lg {
  padding: 1rem 2rem;
  min-height: 56px;
  font-size: var(--fs-lg);
}

.btn--sm {
  padding: .5rem 1.1rem;
  min-height: 40px;
  font-size: var(--fs-sm);
}

.btn--block {
  display: flex;
  width: 100%;
}

/* Link com seta */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-weight: 650;
  color: var(--primary);
  text-decoration: none;
}

.link-arrow svg {
  width: 1.05em;
  height: 1.05em;
  transition: transform var(--dur) var(--ease);
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

/* Badges / pills */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: .3rem .7rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-radius: var(--r-full);
  background: var(--bg-alt);
  color: var(--text-muted);
  border: 1px solid var(--border);
  white-space: nowrap;
}

.badge--brand {
  background: var(--grad-brand);
  color: #fff;
  border-color: transparent;
}

.badge--teal {
  background: rgba(48, 156, 156, .12);
  color: var(--brand-teal-dark);
  border-color: rgba(48, 156, 156, .3);
}

[data-theme='dark'] .badge--teal {
  color: var(--brand-teal-light);
}

.badge--success {
  background: var(--success-bg);
  color: var(--success);
  border-color: transparent;
}

.badge--glass {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border-color: rgba(255, 255, 255, .22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ==========================================================================
   07. HEADER / NAVEGAÇÃO
   ========================================================================== */

.topbar {
  background: var(--brand-purple-deep);
  color: rgba(255, 255, 255, .82);
  font-size: var(--fs-xs);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  min-height: 40px;
  flex-wrap: wrap;
}

.topbar__list {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  list-style: none;
  padding: 0;
  margin: 0;
}

.topbar a {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  color: inherit;
  text-decoration: none;
  padding-block: .35rem;
}

.topbar a:hover {
  color: var(--brand-teal-lighter);
}

.topbar svg {
  width: 14px;
  height: 14px;
  flex: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    background-color var(--dur) var(--ease);
}

@supports not (backdrop-filter: blur(1px)) {
  .site-header { background: var(--bg); }
}

.site-header.is-stuck {
  border-bottom-color: var(--border);
  box-shadow: var(--sh-sm);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
  flex: none;
  margin-right: auto;
}

.brand__logo {
  height: 40px;
  width: auto;
}

/* Duas versões do logotipo: a marca "telecom" é grafite e sumiria no tema
   escuro. A troca é feita pelo atributo data-theme (que o botão de tema
   controla), e não por prefers-color-scheme - assim o logo acompanha a
   escolha do usuário, não a do sistema operacional. */
.brand__logo--dark { display: none; }

[data-theme='dark'] .brand__logo--light { display: none; }
[data-theme='dark'] .brand__logo--dark { display: block; }

.brand:hover { color: inherit; }

/* Navegação principal */
.nav {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: .55rem .85rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: var(--r-md);
  white-space: nowrap;
  transition: color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}

.nav__link:hover {
  color: var(--text);
  background: var(--bg-alt);
}

.nav__link[aria-current='page'] {
  color: var(--primary);
}

.nav__link[aria-current='page']::after {
  content: '';
  position: absolute;
  left: .85rem;
  right: .85rem;
  bottom: .18rem;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex: none;
}

/* Botão de tema */
.theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--r-full);
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  background: var(--surface);
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease),
    transform var(--dur-fast) var(--ease);
}

.theme-toggle:hover {
  color: var(--primary);
  border-color: var(--primary);
  transform: rotate(-12deg);
}

.theme-toggle svg {
  width: 19px;
  height: 19px;
}

.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme='dark'] .theme-toggle .icon-sun { display: block; }
[data-theme='dark'] .theme-toggle .icon-moon { display: none; }

/* Hambúrguer */
.nav-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text);
}

.nav-toggle__bars {
  position: relative;
  width: 20px;
  height: 14px;
}

.nav-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--dur) var(--ease), opacity var(--dur-fast) var(--ease);
}

.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 6px; }
.nav-toggle__bars span:nth-child(3) { top: 12px; }

.nav-toggle[aria-expanded='true'] .nav-toggle__bars span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded='true'] .nav-toggle__bars span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded='true'] .nav-toggle__bars span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 1080px) {
  .nav-toggle { display: grid; }

  .nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    height: var(--mobile-nav-height, calc(100dvh - var(--header-h)));
    display: block;
    padding: var(--sp-6) var(--gutter) var(--sp-16);
    background: var(--bg);
    border-top: 1px solid var(--border);
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease),
      visibility var(--dur);
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: var(--sp-1);
  }

  .nav__link {
    padding: var(--sp-4);
    font-size: var(--fs-lg);
    border-radius: var(--r-lg);
    border-bottom: 1px solid var(--border);
  }

  .nav__link[aria-current='page']::after { display: none; }
  .nav__link[aria-current='page'] { background: var(--grad-brand-soft); }

  .nav__cta {
    display: grid;
    gap: var(--sp-3);
    margin-top: var(--sp-6);
  }

  .header__actions .btn--desktop { display: none; }
}

@media (min-width: 1081px) {
  .nav__cta { display: none; }
}

@media (max-width: 640px) {
  .topbar__inner { justify-content: center; }
  .topbar__list--secondary { display: none; }
  .brand__logo { height: 34px; }
}

/* ==========================================================================
   08. HERO
   ========================================================================== */

.hero {
  position: relative;
  isolation: isolate;
  background: var(--grad-hero);
  color: #fff;
  overflow: hidden;
  padding-block: clamp(3.5rem, 9vw, 7.5rem);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 0%, transparent 78%);
  pointer-events: none;
}

.hero h1,
.hero h2,
.hero h3 { color: #fff; }

.hero__grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero__content { max-width: 40rem; }

.hero .eyebrow {
  color: var(--brand-teal-lighter);
}

.hero .eyebrow::before {
  background: var(--brand-teal-lighter);
}

.hero__title {
  font-size: var(--fs-4xl);
  letter-spacing: -.03em;
}

.hero__title .text-gradient {
  background: linear-gradient(100deg, #6fe0df 0%, #d878dd 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero__text {
  margin-top: var(--sp-5);
  font-size: var(--fs-lg);
  line-height: var(--lh-relaxed);
  color: rgba(255, 255, 255, .78);
  max-width: 46ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-8);
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4) var(--sp-6);
  margin-top: var(--sp-8);
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(255, 255, 255, .12);
  list-style: none;
}

.hero__trust li {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, .74);
}

.hero__trust svg {
  width: 18px;
  height: 18px;
  color: var(--brand-teal-lighter);
  flex: none;
}

/* Card de oferta flutuante do hero */
.offer-card {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--r-2xl);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 34px 80px rgba(0, 0, 0, .42);
}

.offer-card__flag {
  position: absolute;
  top: -.85rem;
  left: clamp(1.5rem, 3vw, 2.25rem);
  padding: .35rem .9rem;
  border-radius: var(--r-full);
  background: var(--grad-brand);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: var(--sh-magenta);
}

.offer-card__label {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
}

.offer-card__speed {
  display: flex;
  align-items: baseline;
  gap: .35rem;
  margin-top: var(--sp-2);
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 4.4rem);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.045em;
  background: linear-gradient(100deg, #6fe0df 0%, #d878dd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.offer-card__unit {
  font-size: var(--fs-xl);
  font-weight: 700;
}

.offer-card__price {
  display: flex;
  align-items: flex-end;
  gap: .3rem;
  margin-top: var(--sp-5);
  color: #fff;
}

.offer-card__currency {
  font-size: var(--fs-lg);
  font-weight: 600;
  padding-bottom: .45rem;
  color: rgba(255, 255, 255, .7);
}

.offer-card__amount {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
}

.offer-card__period {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, .62);
  padding-bottom: .5rem;
}

.offer-card__list {
  display: grid;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(255, 255, 255, .14);
  list-style: none;
}

.offer-card__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, .84);
}

.offer-card__list svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: .18em;
  color: var(--brand-teal-lighter);
}

.offer-card .btn { margin-top: var(--sp-6); }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__content { max-width: none; }
}

/* Hero compacto para páginas internas */
.page-hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(2.75rem, 6vw, 5rem);
  background: var(--grad-hero);
  color: #fff;
  overflow: hidden;
}

.page-hero h1 { color: #fff; }

.page-hero__text {
  margin-top: var(--sp-4);
  font-size: var(--fs-lg);
  color: rgba(255, 255, 255, .76);
  max-width: 60ch;
}

.page-hero .eyebrow {
  color: var(--brand-teal-lighter);
}

.page-hero .eyebrow::before { background: var(--brand-teal-lighter); }

/* Breadcrumb */
.breadcrumb {
  margin-bottom: var(--sp-5);
  font-size: var(--fs-sm);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2);
  list-style: none;
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, .6);
}

.breadcrumb a {
  color: rgba(255, 255, 255, .8);
  text-decoration: none;
}

.breadcrumb a:hover { color: #fff; text-decoration: underline; }

.breadcrumb li + li::before {
  content: '/';
  margin-right: var(--sp-2);
  color: rgba(255, 255, 255, .35);
}

.breadcrumb [aria-current='page'] { color: #fff; font-weight: 600; }

/* ==========================================================================
   09. CARDS & PLANOS
   ========================================================================== */

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.35rem, 2.4vw, 1.9rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.card--hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
  border-color: color-mix(in srgb, var(--primary) 42%, var(--border));
}

.card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: var(--sp-5);
  border-radius: var(--r-lg);
  background: var(--grad-brand-soft);
  color: var(--primary);
  flex: none;
}

.card__icon svg { width: 26px; height: 26px; }

.card h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-3);
}

.card p { color: var(--text-muted); font-size: var(--fs-base); }

/* --- Cartão de plano --- */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: var(--sp-6);
  align-items: stretch;
}

/* Variante para 4 planos lado a lado. Use sempre dentro de .container--wide,
   senão os cartões ficam estreitos demais e o preço quebra em duas linhas. */
.plan-grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 258px), 1fr));
  gap: var(--sp-5);
}

.plan-grid--4 .plan {
  padding: clamp(1.25rem, 2vw, 1.6rem);
}

.plan-grid--4 .plan__speed-value {
  font-size: clamp(2.4rem, 3.4vw, 3rem);
}

.plan-grid--4 .plan__price-value {
  font-size: clamp(1.9rem, 2.6vw, 2.35rem);
}

.plan-grid--4 .plan__name {
  font-size: var(--fs-lg);
}

.plan-grid--4 .plan__features li {
  font-size: var(--fs-sm);
}

/* Variante para 5 planos lado a lado. Exige .container--wide. */
.plan-grid--5 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 232px), 1fr));
  gap: var(--sp-4);
}

.plan-grid--5 .plan { padding: clamp(1.1rem, 1.8vw, 1.45rem); }
.plan-grid--5 .plan__name { font-size: var(--fs-base); }
.plan-grid--5 .plan__price-value { font-size: clamp(1.7rem, 2.2vw, 2.05rem); }
.plan-grid--5 .plan__speed-value { font-size: clamp(2rem, 3vw, 2.5rem); }
.plan-grid--5 .plan__speed-unit { font-size: var(--fs-sm); }
.plan-grid--5 .plan__features li { font-size: var(--fs-sm); }
.plan-grid--5 .plan--featured { padding-top: clamp(2.7rem, 3vw, 3rem); }
.plan-grid--5 .plan__flag {
  top: .75rem;
  font-size: 10px;
  padding: .3rem .7rem;
}

/* Tabela de preços (planos empresariais) */
.price-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: var(--fs-base);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.price-table caption {
  caption-side: top;
  text-align: left;
  padding-bottom: var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.price-table th,
.price-table td {
  padding: var(--sp-4) var(--sp-5);
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.price-table thead th {
  background: var(--bg-alt);
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.price-table tbody tr:last-child th,
.price-table tbody tr:last-child td {
  border-bottom: 0;
}

.price-table tbody tr {
  transition: background-color var(--dur-fast) var(--ease);
}

.price-table tbody tr:hover {
  background: var(--bg-alt);
}

.price-table__speed {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.price-table__price {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--primary);
  white-space: nowrap;
}

.price-table__action { text-align: right; white-space: nowrap; }

/* No celular a tabela vira uma pilha de cartões. Cada <td> mostra o rótulo
   da coluna pelo atributo data-label, o que permite tabelas com qualquer
   número de colunas sem quebrar o layout. */
@media (max-width: 720px) {
  .price-table thead { display: none; }

  .price-table tbody tr {
    display: block;
    padding: var(--sp-5) var(--sp-4);
    border-bottom: 1px solid var(--border);
  }

  .price-table tbody tr:last-child { border-bottom: 0; }

  .price-table th,
  .price-table td {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--sp-4);
    padding: .25rem 0;
    border: 0;
    text-align: right;
  }

  .price-table tbody th {
    padding-bottom: var(--sp-3);
    margin-bottom: var(--sp-2);
    border-bottom: 1px dashed var(--border);
    text-align: left;
  }

  .price-table td::before {
    content: attr(data-label);
    flex: none;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--text-muted);
    text-align: left;
  }

  .price-table td:not([data-label])::before { content: none; }

  .price-table__action {
    display: block;
    text-align: left;
    margin-top: var(--sp-4);
  }

  .price-table__action .btn { width: 100%; }
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.6rem, 3vw, 2.2rem);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-2xl);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.plan:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-xl);
  border-color: color-mix(in srgb, var(--primary) 50%, var(--border));
}

.plan--featured {
  border-color: transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    var(--grad-brand) border-box;
  border: 2px solid transparent;
  box-shadow: var(--sh-lg);
}

.plan--featured:hover {
  border-color: transparent;
}

.plan__flag {
  position: absolute;
  top: -.8rem;
  left: 50%;
  transform: translateX(-50%);
  padding: .35rem 1rem;
  border-radius: var(--r-full);
  background: var(--grad-brand);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: var(--sh-magenta);
}

.plan__header {
  padding-bottom: var(--sp-5);
  border-bottom: 1px solid var(--border);
}

.plan__kicker {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--primary);
}

.plan__name {
  margin-top: var(--sp-2);
  font-size: var(--fs-xl);
  letter-spacing: -.02em;
}

.plan__speed {
  display: flex;
  align-items: baseline;
  gap: .3rem;
  margin-top: var(--sp-4);
}

.plan__speed-value {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.045em;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

[data-theme='dark'] .plan__speed-value {
  background: linear-gradient(110deg, #5fd8d8 0%, #d06fd5 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.plan__speed-unit {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--text-muted);
}

/* Fica logo abaixo do preço, explicando a simetria da velocidade. */
.plan__symmetry {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-top: var(--sp-2);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.plan__symmetry svg { flex: none; }

.plan__symmetry svg { width: 16px; height: 16px; color: var(--primary); }

.plan__price {
  display: flex;
  align-items: flex-end;
  gap: .25rem;
  margin-top: var(--sp-4);
}

.plan__price-currency {
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--text-muted);
  padding-bottom: .4rem;
}

.plan__price-value {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 2.9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--text);
}

.plan__price-period {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  padding-bottom: .4rem;
}

.plan__features {
  display: grid;
  gap: var(--sp-3);
  margin: var(--sp-6) 0;
  padding: 0;
  list-style: none;
  flex: 1;
}

/* O <li> é flex para alinhar o ícone com a primeira linha do texto.
   Por isso o conteúdo textual precisa vir dentro de um <span>: sem ele,
   um <strong> no meio da frase vira um flex item separado e a pontuação
   seguinte quebra em outra linha. */
.plan__features li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--fs-base);
  color: var(--text-muted);
}

.plan__features li > span { flex: 1; min-width: 0; }
.plan__features li > svg { flex: none; }

.plan__features svg {
  width: 19px;
  height: 19px;
  flex: none;
  margin-top: .16em;
  color: var(--primary);
}

.plan__features li[data-included='false'] {
  color: var(--text-subtle);
  text-decoration: line-through;
  text-decoration-color: var(--border-strong);
}

.plan__features li[data-included='false'] svg { color: var(--text-subtle); }

.plan__footer { margin-top: auto; }

.plan__note {
  margin-top: var(--sp-3);
  font-size: var(--fs-xs);
  color: var(--text-subtle);
  text-align: center;
}

/* --- Estatísticas --- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: var(--sp-6);
}

.stat {
  text-align: center;
  padding: var(--sp-5);
}

.stat__value {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

[data-theme='dark'] .stat__value {
  background: linear-gradient(110deg, #5fd8d8 0%, #d06fd5 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.stat__label {
  margin-top: var(--sp-2);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

/* ==========================================================================
   10. GRADE DE CANAIS
   ========================================================================== */

.channels__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-6);
  padding: var(--sp-4);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  position: sticky;
  top: calc(var(--header-h) + 8px);
  z-index: 20;
  box-shadow: var(--sh-sm);
}

.search-field {
  position: relative;
  flex: 1 1 260px;
  min-width: 0;
}

.search-field svg {
  position: absolute;
  left: .9rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-subtle);
  pointer-events: none;
}

.search-field input {
  width: 100%;
  min-height: 46px;
  padding: .6rem 1rem .6rem 2.75rem;
  font-size: var(--fs-base);
  color: var(--text);
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  border-radius: var(--r-full);
  transition: border-color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}

.search-field input::placeholder { color: var(--text-subtle); }

.search-field input:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--surface);
  box-shadow: var(--focus-ring);
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.chip {
  padding: .45rem 1rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  border-radius: var(--r-full);
  white-space: nowrap;
  transition: all var(--dur-fast) var(--ease);
}

.chip:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

.chip[aria-pressed='true'] {
  color: #fff;
  background: var(--grad-brand);
  border-color: transparent;
  box-shadow: var(--sh-sm);
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 132px), 1fr));
  gap: var(--sp-3);
  list-style: none;
  padding: 0;
  margin: 0;
}

.channel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-4) var(--sp-2);
  min-height: 104px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease);
}

.channel:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-md);
  border-color: color-mix(in srgb, var(--primary) 45%, var(--border));
}

.channel__mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: var(--r-md);
  overflow: hidden;
  flex: none;
}

/* Logo real do canal (assets/img/canais/<slug>.svg) */
.channel__logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
}

/* Usado só quando o arquivo do logo não existe: mostra as iniciais. */
.channel__mark--fallback {
  background: var(--grad-brand-soft);
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--primary);
}

.channel__name {
  font-size: var(--fs-xs);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}

.channel__cat {
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.channels__empty {
  padding: var(--sp-16) var(--sp-4);
  text-align: center;
  color: var(--text-muted);
}

.channels__count {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: var(--sp-4);
}

/* ==========================================================================
   11. ACORDEÃO / FAQ
   ========================================================================== */

.accordion {
  display: grid;
  gap: var(--sp-3);
}

.accordion details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.accordion details[open] {
  border-color: color-mix(in srgb, var(--primary) 45%, var(--border));
  box-shadow: var(--sh-sm);
}

.accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-6);
  font-family: var(--font-display);
  font-size: var(--fs-base);
  font-weight: 650;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  transition: background-color var(--dur-fast) var(--ease);
}

.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::marker { content: ''; }

.accordion summary:hover { background: var(--bg-alt); }

.accordion summary::after {
  content: '';
  flex: none;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform var(--dur) var(--ease);
}

.accordion details[open] summary::after {
  transform: rotate(-135deg) translate(-2px, -2px);
}

.accordion__body {
  padding: 0 var(--sp-6) var(--sp-6);
  color: var(--text-muted);
  font-size: var(--fs-base);
}

.accordion__body > * + * { margin-top: var(--sp-3); }

/* ==========================================================================
   12. SEÇÕES DIVERSAS
   ========================================================================== */

/* Faixa de destaque em gradiente */
.cta-band {
  position: relative;
  isolation: isolate;
  padding-block: clamp(3rem, 6vw, 5rem);
  background: var(--grad-brand);
  color: #fff;
  overflow: hidden;
}

.cta-band::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(700px 380px at 82% 18%, rgba(255, 255, 255, .18) 0%, transparent 65%);
}

.cta-band h2 { color: #fff; }

.cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-8);
}

.cta-band__text { max-width: 46rem; }

.cta-band__text p {
  margin-top: var(--sp-3);
  color: rgba(255, 255, 255, .88);
  font-size: var(--fs-lg);
}

/* Bloco alternado imagem/texto */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.split--reverse > *:first-child { order: 2; }

@media (max-width: 720px) {
  .split--reverse > *:first-child { order: 0; }
}

.split__media {
  border-radius: var(--r-2xl);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  background: var(--grad-brand-soft);
}

/* Lista de checagem */
.check-list {
  display: grid;
  gap: var(--sp-3);
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  color: var(--text-muted);
}

.check-list svg {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: .2em;
  color: var(--primary);
}

/* Passos numerados */
.steps {
  display: grid;
  gap: var(--sp-6);
  counter-reset: step;
  list-style: none;
  padding: 0;
}

.steps > li {
  position: relative;
  padding-left: 4.25rem;
  counter-increment: step;
}

.steps > li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--r-full);
  background: var(--grad-brand-soft);
  border: 1.5px solid color-mix(in srgb, var(--primary) 32%, transparent);
  font-family: var(--font-display);
  font-size: var(--fs-base);
  font-weight: 800;
  color: var(--primary);
}

.steps h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-2);
}

.steps p { color: var(--text-muted); }

/* Aviso / callout */
.callout {
  display: flex;
  gap: var(--sp-4);
  padding: var(--sp-5);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--bg-alt);
  font-size: var(--fs-base);
}

.callout svg { width: 22px; height: 22px; flex: none; color: var(--primary); }
.callout--warning { background: var(--warning-bg); border-color: transparent; }
.callout--warning svg { color: var(--warning); }
.callout--success { background: var(--success-bg); border-color: transparent; }
.callout--success svg { color: var(--success); }

/* Lista de contatos */
.contact-list {
  display: grid;
  gap: var(--sp-4);
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-item {
  display: flex;
  gap: var(--sp-4);
  padding: var(--sp-5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  text-decoration: none;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

a.contact-item:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--primary) 45%, var(--border));
  box-shadow: var(--sh-md);
  color: inherit;
}

.contact-item__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: var(--r-md);
  background: var(--grad-brand-soft);
  color: var(--primary);
}

.contact-item__icon svg { width: 22px; height: 22px; }

.contact-item__body { flex: 1; min-width: 0; }

.contact-item__title {
  display: block;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: var(--fs-base);
  color: var(--text);
}

.contact-item__meta {
  display: block;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-top: .15rem;
}

/* Segundo filho direto sem classe também se comporta como corpo do item. */
.contact-item > span:not([class]),
.contact-item > div:not([class]) {
  flex: 1;
  min-width: 0;
}

/* Botão flutuante do WhatsApp */
.fab-whatsapp {
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  padding: .9rem 1.2rem;
  border-radius: var(--r-full);
  background: var(--whatsapp);
  color: #04301a;
  font-weight: 700;
  font-size: var(--fs-sm);
  text-decoration: none;
  box-shadow: 0 12px 34px rgba(37, 211, 102, .4);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease);
}

.fab-whatsapp:hover {
  transform: translateY(-3px) scale(1.02);
  color: #04301a;
  box-shadow: 0 18px 44px rgba(37, 211, 102, .5);
}

.fab-whatsapp svg { width: 24px; height: 24px; flex: none; }

@media (max-width: 640px) {
  .fab-whatsapp__label { display: none; }
  .fab-whatsapp { padding: .95rem; }
}

/* Cartões de app */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  padding: .65rem 1.15rem;
  border-radius: var(--r-lg);
  border: 1.5px solid var(--border-strong);
  background: var(--surface);
  text-decoration: none;
  transition: all var(--dur-fast) var(--ease);
}

.store-badge:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  color: inherit;
}

.store-badge svg { width: 26px; height: 26px; flex: none; }
.store-badge span { display: block; line-height: 1.2; }
.store-badge__small { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; }
.store-badge__big { font-size: var(--fs-base); font-weight: 650; font-family: var(--font-display); }

/* ==========================================================================
   13. FOOTER
   ========================================================================== */

.site-footer {
  background: var(--brand-purple-deep);
  color: rgba(255, 255, 255, .72);
  padding-top: clamp(3rem, 6vw, 5rem);
  font-size: var(--fs-sm);
}

.site-footer h2,
.site-footer h3 { color: #fff; }

.footer__grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: var(--sp-12);
}

.footer__brand-logo {
  height: 42px;
  width: auto;
  margin-bottom: var(--sp-5);
}

.footer__about {
  max-width: 34ch;
  line-height: var(--lh-relaxed);
}

.footer__title {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: var(--sp-4);
}

.footer__list {
  display: grid;
  gap: var(--sp-3);
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__list a {
  color: rgba(255, 255, 255, .72);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}

.footer__list a:hover {
  color: var(--brand-teal-lighter);
  text-decoration: underline;
}

.footer__contact {
  display: grid;
  gap: var(--sp-3);
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__contact li {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
}

.footer__contact svg {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: .22em;
  color: var(--brand-teal-light);
}

.footer__contact a { color: inherit; text-decoration: none; }
.footer__contact a:hover { color: var(--brand-teal-lighter); text-decoration: underline; }

.social {
  display: flex;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
}

.social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-full);
  border: 1px solid rgba(255, 255, 255, .18);
  color: rgba(255, 255, 255, .8);
  transition: all var(--dur-fast) var(--ease);
}

.social a:hover {
  background: var(--grad-brand);
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px);
}

.social svg { width: 18px; height: 18px; }

.footer__legal {
  padding-block: var(--sp-6);
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: var(--fs-xs);
  line-height: 1.7;
  color: rgba(255, 255, 255, .55);
}

.footer__legal p + p { margin-top: var(--sp-2); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-block: var(--sp-5);
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, .55);
}

.footer__bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-5);
}

.footer__bottom a { color: inherit; text-decoration: none; }
.footer__bottom a:hover { color: var(--brand-teal-lighter); text-decoration: underline; }

/* Selo Anatel */
.anatel-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-4);
  margin-bottom: var(--sp-6);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, .68);
}

/* ==========================================================================
   14. ANIMAÇÕES & REVEAL
   ========================================================================== */

@keyframes fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes pulse-ring {
  0% { transform: scale(.9); opacity: .7; }
  70% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* Só oculta se o JS estiver ativo (classe adicionada em <html>) */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s var(--ease-out), transform .65s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

  .js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==========================================================================
   15. IMPRESSÃO
   ========================================================================== */

@media print {
  .site-header,
  .topbar,
  .fab-whatsapp,
  .site-footer,
  .cta-band,
  .nav-toggle,
  .theme-toggle,
  .channels__toolbar {
    display: none !important;
  }

  body { background: #fff; color: #000; font-size: 11pt; }
  .hero, .page-hero { background: #fff !important; color: #000 !important; }
  .hero h1, .page-hero h1 { color: #000 !important; }
  a[href^='http']::after { content: ' (' attr(href) ')'; font-size: 9pt; word-break: break-all; }
  .accordion details { break-inside: avoid; }
  .accordion details > .accordion__body { display: block !important; }
}

/* ==========================================================================
   Preferências de alto contraste / dados reduzidos
   ========================================================================== */

@media (prefers-contrast: more) {
  :root {
    --text-muted: #3a4552;
    --border: #b6c0c8;
    --border-strong: #8f9aa5;
  }

  [data-theme='dark'] {
    --text-muted: #cdc7db;
    --border: #4a3d65;
  }
}
