/* ==========================================================================
   Dra. Raissa Alana — landing page (v12)
   Folha de estilos única e limpa (substitui as camadas v1–v11 com !important)
   Mobile-first. Pontos de quebra: 640 / 900 / 1100
   ========================================================================== */

:root {
  --deep: #3e252d;
  --deep-2: #2f1b22;
  --wine: #704052;
  --wine-hover: #5a3242;
  --rose: #bc8298;
  --blush: #ead8db;
  --sand: #f1e7e3;
  --cream: #f8f3ed;
  --gold: #c5a36c;          /* decorativo (linhas, ornamentos) */
  --gold-soft: #d8bb8c;     /* texto sobre fundo escuro */
  --gold-text: #80602f;     /* texto sobre fundo claro (contraste AA) */
  --ink: #30282a;
  --muted: #5d5054;
  --line: rgba(112, 64, 82, .2);

  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --header-h: 76px;
  --pad: clamp(20px, 5vw, 72px);
  --max: 1240px;
  --ease: cubic-bezier(.22, .7, .2, 1);
}

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

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.012em;
  margin: 0;
  text-wrap: balance;
}

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.skip {
  position: fixed; left: 1rem; top: -6rem; z-index: 200;
  background: #fff; color: var(--wine); padding: .8rem 1.1rem; border-radius: 8px; font-weight: 600;
}
.skip:focus { top: 1rem; }

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

/* ---------- Elementos de sistema ---------- */
.eyebrow {
  display: flex; align-items: center; gap: .9rem;
  margin: 0 0 1.3rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-text);
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; flex: none; }
.on-dark .eyebrow, .eyebrow.on-dark { color: var(--gold-soft); }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(64px, 9vw, 120px); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  min-height: 48px; padding: .8rem 1.5rem;
  border-radius: 999px; border: 1px solid transparent;
  font: 600 .8rem/1 var(--sans); letter-spacing: .05em; text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--wine); color: #fff; box-shadow: 0 10px 26px rgba(62, 37, 45, .22); }
