/* Alento · 02-noturno */
:root {
  --bg: #17110E; --surface: #231A15; --surface-2: #2E231C;
  --text: #EFE6DA; --muted: #B3A796; --amber: #D49A55;
  --amber-soft: rgb(212 154 85 / .14); --line: rgb(239 230 218 / .12); --focus: #D49A55;
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;
  --gutter: clamp(20px, 5vw, 64px);
  --edge: max(var(--gutter), calc((100vw - 1320px) / 2 + var(--gutter)));
  --arch: 999px 999px 0 0; --r-md: 16px; --r-pill: 999px; --r-sm: 8px;
  --ease: cubic-bezier(.16, 1, .3, 1); --dur-1: .4s;
  --display: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Manrope', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1.0625rem/1.7 var(--sans); letter-spacing: .005em;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
/* grão */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[tabindex="-1"]:focus { outline: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 200; background: var(--amber); color: var(--bg); padding: 12px 16px; border-radius: var(--r-sm); font-weight: 600; }
.skip:focus { top: 12px; }
.container { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(88px, 60px + 6vw, 152px); scroll-margin-top: 0; }

/* tipografia */
h1, h2, h3 { font-family: var(--display); font-weight: 500; }
h1 { font-size: clamp(3rem, 2rem + 4.2vw, 6.5rem); line-height: .98; letter-spacing: -.01em; }
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--amber); }
h2 { font-size: clamp(2.25rem, 1.7rem + 2.3vw, 4rem); line-height: 1.04; margin-bottom: var(--s-5); max-width: 18ch; }
h3 { font-size: clamp(1.625rem, 1.45rem + .7vw, 2.125rem); line-height: 1.12; font-weight: 600; }
.lead { font-size: clamp(1.125rem, 1.05rem + .3vw, 1.25rem); line-height: 1.6; color: var(--muted); }
.eyebrow { font: 600 .875rem/1.4 var(--sans); text-transform: uppercase; letter-spacing: .16em; color: var(--amber); margin-bottom: var(--s-3); }
.price { font-weight: 600; color: var(--amber); font-variant-numeric: tabular-nums; }

/* botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 var(--s-6);
  border-radius: var(--r-pill); border: 1.5px solid var(--amber); font: 600 1rem/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform var(--dur-1) var(--ease);
}
.btn-solid { background: var(--amber); color: var(--bg); }
.btn-outline { background: transparent; color: var(--amber); }
.btn-lg { min-height: 52px; }
.btn-block { width: 100%; }
.link-quiet, .link-btn, .tap-link, .wa-link { color: var(--text); text-underline-offset: 4px; }
.link-quiet, .tap-link { display: inline-flex; align-items: center; min-height: 44px; }
.link-btn { background: none; border: 0; font: inherit; text-decoration: underline; cursor: pointer; min-height: 48px; padding: 0 var(--s-2); }
@media (hover: hover) {
  .header-wa:hover { background: var(--amber); color: var(--bg); }
  .btn-solid:hover { transform: translateY(-2px); background: #E0AA68; }
  .btn-outline:hover { background: var(--amber); color: var(--bg); }
  .link-quiet:hover, .tap-link:hover, .wa-link:hover, .link-btn:hover { color: var(--amber); }
}

/* header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: 64px; display: flex; align-items: center; justify-content: space-between;
  padding-inline: var(--gutter);
}
.site-header::before { content: ""; position: absolute; inset: 0 0 -24px; z-index: -1; pointer-events: none; background: linear-gradient(rgb(23 17 14 / .7), transparent); }
.site-header.is-scrolled { background: rgb(23 17 14 / .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header.is-scrolled::before { display: none; }
.logo { font: 600 1.625rem/1 var(--display); text-decoration: none; min-height: 48px; display: inline-flex; align-items: center; }
.header-actions { display: flex; align-items: center; gap: var(--s-2); }
.header-wa { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--amber); color: var(--amber); display: grid; place-items: center; background: rgb(23 17 14 / .6); }
.menu-toggle { min-width: 56px; height: 48px; padding: 0 var(--s-3); background: transparent; border: 1px solid var(--line); border-radius: var(--r-pill); color: var(--text); font: 600 1rem var(--sans); cursor: pointer; }
.nav-desktop, .header-cta { display: none; }

.menu { position: fixed; inset: 0; z-index: 50; background: var(--bg); padding: 88px var(--gutter) var(--s-6); display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; }
.menu[hidden] { display: none; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { font: 500 2.5rem/1.1 var(--display); text-decoration: none; min-height: 56px; display: flex; align-items: center; border-bottom: 1px solid var(--line); }

/* botão flutuante */
.fab {
  position: fixed; z-index: 40; right: var(--gutter); bottom: calc(16px + env(safe-area-inset-bottom)); height: 56px; padding: 0 var(--s-5);
  display: inline-flex; align-items: center; gap: 10px; background: var(--amber); color: var(--bg); border-radius: var(--r-pill);
  font: 600 1rem/1 var(--sans); text-decoration: none; box-shadow: 0 8px 24px rgb(0 0 0 / .45);
  transition: transform var(--dur-1) var(--ease), opacity var(--dur-1);
}
.fab.is-away { transform: translateY(160%); opacity: 0; pointer-events: none; }

