/* ==========================================================================
   Dra. Layla Maldjian Dermatologia · Site Institucional
   Sistema de Design — paleta, tipografia, componentes, animações
   ========================================================================== */

/* ---------- TOKENS ---------- */
:root {
  /* Paleta */
  --green-deep: #11342E;
  --green-forest: #1A4A41;
  --green-petrol: #1F574C;
  --green-soft: #234F46;
  --green-mist: rgba(26, 74, 65, 0.08);
  --gold: #C9A35A;
  --gold-light: #E0C285;
  --gold-deep: #A37C3A;
  --cream: #F8F4ED;
  --cream-warm: #F2EBDD;
  --cream-deep: #EBE2D0;
  --ink: #1A1A1A;
  --ink-soft: #4A4540;
  --ink-mute: #7A736A;
  --line: rgba(26, 74, 65, 0.14);
  --line-gold: rgba(201, 163, 90, 0.32);

  /* Glass */
  --glass-tint: rgba(255, 252, 246, 0.55);
  --glass-tint-dark: rgba(17, 52, 46, 0.42);
  --glass-border: rgba(255, 255, 255, 0.55);
  --glass-border-dark: rgba(255, 247, 230, 0.16);
  --glass-shadow: 0 30px 60px -25px rgba(17, 52, 46, 0.35), 0 8px 24px -12px rgba(17, 52, 46, 0.18);
  --glass-shadow-deep: 0 50px 90px -30px rgba(17, 52, 46, 0.55), 0 20px 40px -20px rgba(17, 52, 46, 0.28);

  /* Tipografia */
  --font-display: 'Italiana', 'Cormorant Garamond', 'Times New Roman', serif;
  --font-italic: 'Cormorant Garamond', 'Italiana', serif;
  --font-body: 'Poppins', 'Inter', 'Helvetica Neue', system-ui, sans-serif;
  --font-mono: 'Poppins', 'Inter', sans-serif;

  /* Layout */
  --max-w: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 36px;
  --radius-xl: 52px;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  /* Cor de fundo do overscroll: combina com o footer (verde escuro) */
  background: var(--green-deep);
}
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overscroll-behavior-y: none;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .3s ease; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { padding: 0; list-style: none; margin: 0; }
h1, h2, h3, h4, h5 { margin: 0; font-family: var(--font-display); font-weight: 400; line-height: 1.05; letter-spacing: -0.005em; color: var(--green-deep); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
section { position: relative; }

/* ---------- LIQUID GLASS BACKGROUND CANVAS ---------- */
body {
  background:
    radial-gradient(900px 700px at 8% 6%, rgba(201, 163, 90, 0.18), transparent 60%),
    radial-gradient(800px 800px at 92% 18%, rgba(31, 87, 76, 0.16), transparent 60%),
    radial-gradient(1100px 800px at 50% 110%, rgba(31, 87, 76, 0.12), transparent 65%),
    var(--cream);
}
.bg-flora-fixed {
  position: fixed; inset: 0; pointer-events: none; z-index: -1;
  overflow: hidden;
}
.bg-flora-fixed::before, .bg-flora-fixed::after {
  content: ''; position: absolute;
  background: url('../img/icone-dourado.png') center/contain no-repeat;
  opacity: 0.07; filter: blur(0.3px);
}
.bg-flora-fixed::before { width: 720px; height: 720px; top: -180px; right: -180px; transform: rotate(12deg); }
.bg-flora-fixed::after { width: 540px; height: 540px; bottom: -120px; left: -140px; opacity: 0.05; transform: rotate(-22deg); }

/* ---------- CONTAINER ---------- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }
.section-pad { padding: clamp(60px, 8vw, 110px) 0; }
.section-pad-sm { padding: clamp(45px, 6vw, 80px) 0; }

/* ---------- TIPOGRAFIA ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-deep);
  display: inline-flex; align-items: center; gap: 14px;
}
.eyebrow::before {
  content: ''; width: 36px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold));
}
h1 { font-size: clamp(46px, 7.4vw, 104px); font-weight: 400; letter-spacing: 0.005em; }
h2, .h2 { font-size: clamp(36px, 5.2vw, 68px); font-weight: 400; letter-spacing: 0.005em; }
h3 { font-size: clamp(28px, 3.2vw, 42px); font-weight: 400; letter-spacing: 0.01em; }
h4 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 400; letter-spacing: 0.015em; }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.65; color: var(--ink-soft); font-weight: 300; max-width: 56ch; letter-spacing: 0.005em; }
em, .italic { font-family: var(--font-italic); font-style: italic; font-weight: 600; color: var(--gold-deep); letter-spacing: 0; }
.highlight-script { font-family: var(--font-italic); font-style: italic; font-weight: 600; color: var(--gold-deep); }

/* ---------- BOTÕES ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 34px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: all .4s cubic-bezier(.2,.7,.2,1);
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--green-petrol);
  color: var(--cream);
  box-shadow: 0 10px 30px -8px rgba(31, 87, 76, 0.55), inset 0 1px 0 rgba(255,255,255,0.12);
}
.btn-primary:hover { background: var(--green-deep); transform: translateY(-2px); box-shadow: 0 18px 40px -10px rgba(31, 87, 76, 0.7); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-deep) 100%);
  color: var(--green-deep);
  box-shadow: 0 12px 28px -8px rgba(163, 124, 58, 0.55), inset 0 1px 0 rgba(255,255,255,0.4);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -10px rgba(163, 124, 58, 0.7); }
/* Liquid Glass iOS — botões transparentes com efeito frosted vivo */
.btn-glass, .btn-ghost {
  position: relative;
  isolation: isolate;
  background: linear-gradient(135deg, rgba(255, 252, 246, 0.55) 0%, rgba(255, 252, 246, 0.32) 50%, rgba(255, 252, 246, 0.45) 100%);
  color: var(--green-deep);
  border: 1px solid rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(40px) saturate(200%) brightness(1.08);
  -webkit-backdrop-filter: blur(40px) saturate(200%) brightness(1.08);
  box-shadow:
    0 16px 40px -16px rgba(17, 52, 46, 0.28),
    0 4px 12px -4px rgba(17, 52, 46, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 -1px 0 rgba(17, 52, 46, 0.06);
  overflow: hidden;
  transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease, background .4s ease;
}
/* Brilho de luz no topo (highlight specular) */
.btn-glass::before, .btn-ghost::before {
  content: '';
  position: absolute; top: 0; left: 6%; right: 6%; height: 50%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0));
  pointer-events: none;
  opacity: 0.85;
  z-index: -1;
}
/* Refração lateral mais sutil */
.btn-glass::after, .btn-ghost::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, transparent 40%, transparent 70%, rgba(255,255,255,0.12) 100%);
  pointer-events: none;
  mix-blend-mode: overlay;
  z-index: -1;
}
.btn-glass:hover, .btn-ghost:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(255, 252, 246, 0.7) 0%, rgba(255, 252, 246, 0.42) 50%, rgba(255, 252, 246, 0.6) 100%);
  box-shadow:
    0 28px 60px -20px rgba(17, 52, 46, 0.4),
    0 8px 18px -6px rgba(17, 52, 46, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(17, 52, 46, 0.06);
}
.btn .arrow {
  display: inline-block; transition: transform .35s ease;
  font-family: var(--font-body);
  letter-spacing: 0;
}
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- LIQUID GLASS BASE ---------- */
.glass {
  background: var(--glass-tint);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255,255,255,0.6);
  position: relative;
}
.glass::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,0.6) 0%, transparent 35%, transparent 65%, rgba(255,255,255,0.2) 100%);
  mix-blend-mode: overlay;
  opacity: 0.5;
}
.glass-dark {
  background: var(--glass-tint-dark);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid var(--glass-border-dark);
  border-radius: var(--radius-lg);
  color: var(--cream);
  box-shadow: var(--glass-shadow-deep), inset 0 1px 0 rgba(255,247,230,0.18);
}
.glass-dark h1, .glass-dark h2, .glass-dark h3, .glass-dark h4 { color: var(--cream); }

