/* ============================================================
   Amanda Caetano Estética — luxo editorial
   Paleta extraída do Instagram: espresso, terracota, creme, ouro
   Mobile first
   ============================================================ */

:root {
  --ink: #171210;
  --ink-soft: #241c18;
  --espresso: #2e211b;
  --terra: #a96a4f;
  --terra-deep: #8a5340;
  --rose: #d9b096;
  --cream: #f6efe7;
  --cream-soft: #efe5d9;
  --gold: #c9a06c;
  --line: rgba(23, 18, 16, .14);
  --line-light: rgba(246, 239, 231, .18);

  --serif: "Fraunces", "Georgia", serif;
  --script: "Ephesis", cursive;
  --sans: "Jost", "Avenir Next", sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: .01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* grain sutil por cima de tudo */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: .05;
  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='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

::selection { background: var(--terra); color: var(--cream); }

/* ---------- preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: .4rem;
  transition: opacity .8s var(--ease), visibility .8s;
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader .pre-script {
  font-family: var(--script);
  font-size: clamp(3rem, 10vw, 5rem);
  color: var(--rose);
  opacity: 0;
  animation: preIn 1.1s var(--ease) .1s forwards;
}
.preloader .pre-sub {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .55em;
  font-size: .65rem;
  color: var(--cream);
  opacity: 0;
  animation: preIn 1s var(--ease) .5s forwards;
}
@keyframes preIn {
  from { opacity: 0; transform: translateY(18px); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: none; }
}

/* ---------- header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.4rem;
  transition: background .5s, backdrop-filter .5s, box-shadow .5s, padding .5s;
}
.site-header.scrolled {
  background: rgba(23, 18, 16, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: .75rem 1.4rem;
  box-shadow: 0 1px 0 rgba(246, 239, 231, .08);
}
.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  color: var(--cream);
}
.brand .brand-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.brand .brand-tag {
  font-family: var(--script);
  color: var(--rose);
  font-size: 1.05rem;
  margin-top: .1rem;
}
.on-light .brand { color: var(--ink); }
.on-light .site-header.scrolled .brand { color: var(--cream); }

.menu-toggle {
  appearance: none;
  border: 1px solid var(--line-light);
  background: rgba(246, 239, 231, .06);
  border-radius: 999px;
  color: var(--cream);
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .3em;
  font-size: .6rem;
  padding: .65rem 1.1rem .65rem 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: .6rem;
  transition: background .4s, border-color .4s;
}
.menu-toggle:hover { background: rgba(246, 239, 231, .14); }
.menu-toggle .dots {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
}
.menu-toggle .dots span {
  width: 16px; height: 1px;
  background: currentColor;
  transition: transform .4s var(--ease), width .4s var(--ease);
}
.on-light .menu-toggle { color: var(--ink); border-color: var(--line); background: rgba(23,18,16,.04); }
.on-light .site-header.scrolled .menu-toggle { color: var(--cream); border-color: var(--line-light); background: rgba(246,239,231,.06); }

/* ---------- overlay nav ---------- */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 2rem 3rem;
  clip-path: circle(0% at calc(100% - 3rem) 2.4rem);
  transition: clip-path .9s var(--ease);
  visibility: hidden;
}
.nav-overlay.open {
  clip-path: circle(150% at calc(100% - 3rem) 2.4rem);
  visibility: visible;
}
.nav-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 80% 100%, rgba(169, 106, 79, .28), transparent 65%);
  pointer-events: none;
}
.nav-close {
  position: absolute;
  top: 1.2rem; right: 1.4rem;
  appearance: none;
  background: none;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  width: 44px; height: 44px;
  color: var(--cream);
  font-size: 1.1rem;
  cursor: pointer;
  transition: transform .4s var(--ease), background .3s;
}
.nav-close:hover { transform: rotate(90deg); background: rgba(246,239,231,.08); }
.nav-links { text-align: center; position: relative; }
.nav-links li { overflow: hidden; }
.nav-links a {
  display: inline-block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 7vw, 3.2rem);
  color: var(--cream);
  padding: .35rem 0;
  transform: translateY(110%);
  transition: transform .8s var(--ease), color .3s;
  position: relative;
}
.nav-overlay.open .nav-links a { transform: none; }
.nav-links li:nth-child(1) a { transition-delay: .12s; }
.nav-links li:nth-child(2) a { transition-delay: .18s; }
.nav-links li:nth-child(3) a { transition-delay: .24s; }
.nav-links li:nth-child(4) a { transition-delay: .3s; }
.nav-links li:nth-child(5) a { transition-delay: .36s; }
.nav-links li:nth-child(6) a { transition-delay: .42s; }
.nav-links a em {
  font-family: var(--script);
  font-style: normal;
  color: var(--rose);
  font-size: .75em;
  margin-right: .35rem;
}
.nav-links a:hover { color: var(--rose); }
.nav-foot {
  position: relative;
  text-align: center;
  margin-top: 3rem;
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: .4em;
  color: rgba(246, 239, 231, .5);
}