/* fotos */
.photo { position: relative; overflow: hidden; background: var(--surface); }
.photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) sepia(.12) brightness(.92); }
.photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at center, transparent 45%, rgb(23 17 14 / .65) 100%); }
.arch { border-radius: var(--arch); }
.halo { box-shadow: 0 0 0 10px var(--amber-soft), 0 0 80px 10px var(--amber-soft); }

/* hero */
.hero { position: relative; min-height: max(640px, 100svh); display: flex; align-items: flex-end; isolation: isolate; overflow: hidden; }
.hero-media, .hero-media .photo { position: absolute; inset: 0; z-index: -1; }
.hero-media .photo { bottom: auto; height: 74%; }
.hero-media .photo img { object-position: 30% 60%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--bg) 24%, rgb(23 17 14 / .92) 62%, rgb(23 17 14 / .3) 80%, transparent 92%); }
.hero-copy { padding-bottom: 96px; padding-top: 120px; }
.hero h1 { max-width: 11ch; margin-bottom: var(--s-4); }
.hero .lead { color: var(--text); margin-bottom: var(--s-5); max-width: 30ch; }
.hero-actions { display: flex; align-items: center; gap: var(--s-5); flex-wrap: wrap; }
.hero .link-quiet, .hero-meta { display: none; }

/* filosofia */
.philo-grid { display: grid; gap: var(--s-8); align-items: center; }
.philo-photo { width: 78%; margin-inline: auto; }
.philo-photo .photo { aspect-ratio: 3 / 4; }
.philo-text > p { margin-bottom: var(--s-4); max-width: 52ch; }
.pull { font: italic 400 clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem)/1.2 var(--display); color: var(--amber); margin-top: var(--s-6); }

/* ritual */
.steps { margin-top: var(--s-7); display: grid; }
.step { display: grid; grid-template-columns: 96px 1fr; gap: var(--s-5); padding-block: var(--s-5); border-top: 1px solid var(--line); align-items: center; }
.step:last-child { border-bottom: 1px solid var(--line); }
.step-photo { width: 96px; height: 128px; }
.numeral { display: block; font: italic 400 1.75rem/1 var(--display); color: var(--amber); margin-bottom: var(--s-1); }

