/* Vídeos de ajuda (/videos/): mesma paleta e mesmo jeito da página de links (/pinhal/ e /links/).
   Arquivo externo porque a política de segurança desta pasta não aceita <style> nem style="" no HTML. */
:root{
  --wine:#7A1F2B; --wine-dark:#5E1620; --wine-light:#93303D;
  --charcoal:#23262B; --ink:#1A1C20;
  --gold:#B4915A; --gold-light:#CBA86B;
  --cream:#F4EFE6; --cream-2:#EDE5D6; --paper:#FBF8F2;
  --text:#2A2C30; --text-soft:#565A61;
  --line:rgba(35,38,43,.10);
  --android:#3DDC84; --android-texto:#0B7A3E;
  --serif:'Cormorant Garamond',Georgia,serif;
  color-scheme:light;
}
*{ box-sizing:border-box; margin:0; padding:0; }
body{
  font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  font-size:17px; line-height:1.55; color:var(--text);
  background:var(--paper); min-height:100vh; -webkit-font-smoothing:antialiased;
}
a{ color:inherit; text-decoration:none; }
img{ display:block; }
.nowrap{ white-space:nowrap; }
a:focus-visible{ outline:3px solid var(--gold); outline-offset:3px; }
svg{ flex-shrink:0; }

/* ============ TOPO ============ */
.topo{
  position:relative; color:var(--cream); padding:18px 18px 62px;
  background:
    radial-gradient(ellipse 80% 70% at 50% -20%, rgba(203,168,107,.30), transparent 70%),
    radial-gradient(circle at 105% 100%, rgba(147,48,61,.55), transparent 55%),
    linear-gradient(165deg, var(--ink) 0%, var(--charcoal) 55%, #3B1B21 100%);
}
.marca{ display:flex; align-items:center; gap:12px; max-width:480px; margin:0 auto; }
.marca-selo{
  flex:0 0 48px; height:48px; border-radius:50%; display:grid; place-items:center;
  background:radial-gradient(circle at 50% 32%, #FFFDF8 0%, #F3ECDF 62%, #E4D7BF 100%);
  box-shadow:0 0 0 1.5px var(--gold), 0 0 0 5px rgba(203,168,107,.16);
}
.marca-selo img{ width:32px; height:auto; }
.marca-nome{ font-family:var(--serif); font-weight:700; font-size:1.45rem; line-height:1; color:#F8F2E7; }
.marca-nome small{
  display:block; margin-top:5px; font-family:'Inter',sans-serif; font-size:.64rem; font-weight:600;
  letter-spacing:.28em; text-transform:uppercase; color:var(--gold-light);
}

/* ============ FOLHA CREME ============ */
.folha{
  position:relative; z-index:2; max-width:480px; margin:-40px auto 0;
  background:var(--paper); border-radius:28px 28px 0 0; padding:22px 18px 36px;
}
.voltar{
  display:inline-flex; align-items:center; gap:4px; min-height:44px; padding:0 4px;
  font-size:.95rem; font-weight:600; color:var(--wine);
}
.voltar svg{ width:18px; height:18px; }
.voltar:hover{ text-decoration:underline; }

.kicker{ margin-top:6px; font-size:.78rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--wine); }
h1{
  margin-top:6px; font-family:var(--serif); font-weight:700; color:var(--charcoal);
  font-size:clamp(2rem,8.6vw,2.4rem); line-height:1.08;
}
.intro{ margin-top:10px; font-size:1.02rem; color:var(--text-soft); }

/* qual celular: Android (verde) ou iPhone (preto) */
.so-atual{
  display:inline-flex; align-items:center; gap:8px; margin-top:14px; padding:8px 16px 8px 10px;
  border-radius:999px; font-size:.98rem; font-weight:700;
}
.so-atual svg{ width:22px; height:22px; }
.so-atual.so-android{ background:rgba(61,220,132,.16); color:var(--android-texto); }
.so-atual.so-iphone{ background:rgba(17,18,20,.08); color:var(--charcoal); }

/* ============ PLAYER ============ */
.player{
  width:min(100%, calc(78vh * 9 / 16)); margin:14px auto 0; aspect-ratio:9/16;
  border-radius:22px; overflow:hidden; background:#2A1418;
  box-shadow:0 0 0 1px rgba(180,145,90,.35), 0 22px 44px rgba(35,38,43,.28);
}
.player video{ display:block; width:100%; height:100%; object-fit:contain; background:#2A1418; }
.player video a{ color:#fff; text-decoration:underline; }

.trocar{
  display:flex; align-items:center; gap:12px; margin-top:16px; padding:14px 16px;
  background:#fff; border:1px solid var(--line); border-radius:18px; box-shadow:0 6px 18px rgba(35,38,43,.06);
  font-size:.98rem; line-height:1.35; color:var(--text-soft);
  transition:border-color .2s ease, box-shadow .2s ease;
}
.trocar strong{ display:block; color:var(--charcoal); font-weight:700; }
.trocar-texto{ flex:1; min-width:0; }
.trocar .so-icone{ flex:0 0 44px; height:44px; }
.trocar .seta{ color:var(--gold); }
.trocar:hover{ border-color:rgba(122,31,43,.3); box-shadow:0 12px 26px rgba(35,38,43,.12); }

/* ============ PASSO A PASSO ============ */
.secao{ margin-top:32px; }
.secao-titulo{ margin:0 4px 12px; font-family:var(--serif); font-size:1.55rem; font-weight:700; color:var(--charcoal); line-height:1.2; }
.passos{ list-style:none; counter-reset:passo; display:flex; flex-direction:column; gap:10px; }
.passos li{
  counter-increment:passo; position:relative; padding:14px 16px 14px 62px; min-height:58px;
  background:#fff; border:1px solid var(--line); border-radius:18px; font-size:1.02rem; line-height:1.45;
}
.passos li::before{
  content:counter(passo); position:absolute; left:14px; top:12px; width:34px; height:34px; border-radius:50%;
  display:grid; place-items:center; background:var(--wine); color:#fff; font-weight:700; font-size:1rem;
}
.dica{
  margin-top:14px; padding:14px 16px; border-radius:18px; border:1px dashed rgba(180,145,90,.7);
  background:rgba(203,168,107,.10); font-size:.98rem; line-height:1.5; color:var(--text);
}
.dica strong{ color:var(--wine); }
.dica a{ color:var(--wine); font-weight:600; text-decoration:underline; }

/* ============ WHATSAPP ============ */
.whats{
  position:relative; overflow:hidden; display:flex; align-items:center; gap:15px;
  margin-top:28px; padding:16px 18px 16px 16px; border-radius:22px; color:#fff;
  background:linear-gradient(135deg, var(--wine-light) 0%, var(--wine) 45%, var(--wine-dark) 100%);
  box-shadow:0 18px 36px rgba(122,31,43,.30), inset 0 1px 0 rgba(255,255,255,.14);
  transition:transform .25s ease, box-shadow .25s ease;
}
.whats:hover{ transform:translateY(-2px); box-shadow:0 22px 42px rgba(122,31,43,.40), inset 0 1px 0 rgba(255,255,255,.14); }
.whats-icone{
  flex:0 0 52px; height:52px; border-radius:50%; display:grid; place-items:center;
  background:#25D366; box-shadow:0 6px 16px rgba(0,0,0,.25);
}
.whats-icone svg{ width:28px; height:28px; color:#fff; }
.whats-texto{ flex:1; min-width:0; }
.whats-texto strong{ display:block; font-size:1.12rem; font-weight:600; line-height:1.25; }
.whats-texto small{ display:block; margin-top:2px; font-size:.9rem; color:#F3E4E6; }
.seta{ width:20px; height:20px; }
.whats .seta{ color:var(--gold-light); }

/* ============ CARTÕES DE VÍDEO (lista) ============ */
.dica-so{ margin:0 4px 14px; font-size:.95rem; line-height:1.5; color:var(--text-soft); }
.dica-so strong{ color:var(--charcoal); }
.temas{ display:flex; flex-direction:column; gap:14px; }
.tema{
  background:#fff; border:1px solid var(--line); border-top:4px solid var(--wine); border-radius:22px;
  padding:16px; box-shadow:0 12px 26px rgba(35,38,43,.08);
}
.tema-topo{ display:flex; align-items:flex-start; gap:14px; }
.tema-icone{ flex:0 0 48px; height:48px; border-radius:15px; display:grid; place-items:center; background:var(--cream); color:var(--wine); }
.tema-icone svg{ width:26px; height:26px; }
.tema-texto{ flex:1; min-width:0; }
.tema-texto h2, .tema-texto h3{ font-size:1.12rem; font-weight:700; color:var(--charcoal); line-height:1.3; }
.tema-texto p{ margin-top:3px; font-size:.92rem; line-height:1.45; color:var(--text-soft); }
.tema-texto .tempo{ display:block; margin-top:4px; font-size:.82rem; font-weight:600; color:var(--wine); }
.tema-botoes{ display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:14px; }
.botao-so{
  display:flex; align-items:center; justify-content:center; gap:8px; min-height:52px; padding:8px 10px;
  border-radius:14px; font-size:1rem; font-weight:700; transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.botao-so svg{ width:22px; height:22px; }
.botao-so.so-android{ background:rgba(61,220,132,.14); border:1.5px solid rgba(11,122,62,.35); color:var(--android-texto); }
.botao-so.so-android:hover{ background:rgba(61,220,132,.26); }
.botao-so.so-iphone{ background:var(--charcoal); border:1.5px solid var(--charcoal); color:#fff; }
.botao-so.so-iphone:hover{ background:#000; }
.botao-so:hover{ transform:translateY(-1px); box-shadow:0 8px 18px rgba(35,38,43,.14); }

/* ícone do sistema dentro de um quadradinho (troca de vídeo) */
.so-icone{ display:grid; place-items:center; border-radius:13px; flex-shrink:0; }
.so-icone svg{ width:24px; height:24px; }
.so-icone.so-android{ background:rgba(61,220,132,.16); color:var(--android-texto); }
.so-icone.so-iphone{ background:var(--charcoal); color:#fff; }

/* ============ LINHAS SIMPLES ============ */
.linhas{ display:flex; flex-direction:column; gap:10px; }
.linha{
  display:flex; align-items:center; gap:14px; min-height:66px; padding:11px 16px 11px 11px;
  background:#fff; border:1px solid var(--line); border-radius:18px; box-shadow:0 6px 18px rgba(35,38,43,.06);
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.linha:hover{ transform:translateY(-2px); box-shadow:0 12px 26px rgba(35,38,43,.12); border-color:rgba(122,31,43,.3); }
.linha-icone{ flex:0 0 44px; height:44px; border-radius:14px; display:grid; place-items:center; background:var(--cream); color:var(--wine); }
.linha-icone svg{ width:22px; height:22px; }
.linha-texto{ flex:1; min-width:0; }
.linha-texto strong{ display:block; font-size:1.02rem; font-weight:600; color:var(--charcoal); line-height:1.3; }
.linha-texto small{ display:block; font-size:.86rem; color:var(--text-soft); }
.linha .seta{ color:var(--gold); }

.baixar{
  display:flex; align-items:center; justify-content:center; gap:8px; min-height:48px; margin-top:22px;
  font-size:.92rem; font-weight:600; color:var(--text-soft);
}
.baixar svg{ width:18px; height:18px; color:var(--wine); }
.baixar:hover{ color:var(--wine); text-decoration:underline; }

/* ============ RODAPÉ ============ */
.rodape{ margin-top:34px; text-align:center; font-size:.82rem; line-height:1.65; color:var(--text-soft); }
.rodape img{ width:40px; height:auto; margin:0 auto 10px; opacity:.9; }
.rodape strong{ display:block; color:var(--charcoal); font-weight:600; }
.rodape .aviso{ margin-top:10px; font-size:.75rem; color:#76797F; }

@media (prefers-reduced-motion:reduce){
  .whats,.linha,.trocar,.botao-so{ transition:none; }
}
@media (max-width:360px){
  .topo{ padding:16px 14px 58px; }
  .folha{ padding:18px 14px 32px; }
  .whats{ gap:12px; padding:14px 14px 14px 12px; }
  .whats .seta{ display:none; }
  .tema{ padding:14px; }
  .botao-so{ font-size:.95rem; gap:6px; }
}
@media (min-width:520px){
  .topo{ padding-top:24px; padding-bottom:76px; }
  .folha{ border-radius:28px; margin-bottom:40px; padding:26px 26px 36px; }
}

/* página de um vídeo: o player vem logo depois do título; o resumo fica embaixo dele */
.player + .intro{ margin-top:16px; text-align:center; }
