:root {
  --noite: #0C0402;
  --noite-2: #1A1512;
  --marrom-1: #371E17;
  --marrom-2: #3D2219;
  --caramelo: #C99162;
  --dourado: #BC875F;
  --dourado-esc: #B37647;
  --creme: #F5EFE7;
  --marfim: #E8DCCD;
  --texto-claro: #F7F1E8;
  --tinta: #1B120D;
  --grad-hero: linear-gradient(130deg, var(--noite) 0%, var(--marrom-1) 55%, var(--marrom-2) 100%);
  --glow-hero: radial-gradient(closest-side, rgba(201,145,98,.30), transparent 70%);
  --glow-cta: radial-gradient(closest-side, rgba(188,135,95,.22), transparent 70%);
  --grad-dark: linear-gradient(165deg, var(--noite) 0%, var(--noite-2) 52%, var(--marrom-1) 100%);
  --grad-soft: linear-gradient(130deg, var(--creme), var(--marfim));
  --grad-metal: linear-gradient(90deg, var(--dourado), var(--caramelo) 50%, var(--dourado));
  --grad-accent: linear-gradient(115deg, var(--dourado-esc), var(--caramelo) 52%, var(--dourado));
  --grad-line: linear-gradient(90deg, transparent, var(--dourado) 50%, transparent);
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --section-space: clamp(4rem, 9svh, 8rem);
  --header-height: 6rem;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Helvetica Neue', Arial, sans-serif;
  --border: 1px solid rgba(201,145,98,.4);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
.cookie-bar[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 1rem); }
body { margin: 0; background: var(--grad-dark); color: var(--texto-claro); font: 400 1rem/1.7 var(--sans); }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
a { color: inherit; text-underline-offset: .25em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
p, ul, ol, figure, blockquote, dl { margin: 0 0 1.3rem; }
h1, h2, h3 { margin: 0 0 1.4rem; font-family: var(--serif); font-weight: 400; line-height: 1.13; overflow-wrap: break-word; }
h2 { font-size: clamp(2.15rem, 3.5vw, 3.65rem); letter-spacing: -.035em; }
h3 { font-size: clamp(1.3rem, 1.8vw, 1.7rem); }
h2 em { font-weight: 400; }
address { font-style: normal; }
button { color: inherit; }
.container { width: min(100% - 2 * var(--gutter), 1320px); margin-inline: auto; }
.container > *, .section-copy, .hero-copy { min-width: 0; }
.narrow { max-width: 960px; }
.section { position: relative; isolation: isolate; padding-block: var(--section-space); scroll-margin-bottom: 35svh; }
.section-dark { color: var(--texto-claro); background: var(--grad-dark); }
.section-light { color: var(--tinta); background: var(--grad-soft); }
.section::after { content: ''; position: absolute; inset: auto var(--gutter) 0; height: 1px; background: var(--grad-line); pointer-events: none; }
.eyebrow { font: 600 .75rem/1.6 var(--sans); text-transform: uppercase; letter-spacing: .16em; margin-bottom: 1.4rem; }
.section-dark .eyebrow { color: var(--caramelo); }
.lead { font-size: clamp(1.1rem, 1.4vw, 1.3rem); line-height: 1.65; }
.small-note, .professional-id, .field-hint, .bp-note { font-size: .8rem; line-height: 1.6; }
.text-metal { color: var(--caramelo); }
@supports (background-clip: text) {
  .section-dark .text-metal { background: var(--grad-metal); background-clip: text; -webkit-background-clip: text; color: transparent; }
}
.section-heading { max-width: 780px; margin-bottom: clamp(2rem, 5svh, 4rem); }
.split-grid, .hero-grid, .editorial-grid, .location-grid, .booking-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 6rem); align-items: center; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-block: 1.8rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .85rem 1.4rem; border: 1px solid transparent; border-radius: 3px; font-size: .875rem; line-height: 1.45; font-weight: 600; text-align: center; text-decoration: none; max-width: 100%; overflow-wrap: anywhere; transition: box-shadow .2s, transform .2s; }
.btn-primary, .whatsapp-fab { background: var(--grad-accent); color: var(--tinta); }
.btn-primary:hover, .btn-primary:focus-visible, .btn-primary:active, .whatsapp-fab:hover, .whatsapp-fab:focus-visible, .whatsapp-fab:active { color: var(--tinta); box-shadow: 0 5px 22px rgba(201,145,98,.25); }
.btn-secondary, .btn-outline { border-color: currentColor; background: transparent; color: inherit; }
.btn:hover { transform: translateY(-2px); }
.text-link { display: inline-block; margin-top: .4rem; font-weight: 600; font-size: .9rem; }
.text-link span { margin-left: .4rem; }
.skip-link { position: fixed; top: .75rem; left: 1rem; z-index: 100; padding: .8rem; background: var(--creme); color: var(--tinta); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 40; background: var(--grad-dark); border-bottom: var(--border); transition: transform .3s, box-shadow .3s; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: var(--header-height); }
.brand { display: inline-flex; flex-direction: column; flex-shrink: 0; text-decoration: none; }
.brand-name { font: 400 clamp(1.35rem, 1.9vw, 1.8rem)/1.2 var(--serif); }
.brand-detail { font-size: .62rem; letter-spacing: .1em; margin-top: .5rem; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: clamp(.6rem, 1.2vw, 1.2rem); }
.main-nav > a { font-size: .76rem; text-decoration: none; }
.main-nav > a:not(.btn):hover { text-decoration: underline; }
.nav-cta { padding: .75rem 1rem; }
.menu-toggle { display: none; }
.site-header.is-scrolled { box-shadow: 0 5px 25px rgba(12,4,2,.3); }
.site-header.is-hidden:not(:has([aria-expanded="true"])):not(:has(.main-nav.is-open)):not(:focus-within) { transform: translateY(-105%); }
body.menu-open .site-header, .site-header:has([aria-expanded="true"]) { transform: none; }
.hero { background: var(--grad-hero); min-height: calc(92vh - var(--header-height)); min-height: calc(92svh - var(--header-height)); display: flex; align-items: center; }
.hero-grid { position: relative; }
.hero-copy h2 { font-size: clamp(2.6rem, 4.2vw, 4.6rem); }
.hero-manifesto { max-width: 54ch; font-size: .9rem; padding-left: 1rem; border-left: var(--border); }
.hero-glow, .cta-glow { position: absolute; z-index: -1; right: 0; top: 8%; width: 46%; height: 80%; pointer-events: none; }
.hero-glow { background: var(--glow-hero); }
.cta-glow { background: var(--glow-cta); }
.photo-frame { display: block; width: 100%; margin: 0; aspect-ratio: 4 / 3; border-radius: .35rem; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.photo-arch { border-radius: 48% 48% .4rem .4rem; }
.hero-frame { aspect-ratio: 1440 / 1116; border: var(--border); padding: .5rem; }
.hero-visual { min-width: 0; }
.rating-badge { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .75rem; margin-top: 1.2rem; font-size: .8rem; text-decoration: none; }
.rating-badge strong { font: 400 1.7rem var(--serif); color: var(--caramelo); }
/* Captions remain below photographs, never on top of the image. */
.skin-frame { display: flex; flex-direction: column; height: auto; }
.skin-frame img { height: auto; aspect-ratio: 1440 / 990; }
.skin-frame figcaption { padding-top: .8rem; font-size: .8rem; }
#sobre .photo-frame { aspect-ratio: 4 / 3; }
#sobre .photo-frame img { aspect-ratio: 4 / 3; height: auto; }
.quote-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; margin-top: 2.5rem; }
.quote-inline { padding: 1.2rem 0 0 1.2rem; border-left: var(--border); margin-top: 1.5rem; }
.quote-inline blockquote { font: italic 1.15rem/1.6 var(--serif); margin-bottom: .7rem; }
.quote-inline figcaption { font-size: .75rem; }
.numbered-list { list-style: none; padding: 0; counter-reset: consultation; }
.numbered-list li { position: relative; padding: 0 0 1rem 3.2rem; counter-increment: consultation; }
.numbered-list li::before { content: '0' counter(consultation); position: absolute; left: 0; font: 1.5rem var(--serif); color: var(--caramelo); }
.numbered-list h3 { margin-bottom: .5rem; }
.editorial-list { padding-left: 1.2rem; }
.editorial-list li { padding-block: .4rem; }
.editorial-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.editorial-card { border-top: 1px solid var(--marrom-1); padding-top: 1.5rem; }
.item-number, .step-number { font: italic 2.4rem var(--serif); display: block; margin-bottom: 1rem; }
.process-timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; list-style: none; padding: 0; }
.process-timeline li { border-top: 1px solid var(--marrom-1); padding-top: 1.4rem; }
.process-note { max-width: 850px; margin-top: 2rem; font-style: italic; }

