/* Essenza Beauty & Wellness — shared stylesheet */

:root {
  --cream: #EFEBE0;      /* IG: fundo creme/ivory dos cards */
  --white: #FBFAF6;
  --sage: #A79F89;       /* IG: greige/taupe dos cards */
  --sage-dark: #6F6854;  /* taupe escuro (botões/texto) — ajustado p/ contraste AA */
  --sage-light: #E7E3D7;
  --gold: #AE9A6F;       /* IG: dourado champagne do logo na parede */
  --gold-light: #D6CBAF;
  --gold-text: #6F5F3B;   /* dourado escurecido p/ texto (AA 4.5+) */
  --sage-text: #6B6450;   /* taupe p/ texto pequeno (AA 4.5+) */
  --text: #3F3A2F;
  --text-soft: #6E685A;
  --border: #E0DBCC;
  --max-width: 1120px;
}

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

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.skip-link { position:absolute; left:16px; top:-60px; z-index:200; background:var(--text); color:var(--white); padding:10px 16px; font-size:0.85rem; }
.skip-link:focus { top:12px; }
:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 3px; }
a:focus:not(:focus-visible), button:focus:not(:focus-visible) { outline: none; }

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-weight: 400;
  font-size: 16px;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  font-variation-settings: 'SOFT' 100, 'opsz' 96;
  font-weight: 700;
  color: var(--text);
  line-height: 1.08;
  letter-spacing: -0.012em;
}

h1 { font-size: 3.4rem; font-style: normal; }
h2 { font-size: 2.3rem; font-style: normal; }
h3 { font-size: 1.4rem; font-weight: 600; line-height: 1.2; }
h1 em, h2 em { font-style: italic; font-weight: 600; color: var(--gold-text); }
.cta-banner h2 em { color: var(--gold-light); }

p { margin-bottom: 1rem; color: var(--text-soft); }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 249, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.logo {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-style: normal;
  font-size: 1.9rem;
  color: var(--sage-dark);
  letter-spacing: 0.06em;
  line-height: 1;
}
.logo .wordmark { display: block; width: 132px; height: auto; }
.logo span.sub { margin-top: 5px; }
.logo span.sub {
  margin-top: 4px;
  display: block;
  padding-left: 2px;
  font-family: 'Montserrat', sans-serif;
  font-style: normal;
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  color: var(--text-soft);
  text-transform: uppercase;
  margin-top: -2px;
}

.nav-links ul {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  flex-wrap: wrap;
}
.nav-links a {
  display: inline-block;
  padding: 6px 0;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.nav-links a:hover, .nav-links a.active { border-color: var(--gold); color: var(--sage-text); }

.btn {
  display: inline-block;
  padding: 13px 30px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 0;
  transition: all 0.2s ease;
  border: 1px solid var(--sage-dark);
}
.btn-primary {
  background: var(--sage-dark);
  color: var(--white);
}
.btn-primary:hover { background: #5F5946; border-color: #5F5946; }
.btn-outline {
  background: transparent;
  color: var(--sage-dark);
  border: 1px solid var(--sage-dark);
}
.btn-outline:hover { background: var(--sage-dark); color: var(--white); }
.btn-gold {
  background: var(--gold);
  color: var(--white);
  border: 1px solid var(--gold);
}
.btn-gold { color: var(--text); }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--text); }

/* ---------- Hero ---------- */

.hero {
  padding: 110px 0 90px;
  text-align: center;
  background: linear-gradient(180deg, var(--sage-light) 0%, var(--white) 100%);
}
.hero .eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage-text);
  margin-bottom: 18px;
}
.hero h1 { max-width: 780px; margin: 0 auto 20px; }
.hero p.lead {
  max-width: 560px;
  margin: 0 auto 32px;
  font-size: 1.08rem;
}
.hero .cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-sub {
  padding: 70px 0 60px;
  text-align: center;
  background: var(--sage-light);
}
.hero-sub h1 { font-size: 2.6rem; }

/* ---------- Credibility strip ---------- */

.credibility {
  padding: 22px 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.credibility .container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  color: var(--text-soft);
  text-align: center;
}
.credibility strong { color: var(--sage-dark); }

/* ---------- Sections ---------- */

section { padding: 90px 0; }
section.alt { background: var(--cream); }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section-head .eyebrow {
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 14px;
}

