/* =========================================================
   Mãe Rosa — Tarot e orientação espiritual
   ========================================================= */

:root {
  /* Paleta — tirada da logo (vinho #4F000E + monograma dourado) */
  --vinho-noite: #2A0208;
  --vinho: #4F000E;
  --vinho-claro: #6B0D1F;
  --bordo: #8E1F33;
  --grena: #7A1428;
  --ouro: #D9AE68;
  --ouro-claro: #F3D08E;
  --champanhe: #F3D9A8;
  --ouro-foil: linear-gradient(172deg, #FFE6B2 8%, #E9C27F 48%, #C8964F 78%, #F1D39A 100%);
  --blush: #F7EDE8;
  --papel: #FDF8F4;
  --tinta: #2E0A10;
  --tinta-suave: #6B4A4E;
  --claro: #FBEFE4;
  --claro-suave: #DCC3B6;

  /* Tipografia */
  --serif: "Cormorant Garamond", "Cormorant", Garamond, Georgia, serif;
  --sans: "Montserrat", "Helvetica Neue", system-ui, sans-serif;

  /* Escala: Montserrat no texto (17px); a Cormorant tem olho pequeno,
     por isso os tamanhos em serifa ficam um degrau acima */
  --fs-sm: 0.875rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.75rem;
  --fs-lg: clamp(2rem, 1.6rem + 1.5vw, 2.6rem);
  --fs-xl: clamp(2.6rem, 1.9rem + 2.9vw, 4rem);
  --fs-hero: clamp(4.25rem, 2.3rem + 8.6vw, 8.75rem);

  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 3rem + 7vw, 8.5rem);
  --header-h: 72px;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-card: cubic-bezier(.34, 1.3, .5, 1);
}

/* ---------- Base ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--vinho-noite);
  color: var(--tinta);
  font-family: var(--sans);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

html:has(body.is-locked),
body.is-locked { overflow: hidden; overscroll-behavior: none; }

img, svg { display: block; max-width: 100%; }

h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul[role="list"], ol { list-style: none; padding: 0; }

a { color: inherit; }

button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--ouro);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--ouro); color: var(--vinho-noite); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 100;
  padding: .6rem 1rem;
  background: var(--ouro);
  color: var(--vinho-noite);
  border-radius: 999px;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .2s;
}
.skip-link:focus { transform: none; }

.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Botões ---------- */

.btn {
  --btn-bg: transparent;
  --btn-fg: currentColor;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 52px;
  padding: .8rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease-out), box-shadow .25s;
}
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn:active { transform: scale(.97); }

.btn--ouro {
  --btn-bg: var(--ouro);
  --btn-fg: var(--vinho-noite);
}
.btn--ouro:hover {
  --btn-bg: #E7C283;
  box-shadow: 0 10px 30px -10px rgba(217, 174, 104, .7);
}

.btn--ghost {
  border-color: rgba(251, 239, 228, .35);
  --btn-fg: var(--claro);
}
.btn--ghost:hover {
  border-color: var(--claro);
  --btn-bg: rgba(251, 239, 228, .06);
}

.btn--vinho {
  --btn-bg: var(--vinho);
  --btn-fg: var(--champanhe);
}
.btn--vinho:hover {
  --btn-bg: var(--bordo);
  box-shadow: 0 10px 30px -12px rgba(79, 0, 14, .6);
}

.btn--sm { min-height: 44px; padding: .55rem 1.2rem; font-size: .95rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  color: var(--claro);
}
/* O fundo desfocado fica numa camada própria: `backdrop-filter` no
   próprio header prenderia o menu mobile (position: fixed) dentro dele */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(42, 2, 8, .88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(243, 217, 168, .15);
  opacity: 0;
  transition: opacity .35s;
}
.site-header.is-solid::before { opacity: 1; }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  position: relative;
  z-index: 2; /* fica visível sobre o menu mobile aberto */
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
}
.brand__logo {
  width: auto;
  height: 54px;
  transition: transform .6s var(--ease-out), filter .6s;
}
.brand:hover .brand__logo {
  transform: translateY(-2px) scale(1.04);
  filter: drop-shadow(0 0 10px rgba(243, 208, 142, .45));
}
.brand__name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1;
}

.nav { display: flex; align-items: center; gap: 2rem; }
.nav__list { display: flex; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.nav__list a {
  position: relative;
  font-size: 1rem;
  text-decoration: none;
  color: var(--claro-suave);
  transition: color .2s;
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: var(--ouro);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease-out);
}
.nav__list a:hover,
.nav__list a.is-current { color: var(--claro); }
.nav__list a:hover::after,
.nav__list a.is-current::after { transform: scaleX(1); }

.nav__cta { min-height: 44px; padding: .5rem 1.25rem; font-size: .95rem; }

.menu-toggle {
  display: none;
  position: relative;
  z-index: 2;
  width: 48px; height: 48px;
  margin-right: -10px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  position: absolute;
  left: 13px;
  width: 22px; height: 1.5px;
  background: var(--claro);
  border-radius: 2px;
  transition: transform .35s var(--ease-out), opacity .2s;
}
.menu-toggle__bars { top: 23px; }
.menu-toggle__bars::before,
.menu-toggle__bars::after { content: ""; left: 0; }
.menu-toggle__bars::before { transform: translateY(-7px); }
.menu-toggle__bars::after { transform: translateY(7px); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: rotate(-45deg); }

@media (max-width: 900px) {
  .menu-toggle { display: block; }

  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    padding: var(--header-h) var(--gutter) 2rem;
    background: var(--vinho-noite);
    background-image: radial-gradient(circle at 50% 30%, rgba(142, 31, 51, .35), transparent 60%);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s, visibility 0s .35s;
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity .35s;
  }
  .nav__list { flex-direction: column; align-items: center; gap: 1.25rem; }
  .nav__list a {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 500;
    font-size: 2.6rem;
    color: var(--claro);
  }
  .nav__list li {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .4s, transform .5s var(--ease-out);
  }
  .nav.is-open .nav__list li { opacity: 1; transform: none; }
  .nav.is-open .nav__list li:nth-child(2) { transition-delay: .05s; }
  .nav.is-open .nav__list li:nth-child(3) { transition-delay: .1s; }
  .nav.is-open .nav__list li:nth-child(4) { transition-delay: .15s; }
  .nav__cta { min-height: 52px; padding-inline: 2rem; font-size: 1rem; }
}