/* ---------- HEADER / NAV ---------- */
.site-header {
  position: fixed; top: 18px; left: 50%; transform: translateX(-50%);
  width: calc(100% - 32px); max-width: 1320px;
  z-index: 100;
  transition: top .35s ease, transform .35s ease;
}
.nav-pill {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 18px 12px 28px;
  background: rgba(255, 252, 246, 0.65);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 999px;
  box-shadow: 0 20px 50px -20px rgba(17, 52, 46, 0.25);
}
.nav-brand { display: flex; align-items: center; gap: 18px; }
.nav-brand img { height: 64px; width: auto; }
.nav-brand-text {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--green-deep);
  letter-spacing: 0.06em;
  line-height: 1;
}
.nav-brand-text small {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.34em;
  color: var(--gold-deep);
  text-transform: uppercase;
  margin-top: 4px;
}
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a {
  padding: 10px 18px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  border-radius: 999px;
  transition: all .3s ease;
}
.nav-links a:hover, .nav-links a.is-active { background: var(--green-mist); color: var(--green-deep); }
.nav-cta {
  background: var(--green-petrol) !important;
  color: var(--cream) !important;
  font-weight: 500 !important;
  padding: 12px 22px !important;
}
.nav-cta:hover { background: var(--green-deep) !important; color: var(--cream) !important; }
.nav-toggle { display: none; padding: 10px; }
.nav-toggle span {
  display: block; width: 22px; height: 1.5px; background: var(--green-deep);
  margin: 5px 0; transition: transform .3s, opacity .3s;
}

@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-pill.is-open ~ .nav-mobile { display: flex; }
}

.nav-mobile {
  display: none; flex-direction: column; gap: 4px;
  margin-top: 12px; padding: 22px;
  background: rgba(255, 252, 246, 0.85);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 28px;
  box-shadow: 0 30px 60px -20px rgba(17, 52, 46, 0.3);
}
.nav-mobile.is-open { display: flex; }
.nav-mobile a { padding: 14px 20px; font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.06em; color: var(--ink-soft); border-radius: 14px; }
.nav-mobile a:hover, .nav-mobile a.is-active { background: var(--green-mist); color: var(--green-deep); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: 160px 0 80px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: stretch;
}
.hero-grid > .reveal { display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; align-items: start; } }
.hero h1 {
  font-size: clamp(46px, 7vw, 92px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0.005em;
  margin-bottom: 32px;
}
/* H1 e H2 mantêm a tipografia Italiana mesmo dentro de .italic — o destaque vem só pela cor */
h1 .italic, h2 .italic {
  font-family: var(--font-display) !important;
  font-style: normal !important;
  font-weight: 400;
  letter-spacing: 0.005em;
}
.hero h1 .italic {
  font-family: var(--font-display) !important;
  font-style: normal !important;
  font-weight: 400;
  color: var(--gold-deep);
  letter-spacing: 0.005em;
}
.hero-lead { margin-bottom: 44px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-portrait-wrap {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(160deg, var(--green-forest) 0%, var(--green-deep) 100%);
  box-shadow: 0 40px 80px -30px rgba(17, 52, 46, 0.45);
}
.hero-portrait-wrap::before {
  content: '';
  position: absolute; inset: 0;
  background: url('../img/icone-dourado.png') center/70% no-repeat;
  opacity: 0.18;
  animation: floatSlow 14s ease-in-out infinite;
  z-index: 1;
}
/* Variante com foto real */
.hero-portrait-wrap.has-photo {
  background: var(--green-deep);
  aspect-ratio: auto; height: 100%; min-height: 580px;
  overflow: hidden;
  border: 1px solid rgba(201, 163, 90, 0.45);
  box-shadow: 0 40px 80px -30px rgba(17, 52, 46, 0.5), 0 0 0 1px rgba(201, 163, 90, 0.18);
}
.hero-portrait-wrap.has-photo::before { display: none; }
.hero-portrait-wrap picture { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
.hero-portrait-wrap.has-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.hero-portrait-wrap.has-photo::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 45%, rgba(17, 52, 46, 0.65) 100%);
  z-index: 1;
}
.hero-portrait-flor {
  position: absolute; top: -48px; right: -48px;
  width: 260px; height: 260px;
  background: url('../img/icone-dourado.png') center/contain no-repeat;
  opacity: 0.95;
  z-index: 3;
  pointer-events: none;
  transform-origin: center;
  animation: floatTilted 14s ease-in-out infinite;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.35));
}
@keyframes floatTilted {
  0%, 100% { transform: translateY(0) rotate(-14deg); }
  50% { transform: translateY(-12px) rotate(-10deg); }
}
.hero-portrait-meta {
  position: absolute; left: 28px; right: 28px; bottom: 28px;
  z-index: 3;
  padding: 22px 26px;
  background: rgba(248, 244, 237, 0.16);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 247, 230, 0.22);
  border-radius: 22px;
  color: var(--cream);
}
.hero-portrait-meta small {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 6px; display: block; font-weight: 600;
}
.hero-portrait-meta span {
  font-family: var(--font-display); font-size: 22px; font-weight: 400; line-height: 1.2;
  letter-spacing: 0.01em;
}
/* Variante stats — 3 diferenciais lado a lado dentro do glass */
.hero-portrait-meta.is-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  padding: 18px 8px;
}
.hero-portrait-stat {
  text-align: center;
  padding: 0 12px;
  border-right: 1px solid rgba(255, 247, 230, 0.18);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
}
.hero-portrait-stat:last-child { border-right: none; }
.hero-portrait-stat strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-style: normal;
  font-size: 30px; font-weight: 600;
  color: var(--cream); line-height: 1; letter-spacing: 0.005em;
}
.hero-portrait-stat span {
  display: block;
  font-family: var(--font-mono); font-size: 9px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-light); margin-top: 8px; line-height: 1.2;
}
@keyframes floatSlow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(2deg); }
}

