.inicio { --mm: #A9CDB5; --pele: #FFE2A8; overflow-x: hidden; }
.inicio main { max-width: none; margin: 0; padding: 0; }
:where(.inicio) h1, :where(.inicio) h2 { font-family: 'FrauncesSoft', Georgia, serif; font-weight: 600; margin: 0; }
:where(.inicio) h2 { font-size: clamp(32px, 7.5vw, 52px); line-height: 1.05; letter-spacing: -.01em; }
:where(.inicio) p { margin: 0; }
.w { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.sub { font-size: 19px; line-height: 1.5; max-width: 34ch; margin-top: 14px; }
.leve a { color: inherit; }
.escondido { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--folha); outline-offset: 3px; border-radius: 8px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--goiaba); color: var(--tinta); font: 800 17px/1.2 'Nunito', system-ui, sans-serif; text-decoration: none; cursor: pointer; box-shadow: 0 4px 0 #C9694F; transition: transform .12s, box-shadow .12s; }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 #C9694F; }

/* figurinha */
.fig { display: inline-block; width: 80px; aspect-ratio: 4 / 5; }
.fig svg { display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 3px 4px rgba(46, 58, 51, .18)); }

/* topo */
.hero { background: var(--menta); padding: 14px 0 64px; position: relative; }
.topo { display: flex; justify-content: space-between; align-items: center; min-height: 56px; }
.logo { display: flex; align-items: center; gap: 8px; color: var(--folha); text-decoration: none; font-family: 'FrauncesSoft', Georgia, serif; font-size: 26px; font-weight: 600; }
.topo-link { color: var(--folha); font-weight: 800; font-size: 16px; }
.hero-grid { display: grid; gap: 4px; align-items: center; }
.hero-arte { padding: 18px 0 0; }
.mascote { position: relative; width: min(76vw, 440px); aspect-ratio: 1; margin: 0 auto; }
.mascote-p { position: absolute; inset: 0; width: 100%; height: 100%; }
.rosto { position: absolute; left: 35%; top: 23%; width: 46%; aspect-ratio: 1; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 50%; -webkit-tap-highlight-color: transparent; }
.rosto svg { width: 100%; height: 100%; display: block; }
.boca { transform-box: fill-box; transform-origin: 50% 0; }
.nham .boca { animation: nham .55s ease-in-out; }
.nham .rosto { animation: balanca .55s ease-in-out; }
@keyframes nham { 0%, 100% { transform: scaleY(1); } 30% { transform: scaleY(.25) scaleX(1.15); } 60% { transform: scaleY(1.15); } }
@keyframes balanca { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-5deg); } 65% { transform: rotate(4deg); } }
.solta { position: absolute; left: var(--x); top: var(--y); width: 22%; transform: rotate(var(--r)); }
.solta.nova { animation: grudar .5s cubic-bezier(.2, .9, .3, 1.25) both; }
.dica-toque { position: absolute; left: 70%; top: 0; width: 34%; color: var(--folha); font-weight: 800; font-size: 14px; line-height: 1.2; transition: opacity .3s; }
.dica-toque svg { display: block; width: 46px; margin: 4px 0 0 -6px; }
.dica-toque.sumiu { opacity: 0; }
h1 { font-size: clamp(64px, 18vw, 128px); line-height: .9; letter-spacing: -.025em; color: var(--tinta); margin-top: 8px; }
.carimbo { width: .62em; vertical-align: -.05em; margin-left: .06em; transform: rotate(10deg); }
.acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 26px; }
.em-breve { font-size: 15px; color: var(--tinta-suave); }

@keyframes grudar {
  0% { opacity: 0; transform: translateY(-26%) scale(1.45) rotate(calc(var(--r, 0deg) - 16deg)); }
  65% { opacity: 1; transform: scale(.93) rotate(var(--r, 0deg)); }
  100% { opacity: 1; transform: scale(1) rotate(var(--r, 0deg)); }
}