/* ---------- Hero / a mesa ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 2rem) 0 4rem;
  color: var(--claro);
  background:
    radial-gradient(ellipse 60% 55% at 72% 50%, rgba(142, 31, 51, .55), transparent 70%),
    radial-gradient(ellipse 50% 40% at 10% 100%, rgba(217, 174, 104, .12), transparent 70%),
    linear-gradient(180deg, var(--vinho-noite), #3A020C);
}

/* grão sutil */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .12;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.hero__stars { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.star {
  position: absolute;
  width: 2px; height: 2px;
  border-radius: 50%;
  background: var(--claro);
  opacity: .5;
  animation: twinkle var(--d, 4s) ease-in-out var(--delay, 0s) infinite;
}
.star--big { width: 3px; height: 3px; background: var(--champanhe); box-shadow: 0 0 6px var(--ouro); }

@keyframes twinkle {
  0%, 100% { opacity: .15; }
  50% { opacity: .85; }
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.hero__title { display: flex; flex-direction: column; gap: .9rem; }

.hero__name {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: var(--fs-hero);
  line-height: .88;
  letter-spacing: -.02em;
  /* dourado metálico, como o monograma da logo */
  color: var(--champanhe);
  background: var(--ouro-foil);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-wrap: balance;
  padding-bottom: .08em; /* evita cortar a descida do itálico */
}

.hero__role {
  font-family: var(--sans);
  font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem);
  font-weight: 400;
  letter-spacing: .03em;
  color: var(--ouro);
}

.hero__lead {
  max-width: 34ch;
  margin-top: 1.5rem;
  font-size: clamp(1.125rem, 1rem + .4vw, 1.3rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--claro-suave);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2.25rem;
}

.hero__note {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-top: 2rem;
  font-size: var(--fs-sm);
  color: var(--claro-suave);
}
.hero__note svg { width: 12px; height: 12px; color: var(--ouro-claro); flex: none; }

/* entrada orquestrada do hero */
.hero__name,
.hero__role,
.hero__lead,
.hero__actions,
.hero__note {
  animation: rise 1s var(--ease-out) both;
}
.hero__role { animation-delay: .12s; }
.hero__lead { animation-delay: .22s; }
.hero__actions { animation-delay: .32s; }
.hero__note { animation-delay: .42s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* mesa */
.table {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-block: 1rem;
}

.table__wheel {
  position: absolute;
  top: 50%; left: 50%;
  width: min(560px, 130%);
  aspect-ratio: 1;
  translate: -50% -50%;
  z-index: -1;
  color: var(--champanhe);
  opacity: .5;
  animation: spin 180s linear infinite;
}
@keyframes spin { to { rotate: 360deg; } }

.table__prompt {
  max-width: 26ch;
  margin-bottom: 2.5rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: var(--fs-md);
  line-height: 1.2;
  color: var(--claro);
  animation: rise 1s var(--ease-out) .5s both;
}

.spread {
  --card-w: clamp(92px, 25vw, 158px);
  --gap: clamp(.6rem, 2.5vw, 1.4rem);
  display: flex;
  justify-content: center;
  gap: var(--gap);
  perspective: 1400px;
}

.card {
  --r: 0deg;
  --lift: 0px;
  position: relative;
  width: var(--card-w);
  aspect-ratio: 7 / 12;
  padding: 0;
  border: 0;
  background: none;
  border-radius: 10px;
  cursor: pointer;
  transform: translateY(var(--lift)) rotate(var(--r));
  transition: transform .45s var(--ease-card), opacity .45s, filter .45s;
  -webkit-tap-highlight-color: transparent;
}
.card:nth-child(1) { --r: -5deg; --from-x: calc(var(--card-w) + var(--gap)); }
.card:nth-child(2) { --r: 0deg; --lift: -10px; --from-x: 0px; }
.card:nth-child(3) { --r: 5deg; --from-x: calc(-1 * (var(--card-w) + var(--gap))); }

.spread.is-dealing .card {
  animation: deal .9s var(--ease-out) backwards;
}
.spread.is-dealing .card:nth-child(1) { animation-delay: .75s; }
.spread.is-dealing .card:nth-child(2) { animation-delay: .6s; }
.spread.is-dealing .card:nth-child(3) { animation-delay: .9s; }

@keyframes deal {
  from {
    opacity: 0;
    transform: translate(var(--from-x), -40px) rotate(0deg) scale(.92);
  }
}

.spread:not(.has-pick) .card:hover,
.spread:not(.has-pick) .card:focus-visible {
  transform: translateY(calc(var(--lift) - 14px)) rotate(var(--r));
}
.spread:not(.has-pick) .card:hover .card__inner,
.spread:not(.has-pick) .card:focus-visible .card__inner {
  box-shadow: 0 26px 50px -18px rgba(0, 0, 0, .7), 0 0 0 1px rgba(243, 208, 142, .5), 0 0 40px -6px rgba(217, 174, 104, .45);
}

.card__inner {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  transform-style: preserve-3d;
  transition: transform .9s var(--ease-out), box-shadow .45s;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .7);
}

.card__face {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.card__back svg { width: 100%; height: 100%; }

.card__front {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 10% 8% 11%;
  background:
    radial-gradient(circle at 50% 45%, rgba(217, 174, 104, .18), transparent 60%),
    var(--papel);
  color: var(--tinta);
  transform: rotateY(180deg);
}
.card__front::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(122, 20, 40, .45);
  border-radius: 6px;
  pointer-events: none;
}
.card__numeral {
  font-family: var(--serif);
  font-size: clamp(.95rem, .7rem + .7vw, 1.3rem);
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--grena);
}
.card__glyph {
  width: 62%;
  color: var(--bordo);
}
.card__name {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(.85rem, .62rem + .7vw, 1.2rem);
  line-height: 1.1;
  text-wrap: balance;
}

.card.is-flipped .card__inner { transform: rotateY(180deg); }

/* depois de distribuídas, as cartas flutuam convidando o toque/clique.
   Usa a propriedade `translate` para não brigar com o `transform` do hover */
.spread.is-ready:not(.has-pick) .card {
  animation: float 3.4s ease-in-out infinite;
}
.spread.is-ready:not(.has-pick) .card:nth-child(2) { animation-delay: -1.1s; }
.spread.is-ready:not(.has-pick) .card:nth-child(3) { animation-delay: -2.2s; }
@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -7px; }
}

/* toque: a carta afunda e brilha ao ser pressionada */
.spread:not(.has-pick) .card:active {
  transform: translateY(var(--lift)) rotate(var(--r)) scale(.96);
}
.spread:not(.has-pick) .card:active .card__inner {
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .7), 0 0 0 1px rgba(243, 208, 142, .6), 0 0 40px -4px rgba(217, 174, 104, .55);
}