.btn-primary:hover { background: var(--wine-hover); }
.btn-light { background: #fff; color: var(--wine); box-shadow: 0 10px 26px rgba(20, 8, 13, .18); }
.btn-light:hover { background: var(--blush); }
.btn-ghost { border-color: rgba(255, 255, 255, .5); color: #fff; background: rgba(255, 255, 255, .06); }
.btn-ghost:hover { background: #fff; color: var(--wine); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .86rem; font-weight: 600; letter-spacing: .03em; color: var(--wine);
  text-decoration: none; padding-block: .6rem; border-bottom: 1px solid var(--gold);
  transition: gap .25s var(--ease), color .25s;
}
.link-arrow:hover { gap: .95rem; color: var(--wine-hover); }
.on-dark .link-arrow { color: #fff; }

/* Fotografia: nunca esticar; foco controlado por variável */
.photo { margin: 0; position: relative; overflow: hidden; background: var(--sand); }
.photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: var(--focus, 50% 20%);
}

/* Revelar ao rolar (só quando JS está ativo) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center; gap: 1.5rem;
  padding-inline: var(--pad);
  color: #fff;
  background: linear-gradient(180deg, rgba(36, 20, 26, .72), rgba(36, 20, 26, 0));
  transition: background .3s, box-shadow .3s, height .3s;
}
.site-header.is-scrolled, .site-header.menu-open {
  background: rgba(62, 37, 45, .96);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 10px 34px rgba(25, 12, 17, .18);
}
.brand { display: flex; align-items: center; gap: .85rem; text-decoration: none; flex: none; }
.brand { min-width: 0; }
.brand img { height: 40px; width: auto; flex: none; }
.brand-name {
  font-family: var(--serif); font-size: 1rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; line-height: 1.1; white-space: nowrap;
}
.brand-name small { display: block; font: 500 .56rem var(--sans); letter-spacing: .26em; color: var(--gold-soft); margin-top: .35rem; }

.menu-toggle {
  margin-left: auto; flex: none; width: 46px; height: 46px; display: grid; place-items: center;
  background: transparent; color: inherit; border: 1px solid rgba(255, 255, 255, .45); border-radius: 50%; cursor: pointer;
}
.menu-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }

.site-nav {
  position: fixed; top: var(--header-h); left: 12px; right: 12px;
  display: flex; flex-direction: column; padding: 10px;
  background: rgba(62, 37, 45, .99); border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px;
  box-shadow: 0 28px 60px rgba(20, 8, 13, .35);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s, transform .25s, visibility .25s;
}
.site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
.site-nav a {
  position: relative; display: block; padding: 1rem 1.1rem; color: #fff; text-decoration: none;
  font-size: .95rem; border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.site-nav a:last-child { border-bottom: 0; }
.site-nav a[aria-current] { color: var(--gold-soft); }
.nav-cta-mobile { margin: .6rem .4rem .4rem; text-align: center; background: var(--rose); border-radius: 999px; color: #2b1a20 !important; font-weight: 600; border: 0 !important; }
.header-cta { display: none; }

@media (min-width: 400px) { .brand-name { font-size: 1.1rem; letter-spacing: .2em; } .brand img { height: 44px; } }
@media (min-width: 1300px) {
  :root { --header-h: 88px; }
  .brand-name { font-size: 1.15rem; letter-spacing: .24em; }
  .brand img { height: 48px; }
  .menu-toggle { display: none; }
  .site-nav {
    position: static; flex-direction: row; align-items: center; gap: clamp(16px, 1.8vw, 30px);
    margin-left: auto; padding: 0; background: none; border: 0; box-shadow: none; border-radius: 0;
    opacity: 1; visibility: visible; transform: none;
  }
  .site-nav a { white-space: nowrap; padding: .4rem 0; border: 0; font-size: .8rem; letter-spacing: .03em; opacity: .9; }
  .site-nav a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 0; height: 1px; background: var(--gold); transition: left .25s var(--ease), right .25s var(--ease); }
  .site-nav a:hover, .site-nav a[aria-current] { opacity: 1; }
  .site-nav a:hover::after, .site-nav a[aria-current]::after { left: 0; right: 0; }
  .site-nav .nav-cta-mobile { display: none; }
  .header-cta { display: inline-flex; min-height: 44px; padding-inline: 1.25rem; }
  .site-header.is-scrolled { --header-h: 76px; }
}

/* ---------- Hero ---------- */
.hero { background: var(--deep); color: #fff; position: relative; overflow: hidden; }
.hero-photo { --focus: 30% 12%; aspect-ratio: 4 / 5; max-height: 82svh; width: 100%; margin-top: var(--header-h); background: var(--deep); }
.hero-photo::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 45%;
  background: linear-gradient(0deg, var(--deep) 4%, rgba(62, 37, 45, 0));
  pointer-events: none;
}
.hero-copy { position: relative; z-index: 2; padding: 0 var(--pad) 64px; margin-top: -92px; }
.hero h1 { font-size: clamp(2.5rem, 10.5vw, 4rem); font-weight: 500; max-width: 14ch; }
.hero .lead { margin: 1.4rem 0 0; font-size: 1.05rem; line-height: 1.7; color: #eadfe2; max-width: 34ch; }
.hero-actions { display: flex; flex-direction: column; align-items: stretch; gap: 1rem; margin-top: 2rem; }
.hero-actions .btn { width: 100%; }
.hero-areas { margin: 2.2rem 0 0; padding-top: 1.3rem; border-top: 1px solid rgba(197, 163, 108, .35); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: #cdbac1; }
.hero .eyebrow { color: var(--gold-soft); }

@media (min-width: 640px) {
  .hero-actions { flex-direction: row; align-items: center; }
  .hero-actions .btn { width: auto; }
}
@media (min-width: 900px) {
  .hero { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); min-height: min(100svh, 980px); }
  .hero-copy { grid-column: 1; grid-row: 1; align-self: center; margin: 0; padding: calc(var(--header-h) + 56px) clamp(32px, 5vw, 88px) 72px max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); }
  .hero-photo { grid-column: 2; grid-row: 1; margin: 0; aspect-ratio: auto; max-height: none; height: 100%; min-height: 640px; --focus: 28% 14%; }
  .hero-photo::after { inset: 0; height: auto; background: linear-gradient(90deg, var(--deep) 0%, rgba(62, 37, 45, 0) 22%); }
  .hero h1 { font-size: clamp(3.4rem, 5.2vw, 6rem); max-width: 12ch; }
  .hero .lead { font-size: 1.12rem; }
}

/* ---------- Manifesto ---------- */
.manifesto { background: var(--wine); color: #fff; text-align: center; padding: clamp(40px, 6vw, 68px) var(--pad); }
.manifesto p {
  margin: 0 auto; max-width: 28ch;
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(1.7rem, 4.4vw, 2.9rem); line-height: 1.2; text-wrap: balance;
}
.manifesto::before { content: ""; display: block; width: 46px; height: 1px; background: var(--gold); margin: 0 auto 1.6rem; }

/* ---------- Sobre ---------- */
.about-grid { display: grid; gap: 40px; align-items: center; }
.about-photo { --focus: 50% 14%; aspect-ratio: 4 / 5; width: 100%; max-width: 480px; margin-inline: auto; }
.about-photo::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(255, 255, 255, .5); pointer-events: none; }
.about-copy h2 { font-size: clamp(2.4rem, 8vw, 4.2rem); margin-bottom: 1.6rem; }
.about-copy p { font-size: 1.04rem; line-height: 1.85; color: #463b3e; max-width: 56ch; }
.about-copy .pull { font-family: var(--serif); font-size: clamp(1.4rem, 3.4vw, 1.8rem); line-height: 1.4; color: var(--wine); font-weight: 500; }
.about-copy .link-arrow { margin-top: .8rem; }

@media (min-width: 900px) {
  .about-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(48px, 7vw, 110px); }
  .about-photo { max-width: none; margin: 0; }
}

/* ---------- Atuação ---------- */
.services { background: var(--sand); }
.section-head { display: grid; gap: 1.2rem; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { font-size: clamp(2.4rem, 8vw, 4.4rem); }
.section-head p { margin: 0; max-width: 52ch; color: var(--muted); font-size: 1.04rem; line-height: 1.8; }
.cards { display: grid; gap: 1px; background: #d9c9c5; border: 1px solid #d9c9c5; }
.card { background: var(--cream); padding: 2.2rem 1.7rem 2.4rem; }
.card-num { display: block; font-family: var(--serif); font-size: 1.1rem; font-style: italic; color: var(--gold-text); margin-bottom: 1.2rem; }
.card h3 { font-size: clamp(1.9rem, 5vw, 2.3rem); margin-bottom: 1.1rem; color: var(--deep); }
.card h3::after { content: ""; display: block; width: 34px; height: 1px; background: var(--gold); margin-top: 1rem; }
.card p { color: var(--muted); font-size: .98rem; line-height: 1.8; }
.card p:last-child { margin-bottom: 0; }
.services-note { margin: clamp(32px, 4vw, 56px) auto 0; max-width: 62ch; text-align: center; font-family: var(--serif); font-size: clamp(1.3rem, 3vw, 1.65rem); line-height: 1.45; color: var(--wine); }

@media (min-width: 900px) {
  .section-head { grid-template-columns: 1.1fr .9fr; align-items: end; gap: 6vw; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .card { padding: 3rem 2.4rem 3.2rem; }
}

/* ---------- Princípios ---------- */
.values-grid { display: grid; gap: 40px; align-items: center; }
.values-photo { --focus: 42% 28%; aspect-ratio: 4 / 5; width: 100%; max-width: 480px; margin-inline: auto; }
.values h2 { font-size: clamp(2.3rem, 7.4vw, 4rem); margin-bottom: 1.4rem; }
.values-lead { font-family: var(--serif); font-size: clamp(1.3rem, 3.2vw, 1.7rem); line-height: 1.45; color: var(--wine); margin-bottom: 2rem; }
.principles { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
.principles li { display: flex; align-items: baseline; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
.principles li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none; transform: translateY(-2px); }

@media (min-width: 640px) { .principles { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; } }
@media (min-width: 900px) {
  .values-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(48px, 7vw, 110px); }
  .values-photo { max-width: none; margin: 0; }
}


/* ---------- Depoimentos ---------- */
.testimonials { background: var(--sand); }
.quotes { display: grid; gap: 20px; }
.quote { margin: 0; position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 1.6rem; background: var(--cream); border: 1px solid #d9c9c5; padding: 3.2rem 1.6rem 1.6rem; }
.quote::before { content: "\201C"; position: absolute; top: .6rem; left: 1.4rem; font-family: var(--serif); font-size: 4.4rem; line-height: 1; color: var(--gold); }
.quote blockquote { margin: 0; }
.quote blockquote p { font-size: 1rem; line-height: 1.8; color: #463b3e; }
.quote blockquote p:last-child { margin-bottom: 0; }
.quote .quote-title { font-family: var(--serif); font-size: 1.35rem; line-height: 1.35; font-style: italic; color: var(--wine); }
.quote figcaption { padding-top: 1.2rem; border-top: 1px solid var(--line); }
.quote-author { display: inline-flex; align-items: center; gap: .7rem; min-height: 44px; font-weight: 600; font-size: .92rem; color: var(--wine); text-decoration: none; overflow-wrap: anywhere; }
a.quote-author:hover span { text-decoration: underline; text-underline-offset: 4px; }
.quote-author svg { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 900px) {
  .quotes { grid-template-columns: 1fr 1fr; gap: 24px; }
  .quote { padding: 3.6rem 2.2rem 1.8rem; }
  .quote:last-child { grid-column: 1 / -1; justify-self: center; width: 100%; max-width: 760px; }
}

/* ---------- Trajetória ---------- */
.journey { background: var(--deep); color: #fff; }
.journey .section-head p { color: #d8cbd0; }
.numbers { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(197, 163, 108, .4); border-bottom: 1px solid rgba(197, 163, 108, .4); }
.numbers li { padding: 1.6rem 1rem 1.8rem 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.numbers li:nth-child(odd) { padding-right: 1rem; }
.numbers li:nth-child(even) { padding-left: 1.2rem; border-left: 1px solid rgba(255, 255, 255, .1); }
.numbers li:nth-last-child(-n+2) { border-bottom: 0; }
.numbers strong { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(3.4rem, 14vw, 5.6rem); line-height: .95; color: var(--rose); }
.numbers .n-label { display: block; margin: .8rem 0 .5rem; font-size: .68rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--gold-soft); line-height: 1.5; }
.numbers small { display: block; font-size: .84rem; line-height: 1.6; color: #cdbec4; }

.timeline { margin-top: clamp(40px, 6vw, 72px); position: relative; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 4px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(var(--gold), rgba(197, 163, 108, .15)); }
.timeline li { position: relative; padding: 0 0 1.9rem; }
.timeline li::before { content: ""; position: absolute; left: -26px; top: .55rem; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px var(--deep); }
.timeline .when { display: block; font-family: var(--serif); font-size: 1.15rem; font-style: italic; color: var(--gold-soft); }
.timeline b { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.55rem; line-height: 1.15; color: #fff; margin: .15rem 0 .3rem; }
.timeline small { display: block; font-size: .86rem; line-height: 1.6; color: #cdbec4; max-width: 46ch; }

@media (min-width: 900px) {
  .numbers { grid-template-columns: repeat(4, 1fr); }
  .numbers li, .numbers li:nth-child(odd), .numbers li:nth-child(even) { padding: 2.2rem 1.6rem 2.4rem; border: 0; border-left: 1px solid rgba(255, 255, 255, .12); }
  .numbers li:first-child { padding-left: 0; border-left: 0; }
  .timeline { display: grid; grid-template-columns: 1fr 1fr; column-gap: 88px; padding-left: 0; }
  .timeline::before { left: 50%; }
  .timeline li { padding: 0 0 2.4rem; }
  .timeline li::before { left: auto; right: -49px; }
  .timeline li:nth-child(even)::before { right: auto; left: -49px; }
  .timeline li:nth-child(odd) { text-align: right; }
  .timeline li:nth-child(odd) small { margin-left: auto; }
  .timeline li:nth-child(even) { margin-top: 3rem; }
}

/* ---------- Banner editorial / Instagram ---------- */
.editorial { position: relative; background: var(--deep-2); color: #fff; }
.editorial-photo { --focus: 72% 30%; aspect-ratio: 4 / 3; width: 100%; }
.editorial-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(47, 27, 34, .94) 8%, rgba(47, 27, 34, 0) 62%); }
.editorial-copy { position: relative; z-index: 2; margin-top: -120px; padding: 0 var(--pad) 56px; }
.editorial h2 { font-size: clamp(2.2rem, 7vw, 3.6rem); margin-bottom: 1.2rem; }
.editorial p { margin: 0 0 1.6rem; color: #e1d3d8; max-width: 44ch; }
.ig-icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }

@media (min-width: 900px) {
  .editorial-photo { aspect-ratio: 16 / 7; --focus: 70% 34%; }
  .editorial-photo::after { background: linear-gradient(90deg, rgba(47, 27, 34, .92) 8%, rgba(47, 27, 34, 0) 58%); }
  .editorial-copy { position: absolute; inset: 0; margin: 0; padding: 0 max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
}

/* ---------- Contato ---------- */
.contact { background: var(--wine); color: #fff; }
.contact-grid { display: grid; gap: 48px; }
.contact h2 { font-size: clamp(2.5rem, 8.6vw, 4.6rem); margin-bottom: 1.4rem; }
.contact-copy p { color: #f1e4e8; max-width: 50ch; font-size: 1.05rem; line-height: 1.8; }
.contact-copy p.closing { margin-top: 1.4rem; }
.contact-copy .btn { margin-top: 1rem; }
.contact-list { display: grid; align-content: center; }
.contact-item { display: flex; align-items: center; gap: 1rem; padding: 1.15rem 0; min-height: 64px; border-bottom: 1px solid rgba(255, 255, 255, .18); text-decoration: none; transition: transform .25s var(--ease), color .25s; }
.contact-item:first-child { border-top: 1px solid rgba(255, 255, 255, .18); }
.contact-item:hover { transform: translateX(4px); color: var(--blush); }
.contact-item svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--gold-soft); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.contact-item span { overflow-wrap: anywhere; font-size: 1.02rem; }
.contact-item small { display: block; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: #dcc5cd; margin-bottom: .1rem; }
.contact-note { margin: 1.6rem 0 0; font-size: .82rem; line-height: 1.6; color: #e1ccd3; max-width: 44ch; }

@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.15fr .85fr; gap: clamp(48px, 8vw, 120px); align-items: center; } }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--deep-2); color: #e9dde1; padding: 56px var(--pad) 40px; text-align: center; }
.site-footer img { width: 190px; margin: 0 auto 1.4rem; }
.site-footer p { margin: 0 0 .4rem; font-size: .9rem; letter-spacing: .06em; }
.site-footer .legal { margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .78rem; color: #bda9b0; letter-spacing: 0; }
.site-footer a { text-underline-offset: 4px; }

/* ---------- WhatsApp flutuante ---------- */
.floating {
  position: fixed; right: max(14px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom)); z-index: 90;
  width: 54px; height: 54px; padding: 0; border-radius: 50%;
  background: #fff; color: var(--wine); border: 1px solid rgba(112, 64, 82, .2);
  box-shadow: 0 12px 34px rgba(45, 25, 32, .24);
}
.floating span { display: none; }
.floating { opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s, transform .3s, visibility .3s, background .25s, color .25s; }
.floating.is-shown { opacity: 1; visibility: visible; transform: none; }
.floating:hover { background: var(--wine); color: #fff; }
@media (min-width: 900px) { .floating { width: auto; height: 50px; padding: 0 1.3rem 0 1.1rem; border-radius: 999px; } .floating span { display: inline; } }

/* ---------- Página "Minha história" ---------- */
.story-hero { background: var(--deep); color: #fff; padding: calc(var(--header-h) + 48px) 0 56px; overflow: hidden; }
.story-hero-grid { display: grid; gap: 36px; align-items: center; }
.story-hero h1 { font-size: clamp(2.5rem, 9vw, 5.4rem); max-width: 16ch; margin-bottom: 1.4rem; }
.story-hero .tagline { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 4vw, 2rem); color: var(--gold-soft); margin: 0; }
.story-photo { --focus: 46% 28%; aspect-ratio: 4 / 5; max-width: 440px; width: 100%; margin-inline: auto; }
.story-photo::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(255, 255, 255, .4); pointer-events: none; }

.reading-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; background: transparent; }
.reading-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--rose), var(--gold)); }

.story-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; padding-block: 40px 80px; }
.story-toc { margin-bottom: 36px; min-width: 0; }
.story-toc-title { font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); margin: 0 0 .9rem; }
.story-toc ol { display: flex; gap: .6rem; overflow-x: auto; padding: 2px var(--pad) 10px; margin: 0 calc(var(--pad) * -1); scroll-snap-type: x proximity; scrollbar-width: none; }
.story-toc ol::-webkit-scrollbar { display: none; }
.story-toc a { display: block; white-space: nowrap; scroll-snap-align: start; padding: .6rem 1rem; min-height: 44px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: .78rem; color: var(--wine); background: rgba(255, 255, 255, .6); }
.story-toc a[aria-current] { background: var(--wine); color: #fff; border-color: var(--wine); }

.authored { max-width: 70ch; }
.authored .byline { font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); margin: 0 0 2rem; }
.authored p { font-size: 1.0625rem; line-height: 1.9; color: #3f3437; margin: 0 0 1.25em; }
.authored p.first::first-letter { float: left; font-family: var(--serif); font-weight: 500; font-size: 4.6rem; line-height: .8; color: var(--wine); padding: .28rem .6rem 0 0; }
.authored h2 { font-size: clamp(2.2rem, 6.6vw, 3.4rem); color: var(--deep); margin: 3.6rem 0 1.4rem; padding-top: 1.6rem; border-top: 1px solid var(--line); position: relative; scroll-margin-top: calc(var(--header-h) + 16px); }
.authored h2::before { content: ""; position: absolute; top: -1px; left: 0; width: 64px; height: 2px; background: var(--gold); }
.authored h3 { font-size: clamp(1.7rem, 4.6vw, 2.1rem); color: var(--wine); margin: 2.2rem 0 .8rem; font-style: italic; font-weight: 500; }
.authored .signature { margin-top: 3rem; padding-top: 1.8rem; border-top: 1px solid var(--line); }
.authored .signature .name { font-family: var(--serif); font-size: 2.2rem; line-height: 1.1; color: var(--deep); margin: 0 0 .3rem; }
.authored .signature p { margin-bottom: .3rem; }
.authored .signature .motto { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--wine); margin-top: 1.2rem; }
.story-cta { margin-top: 2.4rem; }

@media (min-width: 900px) {
  .story-hero { padding: calc(var(--header-h) + 72px) 0 88px; }
  .story-hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 7vw; }
  .story-photo { margin: 0 0 0 auto; }
  .story-layout { grid-template-columns: 230px minmax(0, 1fr); gap: clamp(48px, 8vw, 120px); padding-block: 72px 110px; }
  .story-toc { position: sticky; top: calc(var(--header-h) + 28px); align-self: start; margin: 0; }
  .story-toc ol { flex-direction: column; overflow: visible; padding: 0; margin: 0; gap: 0; }
  .story-toc a { border: 0; border-left: 1px solid var(--line); border-radius: 0; background: none; padding: .55rem 0 .55rem 1rem; min-height: 0; white-space: normal; font-size: .8rem; line-height: 1.45; color: #6d5f64; }
  .story-toc a:hover { color: var(--wine); border-left-color: var(--wine); }
  .story-toc a[aria-current] { background: none; color: var(--wine); border-left: 2px solid var(--wine); font-weight: 600; }
}


/* ==========================================================================
   Página de links (/links) — mesma identidade do site, sem menu
   ========================================================================== */
.links-page {
  min-height: 100svh;
  background:
    radial-gradient(120% 55% at 50% 0%, rgba(188, 130, 152, .28), rgba(188, 130, 152, 0) 62%),
    radial-gradient(90% 40% at 50% 100%, rgba(197, 163, 108, .12), rgba(197, 163, 108, 0) 70%),
    var(--deep);
  color: #fff;
}
.links-wrap {
  width: 100%; max-width: 520px; margin-inline: auto;
  padding: max(36px, env(safe-area-inset-top)) 20px max(32px, env(safe-area-inset-bottom));
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.links-head { display: flex; flex-direction: column; align-items: center; width: 100%; }

/* Foto em arco, com anel dourado e rosto sempre enquadrado */
.links-photo {
  --focus: 30% 12%;
  width: min(280px, 70vw); aspect-ratio: 4 / 5;
  border-radius: 999px 999px 26px 26px;
  background: var(--deep-2);
  outline: 1px solid rgba(197, 163, 108, .6); outline-offset: 9px;
  box-shadow: 0 30px 60px rgba(20, 8, 13, .45);
}
.links-photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(0deg, rgba(62, 37, 45, .55), rgba(62, 37, 45, 0)); pointer-events: none; }
.links-head h1 { margin: 2.4rem 0 0; width: min(210px, 56vw); line-height: 0; }
.links-logo { width: 100%; height: auto; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .25)); }
.links-role { margin: 1.3rem 0 0; font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-soft); }
.links-tagline { margin: .9rem 0 0; font-family: var(--serif); font-style: italic; font-size: 1.35rem; line-height: 1.3; color: #eadfe2; max-width: 24ch; text-wrap: balance; }

.links-list { display: grid; gap: 12px; width: 100%; margin-top: 2.2rem; }
.link-card {
  position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr) 22px; align-items: center; gap: 1rem;
  min-height: 72px; padding: .8rem 1.1rem .8rem .8rem; text-align: left; text-decoration: none; color: #fff;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(197, 163, 108, .38); border-radius: 20px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: transform .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.link-icon {
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid rgba(197, 163, 108, .55); color: var(--gold-soft); background: rgba(62, 37, 45, .55);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.link-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.link-text { min-width: 0; }
.link-text b { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.4rem; line-height: 1.15; }
.link-text small { display: block; margin-top: .2rem; font-size: .8rem; line-height: 1.4; color: #d8c8ce; overflow-wrap: anywhere; }
.link-card .arrow { width: 20px; height: 20px; fill: none; stroke: var(--gold-soft); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease), stroke .3s; }
.link-card:hover, .link-card:focus-visible { transform: translateY(-3px); background: rgba(255, 255, 255, .12); border-color: var(--gold); box-shadow: 0 16px 36px rgba(20, 8, 13, .35); }
.link-card:hover .link-icon, .link-card:focus-visible .link-icon { background: var(--gold); color: var(--deep); border-color: var(--gold); transform: scale(1.05); }
.link-card:hover .arrow, .link-card:focus-visible .arrow { transform: translate(3px, -3px); stroke: #fff; }
.link-card:active { transform: translateY(-1px) scale(.99); }

/* Destaque: WhatsApp / agendamento */
.link-card.is-primary { background: var(--cream); color: var(--wine); border-color: var(--cream); box-shadow: 0 14px 34px rgba(20, 8, 13, .3); }
.link-card.is-primary .link-icon { background: var(--wine); color: #fff; border-color: var(--wine); }
.link-card.is-primary .link-text small { color: var(--muted); }
.link-card.is-primary .arrow { stroke: var(--wine); }
.link-card.is-primary:hover, .link-card.is-primary:focus-visible { background: #fff; border-color: #fff; }
.link-card.is-primary:hover .link-icon, .link-card.is-primary:focus-visible .link-icon { background: var(--wine-hover); color: #fff; border-color: var(--wine-hover); }
.link-card.is-primary:hover .arrow { stroke: var(--wine); }

.links-foot { margin-top: 2.6rem; text-align: center; }
.links-foot p { margin: 0 auto; max-width: 30ch; font-family: var(--serif); font-style: italic; font-size: 1.15rem; line-height: 1.4; color: #cdbac1; }
.links-foot .legal { margin-top: 1.4rem; font: 400 .74rem var(--sans); font-style: normal; letter-spacing: .08em; color: #a8949b; }

/* Entrada animada, escalonada (não depende de JS) */
@keyframes links-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes links-arch { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
.links-photo { animation: links-arch 1s var(--ease) both; }
.links-head h1 { animation: links-rise .9s .25s var(--ease) both; }
.links-role { animation: links-rise .9s .38s var(--ease) both; }
.links-tagline { animation: links-rise .9s .5s var(--ease) both; }
.links-list li { animation: links-rise .8s calc(.62s + var(--i) * .09s) var(--ease) both; }
.links-foot { animation: links-rise .9s 1.3s var(--ease) both; }
@media (prefers-reduced-motion: reduce) {
  .links-photo, .links-head h1, .links-role, .links-tagline, .links-list li, .links-foot { animation: none; }
}
@media (min-width: 640px) { .links-wrap { padding-top: 56px; } .link-card { padding-right: 1.4rem; } }

/* ---------- 404 ---------- */
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; background: var(--deep); color: #fff; padding: 40px var(--pad); }
.notfound img { width: 200px; margin: 0 auto 2rem; }
.notfound h1 { font-size: clamp(2.4rem, 8vw, 4rem); margin-bottom: 1rem; }
.notfound p { color: #dccfd4; margin-bottom: 2rem; }

/* ---------- Preferências do usuário ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