.hero-marquee {
  margin-top: clamp(80px, 12vw, 140px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  overflow: hidden;
  display: flex;
  gap: 64px;
  white-space: nowrap;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.hero-marquee-track { display: flex; gap: 64px; animation: marquee 38s linear infinite; }
.hero-marquee-item {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 2.2vw, 32px);
  color: var(--ink-soft);
  display: inline-flex; align-items: center; gap: 64px;
}
.hero-marquee-item::after { content: '✿'; color: var(--gold); font-style: normal; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- SECTION HEADERS ---------- */
.section-head { display: flex; flex-direction: column; gap: 22px; max-width: 760px; margin-bottom: clamp(50px, 7vw, 80px); }
.section-head.is-center { text-align: center; align-items: center; margin-left: auto; margin-right: auto; }
.section-head .eyebrow.is-center { justify-content: center; }
.section-head .eyebrow.is-center::after {
  content: ''; width: 36px; height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--gold), transparent);
}

/* ---------- CARDS DE SERVIÇOS ---------- */
.serv-grid {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px;
}
.serv-card {
  grid-column: span 4;
  position: relative;
  border-radius: var(--radius-lg);
  background: rgba(255, 252, 246, 0.55);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 20px 50px -25px rgba(17, 52, 46, 0.22), inset 0 1px 0 rgba(255,255,255,0.6);
  transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s ease;
  overflow: hidden;
  min-height: 480px;
  display: flex; flex-direction: column;
}
.serv-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 40px 70px -25px rgba(17, 52, 46, 0.4);
}
/* Imagem no topo do card */
.serv-card-media {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--green-deep);
}
.serv-card-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s cubic-bezier(.2,.7,.2,1);
}
.serv-card:hover .serv-card-media img { transform: scale(1.05); }
.serv-card-media::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 60%, rgba(17, 52, 46, 0.15) 100%);
}
/* Flor sobreposta — animação no hover */
.serv-card-flor {
  position: absolute; top: -36px; right: -36px;
  width: 130px; height: 130px;
  background: url('../img/icone-dourado.png') center/contain no-repeat;
  opacity: 0.78;
  z-index: 4;
  pointer-events: none;
  filter: drop-shadow(0 6px 12px rgba(163, 124, 58, 0.35));
  transition: transform 1.1s cubic-bezier(.2,.7,.2,1), opacity .5s ease;
}
.serv-card:hover .serv-card-flor { transform: rotate(28deg) scale(1.12); opacity: 1; }

/* Corpo do card */
.serv-card-body {
  padding: 30px 28px 28px;
  display: flex; flex-direction: column; flex: 1;
  justify-content: space-between;
  gap: 18px;
}

.serv-card.is-featured { grid-column: span 6; min-height: 520px; }
.serv-card.is-featured .serv-card-media { height: 280px; }
.serv-card.is-featured .serv-card-body {
  background: linear-gradient(160deg, rgba(31,87,76,0.97) 0%, rgba(17,52,46,0.97) 100%);
  color: var(--cream);
  flex: 1;
}

/* Variante sem mídia (texto puro com flor decorativa) */
.serv-card.is-plain {
  padding: 38px 32px 32px;
  min-height: 280px;
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 22px;
}
.serv-card.is-plain::before {
  content: ''; position: absolute; top: -38px; right: -38px;
  width: 140px; height: 140px;
  background: url('../img/icone-dourado.png') center/contain no-repeat;
  opacity: 0.16;
  z-index: 0;
  transition: transform 1.1s cubic-bezier(.2,.7,.2,1), opacity .5s ease;
  filter: drop-shadow(0 6px 12px rgba(163, 124, 58, 0.2));
  pointer-events: none;
}
.serv-card.is-plain:hover::before { transform: rotate(28deg) scale(1.12); opacity: 0.3; }
.serv-card.is-plain > * { position: relative; z-index: 1; }
.serv-card.is-featured h3 { color: var(--cream); }
.serv-card.is-featured p { color: rgba(248, 244, 237, 0.78); }
.serv-card.is-featured .serv-card-foot a { color: var(--gold-light); border-color: rgba(201,163,90,0.35); }
.serv-card.is-featured .serv-card-tag { color: var(--gold-light); }
.serv-card.is-half { grid-column: span 6; }
.serv-card-tag {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 16px;
}
.serv-card.is-featured .serv-card-tag { color: var(--gold-light); }
.serv-card h3 { font-size: clamp(26px, 2.4vw, 34px); margin-bottom: 18px; }
.serv-card p { color: var(--ink-soft); margin-bottom: 24px; max-width: 38ch; }
.serv-card.is-featured p { color: rgba(248, 244, 237, 0.78); }
.serv-card-foot a {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--green-petrol);
  display: inline-flex; align-items: center; gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  transition: gap .3s ease, color .3s ease;
}
.serv-card-foot a:hover { gap: 16px; color: var(--gold-deep); }

@media (max-width: 980px) {
  .serv-card, .serv-card.is-featured, .serv-card.is-half { grid-column: span 6; }
}
@media (max-width: 640px) {
  .serv-card, .serv-card.is-featured, .serv-card.is-half { grid-column: span 12; }
}

/* ---------- FEATURE / SOBRE INLINE ---------- */
.feature-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
@media (max-width: 920px) { .feature-split { grid-template-columns: 1fr; } }

.portrait-card {
  position: relative;
  aspect-ratio: 5/6;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(170deg, var(--green-forest), var(--green-deep));
  box-shadow: 0 50px 90px -30px rgba(17, 52, 46, 0.5);
}
.portrait-card::after {
  content: ''; position: absolute; inset: 0;
  background: url('../img/icone-dourado.png') center 30%/55% no-repeat;
  opacity: 0.16;
}
/* Variante com foto real */
.portrait-card.has-photo { background: var(--green-deep); aspect-ratio: 5/6; }
.portrait-card.has-photo::after { display: none; }
.portrait-card.has-photo picture, .portrait-card.has-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.portrait-card.has-photo > picture::after,
.portrait-card.has-photo::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: linear-gradient(180deg, transparent 55%, rgba(17, 52, 46, 0.55) 100%);
}
.portrait-card-flor {
  position: absolute; top: -28px; right: -28px;
  width: 200px; height: 200px;
  background: url('../img/icone-dourado.png') center/contain no-repeat;
  opacity: 0.92;
  z-index: 3;
  animation: floatSlow 14s ease-in-out infinite;
  pointer-events: none;
  filter: drop-shadow(0 12px 24px rgba(163, 124, 58, 0.3));
}
.portrait-card-meta {
  position: absolute; left: 28px; right: 28px; bottom: 28px;
  padding: 22px 26px;
  background: rgba(248, 244, 237, 0.18);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 247, 230, 0.18);
  border-radius: 22px;
  color: var(--cream);
  z-index: 3;
}
.portrait-card-meta strong { font-family: var(--font-display); font-size: 26px; font-weight: 400; display: block; letter-spacing: 0.01em; }
.portrait-card-meta span { font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: 0.3em; color: var(--gold-light); text-transform: uppercase; }