.spread.has-pick .card { cursor: default; }
.card.is-chosen {
  z-index: 2;
  transform: translateY(calc(var(--lift) - 16px)) rotate(0deg) scale(1.06);
}
.card.is-chosen .card__inner {
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8), 0 0 60px -10px rgba(217, 174, 104, .6);
}
.card.is-muted {
  opacity: .28;
  filter: saturate(.4);
  transform: translateY(calc(var(--lift) + 8px)) rotate(var(--r)) scale(.94);
}

/* leitura */
.reading {
  max-width: 34rem;
  margin-top: 2rem;
  animation: rise .7s var(--ease-out) .55s both;
}
/* No desktop o espaço fica reservado para a mesa não "pular" ao revelar a carta */
.reading[hidden] { display: block; visibility: hidden; animation: none; }
@media (max-width: 900px) {
  .reading[hidden] { display: none; }
}
.reading__label {
  font-size: var(--fs-sm);
  color: var(--claro-suave);
}
.reading__title {
  margin-top: .15rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: var(--fs-lg);
  line-height: 1.1;
  color: var(--blush);
}
.reading__text {
  max-width: 38ch;
  margin: .6rem auto 0;
  font-weight: 400;
  color: var(--claro);
}
.reading__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem;
  margin-top: 1.4rem;
}
.reading__disclaimer {
  margin-top: 1rem;
  font-size: .8rem;
  color: var(--claro-suave);
  opacity: .8;
}

@media (max-width: 900px) {
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 2.5rem); }
  .hero__grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .hero__text { text-align: center; }
  .hero__title { align-items: center; }
  .hero__lead { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero__note { display: block; }
  .hero__note svg { display: inline-block; margin-right: .4rem; vertical-align: -1px; }
  .table__wheel { width: min(520px, 118vw); }
}

/* ---------- Seções ---------- */

.section { position: relative; padding-block: var(--section-y); }
.section--light { background: var(--blush); color: var(--tinta); }
.section--paper { background: var(--papel); color: var(--tinta); }
.section--dark {
  background:
    radial-gradient(ellipse 60% 60% at 85% 20%, rgba(142, 31, 51, .55), transparent 70%),
    linear-gradient(180deg, var(--vinho), #3E000B);
  color: var(--claro);
}

.section-head {
  max-width: 40rem;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}
.section-head--left { margin-inline: 0; text-align: left; }

.section-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: var(--fs-xl);
  line-height: 1.02;
  letter-spacing: -.01em;
  text-wrap: balance;
}

.section-intro {
  max-width: 36rem;
  margin: 1.1rem auto 0;
  color: var(--tinta-suave);
  text-wrap: pretty;
}
.section-head--left .section-intro { margin-inline: 0; }

/* ---------- Tarot e búzios ---------- */

.oracles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

.oracle {
  display: flex;
  flex-direction: column;
  background: var(--blush);
  border: 1px solid rgba(142, 31, 51, .16);
  border-radius: 24px;
  overflow: hidden;
}

.oracle__stage {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 70% at 50% 45%, rgba(142, 31, 51, .85), transparent 75%),
    linear-gradient(180deg, var(--vinho), var(--vinho-noite));
}

/* tarot: leque de cartas que se abre */
.oracle__card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 24%;
  height: auto;
  aspect-ratio: 7 / 12;
  translate: -50% -50%;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .45));
  transition: transform .7s var(--ease-card);
}
.oracle__card:nth-child(1) { transform: translateX(-58%) translateY(3%) rotate(-11deg); }
.oracle__card:nth-child(2) { transform: translateY(-4%); }
.oracle__card:nth-child(3) { transform: translateX(58%) translateY(3%) rotate(11deg); }
.oracle:hover .oracle__card:nth-child(1),
.oracle.is-lit .oracle__card:nth-child(1) { transform: translateX(-80%) translateY(4%) rotate(-16deg); }
.oracle:hover .oracle__card:nth-child(2),
.oracle.is-lit .oracle__card:nth-child(2) { transform: translateY(-10%); }
.oracle:hover .oracle__card:nth-child(3),
.oracle.is-lit .oracle__card:nth-child(3) { transform: translateX(80%) translateY(4%) rotate(16deg); }

/* búzios: peneira de palha */
.tray {
  position: absolute;
  left: 50%;
  top: 42%;
  height: 66%;
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 58%, rgba(70, 35, 8, .22) 59%, transparent 60.5%),
    repeating-conic-gradient(rgba(90, 50, 15, .16) 0 3deg, transparent 3deg 6deg),
    repeating-radial-gradient(circle, #D2A96B 0 3px, #C0934F 3px 6px);
  box-shadow:
    inset 0 0 0 7px #9A6A30,
    inset 0 0 0 9px #CFA25F,
    inset 0 0 28px rgba(60, 25, 5, .45),
    0 22px 40px -14px rgba(0, 0, 0, .7);
}
.tray.is-tossing { animation: sway .55s ease-in-out; }
@keyframes sway {
  25% { rotate: -4deg; }
  70% { rotate: 3deg; }
}

.buzio {
  position: absolute;
  width: 10%;
  height: auto;
  aspect-ratio: 40 / 56;
  transform: translate(-50%, -50%) rotate(var(--r, 0deg));
  filter: drop-shadow(1px 2px 1.5px rgba(40, 15, 0, .5));
  transition: left .8s var(--ease-out), top .8s var(--ease-out), transform .8s var(--ease-out);
}

.oracle__toss {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  min-height: 42px;
  padding: .45rem 1.1rem;
  border: 1px solid rgba(243, 217, 168, .5);
  border-radius: 999px;
  background: rgba(42, 2, 8, .5);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  color: var(--champanhe);
  font-family: var(--sans);
  font-size: .88rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.oracle__toss:hover { background: var(--ouro); border-color: var(--ouro); color: var(--vinho-noite); }
.oracle__toss:active { transform: scale(.96); }

.oracle__caption {
  margin-top: -.3rem;
  font-size: .8rem;
  font-style: italic;
  line-height: 1.45;
  color: var(--tinta-suave);
  opacity: .85;
}

.oracle__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: .9rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.oracle__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: var(--fs-lg);
  line-height: 1.1;
}
.oracle__text { max-width: 46ch; color: var(--tinta-suave); text-wrap: pretty; }
.oracle__body .btn { margin-top: auto; }