/* ---------- Cards / Grid ---------- */

.grid {
  display: grid;
  gap: 32px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 40px 32px;
  border-radius: 0;
}
.card h3 { margin-bottom: 14px; }
.card .price {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--gold-text);
  font-weight: 500;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.service-card .body { padding: 32px; flex: 1; display: flex; flex-direction: column; }
.service-card .body p { flex: 1; }

/* ---------- Testimonials ---------- */

.testimonial {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 36px 32px;
  position: relative;
}
.testimonial p.quote {
  font-family: 'Fraunces', Georgia, serif;
  font-variation-settings: 'SOFT' 100, 'opsz' 24;
  font-weight: 500;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 16px;
}
.testimonial .source {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--sage-dark);
}

/* ---------- Pricing table ---------- */

table.pricing {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: var(--white);
}
table.pricing th, table.pricing td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}
table.pricing th {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage-dark);
}
table.pricing td.amount { color: var(--gold-text); font-weight: 500; }
.pricing-note { font-size: 0.82rem; color: var(--text-soft); margin-top: 14px; font-style: italic; }

/* ---------- FAQ ---------- */

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 26px 0;
}
.faq-item h4 { font-family: 'Montserrat', sans-serif; font-weight: 500; font-size: 1rem; margin-bottom: 10px; color: var(--sage-dark); }
.faq-group-title {
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin: 48px 0 6px;
}
.faq-group-title:first-of-type { margin-top: 0; }

/* ---------- CTA banner ---------- */

.cta-banner {
  background: var(--sage-dark);
  color: var(--white);
  text-align: center;
  padding: 80px 0;
}
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p { color: #F2EFE6; max-width: 480px; margin: 0 auto 30px; }
.cta-banner .btn-primary { background: var(--gold-light); border-color: var(--gold-light); color: var(--text); }
.cta-banner .btn-primary:hover { background: var(--white); border-color: var(--white); color: var(--text); }

/* ---------- Footer ---------- */

footer.site-footer {
  background: var(--text);
  color: var(--cream);
  padding: 60px 0 30px;
}
footer.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
footer.site-footer h4, footer.site-footer .footer-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
}
footer.site-footer .logo { color: var(--cream); margin-bottom: 14px; display: inline-block; }
footer.site-footer .logo span.sub {
  margin-top: 4px; color: var(--cream); opacity: 0.7; }
footer.site-footer p, footer.site-footer a { color: var(--cream); opacity: 0.85; font-size: 0.88rem; }
footer.site-footer ul { list-style: none; }
footer.site-footer li { margin-bottom: 10px; }
footer.site-footer .bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 22px;
  font-size: 0.75rem;
  opacity: 0.6;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Steps / How it works ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}
.steps .num {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 2.2rem;
  color: var(--gold-text);
  margin-bottom: 10px;
}

/* ---------- Two column ---------- */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 30px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  h1 { font-size: 2.3rem; }
  h2 { font-size: 1.8rem; }
  .nav-links { gap: 16px; }
  footer.site-footer .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 70px 0 60px; }
  section { padding: 60px 0; }
}

/* ---------- Mobile nav (hamburger) ---------- */

.nav-toggle-label { display: none; cursor: pointer; width: 44px; height: 44px; position: relative; background: none; border: 0; padding: 0; }
.nav-toggle-label span, .nav-toggle-label span::before, .nav-toggle-label span::after { left: 8px; width: 28px; }
.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block; position: absolute; height: 2px; width: 100%;
  background: var(--sage-dark); transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle-label span { top: 9px; }
.nav-toggle-label span::before { content: ''; top: -8px; }
.nav-toggle-label span::after { content: ''; top: 8px; }

@media (max-width: 860px) {
  .nav-wrap { padding: 12px 20px; gap: 10px; }
  .logo .wordmark { width: 112px; }
  .logo span.sub { font-size: 0.5rem; letter-spacing: 0.22em; }
  .nav-toggle-label { display: block; order: 3; }
  .nav-wrap .btn-primary { order: 2; margin-left: auto; padding: 10px 14px; font-size: 0.7rem; }
  .nav-links {
    display: none; order: 4; width: 100%;
    padding: 14px 0 8px; border-top: 1px solid var(--border); margin-top: 6px;
  }
  .nav-links ul { flex-direction: column; align-items: flex-start; gap: 4px; }
  .nav-links a { display: block; padding: 10px 0; font-size: 0.9rem; }
  body.nav-open .nav-links { display: block; }
  html:not(.js) .nav-links { display: block; }
  html:not(.js) .nav-toggle-label { display: none; }
  body.nav-open .nav-toggle-label span { transform: rotate(45deg); }
  body.nav-open .nav-toggle-label span::before { transform: rotate(90deg); top: 0; }
  body.nav-open .nav-toggle-label span::after { opacity: 0; }
  .credibility .container { gap: 10px 24px; font-size: 0.78rem; }
}