/* serviços */
.services { padding-inline: 0; }
.services-head { padding-inline: var(--edge); margin-bottom: var(--s-7); }
.services-head h2 { max-width: 14ch; }
.services-head .lead { max-width: 44ch; }
.services-controls { display: flex; align-items: center; gap: var(--s-3); margin-top: var(--s-5); }
.round { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--amber); background: transparent; color: var(--amber); display: grid; place-items: center; cursor: pointer; }
.round:disabled { opacity: .4; cursor: default; }
.counter { margin-left: var(--s-2); font-variant-numeric: tabular-nums; color: var(--muted); }
.services-viewport {
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
  padding-inline: var(--edge) var(--gutter); scroll-padding-inline: var(--edge);
}
.services-viewport::-webkit-scrollbar { display: none; }
.services-track { display: flex; gap: var(--s-4); width: max-content; padding-right: var(--gutter); }
.svc-card { position: relative; flex: 0 0 min(82vw, 420px); scroll-snap-align: start; display: flex; flex-direction: column; gap: var(--s-2); }
.svc-card .photo { aspect-ratio: 3 / 4; margin-bottom: var(--s-3); }
.svc-card .btn { align-self: flex-start; margin-top: var(--s-3); }
.badge { position: absolute; z-index: 2; left: 50%; bottom: 16px; transform: translateX(-50%); background: rgb(23 17 14 / .9); color: var(--text); border: 1px solid var(--line); font: 600 .875rem/1 var(--sans); padding: 8px 14px; border-radius: var(--r-pill); white-space: nowrap; }
.services-progress { display: none; }

/* terapeutas */
.ters { margin-top: var(--s-7); display: grid; gap: var(--s-8); }
.ter { width: 72%; }
.ter:nth-child(even) { margin-left: auto; }
.ter .photo { aspect-ratio: 3 / 4; margin-bottom: var(--s-5); }
.ter .eyebrow { margin-bottom: var(--s-2); }

/* depoimentos */
.quotes { margin-top: var(--s-7); display: grid; gap: var(--s-7); }
.quote + .quote::before { content: ""; display: block; width: 10px; height: 10px; background: var(--amber); transform: rotate(45deg); margin: 0 0 var(--s-7); }
.quote blockquote p { font: italic 400 1.75rem/1.3 var(--display); }
.quote figcaption { margin-top: var(--s-4); font-weight: 600; }
.quote figcaption .muted { font-weight: 400; }

/* presente */
.gift-grid { margin-top: var(--s-7); display: grid; gap: var(--s-7); }
.gift-cards { display: grid; gap: var(--s-5); align-content: start; }
.card { background: var(--surface); border-radius: var(--r-md); padding: var(--s-6) var(--s-5); }
.gift { border-top: 2px solid var(--amber); display: flex; flex-direction: column; gap: var(--s-3); align-items: flex-start; }
.gift .btn { margin-top: var(--s-3); }
.gift-photo { width: 78%; margin-inline: auto; }
.gift-photo .photo { aspect-ratio: 3 / 4; }

/* faq */
.faq-grid { display: grid; gap: var(--s-6); }
details { border-bottom: 1px solid var(--line); }
details:first-child { border-top: 1px solid var(--line); }
summary { min-height: 56px; display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); cursor: pointer; font-weight: 600; padding-block: var(--s-3); list-style: none; }
summary::-webkit-details-marker { display: none; }
.plus { position: relative; flex: none; width: 20px; height: 20px; transition: transform var(--dur-1) var(--ease); }
.plus::before, .plus::after { content: ""; position: absolute; background: var(--amber); left: 0; right: 0; top: 9px; height: 2px; }
.plus::after { transform: rotate(90deg); }
details[open] .plus { transform: rotate(45deg); }
details p { padding-bottom: var(--s-5); max-width: 60ch; }

