/* Editorial revision: readable guides and a physical 3D phone with a DOM fallback. */
html { scroll-padding-top: 90px; }
h1,h2,h3,.eyebrow,.logo small,.scroll-cue,.b .big { letter-spacing: 0; }
.hero { min-height: 720px; padding: 125px 0 65px; background: #fff; }
.hero::before { background: #fff; }
.hero h1 { font-size: 68px; }
.hero .wrap { gap: 48px; position: relative; }
.hero .lead { font-size: 18px; }
.hero .chips { margin-top: 22px; }
#gl { z-index: 0; pointer-events: none; }
.hero .wrap > div { position: relative; z-index: 1; }
.phone { width: 290px; aspect-ratio: 9/17; padding: 10px; background: #292D2F; border-radius: 30px; box-shadow: 0 24px 42px -24px #292d2f88; touch-action: pan-y; }
.phone .scr { border-radius: 22px; background: #fff; display: flex; flex-direction: column; justify-content: center; }
.phone .notch { top: 19px; width: 65px; height: 12px; }
.phone-heading { font-size: 10px; font-weight: 600; color: #292d2f; margin: 24px 13px 16px; }
.phone-heading span { display: block; font-size: 9px; color: #6b615b; margin-top: 2px; }
#phone-slide { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: contain; background: #fff; }
.phone-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 10px; padding: 16px 15px 25px; color: #6b615b; }
.phone.webgl-ready { background: transparent; box-shadow: none; }
.phone.webgl-ready .scr,.phone.webgl-ready .notch { opacity: 0; }
.gallery-controls { display: flex; gap: 10px; justify-content: center; margin-top: 18px; }
.gallery-controls button,.dialog-bar button,.dialog-nav button { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border: 1px solid #d7d9d8; border-radius: 6px; color: #292d2f; background: #fff; font: 24px system-ui; cursor: pointer; }
button:focus-visible,a:focus-visible,.phone:focus-visible { outline: 3px solid var(--terra); outline-offset: 4px; }
.gallery-controls button:hover,.dialog-nav button:hover { background: #f1f3f2; }
.reel-note { font-size: 12px; }
.scroll-cue { display: none; }
#guias { background: #f1f3f2; padding: 75px 0; }
.guide-library { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; }
.guide-item { min-width: 0; }
.guide-cover { display: block; border: 1px solid #dadcda; border-radius: 6px; padding: 0; overflow: hidden; width: 100%; cursor: pointer; background: #fff; transition: transform .25s; }
.guide-cover:hover { transform: translateY(-4px); }
.guide-cover img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: contain; }
.guide-item h3 { font-size: 26px; margin-top: 18px; }
.guide-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 9px; color: #6b615b; font-size: 13px; }
.guide-meta button { border: 0; padding: 5px 0; background: transparent; color: var(--marrom-d); font: 600 13px Montserrat; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.b,.card,.quiz,.wa { border-radius: 8px; }
.foto { border-radius: 6px; background: #e5e8e6; aspect-ratio: 4/5; }
.portrait-disclosure { color: var(--suave); font-size: 12px; line-height: 1.5; margin: -12px 0 24px; }
.sobre .statement { font-size: 32px; }
#guide-dialog { border: 0; border-radius: 8px; width: min(660px,calc(100% - 24px)); max-height: calc(100dvh - 24px); margin: auto; padding: 16px; background: #f1f3f2; color: #292d2f; box-shadow: 0 20px 90px #0006; }
#guide-dialog::backdrop { background: #111b; }
.dialog-bar { position: static; display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 0 0 12px; }
.dialog-bar h2 { font: 600 16px Montserrat; max-width: 80%; }
.dialog-sheet { display: flex; justify-content: center; overflow: auto; }
.dialog-sheet img { width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 165px); object-fit: contain; }
.dialog-nav { display: flex; justify-content: center; align-items: center; gap: 20px; padding-top: 12px; font-size: 13px; }
body.guide-open { overflow: hidden; }
.sit-sec { height: auto!important; }
.pin { position: relative; height: auto; padding: 75px 0; }
.track { overflow-x: auto; transform: none!important; scroll-snap-type: x proximity; padding-bottom: 22px; }
.track .card { scroll-snap-align: center; }
@media (min-width: 1440px) { .hero { min-height: 740px; } }
@media (max-width: 900px) {
  .hero { min-height: 0; padding: 90px 0 30px; }
  .hero .wrap { gap: 18px; }
  .hero h1 { font-size: 42px; margin: 12px 0; }
  .hero .lead { font-size: 16px; margin-bottom: 20px; }
  .hero .chips { display: none; }
  .hero .ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .hero .ctas .btn { padding: 12px 10px; font-size: 12px; justify-content: center; }
  .phone { width: 135px; border-radius: 20px; padding: 6px; }
  .phone .scr { border-radius: 14px; }
  .phone .notch { width: 40px; height: 7px; top: 12px; }
  .phone-heading { margin: 20px 8px 8px; font-size: 7px; }
  .phone-heading span { font-size: 7px; }
  .phone-bottom { font-size: 7px; padding: 10px 8px; }
  .guide-library { gap: 24px; grid-template-columns: 1fr; }
  .guide-item { display: grid; grid-template-columns: minmax(0,140px) minmax(0,1fr); column-gap: 20px; align-items: start; }
  .guide-cover { grid-row: 1/3; }
  .guide-item h3 { margin-top: 4px; font-size: 25px; }
  .guide-meta { align-self: end; gap: 8px; flex-wrap: wrap; }
  .sobre .statement { font-size: 28px; }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 39px; }
  .guide-item { grid-template-columns: 120px minmax(0,1fr); gap: 14px; }
}