/* ---------- botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .66rem;
  padding: 1.05rem 2rem;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  transition: color .45s var(--ease), border-color .45s;
  isolation: isolate;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .55s var(--ease);
  border-radius: inherit;
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn-solid { background: var(--terra); color: var(--cream); }
.btn-solid::before { background: var(--ink); }
.btn-outline { border: 1px solid var(--line-light); color: var(--cream); }
.btn-outline::before { background: var(--terra); }
.btn-outline-dark { border: 1px solid rgba(23,18,16,.35); color: var(--ink); }
.btn-outline-dark::before { background: var(--ink); }
.btn-outline-dark:hover { color: var(--cream); }
.btn svg { width: 14px; height: 14px; transition: transform .45s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

/* ---------- reveals ---------- */
.reveal {
  opacity: 0;
  transform: translateY(46px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }
.reveal-img { overflow: hidden; }
.reveal-img img {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.2s var(--ease);
}
.reveal-img.in img { clip-path: inset(0 0 0% 0); }

/* ---------- hero home ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  background: var(--ink);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 50% 108%, rgba(169, 106, 79, .5), transparent 62%),
    radial-gradient(ellipse 50% 40% at 50% 0%, rgba(46, 33, 27, .9), transparent 70%);
  animation: glowBreath 7s ease-in-out infinite alternate;
}
@keyframes glowBreath {
  from { opacity: .8; }
  to { opacity: 1; }
}
.hero-rings {
  position: absolute;
  left: 50%;
  bottom: -12vh;
  transform: translateX(-50%);
  width: 130vw;
  max-width: 900px;
  aspect-ratio: 1;
  pointer-events: none;
}
.hero-rings span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(217, 176, 150, .14);
  border-radius: 50%;
  animation: ringPulse 9s ease-in-out infinite;
}
.hero-rings span:nth-child(2) { inset: 11%; animation-delay: 1.4s; }
.hero-rings span:nth-child(3) { inset: 23%; animation-delay: 2.8s; }
@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: .7; }
  50% { transform: scale(1.045); opacity: 1; }
}
.hero-title {
  position: absolute;
  top: 16svh;
  left: 0; right: 0;
  z-index: 1;
  font-family: var(--serif);
  font-weight: 300;
  text-transform: uppercase;
  line-height: .96;
  font-size: clamp(3.2rem, 15.5vw, 10.5rem);
  letter-spacing: .04em;
  color: var(--cream);
}
.hero-title .row { display: block; overflow: hidden; }
.hero-title .row span {
  display: block;
  transform: translateY(115%);
  animation: heroUp 1.2s var(--ease) forwards;
}
.hero-title .row:nth-child(2) span { animation-delay: .15s; color: transparent; -webkit-text-stroke: 1px rgba(246, 239, 231, .55); }
.hero-photo {
  position: relative;
  z-index: 2;
  width: min(78vw, 420px);
  margin-bottom: 0;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .55));
  animation: heroPhoto 1.6s var(--ease) .2s both;
}
@keyframes heroUp { to { transform: none; } }
@keyframes heroPhoto {
  from { opacity: 0; transform: translateY(60px) scale(.96); }
  to { opacity: 1; transform: none; }
}
.hero-script {
  position: absolute;
  z-index: 3;
  bottom: 25svh;
  left: 0; right: 0;
  font-family: var(--script);
  font-size: clamp(3.4rem, 13vw, 7.5rem);
  color: var(--rose);
  line-height: 1;
  pointer-events: none;
  text-shadow: 0 12px 40px rgba(23, 18, 16, .5);
  animation: heroScript 1.4s var(--ease) .9s both;
}
@keyframes heroScript {
  from { opacity: 0; transform: translateY(20px) rotate(-2deg); filter: blur(8px); }
  to { opacity: 1; transform: none; filter: none; }
}
.hero-meta {
  position: absolute;
  z-index: 4;
  bottom: 15.5svh;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 1.1rem;
  align-items: center;
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: .38em;
  color: rgba(246, 239, 231, .75);
  animation: heroUpFade 1.2s var(--ease) 1.2s both;
}
.hero-meta i {
  font-style: normal;
  color: var(--gold);
  font-size: .8rem;
  letter-spacing: 0;
}
@keyframes heroUpFade {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.hero-cta {
  position: absolute;
  z-index: 4;
  bottom: 4svh;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  animation: heroUpFade 1.2s var(--ease) 1.4s both;
}
.hero-fade {
  position: absolute;
  z-index: 3;
  left: 0; right: 0; bottom: 0;
  height: 34svh;
  background: linear-gradient(to top, var(--ink) 12%, rgba(23, 18, 16, .55) 55%, transparent);
  pointer-events: none;
}

/* ---------- marquee divisória ---------- */
.marquee {
  background: var(--terra);
  color: var(--cream);
  overflow: hidden;
  padding: .5rem 0;
  position: relative;
  z-index: 5;
}
.marquee-dark { background: var(--ink); color: var(--rose); }
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee-track > div {
  display: flex;
  align-items: baseline;
  gap: 1.8rem;
  padding-right: 1.8rem;
  white-space: nowrap;
}
.marquee .word-serif {
  font-family: var(--serif);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .3em;
}
.marquee .word-script {
  font-family: var(--script);
  font-size: 1.3rem;
  line-height: 1;
}
.marquee .star { font-size: .6rem; align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- seções base ---------- */
.section {
  padding: 5.5rem 1.5rem;
  text-align: center;
  position: relative;
}
.section-dark {
  background: var(--ink);
  color: var(--cream);
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: .45em;
  color: var(--terra);
  margin-bottom: 1.2rem;
}
.section-dark .kicker { color: var(--rose); }
.kicker::before, .kicker::after {
  content: "";
  width: 28px; height: 1px;
  background: currentColor;
  opacity: .5;
}
.h-serif {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.1rem, 7.5vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: .01em;
}
.h-serif em {
  font-family: var(--script);
  font-style: normal;
  font-size: 1.15em;
  color: var(--terra);
  line-height: .6;
}
.section-dark .h-serif em { color: var(--rose); }
.lead {
  max-width: 34rem;
  margin: 1.4rem auto 0;
  color: rgba(23, 18, 16, .72);
  font-weight: 300;
  font-size: .98rem;
}
.section-dark .lead { color: rgba(246, 239, 231, .72); }

/* ornamento divisor fino */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0 auto;
  padding: 3.2rem 0 0;
  color: var(--terra);
}
.ornament::before, .ornament::after {
  content: "";
  height: 1px;
  width: min(70px, 18vw);
  background: linear-gradient(to right, transparent, currentColor);
}
.ornament::after { background: linear-gradient(to left, transparent, currentColor); }
.ornament svg { width: 22px; height: 22px; animation: spinSlow 14s linear infinite; }
@keyframes spinSlow { to { transform: rotate(360deg); } }

/* ---------- sobre ---------- */
.about { background: var(--cream); }
.about-photo {
  width: min(74vw, 330px);
  margin: 2.6rem auto 0;
  position: relative;
}
.about-photo::before {
  content: "";
  position: absolute;
  inset: -14px -14px auto auto;
  width: 82%;
  height: 92%;
  border: 1px solid var(--terra);
  border-radius: 200px 200px 0 0;
  z-index: 0;
  transform: translate(14px, -14px);
}
.about-photo img {
  position: relative;
  border-radius: 200px 200px 0 0;
  z-index: 1;
  filter: saturate(.96);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}
.about-script-float {
  position: absolute;
  z-index: 2;
  bottom: -1.4rem;
  left: 50%;
  transform: translateX(-50%) rotate(-4deg);
  font-family: var(--script);
  font-size: 2.6rem;
  color: var(--terra-deep);
  white-space: nowrap;
  text-shadow: 0 1px 18px rgba(246, 239, 231, .95), 0 0 6px rgba(246, 239, 231, .7);
}
.about-stats {
  margin-top: 3.4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.about-stats > div {
  padding: 1.6rem .6rem;
  border-bottom: 1px solid var(--line);
}
.about-stats > div:nth-child(odd) { border-right: 1px solid var(--line); }
.about-stats b {
  display: block;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 2rem;
  color: var(--terra-deep);
}
.about-stats span {
  font-size: .6rem;
  text-transform: uppercase;
  letter-spacing: .3em;
  color: rgba(23, 18, 16, .6);
}

/* ---------- empilhamento (stack) ---------- */
.stack-section {
  background: var(--ink);
  padding: 5.5rem 0 4rem;
}
.stack-head { padding: 0 1.5rem; text-align: center; color: var(--cream); }
.stack-cards {
  margin-top: 3rem;
  padding: 0 1rem 10vh;
}
.stack-card {
  position: sticky;
  top: 14vh;
  min-height: 72svh;
  border-radius: 26px;
  overflow: hidden;
  margin: 0 auto 6vh;
  max-width: 1050px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-align: center;
  color: var(--cream);
  isolation: isolate;
  box-shadow: 0 -18px 50px rgba(0, 0, 0, .45);
  transform-origin: center top;
}
.stack-card .stack-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  transition: transform 1.2s var(--ease);
}
.stack-card:hover .stack-bg { transform: scale(1.05); }
.stack-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(23, 18, 16, .92) 8%, rgba(23, 18, 16, .35) 55%, rgba(23, 18, 16, .25));
}
.stack-card-inner { padding: 2.2rem 1.6rem 2.6rem; }
.stack-num {
  font-family: var(--serif);
  font-size: .85rem;
  letter-spacing: .4em;
  color: var(--rose);
  display: block;
  margin-bottom: .6rem;
}
.stack-card h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.9rem, 7vw, 3rem);
  line-height: 1.05;
}
.stack-card h3 em {
  font-family: var(--script);
  font-style: normal;
  color: var(--rose);
  font-size: 1.1em;
}
.stack-card p {
  max-width: 30rem;
  margin: .9rem auto 1.5rem;
  font-weight: 300;
  font-size: .92rem;
  color: rgba(246, 239, 231, .82);
}

