:root {
  --cream: #EEF0EA;
  --paper: #F8F9F5;
  --espresso: #1E2B26;
  --taupe: #4F6B5E;
  --clay: #7E9A8C;
  --apricot: #F07A5F;
  --apricot-soft: #FCDCD3;
  --ink-soft: #56645D;
  --line: rgba(30, 43, 38, .14);
  --display: "Cabinet Grotesk", system-ui, sans-serif;
  --text: "Satoshi", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --gutter: clamp(16px, 4vw, 64px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--espresso); font: 400 17px/1.55 var(--text); -webkit-font-smoothing: antialiased; }
main { overflow-x: clip; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
svg { display: block; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--apricot); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--espresso); color: var(--cream); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* Icons drawn as line art */
.chip svg, .sticker svg, .badge svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 56px; padding: 0 28px; border-radius: 999px; border: 0; cursor: pointer;
  font: 700 16px/1 var(--text); text-decoration: none;
  transition: transform .4s var(--ease), background-color .3s, box-shadow .3s;
}
.btn:active { transform: scale(.97); }
.btn--dark { background: var(--espresso); color: var(--cream); }
.btn--dark:hover { background: #000; transform: translateY(-2px); }
.btn--line { box-shadow: inset 0 0 0 2px var(--espresso); }
.btn--line:hover { background: var(--espresso); color: var(--cream); }
.btn--apricot { background: var(--apricot); color: var(--espresso); }
.btn--apricot:hover { background: #F49A84; transform: translateY(-2px); }

/* Dock */
.dock {
  position: fixed; left: 50%; bottom: 16px; z-index: 50;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 4px;
  padding: 6px; border-radius: 999px;
  background: rgba(30, 43, 38, .92); color: var(--cream);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px -16px rgba(30, 43, 38, .6);
  max-width: calc(100vw - 24px);
}
.dock a { text-decoration: none; }
.dock__home { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--cream); }
.dock__home svg { width: 22px; height: 26px; }
.dock__link { padding: 12px 16px; border-radius: 999px; font: 500 15px/1 var(--text); white-space: nowrap; transition: background-color .3s; }
.dock__link:hover { background: rgba(243, 236, 227, .12); }
.dock__wa { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px 0 14px; border-radius: 999px; background: var(--apricot); color: var(--espresso); font: 700 15px/1 var(--text); transition: background-color .3s; }
.dock__wa:hover { background: #F49A84; }
.dock__wa svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }

/* Hero */
.hero {
  position: relative; isolation: isolate;
  min-height: 100svh;
  display: grid; grid-template-rows: auto 1fr auto;
  padding: 24px var(--gutter) 120px;
  background:
    radial-gradient(50% 60% at 85% 70%, rgba(240, 122, 95, .16), transparent 70%),
    radial-gradient(40% 50% at 10% 20%, rgba(126, 154, 140, .14), transparent 70%),
    var(--cream);
}
.hero__top { display: flex; justify-content: space-between; align-items: center; }
.brand { display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 1.2; color: var(--ink-soft); }
.brand b { color: var(--espresso); font-size: 16px; }
.brand svg { width: 34px; height: 40px; color: var(--taupe); }
.hero__place { font-size: 14px; color: var(--ink-soft); }
.hero__mark { position: absolute; z-index: -1; right: -4vw; bottom: -6vh; width: min(46vw, 70svh); height: auto; color: rgba(79, 107, 94, .13); }
.hero__title {
  align-self: center;
  font: 800 clamp(3.1rem, 8.6vw, 9.6rem)/.92 var(--display);
  letter-spacing: -.045em;
  max-width: 100%;
}
.hero__title .line { display: block; white-space: nowrap; }
.chip {
  display: inline-grid; place-items: center; vertical-align: middle;
  width: 1.7em; height: .82em; margin: 0 .06em; padding: .1em 0;
  border-radius: 999px; transform: translateY(-.06em);
}
.chip svg { width: .62em; height: .62em; stroke-width: 3; }
.chip--apricot { background: var(--apricot); color: var(--espresso); }
.chip--taupe { background: var(--taupe); color: var(--cream); }
.hero__foot { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.hero__foot p { max-width: 34rem; color: var(--ink-soft); font-size: clamp(1rem, 1.25vw, 1.15rem); }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.stickers { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.sticker {
  position: absolute; display: grid; place-items: center;
  border-radius: 50%; background: var(--taupe); color: var(--cream);
  box-shadow: 0 0 0 5px var(--cream), 0 0 0 7px rgba(79, 107, 94, .35), 0 20px 30px -14px rgba(30, 43, 38, .45);
}
.sticker svg { width: 54%; height: 54%; }
.s1 { width: 92px; height: 92px; top: 8%; right: 30%; transform: rotate(-8deg); }
.s2 { width: 70px; height: 70px; bottom: 27%; right: 20%; transform: rotate(10deg); background: var(--clay); }
.s3 { width: 64px; height: 64px; bottom: 30%; left: 52%; transform: rotate(6deg); background: var(--espresso); }
.s4 { width: 80px; height: 80px; top: 11%; left: 44%; transform: rotate(-4deg); background: var(--clay); }

/* Specialties */
.spec { padding: clamp(110px, 16vw, 200px) var(--gutter) clamp(90px, 12vw, 160px); max-width: 1480px; margin: 0 auto; }
.spec__head { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; align-items: end; margin-bottom: 48px; }
.spec__head h2, .kids h2, .trust h2 { font: 800 clamp(2.2rem, 4.6vw, 4.4rem)/.98 var(--display); letter-spacing: -.035em; }
.spec__head p { color: var(--ink-soft); max-width: 26rem; justify-self: end; }

.accordion { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; height: 520px; }
.slice {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden;
  border-radius: 32px; background: var(--tone); color: var(--cream);
  transition: flex-grow .8s var(--ease);
}
.slice:nth-child(1) { color: var(--espresso); }
.slice.is-open { flex-grow: 4.2; }
.slice__tab {
  position: absolute; inset: 0; width: 100%; padding: 26px; border: 0; background: none; cursor: pointer; text-align: left;
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start;
}
.badge {
  width: 62px; height: 62px; padding: 14px; border-radius: 50%; flex: none;
  background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .35);
  transition: transform .6s var(--ease);
}
.slice:nth-child(1) .badge { background: rgba(255, 255, 255, .35); box-shadow: inset 0 0 0 2px rgba(30, 43, 38, .25); }
.slice:hover .badge { transform: rotate(-10deg) scale(1.06); }
.slice__name { font: 800 26px/1 var(--display); letter-spacing: -.02em; writing-mode: vertical-rl; transform: rotate(180deg); transition: opacity .3s; }
.slice.is-open .slice__name { opacity: 0; }
.slice__body {
  position: absolute; left: 26px; right: 26px; bottom: 26px; max-width: 30rem;
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .4s, transform .6s var(--ease);
}
.slice.is-open .slice__body { opacity: 1; transform: none; pointer-events: auto; transition-delay: .25s; }
.slice__body p { font-size: 17px; margin-bottom: 18px; }
.slice__body a { display: inline-flex; padding: 14px 20px; border-radius: 999px; background: var(--cream); color: var(--espresso); font-weight: 700; font-size: 15px; text-decoration: none; transition: transform .4s var(--ease); }
.slice__body a:hover { transform: translateY(-2px); }
.slice__title { font: 800 clamp(2rem, 3.2vw, 3rem)/1 var(--display); letter-spacing: -.03em; margin-bottom: 14px; }

/* Life ruler: static by default, pinned when .motion */
.life { background: var(--paper); padding: clamp(80px, 12vw, 140px) var(--gutter); }
.life__stage { max-width: 1480px; margin: 0 auto; position: relative; }
.life__title { font: 800 clamp(2.2rem, 4.6vw, 4.4rem)/.98 var(--display); letter-spacing: -.035em; margin-bottom: 40px; }
.life__age, .ruler { display: none; }
.life__track { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.panel h3 { font: 800 clamp(1.6rem, 2.6vw, 2.4rem)/1 var(--display); letter-spacing: -.02em; margin-bottom: 10px; }
.panel p { color: var(--ink-soft); max-width: 34rem; font-size: 18px; }
.life__tooth { width: 180px; margin-top: 40px; }
.life__tooth svg { overflow: visible; }
.t-body { fill: #fff; stroke: var(--espresso); stroke-width: 3; stroke-linejoin: round; }
.t-screw { fill: none; stroke: var(--clay); stroke-width: 5; stroke-linecap: round; }
.t-face circle { fill: var(--espresso); }
.t-face path { stroke: var(--espresso); }
.t-face .cheek { fill: var(--apricot); opacity: .55; }
.t-braces path { stroke: #8D9AA3; }
.t-braces rect { fill: #B9C3CA; stroke: #7E8A92; stroke-width: 1.5; }
.t-shine path { stroke: var(--apricot); }
.t-shine .gloss { stroke: var(--cream); }
.t-hof path { stroke: var(--clay); }
.t-hof circle { fill: var(--apricot); }

.motion .life { padding: 0; }
.motion .life__stage {
  height: 100svh; max-width: none;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr auto;
  padding: 48px var(--gutter) 110px; column-gap: 40px;
}
.motion .life__title { grid-column: 1 / -1; margin: 0; font-size: clamp(1.4rem, 2vw, 1.9rem); font-weight: 700; color: var(--ink-soft); }
.motion .life__age { display: flex; align-items: baseline; gap: 12px; position: absolute; left: var(--gutter); top: 18%; font-family: var(--display); }
.motion .life__age b { font-size: clamp(7rem, 17vw, 17rem); font-weight: 800; line-height: .8; letter-spacing: -.06em; color: var(--espresso); font-variant-numeric: tabular-nums; }
.motion .life__age span { font-size: clamp(1.4rem, 2.4vw, 2.4rem); font-weight: 700; color: var(--ink-soft); }
.motion .life__window { grid-column: 1; grid-row: 2; align-self: end; overflow: hidden; margin-bottom: 4vh; }
.motion .life__track { display: flex; gap: 0; will-change: transform; }
.motion .panel { flex: 0 0 100%; padding-right: 10%; }
.motion .life__tooth { grid-column: 2; grid-row: 2 / 4; align-self: center; justify-self: center; width: min(28vw, 46svh); margin: 0; }
.motion .ruler { display: block; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 96px; height: 44px; }
.ruler__ticks { position: absolute; inset: 0; border-top: 2px solid var(--espresso); }
.ruler__ticks i { position: absolute; top: 0; width: 2px; height: 10px; background: var(--espresso); transform: translateX(-1px); }
.ruler__ticks i.big { height: 18px; }
.ruler__ticks em { position: absolute; top: 22px; transform: translateX(-50%); font: 700 13px/1 var(--text); font-style: normal; color: var(--ink-soft); }
.ruler__mark { position: absolute; top: -9px; left: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--apricot); box-shadow: 0 0 0 4px var(--paper), 0 0 0 6px var(--apricot); transform: translateX(-50%); }

/* Kids toy */
.kids {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center;
  padding: clamp(110px, 14vw, 190px) var(--gutter); max-width: 1480px; margin: 0 auto;
}
.kids__copy p { color: var(--ink-soft); margin-top: 22px; max-width: 32rem; }
.kids__copy .kids__hint { color: var(--espresso); font-weight: 700; }
.toy {
  position: relative; aspect-ratio: 1; border-radius: 40px; overflow: hidden;
  background: radial-gradient(70% 70% at 50% 40%, var(--apricot-soft), #F9C6B8);
  display: grid; place-items: center; touch-action: pan-y; cursor: none;
}
.toy__svg { width: 56%; overflow: visible; }
.toy__tooth { fill: #fff; stroke: var(--espresso); stroke-width: 3; stroke-linejoin: round; }
.toy__spots circle { fill: #C49A6C; transform-box: fill-box; transform-origin: center; }
.toy__face { opacity: 0; transition: opacity .6s; }
.toy__face circle { fill: var(--espresso); }
.toy__face path { stroke: var(--espresso); }
.toy.is-clean .toy__face { opacity: 1; }
.toy__bubbles circle { fill: rgba(255, 255, 255, .9); stroke: rgba(79, 107, 94, .3); stroke-width: .5; }
.toy__brush { position: absolute; left: 0; top: 0; width: 120px; pointer-events: none; opacity: 0; transition: opacity .3s; }
.toy__brush rect { fill: var(--taupe); }
.toy__brush .head { fill: var(--espresso); }
.toy__brush .bristles { stroke: #fff; stroke-width: 3.5; stroke-linecap: round; }
.toy:hover .toy__brush, .toy.is-touching .toy__brush { opacity: 1; }
.toy__bar { position: absolute; left: 18px; right: 18px; bottom: 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; cursor: auto; }
.toy__status { font-weight: 700; font-size: 15px; background: rgba(255, 255, 255, .7); padding: 10px 14px; border-radius: 999px; }
.toy__key { border: 0; background: var(--espresso); color: var(--cream); padding: 10px 16px; border-radius: 999px; cursor: pointer; font-weight: 700; font-size: 14px; }
.toy__done { position: absolute; inset: auto 18px 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 16px; border-radius: 24px; background: var(--paper); cursor: auto; box-shadow: 0 20px 40px -24px rgba(30, 43, 38, .5); }
.toy__done p { flex: 1 1 100%; font: 800 22px/1.1 var(--display); }
.toy__again { border: 0; background: none; text-decoration: underline; cursor: pointer; font-size: 14px; color: var(--ink-soft); }

/* Trust */
.trust {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: end;
  padding: clamp(60px, 8vw, 120px) var(--gutter) clamp(110px, 14vw, 180px); max-width: 1480px; margin: 0 auto;
  border-top: 1px solid var(--line);
}
.trust__years b { display: block; font: 800 clamp(9rem, 24vw, 22rem)/.78 var(--display); letter-spacing: -.07em; color: var(--taupe); }
.trust__years span { display: block; margin-top: 18px; font: 700 clamp(1.1rem, 1.6vw, 1.4rem)/1.2 var(--display); max-width: 18rem; }
.place { font-style: normal; display: grid; gap: 4px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.place a { justify-self: start; margin-top: 12px; font-weight: 700; text-underline-offset: 4px; }

/* Close */
.close { background: var(--espresso); color: var(--cream); padding: clamp(100px, 13vw, 180px) var(--gutter) clamp(120px, 14vw, 190px); }
.close h2 { font: 800 clamp(3rem, 8vw, 8.6rem)/.9 var(--display); letter-spacing: -.045em; max-width: 14ch; margin: 0 auto 56px; text-align: center; }
.ticket {
  display: grid; grid-template-columns: minmax(0, 1fr) 260px;
  max-width: 1080px; margin: 0 auto;
  color: var(--espresso);
  filter: drop-shadow(0 40px 50px rgba(0, 0, 0, .35));
}
.ticket__main, .ticket__stub { background: var(--cream); }
.ticket__main {
  padding: clamp(24px, 3.4vw, 44px);
  border-radius: 28px 0 0 28px;
  -webkit-mask: radial-gradient(circle 16px at 100% 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 16px at 100% 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle 16px at 100% 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 16px at 100% 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
}
.ticket__stub {
  position: relative; padding: 32px 26px; border-radius: 0 28px 28px 0;
  display: flex; flex-direction: column; justify-content: space-between; gap: 20px;
  background-image: linear-gradient(var(--espresso) 50%, transparent 0); background-size: 2px 14px; background-repeat: repeat-y; background-position: 0 0;
  -webkit-mask: radial-gradient(circle 16px at 0 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 16px at 0 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle 16px at 0 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 16px at 0 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
  transition: transform .6s var(--ease);
}
.ticket:has(button:hover) .ticket__stub { transform: translateX(8px) rotate(1.5deg); }
.ticket__to { display: flex; align-items: center; gap: 10px; font: 800 22px/1 var(--display); }
.ticket__to svg { width: 30px; height: 36px; color: var(--taupe); }
.ticket__phone { font-size: 14px; color: var(--ink-soft); }
.ticket fieldset { border: 0; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ticket legend { font: 800 20px/1 var(--display); margin-bottom: 14px; padding: 0; }
.ticket label { position: relative; }
.ticket input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ticket label span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px;
  box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 500; font-size: 15px;
  transition: background-color .25s, color .25s, box-shadow .25s;
}
.ticket label:hover span { box-shadow: inset 0 0 0 1.5px var(--espresso); }
.ticket input:checked + span { background: var(--espresso); color: var(--cream); box-shadow: none; }
.ticket input:focus-visible + span { outline: 3px solid var(--apricot); outline-offset: 2px; }
.ticket__preview { margin-top: 6px; padding: 16px 18px; border-radius: 18px; background: var(--paper); font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.25; }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding: 28px var(--gutter) 110px; background: #16201C; color: rgba(243, 236, 227, .7); font-size: 14px; }
.foot b { color: var(--cream); font-weight: 500; }

/* Tablet */
@media (max-width: 1024px) {
  .accordion { height: 460px; }
  .slice__tab { padding: 18px; }
  .slice__body { left: 20px; right: 20px; bottom: 20px; }
  .badge { width: 52px; height: 52px; padding: 12px; }
  .slice__name { font-size: 22px; }
}

/* Phone */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .dock__link { display: none; }
  .dock__link:not(.dock__link--wide) { display: inline-block; padding: 12px 10px; font-size: 14px; }
  .dock__link[href="#criancas"] { display: none; }
  .hero { padding-bottom: 104px; }
  .hero__place { display: none; }
  .hero__title { font-size: clamp(2.6rem, 13.2vw, 4rem); margin-top: 22vh; }
  .hero__title .line { white-space: normal; }
  .hero__mark { width: 78vw; right: -18vw; bottom: auto; top: 12vh; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1 1 100%; }
  .s1 { width: 64px; height: 64px; top: 11%; right: 8%; }
  .s2 { width: 50px; height: 50px; top: 24%; right: 34%; }
  .s3, .s4 { display: none; }
  .spec__head, .kids, .trust { grid-template-columns: 1fr; }
  .spec__head p { justify-self: start; }
  .accordion { flex-direction: column; height: auto; }
  .slice, .slice.is-open { flex: none; }
  .slice__tab { position: relative; flex-direction: row; align-items: center; gap: 16px; padding: 18px; }
  .slice__name { writing-mode: horizontal-tb; transform: none; font-size: 24px; }
  .slice.is-open .slice__name { opacity: 1; }
  .slice__body { position: static; opacity: 1; transform: none; pointer-events: auto; padding: 0 18px 22px; max-width: none; }
  .slice:not(.is-open) .slice__body { display: none; }
  .slice__title { display: none; }
  .motion .life__stage { grid-template-columns: 1fr; grid-template-rows: auto auto 1fr auto; padding: 32px var(--gutter) 150px; }
  .motion .life__age { position: static; grid-row: 2; margin-top: 8px; }
  .motion .life__age b { font-size: 6rem; }
  .motion .life__tooth { grid-column: 1; grid-row: 3; width: min(46vw, 28svh); align-self: center; }
  .motion .life__window { grid-row: 4; margin-bottom: 0; }
  .motion .panel { padding-right: 4%; }
  .panel p { font-size: 16px; }
  .motion .ruler { bottom: 104px; }
  .ruler__ticks em { font-size: 11px; }
  .toy { border-radius: 28px; }
  .toy__svg { width: 50%; margin-bottom: 40px; }
  .ticket { grid-template-columns: 1fr; }
  .ticket__main { border-radius: 24px 24px 0 0; -webkit-mask: none; mask: none; }
  .ticket__stub { border-radius: 0 0 24px 24px; -webkit-mask: none; mask: none; background-image: linear-gradient(90deg, var(--espresso) 50%, transparent 0); background-size: 14px 2px; background-repeat: repeat-x; }
  .ticket__stub .btn { width: 100%; }
  .close h2 { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