/* ---------- VALORES / PILARES ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 880px) { .pillars { grid-template-columns: 1fr; } }
.pillar {
  padding: 36px 30px;
  border-radius: var(--radius);
  background: rgba(255, 252, 246, 0.5);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.6);
  position: relative;
}
/* Número em círculo dourado */
.pillar-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-deep) 100%);
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 400;
  font-size: 22px;
  color: var(--green-deep);
  margin-bottom: 22px;
  box-shadow: 0 8px 18px -6px rgba(163, 124, 58, 0.5), inset 0 1px 0 rgba(255,255,255,0.55);
  letter-spacing: 0;
}
.pillar h4 { margin-bottom: 12px; }
.pillar p { color: var(--ink-soft); font-size: 15.5px; }

/* ---------- TIMELINE / PROCESSO ---------- */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
@media (max-width: 920px) { .timeline { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .timeline { grid-template-columns: 1fr; } }
.t-step {
  padding: 36px 28px 32px;
  border-left: 1px solid var(--line);
  position: relative; counter-increment: step;
  border-radius: var(--radius);
  transition: background .45s ease, transform .45s ease, box-shadow .45s ease;
  cursor: default;
}
.t-step:first-child { border-left: none; }
.t-step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 600; letter-spacing: 0.25em; color: var(--gold-deep);
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(201, 163, 90, 0.45);
  background: rgba(255, 252, 246, 0.55);
  margin-bottom: 22px;
  transition: background .45s ease, color .45s ease, transform .55s cubic-bezier(.2,.7,.2,1), border-color .45s ease;
}
.t-step h4 {
  margin-bottom: 10px; font-size: 22px;
  transition: color .35s ease;
}
.t-step p {
  color: var(--ink-soft); font-size: 15px;
  transition: color .35s ease;
}
/* Hover só em dispositivos com ponteiro (evita estado "preso" no toque mobile) */
@media (hover: hover) {
  .t-step:hover {
    background: rgba(255, 252, 246, 0.55);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transform: translateY(-4px);
    box-shadow: 0 24px 48px -22px rgba(17, 52, 46, 0.32);
    border-left-color: transparent;
  }
  .t-step:hover::before {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 60%, var(--gold-deep) 100%);
    color: var(--green-deep);
    border-color: transparent;
    transform: rotate(8deg) scale(1.08);
    box-shadow: 0 10px 22px -8px rgba(163, 124, 58, 0.5);
  }
}

/* ---------- BIG QUOTE ---------- */
.big-quote {
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(60px, 8vw, 100px) clamp(28px, 5vw, 60px);
  border-radius: var(--radius-xl);
  position: relative;
  background: linear-gradient(160deg, rgba(31,87,76,0.96), rgba(17,52,46,0.96));
  color: var(--cream);
  box-shadow: 0 50px 100px -40px rgba(17, 52, 46, 0.6);
}
.big-quote::before {
  content: ''; position: absolute; inset: 0;
  background: url('../img/icone-dourado.png') center/40% no-repeat;
  opacity: 0.08;
  border-radius: inherit;
}
.big-quote q {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: clamp(30px, 3.6vw, 50px);
  font-weight: 400;
  line-height: 1.28;
  display: block;
  position: relative;
  text-wrap: balance;
}
.big-quote q::before, .big-quote q::after { color: var(--gold); }
.big-quote cite {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: 32px;
  display: block;
  position: relative;
}

/* ---------- CTA AGENDAMENTO ---------- */
.cta-block {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 50px 100px -40px rgba(17, 52, 46, 0.45);
}
@media (max-width: 880px) { .cta-block { grid-template-columns: 1fr; } }
.cta-text {
  padding: clamp(50px, 6vw, 80px);
  background: linear-gradient(160deg, rgba(31,87,76,0.97), rgba(17,52,46,0.97));
  color: var(--cream);
  position: relative;
}
.cta-text::after {
  content: ''; position: absolute; right: -100px; bottom: -100px;
  width: 360px; height: 360px;
  background: url('../img/icone-dourado.png') center/contain no-repeat;
  opacity: 0.1;
}
.cta-text h2 { color: var(--cream); margin-bottom: 22px; }
.cta-text p { color: rgba(248, 244, 237, 0.78); margin-bottom: 36px; max-width: 42ch; }
.cta-side {
  padding: clamp(40px, 5vw, 60px);
  background: var(--cream-warm);
  display: flex; flex-direction: column; gap: 18px;
  position: relative;
}
.cta-info-line {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 22px 24px;
  background: rgba(255, 252, 246, 0.6);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 18px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.cta-info-line strong { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em; color: var(--gold-deep); text-transform: uppercase; display: block; margin-bottom: 4px; }
.cta-info-line span { color: var(--ink); font-weight: 500; }

/* ---------- FORMULÁRIO ---------- */
.form-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
@media (max-width: 720px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.is-full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 500;
}
.field input, .field textarea, .field select {
  padding: 16px 20px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.7);
  background: rgba(255, 252, 246, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font: inherit; font-size: 15px;
  color: var(--ink);
  transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 163, 90, 0.15);
  background: rgba(255, 252, 246, 0.85);
}
.field textarea { resize: vertical; min-height: 130px; }

/* ---------- FOOTER ---------- */
.site-footer {
  margin-top: clamp(60px, 8vw, 120px);
  padding: clamp(70px, 8vw, 110px) 0 32px;
  background: var(--green-deep);
  color: rgba(248, 244, 237, 0.85);
  position: relative;
}
/* Linha dourada decorativa de separação topo */
.site-footer::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(201, 163, 90, 0.35) 20%, rgba(201, 163, 90, 0.85) 50%, rgba(201, 163, 90, 0.35) 80%, transparent 100%);
  pointer-events: none;
}
/* Ornamento ✿ dourado centralizado no topo */
.site-footer .footer-ornament {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  width: 28px; height: 28px;
  background: url('../img/icone-dourado.png') center/contain no-repeat;
  background-color: var(--green-deep);
  border-radius: 50%;
  padding: 6px;
  box-shadow: 0 0 0 1px rgba(201, 163, 90, 0.4), 0 8px 18px -6px rgba(0,0,0,0.3);
  pointer-events: none;
}
.site-footer::before {
  content: ''; position: absolute; right: -120px; top: 60px;
  width: 480px; height: 480px;
  background: url('../img/icone-dourado.png') center/contain no-repeat;
  opacity: 0.06;
  pointer-events: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(30px, 4vw, 60px);
  position: relative;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; }