/* ---------- medalhão animado ---------- */
.craft {
  background: var(--cream-soft);
  overflow: hidden;
}
.craft-medal {
  position: relative;
  width: min(66vw, 340px);
  aspect-ratio: 1;
  margin: 3.4rem auto 1.2rem;
}
.medal-rings { position: absolute; inset: 0; pointer-events: none; }
.medal-rings span {
  position: absolute;
  inset: -7%;
  border: 1px solid rgba(169, 106, 79, .38);
  border-radius: 50%;
}
.medal-rings span:nth-child(2) {
  inset: -14%;
  border-style: dashed;
  border-color: rgba(201, 160, 108, .45);
  animation: spinSlow 46s linear infinite reverse;
}
.medal-photo {
  position: absolute;
  inset: 11%;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(46, 33, 27, .28);
}
.medal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: medalZoom 14s ease-in-out infinite alternate;
}
@keyframes medalZoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.14); }
}
.medal-rotor {
  position: absolute;
  inset: 0;
  animation: spinSlow 28s linear infinite;
}
.medal-rotor text {
  fill: var(--terra-deep);
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: .3em;
}
.medal-spark {
  position: absolute;
  color: var(--gold);
  font-size: 1.1rem;
  animation: twinkle 2.8s ease-in-out infinite;
}
.medal-spark.s1 { top: -4%; right: 12%; }
.medal-spark.s2 { bottom: 2%; left: -2%; animation-delay: .9s; font-size: .85rem; }
.medal-spark.s3 { top: 34%; left: -13%; animation-delay: 1.8s; font-size: .7rem; }
@keyframes twinkle {
  0%, 100% { opacity: .15; transform: scale(.7) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.15) rotate(45deg); }
}

