@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('../fonts/plus-jakarta-sans-latin.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --roxo: #6c4df6;
  --roxo-claro: #8b6cff;
  --roxo-escuro: #5b3fe0;
  --amarelo: #ffd166;
  --texto: #16132b;
  --suave: #5d5873;
  --fundo: #f6f4fb;
  --cartao: #ffffff;
  --borda: #e6e2f3;
  --verde: #14b184;
  --raio: 20px;
  --largura: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --texto: #f1effa;
    --suave: #b2acc9;
    --fundo: #13111f;
    --cartao: #1d1a2e;
    --borda: #2e2a45;
  }
}
:root[data-theme="dark"] {
  --texto: #f1effa;
  --suave: #b2acc9;
  --fundo: #13111f;
  --cartao: #1d1a2e;
  --borda: #2e2a45;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--texto);
  background: var(--fundo);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--roxo); }
:focus-visible { outline: 3px solid var(--amarelo); outline-offset: 3px; border-radius: 6px; }

.conteiner { width: 100%; max-width: var(--largura); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .conteiner { padding: 0 32px; } }

/* Cabeçalho */
.topo { position: absolute; inset: 0 0 auto; z-index: 2; }
.topo .conteiner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.marca { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 19px; }
.marca img { width: 36px; height: 36px; border-radius: 9px; }
.topo nav { display: flex; gap: 20px; }
.topo nav a { color: rgba(255, 255, 255, .88); text-decoration: none; font-size: 15px; font-weight: 600; }
.topo nav a:hover { color: #fff; }
@media (max-width: 640px) { .topo nav { display: none; } }

/* Herói */
.heroi {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(circle at 75% 40%, rgba(255, 255, 255, .18), transparent 45%),
              linear-gradient(160deg, var(--roxo-claro), var(--roxo-escuro));
  padding: 112px 0 0;
}
.heroi .conteiner { display: grid; gap: 40px; align-items: end; }
@media (min-width: 900px) { .heroi .conteiner { grid-template-columns: 1.1fr .9fr; } }
.heroi .texto { padding-bottom: 56px; }
.heroi h1 { font-size: clamp(36px, 6vw, 58px); line-height: 1.08; letter-spacing: -1.2px; margin: 0 0 18px; font-weight: 800; }
.heroi h1 em { font-style: normal; color: var(--amarelo); }
.heroi p.sub { font-size: 19px; max-width: 520px; color: rgba(255, 255, 255, .9); margin: 0 0 28px; }
.lojas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.lojas .badge img { height: 54px; width: auto; }
.em-breve {
  display: inline-flex; align-items: center; height: 54px; padding: 0 18px; border-radius: 12px;
  border: 1.5px solid rgba(255, 255, 255, .45); color: rgba(255, 255, 255, .9); font-size: 14px; font-weight: 600;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; padding: 0; list-style: none; }
.chips li { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-size: 14px; font-weight: 600; }
.aparelho {
  justify-self: center;
  width: min(320px, 78vw);
  border-radius: 46px 46px 0 0;
  border: 10px solid #121018;
  border-bottom: 0;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(20, 8, 70, .45);
  background: #121018;
}
.aparelho img { aspect-ratio: 1320 / 2000; object-fit: cover; object-position: top; width: 100%; }

/* Seções */
section { padding: 80px 0; }
.titulo-secao { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.titulo-secao h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; letter-spacing: -.6px; margin: 0 0 12px; }
.titulo-secao p { color: var(--suave); margin: 0; }

.recursos { display: grid; gap: 20px; }
@media (min-width: 720px) { .recursos { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .recursos { grid-template-columns: repeat(3, 1fr); } }
.recurso {
  background: var(--cartao);
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  padding: 24px 24px 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.recurso h3 { margin: 0 0 6px; font-size: 20px; letter-spacing: -.2px; }
.recurso p { margin: 0 0 20px; color: var(--suave); font-size: 16px; }
.recurso .tela {
  margin-top: auto;
  align-self: center;
  width: 78%;
  border-radius: 28px 28px 0 0;
  border: 6px solid #121018;
  border-bottom: 0;
  overflow: hidden;
}
.recurso .tela img { aspect-ratio: 1320 / 1500; object-fit: cover; object-position: top; width: 100%; }

.medicamentos { background: var(--cartao); border-top: 1px solid var(--borda); border-bottom: 1px solid var(--borda); }
.lista-med { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding: 0; margin: 0; list-style: none; }
.lista-med li {
  display: flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 14px;
  background: var(--fundo); border: 1px solid var(--borda); font-weight: 700;
}
.lista-med li::before { content: '✓'; color: var(--verde); font-weight: 800; }
.nota { text-align: center; color: var(--suave); font-size: 14px; margin: 24px auto 0; max-width: 640px; }

.perguntas { max-width: 760px; margin: 0 auto; }
.perguntas details {
  background: var(--cartao); border: 1px solid var(--borda); border-radius: 16px; padding: 18px 22px; margin-bottom: 12px;
}
.perguntas summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.perguntas summary::-webkit-details-marker { display: none; }
.perguntas summary::after { content: '+'; color: var(--roxo); font-size: 22px; line-height: 1; }
.perguntas details[open] summary::after { content: '−'; }
.perguntas details p { margin: 12px 0 0; color: var(--suave); }

.chamada {
  text-align: center; color: #fff; border-radius: 28px; padding: 56px 24px;
  background: linear-gradient(160deg, var(--roxo-claro), var(--roxo-escuro));
}
.chamada img.icone { width: 84px; height: 84px; border-radius: 20px; margin: 0 auto 18px; box-shadow: 0 10px 30px rgba(20, 8, 70, .35); }
.chamada h2 { font-size: clamp(26px, 4vw, 36px); margin: 0 0 22px; letter-spacing: -.5px; }
.chamada .lojas { justify-content: center; }

.aviso-medico { font-size: 14px; color: var(--suave); text-align: center; max-width: 760px; margin: 0 auto; }

/* Rodapé */
.rodape { border-top: 1px solid var(--borda); padding: 36px 0 44px; font-size: 14px; color: var(--suave); }
.rodape .conteiner { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; }
.rodape nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.rodape a { color: var(--suave); text-decoration: none; font-weight: 600; }
.rodape a:hover { color: var(--roxo); }

/* Páginas de texto (política, termos, suporte) */
.cabecalho-doc { background: linear-gradient(160deg, var(--roxo-claro), var(--roxo-escuro)); color: #fff; padding: 104px 0 44px; }
.cabecalho-doc h1 { margin: 0 0 6px; font-size: clamp(30px, 5vw, 44px); letter-spacing: -.8px; line-height: 1.1; }
.cabecalho-doc p { margin: 0; color: rgba(255, 255, 255, .85); }
.documento { max-width: 780px; padding: 48px 16px 72px; }
@media (min-width: 720px) { .documento { padding: 56px 32px 80px; } }
.documento h2 { font-size: 23px; letter-spacing: -.3px; margin: 44px 0 12px; scroll-margin-top: 24px; }
.documento h3 { font-size: 18px; margin: 28px 0 8px; }
.documento p, .documento li { color: var(--texto); }
.documento ul, .documento ol { padding-left: 22px; }
.documento li { margin-bottom: 6px; }
.documento .destaque {
  background: var(--cartao); border: 1px solid var(--borda); border-left: 4px solid var(--roxo);
  border-radius: 12px; padding: 16px 20px; margin: 20px 0;
}
.documento .indice { background: var(--cartao); border: 1px solid var(--borda); border-radius: 16px; padding: 18px 22px; }
.documento .indice ol { margin: 8px 0 0; columns: 2 260px; column-gap: 32px; }
.documento .indice a { text-decoration: none; }
.tabela { width: 100%; overflow-x: auto; }
.documento table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; }
.documento th, .documento td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--borda); }
.documento th { background: var(--cartao); }

/* Celular: herói compacto, para a tela do app aparecer sem rolar */
@media (max-width: 899px) {
  .heroi { padding-top: 84px; }
  .heroi .conteiner { gap: 24px; }
  .heroi .texto { padding-bottom: 0; }
  .heroi h1 { font-size: clamp(30px, 8.4vw, 40px); letter-spacing: -.8px; margin-bottom: 12px; }
  .heroi p.sub { font-size: 16px; line-height: 1.45; margin-bottom: 18px; }
  .heroi .lojas, .heroi .chips { justify-content: center; }
  .lojas { gap: 10px; }
  .lojas .badge img { height: 46px; }
  .em-breve { height: 46px; padding: 0 14px; font-size: 13px; }
  .heroi .chips { margin-top: 16px; gap: 6px; }
  .heroi .chips li { padding: 4px 10px; font-size: 13px; }
  .aparelho { width: min(280px, 72vw); border-width: 8px; border-radius: 40px 40px 0 0; }
}
