/* ==========================================================================
   Karolayne Sousa Estética | Design System
   Paleta: off-white #F3EFEA, blush #F0DAD2, rosé #DDB5A8, sálvia #9A9F84
   ========================================================================== */

:root {
  --cream: #F3EFEA;
  --sand: #F0DAD2;
  --sand-2: #E8CCC1;
  --line: #E3D1C7;
  --sage: #9A9F84;
  --sage-ink: #5E6450;      /* sálvia para texto e botões (contraste AA) */
  --sage-soft: #E2E3D5;
  --rose: #DDB5A8;
  --rose-soft: #F7E9E3;
  --rose-ink: #93604F;      /* rosé escuro para hover e detalhes (contraste AA) */
  --rose-light: #E9C6B9;    /* rosé para destaques sobre fundo escuro */
  --deep: #4A4F3F;          /* sálvia profundo para seções escuras */
  --ink: #3A3632;
  --ink-2: #4A4540;
  --muted: #645B54;
  --white: #FFFFFF;
  --wa: #1FAF54;

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

  --container: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(72px, 11vw, 140px);
  --radius: 4px;
  --radius-lg: 14px;
  --shadow-sm: 0 2px 10px rgba(58, 54, 50, .05);
  --shadow: 0 18px 50px -18px rgba(58, 54, 50, .22);
  --shadow-lg: 0 40px 90px -30px rgba(58, 54, 50, .35);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, video, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: var(--rose); color: var(--ink); }

:focus-visible { outline: 2px solid var(--sage-ink); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible, .on-dark:focus-visible { outline-color: var(--cream); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 1000;
  background: var(--ink); color: var(--cream); padding: 10px 16px; font-size: 14px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }
.section { padding-block: var(--section); position: relative; }
.section--sand { background: var(--sand); }
.section--ink { background: var(--deep); color: var(--cream); }
.section--sage { background: var(--sage-ink); color: var(--cream); }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase;
  color: var(--sage-ink);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.on-dark .eyebrow, .section--ink .eyebrow, .section--sage .eyebrow { color: var(--rose-light); }

.display, .h2, .h3 { font-family: var(--serif); font-weight: 300; letter-spacing: -.015em; }
.display { font-size: clamp(44px, 8.4vw, 92px); line-height: .98; }
.display em, .h2 em, .h3 em { font-style: italic; color: var(--rose-ink); }
.section--ink .h2 em, .section--sage .h2 em, .on-dark em { color: var(--rose-light); }
.h2 { font-size: clamp(36px, 5.6vw, 62px); line-height: 1.04; }
.h3 { font-size: clamp(26px, 3vw, 34px); line-height: 1.12; font-weight: 400; }
.lead { font-size: clamp(16px, 1.6vw, 18px); line-height: 1.75; color: var(--muted); font-weight: 300; max-width: 560px; }
.section--ink .lead, .section--sage .lead { color: rgba(243, 239, 234, .78); }
.section-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 6vw, 72px); max-width: 760px; }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head--split { max-width: none; grid-template-columns: 1fr; align-items: end; }
@media (min-width: 900px) { .section-head--split { grid-template-columns: 1.2fr 1fr; gap: 48px; } }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--sage-ink); --fg: var(--cream);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  background: var(--bg); color: var(--fg);
  font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  border: 1px solid var(--bg); border-radius: 999px;
  overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s;
  white-space: nowrap;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--rose-ink); transform: translateY(101%); transition: transform .45s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--rose-ink); }