/* ---------- galeria ---------- */
.gallery { background: var(--ink); }
.gallery-grid {
  margin-top: 2.8rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .7rem;
}
.gallery-grid figure {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 4 / 5;
}
.gallery-grid figure:nth-child(3n) { aspect-ratio: 1; }
.gallery-grid img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease), filter 1s;
  filter: saturate(.92);
}
.gallery-grid figure:hover img { transform: scale(1.07); filter: saturate(1.05); }
.gallery-grid figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 1.6rem .9rem .8rem;
  background: linear-gradient(to top, rgba(23, 18, 16, .85), transparent);
  font-size: .58rem;
  text-transform: uppercase;
  letter-spacing: .32em;
  color: var(--rose);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .5s, transform .5s var(--ease);
}
.gallery-grid figure:hover figcaption { opacity: 1; transform: none; }

/* ---------- espaço ---------- */
.space { background: var(--cream); }
.space-photos {
  margin-top: 2.6rem;
  display: flex;
  gap: .8rem;
  justify-content: center;
}
.space-photos figure {
  width: calc(50% - .4rem);
  max-width: 260px;
  border-radius: 160px 160px 14px 14px;
}
.space-photos figure:last-child { transform: translateY(1.6rem); }
.space-photos figure img {
  width: 100%;
  border-radius: inherit;
  object-fit: cover;
  aspect-ratio: 3 / 4;
}