@media (max-width: 999px) {
  .oracles { grid-template-columns: 1fr; max-width: 34rem; margin-inline: auto; }
}
/* no celular a peneira ganha mais altura e a legenda fica abaixo dela */
@media (max-width: 560px) {
  .oracle__stage--buzios { aspect-ratio: 1; }
  .oracle__stage--buzios .tray { top: 41%; height: 64%; }
  .oracle__toss { left: .75rem; bottom: .75rem; }
}

/* limpeza espiritual: vela acesa, fumaça e ervas */
.candle {
  position: absolute;
  top: 3%;
  left: 0;
  width: 100%;
  height: 76%;
  overflow: visible;
}
.candle__glow-wrap,
.candle__smoke { opacity: 0; transition: opacity 1s ease; }
.candle__glow {
  transform-box: fill-box;
  transform-origin: center;
  animation: candle-glow 3.2s ease-in-out infinite;
}
.candle__flame-wrap {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  transform: scale(0);
  transition: transform .6s var(--ease-card);
}
.candle__flame {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: flicker 1.8s ease-in-out infinite;
}
.oracle__stage--limpeza.is-lit .candle__glow-wrap,
.oracle__stage--limpeza.is-lit .candle__smoke { opacity: 1; }
.oracle__stage--limpeza.is-lit .candle__flame-wrap { transform: scale(1); }

.smoke {
  stroke-width: 2.4;
  stroke-dasharray: 26 90;
  opacity: 0;
  animation: smoke 3.8s linear infinite;
}
.smoke--2 { stroke-width: 1.8; animation-duration: 4.6s; animation-delay: -1.4s; }
.smoke--3 { stroke-width: 1.5; animation-duration: 5.2s; animation-delay: -2.9s; }

.candle__herb {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: herb-sway 6s ease-in-out infinite;
}
.candle__herb--late { animation-delay: -3s; }

@keyframes flicker {
  0%, 100% { transform: scale(1, 1) rotate(0deg); }
  25% { transform: scale(.94, 1.06) rotate(-2deg); }
  50% { transform: scale(1.03, .96) rotate(1.5deg); }
  75% { transform: scale(.97, 1.04) rotate(-1deg); }
}
@keyframes candle-glow {
  0%, 100% { opacity: .85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}
@keyframes smoke {
  0% { stroke-dashoffset: 0; opacity: 0; }
  20% { opacity: .5; }
  75% { opacity: .25; }
  100% { stroke-dashoffset: -116; opacity: 0; }
}
@keyframes herb-sway {
  0%, 100% { rotate: 0deg; }
  50% { rotate: 2.5deg; }
}

/* ---------- Consultas (arcos) ---------- */

.arches {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
}

.arch {
  --mx: 50%;
  --my: 30%;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(3rem, 5vw, 4rem) clamp(1.5rem, 2.5vw, 2.25rem) 2.25rem;
  text-align: center;
  background: var(--papel);
  border: 1px solid rgba(142, 31, 51, .22);
  border-radius: 999px 999px 18px 18px;
  overflow: hidden;
  transition: border-color .3s, transform .5s var(--ease-out);
}
/* luz de vela que segue o cursor */
.arch::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(217, 174, 104, .22), transparent 70%);
  opacity: 0;
  transition: opacity .4s;
}
.arch:hover,
.arch.is-lit { border-color: rgba(122, 20, 40, .45); }
.arch:hover::before,
.arch.is-lit::before { opacity: 1; }
/* arco interno */
.arch::after {
  content: "";
  position: absolute;
  inset: 8px;
  z-index: -1;
  border: 1px solid rgba(142, 31, 51, .12);
  border-radius: 999px 999px 12px 12px;
  pointer-events: none;
}

.arch__icon {
  width: 64px; height: 64px;
  margin-bottom: 1.5rem;
  color: var(--bordo);
  transition: transform .6s var(--ease-out);
}
.arch:hover .arch__icon,
.arch.is-lit .arch__icon { transform: translateY(-4px) rotate(-6deg); }

/* no celular a luz acende quando o arco passa pelo centro da tela */
@media (hover: none) {
  .arch::before { transition: opacity .8s; }
  .arch:active { transform: scale(.985); }
}

.arch__title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: var(--fs-lg);
  line-height: 1.1;
}
.arch__text {
  margin-top: .9rem;
  color: var(--tinta-suave);
  font-size: 1.05rem;
  text-wrap: pretty;
}
.arch__link {
  margin-top: auto;
  padding-top: 1.75rem;
  font-weight: 500;
  color: var(--grena);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: text-underline-offset .25s, color .25s;
}
.arch__link:hover { color: var(--bordo); text-underline-offset: 8px; }

@media (max-width: 860px) {
  .arches { grid-template-columns: 1fr; max-width: 30rem; margin-inline: auto; }
}

/* ---------- Como agendar (passos) ---------- */

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3.5rem);
  counter-reset: none;
}
/* linha que conecta os passos */
.steps::before {
  content: "";
  position: absolute;
  top: 2.4rem;
  left: 16.66%;
  right: 16.66%;
  height: 1px;
  background: linear-gradient(90deg, var(--ouro), var(--bordo));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.4s var(--ease-out);
}
.steps.is-visible::before { transform: scaleX(1); }

.step { position: relative; text-align: center; }
.step__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 4.8rem; height: 4.8rem;
  margin: 0 auto 1.5rem;
  border: 1px solid rgba(142, 31, 51, .35);
  border-radius: 50%;
  background: var(--papel);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.9rem;
  color: var(--grena);
}
.step__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: var(--fs-md);
  line-height: 1.2;
}
.step__text {
  max-width: 28ch;
  margin: .6rem auto 0;
  color: var(--tinta-suave);
}

@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 2.25rem; max-width: 26rem; margin-inline: auto; }
  .steps::before {
    top: 2.4rem; bottom: 2.4rem;
    left: 2.4rem; right: auto;
    width: 1px; height: auto;
    background: linear-gradient(180deg, var(--ouro), var(--bordo));
    transform: scaleY(0);
    transform-origin: top;
  }
  .steps.is-visible::before { transform: scaleY(1); }
  .step {
    display: grid;
    grid-template-columns: 4.8rem 1fr;
    column-gap: 1.25rem;
    text-align: left;
  }
  .step__num { grid-row: span 2; margin: 0; }
  .step__title { align-self: end; }
  .step__text { margin: .3rem 0 0; }
}

/* ---------- Presencial ---------- */

.presencial__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(3rem, 6vw, 6rem);
}

.presencial__text > p {
  max-width: 44ch;
  margin-top: 1.4rem;
  font-weight: 400;
  color: var(--claro-suave);
}