/* ---------- Photos ---------- */

.photo { overflow: hidden; background: var(--sage-light); min-height: 220px; }
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }
.photo.tall { height: 520px; }
.photo.wide { height: 320px; }
.two-col .photo.tall img { object-position: center 15%; }
.service-card .photo { height: 260px; }
.card .photo { height: 220px; margin-bottom: 18px; }
.grid-3 .photo.wide img { object-position: center 25%; }
@media (max-width: 860px) {
  .photo.tall { height: 380px; }
  .photo.wide { height: 260px; }
}

/* ---------- Photos v2 (set/2026) ---------- */
.card .photo img, .service-card .photo img { object-position: center center; }
.photo.wide { height: 360px; }
.photo.ba { height: 420px; }
.photo.ba img { object-fit: cover; object-position: center center; }
@media (max-width: 860px) { .photo.ba { height: 380px; } }
.photo.span2 { grid-column: span 2; }
.photo.span2 img { object-position: center 45%; }
@media (max-width: 860px) { .photo.span2 { grid-column: auto; } }

/* ---------- Audit fixes (nov/2026) ---------- */
.photo img { aspect-ratio: auto; }
table.pricing { display: table; }
@media (max-width: 600px) {
  table.pricing th, table.pricing td { padding: 12px 10px; font-size: 0.86rem; }
  .btn { padding: 13px 22px; }
  .hero .cta-row .btn { width: 100%; max-width: 360px; text-align: center; }
}
input, select, textarea { font-size: 16px; color: var(--text); background: var(--white); border-radius: 0; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 1px; }

h2.card-title { font-size: 1.5rem; font-style: normal; margin-bottom: 14px; }
h2.faq-group-title { font-family: 'Montserrat', sans-serif; font-weight: 500; font-style: normal; }

/* ---------- Identidade IG (nov/2026): formas e detalhes ---------- */
/* moldura fina (como nos posts com painel translúcido) */
.hero .container { position: relative; padding: 56px 32px; max-width: 900px; }
.hero .container::before { content: ""; position: absolute; inset: 0; border: 1px solid rgba(124,117,95,0.35); pointer-events: none; }
.hero-sub .container { position: relative; }
.cta-banner .container { position: relative; padding: 48px 32px; max-width: 820px; }
.cta-banner .container::before { content: ""; position: absolute; inset: 0; border: 1px solid rgba(251,250,246,0.35); pointer-events: none; }
/* link com seta circulada (ícone recorrente dos posts) */
.arrow-link { display: inline-flex; align-items: center; gap: 12px; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sage-dark); font-weight: 500; margin-top: auto; }
.arrow-link .arrow { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: 1px solid var(--sage-dark); border-radius: 50%; font-size: 1rem; transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease; }
.arrow-link:hover .arrow { background: var(--sage-dark); color: var(--white); transform: translateX(3px); }
.service-card .body .arrow-link { margin-top: 18px; }
/* cards com borda fina dourada em fundo creme (contraste de moldura) */
section.alt .card, section.alt .testimonial { border-color: var(--gold-light); }
/* sublinhado de destaque (como "get wrong" nos posts) */
.u { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; text-decoration-thickness: 1px; }
/* pílula antes/depois */
.pill { display: inline-block; padding: 6px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--border); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sage-dark); }
@media (max-width: 860px) {
  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.85rem; }
  .hero .container { padding: 40px 22px; margin: 0 20px; }
  .cta-banner .container { padding: 40px 22px; margin: 0 20px; }
}

.amp { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; font-style: normal; }

