/* ============================================================
   Harmony Clinic — Material Design 3 (Material You)
   Esquema de marca: nude / bege / dourado
   Tokens seguem a nomenclatura oficial --md-sys-*
   ============================================================ */

/* ---------- 1. DESIGN TOKENS ---------- */
:root {
  /* Color roles — Light scheme */
  --md-sys-color-primary: #8A5A3B;
  --md-sys-color-on-primary: #FFFFFF;
  --md-sys-color-primary-container: #F6E2D2;
  --md-sys-color-on-primary-container: #3A1E0A;
  --md-sys-color-secondary: #765847;
  --md-sys-color-on-secondary: #FFFFFF;
  --md-sys-color-secondary-container: #FBE0CF;
  --md-sys-color-on-secondary-container: #2C160A;
  --md-sys-color-tertiary: #9A8247;
  --md-sys-color-on-tertiary: #FFFFFF;
  --md-sys-color-tertiary-container: #F2E6C4;
  --md-sys-color-on-tertiary-container: #2F2600;
  --md-sys-color-surface: #FFF8F4;
  --md-sys-color-surface-dim: #E8D9CE;
  --md-sys-color-surface-bright: #FFF8F4;
  --md-sys-color-surface-container-lowest: #FFFFFF;
  --md-sys-color-surface-container-low: #FCF1EA;
  --md-sys-color-surface-container: #F6EAE1;
  --md-sys-color-surface-container-high: #F0E4DA;
  --md-sys-color-surface-container-highest: #EBDED4;
  --md-sys-color-on-surface: #21190F;
  --md-sys-color-on-surface-variant: #5C5247;
  --md-sys-color-outline: #8A7D6F;
  --md-sys-color-outline-variant: #DDCFC1;
  --md-sys-color-inverse-surface: #372F27;
  --md-sys-color-inverse-on-surface: #FBEEE6;
  --md-sys-color-inverse-primary: #EBBD98;
  --md-sys-color-scrim: #000000;

  /* Shape scale */
  --md-sys-shape-corner-none: 0;
  --md-sys-shape-corner-extra-small: 4px;
  --md-sys-shape-corner-small: 8px;
  --md-sys-shape-corner-medium: 12px;
  --md-sys-shape-corner-large: 16px;
  --md-sys-shape-corner-extra-large: 28px;
  --md-sys-shape-corner-full: 9999px;

  /* Elevation (tonal shadows) */
  --md-sys-elevation-level-0: none;
  --md-sys-elevation-level-1: 0 1px 2px rgba(60,40,25,.18), 0 1px 3px 1px rgba(60,40,25,.10);
  --md-sys-elevation-level-2: 0 1px 2px rgba(60,40,25,.18), 0 2px 6px 2px rgba(60,40,25,.12);
  --md-sys-elevation-level-3: 0 1px 3px rgba(60,40,25,.18), 0 4px 8px 3px rgba(60,40,25,.12);
  --md-sys-elevation-level-4: 0 2px 3px rgba(60,40,25,.18), 0 6px 10px 4px rgba(60,40,25,.12);
  --md-sys-elevation-level-5: 0 4px 4px rgba(60,40,25,.18), 0 8px 12px 6px rgba(60,40,25,.12);

  /* Motion */
  --md-sys-motion-easing-standard: cubic-bezier(0.2, 0, 0, 1);
  --md-sys-motion-easing-emphasized: cubic-bezier(0.2, 0, 0, 1);
  --md-sys-motion-easing-emphasized-decelerate: cubic-bezier(0.05, 0.7, 0.1, 1);
  --md-sys-motion-duration-short: 200ms;
  --md-sys-motion-duration-medium: 400ms;
  --md-sys-motion-duration-long: 500ms;

  /* Typography families */
  --md-ref-typeface-brand: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --md-ref-typeface-plain: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --layout-max: 1200px;
  --app-bar-h: 64px;

  /* Tema claro é o padrão; o escuro é ativado por toggle (data-theme="dark"). */
  color-scheme: light;
}