.btn:hover::after { transform: translateY(0); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--light { --bg: var(--cream); --fg: var(--ink); }
.btn--light:hover { color: var(--cream); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: rgba(58, 54, 50, .25); }
.btn--ghost:hover { color: var(--cream); }
.btn--ghost-light { --bg: transparent; --fg: var(--cream); border-color: rgba(243, 239, 234, .4); }
.btn--ghost-light::after { background: var(--cream); }
.btn--ghost-light:hover { color: var(--ink); border-color: var(--cream); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 11px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  padding-bottom: 6px; border-bottom: 1px solid currentColor;
  transition: gap .3s var(--ease), color .3s;
}
.link-arrow:hover { gap: 16px; color: var(--sage-ink); }
.link-arrow svg { width: 16px; height: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: background .4s, box-shadow .4s, border-color .4s, transform .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled, .site-header.is-solid {
  background: rgba(243, 239, 234, .9);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
@media (min-width: 1360px) { .header-inner { gap: 20px; } }
.brand { display: inline-flex; align-items: center; gap: 12px; z-index: 2; }
.brand-mark {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--ink); font-family: var(--serif); font-size: 17px; letter-spacing: .06em; font-style: italic;
  transition: background .3s, color .3s;
}
.brand:hover .brand-mark { background: var(--ink); color: var(--cream); }
.brand-text { display: grid; line-height: 1.1; }
.brand-name { white-space: nowrap; font-family: var(--serif); font-size: 21px; letter-spacing: .14em; text-transform: uppercase; }
.brand-sub { font-size: 9px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.nav { display: none; }
.nav-list { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.nav-link {
  position: relative; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  padding: 10px 0; color: var(--ink-2); white-space: nowrap;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out);
}
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.has-sub { position: relative; }
.has-sub > .nav-link { display: inline-flex; align-items: center; gap: 6px; }
.has-sub > .nav-link svg { width: 10px; height: 10px; transition: transform .3s; }
.has-sub:hover > .nav-link svg, .has-sub:focus-within > .nav-link svg { transform: rotate(180deg); }
.subnav {
  position: absolute; top: calc(100% + 8px); left: 50%; min-width: 280px;
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 10px;
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity .3s, transform .3s var(--ease), visibility .3s;
}
.subnav::before { content: ""; position: absolute; inset: -14px 0 auto 0; height: 14px; }
.has-sub:hover .subnav, .has-sub:focus-within .subnav { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.subnav a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 12px 14px; border-radius: 8px; font-family: var(--serif); font-size: 21px; transition: background .2s, padding .3s var(--ease);
}
.subnav a small { font-family: var(--sans); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.subnav a:hover { background: var(--sand); padding-left: 20px; }

.header-cta { display: none; }
.menu-toggle {
  position: relative; z-index: 2; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid rgba(58, 54, 50, .18);
}
.menu-toggle span { position: absolute; width: 18px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease), opacity .3s; }
.menu-toggle span:nth-child(1) { transform: translateY(-4px); }
.menu-toggle span:nth-child(2) { transform: translateY(4px); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--cream);
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; gap: 28px; overflow-y: auto;
  opacity: 0; visibility: hidden; clip-path: inset(0 0 100% 0);
  transition: clip-path .6s var(--ease-out), opacity .3s, visibility .6s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; clip-path: inset(0 0 0 0); }
.mobile-menu nav ul { display: grid; gap: 2px; }
.mobile-menu .m-link {
  display: flex; align-items: baseline; justify-content: space-between; padding: 10px 0;
  font-family: var(--serif); font-size: clamp(30px, 8vw, 40px); line-height: 1.15; font-weight: 300;
  border-bottom: 1px solid var(--line);
}
.mobile-menu .m-link small { font-family: var(--sans); font-size: 11px; letter-spacing: .2em; color: var(--muted); }
.mobile-menu .m-procs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mobile-menu .m-procs a {
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; background: var(--white);
}
.mobile-menu .m-label { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.mobile-menu .m-foot { margin-top: auto; display: grid; gap: 14px; }
.mobile-menu .m-foot p { font-size: 13px; color: var(--muted); }
.mobile-menu > * { opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .6s var(--ease-out); }
.mobile-menu.is-open > * { opacity: 1; transform: none; }
.mobile-menu.is-open > *:nth-child(2) { transition-delay: .08s; }
.mobile-menu.is-open > *:nth-child(3) { transition-delay: .16s; }
body.menu-open { overflow: hidden; }

@media (max-width: 420px) {
  .brand-name { font-size: 17px; letter-spacing: .1em; }
  .brand-mark { width: 36px; height: 36px; font-size: 15px; }
  .brand { gap: 10px; }
}
@media (min-width: 1360px) {
  :root { --header-h: 84px; }
  .nav { display: block; }
  .header-cta { display: inline-flex; }
  .menu-toggle, .mobile-menu { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: calc(var(--header-h) + clamp(32px, 6vw, 72px)); padding-bottom: clamp(56px, 8vw, 110px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; right: -20vw; top: -10vw; width: 70vw; height: 70vw; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(221, 181, 168, .42), transparent 70%); pointer-events: none;
}
.hero-grid { display: grid; gap: 48px; align-items: center; position: relative; }
.hero-copy { display: grid; gap: 26px; }
.hero-copy .lead { max-width: 520px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-ctas .btn { flex: 1 1 auto; }
.trust-list { display: grid; gap: 10px; margin-top: 10px; }
.trust-list li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--ink-2); }
.trust-list svg { width: 18px; height: 18px; color: var(--sage-ink); flex: none; }

.hero-media { position: relative; justify-self: center; width: min(100%, 400px); }
.video-frame {
  position: relative; aspect-ratio: 9 / 16; border-radius: 220px 220px var(--radius-lg) var(--radius-lg);
  overflow: hidden; background: var(--sand-2); box-shadow: var(--shadow-lg);
  border: 6px solid var(--white);
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.video-ctrl {
  position: absolute; right: 14px; bottom: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px;
  border-radius: 999px; background: rgba(58, 54, 50, .62); color: var(--cream);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase; transition: background .3s;
}
.video-ctrl:hover { background: rgba(58, 54, 50, .85); }
.video-ctrl svg { width: 16px; height: 16px; }
.video-ctrl--play { left: 14px; right: auto; padding: 0; width: 40px; justify-content: center; }
.hero-badge {
  position: absolute; left: -12px; bottom: 56px; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  background: rgba(243, 239, 234, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px 8px 8px; box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}
.hero-badge .avatars { display: flex; }
.hero-badge .avatars img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid var(--cream); margin-left: -10px; }
.hero-badge .avatars img:first-child { margin-left: 0; }
.hero-badge p { font-size: 12px; line-height: 1.3; }
.hero-badge strong { display: block; font-family: var(--serif); font-size: 17px; font-weight: 600; }
.hero-tag {
  position: absolute; right: -10px; top: 18%; z-index: 3; writing-mode: vertical-rl; transform: rotate(180deg);
  font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: var(--muted);
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.scroll-cue {
  display: none; position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted);
  flex-direction: column; align-items: center; gap: 10px;
}
.scroll-cue::after { content: ""; width: 1px; height: 40px; background: linear-gradient(var(--ink), transparent); animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

@media (min-width: 960px) {
  .hero { min-height: 100svh; display: flex; align-items: center; }
  .hero-grid { grid-template-columns: 1.25fr .75fr; gap: 72px; }
  .hero-ctas .btn { flex: 0 0 auto; }
  .hero-media { justify-self: end; }
  .scroll-cue { display: flex; }
}

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: var(--cream); overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span {
  display: inline-flex; align-items: center; gap: 28px; padding-right: 28px;
  font-family: var(--serif); font-size: clamp(20px, 2.6vw, 28px); font-style: italic; color: var(--ink-2); white-space: nowrap;
}
.marquee-track span::after { content: "✦"; font-style: normal; font-size: 12px; color: var(--rose); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Stats / proof band ---------- */
.proof { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.proof-item { padding: 28px 8px 28px 0; border-bottom: 1px solid var(--line); }
.proof-item:nth-child(odd) { padding-right: 16px; border-right: 1px solid var(--line); }
.proof-item:nth-child(even) { padding-left: 20px; }
.proof-num { font-variant-numeric: lining-nums; font-family: var(--serif); font-size: clamp(38px, 5vw, 56px); line-height: 1; font-weight: 300; }
.proof-num em { font-style: italic; color: var(--rose-ink); }
.proof-label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 10px; line-height: 1.5; }
@media (min-width: 900px) {
  .proof { grid-template-columns: repeat(4, 1fr); }
  .proof-item { padding: 36px 28px !important; border-right: 1px solid var(--line); border-bottom: 0; }
  .proof-item:first-child { padding-left: 0 !important; }
  .proof-item:last-child { border-right: 0; }
}

/* ---------- Manifesto ---------- */
.manifesto { text-align: center; }
.manifesto blockquote {
  font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 5vw, 60px); line-height: 1.12; letter-spacing: -.01em;
  max-width: 1000px; margin-inline: auto;
}
.manifesto blockquote em { color: var(--rose-light); }
.manifesto .quote-mark { font-family: var(--serif); font-size: 120px; line-height: .6; color: var(--sage); display: block; margin-bottom: 18px; }
.manifesto cite { display: block; margin-top: 34px; font-style: normal; font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: rgba(243, 239, 234, .7); }
.manifesto .word { display: inline-block; opacity: .18; transition: opacity .6s; }
.manifesto .word.is-lit { opacity: 1; }

/* ---------- Procedure cards ---------- */
.proc-grid {
  display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 18px;
  margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  scrollbar-width: thin; scrollbar-color: var(--sage) transparent;
}
.proc-card {
  position: relative; display: flex; flex-direction: column; scroll-snap-align: start;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.proc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.proc-media { position: relative; aspect-ratio: 4 / 4.2; overflow: hidden; background: var(--sand); }
.proc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.proc-card:hover .proc-media img { transform: scale(1.06); }
.proc-num {
  position: absolute; left: 16px; top: 14px; font-family: var(--serif); font-size: 15px; font-style: italic;
  background: rgba(243, 239, 234, .92); padding: 4px 12px; border-radius: 999px;
}
.proc-body { display: flex; flex-direction: column; gap: 12px; padding: 24px 22px 22px; flex: 1; }
.proc-body h3 { font-family: var(--serif); font-size: 30px; font-weight: 400; line-height: 1.05; }
.proc-body p { font-size: 15px; color: var(--muted); line-height: 1.6; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 11px; letter-spacing: .06em; padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); background: var(--cream); }
.proc-actions { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.proc-actions .wa-mini {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--wa); transition: background .3s, color .3s, transform .3s;
}
.proc-actions .wa-mini:hover { background: var(--wa); color: #fff; transform: scale(1.06); }
.proc-actions .wa-mini svg { width: 20px; height: 20px; }
.proc-card .stretched::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.proc-card .wa-mini { position: relative; z-index: 2; }
.scroll-hint { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); margin-top: 6px; }
.scroll-hint svg { width: 16px; height: 16px; }
@media (min-width: 760px) {
  .proc-grid { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); overflow: visible; margin: 0; padding: 0; gap: 22px; }
  .scroll-hint { display: none; }
}
@media (min-width: 1080px) { .proc-grid { grid-template-columns: repeat(3, 1fr); gap: 26px; } }

/* ---------- Filters ---------- */
.filters { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 32px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filter-btn {
  flex: none; min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(58, 54, 50, .18);
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase; transition: background .3s, color .3s, border-color .3s;
}
.filter-btn:hover { border-color: var(--ink); }
.filter-btn[aria-pressed="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* ---------- Before / After slider ---------- */
.results-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 700px) {
  .results-grid { grid-template-columns: repeat(2, 1fr); grid-auto-flow: dense; }
  .results-grid .case--wide { grid-column: span 2; }
}
@media (min-width: 1080px) {
  .results-grid { grid-template-columns: repeat(3, 1fr); gap: 26px; }
}
.case { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.case[hidden] { display: none; }
.case.is-entering { animation: caseIn .6s var(--ease-out) both; }
@keyframes caseIn { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.case-info { padding: 18px 20px 20px; display: grid; gap: 6px; }
.case-tag { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--sage-ink); font-weight: 500; }
.case-title { font-family: var(--serif); font-size: 23px; line-height: 1.2; font-weight: 400; }
.case-desc { font-size: 14px; color: var(--muted); line-height: 1.55; }

.ba {
  --pos: 50%;
  position: relative; overflow: hidden; background: var(--sand);
  aspect-ratio: 4 / 5; user-select: none; -webkit-user-select: none;
  touch-action: pan-y; cursor: ew-resize; -webkit-tap-highlight-color: transparent;
}
.case--wide .ba { aspect-ratio: 8 / 5; }
@media (max-width: 699px) { .case--wide .ba { aspect-ratio: 5 / 3.4; } }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.ba .ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-label {
  position: absolute; top: 14px; z-index: 2; pointer-events: none;
  font-size: 10px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; transition: opacity .3s;
}
.ba-label--before { left: 14px; background: rgba(58, 54, 50, .78); color: var(--cream); }
.ba-label--after { right: 14px; background: rgba(243, 239, 234, .92); color: var(--ink); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 3; width: 2px; margin-left: -1px;
  background: var(--cream); box-shadow: 0 0 0 1px rgba(58, 54, 50, .08), 0 0 18px rgba(0, 0, 0, .25);
}
.ba-knob {
  position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--cream); color: var(--ink);
  display: grid; place-items: center; box-shadow: 0 8px 26px rgba(0, 0, 0, .28);
  transition: transform .3s var(--ease), background .3s, color .3s;
}
.ba-knob svg { width: 26px; height: 26px; }
.ba:hover .ba-knob, .ba.is-dragging .ba-knob { transform: translate(-50%, -50%) scale(1.08); }
.ba.is-dragging .ba-knob { background: var(--ink); color: var(--cream); }
.ba-range:focus-visible + .ba-handle .ba-knob { outline: 3px solid var(--sage-ink); outline-offset: 3px; }
.ba-range { position: absolute; inset: 0; opacity: 0; pointer-events: none; width: 100%; }
.ba-hint {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 2; pointer-events: none;
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--cream); white-space: nowrap;
  background: rgba(58, 54, 50, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  padding: 7px 14px; border-radius: 999px; transition: opacity .5s;
}
.ba.was-used .ba-hint { opacity: 0; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.g-item { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--sand); aspect-ratio: 3 / 4; display: block; width: 100%; text-align: left; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.g-item:hover img { transform: scale(1.05); }
.g-item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 40px 14px 14px; font-size: 12.5px; line-height: 1.4; color: var(--cream);
  background: linear-gradient(transparent, rgba(58, 54, 50, .78));
}
.g-zoom {
  position: absolute; right: 10px; top: 10px; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(243, 239, 234, .9); color: var(--ink); transition: transform .3s;
}
.g-zoom svg { width: 16px; height: 16px; }
.g-item:hover .g-zoom { transform: scale(1.1); }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; }
.lightbox::backdrop { background: rgba(46, 43, 39, .94); }
.lightbox[open] { display: grid; place-items: center; animation: fadeIn .3s ease; }
.lightbox figure { display: grid; gap: 14px; justify-items: center; padding: 64px 16px 24px; max-height: 100vh; }
.lightbox img { max-width: min(92vw, 1000px); max-height: calc(100vh - 140px); width: auto; height: auto; border-radius: 8px; }
.lightbox figcaption { color: var(--cream); font-size: 14px; text-align: center; max-width: 640px; }
.lb-btn {
  position: fixed; z-index: 2; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(243, 239, 234, .12); color: var(--cream); transition: background .3s;
}
.lb-btn:hover { background: rgba(243, 239, 234, .25); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
@keyframes fadeIn { from { opacity: 0; } }

/* ---------- About ---------- */
.about-grid { display: grid; gap: 48px; align-items: center; }
.about-media { position: relative; max-width: 520px; width: 100%; justify-self: center; }
.about-media .frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 720 / 830; box-shadow: var(--shadow-lg); }
.about-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.about-media::before {
  content: ""; position: absolute; inset: 24px -18px -18px 24px; border: 1px solid var(--rose); border-radius: var(--radius-lg); z-index: -1;
}
.about-sign { font-family: var(--serif); font-style: italic; font-size: 34px; color: var(--rose-ink); line-height: 1; }
.about-copy { display: grid; gap: 22px; }
.about-copy p { color: var(--muted); font-weight: 300; font-size: 17px; }
.about-copy p strong { color: var(--ink); font-weight: 500; }
.check-list { display: grid; gap: 12px; margin-top: 4px; }
.check-list li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; font-size: 15.5px; color: var(--ink-2); }
.check-list svg { width: 20px; height: 20px; color: var(--sage-ink); margin-top: 3px; }
@media (min-width: 960px) { .about-grid { grid-template-columns: .9fr 1.1fr; gap: 96px; } }

/* ---------- Features ---------- */
.features { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.feature { background: var(--cream); padding: 34px 28px; display: grid; gap: 14px; align-content: start; transition: background .4s; }
.feature:hover { background: var(--white); }
.feature-icon { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--sage-soft); color: var(--sage-ink); transition: transform .5s var(--ease); }
.feature:hover .feature-icon { transform: rotate(-8deg) scale(1.06); }
.feature-icon svg { width: 24px; height: 24px; }
.feature h3 { font-family: var(--serif); font-size: 26px; font-weight: 400; line-height: 1.15; }
.feature p { font-size: 15px; color: var(--muted); }
@media (min-width: 700px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .features { grid-template-columns: repeat(4, 1fr); } }
.features--3 { }
@media (min-width: 1080px) { .features--3 { grid-template-columns: repeat(3, 1fr); } }
.feature--dark { background: var(--deep); color: var(--cream); }
.feature--dark:hover { background: var(--sage-ink); }
.feature--dark p { color: rgba(243, 239, 234, .72); }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 0; counter-reset: step; position: relative; }
.step { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding-bottom: 36px; }
.step:last-child { padding-bottom: 0; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  border: 1px solid rgba(243, 239, 234, .35); font-family: var(--serif); font-size: 22px; font-style: italic;
  background: var(--ink); position: relative; z-index: 1; transition: background .5s, color .5s, border-color .5s;
}
.step.is-visible::before { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.step::after { content: ""; position: absolute; left: 32px; top: 64px; bottom: 0; width: 1px; background: rgba(243, 239, 234, .2); }
.step:last-child::after { display: none; }
.step h3 { font-family: var(--serif); font-size: 28px; font-weight: 400; line-height: 1.15; margin-top: 14px; }
.step p { color: rgba(243, 239, 234, .72); font-size: 15px; margin-top: 8px; max-width: 420px; }
@media (min-width: 960px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .step { grid-template-columns: 1fr; padding-bottom: 0; }
  .step::after { left: 64px; right: -28px; top: 32px; bottom: auto; width: auto; height: 1px; }
  .step h3 { margin-top: 10px; }
}

/* ---------- Social proof / Instagram ---------- */
.social { display: grid; gap: 40px; align-items: center; }
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mosaic a { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 10px; background: var(--sand); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out), filter .6s; }
.mosaic a:hover img { transform: scale(1.08); filter: saturate(1.1); }
.social-cards { display: grid; gap: 14px; }
.social-card {
  display: flex; align-items: center; gap: 18px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--white); transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.social-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.social-card .ic { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--sand); color: var(--ink); }
.social-card .ic svg { width: 24px; height: 24px; }
.social-card strong { display: block; font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1.2; }
.social-card span { font-size: 13.5px; color: var(--muted); }
.social-card > svg { margin-left: auto; width: 18px; height: 18px; flex: none; transition: transform .3s; }
.social-card:hover > svg { transform: translateX(4px); }
@media (min-width: 960px) { .social { grid-template-columns: 1.05fr .95fr; gap: 80px; } }

/* Testimonials (preenchidos pelo dono) */
.testimonials { display: grid; gap: 18px; margin-top: 48px; }
.testimonial { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; display: grid; gap: 16px; }
.testimonial blockquote { font-family: var(--serif); font-size: 22px; line-height: 1.35; }
.testimonial figcaption { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 900px) { .testimonials { grid-template-columns: repeat(3, 1fr); } }

/* ---------- FAQ ---------- */
.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 0; font-family: var(--serif); font-size: clamp(21px, 2.4vw, 26px); line-height: 1.25; transition: color .3s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--sage-ink); }
.faq .pm { position: relative; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); flex: none; transition: background .3s, border-color .3s, transform .4s var(--ease); }
.faq .pm::before, .faq .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .4s var(--ease); }
.faq .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .pm { background: var(--ink); color: var(--cream); border-color: var(--ink); transform: rotate(180deg); }
.faq details[open] .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq .answer { overflow: hidden; }
.faq .answer-inner { padding: 0 56px 26px 0; color: var(--muted); font-size: 16px; font-weight: 300; max-width: 760px; }
.faq-layout { display: grid; gap: 40px; }
@media (min-width: 960px) { .faq-layout { grid-template-columns: .8fr 1.2fr; gap: 80px; } .faq-layout .section-head { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; margin-bottom: 0; } }