.checklist {
  display: grid;
  gap: .8rem;
  margin: 2rem 0 2.5rem;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
}
.checklist li::before {
  content: "";
  flex: none;
  width: 12px; height: 12px;
  margin-top: .5em;
  background: var(--ouro-claro);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0C10.6 6 14 9.4 20 10C14 10.6 10.6 14 10 20C9.4 14 6 10.6 0 10C6 9.4 9.4 6 10 0Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0C10.6 6 14 9.4 20 10C14 10.6 10.6 14 10 20C9.4 14 6 10.6 0 10C6 9.4 9.4 6 10 0Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* envelope */
.envelope-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding-top: 5rem;
}
.envelope-wrap__hint {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--claro-suave);
  transition: opacity .4s;
}
.envelope-wrap__hint.is-hidden { opacity: 0; }

.envelope {
  --w: min(360px, 82vw);
  position: relative;
  width: var(--w);
  aspect-ratio: 36 / 24;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: none;
  cursor: pointer;
  perspective: 900px;
  transition: transform .5s var(--ease-out);
}
.envelope:hover { transform: translateY(-4px) rotate(-1.5deg); }
.envelope[aria-expanded="true"]:hover { transform: none; }
.envelope:active { transform: scale(.97); }

/* quando entra na tela, o envelope balança para convidar o toque */
.envelope.is-nudging:not([aria-expanded="true"]) {
  animation: nudge 1.1s var(--ease-out) 2;
}
@keyframes nudge {
  0%, 100% { rotate: 0deg; translate: 0 0; }
  20% { rotate: -3deg; translate: 0 -6px; }
  40% { rotate: 2.5deg; translate: 0 -4px; }
  60% { rotate: -1.5deg; translate: 0 -2px; }
  80% { rotate: 1deg; translate: 0 0; }
}

.envelope__back,
.envelope__pocket,
.envelope__flap {
  position: absolute;
  inset: 0;
  border-radius: 6px;
}
/* envelope em papel champanhe, lacrado em vinho com o monograma */
.envelope__back {
  z-index: 1;
  background: #B98E52;
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .8);
}
.envelope__pocket {
  z-index: 3;
  background: linear-gradient(160deg, #EDD3A0, #D2AB6C);
  clip-path: polygon(0 0, 50% 55%, 100% 0, 100% 100%, 0 100%);
}
.envelope__pocket::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(20deg, rgba(90, 40, 10, .18), transparent 50%);
  clip-path: polygon(0 100%, 50% 55%, 100% 100%);
}
.envelope__flap {
  z-index: 4;
  height: 60%;
  background: linear-gradient(180deg, #F4DDAE, #DDB97C);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform-origin: top center;
  transition: transform .6s var(--ease-out), z-index 0s .3s;
}
.envelope__seal {
  position: absolute;
  z-index: 5;
  top: 60%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 72px; height: 72px;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #A3283F, var(--vinho) 72%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .35), inset 0 -3px 6px rgba(0, 0, 0, .3), inset 0 0 0 3px rgba(0, 0, 0, .12);
  transition: opacity .3s, transform .4s var(--ease-out);
}
.envelope__seal img { width: auto; height: 50px; }

.envelope__letter {
  position: absolute;
  z-index: 2;
  left: 6%; right: 6%;
  top: 8%;
  height: 84%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: .35rem;
  padding: 1rem 1.25rem;
  background: var(--papel);
  border-radius: 4px;
  color: var(--tinta);
  text-align: center;
  transition: transform .8s var(--ease-out) 0s;
}
.envelope__letter-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.6rem;
  line-height: 1.1;
  color: var(--grena);
}
.envelope__letter-text {
  font-size: .95rem;
  line-height: 1.45;
  color: var(--tinta-suave);
}

.envelope[aria-expanded="true"] .envelope__flap {
  z-index: 0;
  transform: rotateX(180deg);
  transition: transform .6s var(--ease-out), z-index 0s .25s;
}
.envelope[aria-expanded="true"] .envelope__seal {
  opacity: 0;
  transform: scale(.6);
}
.envelope[aria-expanded="true"] .envelope__letter {
  transform: translateY(-58%);
  transition-delay: .35s;
}

@media (max-width: 860px) {
  .presencial__grid { grid-template-columns: 1fr; }
  .envelope-wrap { padding-top: 6rem; }
}

/* ---------- Sobre ---------- */

.sobre__grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}

.portrait { position: relative; max-width: 420px; width: 100%; justify-self: center; }
.portrait__frame {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px 14px 14px;
  background:
    radial-gradient(circle at 50% 45%, rgba(142, 31, 51, .9), transparent 62%),
    linear-gradient(180deg, var(--vinho), var(--vinho-noite));
  box-shadow: 0 30px 60px -30px rgba(46, 10, 16, .7);
  overflow: hidden;
}
.portrait__frame::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(243, 208, 142, .45);
  border-radius: 999px 999px 8px 8px;
}
.portrait__logo {
  position: relative;
  z-index: 1;
  width: 58%;
  height: auto;
  margin-bottom: 8%;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, .35));
}
.portrait__img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 999px 999px 14px 14px;
}

.portrait__badge {
  position: absolute;
  z-index: 2;
  right: -1rem;
  bottom: -1.75rem;
  display: flex;
  flex-direction: column;
  padding: 1rem 1.4rem;
  background: var(--papel);
  border-radius: 14px;
  box-shadow: 0 20px 40px -20px rgba(46, 10, 16, .5);
}
.portrait__number {
  font-family: var(--serif);
  font-size: 2.8rem;
  font-weight: 600;
  line-height: 1;
  color: var(--grena);
}
.portrait__caption { margin-top: .3rem; font-size: .9rem; color: var(--tinta-suave); }

.sobre__text > p {
  max-width: 46ch;
  margin-top: 1.25rem;
  color: var(--tinta-suave);
}
.sobre__text > .section-title + p { margin-top: 1.5rem; }

.values {
  display: grid;
  gap: 0;
  margin-top: 2.25rem;
  border-top: 1px solid rgba(142, 31, 51, .2);
}
.value {
  display: grid;
  grid-template-columns: minmax(8rem, .6fr) 1fr;
  gap: 1rem;
  padding-block: 1.1rem;
  border-bottom: 1px solid rgba(142, 31, 51, .2);
}
.value__title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.45rem;
  line-height: 1.2;
}
.value__text { color: var(--tinta-suave); font-size: 1.02rem; }

