/* ==========================================================================
   TR Telecom — pagina Movel
   Reaproveita o design system de styles.css. Cada secao usa a arte de fundo
   fornecida (pasta Movel/), com o conteudo em HTML por cima.
   ========================================================================== */

/* ---------------------------------------------------------- Dobra 1 - Heroi */
.mv-hero {
  position: relative;
  /* A altura vem do conteudo. O topo reserva o header (126px) mais um respiro
     curto; a base leva o mesmo respiro, para o texto nao encostar nas bordas.
     A foto (1916x821) entra com a largura toda, deslocada para baixo do header;
     o que sobra embaixo e cortado pelo overflow. */
  padding: calc(126px + clamp(24px, 2.6vw, 42px)) 0 clamp(24px, 2.6vw, 42px);
  overflow: hidden;
  background:
    /* Veu leve no topo (o header tem fundo escuro) e escurecimento do rodape
       para o texto/CTA ficarem legiveis sobre a foto. */
    linear-gradient(180deg, rgba(3, 7, 15, 0.72) 0%, rgba(3, 7, 15, 0) 22%),
    linear-gradient(0deg, rgba(3, 7, 15, 0.9) 0%, rgba(3, 7, 15, 0.6) 22%, rgba(3, 7, 15, 0) 48%),
    url("../img/movel-dobra-1.jpg?v=bdf76cf8") center calc(138px - 4.7vw) / 100% auto no-repeat #03070f;
}
.mv-hero__inner { position: relative; left: 6%; width: 44%; }
.mv-hero__titulo {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(30px, 3.6vw, 66px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.mv-hero__titulo span { color: var(--cyan-2); }
.mv-hero__texto {
  margin: 12px 0 0;
  font-size: clamp(11px, 0.86vw, 16px);
  line-height: 1.5;
  color: rgba(226, 238, 255, 0.86);
  max-width: 40ch;
}
.mv-selos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.mv-selos li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(8px, 0.62vw, 12px);
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(200, 221, 248, 0.9);
}
.mv-selos svg { width: 1.35vw; height: 1.35vw; min-width: 17px; min-height: 17px; flex: none; color: var(--cyan); }
.mv-hero__apartir {
  margin: 22px 0 0;
  font-family: var(--font-display);
  font-size: clamp(8px, 0.6vw, 12px);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.mv-hero__preco {
  margin: 2px 0 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(28px, 2.8vw, 52px);
  line-height: 1;
  color: #fff;
}
.mv-hero__preco span { font-size: 0.5em; }
.mv-hero__preco small { font-size: 0.32em; font-style: normal; color: var(--muted); }
.mv-hero__acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.mv-hero__nota { position: absolute; right: 4.2%; top: 14%; width: 118px; text-align: right; }

/* -------------------------------------------------------- Dobra 2 - Planos */
.mv-planos {
  position: relative;
  padding: clamp(46px, 5vw, 96px) 0 clamp(40px, 4vw, 72px);
  background:
    radial-gradient(circle at 8% 14%, rgba(199, 233, 255, 0.55) 0%, transparent 42%),
    radial-gradient(circle at 94% 10%, rgba(204, 235, 255, 0.55) 0%, transparent 40%),
    radial-gradient(circle at 50% 100%, rgba(219, 241, 255, 0.6) 0%, transparent 52%),
    #f7fbff;
  overflow: hidden;
}
.mv-planos__head { text-align: center; }
.mv-planos__tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 16px;
  border-radius: 999px;
  background: #dcf0fa;
  color: #006ce6;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.mv-planos__titulo {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(26px, 2.9vw, 50px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-transform: none;
  color: #0d1829;
}
.mv-planos__titulo span { color: #005cee; }
.mv-planos__texto {
  margin: 12px auto 0;
  max-width: 60ch;
  font-size: clamp(0.85rem, 0.8rem + 0.25vw, 1.05rem);
  color: #64748b;
}

/* Carrossel de planos: 3 cards visiveis no desktop e setas laterais. O trilho
   rola por scroll-snap; a quantidade de cards por vez acompanha os breakpoints. */
.mv-carrossel { position: relative; margin-top: clamp(28px, 3vw, 46px); }
.mv-carrossel__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 14px 0 10px;
}
.mv-carrossel__viewport::-webkit-scrollbar { display: none; }
.mv-carrossel__trilho {
  --mv-gap: clamp(14px, 1.6vw, 22px);
  display: flex;
  align-items: stretch;
  gap: var(--mv-gap);
}
.mv-carrossel__trilho > .mv-card {
  flex: 0 0 calc((100% - 2 * var(--mv-gap)) / 3);
  scroll-snap-align: start;
}
.mv-carrossel__nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(15, 60, 120, 0.12);
  border-radius: 50%;
  background: #fff;
  color: #64748b;
  cursor: pointer;
  box-shadow: 0 10px 24px -10px rgba(15, 60, 120, 0.5);
  transition: color 0.2s, border-color 0.2s, transform 0.2s;
}
.mv-carrossel__nav:hover { color: #0062e6; border-color: rgba(0, 98, 230, 0.32); }
.mv-carrossel__nav svg { width: 18px; height: 18px; }
.mv-carrossel__nav--prev { left: -18px; transform: translateY(-50%) rotate(180deg); }
.mv-carrossel__nav--next { right: -18px; transform: translateY(-50%); }
.mv-carrossel__nav[disabled] { opacity: 0.35; cursor: default; pointer-events: none; }
.mv-carrossel__dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.mv-carrossel__dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b8dcfa;
  transition: background 0.2s, transform 0.2s;
}
.mv-carrossel__dots span.is-active { background: #0066ee; transform: scale(1.25); }
.mv-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(24px, 2vw, 32px) clamp(18px, 1.6vw, 26px) clamp(20px, 1.8vw, 28px);
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 24px;
  box-shadow: 0 14px 36px -24px rgba(23, 66, 128, 0.5);
}
.mv-card--destaque {
  border: 2px solid #0066ee;
  box-shadow: 0 24px 50px -26px rgba(0, 98, 230, 0.6);
}
.mv-card__badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 5px 14px;
  border-radius: 999px;
  background: #0066ee;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 10px 20px -10px rgba(0, 98, 230, 0.9);
}
.mv-card__badge svg { width: 12px; height: 12px; }
.mv-card__selo {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 12px;
  border-radius: 16px;
  background: #eff6ff;
  color: #0066ee;
}
.mv-card__selo svg { width: 26px; height: 26px; }
.mv-card__total {
  margin: 6px 0 0;
  font-size: 0.82rem;
  font-weight: 500;
  color: #94a3b8;
}
.mv-card__gb {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(30px, 2.3vw, 40px);
  line-height: 1;
  color: #0e1726;
}
.mv-card__gb span {
  margin-left: 3px;
  font-size: 0.5em;
  font-style: normal;
  font-weight: 800;
  color: #0066ee;
}
.mv-card__preco {
  width: 100%;
  margin: 16px 0 0;
  padding-bottom: 18px;
  border-bottom: 1px solid #f1f5f9;
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 800;
  color: #0e1726;
}
.mv-card__preco small { font-size: 0.72em; font-weight: 500; color: #94a3b8; }
.mv-card__lista {
  display: grid;
  gap: 9px;
  width: 100%;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
}
.mv-card__lista li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.35;
}
.mv-card__lista svg { flex: none; margin-top: 2px; color: #0066ee; }
.mv-card__lista--franquia li { font-size: 0.82rem; font-weight: 500; color: #334155; }
.mv-card__lista--franquia svg { width: 15px; height: 15px; }
.mv-card__lista--beneficios { margin-top: 14px; }
.mv-card__lista--beneficios li { font-size: 0.76rem; color: #64748b; }
.mv-card__lista--beneficios svg { width: 13px; height: 13px; }
.mv-card__divisor { width: 100%; height: 1px; margin-top: 15px; background: #f1f5f9; }
.mv-card .btn {
  width: 100%;
  margin-top: 22px;
  padding: 12px 14px;
  border-radius: 999px;
  background: #0062e6;
  box-shadow: 0 16px 30px -18px rgba(0, 98, 230, 0.9);
  font-size: 0.8rem;
  font-weight: 700;
}
.mv-card .btn:hover { background: #0053c7; }
.mv-card .btn__icon { width: 15px; height: 15px; }
.mv-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 10px;
  padding: 11px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  color: #1e293b;
  transition: background 0.2s, border-color 0.2s;
}
.mv-card__link:hover { background: #f8fafc; border-color: #cbd5e1; }
.mv-card__link svg { width: 16px; height: 16px; color: #25d366; }
.mv-card__nota {
  margin: 14px 0 0;
  font-size: 0.6rem;
  line-height: 1.4;
  color: #94a3b8;
}
.mv-apoio {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(34px, 4vw, 64px);
  padding-top: clamp(22px, 2.4vw, 34px);
  border-top: 1px solid rgba(20, 60, 110, 0.10);
}
.mv-apoio li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  line-height: 1.25;
  font-weight: 700;
  color: #1e293b;
}
.mv-apoio li small { display: block; font-weight: 500; color: #64748b; }
.mv-apoio svg {
  flex: none;
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 14px;
  background: #eef6ff;
  color: #0066ee;
}
.mv-apoio__badge {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #e3efff;
  color: #0066ee;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.72rem;
}

/* ------------------------------------------------------ Dobra 3 - Cobertura */
.mv-cob {
  position: relative;
  aspect-ratio: 2172 / 724;
  background:
    /* Veu escuro da esquerda para o texto branco ter contraste sobre a cidade. */
    linear-gradient(90deg, rgba(3, 7, 15, 0.82) 0%, rgba(3, 7, 15, 0.5) 34%, rgba(3, 7, 15, 0) 62%),
    url("../img/movel-dobra-3.jpg?v=61649ef8") center / cover no-repeat;
  overflow: hidden;
}
.mv-cob__inner { position: absolute; left: 6%; top: 26%; width: 40%; }
.mv-cob__titulo {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(22px, 2.4vw, 44px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #fff;
}
.mv-cob__texto {
  margin: 10px 0 0;
  font-size: clamp(10px, 0.78vw, 14px);
  line-height: 1.5;
  color: rgba(226, 238, 255, 0.85);
  max-width: 42ch;
}
.mv-cob__nota { position: absolute; right: 4.2%; top: 26%; width: 118px; text-align: right; }
.mv-cob__btn { margin-top: 22px; font-size: clamp(10px, 0.85vw, 16px); }

/* ---------------------------------------------------------- Dobra 4 - FAQ */
.mv-faq { padding: clamp(30px, 4vw, 64px) 0; background: #fff; }
.mv-faq__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.mv-faq__titulo {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(20px, 1.9vw, 34px);
  letter-spacing: -0.02em;
  color: var(--ink);
}
.mv-faq__texto { margin: 6px 0 0; font-size: clamp(11px, 0.78vw, 14px); color: var(--muted); }
.mv-faq__lista {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 22px;
  margin-top: 22px;
}
.mv-faq__item {
  border: 1px solid rgba(20, 60, 110, 0.14);
  border-radius: 10px;
  background: #f8fafc;
}
.mv-faq__item summary {
  position: relative;
  padding: 13px 40px 13px 15px;
  cursor: pointer;
  list-style: none;
  font-size: clamp(11px, 0.8vw, 14px);
  font-weight: 600;
  color: var(--ink);
}
.mv-faq__item summary::-webkit-details-marker { display: none; }
.mv-faq__item summary::after {
  content: "+";
  position: absolute;
  right: 15px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.1em;
  color: var(--cyan-3);
}
.mv-faq__item[open] summary::after { content: "\2013"; }
.mv-faq__item p {
  margin: 0;
  padding: 0 15px 14px;
  font-size: clamp(10px, 0.72vw, 13px);
  line-height: 1.55;
  color: var(--muted);
}

/* ----------------------------------------------------- Dobra 5 - Chamada */
.mv-cta {
  position: relative;
  aspect-ratio: 2172 / 650;
  background:
    /* Veu escuro a partir da direita, para o texto ter contraste. */
    linear-gradient(270deg, rgba(3, 7, 15, 0.66) 0%, rgba(3, 7, 15, 0.22) 38%, rgba(3, 7, 15, 0) 62%),
    url("../img/movel-dobra-4.jpg?v=51101f71") center / cover no-repeat;
  overflow: hidden;
}
/* Texto na direita, do lado oposto ao celular da foto. */
.mv-cta__inner {
  position: absolute;
  right: 7%;
  top: 50%;
  transform: translateY(-50%);
  width: 38%;
  text-align: right;
}
.mv-cta__titulo {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(20px, 2.1vw, 38px);
  line-height: 1.05;
  color: #fff;
}
.mv-cta__texto {
  margin: 10px 0 18px;
  font-size: clamp(11px, 0.8vw, 15px);
  line-height: 1.5;
  color: rgba(226, 238, 255, 0.84);
}
.mv-cta__nota { position: absolute; right: 7%; bottom: 12%; width: 130px; text-align: right; }

/* ----------------------------------------------------------------- Mobile */
@media (max-width: 1024px) {
  .mv-hero, .mv-planos, .mv-cob, .mv-cta { aspect-ratio: auto; background-size: cover; }
  /* O header e fixo; o hero comeca depois dele (offset igual a altura do header:
     44px da topbar + 82px da barra principal). */
  .mv-hero { margin-top: 126px; padding: 40px 0 48px; }
  .mv-hero__inner,
  .mv-cob__inner,
  .mv-cta__inner { position: static; width: auto; }
  .mv-cta__inner { transform: none; text-align: left; }
  .mv-hero__nota, .mv-cob__nota, .mv-cta__nota { display: none; }
  .mv-hero__titulo { font-size: clamp(28px, 8vw, 46px); }
  .mv-selos { gap: 12px 22px; }
  .mv-selos svg { width: 22px; height: 22px; }
  .mv-planos { padding: 46px 0 40px; }
  .mv-carrossel__trilho > .mv-card { flex-basis: calc((100% - var(--mv-gap)) / 2); }
  .mv-apoio { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 18px; }
  .mv-cob { padding: 64px 0; }
  .mv-cob__titulo { font-size: clamp(24px, 7vw, 40px); }
  .mv-faq__lista { grid-template-columns: minmax(0, 1fr); }
  .mv-cta { padding: 48px 0; }
}

@media (max-width: 640px) {
  .mv-carrossel__trilho > .mv-card { flex-basis: 100%; }
  .mv-carrossel__nav { width: 38px; height: 38px; }
  .mv-carrossel__nav--prev { left: -10px; }
  .mv-carrossel__nav--next { right: -10px; }
  .mv-apoio { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mv-hero__acoes .btn { width: 100%; }

  /* No celular as secoes com foto usam a arte 9:16 (area livre em cima para o
     texto, assunto embaixo) e o texto fica no topo, sobre a area livre. */
  .mv-hero,
  .mv-cob,
  .mv-cta {
    aspect-ratio: 9 / 16;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  .mv-hero {
    /* Header no celular: topbar (44px) + barra principal (72px) = 116px. */
    margin-top: 116px;
    padding: 32px 22px 46px;
    background:
      linear-gradient(180deg, rgba(3, 7, 15, 0.55) 0%, rgba(3, 7, 15, 0) 38%),
      linear-gradient(0deg, rgba(3, 7, 15, 0.85) 0%, rgba(3, 7, 15, 0) 44%),
      url("../img/movel-mobile-hero.jpg?v=6dd4187f") center / cover no-repeat #03070f;
  }
  .mv-cob {
    padding: 104px 22px 54px;
    background:
      linear-gradient(180deg, rgba(3, 7, 15, 0.6) 0%, rgba(3, 7, 15, 0) 42%),
      url("../img/movel-mobile-cobertura.jpg?v=4662cea4") center / cover no-repeat #03070f;
  }
  .mv-cta {
    /* Box mais baixo e fundo ancorado embaixo: corta a area vazia de cima e sobe
       o celular para perto do texto/botao. */
    aspect-ratio: 2 / 3;
    padding: 104px 22px 54px;
    background:
      linear-gradient(180deg, rgba(3, 7, 15, 0.6) 0%, rgba(3, 7, 15, 0) 42%),
      url("../img/movel-mobile-cta.jpg?v=684617ef") center bottom / cover no-repeat #03070f;
  }
}

/* ---------------------------------------------------------------------------
   Correcao de cores nas secoes CLARAS (planos, FAQ).
   O design system do site e para fundo escuro: --text e #eaf1ff e --muted e
   #98aac4, ambos claros e ilegiveis sobre branco. Aqui vao cores proprias para
   o fundo claro. Planos e CTA tem paleta propria acima e nao entram nesta lista.
   --------------------------------------------------------------------------- */
.mv-faq__titulo,
.mv-faq__item summary { color: var(--brand); }

.mv-faq__texto,
.mv-faq__item p { color: #5b6b7c; }