/* álbum */
.album { background: var(--creme); }
.album-trilho { height: calc(100vh + 12 * 34vh); }
.album-fixo { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; align-content: center; gap: 18px; padding-top: 12px; padding-bottom: 12px; }
.album-titulo { font-size: 22px; color: var(--folha); }
.dia-num { font-family: 'FrauncesSoft', Georgia, serif; font-size: clamp(56px, 15vw, 112px); line-height: .95; margin-top: 6px; }
.dia-nome { font-family: 'FrauncesSoft', Georgia, serif; font-size: clamp(26px, 6vw, 38px); line-height: 1.1; color: var(--goiaba); filter: brightness(.82); }
.dia-dica { max-width: 34ch; margin-top: 8px; min-height: 3.1em; color: var(--tinta-suave); }
.contador { display: flex; align-items: center; gap: 12px; margin-top: 14px; font-weight: 800; font-size: 15px; }
.barra { flex: 0 0 120px; height: 10px; border-radius: 99px; background: rgba(46, 58, 51, .12); overflow: hidden; }
.barra span { display: block; height: 100%; width: 0; background: var(--folha); border-radius: 99px; transition: width .3s; }
.pagina { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 10px; padding: 18px 16px 20px; background: #fff; border-radius: 28px; box-shadow: 0 2px 0 rgba(46, 58, 51, .06), 0 14px 30px rgba(46, 58, 51, .08); transform: rotate(-1deg); width: min(100%, 520px); justify-self: center; }
.vaga-album { position: relative; aspect-ratio: 4 / 5; }
.vaga-album > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.vaga-album .fig { position: absolute; inset: 0; width: 100%; opacity: 0; transform: rotate(var(--r)); }
.vaga-album.colada .fig { opacity: 1; }
.album-fim { padding-top: 8px; padding-bottom: 80px; font-size: 19px; max-width: 760px; }

/* idade */
.idade { background: var(--manteiga); padding: 80px 0; }
.idade-grid { display: grid; gap: 36px; align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chips button { min-height: 46px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--tinta); background: transparent; color: var(--tinta); font: 800 16px/1 'Nunito', system-ui, sans-serif; cursor: pointer; }
.chips button[aria-checked="true"] { background: var(--tinta); color: var(--manteiga); }
.idade-texto { font-family: 'FrauncesSoft', Georgia, serif; font-size: clamp(24px, 5.5vw, 32px); line-height: 1.25; margin-top: 24px; max-width: 22ch; min-height: 3.75em; }
.fonte { font-size: 14px; color: var(--tinta-suave); margin-top: 10px; max-width: 40ch; }
.prato { width: min(84vw, 380px); justify-self: center; }
.prato .t { opacity: 0; transition: opacity .35s; }
.prato[data-i="0"] .t0, .prato[data-i="1"] .t1, .prato[data-i="2"] .t2, .prato[data-i="3"] .t3 { opacity: 1; }

/* dia */
.dia { background: var(--menta); padding: 80px 0; }
.dia-grid { display: grid; gap: 40px; align-items: center; }
.planos { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; max-width: 44ch; }
.planos li { margin: 0; padding-left: 18px; border-left: 4px solid var(--folha); }
.celular { width: 316px; max-width: 100%; justify-self: center; background: var(--creme); border: 10px solid var(--tinta); border-radius: 44px; padding: 26px 16px 20px; box-shadow: 0 24px 50px rgba(46, 58, 51, .22); font-size: 15px; line-height: 1.35; }
.cel-data { color: var(--tinta-suave); font-size: 13px; }
.cel-hoje { display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; margin-top: 10px; padding: 14px 14px 14px 16px; background: var(--pessego); border-radius: 22px; }
.cel-rotulo { font-weight: 800; }
.cel-nome { font-family: 'FrauncesSoft', Georgia, serif; font-size: 30px; line-height: 1.1; }
.cel-provou { margin-top: 10px; min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--folha); color: var(--creme); font: 800 15px/1 'Nunito', system-ui, sans-serif; cursor: pointer; }
.cel-provou[disabled] { background: transparent; color: var(--folha); padding: 0; cursor: default; }
.cel-hoje .fig { width: 84px; flex: none; }
.cel-sub { font-weight: 800; font-size: 17px; margin-top: 18px; }
.cel-refeicoes { list-style: none; margin: 8px 0 0; padding: 0; background: #fff; border-radius: 18px; }
.cel-refeicoes li { display: flex; align-items: center; gap: 10px; margin: 0; padding: 10px 12px; border-bottom: 1px solid rgba(46, 58, 51, .1); }
.cel-refeicoes li:last-child { border-bottom: 0; }
.cel-refeicoes span { flex: 1; }
.cel-refeicoes b { display: block; font-size: 12px; color: var(--tinta-suave); }
.check { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--folha); background: transparent; cursor: pointer; position: relative; }
.check[aria-pressed="true"] { background: var(--folha); }
.check[aria-pressed="true"]::after { content: ""; position: absolute; left: 8px; top: 4px; width: 7px; height: 12px; border: solid var(--creme); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.cel-leite { font-size: 12px; color: var(--tinta-suave); margin-top: 8px; }
.cel-album { margin-top: 14px; padding: 12px; border-radius: 18px; background: #fff; }
.cel-album p { display: flex; justify-content: space-between; }
.cel-figs { display: flex; gap: 8px; margin-top: 8px; }
.cel-figs > span { width: 44px; }
.cel-figs .vaga { aspect-ratio: 4 / 5; border: 2px dashed rgba(46, 58, 51, .3); border-radius: 22px 22px 6px 6px; }

/* fonte */
.fonte-sec { background: var(--folha); color: var(--creme); padding: 80px 0; }
.fatos { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; max-width: 900px; }
.fatos li { margin: 0; display: grid; grid-template-columns: 28px 1fr; gap: 12px; font-size: 19px; }
.fatos li::before { content: ""; width: 22px; height: 26px; margin-top: 2px; background: var(--manteiga); border-radius: 11px 11px 4px 4px; }
.aviso { margin-top: 30px; font-size: 15px; opacity: .85; }

/* avise */
.avise { background: var(--pessego); padding: 96px 0 88px; }
.avise-caixa { position: relative; }
.leque { position: absolute; right: 12px; top: -150px; width: 160px; height: 120px; }
.leque .fig { position: absolute; width: 76px; }
.leque .fig:nth-child(1) { left: 0; top: 22px; transform: rotate(-14deg); }
.leque .fig:nth-child(2) { left: 40px; top: 0; transform: rotate(-2deg); }
.leque .fig:nth-child(3) { left: 82px; top: 18px; transform: rotate(12deg); }
.avise h2 { max-width: 16ch; }
#form { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; max-width: 520px; }
#email { flex: 1 1 240px; min-height: 54px; padding: 0 22px; border-radius: 999px; border: 2px solid var(--tinta); background: #fff; color: var(--tinta); font: 600 17px 'Nunito', system-ui, sans-serif; }
#email::placeholder { color: var(--tinta-suave); }
.form-ok { margin-top: 24px; font-family: 'FrauncesSoft', Georgia, serif; font-size: 26px; }
.form-erro { margin-top: 14px; color: #A8432C; font-weight: 800; }
.avise .leve { margin-top: 16px; color: var(--tinta); }

/* perguntas */
.perguntas { padding: 80px 0 40px; }
.perguntas details { max-width: 760px; border-bottom: 2px solid rgba(46, 58, 51, .12); }
.perguntas details:first-of-type { margin-top: 20px; }
.perguntas summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-family: 'FrauncesSoft', Georgia, serif; font-size: 22px; line-height: 1.25; }
.perguntas summary::-webkit-details-marker { display: none; }
.perguntas summary::after { content: "+"; font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 26px; line-height: 1; color: var(--folha); transition: transform .2s; }
.perguntas details[open] summary::after { transform: rotate(45deg); }
.perguntas details p { padding: 0 0 20px; max-width: 60ch; }
.rodape-inicio { padding-top: 24px; padding-bottom: 48px; }
.rodape-inicio .rodape { margin-top: 16px; padding-top: 0; border: 0; }
.rodape-inicio .leve { margin-top: 12px; }

@media (min-width: 860px) {
  .hero { padding-bottom: 96px; }
  .hero-grid { grid-template-columns: .95fr 1.05fr; gap: 24px; }
  .hero-arte { order: 2; padding-top: 30px; }
  .album-fixo { grid-template-columns: .9fr 1.1fr; align-items: center; gap: 48px; }
  .pagina { gap: 16px 14px; padding: 24px; }
  .idade-grid, .dia-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
  .leque { top: 50%; right: 4%; width: 330px; height: 250px; transform: translateY(-50%); }
  .leque .fig { width: 150px; }
  .leque .fig:nth-child(1) { top: 40px; }
  .leque .fig:nth-child(2) { left: 88px; }
  .leque .fig:nth-child(3) { left: 176px; top: 34px; }
}
@media (max-height: 700px) and (max-width: 859px) {
  .album-fixo { gap: 10px; }
  .pagina { width: min(100%, 360px); padding: 12px; gap: 8px; }
  .dia-dica { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .carimbo { animation: grudar .6s .35s cubic-bezier(.2, .9, .3, 1.25) both; --r: 10deg; }
  .vaga-album.colada .fig { animation: grudar .45s cubic-bezier(.2, .9, .3, 1.25) both; }
}
[hidden] { display: none !important; }