/* The row is a semantic wrapper. Its children participate in the STAGE grid.
   The job's mobile stacking supersedes the earlier study's narrow two-column rule. */
.shelf { --book-height: 310px; padding-block: 1rem 2rem; scroll-margin-top: 7rem; }
.shelf-stage { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(.8rem, 1.4vw, 1.5rem); align-items: start; padding: 1.5rem .75rem 2rem; border-bottom: 7px solid var(--marrom-1); box-shadow: 0 16px 15px -14px var(--noite); }
.shelf-row { display: contents; }
.book-card { display: block; position: relative; min-width: 0; width: 100%; border: 0; padding: 0; background: transparent; text-align: left; perspective: 1200px; border-radius: 4px; }
.book { position: relative; display: block; width: 100%; height: var(--book-height); transform-style: preserve-3d; }
.book-shadow { position: absolute; inset: 12% 3% 0; box-shadow: 10px 15px 18px rgba(0,0,0,.45); }
.book-back, .page-block, .front-cover, .page-fan, .page-fan i { position: absolute; inset: 0; border-radius: 2px 6px 6px 2px; transform-origin: left center; }
.book-back { background: var(--grad-dark); border: 1px solid var(--dourado-esc); transform: translateZ(-12px); }
.page-block { inset: 5px 2px 5px 8px; background: repeating-linear-gradient(90deg, var(--marfim) 0 2px, var(--creme) 2px 4px); transform: translateZ(-5px); }
.page-fan { pointer-events: none; transform-style: preserve-3d; }
.page-fan i { inset: 12px 22px 52px 7px; background: var(--grad-soft); border: 1px solid var(--dourado); transition: transform .55s; }
.front-cover { display: flex; flex-direction: column; padding: clamp(.8rem, 1.4vw, 1.35rem); color: var(--texto-claro); background-color: var(--cover-color, var(--marrom-1)); background-image: linear-gradient(110deg, rgba(12,4,2,.88), rgba(12,4,2,.65)), var(--cover-img); background-size: cover; background-position: center; border: 1px solid rgba(201,145,98,.55); border-left: 5px solid var(--marrom-1); box-shadow: inset 3px 0 6px rgba(0,0,0,.6); transition: transform .55s; backface-visibility: hidden; }
/* Custom-property URLs resolve against this stylesheet; normalize the HTML's document-relative paths on the consuming element. */
.book-card[data-book="acne"] .front-cover { --cover-img: url('../assets/img/capas/arte/arte-01.jpg'); }
.book-card[data-book="cabelo"] .front-cover { --cover-img: url('../assets/img/capas/arte/arte-02.jpg'); }
.book-card[data-book="botox"] .front-cover { --cover-img: url('../assets/img/capas/arte/arte-03.jpg'); }
.book-card[data-book="plasma"] .front-cover { --cover-img: url('../assets/img/capas/arte/arte-04.jpg'); }
.book-card[data-book="check-up"] .front-cover { --cover-img: url('../assets/img/capas/arte/arte-05.jpg'); }
.book-card[data-book="skincare"] .front-cover { --cover-img: url('../assets/img/capas/arte/arte-06.jpg'); }
#shelf[data-mode="shelf"] .book-card:nth-child(n) .front-cover { transform: rotateY(-29deg); }
#shelf[data-mode="shelf"] .book-card:nth-child(even) { margin-top: .7rem; }
#shelf[data-mode="shelf"] .book-card:hover .front-cover, #shelf[data-mode="shelf"] .book-card:focus-visible .front-cover { transform: rotateY(-15deg); }
.cover-kicker { font-size: .64rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1.6rem; }
.cover-title { font: 400 clamp(1.2rem, 1.7vw, 1.65rem)/1.15 var(--serif); margin-bottom: .85rem; overflow-wrap: normal; }
.cover-sub { font-size: .75rem; line-height: 1.5; }
.cover-foot { margin-top: auto; padding-top: 1rem; font-size: .62rem; }
.cover-badge { margin-top: .8rem; padding-top: .7rem; border-top: var(--border); font-size: .64rem; }
#shelf[data-mode="shelf"] .book-panel { display: none; }
#shelf[data-mode="detail"] .shelf-stage { grid-template-columns: minmax(230px, .65fr) minmax(0, 1.35fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
#shelf[data-mode="detail"] .book-card:not(.is-active):not([aria-expanded="true"]) { display: none; }
#shelf[data-mode="detail"] .book-card { grid-column: 1; margin: 1rem 0 0; max-width: 320px; justify-self: center; --book-height: 410px; }
#shelf[data-mode="detail"] .front-cover { transform: rotateY(-29deg); padding: 1.5rem; }
#shelf[data-mode="detail"] .cover-title { font-size: 2.1rem; }
#shelf[data-mode="detail"] .cover-sub { font-size: .95rem; }
#shelf[data-mode="detail"] .cover-badge { display: none; }
#shelf[data-mode="detail"] .page-fan i:nth-child(1) { transform: rotateY(-7deg) rotateZ(2deg); }
#shelf[data-mode="detail"] .page-fan i:nth-child(2) { transform: rotateY(-12deg) rotateZ(4deg); }
#shelf[data-mode="detail"] .page-fan i:nth-child(3) { transform: rotateY(-18deg) rotateZ(6deg); }
#shelf[data-mode="detail"] .page-fan i:nth-child(4) { transform: rotateY(-23deg) rotateZ(8deg); }
.book-panel { grid-column: 2; min-width: 0; padding: clamp(1.3rem, 3vw, 2.5rem); background: var(--grad-soft); color: var(--tinta); border-radius: 5px; overflow-wrap: anywhere; }
#shelf[data-mode="detail"] .book-panel:not([hidden]) { display: block; }
.bp-close { display: block; margin: -.5rem -.5rem .5rem auto; width: 44px; height: 44px; border: 1px solid var(--marrom-1); background: transparent; border-radius: 50%; font-size: 1.7rem; line-height: 1; }
#bp-kicker { font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
#bp-title { font-size: clamp(1.8rem, 3vw, 2.6rem); }
#bp-list { padding-left: 1.2rem; }
#bp-list li { margin-bottom: .6rem; }
.bp-note { margin: 1.2rem 0 0; }