@media (max-width: 860px) {
  .sobre__grid { grid-template-columns: 1fr; }
  .portrait { max-width: 320px; }
  .portrait__badge { right: -.5rem; }
}
@media (max-width: 480px) {
  .value { grid-template-columns: 1fr; gap: .2rem; }
}

/* ---------- Trabalho social ---------- */

.social__grid {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5.5rem);
}

.social__text > p {
  max-width: 40ch;
  margin-top: 1.4rem;
  color: var(--claro-suave);
}

/* cada coluna soma uma foto 3:4 e uma 4:3, então as três
   terminam na mesma altura */
.social__mosaic {
  --gap: clamp(.5rem, 1.2vw, .9rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}
.social__col { display: flex; flex-direction: column; gap: var(--gap); }

.social__photo {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  background: var(--vinho-claro);
}
.social__photo--v { aspect-ratio: 3 / 4; }
.social__photo--h { aspect-ratio: 4 / 3; }

@media (max-width: 900px) {
  .social__grid { grid-template-columns: minmax(0, 1fr); }
}

/* no celular as fotos viram uma faixa com rolagem lateral */
@media (max-width: 600px) {
  .social__mosaic {
    display: flex;
    gap: .6rem;
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .social__mosaic::-webkit-scrollbar { display: none; }
  .social__col { display: contents; }
  .social__photo {
    flex: none;
    width: auto;
    height: 300px;
    scroll-snap-align: start;
  }
}

/* ---------- Depoimentos ---------- */

.depo__grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

/* vídeo em destaque: emoldurado como uma carta de tarot */
.depo-video {
  align-self: center;
  width: clamp(280px, 30vw, 360px);
  margin: 0;
}
.depo-video--largo { width: clamp(300px, 38vw, 460px); }
.depo-video__frame {
  position: relative;
  isolation: isolate;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 22px;
  background: var(--vinho-noite);
  box-shadow: 0 30px 60px -30px rgba(42, 2, 8, .55);
}
.depo-video__poster {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: var(--claro);
  text-align: left;
  cursor: pointer;
}
.depo-video__poster::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(42, 2, 8, .1) 35%, rgba(42, 2, 8, .92));
}
.depo-video__poster::after {
  content: "";
  position: absolute;
  inset: .7rem;
  border: 1px solid rgba(217, 174, 104, .6);
  border-radius: 15px;
  pointer-events: none;
}
/* sem frase por cima, a capa só escurece de leve */
.depo-video__poster:not(:has(.depo-video__quote))::before {
  background: linear-gradient(180deg, transparent 55%, rgba(42, 2, 8, .35));
}
.depo-video__poster:focus-visible { outline-offset: -6px; }
.depo-video__cover {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-out);
}
.depo-video__poster:hover .depo-video__cover { transform: scale(1.04); }

.depo-video__quote {
  padding: 0 1.8rem 1.1rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem);
  line-height: 1.2;
  text-wrap: balance;
}
.depo-video__quote::before {
  content: "“";
  display: block;
  height: .5em;
  font-size: 3.4rem;
  font-style: normal;
  line-height: 1;
  color: var(--ouro);
}

/* o play fica no rodapé da capa para não cobrir o rosto */
.depo-video__play {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: .65rem;
  margin: 0 1.4rem 1.4rem;
  padding: .45rem 1.15rem .45rem .45rem;
  border-radius: 999px;
  background: var(--ouro-foil);
  color: var(--vinho-noite);
  font-weight: 600;
  font-size: .95rem;
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .7);
  transition: transform .4s var(--ease-card);
}
.depo-video__play-icon {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--vinho-noite);
  color: var(--ouro-claro);
}
.depo-video__play-icon svg { width: 16px; height: 16px; margin-left: 2px; }
.depo-video__poster:hover .depo-video__play { transform: scale(1.04); }

.depo-video__player {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}
.depo-video__player:focus { outline: none; }

.depo-video__caption { display: grid; gap: .1rem; margin-top: 1rem; }
.depo-video__name {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.15;
}
.depo-video__tag { font-size: var(--fs-sm); color: var(--tinta-suave); }

/* espaço reservado do vídeo */
.depo-video__frame--vazio {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  padding: 2rem;
  border: 1.5px dashed rgba(142, 31, 51, .35);
  background:
    repeating-linear-gradient(135deg, rgba(79, 0, 14, .035) 0 10px, transparent 10px 20px),
    var(--blush);
  color: var(--grena);
  text-align: center;
  box-shadow: none;
}
.depo-video__ph-icon {
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  border: 1px solid rgba(142, 31, 51, .3);
  border-radius: 50%;
}
.depo-video__ph-icon svg { width: 26px; height: 26px; margin-left: 3px; }
.depo-video__ph-title { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; line-height: 1.15; }
.depo-video__ph-hint { max-width: 16rem; font-size: .8rem; line-height: 1.45; color: var(--tinta-suave); }

/* avaliações no formato do Google */
.reviews__summary {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding-bottom: 1.6rem;
  margin-bottom: 1.6rem;
  border-bottom: 1px solid rgba(142, 31, 51, .18);
}
.reviews__score {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(3.4rem, 2.8rem + 2vw, 4.5rem);
  line-height: .9;
  color: var(--vinho);
}
.reviews__detail { display: grid; gap: .4rem; }
.reviews__count {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: var(--fs-sm);
  color: var(--tinta-suave);
}
.reviews__logo { width: 18px; height: 18px; flex: none; color: var(--vinho); }

