/* ==========================================================================
   Área pública — visual lúdico e colorido
   ========================================================================== */


.publico .hero {
  background: linear-gradient(135deg, #eaf7fb 0%, #f5faff 60%);
}

.publico h1 .highlight { color: var(--teal-dark); }

/* Mascotes na página de parceiros */
.parceiros-mascotes {
  display: block;
  width: 300px;
  max-width: 78%;
  height: auto;
  margin: 10px auto 6px;
}
@media (max-width: 560px) { .parceiros-mascotes { width: 220px; } }

/* Cartões de navegação principais (área pública) */
.explore-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  position: relative;
}
.explore-card:hover { text-decoration: none; }
.emoji-badge {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
}
.emoji-badge.emoji-badge-sm { width: 48px; height: 48px; border-radius: 14px; font-size: 1.5rem; margin-bottom: 10px; }

/* Ícone com ilustração real (em vez de emoji) usado nos cards de higienização */
.icon-badge { width: 52px; height: 52px; margin-bottom: 10px; }
.icon-badge img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 3px 6px rgba(23,58,99,0.15)); }
.explore-card h3 { margin-bottom: 4px; }
.explore-card .go { font-weight: 800; color: var(--teal-dark); }

.bg-teal { background: #e6fbfd; }
.bg-pink { background: #ffeef2; }
.bg-yellow { background: #fff8e2; }
.bg-green { background: #eaf7ea; }
.bg-purple { background: #f2ecfb; }

/* Estrelinhas decorativas */
.stars-deco { position: relative; }
.stars-deco::before, .stars-deco::after {
  content: "";
  position: absolute;
  color: var(--yellow);
  font-size: 1.6rem;
}
.stars-deco::before { top: -10px; left: -6px; }
.stars-deco::after { bottom: -12px; right: -4px; color: var(--pink); }

/* -------------------- Jogos -------------------- */
.game-picker { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.game-picker button {
  font-family: var(--font-heading);
  font-weight: 700;
  border: none;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  cursor: pointer;
  background: #fff;
  box-shadow: var(--shadow-soft);
  color: var(--navy);
  font-size: 1.05rem;
  transition: all 0.2s;
}
.game-picker button.active { background: var(--teal); color: #fff; }

.quiz-box {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 34px;
  max-width: 720px;
  margin: 0 auto;
}
.quiz-progress {
  height: 10px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 24px;
}
.quiz-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--green));
  width: 0%;
  transition: width 0.4s ease;
}
.quiz-question { font-family: var(--font-heading); font-size: 1.3rem; color: var(--navy); margin-bottom: 20px; }
.quiz-options { display: grid; gap: 12px; }
.quiz-option {
  text-align: left;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 2px solid var(--border);
  background: #fbfdff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.18s;
  color: var(--text);
}
.quiz-option:hover { border-color: var(--teal); background: #f0fbfd; }
.quiz-option.correct { border-color: var(--green); background: #eaf7ea; color: #2f7a33; }
.quiz-option.wrong { border-color: var(--pink); background: #ffeef2; color: #b3273f; }
.quiz-option[disabled] { cursor: default; }
.quiz-feedback { margin-top: 18px; font-weight: 700; min-height: 26px; }
.quiz-result { text-align: center; }
.quiz-result .score-emoji { font-size: 3.4rem; margin-bottom: 6px; }

/* -------------------- Anfitrião (mascote fixo) -------------------- */
.dino-host {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 580px;
  margin: 28px auto 0;
  text-align: left;
}
.dino-host-img { width: 120px; flex-shrink: 0; filter: drop-shadow(0 8px 14px rgba(23,58,99,0.16)); }
.dino-speech {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 16px 22px;
  box-shadow: var(--shadow-soft);
  border: 2px solid var(--border);
}
.dino-speech p { margin: 0; color: var(--text); }
.dino-speech strong { color: var(--navy); }
.dino-speech::before {
  content: '';
  position: absolute;
  left: -10px; top: 50%;
  width: 18px; height: 18px;
  background: #fff;
  border-left: 2px solid var(--border);
  border-bottom: 2px solid var(--border);
  transform: translateY(-50%) rotate(45deg);
}
@media (max-width: 560px) {
  .dino-host { flex-direction: column; text-align: center; gap: 10px; }
  .dino-speech::before { display: none; }
}

/* -------------------- Jogo de escovação (simulador de boca) -------------------- */
.brush-game {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 34px;
}

.mouth-wrap { max-width: 320px; margin: 22px auto; }

/* Rostinho ao redor da boca — dá contexto e evita a boca "flutuando sozinha" */
.face {
  position: relative;
  width: 300px; height: 290px;
  margin: 0 auto;
  border-radius: 50%;
  background: #fff1de;
  box-shadow: var(--shadow-soft), inset 0 -14px 22px rgba(23,58,99,0.05);
}
.face-eye {
  position: absolute; top: 72px;
  width: 30px; height: 16px;
  border-bottom: 5px solid #173a63;
  border-radius: 0 0 60% 60%;
}
.face-eye.left { left: 74px; }
.face-eye.right { right: 74px; }
.face-cheek {
  position: absolute; top: 122px;
  width: 34px; height: 22px;
  border-radius: 50%;
  background: #ff9db8;
  opacity: 0.55;
}
.face-cheek.left { left: 32px; }
.face-cheek.right { right: 32px; }

.mouth {
  position: absolute;
  left: 50%; bottom: 42px;
  transform: translateX(-50%);
  width: 200px;
}
.mouth.brushing-mode, .mouth.brushing-mode .tooth { cursor: none; }
.mouth.brushing-mode { touch-action: none; }

.lip { border: 2.5px solid #173a63; }
.lip-top { height: 14px; background: #e0546f; border-bottom: none; border-radius: 60px 60px 6px 6px; }
.lip-bottom { height: 20px; background: #d94363; border-top: none; border-radius: 6px 6px 70px 70px; }

.mouth-inside {
  position: relative;
  height: 118px;
  background: #7a2138;
  border-left: 2.5px solid #173a63;
  border-right: 2.5px solid #173a63;
  overflow: hidden;
}

.tongue {
  position: absolute;
  left: 16%; right: 16%; bottom: -8px;
  height: 58%;
  background: #ff7c96;
  border: 2px solid #b3405a;
  border-radius: 50% 50% 14px 14px;
}
.tongue::after {
  content: '';
  position: absolute; top: 12%; bottom: 10%; left: 50%;
  width: 2px; background: #b3405a; opacity: 0.55;
  transform: translateX(-50%);
}

.teeth-row {
  position: absolute; left: 0; right: 0;
  display: flex; justify-content: center; gap: 4px;
  z-index: 2;
}
.teeth-row.teeth-upper { top: 5px; }
.teeth-row.teeth-lower { bottom: 5px; }

@media (max-width: 400px) {
  .face { transform: scale(0.82); transform-origin: top center; margin-bottom: -50px; }
}

.tooth {
  position: relative;
  width: 32px; height: 40px;
  background: #fff;
  border: 2.5px solid #d8dee8;
  cursor: pointer;
  padding: 0;
  transition: transform 0.12s ease;
  overflow: hidden;
}
.teeth-upper .tooth { border-radius: 8px 8px 16px 16px; align-self: flex-start; }
.teeth-lower .tooth { border-radius: 16px 16px 8px 8px; align-self: flex-end; }
.mouth.brushing-mode .tooth { cursor: none; }
.tooth:hover { transform: translateY(-2px); }
.tooth.tooth-clean { border-color: var(--teal); }

.tooth .dirt {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.tooth .dirt svg { width: 82%; height: 82%; }
.tooth.tooth-clean .dirt { opacity: 0; transform: scale(0.4) rotate(20deg); pointer-events: none; }
.tooth .sparkle-pop {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; opacity: 0; transform: scale(0.5);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.tooth.tooth-clean .sparkle-pop.pop { opacity: 1; transform: scale(1.3); }

.brush-cursor {
  position: absolute;
  top: 0; left: 0;
  font-size: 2rem;
  transform: translate(-30%, -30%) rotate(-25deg);
  pointer-events: none;
  z-index: 20;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.25));
}
.brush-cursor[hidden] { display: none; }

.brush-hint {
  min-height: 22px;
  font-weight: 700;
  color: var(--pink);
  margin-top: 4px;
}

.brush-stats { display: flex; justify-content: center; gap: 26px; font-weight: 800; color: var(--navy); margin-top: 10px; }
.brush-win { display: none; margin-top: 18px; }
.brush-win.show { display: block; animation: fadein 0.5s ease; }

/* Fases + painel de equipamentos */
.brush-phase {
  display: inline-block; padding: 5px 14px; border-radius: 999px; margin-bottom: 8px;
  background: #e6fbfd; color: var(--teal-dark); font-weight: 800; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
}
.brush-layout { display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: center; margin-top: 8px; }
.brush-stage {
  position: relative; border-radius: 26px; overflow: hidden; line-height: 0;
  aspect-ratio: 975 / 655; background: #eaf4fd; box-shadow: var(--shadow-soft);
  user-select: none; -webkit-user-select: none;
}
.brush-stage .stage-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.brush-stage .stains { position: absolute; inset: 0; }
.brush-stage.brushing-mode, .brush-stage.brushing-mode .stain { cursor: none; touch-action: none; }
.brush-stage:not(.brushing-mode) { touch-action: auto; }

.stain.stain-clean { pointer-events: none; }
.stain.food { display: none; z-index: 3; }
.stains.modo-fio .stain.food { display: block; }
.stain .bit { left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; box-shadow: 0 0 0 4px rgba(255,255,255,.75), 0 2px 4px rgba(0,0,0,.3) !important; border-radius: 45% 55% 50% 50%; box-shadow: 0 1px 2px rgba(0,0,0,.3); animation: pulsa 1.2s ease-in-out infinite alternate; }
@keyframes pulsa { from { transform: scale(.9); } to { transform: scale(1.15); } }
.brush-cursor.enxague img { transform: rotate(35deg); }
.brush-steps { list-style: none; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; padding: 0; margin: 4px 0 14px; }
.brush-step { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; background: #eef4fb; color: var(--text-light); font-weight: 800; font-size: .85rem; transition: background .2s ease, color .2s ease; }
.brush-step b { display: inline-flex; width: 24px; height: 24px; align-items: center; justify-content: center; border-radius: 50%; background: #fff; color: var(--navy); font-size: .8rem; }
.brush-step.active { background: var(--blue); color: #fff; }
.brush-step.active b { background: #fff; color: var(--blue); }
.brush-step.done { background: #dff5e6; color: #2f8a52; }
.brush-step.done b { background: #4cb050; color: #fff; }
.stain { position: absolute; padding: 0; border: 0; background: transparent; cursor: pointer; }
.stain-img { position: absolute; transition: opacity .12s linear; pointer-events: none; }
.stain .sparkle-pop {
  position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px;
  opacity: 0; transform: scale(.4); transition: opacity .3s ease, transform .3s ease; pointer-events: none;
  background: #ffcd3c; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}
.stain.stain-clean .sparkle-pop.pop { opacity: 1; transform: scale(1.2); animation: brilho .9s ease forwards; }
@keyframes brilho { 0% { opacity: 1; transform: scale(.4) rotate(0); } 60% { opacity: 1; transform: scale(1.4) rotate(40deg); } 100% { opacity: 0; transform: scale(1.8) rotate(70deg); } }

.brush-cursor { position: absolute; top: 0; left: -200px; width: 26%; max-width: 110px; pointer-events: none; z-index: 20; transform: translate(-12%, -10%); filter: drop-shadow(0 6px 8px rgba(0,0,0,.28)); }
.brush-cursor img { width: 100%; display: block; }
.brush-cursor.com-creme::after { content: ''; position: absolute; left: 6%; top: 1%; width: 46%; height: 17%; border-radius: 40% 60% 50% 50%; background: linear-gradient(135deg, #fff, #bfe3ff); box-shadow: 0 2px 4px rgba(23,58,99,.25); transform: rotate(20deg); }
.brush-cursor[hidden] { display: none; }
.brush-cursor.scrubbing { animation: escovar .16s ease-in-out infinite alternate; }
@keyframes escovar { from { transform: translate(-12%, -10%) rotate(-7deg); } to { transform: translate(-6%, -6%) rotate(7deg); } }

.equip { background: #fff; border-radius: 24px; padding: 20px; box-shadow: var(--shadow-soft); border: 1px solid var(--border); }
.equip h4 { margin: 0 0 14px; font-size: 1.15rem; text-align: center; }
.equip-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.equip-item {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 8px;
  min-height: 150px; padding: 10px 6px 12px; border-radius: 18px; border: 2px solid transparent;
  background: #f1f6fc; font-family: var(--font-body); font-weight: 800; font-size: .86rem; color: var(--navy);
  cursor: pointer; transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.equip-item img { width: 82px; height: 82px; object-fit: contain; }
.equip-item:hover:not(:disabled) { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.equip-item.selected { border-color: var(--blue); background: #e4f1fd; box-shadow: 0 0 0 3px rgba(47,143,209,.18); }
.equip-item:disabled { opacity: .55; cursor: not-allowed; }
.btn-ico { width: 26px; height: 26px; object-fit: contain; margin-right: 8px; vertical-align: middle; }
#brush-pickup { display: inline-flex; align-items: center; justify-content: center; }

.brush-meter { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.meter-tooth { width: 26px; height: 30px; fill: #e3edf7; transition: fill .3s ease, transform .3s ease; }
.meter-tooth.on { fill: #5cc6f0; transform: scale(1.12); }

@media (max-width: 760px) {
  .brush-layout { grid-template-columns: 1fr; }
  .brush-game { padding: 22px 16px; }
}

/* ---- fases 2 e 3 ---- */
.brush-dots { display: flex; align-items: center; justify-content: center; margin: 0 0 12px; }
.brush-dots .dot { display: inline-flex; width: 34px; height: 34px; border-radius: 50%; align-items: center; justify-content: center; font-weight: 800; color: #8aa3bd; background: #fff; border: 2px solid #c9dcf0; }
.brush-dots .dot svg { width: 20px; height: 20px; }
.brush-dots .dot.active { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 0 0 4px rgba(47,143,209,.18); }
.brush-dots .dot.done { background: #4cb050; border-color: #4cb050; color: #fff; }
.brush-dots .dot-line { width: 56px; height: 3px; border-radius: 3px; background: #c9dcf0; }
.brush-dots .dot-line.on { background: linear-gradient(90deg, #4cb050, var(--blue)); }
.brush-phase { text-transform: none; letter-spacing: .02em; font-size: .95rem; background: var(--blue); color: #fff; padding: 6px 22px; }

.brush-layout { grid-template-columns: 1fr 340px; }
.equip-grid.cols2 { grid-template-columns: 1fr 1fr; }
.equip-grid.cols3 { grid-template-columns: repeat(3, 1fr); gap: 10px; }
.equip-item strong { font-weight: 800; font-size: .92rem; }
.equip-item small { display: block; font-weight: 600; font-size: .72rem; line-height: 1.25; color: var(--text-light); }
.equip-grid.cols3 .equip-item { min-height: 150px; padding: 8px 4px 10px; justify-content: flex-start; }
.equip-grid.cols3 .equip-item img { width: 70px; height: 70px; }
.brush-controls { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.brush-controls .btn[disabled] { opacity: .45; }
#brush-next.pronto { animation: pulsa-btn 1s ease-in-out infinite alternate; }
@keyframes pulsa-btn { from { transform: scale(1); } to { transform: scale(1.06); } }

.stage-overlay { position: absolute; inset: 0; pointer-events: none; }
.brush-stage.modo-carie .brush-cursor, .brush-stage.modo-acabamento .brush-cursor { width: 14%; max-width: 90px; }
.brush-cursor.t-espelho, .brush-cursor.t-pinca { transform: translate(-45%, -12%); }

/* dentes das fases 2 e 3 */
.stains.cavs .cav { position: absolute; padding: 0; border: 0; background: transparent; cursor: pointer; }
.cav-img, .cav-bug, .cav-fill, .cav-fx { position: absolute; pointer-events: none; }
.cav-img { transition: opacity .5s ease; }
.cav.filled .cav-img { opacity: 0; }
.cav-fill { border-radius: 50%; background: radial-gradient(ellipse at center, #fcfbfa 52%, rgba(252,251,250,0) 74%); opacity: 0; transition: opacity .5s ease; }
.cav.filled .cav-fill { opacity: 1; }
.cav-bug { left: 50%; top: 50%; width: 52%; transform: translate(-50%, -50%) scale(0); opacity: 0; filter: drop-shadow(0 3px 4px rgba(0,0,0,.35)); }
.cav.bicho-fora .cav-bug { opacity: 1; animation: bicho-surge .5s ease forwards, bicho-balanca .6s ease-in-out .5s infinite alternate; }
.cav.bicho-sumiu .cav-bug { animation: bicho-voa .7s ease-in forwards; }
@keyframes bicho-surge { from { transform: translate(-50%, -50%) scale(0); } to { transform: translate(-50%, -70%) scale(1); } }
@keyframes bicho-balanca { from { transform: translate(-50%, -70%) rotate(-10deg); } to { transform: translate(-50%, -76%) rotate(10deg); } }
@keyframes bicho-voa { 0% { opacity: 1; transform: translate(-50%, -70%) scale(1); } 100% { opacity: 0; transform: translate(40%, -240%) scale(.3) rotate(160deg); } }
.cav-fx { inset: -6%; border-radius: 50%; opacity: 0; transition: opacity .3s ease; }
.cav.s3:not(.filled) .cav-fx { opacity: .85; background: radial-gradient(circle, rgba(92,198,240,.7), rgba(92,198,240,0) 70%); }
.cav.agindo-motor .cav-fx, .cav.agindo-pinca .cav-fx, .cav.agindo-massa .cav-fx, .cav.agindo-remedio .cav-fx { opacity: .9; background: radial-gradient(circle, rgba(255,255,255,.85), rgba(255,255,255,0) 65%); }
.cav.agindo-luz .cav-fx { opacity: 1; background: radial-gradient(circle, rgba(120,190,255,.95), rgba(120,190,255,0) 70%); }
.cav.agindo-polidor .cav-fx, .cav.agindo-fluor .cav-fx, .cav.agindo-selante .cav-fx { opacity: 1; background: radial-gradient(circle, rgba(255,255,255,.95), rgba(255,236,150,.4) 45%, rgba(255,236,150,0) 70%); }
.cav.espiando .cav-fx { opacity: 1; background: none; border: 3px solid #ffcd3c; animation: pisca .45s ease-in-out infinite alternate; }
@keyframes pisca { from { transform: scale(.9); } to { transform: scale(1.12); } }
.cav.treated .cav-fx { opacity: 1; background: none; border: 0; }
.cav.treated::after { content: ''; position: absolute; left: 50%; top: 4%; width: 22px; height: 22px; margin-left: -11px; background: #ffcd3c; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); animation: brilho .9s ease forwards; pointer-events: none; }

/* boca molhada, raio X e protetor */
.wet-layer { position: absolute; left: 24.4%; top: 50.6%; width: 41.6%; height: 37%; border-radius: 40% 40% 46% 46%; opacity: 0; transition: opacity .4s ease;
  background: radial-gradient(circle at 25% 30%, rgba(190,230,255,.85) 0 6px, transparent 7px), radial-gradient(circle at 70% 55%, rgba(190,230,255,.85) 0 8px, transparent 9px), radial-gradient(circle at 45% 78%, rgba(190,230,255,.85) 0 5px, transparent 6px), radial-gradient(circle at 82% 25%, rgba(190,230,255,.85) 0 5px, transparent 6px), linear-gradient(rgba(150,210,255,.14), rgba(150,210,255,.14)); }
.wet-layer.on { opacity: 1; }
.xray-layer { position: absolute; inset: 0; background: rgba(12,40,80,.78); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #bfe6ff; font-family: var(--font-heading); font-size: 1.5rem; animation: fadein .4s ease; }
.xray-layer svg { width: 120px; height: 140px; fill: rgba(190,230,255,.85); filter: drop-shadow(0 0 12px #5cc6f0); }
.guard-layer { position: absolute; left: 24%; top: 50%; width: 43%; height: 38%; border-radius: 46% 46% 52% 52%; border: 3px solid rgba(255,255,255,.9); background: rgba(190,225,255,.35); box-shadow: 0 0 18px rgba(120,190,255,.7), inset 0 0 14px rgba(255,255,255,.7); animation: fadein .4s ease; }

@media (max-width: 760px) {
  .brush-layout { grid-template-columns: 1fr; }
  .brush-dots .dot-line { width: 34px; }
}

/* -------------------- Jogo da memória -------------------- */
.memory-game { max-width: 560px; margin: 0 auto; text-align: center; }
.memory-stats { display: flex; justify-content: center; gap: 26px; font-weight: 800; color: var(--navy); margin: 4px 0 20px; }
.memory-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 460px;
  margin: 0 auto;
}
@media (max-width: 480px) { .memory-board { grid-template-columns: repeat(2, 1fr); } }

.memory-card {
  aspect-ratio: 3/4;
  border-radius: 16px;
  border: none;
  cursor: pointer;
  padding: 0;
  perspective: 800px;
  background: none;
}
.memory-card-inner {
  position: relative;
  width: 100%; height: 100%;
  transition: transform 0.45s cubic-bezier(.4,.2,.2,1);
  transform-style: preserve-3d;
}
.memory-card.flipped .memory-card-inner,
.memory-card.matched .memory-card-inner { transform: rotateY(180deg); }

.memory-face {
  position: absolute; inset: 0;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  backface-visibility: hidden;
  box-shadow: var(--shadow-soft);
}
.memory-face.front {
  background: linear-gradient(135deg, var(--teal), var(--blue));
  font-size: 1.8rem;
  color: #fff;
}
.memory-face.back {
  background: #fff;
  border: 2.5px solid var(--border);
  transform: rotateY(180deg);
  padding: 10%;
}
.memory-face.back svg,
.memory-face.back img { width: 100%; height: 100%; object-fit: contain; }
.memory-card.matched .memory-face.back { border-color: var(--green); background: #eaf7ea; }
.memory-card.matched { animation: sparkle 0.5s ease; cursor: default; }

.memory-win { display: none; margin-top: 22px; }
.memory-win.show { display: block; animation: fadein 0.5s ease; }

@keyframes sparkle {
  0% { transform: scale(0.85); }
  60% { transform: scale(1.12); }
  100% { transform: scale(1); }
}

/* -------------------- Higienização: idade -------------------- */
.age-tabs .tab-btn.active { background: var(--pink); border-color: var(--pink); }

/* -------------------- Para os Pais: níveis -------------------- */
.pais-tabs .tab-btn.tab-info.active { background: var(--green); border-color: var(--green); }
.pais-tabs .tab-btn.tab-orientacao.active { background: var(--teal); border-color: var(--teal); }
.pais-tabs .tab-btn.tab-urgente.active { background: #d94f72; border-color: #d94f72; }

.decid-card { border: 2px dashed var(--pink); background: #fff5f8; }

.passo-lista { padding-left: 22px; margin-top: 14px; }
.passo-lista li { margin-bottom: 12px; color: var(--text-light); line-height: 1.5; }
.passo-lista li strong { color: var(--navy); }

/* -------------------- Odontopediatras parceiros -------------------- */
.parceiro-card { text-align: center; }
.parceiro-card h3 { margin-bottom: 8px; font-size: 1.05rem; }
.parceiro-local { color: var(--text-light); font-size: 0.92rem; margin-bottom: 14px; }
.parceiro-tel { font-size: 0.95rem; padding: 10px 20px; }

/* -------------------- Triagem (público) -------------------- */
.risk-result {
  text-align: center;
  padding: 30px;
  border-radius: var(--radius-lg);
  margin-top: 24px;
}
.risk-baixo { background: #eaf7ea; }
.risk-medio { background: #fff8e2; }
.risk-alto { background: #ffeef2; }
.risk-result h3 { font-size: 1.6rem; }