.footer-brand img {
  height: 220px; width: auto;
  margin: -60px 0 -40px -40px;
  display: block;
  max-width: none;
}
.footer-brand p { color: rgba(248, 244, 237, 0.7); max-width: 34ch; font-size: 14.5px; line-height: 1.75; margin-top: 12px; }
.footer-col h5 {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 22px; font-weight: 600;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: rgba(248, 244, 237, 0.78); font-size: 14.5px; }
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-bottom {
  margin-top: clamp(50px, 6vw, 80px);
  padding-top: 28px;
  border-top: 1px solid rgba(248, 244, 237, 0.14);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(248, 244, 237, 0.55);
}

/* ---------- INNER PAGE HERO ---------- */
.page-hero {
  padding: 180px 0 90px;
  position: relative;
}
.page-hero h1 { font-size: clamp(54px, 8vw, 110px); font-weight: 400; line-height: 1.02; letter-spacing: 0.005em; margin-bottom: 28px; }
.page-hero h1 .italic { font-family: var(--font-display) !important; font-style: normal !important; color: var(--gold-deep); font-weight: 400; }

/* Variante com foto à direita (igual ao hero da home) */
.page-hero.has-photo-hero { padding: 160px 0 80px; }
.page-hero.has-photo-hero .hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: stretch;
}
.page-hero.has-photo-hero .hero-grid > .reveal:first-child {
  display: flex; flex-direction: column; justify-content: center;
}
.page-hero.has-photo-hero h1 { font-size: clamp(46px, 7vw, 92px); }
.page-hero.has-photo-hero .hero-portrait-wrap.has-photo {
  min-height: 560px;
  max-height: 720px;
}
@media (max-width: 960px) {
  .page-hero.has-photo-hero .hero-grid { grid-template-columns: 1fr; align-items: start; }
}
.breadcrumb {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--ink-mute);
  margin-bottom: 32px;
  display: flex; gap: 14px; align-items: center;
}
.breadcrumb a:hover { color: var(--gold-deep); }
.breadcrumb span { color: var(--gold-deep); }

/* ---------- SERVIÇO INDIVIDUAL ---------- */
.service-hero {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px;
  align-items: center;
  padding: 160px 0 80px;
}
@media (max-width: 880px) { .service-hero { grid-template-columns: 1fr; } }
.service-tag {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(201, 163, 90, 0.16);
  border: 1px solid rgba(201, 163, 90, 0.4);
  border-radius: 999px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 24px;
}
.service-stage {
  position: relative;
  aspect-ratio: 5/6;
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, var(--green-forest), var(--green-deep));
  overflow: hidden;
  box-shadow: 0 50px 100px -30px rgba(17, 52, 46, 0.5);
}
.service-stage::before {
  content: ''; position: absolute; inset: 0;
  background: url('../img/icone-dourado.png') center/65% no-repeat;
  opacity: 0.16;
  animation: floatSlow 16s ease-in-out infinite;
  z-index: 1;
}
/* Variante com imagem real do procedimento */
.service-stage.has-photo::before { display: none; }
.service-stage picture, .service-stage img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 0;
}
.service-stage.has-photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(17, 52, 46, 0.75) 100%);
  z-index: 1; pointer-events: none;
}
/* Flor dourada flutuante sobre a imagem */
.service-stage-flor {
  position: absolute; top: 24px; right: 24px;
  width: 130px; height: 130px;
  background: url('../img/icone-dourado.png') center/contain no-repeat;
  opacity: 0.92;
  z-index: 2;
  pointer-events: none;
  animation: floatSlow 16s ease-in-out infinite;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.4));
}
.service-stage-meta {
  position: absolute; left: 28px; right: 28px; bottom: 28px;
  z-index: 3;
  padding: 26px 28px;
  background: rgba(248, 244, 237, 0.18);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 247, 230, 0.22);
  border-radius: 24px;
  color: var(--cream);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.service-stage-meta div strong { font-family: var(--font-display); font-size: 26px; font-weight: 400; display: block; line-height: 1.05; letter-spacing: 0.01em; }
.service-stage-meta div span { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.22em; color: var(--gold-light); text-transform: uppercase; margin-top: 6px; display: block; }

/* Indicações chips */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.chip {
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 252, 246, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.7);
  font-size: 13.5px;
  color: var(--green-deep);
}

/* Como funciona */
.how-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 720px) { .how-list { grid-template-columns: 1fr; } }
.how-item {
  padding: 30px 28px;
  border-radius: var(--radius);
  background: rgba(255, 252, 246, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.7);
}
.how-item .num {
  font-family: var(--font-italic); font-style: italic; font-weight: 400;
  font-size: 36px; color: var(--gold); display: block; margin-bottom: 12px;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
  cursor: pointer;
}
.faq-item summary {
  list-style: none;
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 18px;
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 400;
  letter-spacing: 0.005em;
  color: var(--green-deep);
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-family: var(--font-italic); font-style: italic; font-size: 36px; color: var(--gold); flex-shrink: 0;
  line-height: 1; transition: transform .35s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  margin-top: 18px;
  color: var(--ink-soft);
  max-width: 70ch;
  font-size: 16px;
}

/* ---------- ENSINO / CURSO (mantido para ensino.html oculto) ---------- */
.course-card {
  margin-top: 60px;
  display: grid; grid-template-columns: 1.1fr 1fr;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 50px 100px -40px rgba(17, 52, 46, 0.5);
}
@media (max-width: 880px) { .course-card { grid-template-columns: 1fr; } }
.course-card-text { background: linear-gradient(160deg, rgba(31,87,76,0.97), rgba(17,52,46,0.97)); color: var(--cream); padding: clamp(50px, 6vw, 80px); position: relative; }
.course-card-text::before { content: ''; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; background: url('../img/icone-dourado.png') center/contain no-repeat; opacity: 0.1; }
.course-card-text h2 { color: var(--cream); }
.course-card-text p { color: rgba(248, 244, 237, 0.78); }
.course-card-side { padding: clamp(40px, 5vw, 60px); background: var(--cream-warm); display: flex; flex-direction: column; gap: 16px; }
.course-feature { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; background: rgba(255,252,246,0.65); border: 1px solid rgba(255,255,255,0.7); border-radius: 18px; backdrop-filter: blur(14px); }
.course-feature .num { font-family: var(--font-italic); font-style: italic; font-weight: 400; color: var(--gold); font-size: 28px; line-height: 1; }
.course-feature h4 { margin-bottom: 6px; font-size: 16px; font-family: var(--font-body); font-weight: 600; color: var(--green-deep); letter-spacing: -0.005em; }
.course-feature p { color: var(--ink-soft); font-size: 14px; line-height: 1.5; }