.stars { display: inline-flex; gap: 2px; color: #FBBC04; }
.stars svg { width: 16px; height: 16px; }
.stars--lg svg { width: 22px; height: 22px; }
.stars .is-off { color: #DADCE0; }

.reviews__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.review {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  height: 100%;
  padding: 1.25rem 1.35rem 1.35rem;
  border: 1px solid rgba(46, 10, 16, .1);
  border-radius: 14px;
  background: #fff;
}
.review:focus-visible { outline-offset: 2px; }
.review__head {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 20px;
  align-items: center;
  gap: .75rem;
}
.review__avatar {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  overflow: hidden;
  border-radius: 50%;
  background: rgba(142, 31, 51, .14);
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
}
.review__avatar img { width: 100%; height: 100%; object-fit: cover; }
.review__who { display: grid; min-width: 0; }
.review__name {
  overflow: hidden;
  font-weight: 600;
  font-size: .98rem;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.review__service { font-size: .8rem; line-height: 1.35; color: var(--tinta-suave); }
.review__source { width: 20px; height: 20px; color: var(--tinta-suave); }

.review__rating { display: flex; align-items: center; gap: .6rem; }
.review__when { font-size: .85rem; color: var(--tinta-suave); }

.review__text {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  font-size: .96rem;
  line-height: 1.6;
  text-wrap: pretty;
}
.review.is-open .review__text { display: block; -webkit-line-clamp: none; }

.review__toggle {
  align-self: flex-start;
  margin-top: -.3rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--grena);
  font-weight: 600;
  font-size: .9rem;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.review__toggle[hidden] { display: none; }

/* espaço reservado da avaliação */
.review--vazio {
  min-height: 200px;
  border: 1.5px dashed rgba(142, 31, 51, .3);
  background: var(--blush);
}
.review__ph-line {
  width: 55%;
  height: .7rem;
  border-radius: 999px;
  background: rgba(142, 31, 51, .14);
}
.review--vazio .stars { color: rgba(142, 31, 51, .2); }
.review__ph-hint { font-size: .8rem; line-height: 1.45; color: var(--tinta-suave); }

.reviews__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  margin-top: 1.6rem;
}
.reviews__actions:not(:has(> :not([hidden]))) { display: none; }
.reviews__more {
  padding: .75rem 1.4rem;
  border: 1px solid rgba(142, 31, 51, .3);
  border-radius: 999px;
  background: transparent;
  color: var(--grena);
  font-weight: 500;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.reviews__more:hover { background: var(--vinho); border-color: var(--vinho); color: var(--champanhe); }
.reviews__link {
  font-weight: 500;
  color: var(--grena);
  text-underline-offset: 5px;
}
.reviews__more[hidden],
.reviews__link[hidden] { display: none; }

@media (max-width: 900px) {
  .depo__grid { grid-template-columns: minmax(0, 1fr); }
  .depo-video { width: min(100%, 360px); }
  .depo-video--largo { width: min(100%, 520px); }
}
@media (max-width: 480px) {
  .depo-video,
  .depo-video--largo { width: 100%; }
  .reviews__list { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Dúvidas ---------- */

.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.faq__grid .section-head { margin-bottom: 0; }

.faq { border-top: 1px solid rgba(142, 31, 51, .25); }
.faq__item { border-bottom: 1px solid rgba(142, 31, 51, .25); }

.faq__item summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 3rem 1.35rem 0;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 1.15rem + .6vw, 1.6rem);
  font-weight: 600;
  line-height: 1.25;
  list-style: none;
  cursor: pointer;
  transition: color .2s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--grena); }

.faq__item summary::before,
.faq__item summary::after {
  content: "";
  position: absolute;
  right: .5rem;
  top: 50%;
  width: 16px; height: 1.5px;
  background: currentColor;
  transition: transform .35s var(--ease-out);
}
.faq__item summary::after { transform: rotate(90deg); }
.faq__item[open] summary::after { transform: rotate(0deg); }
.faq__item[open] summary::before { transform: rotate(180deg); }

.faq__answer {
  padding: 0 3rem 1.5rem 0;
  color: var(--tinta-suave);
}
.faq__item[open] .faq__answer { animation: rise .45s var(--ease-out); }

@media (max-width: 860px) {
  .faq__grid { grid-template-columns: 1fr; }
}

/* ---------- Agendar ---------- */

.agendar__grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.agendar__text {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}
.agendar__text > p {
  max-width: 38ch;
  margin-top: 1.25rem;
  color: var(--claro-suave);
}

.contact-links { display: grid; gap: .75rem; margin-top: 2rem; }
.contact-links { gap: .25rem; }
.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  min-height: 44px;
  text-decoration: none;
  color: var(--claro);
  transition: color .2s;
}
.contact-links a:hover { color: var(--ouro); }
.contact-links svg { width: 22px; height: 22px; color: var(--ouro); }

/* prévia da mensagem do WhatsApp */
.preview { max-width: 340px; margin-top: 2.25rem; }
.preview__label { margin-bottom: .6rem; font-size: .85rem; color: var(--claro-suave); }
.preview__phone {
  overflow: hidden;
  border: 6px solid #1A0105;
  border-radius: 24px;
  background: #EFE7DE;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
}
.preview__bar {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .65rem .9rem;
  background: var(--vinho-noite);
  color: var(--claro);
}
.preview__avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px; height: 36px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--vinho);
}
.preview__avatar img { width: auto; height: 28px; }
.preview__contact { display: grid; line-height: 1.25; }
.preview__name { font-size: .95rem; font-weight: 600; }
.preview__status { font-size: .72rem; color: var(--claro-suave); }
.preview__chat {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  min-height: 210px;
  padding: 1rem .9rem 1.2rem;
  background-image: radial-gradient(rgba(79, 0, 14, .07) 1px, transparent 1px);
  background-size: 14px 14px;
}
.preview__bubble {
  position: relative;
  max-width: 92%;
  padding: .55rem .7rem 1.25rem;
  border-radius: 10px 0 10px 10px;
  background: #D9FDD3;
  color: #111B21;
  font-size: .82rem;
  line-height: 1.45;
  white-space: pre-line;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .12);
  transform-origin: bottom right;
}
.preview__bubble::after {
  content: "agora ✓✓";
  position: absolute;
  right: .55rem;
  bottom: .3rem;
  font-size: .65rem;
  color: #53BDEB;
}
.preview__bubble.is-updated { animation: bump .35s var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.03); } }

/* ficha de consulta */
.ficha {
  position: relative;
  display: grid;
  gap: 2rem;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border-radius: 24px;
  background: var(--papel);
  color: var(--tinta);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .75);
}
.ficha::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(217, 174, 104, .55);
  border-radius: 16px;
  pointer-events: none;
}
.ficha :focus-visible { outline-color: var(--grena); }

.ficha__head {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(217, 174, 104, .45);
}
.ficha__logo {
  width: auto;
  height: 54px;
  padding: 7px 10px;
  border-radius: 12px;
  background: var(--vinho);
}
.ficha__title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.8rem;
  line-height: 1;
}

.ficha__step { display: grid; gap: 1rem; min-width: 0; margin: 0; padding: 0; border: 0; }
.ficha__legend {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: 1rem;
  padding: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1.2;
}
.ficha__num {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--vinho);
  color: var(--champanhe);
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 600;
}

