/*
Theme Name: Tema Quiz Maternidade Premium
Theme URI: https://exemplo.com
Author: Wanderson Junior
Description: Funil Quiz para Mãe de Primeira Viagem com design premium, contagem regressiva e suporte a Pixel do Meta.
Version: 1.1
Text Domain: tema-quiz-maternidade-premium
*/

/* Base */
:root{
  --bg1:#fff5f8;
  --bg2:#ffe3ed;
  --card:#ffffff;
  --text:#2a2a2a;
  --muted:#666;
  --pink:#ff2e63;
  --pink2:#ff4d79;
  --shadow: 0 20px 60px rgba(255,77,121,.15);
  --radius: 22px;
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background: linear-gradient(160deg,var(--bg1),var(--bg2));
}

a{color:inherit}
.wrap{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 28px 18px;
}

.container{width:min(980px, 100%)}

/* Topbar */
.topbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:12px;
}
.brand{display:flex; align-items:center; gap:12px}
.logo{
  width:46px;height:46px;border-radius:16px;
  background: linear-gradient(135deg, #ff8fab, var(--pink2));
  box-shadow: 0 16px 34px rgba(255,77,121,.22);
  display:flex;align-items:center;justify-content:center;
  color:#fff;font-weight:900;
}
.brand-title{font-weight:900; letter-spacing:.2px}
.brand-sub{color:rgba(42,42,42,.68); font-size:.95rem}
.badge{
  background: rgba(255,255,255,.75);
  border:1px solid rgba(255,46,99,.25);
  padding:8px 14px;
  border-radius:999px;
  font-weight:900;
  color: var(--pink);
}

/* Card */
.card{
  background: rgba(255,255,255,.85);
  border:1px solid rgba(0,0,0,.06);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  overflow:hidden;
}
.content{padding: 26px}

/* Steps */
.step{display:none}
.step.active{display:block; animation: fadeUp .4s ease both}
@keyframes fadeUp{
  from{opacity:0; transform: translateY(10px)}
  to{opacity:1; transform: translateY(0)}
}

/* Buttons */
.actions{display:flex; gap:10px; flex-wrap:wrap; margin-top:14px}
.btn{
  appearance:none;
  border:1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.8);
  color: var(--text);
  padding:12px 18px;
  border-radius: 16px;
  cursor:pointer;
  font-weight:900;
  transition: transform .08s ease, filter .2s ease, box-shadow .2s ease;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
}
.btn:active{transform: translateY(1px)}
.btn-primary{
  border-color: rgba(255,46,99,.35);
  background: linear-gradient(135deg, var(--pink), var(--pink2));
  color:#fff;
  box-shadow: 0 16px 34px rgba(255,46,99,.22);
}
.btn-primary:hover{filter: brightness(1.03)}
.btn[disabled]{opacity:.55; cursor:not-allowed}

/* Quiz */
.progress{margin-bottom:16px}
.progress-top{display:flex; justify-content:space-between; font-weight:900; color: rgba(42,42,42,.7); margin-bottom:8px}
.bar{height:10px; border-radius:999px; background: rgba(0,0,0,.08); overflow:hidden}
.bar > div{height:100%; width:20%; background: linear-gradient(90deg, #ffd0de, var(--pink2));}

.options{display:grid; grid-template-columns:1fr; gap:10px; margin-top:12px}
@media(min-width:820px){ .options{grid-template-columns:1fr 1fr;} }

.option{
  border:1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.85);
  border-radius: 16px;
  padding: 14px;
  cursor:pointer;
  display:flex;
  gap:10px;
  align-items:flex-start;
  transition: transform .08s ease, box-shadow .2s ease, border-color .2s ease;
}
.option:hover{box-shadow: 0 12px 28px rgba(0,0,0,.08)}
.dot{
  width:18px; height:18px; border-radius:999px;
  border:2px solid rgba(0,0,0,.25);
  margin-top:2px;
  flex:0 0 auto;
}
.option.selected{
  border-color: rgba(255,46,99,.55);
  box-shadow: 0 16px 34px rgba(255,46,99,.14);
}
.option.selected .dot{
  border-color: rgba(255,46,99,.9);
  background: radial-gradient(circle at 30% 30%, #fff, var(--pink2));
}

.muted{color: rgba(42,42,42,.72)}

/* Offer */
.offer{
  margin-top:16px;
  border:1px solid rgba(255,46,99,.22);
  background: radial-gradient(700px 240px at 20% 20%, rgba(255,46,99,.14), rgba(255,255,255,.75));
  border-radius: 18px;
  padding: 16px;
  display:flex;
  gap:14px;
  align-items:center;
  flex-wrap:wrap;
}
.cover{
  width:140px; height:190px;
  border-radius: 16px;
  border:1px solid rgba(0,0,0,.08);
  background: linear-gradient(135deg, #fff, #ffe1ea);
  box-shadow: 0 18px 44px rgba(0,0,0,.12);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  color: rgba(42,42,42,.72);
  text-align:center;
  padding:10px;
  overflow:hidden;
}
.cover img{width:100%;height:100%;object-fit:cover;display:block}
.offerCopy{flex:1; min-width:240px}
.priceRow{display:flex; gap:10px; align-items:baseline; flex-wrap:wrap; margin-top:10px}
.old{color: rgba(42,42,42,.55); text-decoration: line-through; font-weight:900}
.new{font-size:1.7rem; font-weight:1000; color: var(--pink)}
.tag{
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,46,99,.30);
  background: rgba(255,46,99,.10);
  font-weight:900;
  font-size:.86rem;
  color: rgba(42,42,42,.86);
}
.timer{
  margin-top:10px;
  font-weight:900;
  color: rgba(42,42,42,.80);
}
.timer b{color: var(--pink)}

/* Footer */
.footer{
  margin-top:12px;
  color: rgba(42,42,42,.62);
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:10px;
  padding: 0 4px 6px;
  font-weight:800;
  font-size:.92rem;
}