/* ---------- ANIMAÇÕES SCROLL (scroll-driven, sem transition para acompanhar 1:1) ---------- */
.reveal {
  --rp: 0;
  opacity: calc(0.15 + var(--rp) * 0.85);
  transform: translate3d(0, calc((1 - var(--rp)) * 24px), 0);
  filter: blur(calc((1 - var(--rp)) * 8px));
  will-change: opacity, transform, filter;
  /* Sem transition: o JS atualiza --rp via rAF, então o efeito acompanha o scroll 1:1
     sem lag visual. Apenas easing curto para amortecer mudanças bruscas. */
  transition:
    opacity 0.18s linear,
    transform 0.18s linear,
    filter 0.18s linear;
}

.reveal-stagger {
  --rp: 0;
}
.reveal-stagger > * {
  --rp-child: var(--rp);
  opacity: calc(0.15 + var(--rp-child) * 0.85);
  transform: translate3d(0, calc((1 - var(--rp-child)) * 18px), 0);
  filter: blur(calc((1 - var(--rp-child)) * 7px));
  transition:
    opacity 0.18s linear,
    transform 0.18s linear,
    filter 0.18s linear;
  will-change: opacity, transform, filter;
}
.reveal-stagger > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > *:nth-child(2) { transition-delay: .04s; }
.reveal-stagger > *:nth-child(3) { transition-delay: .07s; }
.reveal-stagger > *:nth-child(4) { transition-delay: .1s; }
.reveal-stagger > *:nth-child(5) { transition-delay: .13s; }
.reveal-stagger > *:nth-child(6) { transition-delay: .16s; }