/* ===== TEMA ESCURO (alternável via botão — html[data-theme="dark"]) ===== */
html[data-theme="dark"] {
  color-scheme: dark;
  --md-sys-color-primary: #E7B98F;
  --md-sys-color-on-primary: #45260F;
  --md-sys-color-primary-container: #5E3B22;
  --md-sys-color-on-primary-container: #F8E2CF;
  --md-sys-color-secondary: #E2C3A9;
  --md-sys-color-on-secondary: #3A2616;
  --md-sys-color-secondary-container: #4A3526;
  --md-sys-color-on-secondary-container: #F8E2CF;
  --md-sys-color-tertiary: #DCC78B;
  --md-sys-color-on-tertiary: #393012;
  --md-sys-color-tertiary-container: #4D3F1A;
  --md-sys-color-on-tertiary-container: #F6E8BE;
  --md-sys-color-surface: #17110D;
  --md-sys-color-surface-dim: #17110D;
  --md-sys-color-surface-bright: #3B2F25;
  --md-sys-color-surface-container-lowest: #110C09;
  --md-sys-color-surface-container-low: #1F1813;
  --md-sys-color-surface-container: #261E17;
  --md-sys-color-surface-container-high: #31271F;
  --md-sys-color-surface-container-highest: #3C3127;
  --md-sys-color-on-surface: #F2E7DD;
  --md-sys-color-on-surface-variant: #CDBBAC;
  --md-sys-color-outline: #9C8B7B;
  --md-sys-color-outline-variant: #4E4138;
  --md-sys-color-inverse-surface: #F2E7DD;
  --md-sys-color-inverse-on-surface: #2A211A;
  --md-sys-color-inverse-primary: #8A5A3B;
  --md-sys-elevation-level-1: 0 1px 2px rgba(0,0,0,.45), 0 1px 3px 1px rgba(0,0,0,.30);
  --md-sys-elevation-level-2: 0 1px 2px rgba(0,0,0,.45), 0 2px 6px 2px rgba(0,0,0,.34);
  --md-sys-elevation-level-3: 0 1px 3px rgba(0,0,0,.45), 0 4px 8px 3px rgba(0,0,0,.34);
  --md-sys-elevation-level-4: 0 2px 3px rgba(0,0,0,.45), 0 6px 10px 4px rgba(0,0,0,.34);
  --md-sys-elevation-level-5: 0 4px 4px rgba(0,0,0,.45), 0 8px 12px 6px rgba(0,0,0,.34);
}
html[data-theme="dark"] .hero::before { opacity: .55; }
/* transição suave ao alternar o tema */
body, .app-bar, .card, .pay, .price-card, .policy-card, .cta-band, .footer { transition: background-color var(--md-sys-motion-duration-medium) var(--md-sys-motion-easing-standard), color var(--md-sys-motion-duration-medium) var(--md-sys-motion-easing-standard); }

/* ---------- 2. RESET / BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--md-ref-typeface-plain);
  font-size: 16px;
  line-height: 24px;
  color: var(--md-sys-color-on-surface);
  background: var(--md-sys-color-surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--md-sys-color-primary); outline-offset: 2px; border-radius: 4px; }

/* ---------- 3. TYPOGRAPHY ---------- */
.display-large { font-family: var(--md-ref-typeface-brand); font-weight: 600; font-size: clamp(40px, 8vw, 64px); line-height: 1.05; letter-spacing: -.5px; }
.display-medium { font-family: var(--md-ref-typeface-brand); font-weight: 600; font-size: clamp(34px, 6vw, 46px); line-height: 1.1; }
.headline-large { font-family: var(--md-ref-typeface-brand); font-weight: 600; font-size: clamp(28px, 4.5vw, 36px); line-height: 1.15; }
.headline-medium { font-family: var(--md-ref-typeface-brand); font-weight: 600; font-size: clamp(24px, 3.5vw, 30px); line-height: 1.2; }
.title-large { font-family: var(--md-ref-typeface-plain); font-weight: 600; font-size: 22px; line-height: 28px; }
.title-medium { font-family: var(--md-ref-typeface-plain); font-weight: 600; font-size: 16px; line-height: 24px; letter-spacing: .15px; }
.body-large { font-size: 16px; line-height: 26px; }
.body-medium { font-size: 14px; line-height: 21px; color: var(--md-sys-color-on-surface-variant); }
.label-large { font-weight: 500; font-size: 14px; line-height: 20px; letter-spacing: .1px; }
.overline { font-weight: 600; font-size: 12px; line-height: 16px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--md-sys-color-primary); }