/* ---------- Location ---------- */
.location { display: grid; gap: 36px; }
.loc-info { display: grid; gap: 28px; align-content: start; }
.loc-block { display: grid; gap: 6px; }
.loc-block .label { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.loc-block .value { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 30px); line-height: 1.25; }
.loc-block a.value:hover { color: var(--sage-ink); }
.loc-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.map-wrap { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 340px; background: var(--sand-2); border: 1px solid var(--line); }
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.85) contrast(1.02); transition: filter .6s; }
.map-wrap:hover iframe { filter: none; }
@media (min-width: 960px) { .location { grid-template-columns: .8fr 1.2fr; gap: 64px; } .map-wrap { min-height: 460px; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; text-align: center; }
.cta-band::before, .cta-band::after {
  content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(243, 239, 234, .14); pointer-events: none;
}
.cta-band::before { width: 620px; height: 620px; left: -220px; top: -260px; }
.cta-band::after { width: 820px; height: 820px; right: -340px; bottom: -480px; }
.cta-band .h2 { max-width: 880px; margin-inline: auto; }
.cta-band .lead { margin: 22px auto 0; text-align: center; }
.cta-band .cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 38px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep); color: rgba(243, 239, 234, .78); padding: 80px 0 32px; font-size: 14.5px; }
.footer-top { display: grid; gap: 44px; padding-bottom: 56px; border-bottom: 1px solid rgba(243, 239, 234, .12); }
.footer-brand .brand-name { color: var(--cream); font-size: 26px; }
.footer-brand p { margin-top: 18px; max-width: 340px; font-weight: 300; }
.footer-col h4 { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--cream); font-weight: 500; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { transition: color .3s; }
.footer-col a:hover { color: var(--cream); }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(243, 239, 234, .22); display: grid; place-items: center; transition: background .3s, color .3s; }
.socials a:hover { background: var(--cream); color: var(--ink); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; padding-top: 28px; font-size: 12.5px; color: rgba(243, 239, 234, .55); }
.footer-bottom p { max-width: 720px; }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  display: flex; align-items: center; gap: 10px;
}
.wa-float a.wa-btn {
  position: relative; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff;
  display: grid; place-items: center; box-shadow: 0 12px 30px -6px rgba(31, 175, 84, .55);
  transition: transform .35s var(--ease);
}
.wa-float a.wa-btn:hover { transform: scale(1.08); }
.wa-float a.wa-btn svg { width: 30px; height: 30px; }
.wa-float a.wa-btn::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa);
  animation: ping 2.6s var(--ease) infinite;
}
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
.wa-bubble {
  background: var(--white); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow);
  padding: 10px 14px; border-radius: 14px 14px 4px 14px; font-size: 13px; line-height: 1.35; max-width: 210px;
  opacity: 0; transform: translateX(10px); pointer-events: none; transition: opacity .5s, transform .5s var(--ease);
}
.wa-bubble strong { display: block; font-weight: 600; }
.wa-float.show-bubble .wa-bubble { opacity: 1; transform: none; }
.wa-float.is-hidden { transform: translateY(120px); }
.wa-float { transition: transform .5s var(--ease); }

