/* =============================================================
   CORES E FONTES — troque aqui para mudar a cara do site inteiro
   ============================================================= */
:root {
  --ink: #2E1A3D;        /* roxo bem escuro: fundos escuros e textos */
  --ink-2: #3D2252;
  --brand: #6C3688;      /* roxo Magofy (botões, velocidades, destaques) */
  --navy: #6A2283;       /* roxo do cabeçalho */
  --brand-2: #5A2B73;    /* roxo do hover */
  --brand-bright: #9C36BF; /* roxo vivo (degradês) */
  --accent: #2DD1C3;     /* turquesa Magofy (selo, "+", botão do boleto) */
  --accent-2: #22B9AC;
  --accent-soft: #4FB0A6; /* turquesa do botão "Conversar com atendente" */
  --price: #234C30;      /* verde escuro dos preços nos cards */
  --paper: #F6F6F6;      /* fundo claro das seções */
  --white: #FFFFFF;
  --text: #2A2233;
  --muted: #6B6475;
  --line: #E7E2EC;

  --font-display: "Mulish", system-ui, sans-serif;
  --font-body: "Mulish", system-ui, sans-serif;

  --gutter: 50px;       /* margem lateral do site */
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --wrap: 1100px;      /* largura máxima do conteúdo (inclui as margens) */
  --shadow: 0 1px 2px rgba(46,26,61, .06), 0 8px 24px -8px rgba(46,26,61, .12);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 16px/1.55 var(--font-body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.lock { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
.ico { flex: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter, 56px); }
.muted { color: var(--muted); }
.small { font-size: 14px; }

.eyebrow {
  margin: 0 0 14px; font: 600 13px/1 var(--font-body);
  letter-spacing: .14em; text-transform: uppercase; color: var(--brand);
}
.h2, .h3, .slide__title { font-family: var(--font-display); letter-spacing: -.02em; margin: 0; }
.h2 { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.04; font-weight: 700; }
.h3 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.1; font-weight: 700; }
.h2 em, .h3 em { font-style: normal; color: var(--brand); }
.lead { font-size: 18px; color: var(--muted); max-width: 52ch; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 999px; white-space: nowrap;
  font-weight: 600; font-size: 15px; border: 1.5px solid transparent;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s;
}
.btn:active { transform: translateY(1px); }
.btn--lg { height: 56px; padding: 0 28px; font-size: 16px; }
.btn--sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { background: var(--accent-2); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-2); }
.btn--brand { background: var(--brand); color: #fff; }
.btn--brand:hover { background: var(--brand-2); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn--light { background: #fff; border-color: var(--line); color: var(--ink); }
.btn--light:hover { border-color: var(--ink); }

.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid currentColor; opacity: .8; transition: opacity .15s, background .15s;
}
.icon-btn:hover { opacity: 1; background: rgba(255,255,255,.1); }

/* ---------- Topbar ---------- */
.topbar { background: var(--ink); color: rgba(255,255,255,.75); font-size: 13.5px; }
.topbar__in { display: flex; justify-content: flex-end; gap: 28px; height: 40px; align-items: center; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; transition: color .15s; }
.topbar a:hover { color: #fff; }
.topbar__phone { color: var(--accent); font-weight: 600; }
.topbar__client { color: #fff; font-weight: 600; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 1000; background: rgba(106, 34, 131, .96); color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  transition: box-shadow .2s;
}
.header.is-stuck { box-shadow: 0 10px 30px -18px rgba(30,10,45,.6); }
.header__in { display: flex; align-items: center; gap: 20px; height: 78px; }
.logo { display: inline-flex; align-items: baseline; gap: 3px; flex: none; }
.logo img { height: 44px; width: auto; }
.logo--light img { filter: brightness(0) invert(1); }
.logo--light img.is-white { filter: none; }
.logo__word { font: 800 34px/1 var(--font-display); letter-spacing: -.05em; color: var(--ink); }
.logo__mark { width: 22px; height: 22px; align-self: flex-start; margin: -4px 0 0 1px; transform: rotate(35deg); }
.logo__mark path { fill: none; stroke: var(--brand); stroke-width: 3; stroke-linecap: round; }
.logo__mark circle { fill: var(--accent); stroke: var(--ink); stroke-width: 1.2; }
.logo--light .logo__mark path { stroke: var(--accent); }
.logo--light .logo__word { color: #fff; }

.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { padding: 8px 14px; border-radius: 999px; font-weight: 500; font-size: 16px; white-space: nowrap; transition: background .15s; }
.nav a:hover { background: rgba(255,255,255,.1); }
.nav__only-sm { display: none; }
.header__actions { display: flex; align-items: center; gap: 10px; }
.header__cta { height: 46px; padding: 0 26px; font-size: 16px; font-weight: 700; margin-left: 14px; }
.burger { display: none; width: 44px; height: 44px; place-items: center; border-radius: 50%; }

/* Menu suspenso "Bairros" (js/menu-bairros.js) */
.mb { position: relative; }
.mb__btn { display: inline-flex; align-items: center; gap: 4px; padding: 8px 14px; border-radius: 999px; font-weight: 500; font-size: 16px; white-space: nowrap; color: inherit; }
.mb__btn:hover, .mb.is-open .mb__btn { background: rgba(255,255,255,.1); }
.mb__btn .ico { transition: transform .2s; }
.mb.is-open .mb__btn .ico { transform: rotate(180deg); }
.mb__panel {
  position: absolute; top: calc(100% + 10px); left: 50%; width: 520px; transform: translate(-50%, -6px);
  background: #fff; color: var(--text); border-radius: 18px; padding: 14px; box-shadow: 0 30px 60px -24px rgba(30,10,45,.5), 0 0 0 1px rgba(46,26,61,.06);
  opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s; z-index: 1200;
}
.mb.is-open .mb__panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mb__search { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border-radius: 12px; background: var(--paper); color: var(--muted); }
.mb__search input { flex: 1; min-width: 0; border: 0; outline: none; background: none; font: 500 15px var(--font-body); color: var(--text); }
.mb__list { max-height: 360px; overflow: auto; margin: 10px 0 6px; padding-right: 4px; }
.mb__city p { margin: 10px 6px 6px; font: 700 12px var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.mb__city { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 8px; }
.mb__city p { grid-column: 1 / -1; }
.nav .mb__city a { display: block; padding: 7px 8px; border-radius: 8px; font-size: 14.5px; font-weight: 500; color: var(--text); white-space: normal; border: 0; }
.nav .mb__city a:hover { background: #F3E9F8; color: var(--brand); }
.nav .mb__city a[aria-current="page"] { background: var(--brand); color: #fff; }
.mb__empty { margin: 12px 6px; color: var(--muted); font-size: 14px; }
.nav .mb__all { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 11px; border-radius: 12px; background: var(--brand); color: #fff; font-weight: 600; font-size: 15px; border: 0; }
.nav .mb__all:hover { background: var(--brand-2); }
@media (max-width: 980px) {
  .mb { border-bottom: 1px solid var(--line); }
  .mb__btn { width: 100%; justify-content: space-between; padding: 16px 0; border-radius: 0; font: 600 24px/1.2 var(--font-display); }
  .mb__btn:hover, .mb.is-open .mb__btn { background: none; }
  .mb__panel { position: static; width: auto; transform: none; box-shadow: none; padding: 0 0 16px; display: none; opacity: 1; visibility: visible; background: none; }
  .mb.is-open .mb__panel { display: block; transform: none; }
  .mb__list { max-height: 300px; }
  .nav .mb__city a { font: 500 16px var(--font-body); padding: 9px 8px; }
}

/* Seletor de cidade */
.city { position: relative; }
.city__btn {
  display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 16px;
  border-radius: 999px; background: #fff; border: 1.5px solid var(--line); font-weight: 500; font-size: 15px;
  max-width: 230px;
}
.city__btn > span:first-child { color: var(--brand); display: flex; }
.city__btn #cityName { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.city__chev { display: flex; transition: transform .2s; }
.city.is-open .city__chev { transform: rotate(180deg); }
.city__menu {
  position: absolute; top: calc(100% + 8px); right: 0; width: 240px; max-height: 320px; overflow: auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); box-shadow: var(--shadow);
  padding: 6px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .18s;
}
.city.is-open .city__menu { opacity: 1; visibility: visible; transform: none; }
.city__menu button { display: block; width: 100%; text-align: left; padding: 10px 12px; border-radius: 8px; font-size: 15px; }
.city__menu button:hover { background: var(--paper); }
.city__menu button[aria-selected="true"] { background: var(--ink); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden; isolation: isolate; transition: background-color .6s ease, color .6s;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    radial-gradient(60% 70% at 8% 0%, rgba(168,60,205,.95), transparent 70%),
    radial-gradient(55% 60% at 100% 10%, rgba(92,38,122,.9), transparent 70%),
    linear-gradient(180deg, #7B2C9E 0%, #5A2A78 45%, #43255D 80%, #3B2152 100%);
}
.hero::before, .hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .6s; pointer-events: none; }
.hero::before { background: radial-gradient(60% 80% at 78% 40%, rgba(108,54,136, .55), transparent 70%); }
.hero::after { background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.2) 1px, transparent 0); background-size: 22px 22px; }
.hero[data-tema="escuro"]::before { opacity: 1; }
.hero[data-tema="azul"] { background: var(--brand); }
.hero[data-tema="azul"]::after { opacity: 1; }
.hero[data-tema="amarelo"] { background: var(--accent); color: var(--ink); }
.hero__track { display: grid; position: absolute; inset: 0; z-index: 1; }
.slide {
  grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s;
  position: relative; isolation: isolate;
}
.slide.is-active { opacity: 1; visibility: visible; }

/* Foto de fundo + camada de cor por cima */
.slide__bg {
  position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center;
  transform: scale(1.08); transition: transform 9s ease-out;
}
.slide.is-active .slide__bg { transform: scale(var(--bg-zoom, 1)); }
/* computador: empurra a foto do banner para a direita (aumente/diminua --bg-shift) */
@media (min-width: 981px) {
  .hero { --bg-shift: 6%; --bg-zoom: 1.1; }   /* --bg-zoom: tamanho da imagem do mago (1 = original) */
  .slide--limpo { background: #2C0250; }   /* mesma cor da borda da foto */
  .slide__bg { transform-origin: 62% 78%; left: var(--bg-shift); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%); mask-image: linear-gradient(90deg, transparent, #000 10%); }
}
.slide__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(46,26,61,.86) 0%, rgba(46,26,61,.6) 32%, rgba(46,26,61,.12) 62%, rgba(46,26,61,.05) 100%),
    linear-gradient(0deg, rgba(46,26,61,.55), transparent 35%);
}
/* tema "limpo": para fotos com fundo liso — só escurece de leve onde fica o texto */
.slide--limpo .slide__bg::after {
  background:
    linear-gradient(90deg, rgba(46,20,70,.45) 0%, rgba(46,20,70,.2) 40%, transparent 65%),
    linear-gradient(0deg, rgba(46,20,70,.35), transparent 30%);
}
.hero[data-tema="limpo"] { background: #2C0250; }   /* cor de fundo enquanto a foto carrega */
.slide--azul .slide__bg::after {
  background:
    linear-gradient(90deg, rgba(70,24,100,.88) 0%, rgba(108,54,136,.6) 32%, rgba(108,54,136,.14) 62%, rgba(108,54,136,.05) 100%),
    linear-gradient(0deg, rgba(46,26,61,.5), transparent 35%);
}

.slide__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; min-height: 460px; }
.slide__copy { justify-self: end; max-width: 520px; width: 100%; transition: opacity .35s ease, transform .5s ease; }
.slide:not(.is-active) .slide__copy { opacity: 0; transform: translateY(12px); }
.slide.is-active .slide__copy { transition-delay: .35s; }
.slide__tag {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px; padding: 7px 14px; border-radius: 999px;
  background: var(--accent); color: var(--ink); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.slide__title { font-size: clamp(40px, 5vw, 68px); line-height: 1; font-weight: 700; max-width: 12ch; text-wrap: balance; }
.slide__title em { font-style: normal; color: var(--accent); }
.slide__text { font-size: 19px; opacity: .88; margin: 18px 0 32px; }
.slide__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.slide__cta .btn--ghost { backdrop-filter: blur(6px); background: rgba(255,255,255,.06); }

/* ---------- Chamada do banner (lado esquerdo, fixa sobre as fotos) ---------- */
.hero__content { position: relative; z-index: 2; padding: 52px 0 136px; pointer-events: none; }
.hb { pointer-events: auto; max-width: 560px; color: #fff; text-shadow: 0 2px 20px rgba(46,26,61,.35); }.hb__stars { display: flex; gap: 3px; margin-bottom: 14px; color: var(--accent); filter: drop-shadow(0 2px 6px rgba(0,0,0,.3)); }
.hb__title { margin: 0 0 34px; font-family: var(--font-display); letter-spacing: -.035em; }
.hb__l1 { display: block; font-size: clamp(30px, 3.1vw, 46px); font-weight: 300; line-height: 1.05; }
.hb__l2 { display: block; font-size: clamp(44px, 4.6vw, 68px); font-weight: 700; line-height: 1.08; max-width: 11ch; }
.hb__bar { display: block; width: min(300px, 60%); height: 5px; border-radius: 99px; background: #fff; margin: -8px 0 36px; box-shadow: 0 2px 12px rgba(46,26,61,.3); }
.hb__title em { font-style: normal; color: var(--accent); }

/* preço + "+" + duas caixinhas */
.hb__offer { position: relative; display: flex; align-items: stretch; gap: 12px; margin-bottom: 22px; }
.hb__price, .hb__extra {
  border: 1.5px solid rgba(255,255,255,.75); background: rgba(255,255,255,.07);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.hb__price {
  position: relative; flex: 1 1 auto; min-width: 0; display: flex; align-items: flex-start; justify-content: center; gap: 6px;   /* R$ e ,90 alinhados no topo do 99 */
  padding: 28px 22px 26px; border-radius: 22px; font-family: var(--font-display);
}
.hb__tag {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); white-space: nowrap;
  background: var(--accent); color: var(--ink); text-shadow: none;
  padding: 7px 16px; border-radius: 999px; font: 700 12.5px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase;
}
.hb__cur { font-size: 30px; font-weight: 300; line-height: 1; padding-top: 4px; }
.hb__int { font-size: 112px; font-weight: 800; line-height: .8; letter-spacing: -.05em; }
.hb__dec { display: flex; flex-direction: column; font-size: 34px; font-weight: 500; line-height: 1; padding-top: 2px; }
.hb__dec small { font: 500 14px var(--font-body); opacity: .8; margin-top: 6px; letter-spacing: 0; }
.hb__plus {
  position: absolute; top: 50%; right: 186px; transform: translate(50%, -50%); z-index: 1;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: var(--ink); box-shadow: 0 0 0 5px rgba(46,26,61,.35), 0 8px 18px -6px rgba(0,0,0,.5);
}
.hb__plus .ico { stroke-width: 3; }
.hb__extras { flex: 0 0 180px; display: grid; gap: 10px; }
.hb__extra { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px 12px; border-radius: 16px; text-align: center; }
.hb__extra small { font-size: 13.5px; text-transform: uppercase; letter-spacing: .05em; opacity: .9; }
.hb__extra strong { font: 800 18px/1.1 var(--font-display); text-transform: uppercase; letter-spacing: .01em; }

/* botão do atendente */
.hb__cta {
  display: flex; align-items: center; gap: 14px; height: 66px; padding: 0 22px 0 20px; border-radius: 18px;
  background: var(--accent); color: var(--ink); text-shadow: none;
  font: 700 18px var(--font-display); letter-spacing: -.01em;
  box-shadow: 0 18px 36px -16px rgba(45,209,195,.75); transition: transform .2s ease, background .2s ease;
}
.hb__cta > span:nth-child(2) { font-size: 1.36em; white-space: nowrap; }   /* texto do botão maior */
.hb__cta { justify-content: center; gap: 12px; }      /* ícone + texto centralizados no botão */
.hb__cta, .hb__cta:hover { color: #fff; }   /* ícone e texto em branco */
.hb__cta > .ico { transition: transform .2s ease; }
.hb__cta:hover { background: var(--accent-2); transform: translateY(-2px); }
.hb__cta:hover > .ico { transform: translateX(4px); }
.hb__agent { position: relative; width: 48px; height: 48px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; }
.hb__agent img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.hb__agent--wpp { width: auto; height: auto; background: none; color: #fff; }   /* só o ícone do WhatsApp, sem círculo */
.hb__agent--wpp .ico { width: 28px; height: 28px; }
.hb__agent i { position: absolute; right: -1px; bottom: -1px; width: 14px; height: 14px; border-radius: 50%; background: #22C55E; border: 2.5px solid var(--accent); }

/* prova social */
.hb__proof { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.hb__faces { display: flex; }
.hb__faces span {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; margin-left: -10px;
  border: 2px solid rgba(255,255,255,.95); font: 700 14px var(--font-display); color: #fff; text-shadow: none;
}
.hb__faces span:first-child { margin-left: 0; }
.hb__faces span.has-img { background: #DDE3EE; overflow: hidden; }
.hb__faces span.has-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hb__faces span:nth-child(1) { background: #2450F0; }
.hb__faces span:nth-child(2) { background: #E2574C; }
.hb__faces span:nth-child(3) { background: #11A36A; }
.hb__faces span:nth-child(4) { background: #8B5CF6; }
.hb__faces span:nth-child(5) { background: #F59E0B; }
.hb__proof p { margin: 0; font-size: 16px; }
.hb__proof b { font-weight: 700; color: var(--accent); }
.hb__note { margin: 14px 0 0; font-size: 12px; opacity: .65; }
/* Preço, botão e prova social 30% menores (no celular já têm tamanho próprio) */
@media (min-width: 641px) {
  .hb__offer, .hb__cta, .hb__proof { zoom: .7; max-width: 448px; }   /* 20% mais estreito */
  .hb__proof { zoom: .85; margin-top: 18px; }   /* rostos + "+23 mil clientes" um pouco maiores */
  .hb__offer { margin-bottom: 26px; }
  .hb__extras { flex-basis: 150px; }
  .hb__plus { right: 156px; }
  .hb__price { padding-left: 12px; padding-right: 12px; }
  .hb__int { font-size: 98px; }
  .hb__cur { font-size: 26px; }
  .hb__dec { font-size: 30px; }
}

/* Card de planos com medidor (camada fixa sobre os slides, lado esquerdo) */
.hero__stage { position: absolute; inset: 0; padding: 80px 0 150px; pointer-events: none; z-index: 2; }
.hero__stage .slide__in > div:first-child { display: none; }
.hero__stage .slide__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.hero__gauge { grid-column: 1; grid-row: 1; pointer-events: auto; }
.plan-card {
  width: 100%; max-width: 540px; padding: 22px 26px 24px; border-radius: var(--r-lg);
  background: rgba(46,26,61,.72); border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); color: #fff;
}
.plan-card__eyebrow { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.plan-card__eyebrow .ico { color: var(--accent); }
.plan-card__pick {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 6px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12);
}
.plan-card__pick.swap .plan-card__info { animation: swapIn .45s ease; }
@keyframes swapIn { from { opacity: 0; transform: translateY(8px); } }
.plan-card__info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.plan-card__name { font-size: 14px; color: rgba(255,255,255,.75); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plan-card__name b { color: #fff; }
.plan-card__price { font: 600 15px var(--font-display); color: rgba(255,255,255,.75); }
.plan-card__price b { font-size: 30px; font-weight: 800; color: var(--accent); letter-spacing: -.02em; }
.hero__gauge .gauge { width: 100%; display: block; margin: 4px 0 0; }
.gauge { width: min(100%, 600px); overflow: visible; font-family: var(--font-display); }
.gauge__bg, .gauge__fg { fill: none; stroke-width: 16; stroke-linecap: round; }
.gauge__bg { stroke: rgba(255,255,255,.14); }
.gauge__fg { stroke: var(--accent); stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 10px rgba(45,209,195,.45)); }
.gauge__ticks line { stroke: rgba(255,255,255,.3); stroke-width: 1.5; stroke-linecap: round; }
.gauge__num { fill: currentColor; font-size: 56px; font-weight: 800; letter-spacing: -.04em; transform-box: fill-box; transform-origin: center bottom; }
.gauge__num.pop { animation: pop .45s cubic-bezier(.3,1.6,.5,1); }
.gauge__unit { fill: currentColor; font-size: 17px; font-weight: 600; opacity: .75; }
@keyframes pop { 40% { transform: scale(1.14); } }

.stage__dot { fill: var(--ink); stroke: rgba(255,255,255,.45); stroke-width: 2; transition: fill .3s, stroke .3s; }
.stage.is-on .stage__dot { fill: var(--accent); stroke: #fff; }
.stage__burst { fill: none; stroke: var(--accent); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.stage.is-on .stage__burst { animation: burst .9s ease-out; }
@keyframes burst { 0% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(4); } }
.stage__line { fill: none; stroke: currentColor; stroke-opacity: .55; stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .55s ease-out; }
.stage.is-on .stage__line { stroke-dashoffset: 0; }
.stage__label { opacity: 0; transform: translateY(6px); transition: opacity .4s ease .35s, transform .4s ease .35s; }
.stage.is-on .stage__label { opacity: 1; transform: none; }
.stage__name { fill: currentColor; font: 500 14px var(--font-body); opacity: .7; }
.stage__speed { fill: currentColor; font-size: 21px; font-weight: 700; }
.stage:last-child .stage__speed, .stage.is-last .stage__speed { fill: var(--accent); }

@keyframes bob { 50% { transform: translateY(-8px); } }

.hero__controls {
  position: absolute; left: 0; right: 0; bottom: 92px; z-index: 3; display: flex; align-items: center; justify-content: flex-end; gap: 28px;
  transition: color .4s; pointer-events: none;
}
.hero__controls > * { pointer-events: auto;
}
.hero[data-tema="amarelo"] .hero__controls { color: var(--ink); }
.dots { display: flex; gap: 6px; }
.dots button { width: 9px; height: 9px; border-radius: 99px; background: currentColor; opacity: .35; transition: width .3s, opacity .3s; }
.dots button { position: relative; overflow: hidden; }
.dots button.is-active { width: 44px; opacity: 1; background: rgba(255,255,255,.28); }
.hero[data-tema="amarelo"] .dots button.is-active { background: rgba(46,26,61,.18); }
.dots button.is-active::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--accent);
  transform-origin: left; animation: fill var(--slide-ms, 7000ms) linear forwards;
}
.hero[data-tema="amarelo"] .dots button.is-active::after { background: var(--ink); }
.hero.is-paused .dots button.is-active::after { animation-play-state: paused; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero__arrows { display: flex; gap: 8px; }

/* ---------- Atalhos ---------- */
.shortcuts {
  position: relative; z-index: 5; margin-top: -56px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden;
}
.shortcut {
  display: flex; align-items: center; gap: 12px; padding: 22px 16px; position: relative;
  transition: background .15s;
}
.shortcut + .shortcut::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--line); }
.shortcut:hover { background: #FAF6FC; }
.shortcut__ico {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; flex: none;
  background: #F3E9F8; color: var(--brand); transition: background .15s, color .15s;
}
.shortcut:hover .shortcut__ico { background: var(--brand); color: #fff; }
.shortcut__txt { display: flex; flex-direction: column; min-width: 0; }
.shortcut__txt strong { font: 700 16px/1.2 var(--font-display); }
.shortcut__txt small { color: var(--muted); font-size: 13.5px; }
.shortcut__txt strong, .shortcut__txt small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }   /* sem quebra de linha */
.shortcut { padding-right: 34px; }
.shortcut__arrow { position: absolute; right: 14px; top: 50%; margin-top: -9px; color: var(--muted); opacity: 0; transition: transform .2s, color .2s, opacity .2s; }
.shortcut:hover .shortcut__arrow { opacity: 1; }

.shortcut:hover .shortcut__arrow { transform: translateX(4px); color: var(--brand); }

/* ---------- Seções ---------- */
.section { padding: 110px 0; }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.section__head .h2 { max-width: 18ch; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--brand); }
.link-arrow:hover .ico { transform: translateX(3px); }
.link-arrow .ico { transition: transform .2s; }

/* Abas */
/* Abas dos planos: botões separados com ícone */
.tabs { display: flex; flex-wrap: wrap; gap: 12px; }
.tab {
  display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 22px;
  border-radius: 14px; border: 1.5px solid var(--line); background: #fff;
  font: 500 17px var(--font-display); letter-spacing: -.01em; color: rgba(46,26,61,.72);
  transition: border-color .2s, background .2s, color .2s, box-shadow .2s, transform .2s;
}
.tab .ico { color: var(--brand); opacity: .8; transition: opacity .2s, transform .2s; }
.tab:hover { border-color: rgba(108,54,136,.45); color: var(--ink); }
.tab:hover .ico { opacity: 1; transform: translateY(-1px); }
.tab.is-active {
  border-color: var(--brand); background: #F3E9F8; color: var(--ink); font-weight: 600;
  box-shadow: 0 0 0 4px rgba(108,54,136,.10);
}
.tab.is-active .ico { opacity: 1; }

/* ---------- Planos ---------- */
#planos { padding-top: 56px; padding-bottom: 56px; }   /* menos espaço até "Esses Jundiaienses" */
.plans-head { text-align: center; margin-bottom: 36px; }
.plans-title { margin: 0 0 16px; font-family: var(--font-display); letter-spacing: -.03em; line-height: 1.08; }
.plans-title__l1 { display: block; font-size: clamp(30px, 3.4vw, 52px); font-weight: 300; color: var(--ink); letter-spacing: -.01em; }
.plans-title__l2 {
  display: block; font-size: clamp(34px, 3.6vw, 56px); font-weight: 800;
  background: linear-gradient(90deg, #8B22B5 0%, #9C6CC0 45%, #6FBCC2 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tabs--center { justify-content: center; }
.plans-dots { display: none; }
.tabs--center { gap: 8px; }
.tabs--center .tab { height: 40px; padding: 0 14px; font-size: 14px; gap: 7px; border-radius: 10px; white-space: nowrap; border-width: 1px; }
.tabs--center .tab.is-active { box-shadow: 0 0 0 3px rgba(108,54,136,.10); }

/* cards em "escada": cada um um degrau mais alto, todos alinhados pela base */
.plans {
  --step: 36px;
  display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 18px; align-items: end;
}
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 40px 28px 28px; border-radius: 32px; background: #fff;
  box-shadow: 0 24px 60px -36px rgba(46,26,61,.35), 0 2px 6px rgba(46,26,61,.04);
  transition: transform .25s ease, box-shadow .25s ease;
}
.plan:hover { transform: translateY(-6px); box-shadow: 0 34px 70px -34px rgba(46,26,61,.4); }
.plan.is-pick { box-shadow: 0 0 0 3px var(--brand), 0 24px 60px -36px rgba(46,26,61,.35); }
.plan__badge {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); white-space: nowrap;
  background: var(--accent); color: var(--ink); padding: 11px 28px; border-radius: 14px;
  font: 700 14px/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase;
  box-shadow: 0 10px 20px -10px rgba(34,185,172,.8);
}
.plan__name { margin: 0 2px; font: 400 18px var(--font-body); color: #4A4552; letter-spacing: .02em; }
.plan__speed { display: flex; align-items: baseline; gap: 6px; margin: 2px 0 14px; font-family: var(--font-display); color: var(--brand); white-space: nowrap; }
.plan__speed b { font-size: clamp(44px, 4.6vw, 64px); font-weight: 800; letter-spacing: -.05em; line-height: .95; }
.plan__speed span { font-size: clamp(24px, 2.2vw, 32px); font-weight: 700; letter-spacing: -.03em; }

/* caixa interna de benefícios */
.plan__perks {
  list-style: none; margin: 0 0 16px; padding: 14px 16px; display: grid; gap: 14px;   /* mais compacto */
  border: 1px solid #F0EEF2; border-radius: 22px; background: #fff;
  box-shadow: 0 8px 24px -18px rgba(46,26,61,.25);
}
.plan__perks li { display: flex; gap: 10px; align-items: center; }
.plan__perk-ico { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.plan__perks strong { display: block; font: 400 15.5px/1.25 var(--font-body); color: var(--text); }
.plan__perks .no-detail strong em { display: block; }
.plan__perks strong em { white-space: nowrap; }
.plan__perks strong em { font-style: normal; font-weight: 700; }
.plan__perks small { display: block; margin-top: 2px; font-size: 13px; color: #8E8A96; letter-spacing: .02em; }
.tone-laranja .plan__perk-ico { background: #FFF1E6; color: #F07A1A; }
.tone-laranja strong em { color: #F07A1A; }
.tone-turquesa .plan__perk-ico { background: #E2F8F6; color: #1FB5A6; }
.tone-turquesa strong em { color: #1FB5A6; }
.tone-verde .plan__perk-ico { background: #E6F7EC; color: #16A34A; }
.tone-verde strong em { color: #16A34A; }
.tone-roxo .plan__perk-ico { background: #F3E9F8; color: var(--brand); }
.tone-roxo strong em { color: var(--brand); }

/* preço centralizado + botão cheio */
.plan__price { margin: 0 0 22px; display: flex; align-items: baseline; justify-content: center; gap: 2px; font-family: var(--font-display); color: var(--price); }
.plan__price .cur { font-size: 22px; font-weight: 800; }
.plan__price b { font-size: clamp(44px, 4.4vw, 58px); font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.plan__price .dec { font-size: 24px; font-weight: 800; }
.plan__price--text { font-size: 30px; font-weight: 800; }
.plan__btn {
  display: flex; align-items: center; justify-content: center; gap: 10px; height: 50px; margin: 0 -10px; border-radius: 12px;   /* mais largo e mais baixo */
  background: var(--brand); color: #fff; font: 700 17px var(--font-display); white-space: nowrap; padding: 0 10px;
  transition: background .2s ease, transform .2s ease;
}
.plan__btn:hover { background: var(--brand-2); }


/* ---------- Bloco de TV ---------- */
.tvbox {
  margin-top: 56px; display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center;
  padding: 44px 48px; border-radius: 32px; color: #fff; overflow: hidden; position: relative; isolation: isolate;
  background: radial-gradient(80% 120% at 100% 0%, rgba(108,54,136,.55), transparent 60%), var(--ink);
}
.tvbox__tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.tvbox__tag .ico { color: var(--accent); }
.tvbox__title { margin: 16px 0 12px; font: 700 clamp(30px, 3.4vw, 44px)/1.05 var(--font-display); letter-spacing: -.03em; }
.tvbox__title em { font-style: normal; color: var(--accent); white-space: nowrap; }
.tvbox__lead { margin: 0 0 22px; color: rgba(255,255,255,.75); max-width: 42ch; }
.tvbox__cats { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tvbox__cats li {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-weight: 600; font-size: 15px;
}
.tvbox__cats li .ico { color: var(--accent); }
.tvbox__btn {
  display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 24px; border-radius: 14px;
  background: var(--accent); color: var(--ink); font: 700 17px var(--font-display);
  transition: transform .2s ease, background .2s ease;
}
.tvbox__btn:hover { background: var(--accent-2); transform: translateY(-2px); }
.tvbox__photo { width: 100%; border-radius: 22px; aspect-ratio: 16 / 11; object-fit: cover; }

/* TV ilustrada com grade de canais */
.tvbox__visual { position: relative; padding-bottom: 56px; }
/* canais começam sem cor e acendem a cada clique */
.tvscreen__tile { filter: grayscale(1) brightness(.55) contrast(.9); transition: filter .5s ease; }
.tvscreen__tile.is-on { filter: none; animation: tilePop .55s cubic-bezier(.3,1.5,.5,1); }
@keyframes tilePop { 40% { transform: scale(1.06); } }
.tvbox__cats li { transition: background .4s ease, border-color .4s ease; }
.tvbox__cats li .ico { color: rgba(255,255,255,.45); transition: color .4s ease; }
.tvbox__cats li.is-on { background: color-mix(in srgb, var(--tone) 32%, transparent); border-color: var(--tone); }
.tvbox__cats li.is-on .ico { color: #fff; }

/* mão com o controle */
.tvhand {
  position: absolute; left: 41%; bottom: -128px; width: 170px; z-index: 3; overflow: visible; pointer-events: none;
  transform: translateY(120%) rotate(16deg); transform-origin: 50% 100%;
  transition: transform 1s cubic-bezier(.2,.8,.2,1);
  filter: drop-shadow(0 24px 30px rgba(0,0,0,.55));
}
.tvbox.is-playing .tvhand { transform: translateY(0) rotate(16deg); }
.tvhand .thumb { transform-box: fill-box; transform-origin: 100% 100%; transition: transform .12s ease; }
.tvbox.is-press .tvhand .thumb { transform: rotate(-5deg) translate(-3px, 4px); }
.tvhand .okbtn { fill: #3A4358; transition: fill .12s ease; }
.tvbox.is-press .tvhand .okbtn { fill: var(--accent); }
.tvhand .led { fill: #5A1A1A; transition: fill .1s ease; }
.tvbox.is-press .tvhand .led { fill: #FF5050; }
.tvhand .ir path { opacity: 0; transform-box: fill-box; transform-origin: 50% 100%; }
.tvbox.is-press .tvhand .ir path { animation: irPulse .6s ease-out forwards; }
.tvbox.is-press .tvhand .ir path:nth-child(2) { animation-delay: .07s; }
.tvbox.is-press .tvhand .ir path:nth-child(3) { animation-delay: .14s; }
@keyframes irPulse { 0% { opacity: 1; transform: scale(.7); } 100% { opacity: 0; transform: scale(1.3) translateY(-8px); } }

.tvmock { display: flex; flex-direction: column; align-items: center; }
.tvmock__frame {
  width: 100%; padding: 10px; border-radius: 18px; background: #05080F;
  box-shadow: 0 0 0 2px rgba(255,255,255,.08), 0 40px 60px -30px rgba(0,0,0,.8);
}
.tvmock__stand { width: 34%; height: 14px; margin-top: -1px; border-radius: 0 0 10px 10px; background: linear-gradient(#0A0F1C, #1A2236); }
.tvscreen {
  aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; padding: 10px; gap: 8px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 1fr 1fr;
  background: linear-gradient(135deg, #0F1730, #0A1022);
}
.tvscreen__tile {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 10px;
  border-radius: 8px; overflow: hidden; color: #fff;
  background: linear-gradient(150deg, color-mix(in srgb, var(--tone) 85%, #fff) 0%, var(--tone) 45%, color-mix(in srgb, var(--tone) 55%, #000) 100%);
}
.tvscreen__tile.is-big { grid-row: span 2; padding: 16px; }
.tvscreen__ico { position: absolute; right: 8px; top: 8px; opacity: .35; }
.tvscreen__tile.is-big .tvscreen__ico { right: 14px; top: auto; bottom: 14px; opacity: .3; transform: scale(1.6); transform-origin: bottom right; }
.tvscreen__name { font: 700 13px var(--font-display); letter-spacing: -.01em; }
.tvscreen__tile.is-big .tvscreen__name { font-size: 20px; }
.tvscreen__live {
  position: absolute; top: 12px; left: 12px; padding: 4px 8px; border-radius: 6px;
  background: #EF4444; font: 700 10px var(--font-body); letter-spacing: .06em; text-transform: uppercase;
}


/* ---------- Bolhas flutuantes (posições em js/config.js → bolhas) ---------- */
.has-bubbles { position: relative; isolation: isolate; }
.bubbles { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hero > .bubbles { z-index: 1; }          /* no banner: acima da foto, abaixo do texto */
.bubble {
  position: absolute; width: var(--s); height: var(--s); border-radius: 50%;
  margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);   /* centraliza no ponto informado */
  background:
    radial-gradient(closest-side, rgba(255,255,255,0) 66%, rgba(214,170,255,.22) 82%, rgba(255,255,255,.55) 96%, rgba(255,255,255,0) 100%),
    radial-gradient(circle at 66% 82%, rgba(45,209,195,.55), rgba(45,209,195,0) 36%),
    radial-gradient(circle at 28% 26%, rgba(196,130,255,.28), rgba(196,130,255,0) 62%),
    radial-gradient(closest-side, rgba(255,255,255,.04), rgba(255,255,255,.08));
  box-shadow: 0 0 calc(var(--s) * .3) rgba(176,110,255,.22), inset 0 0 calc(var(--s) * .12) rgba(255,255,255,.18);
  opacity: var(--o, .9);
  animation: bubbleFloat var(--dur, 14s) ease-in-out var(--delay, 0s) infinite, bubbleShimmer calc(var(--dur, 14s) * .7) ease-in-out var(--delay, 0s) infinite;
  will-change: transform;
}
.bubble::before {   /* brilho branco em cima */
  content: ""; position: absolute; top: 15%; left: 20%; width: 30%; height: 17%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,255,255,.95), rgba(255,255,255,0));
  transform: rotate(-35deg); filter: blur(.4px);
}
.bubble::after {    /* reflexo curvo embaixo */
  content: ""; position: absolute; inset: 11%; border-radius: 50%;
  border: 0 solid transparent; border-bottom: max(1.5px, calc(var(--s) * .025)) solid rgba(150,255,240,.6);
  transform: rotate(28deg); filter: blur(.5px); opacity: .8;
}
/* versão para fundos claros (fica roxinha e mais discreta) */
.bubble--light {
  --o: .55;
  background:
    radial-gradient(closest-side, rgba(255,255,255,0) 62%, rgba(156,54,191,.14) 80%, rgba(108,54,136,.32) 96%, rgba(108,54,136,0) 100%),
    radial-gradient(circle at 66% 82%, rgba(45,209,195,.35), rgba(45,209,195,0) 38%),
    radial-gradient(circle at 30% 28%, rgba(196,130,255,.18), rgba(196,130,255,0) 62%);
  box-shadow: 0 10px calc(var(--s) * .4) -10px rgba(108,54,136,.25);
}
.bubble--light::after { border-bottom-color: rgba(45,209,195,.55); }
@keyframes bubbleFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  30% { transform: translate(var(--dx), calc(var(--dy) * -1)) scale(1.02, .98); }
  60% { transform: translate(calc(var(--dx) * -.6), calc(var(--dy) * -.35)) scale(.98, 1.02); }
}
@keyframes bubbleShimmer { 50% { filter: hue-rotate(-18deg) brightness(1.08); } }
@media (max-width: 640px) {
  .bubble { width: calc(var(--s) * .7); height: calc(var(--s) * .7); margin: calc(var(--s) * -.35) 0 0 calc(var(--s) * -.35); }
  .bubble.hide-sm { display: none; }
}

/* ---------- Quem recomenda (carrossel de fotos) ---------- */
.recomenda { padding: 0 0 96px; overflow: hidden; }   /* o espaço de cima já vem do fim da seção de planos */
.recomenda__head { text-align: center; margin-bottom: 40px; }
.recomenda__head .h2 { max-width: 20ch; margin: 0 auto; }
.recomenda__l1 { display: block; font-weight: 300; font-size: .62em; letter-spacing: -.01em; margin-bottom: 4px; }
.recomenda__head .muted { margin: 14px auto 0; max-width: 46ch; font-size: 17px; }
.recomenda__viewport { position: relative; }
.recomenda__track { display: flex; align-items: center; gap: 22px; width: max-content; padding: 18px 0 30px; will-change: transform; }   /* movimento: js/main.js (passo a passo) */
.rec-card {
  flex: none; margin: 0; width: clamp(240px, 70vw, 380px); aspect-ratio: 520 / 740; border-radius: 24px; overflow: hidden; background: #E9E3EF;
  box-shadow: 0 22px 40px -24px rgba(46,26,61,.55), 0 2px 6px rgba(46,26,61,.08);
  transform: scale(.88); opacity: .6;   /* vizinhas: menores e mais apagadas */
  transition: transform .5s cubic-bezier(.65,0,.25,1), opacity .5s, box-shadow .5s;
}
.rec-card.is-active { transform: none; opacity: 1; box-shadow: 0 30px 60px -26px rgba(46,26,61,.6), 0 2px 6px rgba(46,26,61,.08); }
.recomenda__track.no-anim .rec-card { transition: none; }
.rec-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 640px) {
  .recomenda { padding: 0 0 70px; }
  .recomenda__head { margin-bottom: 26px; }
  .rec-card { border-radius: 20px; }
  .recomenda__track { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .recomenda__viewport { overflow-x: auto; }
  .rec-card { transition: none; }
}

/* certificados do Prêmio Melhor Plano (abaixo do carrossel) */
.certs { list-style: none; margin: 34px auto 0; padding: 0; display: grid; grid-template-columns: repeat(4, max-content); justify-content: center; gap: 12px; }
.cert { display: flex; height: 62px; border-radius: 14px; overflow: hidden; background: var(--accent); color: #0E3440; box-shadow: 0 14px 26px -16px rgba(20,90,85,.6); }
.cert__year { flex: 0 0 60px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: #12414F; color: #fff; font: 800 13px/1 var(--font-display); }
.cert__txt { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 0 14px; min-width: 0; }
.cert__txt b { display: flex; align-items: center; gap: 6px; font: 800 15px/1.1 var(--font-display); white-space: nowrap; }
.cert__txt b .ico { flex: none; }
.cert__txt small { font: 600 12px/1 var(--font-body); opacity: .8; white-space: nowrap; }
@media (max-width: 1100px) { .certs { grid-template-columns: repeat(2, max-content); } }
@media (max-width: 640px) {
  .certs { grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: stretch; gap: 8px; margin-top: 24px; }
  .cert { height: 56px; border-radius: 12px; }
  .cert__year { flex-basis: 46px; font-size: 11.5px; }
  .cert__txt { padding: 0 10px; }
  .cert__txt b { font-size: 13px; line-height: 1.15; gap: 5px; white-space: normal; }
  .cert__txt b .ico { width: 13px; height: 13px; }
  .cert__txt small { display: none; }   /* no celular fica só o nome do prêmio */
}

/* ---------- Faixa corrida ---------- */
.ticker { background: var(--ink); color: #fff; overflow: hidden; padding: 22px 0; }
.ticker__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.ticker__track span {
  display: inline-flex; align-items: center; gap: 12px; padding: 0 28px; white-space: nowrap;
  font: 700 26px/1 var(--font-display); letter-spacing: -.01em;
}
.ticker__track span .ico { color: var(--accent); }
.ticker__track span::after { content: "✦"; margin-left: 44px; color: var(--brand); font-size: 18px; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Aparecer ao rolar ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Diferenciais ---------- */
.section--accent { background: var(--accent); overflow-x: clip; }   /* os itens que entram deslizando de lado não esticam a página */
.section--accent .eyebrow { color: var(--ink); opacity: .7; }
.section--accent .h2 em, .section--accent .link-arrow { color: var(--ink); }
.section--accent .h2 em { text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 8px; text-decoration-color: var(--brand); }
.features { display: grid; grid-template-columns: 420px 1fr; gap: 56px; }
.features__media {
  position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 440px;
  background: var(--brand); color: #fff; display: flex; align-items: flex-end;
}
.features__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.features__media img + .features__caption { background: linear-gradient(transparent, rgba(0,0,0,.55)); }
.features__art { position: absolute; inset: 0; color: rgba(255,255,255,.22); }
.features__art svg { position: absolute; top: 0; right: 0; width: 400px; height: 400px; max-width: none; }
.features__art .dot { fill: var(--accent); }
/* mago fazendo "ok" saindo de baixo do card (a foto termina na cintura);
   a frase "Quem tem Magofy fica tranquilo" fica em cima, à esquerda */
.features__media:has(.feat-emoji) { align-items: flex-start; }
.features__media .feat-emoji + .features__caption { background: none; }   /* sem faixa escura atrás da frase */
.features__media img.feat-emoji {
  position: absolute; inset: auto; right: 5%; bottom: 0; height: 74%; width: auto; max-width: 82%; object-fit: contain; object-position: bottom;
  filter: drop-shadow(0 18px 30px rgba(20,0,40,.45));
  animation: magoAceno 4.5s ease-in-out infinite; transform-origin: 50% 100%;
}
@keyframes magoAceno { 0%, 100% { transform: rotate(-1.5deg); } 50% { transform: rotate(1.5deg); } }
.features__caption {
  position: relative; margin: 0; padding: 32px; width: 100%;
  font: 700 34px/1.05 var(--font-display); letter-spacing: -.02em;
}
.features__caption em { font-style: normal; color: var(--accent); display: block; }
.features__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 40px; align-content: center; }
.feature__ico { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--ink); color: var(--accent); margin-bottom: 14px; }
.feature h3 { margin: 0 0 6px; font: 700 21px/1.2 var(--font-display); }
.feature p { margin: 0; color: rgba(46,26,61,.72); }
.feature__short { display: none; }

/* ---------- Sobre ---------- */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.about .h2 { font-size: clamp(30px, 3.4vw, 44px); }
.about .lead { margin: 16px 0 0; font-size: 17px; max-width: 40ch; }
.about__info { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 10px; }
.about__info li { display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 600; color: var(--ink); }
.about__info li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; flex: none; background: var(--brand); box-shadow: 0 0 0 4px rgba(108,54,136,.14); }
.about__info li:nth-child(2)::before { background: #12A88F; box-shadow: 0 0 0 4px rgba(18,168,143,.16); }
.about__info li:nth-child(3)::before { background: var(--accent-2); box-shadow: 0 0 0 4px rgba(34,185,172,.2); }
.about__info li:nth-child(4)::before { background: #F07A1A; box-shadow: 0 0 0 4px rgba(240,122,26,.16); }
/* card da foto da equipe */
.about__photo {
  position: relative; margin: 0; border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 3;   /* mais alta */
  background: linear-gradient(135deg, #E6EBF7, #F4F2EA); box-shadow: 0 24px 50px -30px rgba(46,26,61,.35);
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about__photo figcaption {
  position: absolute; right: 12px; top: 12px; padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,.88); backdrop-filter: blur(6px); font-size: 12px; font-weight: 600; color: var(--ink);
}
.about__photo-empty {
  position: absolute; inset: 12px; border: 2px dashed #C8CEDC; border-radius: 18px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #8A91A0; font-weight: 600; font-size: 14px;
}

/* ---------- Cobertura ---------- */
.coverage { position: relative; height: 700px; background: #E9EEF2; }
.coverage__map { position: absolute; inset: 0; z-index: 1; }
/* aviso "Selecione o seu bairro" com o mapa escurecido (some ao escolher um bairro) */
.cov-hint {
  position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 16px;
  padding-left: min(470px, 38vw);   /* no computador o texto fica à direita do card */
  background: rgba(28,2,52,.58); color: #fff; cursor: pointer;
  font: 800 clamp(26px, 2.6vw, 38px)/1.1 var(--font-display); letter-spacing: -.02em; text-shadow: 0 2px 16px rgba(0,0,0,.35);
  transition: opacity .45s ease, visibility .45s;
}
.cov-hint.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.cov-hint__arrow { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--accent); color: var(--ink); flex: none; }
.cov-hint__arrow .ico { stroke-width: 2.6; }
/* computador: seta aponta para o card à esquerda */
.cov-hint { flex-direction: row-reverse; }
.cov-hint__arrow { transform: rotate(180deg); animation: covNudgeL 1.3s ease-in-out infinite; }
@keyframes covNudgeL { 50% { transform: rotate(180deg) translateX(10px); } }   /* (girada: +X = para a esquerda) */
.coverage__wrap { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; pointer-events: none; }
.panel {
  pointer-events: auto; width: 400px; max-height: calc(100% - 64px); overflow: auto;
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 32px;
}
.panel .h3 em { font-style: normal; color: var(--brand); }
.panel .muted { margin: 10px 0 18px; }
.search { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 16px; border-radius: 14px; background: var(--paper); color: var(--muted); }
.search input { flex: 1; border: 0; background: none; font: inherit; color: var(--text); outline: none; min-width: 0; }
.stores { margin-top: 14px; display: grid; gap: 8px; }
.store { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: border-color .2s, background .2s; }
.store.is-open { border-color: var(--brand); background: #F8F1FB; }
.store__head { width: 100%; display: flex; align-items: center; gap: 10px; padding: 14px 16px; font-weight: 600; text-align: left; }
.store__head span { flex: 1; }
.store__head small { margin-left: 4px; font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: .06em; }
.store__head .ico:first-child { color: var(--brand); }
.store__head .ico:last-child { color: var(--muted); transition: transform .2s; }
.store.is-open .store__head .ico:last-child { transform: rotate(180deg); }
.store__body { display: none; padding: 0 16px 16px; font-size: 14.5px; color: var(--muted); }
.store.is-open .store__body { display: block; }
.store__body p { display: flex; gap: 8px; margin: 0 0 8px; }
.store__body p .ico { margin-top: 2px; }
.store__photo { border-radius: 10px; margin-bottom: 12px; aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.store__actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.stores__empty { font-size: 14.5px; color: var(--muted); display: block; padding: 4px 2px; }
.stores__empty a { color: var(--brand); font-weight: 600; text-decoration: underline; }
.coverage__also {
  position: absolute; z-index: 3; top: 24px; right: 24px; display: flex; align-items: center; gap: 8px;
  background: #fff; padding: 10px 18px; border-radius: 999px; box-shadow: var(--shadow); font-size: 14px; max-width: calc(100% - 48px);
}
.coverage__also .ico { color: var(--brand); }
.coverage__also strong { white-space: nowrap; }
.coverage__also span { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Marcadores do mapa */
.pin { background: none; border: 0; }
.pin__dot {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--brand); border: 2px solid var(--brand); transition: transform .2s, background .2s;
}
.pin__label {
  position: absolute; left: 42px; top: 50%; transform: translateY(-50%); white-space: nowrap;
  font: 600 13px var(--font-body); color: var(--ink); text-shadow: 0 0 3px #fff, 0 0 6px #fff;
}
.pin__label { opacity: 0; transition: opacity .2s; pointer-events: none; }
.show-labels .pin__label, .pin:hover .pin__label, .pin.is-active .pin__label { opacity: 1; }
.pin:hover { z-index: 999 !important; }
.pin--left .pin__label { left: auto; right: 42px; }
.pin--left.is-active .pin__label { left: auto; right: 50px; }
.pin.is-active { z-index: 1000 !important; }
.pin.is-active .pin__dot { background: var(--accent); border-color: var(--ink); color: var(--ink); transform: scale(1.25); box-shadow: 0 0 0 10px rgba(45,209,195,.35); }
.pin.is-active .pin__label { background: var(--ink); color: #fff; padding: 6px 10px; border-radius: 999px; text-shadow: none; left: 50px; }
.leaflet-container { font-family: var(--font-body); background: #E9EEF2; }

/* ---------- Cobertura: card de busca por bairro ---------- */
.coverage { height: 600px; }
.cov-card {
  pointer-events: auto; width: 360px; position: relative;
  background: #fff; border-radius: 24px; padding: 28px 26px 26px;
  box-shadow: 0 30px 60px -30px rgba(46,26,61,.45), 0 2px 6px rgba(46,26,61,.06);
}
.cov-card .eyebrow { margin-bottom: 10px; }
.cov-card .h3 { font-size: 28px; }
.cov-card .h3 em { font-style: normal; color: var(--brand); display: block; }
.cov-card .muted { margin: 8px 0 18px; }
.cov-search {
  position: relative; display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 12px 0 16px;
  border-radius: 14px; background: var(--paper); border: 1.5px solid transparent; color: var(--muted);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.cov-search:focus-within { background: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(108,54,136,.12); }
.cov-search > span:first-child { display: flex; color: var(--brand); }
.cov-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; font: 500 16px var(--font-body); color: var(--text); outline: none; }
.cov-search__clear { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); }
.cov-search__clear:hover { background: rgba(108,54,136,.08); color: var(--brand); }
.cov-list {
  position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; right: 0; margin: 0; padding: 6px; list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 40px -20px rgba(46,26,61,.4);
  max-height: 300px; overflow: auto;
}
.cov-list li { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 10px; cursor: pointer; color: var(--text); font-size: 15px; }
.cov-list li .ico { color: var(--brand); opacity: .7; }
.cov-list li:hover, .cov-list li[aria-selected="true"] { background: #F6EEFA; }
.cov-list__empty { cursor: default !important; display: block !important; color: var(--muted) !important; font-size: 14px !important; line-height: 1.45; }
.cov-list__empty:hover { background: none !important; }
.cov-list__empty a { color: var(--brand); font-weight: 600; text-decoration: underline; cursor: pointer; }
.cov-result { margin-top: 18px; animation: covIn .45s cubic-bezier(.2,.8,.2,1); }
@keyframes covIn { from { opacity: 0; transform: translateY(8px); } }
.cov-result__ok { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 16px; color: var(--text); }
.cov-result__ok .ico { flex: none; width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--accent); color: #fff; stroke-width: 3; }
.cov-result__ok b { color: var(--brand); }
.cov-result__sub { display: flex; align-items: center; gap: 10px; margin: 10px 0 16px; font-size: 14px; color: var(--muted); }
.cov-result__dots { display: inline-flex; flex: none; }
.cov-result__ok small { font-size: 13px; color: var(--muted); font-weight: 500; }
.cov-result__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--brand); }
.cov-result__link:hover .ico { transform: translateX(3px); }
.cov-result__link .ico { transition: transform .2s; }
.cov-list li small { margin-left: 4px; font-size: 12px; color: var(--muted); }
.cov-result__dots i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: var(--brand); margin-left: -4px; box-shadow: 0 1px 3px rgba(46,26,61,.25); }
.cov-result__dots i:first-child { margin-left: 0; }
.cov-result__dots i:nth-child(2) { background: var(--accent); }
.cov-result__dots i:nth-child(3) { background: var(--brand-bright); }

/* bolinhas de clientes no mapa (surgem uma a uma) */
.cdot { transform-box: fill-box; transform-origin: center; animation: cdotIn .5s cubic-bezier(.3,1.6,.5,1) both; filter: drop-shadow(0 1px 2px rgba(46,26,61,.35)); }
@keyframes cdotIn { from { transform: scale(0); opacity: 0; } }
.cov-pin { background: none; border: 0; }
.cov-pin__dot {
  position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand); color: #fff; border: 3px solid #fff; box-shadow: 0 10px 24px -8px rgba(46,26,61,.6);
  animation: cdotIn .5s cubic-bezier(.3,1.6,.5,1) both;
}
.cov-pin__dot::after {
  content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 3px solid var(--brand-bright);
  animation: ping 2.2s ease-out infinite;
}
.cov-pin__label {
  position: absolute; left: 50%; top: 100%; transform: translate(-50%, 8px); white-space: nowrap;
  background: var(--ink); color: #fff; padding: 6px 12px; border-radius: 999px; font: 600 13px var(--font-body);
  box-shadow: 0 8px 18px -8px rgba(0,0,0,.4);
}
.coverage .leaflet-control-attribution { font-size: 10px; background: rgba(255,255,255,.75); }

/* ---------- Dúvidas ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.faq > div:first-child p { margin: 18px 0 24px; }
.faq__list { display: grid; gap: 10px; }
.qa { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 0 24px; }
.qa summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 0; font: 600 18px/1.3 var(--font-display);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); flex: none; transition: transform .25s, background .2s; }
.qa[open] summary span { transform: rotate(45deg); background: var(--accent); }
.qa p { margin: -6px 0 22px; color: var(--muted); }

/* ---------- CTA ---------- */
.cta {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 48px 56px; margin-bottom: 96px;
  background-image: radial-gradient(50% 120% at 100% 0%, rgba(108,54,136,.6), transparent 70%);
}
.cta .h2 em { color: var(--accent); }
.cta p { margin: 10px 0 0; opacity: .75; }

/* ---------- Rodapé ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 72px 0 0; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.25fr; gap: 48px; padding-bottom: 48px; }
.footer__brand p { max-width: 30ch; margin: 16px 0 20px; }
.footer h4 { color: #fff; font: 600 15px var(--font-display); margin: 0 0 16px; }
.footer__grid > div > a, .footer__grid > nav > a { display: flex; align-items: center; gap: 10px; padding: 6px 0; transition: color .15s; }
.footer__nav .ico { color: var(--accent); }
.footer__contato .ico { color: var(--accent); flex: none; }
.footer__contato hr { border: 0; border-top: 1px solid rgba(255,255,255,.12); margin: 16px 0 18px; }
.footer__contato h4 a { color: #fff; }
.footer__hora { margin: 8px 0 0; }
.footer a:hover { color: #fff; }
.social { display: flex; gap: 10px; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); transition: .15s; }
.social a:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.footer__bottom { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; padding-bottom: 28px; font-size: 13px; color: rgba(255,255,255,.5); }

/* ---------- Janela "Iniciar conversa no WhatsApp" (sobe de baixo para cima) ---------- */
.wlead { position: fixed; inset: 0; z-index: 3000; }
.wlead__backdrop { position: absolute; inset: 0; background: rgba(20,0,40,.5); opacity: 0; transition: opacity .3s ease; }
.wlead__sheet {
  position: absolute; left: 50%; bottom: 0; width: min(480px, 100%);
  padding: 30px 20px calc(22px + env(safe-area-inset-bottom)); border-radius: 26px 26px 0 0;
  background: #fff; color: var(--text); box-shadow: 0 -20px 60px -20px rgba(20,0,40,.45);
  display: grid; gap: 14px;
  transform: translate(-50%, 105%); transition: transform .38s cubic-bezier(.2,.9,.25,1);
}
.wlead.is-open .wlead__backdrop { opacity: 1; }
.wlead.is-open .wlead__sheet { transform: translate(-50%, 0); }
.wlead__grab { position: absolute; top: 10px; left: 50%; width: 40px; height: 5px; margin-left: -20px; border-radius: 99px; background: #DDD6E4; }
.wlead__close { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); }
.wlead__close:hover { background: var(--paper); color: var(--ink); }
.wlead__field {
  display: flex; align-items: center; gap: 12px; height: 58px; padding: 0 16px; margin-top: 8px; border-radius: 14px;
  background: #F4F1F7; border: 1.5px solid transparent; transition: border-color .2s, background .2s, box-shadow .2s;
}
.wlead__field:focus-within { background: #fff; border-color: #25D366; box-shadow: 0 0 0 4px rgba(37,211,102,.15); }
.wlead__ico { display: flex; color: #25D366; }
.wlead__field input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: none; font: 500 17px var(--font-body); color: var(--text); }
.wlead__field input::placeholder { color: #9A93A3; }
.wlead__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wlead__opts button {
  height: 48px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff;
  font: 600 15px var(--font-body); color: var(--text); transition: border-color .2s, background .2s, color .2s;
}
.wlead__opts button:hover { border-color: rgba(108,54,136,.45); }
.wlead__opts button[aria-checked="true"] { border-color: var(--brand); background: #F3E9F8; color: var(--brand); }
.wlead__go {
  display: flex; align-items: center; justify-content: center; gap: 10px; height: 58px; border-radius: 14px;
  background: #25D366; color: #fff; font: 700 17px var(--font-display); letter-spacing: -.01em;
  opacity: .4; filter: saturate(.5); cursor: not-allowed; transition: opacity .25s, filter .25s, transform .15s;
}
.wlead__go.is-ready { opacity: 1; filter: none; cursor: pointer; box-shadow: 0 14px 28px -14px rgba(37,211,102,.8); }
.wlead__go.is-ready:active { transform: scale(.98); }
.wlead__aviso { margin: -2px 0 0; text-align: center; font-size: 12.5px; color: var(--muted); }
.wlead__aviso a { color: var(--brand); text-decoration: underline; }
@media (min-width: 641px) {
  .wlead__sheet { width: min(520px, 100%); padding: 32px 28px 28px; }   /* no computador também sai da borda de baixo */
}
@media (prefers-reduced-motion: reduce) { .wlead__sheet, .wlead__backdrop { transition: none; } }

/* ---------- Notificação "WhatsApp" no topo (estilo notificação do iPhone) ---------- */
.wa-notif {
  /* fica logo abaixo da barra do topo (se ficasse em cima, parecia um "bug" na barra) */
  position: fixed; z-index: 2000; top: calc(var(--notif-top, 78px) + 8px); left: 50%;
  width: min(400px, calc(100% - 16px)); transform: translate(-50%, calc(-100% - 24px - var(--notif-top, 78px)));
  display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 12px; border-radius: 22px;
  background: rgba(250,250,250,.97); color: #111;
  -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 18px 44px -12px rgba(20,0,40,.55), 0 2px 8px rgba(0,0,0,.12), 0 0 0 .5px rgba(0,0,0,.08);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; text-decoration: none; cursor: pointer;
  transition: transform .55s cubic-bezier(.2,1.3,.4,1), opacity .3s; opacity: 0; pointer-events: none;
}
.wa-notif.is-in  { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.wa-notif.is-out { transform: translate(-50%, calc(-100% - 24px - var(--notif-top, 78px))); opacity: 0; transition: transform .4s cubic-bezier(.5,0,.75,0), opacity .4s; }
.wa-notif:active { transform: translate(-50%, 0) scale(.98); }
.wa-notif__avatar { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff; }
.wa-notif__avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.wa-notif__badge {   /* selinho do WhatsApp sobre a foto */
  position: absolute; right: -3px; bottom: -3px; width: 19px; height: 19px; border-radius: 6px;
  display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 0 0 2px rgba(246,246,246,.95);
}
.wa-notif__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.wa-notif__top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.wa-notif__top b { font-size: 15px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wa-notif__top time { flex: none; font-size: 13px; color: rgba(60,60,67,.6); }
.wa-notif__msg { font-size: 15px; line-height: 1.3; letter-spacing: -.01em; color: #111; }
@media (prefers-color-scheme: dark) {
  .wa-notif { background: rgba(32,32,34,.97); color: #fff; box-shadow: 0 10px 40px -10px rgba(0,0,0,.6), 0 0 0 .5px rgba(255,255,255,.08); }
  .wa-notif__msg { color: #fff; }
  .wa-notif__top time { color: rgba(235,235,245,.6); }
  .wa-notif__badge { box-shadow: 0 0 0 2px rgba(37,37,39,.95); }
}
@media (min-width: 769px) { .wa-notif { left: auto; right: 16px; transform: translateY(calc(-100% - 24px - var(--notif-top, 78px))); }
  .wa-notif.is-in { transform: none; } .wa-notif.is-out { transform: translateY(calc(-100% - 24px - var(--notif-top, 78px))); } .wa-notif:active { transform: scale(.98); } }

/* ---------- WhatsApp flutuante ---------- */
.float-wpp { position: fixed; right: 22px; bottom: 22px; z-index: 1100; display: flex; align-items: center; gap: 10px; }
.float-wpp__label {
  position: relative; background: #fff; color: var(--text); padding: 14px 20px; border-radius: 12px; font-weight: 500; font-size: 16px;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.35); transition: transform .2s;
}
.float-wpp__label::after {   /* biquinho do balão */
  content: ""; position: absolute; right: -7px; top: 50%; margin-top: -7px;
  border: 7px solid transparent; border-right: 0; border-left-color: #fff;
}
.float-wpp.has-photo .float-wpp__avatar { width: 72px; height: 72px; background: #fff; overflow: visible; }
.float-wpp.has-photo .float-wpp__avatar img { border-radius: 50%; }
.float-wpp.has-photo .float-wpp__avatar::after { display: none; }
.float-wpp__badge {
  position: absolute; right: -6px; bottom: -6px; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; background: #25D366; color: #fff; border: 2px solid #fff;
}
.float-wpp__avatar {
  width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff;
  border: 3px solid #fff; box-shadow: 0 10px 30px -8px rgba(0,0,0,.35); overflow: hidden; position: relative;
}
.float-wpp__avatar img { width: 100%; height: 100%; object-fit: cover; }
.float-wpp:hover .float-wpp__label { transform: translateX(-4px); }
.float-wpp__avatar::after {
  content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid #25D366;
  animation: ping 2.4s ease-out infinite;
}
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }

/* =============================================================
   RESPONSIVO
   ============================================================= */
@media (max-width: 1180px) {
  :root { --gutter: 40px; }
  .nav a { padding: 8px 9px; font-size: 14.5px; }
  .hide-sm { display: none; }
  .shortcuts { grid-template-columns: repeat(2, 1fr); }
  .shortcut:nth-child(3)::before { display: none; }
  .shortcut:nth-child(n+3) { border-top: 1px solid var(--line); }
  /* TV no topo, metade para fora da caixa */
  .tvbox { grid-template-columns: 1fr; gap: 0; padding: 0 28px 30px; margin-top: 160px; overflow: visible; }
  .tvbox__visual { order: -1; width: 80%; max-width: 340px; margin: calc(-0.28 * min(80%, 340px) - 14px) auto 20px; padding-bottom: 0; }
  .tvbox__tag { margin-top: 0; }
  /* título e descrição centralizados */
  .tvbox__title { text-align: center; font-size: clamp(32px, 8.6vw, 40px); margin: 6px 0 10px; }
  .tvbox__lead { text-align: center; font-size: 14.5px; max-width: 36ch; margin: 0 auto 22px; text-wrap: balance; }
  /* categorias: lista vertical com bolinhas; a mão sobe ao lado */
  .tvbox__catrow { position: relative; overflow: hidden; margin: 0 0 22px; min-height: 158px; }
  .tvbox__cats { flex-direction: column; flex-wrap: nowrap; gap: 8px; margin: 0; padding: 6px 0 4px calc(max(10%, (100% - 340px) / 2) + 4px); }   /* alinhado à lateral da TV */
  .tvbox__cats li { padding: 0; background: none !important; border: 0; gap: 10px; font-size: 14px; font-weight: 600; color: rgba(255,255,255,.55); }
  .tvbox__cats li .ico { display: none; }
  .tvbox__cats li::before {
    content: ""; width: 9px; height: 9px; border-radius: 50%; flex: none;
    background: rgba(255,255,255,.18); transition: background .4s ease, box-shadow .4s ease;
  }
  .tvbox__cats li.is-on { color: #fff; }
  .tvbox__cats li.is-on::before { background: var(--tone); box-shadow: 0 0 0 3px color-mix(in srgb, var(--tone) 28%, transparent); }
  .tvhand { left: auto; right: max(8%, calc((100% - 340px) / 2)); bottom: -40px; width: 112px; transform: translateY(115%) rotate(-8deg); }
  .tvbox.is-playing .tvhand { transform: translateY(0) rotate(-8deg); }
  /* telinhas da TV menor */
  .tvscreen { padding: 7px; gap: 6px; }
  .tvscreen__tile { padding: 7px; gap: 2px; }
  .tvscreen__tile.is-big { padding: 9px; }
  .tvscreen__name { font-size: 10.5px; white-space: nowrap; }
  .tvscreen__tile.is-big .tvscreen__name { font-size: 14px; }
  .tvscreen__ico { right: 5px; top: 5px; }
  .tvscreen__ico svg { width: 16px; height: 16px; }
  .tvscreen__tile.is-big .tvscreen__ico svg { width: 28px; height: 28px; }
  .tvscreen__live { top: 7px; left: 7px; padding: 3px 5px; font-size: 7.5px; white-space: nowrap; }
  .features { grid-template-columns: 1fr; }
  .features__media { min-height: 320px; }
}

@media (max-width: 980px) {
  :root { --gutter: 28px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .burger { display: grid; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; height: calc(100dvh - 78px); border-top: 1px solid var(--line); background: var(--paper); color: var(--ink); flex-direction: column; gap: 0; padding: 16px 24px; margin-left: 0;
    clip-path: inset(0 0 0 100%); visibility: hidden; transition: clip-path .35s ease, visibility .35s; overflow: auto;
  }
  .header.nav-open .nav { clip-path: inset(0); visibility: visible; }
  .nav a { font: 600 24px/1.2 var(--font-display); padding: 16px 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a:hover { background: none; }
  .nav__only-sm { display: block; }
  .header__actions { margin-left: auto; }
  /* Banner no celular: texto (com foto) em cima, card de planos embaixo */
  .slide__in, .hero__stage .slide__in { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .slide__spacer { display: none; }
  .slide__copy { justify-self: start; }
  .hero__stage { order: 3; position: relative; inset: auto; padding: 8px 0 96px; }
  .plan-card { margin: 0 auto; }
  /* planos em carrossel: arrasta para o lado, um card por vez */
  .plans {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 calc(-1 * var(--gutter)); padding: 26px var(--gutter) 10px; scroll-padding: 0 var(--gutter);
    align-items: flex-end;
  }
  .plans::-webkit-scrollbar { display: none; }
  .plan { flex: 0 0 min(78%, 330px); scroll-snap-align: center; }
  .plan:hover { transform: none; }
  /* velocidade em destaque, nome do plano discreto */
  .plan__name { font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #8A91A0; }
  .plan__speed { margin: 2px 6px 12px; }
  .plan__speed b { font-size: 76px; }
  .plan__speed span { font-size: 30px; }
  .plans-dots { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
  .plans-dots button { width: 8px; height: 8px; border-radius: 99px; background: #C9CEDA; transition: width .25s, background .25s; }
  .plans-dots button.is-active { width: 26px; background: var(--brand); }
  .tabs--center { justify-content: center; }
  .about, .faq { grid-template-columns: 1fr; gap: 40px; }
  .coverage { height: auto; display: flex; flex-direction: column; }
  .coverage__map { position: relative; height: 380px; }
  .cov-hint { inset: 0 0 auto 0; height: 380px; padding: 0 0 24px; flex-direction: column; gap: 14px; text-align: center; }
  .cov-hint__arrow { transform: rotate(90deg); animation: covNudgeD 1.3s ease-in-out infinite; }
  @keyframes covNudgeD { 50% { transform: rotate(90deg) translateX(10px); } }   /* (girada: +X = para baixo) */
  .coverage__wrap { padding: 0; margin-top: -20px; }
  .coverage .leaflet-bottom { bottom: 24px; }
  .panel { width: 100%; max-height: none; border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .coverage__also { top: 16px; left: 16px; right: 16px; }
  .cov-card { width: 100%; border-radius: 24px; box-shadow: 0 -10px 40px -24px rgba(46,26,61,.35); }
  .coverage { height: auto; }
  .coverage__map { height: 400px; }
  .cov-hint { height: 400px; font-size: 26px; }
}

@media (max-width: 640px) {
  :root { --gutter: 18px; }
  .topbar__in { justify-content: space-between; gap: 12px; overflow-x: auto; }
  .topbar__in a:nth-child(2), .topbar__in a:nth-child(3), .topbar__in a:nth-child(4) { display: none; }
  .topbar a { white-space: nowrap; font-size: 12.5px; }
  .header__in { height: 68px; gap: 12px; }
  .nav { height: calc(100dvh - 68px); }
  .logo__word { font-size: 28px; }
  .city__btn { height: 42px; padding: 0 12px; max-width: 150px; font-size: 14px; }
  .header__actions > .btn--accent { display: none; }
  .slide__cta .btn { flex: 1 1 100%; }
  .hero__controls { justify-content: space-between; bottom: 74px; }
  .hero__content { padding: 40px 0 128px; }
  .slide__bg::after, .slide--azul .slide__bg::after { background: linear-gradient(180deg, rgba(46,26,61,.55), rgba(46,26,61,.72) 60%, rgba(46,26,61,.82)); }
  .slide--limpo .slide__bg { background-position: 72% center !important; }
  .slide--limpo .slide__bg::after { background: linear-gradient(180deg, rgba(46,20,70,.55), rgba(46,20,70,.7) 60%, rgba(46,20,70,.85)); }
  .hb__title { margin-bottom: 30px; }
  .hb__l1 { font-size: 26px; }
  .hb__l2 { font-size: 44px; }
  .hb__offer { gap: 10px; }
  .hb__price { padding: 26px 10px 22px; gap: 4px; }
  .hb__tag { font-size: 11px; padding: 6px 12px; }
  .hb__cur { font-size: 20px; padding-top: 3px; }
  .hb__int { font-size: 72px; }
  .hb__dec { font-size: 24px; }
  .hb__dec small { font-size: 12px; }
  .hb__extras { flex-basis: 118px; gap: 8px; }
  .hb__plus { right: 123px; width: 36px; height: 36px; }
  .hb__extra { padding: 8px 6px; }
  .hb__extra small { font-size: 11px; }
  .hb__extra strong { font-size: 14px; }
  .hb__cta { height: 58px; font-size: 16px; padding-right: 16px; }
  .hb__cta > span:nth-child(2) { font-size: 1.22em; }   /* no celular: maior, mas numa linha só */
  .hb__agent { width: 38px; height: 38px; }   /* avatar menor no celular */
  .hb__agent i { width: 12px; height: 12px; border-width: 2px; }
  .hb__proof { flex-direction: column; justify-content: center; text-align: center; gap: 10px; }   /* celular: rostos no centro, texto embaixo */
  .hb__proof p { font-size: 14px; }
  .plan-card { padding: 18px 16px 18px; }
  .plan-card__price b { font-size: 26px; }
  .stage__name { font-size: 19px; }
  .stage__speed { font-size: 25px; }
  .shortcuts { grid-template-columns: 1fr; margin-top: -84px; }
  .shortcut::before { display: none; }
  .shortcut + .shortcut { border-top: 1px solid var(--line); }
  .shortcut { padding: 16px 18px; }
  .section { padding: 72px 0; }
  .section__head { margin-bottom: 32px; }
  .tabs { width: 100%; }
  .tab, .tabs--center .tab { flex: 0 1 auto; justify-content: center; padding: 0 12px; height: 38px; font-size: 13px; gap: 6px; }
  .tabs { width: auto; }
  .plans-head { margin-bottom: 20px; }
  .tvbox { padding: 0 20px 26px; margin-top: 132px; }
  .tvbox__btn { width: 100%; justify-content: center; }
  /* diferenciais no celular: um por linha, só contorno, ícone + título curto */
  .features__grid { grid-template-columns: 1fr; gap: 10px; }
  /* "Sobre" ocupa a tela inteira do celular (o mapa só aparece ao rolar) */
  #sobre { padding: 24px 0; min-height: calc(100svh - 68px); display: flex; align-items: center; }
  #sobre .about { width: 100%; }
  .about { gap: 20px; }
  .about__photo { aspect-ratio: 1 / 1; border-radius: 22px; }
  .about__photo img { object-position: 50% 40%; }
  /* celular: tudo centralizado; informações em sequência (bolinha, texto, traço até a próxima) */
  .about__text { text-align: center; }
  .about .lead { margin-left: auto; margin-right: auto; }
  .about__info { margin-top: 22px; gap: 0; justify-items: center; }
  .about__info li { flex-direction: column; gap: 7px; font-size: 14.5px; text-align: center; }
  .about__info li::before { width: 13px; height: 13px; }
  .about__info li:not(:last-child)::after { content: ""; width: 2px; height: 20px; margin: 5px 0; border-radius: 2px; background: #D5D9E2; }
  /* cada uma aparece quando entra na tela */
  .about__info li.reveal { transform: translateY(14px); transition: opacity .5s ease, transform .5s cubic-bezier(.3,1.4,.5,1); transition-delay: calc(var(--k, 0) * 120ms) !important; }
  .about__info li.reveal.is-in { transform: none; }
  .about__info li.reveal::before { transform: scale(0); transition: transform .45s cubic-bezier(.3,1.8,.5,1) .1s; }
  .about__info li.reveal.is-in::before { transform: scale(1); }
  .about__photo figcaption { display: none; }   /* no celular a legenda cobriria o logo */
  .about .eyebrow { margin-bottom: 8px; }
  .about .h2 { font-size: 29px; }
  .about .lead { font-size: 15px; margin-top: 10px; }
  .feature {
    display: flex; flex-direction: row; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 16px;
    background: transparent; border: 1.5px solid rgba(46,26,61,.85);
  }
  .feature__ico { width: 38px; height: 38px; border-radius: 11px; margin: 0; flex: none; }
  .feature__ico svg { width: 20px; height: 20px; }
  .feature h3 { margin: 0; font-size: 16px; line-height: 1.2; }
  .feature p, .feature__full { display: none; }
  .feature__short { display: inline; }
  /* cada linha desliza da lateral conforme a rolagem (alternando os lados) */
  .feature.reveal { transform: translateX(-40px); transition: opacity .55s ease, transform .6s cubic-bezier(.2,.9,.3,1.15); }
  .feature.reveal:nth-child(even) { transform: translateX(40px); }
  .feature.reveal.is-in { transform: none; }
  .feature.reveal .feature__ico { transform: scale(.5) rotate(-20deg); transition: transform .5s cubic-bezier(.3,1.6,.5,1) .25s; }
  .feature.reveal.is-in .feature__ico { transform: none; }
          .ticker__track span { font-size: 19px; padding: 0 18px; }
  .ticker__track span::after { margin-left: 30px; }
  .features__media:has(.feat-emoji) { min-height: 400px; }
  .features__media img.feat-emoji { height: 64%; right: 3%; }
  .features__media .features__caption { padding: 26px 24px; font-size: 30px; }
  .panel { padding: 24px 20px; }
  .cta { padding: 32px 24px; margin-bottom: 64px; }
  .cta .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .float-wpp { right: 14px; bottom: 14px; }
  .float-wpp__label { display: none; }
  .float-wpp__avatar { width: 56px; height: 56px; }
}

/* =============================================================
   PRIMEIRA DOBRA NO CELULAR
   Textos e cards do banner iguais (mesmos tamanhos), só mais para baixo.
   Fundo do mago grande: rosto/corpo na parte de cima, vazia; o texto passa
   um pouco por cima das pernas. No pé da tela aparece um pedaço do card "2ª via".
   Ajuste fino:  --mago-h  tamanho do mago (altura da foto)
                 --mago-y  sobe (negativo) / desce a foto
                 --mago-x  esquerda/direita (66% = mago no centro)
   ============================================================= */
@media (max-width: 640px) {
  .hero { --mago-h: 56vh; --mago-y: -6vh; --mago-x: 66%;
          display: flex; flex-direction: column; min-height: calc(100vh - 48px); }
  @supports (height: 1svh) { .hero { --mago-h: 56svh; --mago-y: -6svh; min-height: calc(100svh - 48px); } }
  /* (100% da tela − 68px do topo − 64px de "pedacinho" + 84px que o card sobe por cima do banner) */
  .hero[data-tema="limpo"], .slide--limpo { background: #31055A; }
  .slide--limpo .slide__bg {
    background-image: url("../assets/banner-magofy-mobile.webp") !important;   /* versão menor (25 KB) só para o celular */
    background-size: auto var(--mago-h) !important; background-position: var(--mago-x) var(--mago-y) !important;
    background-repeat: no-repeat; transform: none !important;
  }
  /* mago limpo em cima; escurece aos poucos só onde fica o texto (leitura) */
  .slide--limpo .slide__bg::after {
    background: linear-gradient(180deg, rgba(49,5,90,0) 0%, rgba(49,5,90,0) 26%, rgba(49,5,90,.5) 46%, rgba(49,5,90,.82) 64%, #31055A 82%) !important;
  }
  .hero__content { margin-top: auto; padding-top: 24px; }   /* conteúdo encostado embaixo = mais para baixo */
  /* sombra suave roxo-escura atrás do texto (leitura sobre o mago) */
  .hb { text-shadow: 0 2px 18px rgba(24,0,44,.75), 0 1px 3px rgba(24,0,44,.5); }
  .hero__content::before {
    content: ""; position: absolute; z-index: -1; left: -10%; right: -10%; top: -40px; height: 330px; pointer-events: none;
    background: radial-gradient(70% 60% at 35% 45%, rgba(28,2,52,.6), rgba(28,2,52,0) 72%);
  }
}

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

/* Celular: o texto começa logo abaixo do pé levantado do mago (68% da altura da foto), para o botão
   "Conversar com atendente" aparecer já na primeira tela. Usa a altura e a posição do mago (--mago-h, --mago-y). */
@media (max-width: 640px) {
  .hero__content { padding-top: calc(var(--mago-h) * .68 + var(--mago-y) + 0vh); }
  @supports (height: 1svh) { .hero__content { padding-top: calc(var(--mago-h) * .68 + var(--mago-y) + 0svh); } }
}