/* =====================================================================
   MOTION DESIGN SYSTEM — Essenza (nov/2026)
   Princípios: quieto, editorial, intencional. Só transform/opacity.
   Durações: micro 180ms · UI 320ms · reveal 720ms · hero 900ms
   Easing: --ease-out (saída suave) · --ease-inout (deslocamentos)
   Distâncias: 18px (texto) · 28px (cards) · 6% (máscara de foto)
   ===================================================================== */
:root {
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
  --t-micro: 180ms; --t-ui: 320ms; --t-reveal: 720ms;
}

/* picture wrapper fills the frame; parallax moves the wrapper, zoom/reveal move the img */
.photo picture { display: block; height: 100%; will-change: transform; }
.motion .two-col .photo picture, .motion .grid-3 .photo.wide picture { height: 112%; margin-top: -6%; }

/* ---- Reveal on scroll (JS adds data-reveal + .is-in) ---- */
.motion [data-reveal] { opacity: 0; will-change: transform, opacity; }
.motion [data-reveal="up"] { transform: translate3d(0, 28px, 0); }
.motion [data-reveal="fade"] { transform: scale(0.985); }
.motion [data-reveal].is-in {
  opacity: 1; transform: none;
  transition: opacity var(--t-reveal) var(--ease-out) var(--d, 0ms), transform var(--t-reveal) var(--ease-out) var(--d, 0ms);
}
.motion [data-reveal].is-in { will-change: auto; }
/* photos: curtain mask + slow settle of the image */
.motion .photo[data-reveal="mask"] { opacity: 1; clip-path: inset(0 0 100% 0); }
.motion .photo[data-reveal="mask"].is-in { clip-path: inset(0 0 0 0); transition: clip-path 900ms var(--ease-inout) var(--d, 0ms); }
.motion .photo[data-reveal="mask"] img { transform: scale(1.08); transition: transform 1400ms var(--ease-out) var(--d, 0ms); }
.motion .photo[data-reveal="mask"].is-in img { transform: scale(1.0); }
.motion .photo img { transition: transform 900ms var(--ease-out); }

/* ---- Hero choreography ---- */
.motion .hero .eyebrow, .motion .hero .lead, .motion .hero .cta-row .btn { opacity: 0; transform: translate3d(0, 14px, 0); }
.motion .hero .container::before { transform: scale(0.96); opacity: 0; }
.motion .hero h1 .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding: 0 0.04em; margin: 0 -0.04em; }
.motion .hero h1 .wi { display: inline-block; transform: translate3d(0, 110%, 0); }
.hero h1 .wi.em { font-style: italic; font-weight: 600; color: var(--gold-text); }
.motion .hero.hero-in .container::before { transform: none; opacity: 1; transition: transform 1100ms var(--ease-out), opacity 900ms var(--ease-out); }
.motion .hero.hero-in .eyebrow { opacity: 1; transform: none; transition: opacity 600ms var(--ease-out) 120ms, transform 600ms var(--ease-out) 120ms; }
.motion .hero.hero-in h1 .wi { transform: none; transition: transform 820ms var(--ease-out) calc(220ms + var(--d, 0ms)); }
.motion .hero.hero-in .lead { opacity: 1; transform: none; transition: opacity 700ms var(--ease-out) 640ms, transform 700ms var(--ease-out) 640ms; }
.motion .hero.hero-in .cta-row .btn { opacity: 1; transform: none; }
.motion .hero.hero-in .cta-row .btn:nth-child(1) { transition: opacity 600ms var(--ease-out) 800ms, transform 600ms var(--ease-out) 800ms, background var(--t-ui), border-color var(--t-ui), color var(--t-ui); }
.motion .hero.hero-in .cta-row .btn:nth-child(2) { transition: opacity 600ms var(--ease-out) 900ms, transform 600ms var(--ease-out) 900ms, background var(--t-ui), border-color var(--t-ui), color var(--t-ui); }

/* ---- Header: compacts on scroll ---- */
.site-header { transition: box-shadow var(--t-ui) var(--ease-out), background var(--t-ui); }
.site-header .nav-wrap { transition: padding var(--t-ui) var(--ease-out); }
.site-header .logo .wordmark { transition: width var(--t-ui) var(--ease-out); }
.site-header.scrolled { box-shadow: 0 1px 0 var(--border), 0 10px 30px -18px rgba(63,58,47,0.25); background: rgba(255,253,249,0.9); }
@media (min-width: 861px) {
  .site-header.scrolled .nav-wrap { padding-top: 10px; padding-bottom: 10px; }
  .site-header.scrolled .logo .wordmark { width: 112px; }
}