/* Fallback "is-in" para devices sem JS / antes de o JS atualizar */
.reveal.is-in:not([style*="--rp"]) { --rp: 1; }
.reveal-stagger.is-in:not([style*="--rp"]) { --rp: 1; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------- ACESSIBILIDADE — focus-visible global ---------- */
*:focus { outline: none; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 4px;
}

/* ---------- UTILITY ---------- */
.gold-divider {
  width: 80px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 32px auto;
}
.gold-divider.is-left { margin: 32px 0; background: linear-gradient(90deg, var(--gold), transparent); }

/* ---------- FLORA DE FUNDO (ornamento por seção) ---------- */
.flora-bg {
  position: absolute;
  pointer-events: none;
  background: url('../img/icone-dourado.png') center/contain no-repeat;
  z-index: 0;
  opacity: 0.07;
  filter: drop-shadow(0 6px 14px rgba(163, 124, 58, 0.18));
}
.flora-bg.is-tl { top: -80px; left: -100px; width: 360px; height: 360px; transform: rotate(-18deg); }
.flora-bg.is-tr { top: -60px; right: -90px; width: 320px; height: 320px; transform: rotate(22deg); }
.flora-bg.is-bl { bottom: -100px; left: -80px; width: 340px; height: 340px; transform: rotate(-32deg); }
.flora-bg.is-br { bottom: -90px; right: -110px; width: 380px; height: 380px; transform: rotate(14deg); }
.flora-bg.is-cl { top: 50%; left: -120px; width: 280px; height: 280px; transform: translateY(-50%) rotate(-12deg); opacity: 0.05; }
.flora-bg.is-cr { top: 50%; right: -120px; width: 280px; height: 280px; transform: translateY(-50%) rotate(18deg); opacity: 0.05; }
.flora-bg.is-soft { opacity: 0.04; }
/* Container relativo para que .flora-bg se posicione corretamente.
   Aceita tanto .has-flora quanto qualquer section que tenha um .flora-bg direto. */
section.has-flora,
section:has(> .flora-bg) { position: relative; overflow: hidden; }
section.has-flora > .container,
section:has(> .flora-bg) > .container { position: relative; z-index: 1; }
@media (max-width: 760px) {
  .flora-bg.is-tl, .flora-bg.is-tr, .flora-bg.is-bl, .flora-bg.is-br { width: 220px; height: 220px; }
  .flora-bg.is-cl, .flora-bg.is-cr { width: 180px; height: 180px; }
}
/* =====================================================================
   MOBILE — revisão completa (≤ 760px)
   Ajusta densidade, escala tipográfica, layout do hero e cards
   ===================================================================== */
@media (max-width: 760px) {
  :root {
    --gutter: 22px;
    --radius-lg: 28px;
    --radius-xl: 36px;
  }

  html, body { overflow-x: hidden; max-width: 100%; }
  body { font-size: 16px; line-height: 1.65; }
  section { overflow: hidden; max-width: 100vw; }
  .container { overflow: visible; width: 100%; max-width: 100%; }

  /* Tipografia mobile — text-wrap pretty + quebra forçada para evitar overflow horizontal */
  h1, h2, h3, h4, h5 { text-wrap: pretty; overflow-wrap: anywhere; word-break: normal; hyphens: none; max-width: 100%; }
  p, .lead { overflow-wrap: break-word; word-break: normal; hyphens: none; max-width: 100%; }
  h1 { font-size: clamp(28px, 8vw, 38px) !important; line-height: 1.08; letter-spacing: 0.01em; }
  h2, .h2 { font-size: clamp(26px, 7vw, 34px) !important; line-height: 1.1; letter-spacing: 0.005em; }
  h3 { font-size: clamp(22px, 5.5vw, 28px) !important; }
  h4 { font-size: 19px !important; }
  .lead { font-size: 15.5px; line-height: 1.6; }

  /* Section padding mais enxuto */
  .section-pad { padding: 70px 0; }
  .section-pad-sm { padding: 50px 0; }

  /* HEADER mobile — minimalista sobre a foto (sem pill, brand em cream) */
  .site-header { top: 12px; width: calc(100% - 24px); }
  .nav-pill {
    padding: 10px 8px 10px 12px;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    box-shadow: none;
  }
  .nav-brand { gap: 12px; }
  .nav-brand img { display: none; }
  .nav-brand-text { font-size: 18px; letter-spacing: 0.04em; color: var(--cream); text-shadow: 0 2px 12px rgba(0,0,0,0.35); }
  .nav-brand-text small { font-size: 8px; letter-spacing: 0.3em; color: rgba(248,244,237,0.85); }
  .nav-toggle {
    width: 40px; height: 40px;
    background: rgba(248,244,237,0.18);
    backdrop-filter: blur(10px) saturate(160%);
    -webkit-backdrop-filter: blur(10px) saturate(160%);
    border: 1px solid rgba(248,244,237,0.4);
    border-radius: 50%;
    padding: 0;
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px;
  }
  .nav-toggle span { background: var(--cream); width: 16px; height: 1.5px; }
  .nav-cta { display: none !important; }

  /* HERO mobile */
  .hero { padding: 130px 0 60px; min-height: auto; }
  .hero-grid { gap: 40px; }
  .hero h1 { font-size: clamp(32px, 8.5vw, 42px) !important; margin-bottom: 24px; line-height: 1.08; -webkit-text-stroke: 0.55px var(--green-deep); }
  .hero h1 .italic { -webkit-text-stroke: 0.55px var(--gold-deep); }
  .hero-lead { margin-bottom: 32px; font-size: 15.5px; }
  .hero-actions { flex-direction: column; gap: 12px; }
  .hero-actions .btn { justify-content: center; width: 100%; }
  .hero-marquee-track { gap: 36px; animation-duration: 28s; }
  .hero-marquee-item { font-size: 20px; gap: 36px; }

  /* HERO mobile — foto da Dra. como background com degradê pro cream */
  .hero {
    padding: 54svh 0 36px;
    min-height: 100svh;
    position: relative;
    background: var(--cream);
  }
  .hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 64svh;
    background-image:
      linear-gradient(180deg,
        rgba(17,52,46,0.38) 0%,
        rgba(17,52,46,0.18) 10%,
        rgba(17,52,46,0.05) 18%,
        transparent 28%,
        transparent 62%,
        rgba(248,244,237,0.45) 76%,
        rgba(248,244,237,0.92) 90%,
        var(--cream) 100%),
      url('../img/fotos/layla-consultorio-768.webp');
    background-size: cover;
    background-position: center 32%;
    background-repeat: no-repeat;
    z-index: 0;
    pointer-events: none;
  }
  .hero > .container { position: relative; z-index: 2; }
  .hero-grid > .reveal:nth-of-type(2) { display: none !important; }
  .hero-portrait-wrap { display: none !important; }
  .hero-marquee { margin-top: 48px; padding: 16px 0; background: var(--cream); position: relative; z-index: 2; }

  /* SECTION HEADER */
  .section-head { gap: 16px; margin-bottom: 40px; }
  .eyebrow { font-size: 10px; letter-spacing: 0.26em; gap: 10px; }
  .eyebrow::before { width: 24px; }

  /* PILLARS */
  .pillars { gap: 14px; }
  .pillar { padding: 28px 22px; }
  .pillar-num { font-size: 32px; margin-bottom: 10px; }

  /* TIMELINE */
  .timeline { grid-template-columns: 1fr; }
  .t-step { border-left: none; border-top: 1px solid var(--line); padding: 24px 0; }
  .t-step:first-child { border-top: none; padding-top: 0; }

  /* SERVIÇOS GRID — todos viram coluna única, mantendo border-radius do card */
  .serv-grid { gap: 18px; }
  .serv-card, .serv-card.is-featured, .serv-card.is-half {
    grid-column: span 12;
    min-height: auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
  }
  .serv-card-media { height: 200px; }
  .serv-card.is-featured .serv-card-media { height: 220px; }
  .serv-card-body { padding: 26px 24px 26px; gap: 14px; }
  .serv-card h3 { font-size: 26px; }
  .serv-card.is-plain { padding: 30px 24px; }
  .serv-card.is-plain::before { width: 130px; height: 130px; top: -34px; right: -34px; }

  /* FEATURE SPLIT */
  .feature-split { gap: 36px; }
  .portrait-card { aspect-ratio: 4/4.5; }
  .portrait-card-meta { left: 18px; right: 18px; bottom: 18px; padding: 16px 18px; }
  .portrait-card-meta strong { font-size: 22px; }

  /* SERVICE HERO (páginas internas) */
  .service-hero { padding: 130px 0 50px; gap: 36px; }
  .service-stage { aspect-ratio: 5/5; }
  .service-stage-meta {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    left: 18px; right: 18px; bottom: 18px;
    padding: 18px 20px;
  }
  .service-stage-meta div:nth-child(3) { grid-column: span 2; text-align: center; padding-top: 10px; border-top: 1px solid rgba(255,247,230,0.16); }
  .service-stage-meta div strong { font-size: 22px; }

  /* PAGE HERO */
  .page-hero { padding: 130px 0 50px; }
  .page-hero h1 { font-size: clamp(46px, 12vw, 64px) !important; }
  .breadcrumb { font-size: 10px; letter-spacing: 0.2em; gap: 10px; margin-bottom: 24px; }

  /* CHIPS */
  .chip { padding: 8px 14px; font-size: 12.5px; }
  .glass { padding: 28px 24px !important; }
  .glass-dark { padding: 32px 24px !important; }

  /* HOW LIST */
  .how-list { grid-template-columns: 1fr; gap: 12px; }
  .how-item { padding: 26px 22px; }

  /* FAQ */
  .faq-item { padding: 22px 0; }
  .faq-item summary { font-size: 22px; gap: 12px; }
  .faq-item summary::after { font-size: 30px; }
  .faq-item p { font-size: 15px; }

  /* BIG QUOTE */
  .big-quote { padding: 60px 24px; border-radius: var(--radius-xl); }
  .big-quote q { font-size: clamp(24px, 6.5vw, 32px) !important; }
  .big-quote cite { margin-top: 24px; font-size: 10px; letter-spacing: 0.24em; }

  /* CTA BLOCK */
  .cta-block { grid-template-columns: 1fr; border-radius: var(--radius-xl); }
  .cta-text { padding: 50px 30px 40px; }
  .cta-text h2 { font-size: clamp(28px, 7.5vw, 40px) !important; margin-bottom: 16px; }
  .cta-text p { margin-bottom: 28px; }
  .cta-side { padding: 30px 26px 36px; gap: 14px; }
  .cta-info-line { padding: 18px 20px; gap: 12px; }
  .cta-info-line strong { font-size: 10px; letter-spacing: 0.2em; }

  /* COURSE */
  .course-card { grid-template-columns: 1fr; margin-top: 36px; border-radius: var(--radius-xl); }
  .course-card-text { padding: 48px 30px 40px; }
  .course-card-side { padding: 30px 26px 36px; }
  .course-feature { padding: 18px 20px; gap: 14px; }

  /* FORM */
  .form-grid { gap: 12px; }
  .field input, .field textarea, .field select { padding: 14px 16px; font-size: 15px; }

  /* FOOTER mobile */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .site-footer { padding: 80px 0 32px; }
  .footer-brand { grid-column: span 2; align-items: center; text-align: center; }
  .footer-brand img { height: 180px; margin: -40px 0 -30px 0; }
  .footer-brand p { max-width: 38ch; margin-top: 6px; }
  .footer-col h5 { margin-bottom: 14px; }
  .footer-col ul li { margin-bottom: 10px; }
  .footer-col ul li a { font-size: 14px; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: 10px; font-size: 9.5px; letter-spacing: 0.16em; padding-top: 22px; }
  .site-footer .footer-ornament { width: 24px; height: 24px; top: -12px; }

  /* BTN — full width onde fizer sentido em mobile */
  .btn { padding: 16px 26px; font-size: 12px; letter-spacing: 0.16em; }

  /* BG flora — encolhe o blob decorativo no mobile pra não pesar */
  .bg-flora-fixed::before { width: 380px; height: 380px; top: -100px; right: -100px; }
  .bg-flora-fixed::after { width: 280px; height: 280px; bottom: -80px; left: -80px; }

  /* Inline overrides do HTML que usam font-weight: 300 (Italiana só tem 400) */
  h1[style*="font-weight: 300"] { font-weight: 400 !important; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: clamp(40px, 13vw, 50px) !important; }
  .page-hero h1 { font-size: clamp(42px, 13vw, 54px) !important; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .nav-brand-text small { display: none; }
}

/* Skip-to-content (acessibilidade — visível apenas no foco por teclado) */
.skip-to-content {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 9999;
  background: var(--green-deep);
  color: var(--cream);
  padding: 12px 20px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--gold);
}
.skip-to-content:focus-visible {
  left: 16px;
}