/* ---------- Procedure page ---------- */
.p-hero { padding-top: calc(var(--header-h) + clamp(28px, 5vw, 56px)); padding-bottom: clamp(56px, 8vw, 100px); position: relative; overflow: hidden; }
.p-hero::before {
  content: ""; position: absolute; left: -25vw; top: -20vw; width: 70vw; height: 70vw; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(221, 181, 168, .38), transparent 70%); pointer-events: none;
}
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.breadcrumb a:hover { color: var(--ink); }
.p-hero-grid { display: grid; gap: 44px; align-items: center; position: relative; }
.p-hero-copy { display: grid; gap: 24px; }
.p-hero .display { font-size: clamp(42px, 7vw, 80px); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); margin-top: 6px; }
.fact { padding: 18px 12px 18px 0; }
.fact + .fact { padding-left: 14px; border-left: 1px solid var(--line); }
.fact dt { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.fact dd { font-family: var(--serif); font-size: clamp(18px, 2vw, 23px); line-height: 1.2; margin-top: 6px; }
.p-hero-media .case { box-shadow: var(--shadow-lg); border: 0; }
@media (min-width: 960px) { .p-hero-grid { grid-template-columns: 1.1fr .9fr; gap: 72px; } .p-hero-media { max-width: 520px; justify-self: end; width: 100%; } }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } .fact + .fact { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } .fact { padding: 14px 0; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; } .fact dd { margin-top: 0; text-align: right; } }