/* ---- Nav: animated underline ---- */
.nav-links a { position: relative; border-bottom: 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform var(--t-ui) var(--ease-out); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-links a { transition: color var(--t-micro) ease; }

/* ---- Buttons: pointer-origin sheen + lift ---- */
.btn { position: relative; overflow: hidden; isolation: isolate; transition: transform var(--t-ui) var(--ease-out), background var(--t-ui), border-color var(--t-ui), color var(--t-ui), box-shadow var(--t-ui); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120px 60px at var(--mx, 50%) 50%, rgba(255,255,255,0.22), transparent 70%); opacity: 0; transition: opacity var(--t-ui) ease; }
.btn:hover::before { opacity: 1; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -14px rgba(63,58,47,0.45); }
.btn:active { transform: translateY(0); transition-duration: 80ms; }
.btn.is-sending { opacity: 0.7; pointer-events: none; }

/* ---- Arrow links & cards ---- */
.arrow-link .arrow { transition: background var(--t-ui) var(--ease-out), color var(--t-ui), transform var(--t-ui) var(--ease-out); }
.arrow-link:hover .arrow { transform: translateX(4px); }
.service-card, .card, .testimonial { transition: transform var(--t-ui) var(--ease-out), box-shadow var(--t-ui) var(--ease-out), border-color var(--t-ui); }
.service-card:hover, .card:hover, .testimonial:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -28px rgba(63,58,47,0.35); border-color: var(--gold-light); }
.service-card:hover .photo img { transform: scale(1.04); }
.service-card .photo img { transition: transform 900ms var(--ease-out); }

/* ---- Gallery photos: gentle zoom on hover ---- */
.grid-3 .photo img { transition: transform 1200ms var(--ease-out); }
.grid-3 .photo:hover img { transform: scale(1.03); }

/* ---- Forms: focus glide ---- */
input, select, textarea { transition: border-color var(--t-ui) ease, box-shadow var(--t-ui) ease, transform var(--t-ui) var(--ease-out); }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--gold) !important; box-shadow: 0 0 0 3px rgba(174,154,111,0.18); outline: none; }

/* ---- FAQ items & pricing rows ---- */
.faq-item { transition: padding-left var(--t-ui) var(--ease-out); }
table.pricing tr { transition: background var(--t-micro) ease; }
table.pricing tbody tr:hover { background: var(--cream); }

/* ---- Mobile nav: slide/fade ---- */
@media (max-width: 860px) {
  .motion body.nav-open .nav-links { animation: navIn 320ms var(--ease-out) both; }
  .motion body.nav-open .nav-links li { animation: navItem 420ms var(--ease-out) both; }
  .motion body.nav-open .nav-links li:nth-child(2) { animation-delay: 40ms; }
  .motion body.nav-open .nav-links li:nth-child(3) { animation-delay: 80ms; }
  .motion body.nav-open .nav-links li:nth-child(4) { animation-delay: 120ms; }
  .motion body.nav-open .nav-links li:nth-child(5) { animation-delay: 160ms; }
  .motion body.nav-open .nav-links li:nth-child(6) { animation-delay: 200ms; }
  .motion body.nav-open .nav-links li:nth-child(7) { animation-delay: 240ms; }
}
@keyframes navIn { from { opacity: 0; transform: translate3d(0,-6px,0); } to { opacity: 1; transform: none; } }
@keyframes navItem { from { opacity: 0; transform: translate3d(-8px,0,0); } to { opacity: 1; transform: none; } }

/* ---- Cross-document page transitions (View Transitions API, progressive) ---- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut 220ms var(--ease-inout) both; }
::view-transition-new(root) { animation: vtIn 360ms var(--ease-out) both; }
@keyframes vtOut { to { opacity: 0; } }
@keyframes vtIn { from { opacity: 0; transform: translate3d(0, 10px, 0); } to { opacity: 1; transform: none; } }
.site-header { view-transition-name: site-header; }
::view-transition-old(site-header), ::view-transition-new(site-header) { animation: none; }

/* ---- Reduced motion: everything static, instantly visible ---- */
@media (prefers-reduced-motion: reduce) {
  [data-reveal], .hero .eyebrow, .hero .lead, .hero .cta-row .btn, .hero h1 .wi { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