/* agendar */
.book { padding-bottom: max(152px, 88px + 56px); }
.book-grid { display: grid; gap: var(--s-7); grid-template-areas: "intro" "panel" "photo"; }
.book-intro { grid-area: intro; }
.book-panel { grid-area: panel; }
.book-photo { grid-area: photo; width: 70%; margin-inline: auto; }
.book-photo .photo { aspect-ratio: 3 / 4; }
.book-where { margin-top: var(--s-5); }
.form, .success { padding: var(--s-6) var(--s-5); display: grid; gap: var(--s-5); }
.field { display: grid; gap: var(--s-2); border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: 1rem; padding: 0; }
input[type="text"], input[type="tel"], input[type="date"], select, textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; background: var(--surface-2); color: var(--text); border: 1px solid rgb(239 230 218 / .40);
  border-radius: var(--r-sm); font: 400 1rem/1.4 var(--sans); color-scheme: dark;
}
textarea { min-height: 96px; resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-color: var(--amber); }
.pills { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.pill { position: relative; display: block; }
.pill input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.pill span { display: flex; align-items: center; min-height: 48px; padding: 0 var(--s-4); border: 1px solid rgb(239 230 218 / .40); border-radius: var(--r-pill); background: var(--surface-2); font-weight: 500; }
.pill input:checked + span { background: var(--amber-soft); border-color: var(--amber); color: var(--amber); }
.pill input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 3px; }
.alt-wa { font-size: 1rem; }
.wa-link { display: inline-block; padding-block: 12px; }
.summary { display: grid; gap: var(--s-3); }
.summary div { display: grid; gap: 2px; border-bottom: 1px solid var(--line); padding-bottom: var(--s-3); }
.summary dt { font: 600 .875rem/1.4 var(--sans); text-transform: uppercase; letter-spacing: .12em; color: var(--amber); }
.success[hidden], .form[hidden] { display: none; }
.note { font-size: 1rem; }

/* rodapé */
.footer { border-top: 1px solid var(--amber); padding-block: var(--s-8) var(--s-6); padding-bottom: 112px; }
.footer-grid { display: grid; gap: var(--s-6); }
.footer-brand { font-size: 1.75rem; line-height: 1.15; margin: 0 0 var(--s-2); max-width: 16ch; }
.footer-h { font: 600 .875rem/1.4 var(--sans); text-transform: uppercase; letter-spacing: .16em; color: var(--amber); margin-bottom: var(--s-3); }
.footer p + p { margin-top: var(--s-3); }
.footer nav { display: flex; flex-direction: column; }
.footer nav a { display: flex; align-items: center; min-height: 44px; min-width: 44px; text-decoration: none; }
.legal { margin-top: var(--s-7); font-size: 1rem; }
.nowrap { white-space: nowrap; }
.hint { font-size: 1rem; color: var(--muted); }
.hint:empty { margin-top: -8px; }
@media (hover: hover) { .footer nav a:hover { color: var(--amber); } }

/* reveals (só com JS e sem reduce) */
html.js-motion [data-reveal], html.js-motion [data-intro] { opacity: 0; }