/* ---------- depoimento ---------- */
.quote-wrap { max-width: 40rem; margin: 0 auto; }
.quote-mark {
  font-family: var(--script);
  font-size: 4.5rem;
  color: var(--terra);
  line-height: .4;
  display: block;
  margin-bottom: 1.4rem;
}
blockquote {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.25rem, 4.5vw, 1.8rem);
  line-height: 1.5;
  font-style: italic;
}
.quote-author {
  margin-top: 1.6rem;
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: .4em;
  color: rgba(23, 18, 16, .55);
}
.section-dark .quote-author { color: rgba(246, 239, 231, .55); }

/* ---------- cta final ---------- */
.final-cta {
  background: var(--terra);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 50% 120%, rgba(23, 18, 16, .4), transparent 55%);
}
.final-cta .h-serif em { color: var(--ink); }
.final-cta .btn-solid { background: var(--ink); }
.final-cta .btn-solid::before { background: var(--cream); }
.final-cta .btn-solid:hover { color: var(--ink); }
.final-cta > * { position: relative; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  text-align: center;
  padding: 4rem 1.5rem 2.4rem;
}
.footer-script {
  font-family: var(--script);
  font-size: clamp(3rem, 12vw, 5.5rem);
  color: var(--rose);
  line-height: 1;
}
.footer-nav {
  margin: 2.2rem 0 2.6rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.1rem 1.8rem;
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: .32em;
}
.footer-nav a { position: relative; opacity: .75; transition: opacity .3s; }
.footer-nav a:hover { opacity: 1; color: var(--rose); }
.footer-meta {
  border-top: 1px solid var(--line-light);
  padding-top: 1.8rem;
  font-size: .6rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(246, 239, 231, .45);
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

/* ============================================================
   páginas de procedimento
   ============================================================ */
.proc-hero {
  min-height: 88svh;
  background: var(--ink);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 7rem 1.5rem 4rem;
}
.proc-hero .hero-glow { animation: none; }
.proc-crumb {
  font-size: .6rem;
  text-transform: uppercase;
  letter-spacing: .42em;
  color: var(--rose);
  margin-bottom: 1.6rem;
  animation: heroUpFade 1s var(--ease) .2s both;
  position: relative;
}
.proc-crumb a:hover { color: var(--cream); }
.proc-title {
  position: relative;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.6rem, 11vw, 6rem);
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: .03em;
  animation: heroUpFade 1.1s var(--ease) .35s both;
}
.proc-title em {
  display: block;
  font-family: var(--script);
  font-style: normal;
  text-transform: none;
  font-size: .85em;
  color: var(--rose);
  margin-top: .4rem;
  letter-spacing: 0;
}
.proc-sub {
  position: relative;
  max-width: 32rem;
  margin: 1.8rem auto 0;
  font-weight: 300;
  color: rgba(246, 239, 231, .78);
  animation: heroUpFade 1.1s var(--ease) .55s both;
}
.proc-hero .btn { margin-top: 2.4rem; animation: heroUpFade 1.1s var(--ease) .7s both; }
.proc-hero-orn {
  position: absolute;
  bottom: 2.4rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--rose);
  opacity: .7;
  animation: bounceDown 2.4s ease-in-out infinite;
}
@keyframes bounceDown {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

.proc-info-strip {
  background: var(--espresso);
  color: var(--cream);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  text-align: center;
}
.proc-info-strip > div {
  padding: 1.5rem .6rem;
  border-right: 1px solid var(--line-light);
}
.proc-info-strip > div:last-child { border-right: none; }
.proc-info-strip b {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--rose);
}
.proc-info-strip span {
  font-size: .55rem;
  text-transform: uppercase;
  letter-spacing: .3em;
  color: rgba(246, 239, 231, .6);
}