/* ---------- 4. LAYOUT ---------- */
.container { width: 100%; max-width: var(--layout-max); margin-inline: auto; padding-inline: clamp(16px, 5vw, 48px); }
.section { padding-block: clamp(44px, 8vw, 112px); }
/* Offset de ancoragem para a top app bar fixa (evita título coberto ao navegar) */
section[id], main[id] { scroll-margin-top: calc(var(--app-bar-h) + 8px); }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 5vw, 40px); }
.section-head .overline { display: block; margin-bottom: 12px; }
.section-head p { margin: 12px 0 0; color: var(--md-sys-color-on-surface-variant); }
.center { text-align: center; margin-inline: auto; }

.surface-alt { background: var(--md-sys-color-surface-container-low); }
.surface-tint { background: var(--md-sys-color-secondary-container); }

/* ---------- 5. TOP APP BAR ---------- */
.app-bar {
  position: sticky; top: 0; z-index: 100;
  height: var(--app-bar-h);
  display: flex; align-items: center;
  background: color-mix(in srgb, var(--md-sys-color-surface) 86%, transparent);
  backdrop-filter: blur(12px);
  transition: box-shadow var(--md-sys-motion-duration-short) var(--md-sys-motion-easing-standard),
              background var(--md-sys-motion-duration-short);
}
.app-bar.scrolled { background: var(--md-sys-color-surface-container); box-shadow: var(--md-sys-elevation-level-2); }
.app-bar__inner { width: 100%; max-width: var(--layout-max); margin-inline: auto; padding-inline: clamp(16px, 5vw, 48px); display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: baseline; gap: 8px; font-family: var(--md-ref-typeface-brand); font-weight: 600; font-size: 24px; color: var(--md-sys-color-on-surface); }
.brand small { font-family: var(--md-ref-typeface-plain); font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--md-sys-color-primary); font-weight: 600; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { padding: 10px 14px; border-radius: var(--md-sys-shape-corner-full); font-weight: 500; font-size: 14px; color: var(--md-sys-color-on-surface-variant); transition: background var(--md-sys-motion-duration-short); }
.nav a:hover { background: color-mix(in srgb, var(--md-sys-color-on-surface) 8%, transparent); color: var(--md-sys-color-on-surface); }
.nav-toggle { display: none; width: 48px; height: 48px; border: 0; background: transparent; border-radius: var(--md-sys-shape-corner-full); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle:hover { background: color-mix(in srgb, var(--md-sys-color-on-surface) 8%, transparent); }
.nav-toggle svg { width: 24px; height: 24px; fill: var(--md-sys-color-on-surface); }

/* Botão de alternar tema (claro/escuro) */
.theme-toggle { flex: 0 0 auto; width: 48px; height: 48px; border: 0; background: transparent; border-radius: var(--md-sys-shape-corner-full); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: var(--md-sys-color-on-surface); transition: background var(--md-sys-motion-duration-short); }
.theme-toggle:hover { background: color-mix(in srgb, var(--md-sys-color-on-surface) 8%, transparent); }
.theme-toggle svg { width: 22px; height: 22px; fill: currentColor; }
.theme-toggle .ic-sun { display: none; }
html[data-theme="dark"] .theme-toggle .ic-sun { display: block; }
html[data-theme="dark"] .theme-toggle .ic-moon { display: none; }
/* item de tema dentro do drawer (mobile) */
.drawer-theme { margin-top: auto; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 0; background: var(--md-sys-color-surface-container-high); color: var(--md-sys-color-on-surface); border-radius: var(--md-sys-shape-corner-full); font-family: inherit; font-weight: 500; font-size: 15px; cursor: pointer; }
.drawer-theme svg { width: 20px; height: 20px; fill: currentColor; }
.drawer-theme .ic-sun { display: none; }
html[data-theme="dark"] .drawer-theme .ic-sun { display: block; }
html[data-theme="dark"] .drawer-theme .ic-moon { display: none; }

/* Modal nav (mobile) */
.scrim { position: fixed; inset: 0; background: color-mix(in srgb, var(--md-sys-color-scrim) 40%, transparent); opacity: 0; visibility: hidden; transition: opacity var(--md-sys-motion-duration-short); z-index: 200; }
.scrim.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(78vw, 320px);
  background: var(--md-sys-color-surface-container); z-index: 210;
  transform: translateX(100%); transition: transform var(--md-sys-motion-duration-medium) var(--md-sys-motion-easing-emphasized);
  box-shadow: var(--md-sys-elevation-level-4);
  padding: 24px 16px; display: flex; flex-direction: column; gap: 4px;
}
.drawer.open { transform: translateX(0); }
.drawer .brand { padding: 8px 12px 16px; }
.drawer a { padding: 14px 16px; border-radius: var(--md-sys-shape-corner-full); font-weight: 500; color: var(--md-sys-color-on-surface-variant); }
.drawer a:hover { background: color-mix(in srgb, var(--md-sys-color-on-surface) 8%, transparent); color: var(--md-sys-color-on-surface); }