/* ---------- tablet ---------- */
@media (min-width: 768px) {
  .steps { grid-template-columns: 1fr 1fr; column-gap: var(--s-6); }
  .quotes { grid-template-columns: repeat(3, 1fr); gap: var(--s-6); }
  .quote + .quote::before { display: none; }
  .hero .link-quiet { display: inline-flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ters { gap: var(--s-8); }
  .hero-copy { padding-bottom: 112px; }
  .ters { grid-template-columns: repeat(3, 1fr); gap: var(--s-5); align-items: start; }
  .ter { width: 100%; margin: 0 !important; }
  .ter:nth-child(2) { margin-top: 48px !important; }
  .philo-grid { grid-template-columns: 5fr 6fr; gap: var(--s-7); }
  .philo-photo { width: 100%; max-width: 340px; margin: 0; }
  .gift-grid { grid-template-columns: 1fr 1fr; gap: var(--s-6); align-items: center; }
  .gift-photo { width: 100%; max-width: 340px; }
  .book-photo { width: 100%; max-width: 300px; }
  .step-photo { width: 120px; height: 160px; }
  .step { grid-template-columns: 120px 1fr; }
}

/* ---------- desktop ---------- */
@media (min-width: 1024px) {
  .fab, .menu-toggle, .menu, .header-wa { display: none !important; }
  .nav-desktop { display: flex; gap: var(--s-6); font-weight: 500; }
  .nav-desktop a { text-decoration: none; padding-block: 12px; }
  .header-cta { display: inline-flex; min-height: 44px; padding: 0 var(--s-5); }
  .site-header { padding-inline: var(--edge); gap: var(--s-6); }
  .nav-desktop { margin-left: auto; }
  @media (hover: hover) { .nav-desktop a:hover { color: var(--amber); } }

  .hero { align-items: center; }
  .hero-media { left: auto; width: 58.333%; right: 0; }
  .hero-media .photo { inset: 0; height: auto; }
  .hero-media .photo img { object-position: 50% 50%; }
  .hero-media::after { background: linear-gradient(90deg, var(--bg) 0, rgb(23 17 14 / .6) 25%, transparent 60%), linear-gradient(to top, var(--bg), transparent 25%); }
  .hero-copy { padding-block: 120px 80px; }
  .hero-copy > * { max-width: 41%; }
  .hero h1 { max-width: 12ch; }
  .hero-meta { display: block; margin-top: var(--s-7); font-size: 1rem; }

  .philo-grid { grid-template-columns: 5fr 6fr; gap: var(--s-9); }
  .philo-photo { width: 100%; max-width: 460px; }
  .steps { grid-template-columns: repeat(4, 1fr); column-gap: var(--s-6); margin-top: var(--s-8); align-items: start; }
  .step { grid-template-columns: 1fr; border: 0 !important; padding: 0; align-items: start; }
  .step-photo { width: 100%; height: auto; aspect-ratio: 3 / 4; }
  .step-body { padding-top: var(--s-2); }

  .ters { grid-template-columns: repeat(3, 1fr); gap: var(--s-7); align-items: start; }
  .ter { width: 100%; margin: 0 !important; }
  .ter:nth-child(2) { margin-top: 64px !important; }
  .gift-grid { grid-template-columns: 1fr 1fr; gap: var(--s-8); align-items: center; }
  .gift-photo { width: 100%; max-width: 420px; }
  .faq-grid { grid-template-columns: 4fr 7fr; gap: var(--s-9); align-items: start; }
  .faq-head { position: sticky; top: 120px; }
  .book-grid { grid-template-columns: 5fr 7fr; grid-template-areas: "intro panel" "photo panel"; column-gap: var(--s-9); align-items: start; }
  .book-photo { width: 70%; margin: var(--s-6) 0 0; }
  .book { padding-bottom: clamp(88px, 60px + 6vw, 152px); }
  .form, .success { padding: var(--s-7); }
  .footer { padding-bottom: var(--s-6); }
  .footer-grid { grid-template-columns: 1.3fr 1.3fr 1.2fr .8fr; }

  /* serviços: trilho pinado (só com JS e sem reduce) */
  html.js-motion .services {
    height: 100vh; min-height: 640px; padding-block: 64px 0; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    align-items: center; overflow: hidden; position: relative;
  }
  html.js-motion .services-head { margin: 0; padding: 0 var(--s-5) 0 var(--edge); }
  html.js-motion .services-controls { display: none; }
  html.js-motion .services-viewport { padding-block: 10px; overflow-x: clip; scroll-snap-type: none; padding-inline: 0; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 72px); mask-image: linear-gradient(90deg, transparent 0, #000 72px); }
  html.js-motion .svc-card { flex-basis: min(36vw, 520px); scroll-snap-align: none; }
  html.js-motion .services-track { gap: var(--s-5); }
  html.js-motion .svc-card .photo { aspect-ratio: 4 / 5; max-height: min(54vh, calc(100vh - 380px)); width: 100%; }
  html.js-motion .services-progress { display: block; position: absolute; left: var(--edge); right: var(--edge); bottom: 32px; height: 2px; background: var(--line); }
  html.js-motion .services-progress span { display: block; height: 100%; background: var(--amber); transform: scaleX(0); transform-origin: left; }
  /* sem pin (reduce): carrossel nativo com cards do tamanho do desktop */
  html:not(.js-motion) .svc-card { flex-basis: min(36vw, 420px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