.testimonials { overflow: clip; }
.testimonials-background, .testimonials-overlay { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.testimonials-background img { width: 100%; height: 100%; object-fit: cover; filter: blur(9px); }
.testimonials-overlay { background: linear-gradient(110deg, rgba(12,4,2,.98), rgba(26,21,18,.95)); }
.testimonials-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.rating-summary { margin-block: 2rem; }
.rating-number { display: block; font: 400 clamp(4rem, 7vw, 6rem)/1 var(--serif); }
.rating-stars, .review-stars { color: var(--caramelo); letter-spacing: .12em; }
.rating-stars { display: block; margin-top: .9rem; }
.personal-replies { font-style: italic; }
.testimonial { position: relative; padding: 1.7rem 0; margin: 0; border-top: var(--border); }
.testimonial blockquote { font: 400 1.2rem/1.6 var(--serif); }
.testimonial-featured blockquote { font-size: clamp(1.3rem, 1.8vw, 1.7rem); }
.quote-mark { display: block; color: var(--caramelo); font: 3rem/.9 var(--serif); }
.testimonial figcaption { display: flex; flex-wrap: wrap; gap: .3rem 1rem; align-items: center; font-size: .75rem; }
.reviewer-name { font-weight: 600; }
.review-meta { flex-basis: 100%; }
.testimonial-disclaimer { margin-top: 2rem; }
.clinic-address { font: 1.4rem/1.7 var(--serif); margin-block: 1.5rem; }
.contact-details dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; }
.contact-details dd { margin: .2rem 0 1rem; }
.map-container { background: var(--grad-soft); border: 1px solid var(--marrom-1); border-radius: 5px; min-width: 0; }
.map-consent { min-height: 42vh; min-height: 42svh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(1.5rem, 3vw, 3rem); }
.map-consent .text-link { margin-top: 1.5rem; }
.map-frame:empty { display: none; }
.map-frame iframe { display: block; width: 100%; height: clamp(300px, 50svh, 500px); border: 0; }
.faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); }
.faq-item { border-top: var(--border); }
.faq-item:last-child { border-bottom: var(--border); }
.faq-item summary { cursor: pointer; padding: 1.5rem .3rem; font: 1.2rem/1.5 var(--serif); }
.faq-item summary::marker { color: var(--caramelo); }
.faq-answer { padding: 0 1rem 1.5rem; }
.faq-answer p:last-child { margin-bottom: 0; }
.final-cta { min-height: 75svh; }
.booking-grid { align-items: start; }
.booking-grid > .section-copy > .btn { margin-block: .5rem 1.5rem; }
.contact-form { padding: clamp(1.25rem, 3vw, 2.5rem); background: var(--grad-soft); color: var(--tinta); border-radius: 5px; }
.contact-form > p { font-size: .85rem; }
.form-field { margin-bottom: 1.2rem; }
.form-field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .5rem; }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-width: 0; min-height: 48px; border: 1px solid var(--marrom-1); border-radius: 2px; padding: .7rem; background: var(--creme); color: var(--tinta); }
.form-field textarea { resize: vertical; }
.field-hint { margin: .5rem 0 0; }
.consent-field { display: flex; gap: .75rem; align-items: flex-start; font-size: .8rem; }
.consent-field input { flex: 0 0 20px; width: 20px; height: 20px; accent-color: var(--marrom-1); margin-top: .2rem; }
.form-status { margin-top: 1rem; }
.form-status:empty { display: none; }
.contact-form > .btn { width: 100%; margin-top: 1rem; }
.site-footer { background: var(--grad-dark); padding: 4rem 0 7rem; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 2.5rem; font-size: .85rem; }
.footer-grid .brand { margin-bottom: 1rem; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: .65rem; }
.privacy-settings { border: 0; padding: 0; color: inherit; background: transparent; text-align: left; text-decoration: underline; }
.footer-bottom { border-top: var(--border); margin-top: 2.5rem; padding-top: 1.5rem; display: flex; justify-content: space-between; gap: 2rem; font-size: .75rem; }
/* Independent horizontal lanes make collision impossible even without JS measuring consent height. */
.whatsapp-fab { position: fixed; z-index: 50; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: center; gap: .6rem; min-height: 56px; padding: 1rem; border-radius: 40px; text-decoration: none; font-size: .8rem; font-weight: 700; box-shadow: 0 5px 25px rgba(12,4,2,.3); }
.cookie-bar { position: fixed; z-index: 50; bottom: max(1rem, env(safe-area-inset-bottom)); left: max(1rem, env(safe-area-inset-left)); right: 180px; max-width: 1100px; display: flex; align-items: center; gap: 1.5rem; padding: 1.2rem 1.5rem; background: var(--grad-dark); border: var(--border); border-radius: 5px; box-shadow: 0 8px 40px rgba(12,4,2,.4); max-height: 55vh; max-height: 55svh; overflow-y: auto; }
.cookie-copy { min-width: 0; }
.cookie-copy strong { font-family: var(--serif); font-weight: 400; font-size: 1.1rem; }
.cookie-copy p { font-size: .74rem; line-height: 1.6; margin: .4rem 0 0; }
.cookie-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; flex-shrink: 0; }
.cookie-actions .btn { min-height: 44px; padding: .6rem 1rem; }
.cookie-fechar { width: 44px; height: 44px; background: transparent; border: 0; font-size: 1.7rem; }
/* While reading a volume or navigating, keep auxiliary controls in document flow.
   Consent is not dismissed: the notice and WhatsApp link remain available below. */