/* ---------- 6. BUTTONS ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 24px; border: 0; border-radius: var(--md-sys-shape-corner-full); font-family: var(--md-ref-typeface-plain); font-weight: 500; font-size: 14px; letter-spacing: .1px; cursor: pointer; transition: box-shadow var(--md-sys-motion-duration-short), background var(--md-sys-motion-duration-short), transform var(--md-sys-motion-duration-short); }
.btn:active { transform: scale(.98); }
.btn--filled { background: var(--md-sys-color-primary); color: var(--md-sys-color-on-primary); }
.btn--filled:hover { box-shadow: var(--md-sys-elevation-level-1); background: color-mix(in srgb, var(--md-sys-color-primary) 92%, #000); }
.btn--tonal { background: var(--md-sys-color-secondary-container); color: var(--md-sys-color-on-secondary-container); }
.btn--tonal:hover { box-shadow: var(--md-sys-elevation-level-1); }
.btn--outlined { background: transparent; color: var(--md-sys-color-primary); border: 1px solid var(--md-sys-color-outline); }
.btn--outlined:hover { background: color-mix(in srgb, var(--md-sys-color-primary) 8%, transparent); }
.btn--text { background: transparent; color: var(--md-sys-color-primary); padding-inline: 12px; }
.btn--text:hover { background: color-mix(in srgb, var(--md-sys-color-primary) 8%, transparent); }
.btn--lg { min-height: 52px; padding-inline: 32px; font-size: 15px; }

/* ---------- 7. CHIPS ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 16px; border-radius: var(--md-sys-shape-corner-small); border: 1px solid var(--md-sys-color-outline-variant); background: transparent; color: var(--md-sys-color-on-surface-variant); font-weight: 500; font-size: 14px; cursor: pointer; transition: background var(--md-sys-motion-duration-short), border-color var(--md-sys-motion-duration-short); }
.chip:hover { background: color-mix(in srgb, var(--md-sys-color-on-surface) 8%, transparent); }
.chip[aria-selected="true"] { background: var(--md-sys-color-secondary-container); color: var(--md-sys-color-on-secondary-container); border-color: transparent; }
.chip--assist { background: var(--md-sys-color-surface-container-high); border-color: transparent; cursor: default; }

/* ---------- 8. CARDS ---------- */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--md-sys-color-surface-container-low);
  border-radius: var(--md-sys-shape-corner-large);
  overflow: hidden; box-shadow: var(--md-sys-elevation-level-1);
  transition: box-shadow var(--md-sys-motion-duration-medium) var(--md-sys-motion-easing-standard), transform var(--md-sys-motion-duration-medium) var(--md-sys-motion-easing-standard);
}
.card:hover { box-shadow: var(--md-sys-elevation-level-3); transform: translateY(-4px); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--md-sys-motion-duration-long) var(--md-sys-motion-easing-standard); }
.card:hover .card__media img { transform: scale(1.06); }
.card__body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__title { font-family: var(--md-ref-typeface-plain); font-weight: 600; font-size: 18px; line-height: 24px; margin: 0; }
.card__text { color: var(--md-sys-color-on-surface-variant); font-size: 14px; line-height: 21px; margin: 0; flex: 1; }
.card__footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 8px; }

/* Price tag (badge) */
.price { display: inline-flex; align-items: baseline; gap: 3px; padding: 6px 14px; border-radius: var(--md-sys-shape-corner-full); background: var(--md-sys-color-tertiary-container); color: var(--md-sys-color-on-tertiary-container); font-weight: 700; }
.price .cur { font-size: 12px; font-weight: 600; }
.price .val { font-size: 17px; }
.price--ghost { background: transparent; color: var(--md-sys-color-on-surface-variant); border: 1px dashed var(--md-sys-color-outline-variant); font-weight: 600; }
.media-badge { position: absolute; top: 12px; left: 12px; background: color-mix(in srgb, var(--md-sys-color-surface) 88%, transparent); backdrop-filter: blur(6px); color: var(--md-sys-color-primary); font-weight: 600; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; padding: 6px 12px; border-radius: var(--md-sys-shape-corner-full); }