/* ---------- BLOG / DIÁRIO — tipografia de artigo ---------- */
.prose-layla { color: var(--ink-soft); font-size: 17px; line-height: 1.8; }
.prose-layla > * + * { margin-top: 22px; }
.prose-layla h2 { font-family: var(--font-display); color: var(--green-deep); font-size: clamp(28px, 3.4vw, 40px); margin-top: 44px; }
.prose-layla h3 { font-family: var(--font-display); color: var(--green-deep); font-size: clamp(22px, 2.6vw, 30px); margin-top: 36px; }
.prose-layla p { color: var(--ink-soft); }
.prose-layla strong { color: var(--green-deep); font-weight: 600; }
.prose-layla em { font-family: var(--font-italic); font-style: italic; color: var(--gold-deep); }
.prose-layla a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; }
.prose-layla ul, .prose-layla ol { padding-left: 22px; display: grid; gap: 10px; }
.prose-layla ul { list-style: disc; }
.prose-layla ol { list-style: decimal; }
.prose-layla li { color: var(--ink-soft); }
.prose-layla img { border-radius: var(--radius); margin: 28px 0; }
.prose-layla blockquote { border-left: 2px solid var(--gold); padding-left: 22px; font-family: var(--font-italic); font-style: italic; color: var(--green-deep); font-size: 20px; }
.prose-layla iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: var(--radius); margin: 28px 0; }

/* =====================================================================
   HEADER — barra sólida ao rolar + botão de menu mobile sempre visível
   ===================================================================== */
/* Transições da animação (desktop e mobile) */
.site-header { transition: top .35s ease, width .35s ease, transform .35s ease; }
.nav-pill { transition: background .35s ease, box-shadow .35s ease, border-radius .35s ease, padding .35s ease; }
.nav-brand-text, .nav-brand-text small { transition: color .35s ease, text-shadow .35s ease; }

@media (max-width: 760px) {
  /* Botão hamburguer: listrinhas verdes sobre botão claro frosted (sempre visível) */
  .nav-toggle {
    background: rgba(248, 244, 237, 0.72);
    border: 1px solid rgba(31, 87, 76, 0.18);
    box-shadow: 0 6px 18px -8px rgba(17, 52, 46, 0.3);
  }
  .nav-toggle span { background: var(--green-deep); width: 17px; }

  /* Ao rolar: header vira barra sólida full-width fixada no topo */
  .site-header.is-scrolled { top: 0; width: 100%; }
  .site-header.is-scrolled .nav-pill {
    background: rgba(248, 244, 237, 0.96);
    backdrop-filter: blur(20px) saturate(170%);
    -webkit-backdrop-filter: blur(20px) saturate(170%);
    border-radius: 0;
    border-bottom: 1px solid rgba(31, 87, 76, 0.1);
    box-shadow: 0 10px 28px -14px rgba(17, 52, 46, 0.4);
    padding: 14px 22px;
  }
  /* Logo Layla com contraste contra a barra clara */
  .site-header.is-scrolled .nav-brand-text { color: var(--green-deep); text-shadow: none; }
  .site-header.is-scrolled .nav-brand-text small { color: var(--gold-deep); }
  .site-header.is-scrolled .nav-toggle {
    background: rgba(31, 87, 76, 0.07);
    border-color: rgba(31, 87, 76, 0.22);
    box-shadow: none;
  }
}

/* Fix: zera margem herdada e trava altura das listrinhas (evita colapso no flex) */
@media (max-width: 760px) {
  .nav-pill .nav-toggle span {
    margin: 0;
    height: 2px;
    min-height: 2px;
    flex: 0 0 auto;
    border-radius: 2px;
  }
}

/* ---------- WHATSAPP FLUTUANTE ---------- */
.wa-fab-root {
  position: fixed;
  right: calc(clamp(16px, 4vw, 32px) + env(safe-area-inset-right, 0px));
  bottom: calc(clamp(16px, 4vw, 32px) + env(safe-area-inset-bottom, 0px));
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}
/* Sobe o botão no mobile pra não ficar atrás da barra inferior do navegador (iOS Safari/Chrome) */
@media (max-width: 760px) {
  .wa-fab-root { bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
}
.wa-fab {
  width: 60px; height: 60px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #2ee06a 0%, #25d366 55%, #1da851 100%);
  color: #fff;
  box-shadow: 0 14px 32px -10px rgba(37, 211, 102, 0.6), 0 4px 12px -4px rgba(17, 52, 46, 0.25);
  cursor: pointer;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, background .35s ease;
  align-self: flex-end;
}
.wa-fab.is-open {
  background: var(--green-deep);
  box-shadow: 0 14px 32px -12px rgba(17, 52, 46, 0.5);
}
.wa-fab-x { font-size: 30px; line-height: 1; font-weight: 300; }
@media (hover: hover) {
  .wa-fab:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 22px 44px -12px rgba(37, 211, 102, 0.7); }
  .wa-fab.is-open:hover { box-shadow: 0 22px 44px -14px rgba(17, 52, 46, 0.6); }
}

.wa-card {
  position: relative;
  width: min(330px, calc(100vw - 32px));
  background: rgba(255, 252, 246, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  padding: 26px 24px 24px;
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  box-shadow: 0 30px 70px -24px rgba(17, 52, 46, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transform-origin: bottom right;
  animation: wa-pop .35s cubic-bezier(.2,.7,.2,1);
}
@keyframes wa-pop {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.wa-card-close {
  position: absolute; top: 12px; right: 14px;
  width: 30px; height: 30px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 22px; line-height: 1; font-weight: 300;
  color: var(--ink-soft);
  background: rgba(26, 74, 65, 0.06);
  cursor: pointer;
  transition: background .25s ease, color .25s ease;
}
.wa-card-close:hover { background: var(--green-mist); color: var(--green-deep); }
.wa-card-head { margin-bottom: 18px; padding-right: 28px; }
.wa-card-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 600;
}
.wa-card-head h3 { font-size: 24px; margin: 6px 0 8px; }
.wa-card-head p { font-size: 13.5px; line-height: 1.55; color: var(--ink-soft); }
.wa-form { display: flex; flex-direction: column; gap: 14px; }
.wa-form .field input, .wa-form .field select { padding: 13px 16px; font-size: 14px; }
.wa-form .field label { font-size: 10px; }
.wa-submit {
  justify-content: center;
  width: 100%;
  padding: 15px 24px;
  margin-top: 4px;
}
.wa-submit:disabled { opacity: 0.7; cursor: default; }