body.book-detail .cookie-bar, body.menu-open .cookie-bar { position: static; width: calc(100% - 2rem); margin: 1rem; max-height: none; }
body.book-detail .whatsapp-fab, body.menu-open .whatsapp-fab { position: static; width: fit-content; min-width: 56px; margin: 1rem 1rem 1rem auto; }
.map-fallback { margin: 1rem; }
.reveal { opacity: 1; transform: none; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (min-width: 1500px) {
  .hero { padding-block: 10svh; }
  .shelf { --book-height: 340px; }
}
@media (max-width: 1180px) {
  :root { --header-height: 5.25rem; }
  .header-inner { gap: 1rem; }
  .main-nav { gap: .7rem; }
  .main-nav > a { font-size: .7rem; }
  .brand-name { font-size: 1.4rem; }
  .shelf-stage { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
  .shelf { --book-height: 340px; }
  .book-card { max-width: 270px; justify-self: center; }
  .cover-title { font-size: 1.8rem; }
  .cover-sub { font-size: .85rem; }
  .cookie-bar { align-items: flex-start; gap: 1rem; }
  .cookie-actions { max-width: 210px; }
}
@media (max-width: 1024px) {
  .menu-toggle { display: inline-flex; align-items: center; gap: .7rem; min-height: 44px; background: transparent; border: var(--border); padding: .6rem .8rem; font-size: .8rem; }
  .menu-icon { width: 18px; height: 10px; border-block: 1px solid currentColor; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 1.5rem var(--gutter) 2rem; background: var(--grad-dark); border-bottom: var(--border); max-height: calc(100vh - var(--header-height)); max-height: calc(100svh - var(--header-height)); overflow-y: auto; align-items: stretch; }
  .main-nav.is-open, .menu-toggle[aria-expanded="true"] + .main-nav { display: flex; flex-direction: column; }
  .main-nav > a { font-size: 1rem; padding: .7rem; min-height: 44px; }
  .process-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 920px) {
  .hero-grid, .split-grid, .location-grid, .booking-grid { gap: 2rem; }
  .hero-copy h2 { font-size: clamp(2.3rem, 4.5vw, 3.4rem); }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .editorial-cards { gap: 1.3rem; }
  .testimonials-layout, .faq-layout { grid-template-columns: minmax(0, 1fr); }
  .testimonials-intro { max-width: 650px; }
  .rating-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
  .rating-summary p { margin: 0; }
  .cookie-bar { flex-direction: column; }
  .cookie-actions { max-width: none; }
}
@media (max-width: 768px) {
  .hero-grid, .split-grid, .editorial-grid, .location-grid, .booking-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy h2 { font-size: clamp(2.55rem, 7vw, 3.8rem); }
  .hero-visual { width: min(100%, 560px); margin-inline: auto; }
  .hero-actions { flex-direction: row; }
  .split-grid > .photo-frame { max-width: 600px; margin-inline: auto; }
  .section-copy { max-width: 680px; }
  .quote-pair { gap: 1.4rem; }
  #shelf[data-mode="detail"] .shelf-stage { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  #shelf[data-mode="detail"] .book-panel { grid-column: 1; grid-row: 2; width: 100%; }
  #shelf[data-mode="detail"] .book-card { grid-row: 1; width: min(85%, 280px); --book-height: 360px; }
  .shelf-stage { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.25rem; }
  .shelf { --book-height: 320px; }
  .whatsapp-fab { width: 56px; height: 56px; padding: 0; }
  .whatsapp-fab span { display: none; }
  .cookie-bar { right: 88px; padding: 1rem; }
}
@media (max-width: 640px) {
  :root { --section-space: clamp(3.5rem, 7svh, 5rem); }
  .editorial-cards, .quote-pair, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .editorial-cards { gap: 1rem; }
  .editorial-card p { max-width: 48ch; }
  .footer-bottom { flex-direction: column; gap: .4rem; }
  .cookie-copy strong { font-size: 1rem; }
  .cookie-copy p { font-size: .7rem; }
  .cookie-actions { gap: .3rem; }
  .cookie-actions .btn { font-size: .75rem; padding: .6rem .8rem; }
  .process-timeline { gap: 1.5rem; }
  .process-timeline h3 { font-size: 1.25rem; }
}
@media (max-width: 480px) {
  :root { --gutter: 1.25rem; --header-height: 4.75rem; }
  .brand-name { font-size: 1.25rem; }
  .brand-detail { font-size: .55rem; }
  .hero-actions .btn { width: 100%; }
  .hero { padding-top: 3rem; }
  .hero-copy h2 { font-size: clamp(2.2rem, 10vw, 2.8rem); }
  .eyebrow { letter-spacing: .1em; }
  .process-timeline { grid-template-columns: minmax(0, 1fr); }
  .shelf-stage { padding-inline: .5rem; gap: 1.5rem .75rem; }
  .shelf { --book-height: 320px; }
  .front-cover { padding: .8rem .6rem; border-left-width: 3px; }
  .cover-title { font-size: 1.3rem; }
  .cover-sub { font-size: .75rem; }
  .cover-kicker { font-size: .6rem; margin-bottom: 1.4rem; }
  .cover-foot { font-size: .57rem; }
  .cover-badge { font-size: .58rem; }
  .book-panel { padding: 1.2rem; }
  #bp-cta { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none; animation: none; }
  .btn:hover { transform: none; }
}

/* Premium testimonials: the track alone contains horizontal overflow;
   auto-height cards keep every review and attribution readable. */
#depoimentos { overflow: visible; background: var(--grad-dark); }
#depoimentos .testimonials-background { overflow: clip; }
#depoimentos .testimonials-overlay { background: radial-gradient(ellipse at 85% 20%, rgba(201,145,98,.12), transparent 65%), linear-gradient(165deg, rgba(12,4,2,.97), rgba(55,30,23,.94)); }
#depoimentos .testimonials-intro { max-width: 850px; }
#depoimentos .rating-badge { justify-content: flex-start; margin-block: 1.5rem 1rem; }
#depoimentos .rating-stars { display: inline; margin: 0; }
#depoimentos .rating-badge a { min-height: 44px; display: inline-flex; align-items: center; color: var(--creme); }
#depoimentos .personal-replies { margin-bottom: .5rem; }
.testi { --testi-gap: clamp(1rem, 2vw, 1.5rem); min-width: 0; }
.testi-viewport { overflow: visible; }
.testi-track { display: flex; gap: var(--testi-gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; padding-block: .5rem 1rem; }
.testi-track::-webkit-scrollbar { display: none; }
.testi-slide { flex: 0 0 100%; min-width: 0; margin: 0; scroll-snap-align: start; padding: clamp(1.5rem, 2.5vw, 2.5rem); border: var(--border); border-radius: .5rem; background: radial-gradient(ellipse at top right, rgba(201,145,98,.09), transparent 75%), linear-gradient(145deg, var(--marrom-1), var(--noite)); color: var(--creme); display: flex; flex-direction: column; overflow-wrap: anywhere; }
.testi-slide blockquote { font: italic clamp(1.1rem, 1rem + .3vw, 1.3rem)/1.6 var(--serif); margin: 0 0 1.8rem; }
.testi-slide figcaption { margin-top: auto; padding-top: 1.2rem; border-top: var(--border); }
.testi-slide figcaption strong { display: block; color: var(--caramelo); font-size: .95rem; }
.testi-slide figcaption span { display: block; font-size: .75rem; margin-top: .35rem; }
.testi-controls { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: .5rem; margin: 1rem auto 0; max-width: 600px; }
.testi-controls > button { width: 44px; min-height: 44px; padding: 0; border: var(--border); border-radius: 50%; background: var(--grad-dark); color: var(--caramelo); font: 2rem/1 var(--serif); transition: color .2s, box-shadow .2s; }
.testi-controls > button:hover:not([aria-disabled="true"]) { background: var(--grad-accent); color: var(--tinta); }
.testi-controls > button[aria-disabled="true"] { opacity: .45; cursor: default; }
#testi-prev { grid-area: 1 / 1; }
#testi-next { grid-area: 1 / 3; }
.testi-dots { grid-area: 2 / 1 / 3 / 4; display: flex; flex-wrap: wrap; justify-content: center; }
.testi-dots button { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border: 0; padding: 0; background: transparent; border-radius: 50%; }
.testi-dots button::after { content: ''; width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--caramelo); background: var(--grad-dark); transition: transform .2s; }
.testi-dots button[aria-current="true"]::after { background: var(--grad-accent); transform: scale(1.4); }
.testi-contador { grid-area: 1 / 2; text-align: center; font-size: .8rem; font-variant-numeric: tabular-nums; }
#depoimentos .testimonial-disclaimer { max-width: 780px; margin: 2rem auto 0; text-align: center; }
@media (min-width: 1024px) {
  .testi-slide { flex-basis: calc((100% - 2 * var(--testi-gap)) / 3); }
  .testi-controls { display: flex; justify-content: center; gap: 1rem; }
  .testi-contador { min-width: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  .testi-track { scroll-behavior: auto; }
  .testi-controls button, .testi-dots button::after { transition: none; }
}