.proc-body { background: var(--cream); }
.proc-photo {
  width: min(84vw, 460px);
  margin: 2.6rem auto 0;
  border-radius: 230px 230px 18px 18px;
  overflow: hidden;
  position: relative;
}
.proc-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }

.steps { counter-reset: step; max-width: 40rem; margin: 3rem auto 0; text-align: center; }
.step {
  padding: 2rem 1rem;
  border-top: 1px solid var(--line);
  position: relative;
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step-num {
  font-family: var(--serif);
  font-size: .8rem;
  letter-spacing: .4em;
  color: var(--terra);
  display: block;
  margin-bottom: .5rem;
}
.step h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.35rem;
  margin-bottom: .4rem;
}
.step p {
  font-weight: 300;
  font-size: .92rem;
  color: rgba(23, 18, 16, .7);
  max-width: 30rem;
  margin: 0 auto;
}

.for-you { background: var(--ink); color: var(--cream); }
.for-you-list {
  max-width: 34rem;
  margin: 2.4rem auto 0;
  display: flex;
  flex-direction: column;
  gap: .9rem;
}
.for-you-list li {
  border: 1px solid var(--line-light);
  border-radius: 999px;
  padding: 1rem 1.6rem;
  font-weight: 300;
  font-size: .92rem;
  display: flex;
  align-items: center;
  gap: .9rem;
  text-align: left;
  transition: border-color .4s, background .4s, transform .4s var(--ease);
}
.for-you-list li:hover {
  border-color: var(--terra);
  background: rgba(169, 106, 79, .12);
  transform: translateX(6px);
}
.for-you-list li i {
  font-style: normal;
  color: var(--rose);
  flex-shrink: 0;
}

.proc-next {
  background: var(--cream-soft);
  text-align: center;
}
.proc-next a.next-link {
  display: block;
  margin-top: 1.6rem;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.9rem, 7vw, 3.2rem);
  line-height: 1.1;
  transition: color .4s, letter-spacing .6s var(--ease);
}
.proc-next a.next-link:hover { color: var(--terra-deep); letter-spacing: .04em; }
.proc-next a.next-link em {
  font-family: var(--script);
  font-style: normal;
  color: var(--terra);
}

/* aparelho pulsante (página pele) */
.device-svg { width: min(80vw, 360px); margin: 2.6rem auto 0; display: block; }
.device-svg .wave {
  fill: none;
  stroke: var(--terra);
  stroke-width: 1.5;
  opacity: 0;
  transform-origin: 150px 60px;
  animation: waveOut 3s ease-out infinite;
}
.device-svg .wave:nth-of-type(2) { animation-delay: 1s; }
.device-svg .wave:nth-of-type(3) { animation-delay: 2s; }
@keyframes waveOut {
  0% { opacity: .9; transform: scale(.35); }
  100% { opacity: 0; transform: scale(1.25); }
}
.device-svg .device-body { animation: deviceTilt 4.5s ease-in-out infinite alternate; transform-origin: 150px 210px; }
@keyframes deviceTilt {
  from { transform: rotate(-3deg); }
  to { transform: rotate(3deg); }
}
.device-svg .glass-glow {
  animation: glassGlow 2.4s ease-in-out infinite alternate;
}
@keyframes glassGlow {
  from { opacity: .35; }
  to { opacity: .9; }
}

/* ---------- desktop ---------- */
@media (min-width: 900px) {
  .section { padding: 8rem 2rem; }
  .site-header { padding: 1.6rem 3rem; }
  .site-header.scrolled { padding: 1rem 3rem; }
  .hero-photo { width: min(34vw, 480px); }
  .hero-script { bottom: 24svh; }
  .hero-title { top: 20svh; font-size: clamp(4rem, 11vw, 11rem); }
  .about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
  }
  .about-inner .kicker { margin-left: 0; }
  .about-inner .kicker::before { display: none; }
  .about-inner .lead { margin-left: 0; }
  .about-photo { margin-top: 0; }
  .about-stats { text-align: center; }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
  }
  .stack-card-inner { padding: 3rem 3rem 3.4rem; }
  .proc-info-strip > div { padding: 2.2rem 1rem; }
  .space-photos figure { max-width: 300px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