.info-grid { display: grid; gap: 36px; }
.info-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 44px); display: grid; gap: 20px; align-content: start; }
@media (min-width: 900px) { .info-grid { grid-template-columns: 1fr 1fr; gap: 26px; } }

.others { display: grid; grid-template-columns: 1fr; gap: 12px; }
.other {
  display: flex; align-items: center; gap: 16px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--white); transition: transform .4s var(--ease), box-shadow .4s;
}
.other:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.other img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; flex: none; }
.other strong { font-family: var(--serif); font-size: 22px; font-weight: 500; display: block; line-height: 1.2; }
.other span { font-size: 13px; color: var(--muted); }
.other > svg { margin-left: auto; width: 18px; height: 18px; flex: none; }
@media (min-width: 700px) { .others { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .others { grid-template-columns: repeat(3, 1fr); } }

.disclaimer { font-size: 12.5px; color: var(--muted); margin-top: 28px; max-width: 760px; }
.sub-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 64px 0 28px; flex-wrap: wrap; }
.sub-head:first-child { margin-top: 0; }

/* 404 */
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter) 60px; }
.notfound .display { font-size: clamp(80px, 18vw, 180px); }

/* ---------- Reveal animations ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-img { clip-path: inset(12% 0 0 0); opacity: 0; transition: clip-path 1.4s var(--ease-out), opacity 1s; }
.js .reveal-img.is-visible { clip-path: inset(0 0 0 0); opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .reveal-img { opacity: 1; transform: none; clip-path: none; }
  .marquee-track { animation: none; }
  .manifesto .word { opacity: 1; }
}

/* Evita que filhos de grid estourem a largura no mobile */
.social > *, .about-grid > *, .location > *, .faq-layout > *, .hero-grid > *, .p-hero-grid > *, .info-grid > *, .footer-top > * { min-width: 0; }
.social-card strong { overflow-wrap: anywhere; }
@media (min-width: 1080px) {
  .results-grid--two, .results-grid--pairs { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 700px) {
  .results-grid--pairs .case--wide { grid-column: span 1; }
}
/* Header: garante que o CTA nunca seja cortado */
.header-cta { flex: none; }
@media (min-width: 1360px) and (max-width: 1599px) {
  .nav-list { gap: 18px; }
  .nav-link { font-size: 11px; letter-spacing: .1em; }
  .brand-name { font-size: 19px; letter-spacing: .1em; }
  .lang-code { display: none; }
}
.results-grid--two { max-width: 900px; margin-inline: auto; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Seletor de idioma ---------- */
.lang { position: relative; z-index: 3; flex: none; margin-left: auto; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px 0 10px;
  border: 1px solid rgba(58, 54, 50, .18); border-radius: 999px; background: rgba(243, 239, 234, .6);
  font-size: 11px; font-weight: 500; letter-spacing: .16em; color: var(--ink-2);
  transition: border-color .3s, background .3s;
}
.lang-btn:hover, .lang.is-open .lang-btn { border-color: var(--rose); background: var(--rose-soft); }
.lang-current { display: inline-flex; align-items: center; gap: 8px; }
.lang-flag { width: 22px; height: 16px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(58, 54, 50, .12); flex: none; }
.lang-caret { width: 10px; height: 6px; transition: transform .3s var(--ease); }
.lang.is-open .lang-caret { transform: rotate(180deg); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 200px; padding: 8px;
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .25s, transform .3s var(--ease), visibility .3s;
}
.lang.is-open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu button {
  width: 100%; display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 8px;
  font-size: 14px; text-align: left; color: var(--ink); transition: background .2s;
}
.lang-menu button:hover, .lang-menu button:focus-visible { background: var(--sand); }
.lang-menu button span { flex: 1; }
.lang-check { width: 16px; height: 16px; color: var(--rose-ink); opacity: 0; }
.lang-menu button[aria-checked="true"] { font-weight: 500; }
.lang-menu button[aria-checked="true"] .lang-check { opacity: 1; }
.header-inner .menu-toggle { flex: none; }
.brand { flex: none; }
@media (min-width: 1360px) {
  .lang { margin-left: 0; }
}
/* Topo em telas médias: botão de agendar aparece junto do menu */
@media (min-width: 900px) and (max-width: 1359px) {
  .header-cta { display: inline-flex; margin-left: auto; }
  .lang { margin-left: 0; }
}
/* Topo largo: container um pouco maior para caber tudo com folga */
@media (min-width: 1600px) {
  .site-header .container { max-width: 1440px; }
}
@media (max-width: 420px) {
  .brand-name { font-size: 16px; letter-spacing: .07em; }
  .brand-sub { letter-spacing: .2em; }
  .header-inner { gap: 8px; }
  .menu-toggle { width: 42px; height: 42px; }
  .lang-btn { height: 40px; }
}
@media (max-width: 380px) {
  .lang-btn { padding: 0 9px; gap: 6px; }
  .lang-code { display: none; }
}

.lang-inline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.lang-inline button {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--white); font-size: 12.5px; color: var(--ink-2);
  transition: border-color .3s, background .3s;
}
.lang-inline button[aria-pressed="true"] { border-color: var(--rose-ink); background: var(--rose-soft); color: var(--ink); font-weight: 500; }
@media (max-width: 349px) {
  .brand-mark { display: none; }
  .brand-name { font-size: 15px; }
  .lang-caret { display: none; }
}

/* ---------- Aviso de cookies (LGPD) ---------- */
.cookie-banner {
  position: fixed; z-index: 120; left: 16px; right: 16px; bottom: 16px;
  display: grid; gap: 16px; padding: 20px 22px;
  background: var(--cream); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(16px); transition: opacity .4s, transform .5s var(--ease-out);
}
.cookie-banner.is-visible { opacity: 1; transform: none; }
.cookie-text strong { display: block; font-family: var(--serif); font-size: 22px; font-weight: 400; line-height: 1.2; margin-bottom: 6px; }
.cookie-text p { font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.cookie-text a { color: var(--rose-ink); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cookie-actions .btn { width: 100%; }
@media (min-width: 720px) {
  .cookie-banner { left: 24px; right: auto; bottom: 24px; max-width: 440px; }
}
@media (prefers-reduced-motion: reduce) { .cookie-banner { transition: none; } }

/* Links legais no rodapé */
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; width: 100%; }
.footer-legal a, .footer-legal button { color: inherit; font-size: 12.5px; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(243, 239, 234, .3); }
.footer-legal a:hover, .footer-legal button:hover { color: var(--cream); }

/* Página de privacidade */
.legal { padding-top: calc(var(--header-h) + clamp(40px, 7vw, 88px)); }
.legal-body { display: grid; gap: 14px; margin-top: 36px; color: var(--ink-2); font-size: 16px; }
.legal-body h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 3vw, 30px); margin-top: 22px; color: var(--ink); }
.legal-body ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; }
.legal-body a { color: var(--rose-ink); text-decoration: underline; text-underline-offset: 3px; }
.link-inline { color: var(--rose-ink); text-decoration: underline; text-underline-offset: 3px; font: inherit; }