/* ---------- 9. HERO ---------- */
.hero { position: relative; padding-block: clamp(40px, 7vw, 80px) clamp(56px, 9vw, 96px); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(120% 90% at 85% 10%, var(--md-sys-color-primary-container) 0%, transparent 55%),
  radial-gradient(100% 80% at 0% 100%, var(--md-sys-color-tertiary-container) 0%, transparent 50%);
  opacity: .8; z-index: -1; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.hero__content .overline { margin-bottom: 16px; }
.hero__content h1 { margin: 0 0 20px; }
.hero__content h1 em { font-style: italic; color: var(--md-sys-color-primary); }
.hero__content p { font-size: clamp(15px, 2vw, 18px); line-height: 1.6; color: var(--md-sys-color-on-surface-variant); max-width: 48ch; margin: 0 0 28px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__media { position: relative; }
.hero__media .frame { border-radius: var(--md-sys-shape-corner-extra-large); overflow: hidden; box-shadow: var(--md-sys-elevation-level-3); aspect-ratio: 4/5; background: var(--md-sys-color-surface-container); }
.hero__media .frame img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero__stats { display: flex; gap: 28px; margin-top: 32px; flex-wrap: wrap; }
.stat .n { font-family: var(--md-ref-typeface-brand); font-weight: 600; font-size: 32px; line-height: 1; color: var(--md-sys-color-primary); }
.stat .l { font-size: 13px; color: var(--md-sys-color-on-surface-variant); margin-top: 4px; }

/* ---------- 10. ABOUT ---------- */
.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.about__media { border-radius: var(--md-sys-shape-corner-extra-large); overflow: hidden; box-shadow: var(--md-sys-elevation-level-2); background: var(--md-sys-color-surface-container); aspect-ratio: 4/5; }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__media--products { background: var(--md-sys-color-secondary-container); }
.about__media--products img { object-fit: contain; padding: 8%; }
.about p + p { margin-top: 16px; }
.signature { font-family: var(--md-ref-typeface-brand); font-style: italic; font-size: 24px; color: var(--md-sys-color-primary); margin-top: 20px; }

/* ---------- 11. OVERVIEW (3 técnicas) ---------- */
.overview { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.overview .card__body { gap: 10px; }
.overview .icon { width: 48px; height: 48px; border-radius: var(--md-sys-shape-corner-medium); display: grid; place-items: center; background: var(--md-sys-color-primary-container); color: var(--md-sys-color-on-primary-container); margin-bottom: 4px; }
.overview .icon svg { width: 26px; height: 26px; }

/* ---------- 12. FEATURE BLOCK (brow / lash lift) ---------- */
.feature { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.feature--reverse { grid-template-columns: .9fr 1.1fr; }
.feature--reverse .feature__media { order: -1; }
.feature__media { border-radius: var(--md-sys-shape-corner-extra-large); overflow: hidden; box-shadow: var(--md-sys-elevation-level-2); aspect-ratio: 4/5; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.feature__gallery img { border-radius: var(--md-sys-shape-corner-medium); aspect-ratio: 1; object-fit: cover; box-shadow: var(--md-sys-elevation-level-1); }
.feature ul.checks { margin-top: 20px; display: grid; gap: 12px; }
.feature ul.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--md-sys-color-on-surface-variant); }
.feature ul.checks svg { flex: 0 0 22px; width: 22px; height: 22px; fill: var(--md-sys-color-primary); margin-top: 1px; }

/* ---------- 12b. ANTES / DEPOIS (comparador arrastável) ---------- */
.ba { position: relative; width: 100%; aspect-ratio: 430 / 380; border-radius: var(--md-sys-shape-corner-extra-large); overflow: hidden; box-shadow: var(--md-sys-elevation-level-2); touch-action: pan-y; -webkit-user-select: none; user-select: none; cursor: ew-resize; background: var(--md-sys-color-surface-container); }
.ba__layer { position: absolute; inset: 0; }
.ba__layer img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.ba__before { clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.ba__tag { position: absolute; top: 12px; padding: 5px 12px; border-radius: var(--md-sys-shape-corner-full); font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #fff; background: rgba(0,0,0,.45); backdrop-filter: blur(6px); pointer-events: none; }
.ba__tag--antes { left: 12px; }
.ba__tag--depois { right: 12px; }
.ba__divider { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.12); pointer-events: none; }
.ba__grip { position: absolute; top: 50%; left: var(--pos, 50%); transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; background: #fff; box-shadow: var(--md-sys-elevation-level-3); display: grid; place-items: center; color: var(--md-sys-color-primary); pointer-events: none; }
.ba__grip svg { width: 24px; height: 24px; fill: currentColor; }
.ba__hint { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); font-size: 12px; font-weight: 600; color: #fff; background: rgba(0,0,0,.45); padding: 5px 12px; border-radius: var(--md-sys-shape-corner-full); backdrop-filter: blur(6px); pointer-events: none; transition: opacity var(--md-sys-motion-duration-medium) var(--md-sys-motion-easing-standard); }
.ba.is-dragging .ba__hint { opacity: 0; }
.ba.is-dragging .ba__grip { transform: translate(-50%, -50%) scale(1.06); }
.ba:focus-visible { outline: 3px solid var(--md-sys-color-primary); outline-offset: 3px; }

/* ---------- 13. EPILAÇÃO / PRICE DUO ---------- */
.price-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 560px; }
.price-card { text-align: center; padding: 28px 20px; border-radius: var(--md-sys-shape-corner-large); background: var(--md-sys-color-surface-container-lowest); box-shadow: var(--md-sys-elevation-level-1); border: 1px solid var(--md-sys-color-outline-variant); }
.price-card .lbl { font-weight: 600; letter-spacing: 1px; text-transform: uppercase; font-size: 12px; color: var(--md-sys-color-on-surface-variant); }
.price-card .big { font-family: var(--md-ref-typeface-brand); font-weight: 600; font-size: 40px; color: var(--md-sys-color-primary); margin: 6px 0; }
.price-card .big sup { font-size: 18px; top: -.6em; }

/* ---------- 14. POLICY ---------- */
.policy-card { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; background: var(--md-sys-color-surface-container); border-radius: var(--md-sys-shape-corner-extra-large); padding: clamp(24px, 4vw, 48px); box-shadow: var(--md-sys-elevation-level-1); }
.policy-list { display: grid; gap: 16px; }
.policy-list li { display: flex; gap: 14px; }
.policy-list .num { flex: 0 0 32px; height: 32px; border-radius: var(--md-sys-shape-corner-full); background: var(--md-sys-color-primary); color: var(--md-sys-color-on-primary); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.discount { text-align: center; background: var(--md-sys-color-primary-container); color: var(--md-sys-color-on-primary-container); border-radius: var(--md-sys-shape-corner-large); padding: 28px 20px; }
.discount .pct { font-family: var(--md-ref-typeface-brand); font-weight: 600; font-size: 56px; line-height: 1; }
.discount .ex { margin-top: 14px; font-size: 13px; opacity: .85; }
.discount .ex b { display: block; font-size: 16px; margin-top: 2px; }

/* ---------- 15. PAYMENT ---------- */
.pay-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.pay { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 28px 16px; border-radius: var(--md-sys-shape-corner-large); background: var(--md-sys-color-surface-container-low); box-shadow: var(--md-sys-elevation-level-1); transition: transform var(--md-sys-motion-duration-short), box-shadow var(--md-sys-motion-duration-short); }
.pay:hover { transform: translateY(-3px); box-shadow: var(--md-sys-elevation-level-2); }
.pay .ic { width: 56px; height: 56px; border-radius: var(--md-sys-shape-corner-full); background: var(--md-sys-color-tertiary-container); color: var(--md-sys-color-on-tertiary-container); display: grid; place-items: center; }
.pay .ic svg { width: 28px; height: 28px; }
.pay .name { font-weight: 600; font-size: 15px; }

/* ---------- 16. CTA BAND ---------- */
.cta-band { background: var(--md-sys-color-inverse-surface); color: var(--md-sys-color-inverse-on-surface); border-radius: var(--md-sys-shape-corner-extra-large); padding: clamp(32px, 6vw, 64px); text-align: center; }
.cta-band h2 { font-family: var(--md-ref-typeface-brand); font-weight: 600; font-size: clamp(28px, 5vw, 42px); margin: 0 0 12px; }
.cta-band p { color: color-mix(in srgb, var(--md-sys-color-inverse-on-surface) 80%, transparent); max-width: 46ch; margin: 0 auto 28px; }
.cta-band .btn--filled { background: var(--md-sys-color-inverse-primary); color: #3A1E0A; }

/* ---------- 17. FOOTER ---------- */
.footer { background: var(--md-sys-color-surface-container-low); border-top: 1px solid var(--md-sys-color-outline-variant); padding-block: 48px 32px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--md-sys-color-on-surface-variant); margin: 0 0 14px; }
.footer a { color: var(--md-sys-color-on-surface-variant); font-size: 14px; line-height: 32px; }
.footer a:hover { color: var(--md-sys-color-primary); }
.footer .brand { font-size: 28px; margin-bottom: 10px; }
.footer__bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--md-sys-color-outline-variant); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--md-sys-color-on-surface-variant); }

/* ---------- 18. FAB (WhatsApp) ---------- */
.fab { position: fixed; right: clamp(16px, 4vw, 32px); bottom: clamp(16px, 4vw, 32px); z-index: 150; display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px; border-radius: var(--md-sys-shape-corner-full); background: var(--md-sys-color-primary); color: var(--md-sys-color-on-primary); font-weight: 600; font-size: 15px; box-shadow: var(--md-sys-elevation-level-3); transition: box-shadow var(--md-sys-motion-duration-short), transform var(--md-sys-motion-duration-short); }
.fab:hover { box-shadow: var(--md-sys-elevation-level-4); transform: translateY(-2px); }
.fab svg { width: 24px; height: 24px; fill: currentColor; }
.fab .fab__label { white-space: nowrap; }

/* ---------- 19. SCROLL REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--md-sys-motion-duration-long) var(--md-sys-motion-easing-emphasized-decelerate), transform var(--md-sys-motion-duration-long) var(--md-sys-motion-easing-emphasized-decelerate); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .card, .card__media img, .pay, .fab, .btn { transition: none !important; }
}

/* ---------- 20. RESPONSIVE (mobile-first overrides) ---------- */
@media (max-width: 900px) {
  .hero__grid, .about__grid, .feature, .feature--reverse, .policy-card { grid-template-columns: 1fr; }
  .feature--reverse .feature__media { order: 0; }
  .hero__media { max-width: 460px; margin-inline: auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .theme-toggle { margin-left: auto; }
}

/* ===== COMPACT (telefones < 600px) — mobile-first tuning ===== */
@media (max-width: 600px) {
  /* App bar mais enxuta + brand menor */
  :root { --app-bar-h: 60px; }
  .brand { font-size: 22px; }

  /* Imagens grandes mais baixas no celular (menos scroll) */
  .hero__media .frame { aspect-ratio: 4 / 4; }
  .about__media, .feature__media { aspect-ratio: 1 / 1; }
  .hero { padding-block: 20px 40px; }

  /* Hero: stats compactos, sem aperto */
  .hero__stats { gap: 20px; margin-top: 24px; }
  .stat .n { font-size: 26px; }

  /* Cards de técnica ocupam a largura toda, com mídia mais alta (vitrine) */
  .grid { gap: 16px; grid-template-columns: 1fr; }
  .card__media { aspect-ratio: 5 / 4; }
  .overview { gap: 16px; }

  /* Tap targets confortáveis (>= 48px) */
  .btn { min-height: 48px; }
  .btn--lg { min-height: 52px; width: 100%; }          /* CTAs full-width no mobile */
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
  .chip { min-height: 40px; }
  .nav a, .drawer a { min-height: 48px; }

  /* Filtro de chips rola lateralmente sem quebrar a grade */
  .chips { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 4px; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: 0 0 auto; }

  /* Galerias e blocos */
  .feature__gallery { gap: 10px; }
  .policy-card { gap: 24px; padding: 24px; }
  .pay-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .price-duo { grid-template-columns: 1fr; max-width: 100%; }
  .footer__grid { grid-template-columns: 1fr; gap: 24px; }

  /* CTA buttons empilhados */
  .cta-band > div { flex-direction: column; }
  .cta-band .btn { width: 100%; }

  /* FAB compacto (ícone) e folga inferior pra não cobrir o footer */
  .fab .fab__label { display: none; }
  .fab { padding: 0; width: 56px; justify-content: center; }
  body { padding-bottom: 76px; }
}

@media (max-width: 380px) {
  .hero__content h1 { font-size: 38px; }
  .pay-grid { grid-template-columns: 1fr; }
}