/* cartões de escolha */
.choices { display: grid; gap: .6rem; }
.choices--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choices--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choices--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.choice__box {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .65rem;
  height: 100%;
  padding: .95rem 1rem;
  border: 1px solid rgba(142, 31, 51, .18);
  border-radius: 14px;
  background: #FFFFFF;
  transition: border-color .2s, background-color .2s, box-shadow .2s, transform .2s;
}
.choice__box::after {
  content: "";
  position: absolute;
  top: .6rem;
  right: .6rem;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--grena) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.5l4.5-5' fill='none' stroke='%23F3D9A8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
  transform: scale(0);
  transition: transform .3s var(--ease-card);
}
.choice__icon { width: 30px; height: 30px; color: var(--bordo); }
.choice__icon--buzio { flex: none; } /* mesma caixa de 30px dos outros ícones; o búzio fica centralizado */
.choice__icon--brilho { width: 22px; height: 22px; margin: 4px; }
.choice__text { display: grid; gap: .15rem; }
.choice__title { font-size: .98rem; font-weight: 600; color: var(--tinta); }
.choice__desc { font-size: .8rem; line-height: 1.35; color: var(--tinta-suave); }

.choice:hover .choice__box { border-color: rgba(142, 31, 51, .45); }
.choice:active .choice__box { transform: scale(.98); }
.choice input:checked + .choice__box {
  border-color: var(--grena);
  background: var(--blush);
  box-shadow: inset 0 0 0 1px var(--grena);
}
.choice input:checked + .choice__box::after { transform: scale(1); }
.choice input:focus-visible + .choice__box { outline: 2px solid var(--grena); outline-offset: 3px; }

.choice--compact .choice__box {
  align-items: center;
  gap: .5rem;
  padding: .95rem .5rem;
  text-align: center;
}

/* período: controle segmentado */
.segmented { min-width: 0; margin: .5rem 0 0; padding: 0; border: 0; }
.segmented__legend { margin-bottom: .55rem; padding: 0; font-size: .92rem; font-weight: 600; }
.segmented__options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 4px;
  border: 1px solid rgba(142, 31, 51, .15);
  border-radius: 999px;
  background: var(--blush);
}
.segmented__options label { position: relative; cursor: pointer; }
.segmented__options input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.segmented__options span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--tinta-suave);
  transition: background-color .25s, color .25s, box-shadow .25s;
}
.segmented__options label:hover span { color: var(--tinta); }
.segmented__options input:checked + span {
  background: var(--vinho);
  color: var(--champanhe);
  box-shadow: 0 6px 14px -8px rgba(79, 0, 14, .8);
}
.segmented__options input:focus-visible + span { outline: 2px solid var(--grena); outline-offset: 2px; }

/* campos de texto com linha, como numa ficha de papel */
.line-field { position: relative; padding-top: 1.1rem; }
.line-field__input {
  display: block;
  width: 100%;
  padding: .55rem 0 .6rem;
  border: 0;
  border-bottom: 1px solid rgba(46, 10, 16, .28);
  border-radius: 0;
  background: transparent;
  color: var(--tinta);
  font-size: 1.05rem;
  outline: none;
  resize: vertical;
  transition: border-color .2s, box-shadow .2s;
}
textarea.line-field__input { min-height: 5.5rem; line-height: 1.5; }
.line-field__label {
  position: absolute;
  top: 1.65rem;
  left: 0;
  font-size: 1.02rem;
  color: var(--tinta-suave);
  pointer-events: none;
  transform-origin: left top;
  transition: transform .25s var(--ease-out), color .2s;
}
.line-field__input:focus + .line-field__label,
.line-field__input:not(:placeholder-shown) + .line-field__label {
  transform: translateY(-1.5rem) scale(.8);
  color: var(--grena);
}
.line-field__input:focus { border-bottom-color: var(--grena); box-shadow: 0 1px 0 var(--grena); }
.line-field__optional { color: var(--tinta-suave); }
.line-field.has-error .line-field__input { border-bottom-color: #B42318; box-shadow: 0 1px 0 #B42318; }
.line-field__error { margin-top: .45rem; font-size: .85rem; color: #B42318; }
.line-field__error:empty { display: none; }

.ficha__submit { margin-top: .25rem; }
.ficha__note { margin-top: -1.25rem; font-size: .82rem; text-align: center; color: var(--tinta-suave); }

@media (max-width: 860px) {
  .agendar__grid { grid-template-columns: 1fr; }
  .agendar__text { position: static; }
  .preview { display: none; }
}
@media (max-width: 560px) {
  .choices--2,
  .choices--3 { grid-template-columns: 1fr; }
  .choices--2 .choice__box,
  .choices--3 .choice__box { flex-direction: row; align-items: center; gap: .9rem; padding: .85rem 3rem .85rem 1rem; }
  .choices--2 .choice__box::after,
  .choices--3 .choice__box::after { top: calc(50% - 10px); right: 1rem; }
  .choices--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ficha__legend { font-size: 1.3rem; }
}

/* ---------- Rodapé ---------- */

.site-footer {
  padding: 3.5rem 0 calc(3rem + env(safe-area-inset-bottom));
  background: var(--vinho-noite);
  border-top: 1px solid rgba(243, 217, 168, .12);
  color: var(--claro);
}
.site-footer__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem 3rem;
}
.site-footer__text { max-width: 44ch; font-size: .95rem; color: var(--claro-suave); }
.site-footer__meta { display: grid; gap: .3rem; justify-items: end; text-align: right; }
.site-footer__copy { font-size: .9rem; color: var(--claro-suave); }
.site-footer__credit { font-size: .85rem; color: var(--claro-suave); }
.site-footer__credit a {
  color: var(--ouro);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color .2s;
}
.site-footer__credit a:hover { color: var(--champanhe); }
.site-footer .brand__logo { height: 76px; }

@media (max-width: 760px) {
  .site-footer__inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .site-footer__meta { justify-items: center; text-align: center; }
}

/* ---------- WhatsApp flutuante ---------- */

.whats-float {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 40;
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--ouro);
  color: var(--vinho-noite);
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .5);
  transform: translateY(0) scale(1);
  transition: transform .35s var(--ease-out), opacity .35s, background-color .2s;
}
.whats-float svg { width: 28px; height: 28px; }
.whats-float:hover { background: #E7C283; transform: scale(1.06); }
.whats-float.is-hidden,
.whats-float.is-away {
  opacity: 0;
  transform: translateY(20px) scale(.8);
  pointer-events: none;
}
@media (max-width: 560px) {
  .whats-float { width: 52px; height: 52px; }
  .whats-float svg { width: 25px; height: 25px; }
}

/* ---------- Movimento reduzido ---------- */

/* As animações de interação (distribuir e virar cartas, envelope,
   menu) continuam ativas. Só as rotações contínuas e grandes, que
   costumam causar desconforto, ficam paradas. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .table__wheel { animation: none; }
  .depo-video__cover { transition: none; }
}
