/* ==========================================================
   Dra. Nayara Jacobsem — Estética Avançada
   Paleta: marfim (fundo) · nude champagne · dourado fosco · marrom profundo
   As cores e fontes vêm do painel (variáveis em includes/head.php).
   ========================================================== */
:root {
  --accent: #ad8758;          /* dourado fosco */
  --nude: #d9c3ae;            /* nude champagne */
  --bg: #f4eee6;              /* off-white e marfim */
  --text: #4a342a;            /* marrom profundo */
  --font-title: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', system-ui, sans-serif;

  --bg-2: color-mix(in srgb, var(--bg) 70%, var(--nude));     /* blocos editoriais */
  --bg-3: color-mix(in srgb, var(--bg) 40%, #fff);             /* cards */
  --btn: color-mix(in srgb, var(--text) 62%, var(--accent));   /* botão sólido */
  --muted: color-mix(in srgb, var(--text) 72%, var(--bg));
  --line: color-mix(in srgb, var(--accent) 38%, transparent);
  --line-soft: color-mix(in srgb, var(--text) 10%, transparent);
  --max: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
  --header-h: 84px;
  --shadow: 0 24px 50px -32px color-mix(in srgb, var(--text) 45%, transparent);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) - 4px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 300 16px/1.75 var(--font-body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
strong { font-weight: 500; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }
.muted { color: var(--muted); }
.skip-link { position: absolute; left: -9999px; top: 10px; z-index: 200; background: var(--text); color: var(--bg); padding: 10px 16px; }
.skip-link:focus { left: 10px; }
:focus-visible { outline: 1.5px solid var(--accent); outline-offset: 3px; }

/* Tipografia */
.section-title, .hero-title, .cta-title, .treat-card h3, .treat-modal h3 {
  font-family: var(--font-title); font-weight: 400; color: var(--text);
  letter-spacing: -.01em; line-height: 1.04; margin: 0;
}
.section-title { font-size: clamp(34px, 4.4vw, 52px); }
.section-text { max-width: 620px; margin: 18px auto 0; color: var(--muted); }
.rule { display: block; width: 64px; height: 1px; background: var(--accent); margin-bottom: 26px; }
.section-head { text-align: center; margin-bottom: 52px; }
.section-head .rule { margin: 0 auto 26px; }
.rich p { color: color-mix(in srgb, var(--text) 88%, var(--bg)); }
.rich strong { color: var(--text); }
.section { padding: clamp(72px, 9vw, 120px) 0; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 30px; border-radius: 6px; border: 1px solid transparent;
  font-size: 14.5px; font-weight: 400; letter-spacing: .02em; line-height: 1.2;
  cursor: pointer; transition: background .3s, color .3s, border-color .3s, transform .3s, box-shadow .3s;
}
.btn .ico { width: 18px; height: 18px; }
.btn-solid { background: var(--btn); color: #fff; box-shadow: 0 12px 26px -16px color-mix(in srgb, var(--text) 80%, transparent); }
.btn-solid:hover { background: var(--text); transform: translateY(-1px); }
.btn-outline { border-color: var(--accent); color: var(--text); border-radius: 999px; padding: 13px 30px; }
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-sm { padding: 10px 18px; font-size: 13px; }
.text-link { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); transition: color .3s; }
.text-link span { border-bottom: 1px solid var(--accent); padding-bottom: 2px; }
.text-link .ico { width: 18px; height: 18px; transition: transform .3s; }
.text-link:hover { color: var(--text); }
.text-link:hover .ico { transform: translateX(4px); }

/* ==========================================================
   Cabeçalho
   ========================================================== */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
/* o desfoque fica num pseudo-elemento: backdrop-filter no próprio header prenderia o menu mobile (position: fixed) dentro dele */
.site-header::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: background .3s;
}
.site-header.scrolled { border-color: var(--line-soft); box-shadow: 0 10px 30px -26px rgba(74,52,42,.6); }
.site-header.scrolled::before, .nav-open .site-header::before { background: color-mix(in srgb, var(--bg) 96%, transparent); }
.header-inner { height: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 14px; flex: none; }
.brand-logo, .footer-logo { height: 52px; width: auto; }
.brand-mono, .footer-mono { width: 46px; height: 46px; color: var(--accent); }
.brand-name { font-family: var(--font-title); font-size: 19px; font-weight: 500; letter-spacing: .2em; white-space: nowrap; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 30px; }
.nav-list { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; }
.nav-list > li > a, .sub-toggle {
  position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 8px 0;
  font-size: 13.5px; letter-spacing: .02em; color: color-mix(in srgb, var(--text) 85%, var(--bg));
  background: none; border: 0; cursor: pointer; transition: color .3s;
}
.nav-list > li > a::after { content: ''; position: absolute; left: 50%; right: 50%; bottom: 0; height: 1px; background: var(--accent); transition: left .3s, right .3s; }
.nav-list > li > a:hover, .nav-list > li > a.is-active { color: var(--text); }
.nav-list > li > a:hover::after, .nav-list > li > a.is-active::after { left: 0; right: 0; }
.main-nav .nav-cta, .main-nav .nav-social { display: none; }
.header-cta { padding: 11px 24px; font-size: 13.5px; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: none; color: var(--text); cursor: pointer; }
.nav-toggle .ico { width: 22px; height: 22px; }
.nav-toggle .ico-close, .nav-open .nav-toggle .ico-open { display: none; }
.nav-open .nav-toggle .ico-close { display: block; }

/* Submenu (cascata) */
.has-sub { position: relative; }
.chev { width: 14px; height: 14px; transition: transform .3s; }
.has-sub.open .chev { transform: rotate(180deg); }
.submenu { list-style: none; margin: 0; padding: 10px; position: absolute; top: calc(100% + 12px); left: 50%; min-width: 260px; translate: -50% 0; background: var(--bg-3); border: 1px solid var(--line-soft); border-radius: 10px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .25s, transform .25s, visibility .25s; }
.has-sub.open .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 8px; transition: background .2s; }
.submenu a:hover { background: var(--bg-2); }
.sm-ico { color: var(--accent); padding-top: 2px; }
.sm-txt b { display: block; font-weight: 400; font-size: 14px; }
.sm-txt small { display: block; font-size: 12px; color: var(--muted); line-height: 1.4; }

@media (max-width: 1080px) {
  .header-cta { display: none; }
}
@media (max-width: 920px) {
  :root { --header-h: 72px; }
  .brand-logo { height: 44px; }
  .brand-name { font-size: 16px; letter-spacing: .16em; }
  .nav-toggle { display: grid; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0; margin: 0; padding: 34px var(--gutter) 40px;
    flex-direction: column; align-items: stretch; gap: 26px; overflow-y: auto;
    background: var(--bg); opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .3s, transform .3s, visibility .3s;
  }
  .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open { overflow: hidden; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line-soft); }
  .nav-list > li > a, .sub-toggle { width: 100%; padding: 16px 0; font-family: var(--font-title); font-size: 26px; justify-content: space-between; }
  .nav-list > li > a::after { display: none; }
  .main-nav .nav-cta { display: inline-flex; align-self: flex-start; }
  .main-nav .nav-social { display: flex; list-style: none; gap: 16px; margin: 0; padding: 0; color: var(--accent); }
  .nav-social .ico { width: 24px; height: 24px; }
  .submenu { position: static; translate: none; min-width: 0; box-shadow: none; border: 0; background: none; padding: 0 0 12px; display: none; opacity: 1; visibility: visible; transform: none; }
  .has-sub.open .submenu { display: block; }
}
@media (max-width: 400px) {
  .brand { gap: 10px; }
  .brand-name { font-size: 14px; letter-spacing: .12em; }
}

/* ==========================================================
   Hero
   ========================================================== */
.hero { position: relative; min-height: min(100svh, 860px); display: flex; align-items: center; padding: calc(var(--header-h) + 40px) 0 70px; overflow: hidden; background: var(--bg); }
.hero-media { position: absolute; inset: 0; }
.hero-bg { width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--bg) 70%, transparent) 0%, color-mix(in srgb, var(--bg) 20%, transparent) 38%, transparent 55%); }
.hero-content { position: relative; z-index: 1; }
.hero-content > * { max-width: 560px; }
.hero-title { font-size: clamp(46px, 6.2vw, 84px); line-height: .98; }
.hero-text { margin: 28px 0 38px; font-size: 17px; color: color-mix(in srgb, var(--text) 88%, var(--bg)); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 34px; }

@media (max-width: 760px) {
  .hero { display: block; min-height: 0; padding: var(--header-h) 0 56px; }
  .hero-media { position: relative; inset: auto; height: 62svh; min-height: 380px; max-height: 560px; }
  .hero-bg { object-position: var(--hero-pos, 72%) 20%; }
  .hero-media::after { background: linear-gradient(180deg, transparent 55%, var(--bg) 99%); }
  .hero-content { margin-top: -40px; }
  .hero-title { font-size: clamp(42px, 12vw, 56px); }
  .hero-text { font-size: 16px; margin: 20px 0 30px; }
  .hero-actions .btn { width: 100%; }
}

/* Faixa de diferenciais */
.highlights { background: var(--bg); border-bottom: 1px solid var(--line-soft); }
.highlights-list { list-style: none; margin: 0 auto; padding-top: 30px; padding-bottom: 30px; display: grid; grid-template-columns: repeat(3, 1fr); }
.highlights-list li { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 6px 20px; font-size: 14px; color: color-mix(in srgb, var(--text) 85%, var(--bg)); }
.highlights-list li + li { border-left: 1px solid var(--line); }
.highlights-list .ico { width: 34px; height: 34px; color: var(--accent); }
@media (max-width: 760px) {
  .highlights-list { grid-template-columns: 1fr; padding-top: 14px; padding-bottom: 14px; }
  .highlights-list li { justify-content: flex-start; padding: 14px 0; }
  .highlights-list li + li { border-left: 0; border-top: 1px solid var(--line-soft); }
}

/* ==========================================================
   A Dra. Nayara
   ========================================================== */
.about { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg-2); padding: 8px; margin-top: clamp(0px, 1vw, 8px); }
.about-media { margin: 0; min-height: 100%; }
.about-media img { width: 100%; height: 100%; min-height: 460px; max-height: 720px; object-fit: cover; }
.about-body { position: relative; align-self: center; padding: clamp(48px, 7vw, 100px) clamp(24px, 6vw, 90px); max-width: 640px; }
.about-body .section-title { margin-bottom: 30px; }
.about-body .rich { font-size: 16.5px; margin-bottom: 30px; }
.about-leaf { position: absolute; right: 16px; bottom: 10px; width: 110px; color: var(--accent); opacity: .75; pointer-events: none; transform: rotate(18deg); }
.stats { list-style: none; margin: 0 0 34px; padding: 0; display: flex; flex-wrap: wrap; gap: 18px 40px; }
.stats strong { display: block; font-family: var(--font-title); font-size: 40px; font-weight: 400; line-height: 1; color: var(--accent); }
.stats span { font-size: 13px; color: var(--muted); }
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; padding: 0; }
  .about-media img { min-height: 0; aspect-ratio: 4/4.2; max-height: 620px; }
  .about-leaf { width: 80px; }
}

/* ==========================================================
   Tratamentos
   ========================================================== */
.treat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.treat-card { background: var(--bg-3); border: 1px solid var(--line-soft); display: flex; flex-direction: column; transition: box-shadow .4s, transform .4s; }
.treat-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.treat-img { aspect-ratio: 456 / 388; overflow: hidden; background: var(--bg-2); display: grid; place-items: center; }
.treat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.treat-card:hover .treat-img img { transform: scale(1.04); }
.treat-ico .ico { width: 64px; height: 64px; color: var(--accent); }
.treat-body { padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 22px; flex: 1; }
.treat-card h3 { font-size: clamp(26px, 2.4vw, 30px); }
.treat-link { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 12px; padding: 0; border: 0; background: none; cursor: pointer; font-size: 14px; color: var(--muted); transition: color .3s; }
.treat-link .ico { width: 18px; height: 18px; transition: transform .3s; }
.treat-link:hover { color: var(--text); }
.treat-link:hover .ico { transform: translateX(4px); }

/* Janela "Saiba mais" */
.treat-modal { width: min(820px, calc(100% - 32px)); max-height: calc(100svh - 32px); padding: 0; border: 0; border-radius: 4px; background: var(--bg); color: var(--text); box-shadow: 0 40px 90px -30px rgba(40,25,18,.6); overflow: auto; }
.treat-modal::backdrop { background: rgba(48,33,26,.55); backdrop-filter: blur(3px); }
.treat-modal-inner { display: grid; grid-template-columns: 1fr 1.1fr; }
.treat-modal-inner > img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.treat-modal-inner > :only-child { grid-column: 1 / -1; }
.treat-modal-body { padding: 48px 40px 40px; }
.treat-modal h3 { font-size: 38px; margin-bottom: 18px; }
.treat-modal p { color: color-mix(in srgb, var(--text) 88%, var(--bg)); }
.treat-price { font-family: var(--font-title); font-size: 22px; color: var(--accent) !important; }
.treat-modal .btn { margin-top: 10px; }
.treat-close { position: absolute; top: 12px; right: 12px; z-index: 1; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 0; background: color-mix(in srgb, var(--bg) 88%, transparent); color: var(--text); cursor: pointer; }
.treat-close .ico { width: 20px; height: 20px; }
@media (max-width: 640px) {
  .treat-modal-inner { grid-template-columns: 1fr; }
  .treat-modal-inner > img { min-height: 0; aspect-ratio: 16/10; }
  .treat-modal-body { padding: 30px 24px 30px; }
  .treat-modal h3 { font-size: 32px; }
  .treat-modal .btn { width: 100%; }
}

/* ==========================================================
   A Clínica
   ========================================================== */
.clinic { background: var(--bg-3); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.clinic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.clinic-body .section-title { margin-bottom: 28px; max-width: 520px; }
.clinic-body .rich { margin-bottom: 26px; }
.clinic-body .info-list { margin-bottom: 28px; }
.clinic-media { margin: 0; }
.clinic-media img { width: 100%; aspect-ratio: 4/4.4; object-fit: cover; object-position: 72% 30%; }
@media (max-width: 860px) {
  .clinic-grid { grid-template-columns: 1fr; }
  .clinic-media img { aspect-ratio: 4/3.4; }
}

/* Galeria: carrossel de fotos (uma por vez) + vídeo */
.clinic-gallery { display: grid; gap: 22px; grid-auto-flow: column; grid-auto-columns: 1fr; min-width: 0; }
.res-video { margin: 0; min-width: 0; }
.res-video video { display: block; width: 100%; aspect-ratio: 4/5; object-fit: cover; background: var(--text); }
.res-video figcaption { padding: 12px 2px 0; font-size: 14px; color: var(--muted); text-align: center; }
@media (max-width: 560px) { .clinic-gallery { grid-auto-flow: row; } }
.res-carousel { position: relative; min-width: 0; }
.res-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.res-track::-webkit-scrollbar { display: none; }
.res-slide { flex: 0 0 100%; margin: 0; scroll-snap-align: center; }
.res-slide a { display: block; aspect-ratio: 4/5; background: var(--bg-2); overflow: hidden; }
.res-slide img { width: 100%; height: 100%; object-fit: cover; }
.res-slide figcaption { padding: 12px 2px 0; font-size: 14px; color: var(--muted); text-align: center; }
.res-nav { position: absolute; top: calc(50% - 22px); width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 85%, transparent); color: var(--text); cursor: pointer; backdrop-filter: blur(6px); transition: background .3s; }
.res-nav:hover { background: var(--bg); }
.res-nav .ico { width: 20px; height: 20px; }
.res-nav.prev { left: 12px; } .res-nav.prev .ico { transform: scaleX(-1); }
.res-nav.next { right: 12px; }
.res-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.res-dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--nude); transition: background .3s, transform .3s; }
.res-dots span.on { background: var(--accent); transform: scale(1.25); }

/* Lista de informações (clínica e contato) */
.info-list { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 20px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-list li > .ico { width: 22px; height: 22px; margin-top: 4px; color: var(--accent); }
.info-list span { display: block; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.info-list a, .info-list p, .info-list address { margin: 0; font-size: 16px; color: var(--text); word-break: break-word; }
.info-list a:hover { color: var(--accent); }
.small-link { display: inline-block; margin-top: 4px; font-size: 13px !important; color: var(--accent) !important; }

/* ==========================================================
   Depoimentos
   ========================================================== */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; }
.testimonial { position: relative; margin: 0; padding: 40px 34px 32px; background: var(--bg-3); border: 1px solid var(--line-soft); display: flex; flex-direction: column; }
.quote-ico { position: absolute; right: 26px; top: 24px; width: 44px; height: 44px; color: color-mix(in srgb, var(--accent) 35%, transparent); }
.stars { display: flex; gap: 4px; margin-bottom: 18px; }
.stars .ico { width: 15px; height: 15px; color: var(--nude); }
.stars .ico.on { color: var(--accent); fill: var(--accent); }
.testimonial p { margin: 0 0 24px; font-family: var(--font-title); font-size: 20px; line-height: 1.45; font-style: italic; }
.testimonial footer { margin-top: auto; display: flex; align-items: center; gap: 14px; }
.testimonial footer img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testimonial cite { font-style: normal; font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; }
.testimonial cite small { display: block; font-size: 12px; letter-spacing: .04em; text-transform: none; color: var(--accent); }
.testimonials .center { margin-top: 40px; }
.g-summary { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin: -14px 0 34px; font-size: 15px; }
.g-summary strong { font-size: 24px; font-weight: 400; }
.g-logo { font-family: Arial, sans-serif; font-size: 20px; font-weight: 600; letter-spacing: -.5px; padding: 4px 12px; border-radius: 99px; background: #fff; }
.g-logo b { font-weight: 600; }
.g-review cite a:hover { color: var(--accent); }
.rev-carousel { position: relative; }
.rev-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 2px; }
.rev-track::-webkit-scrollbar { display: none; }
.rev-track .testimonial { flex: 0 0 calc((100% - 48px) / 3); scroll-snap-align: start; min-width: 0; }
.rev-carousel .res-nav { top: calc(50% - 40px); }
.rev-carousel .res-nav.prev { left: -22px; }
.rev-carousel .res-nav.next { right: -22px; }
.rev-carousel .res-dots { margin-top: 22px; }
.g-review .g-text { display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 8px; }
.g-review.aberto .g-text { display: block; -webkit-line-clamp: unset; }
.g-more { align-self: flex-start; margin: 0 0 22px; padding: 0; border: 0; background: none; color: var(--accent); font-size: 13px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1000px) { .rev-track .testimonial { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 640px) {
  .rev-track { gap: 14px; }
  .rev-track .testimonial { flex-basis: 86%; padding: 32px 24px 26px; }
  .rev-carousel .res-nav { display: none; }
}

/* ==========================================================
   Contato
   ========================================================== */
.contact { background: var(--bg); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.contact-grid.no-form { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
.contact-info .btn { margin-bottom: 26px; }
.map { border: 1px solid var(--line-soft); overflow: hidden; }
.map iframe { display: block; width: 100%; height: 260px; border: 0; filter: grayscale(.4) sepia(.15); }
.contact-form { display: grid; gap: 18px; padding: clamp(26px, 4vw, 44px); background: var(--bg-3); border: 1px solid var(--line-soft); }
.field { display: grid; gap: 7px; }
.field label { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; font-size: 15.5px; font-weight: 300;
  background: var(--bg); border: 1px solid color-mix(in srgb, var(--text) 16%, transparent); border-radius: 4px;
  transition: border-color .3s, box-shadow .3s; appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23ad8758' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--btn); flex: none; }
.check a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.contact-form .btn { justify-self: start; }
.contact-form .btn:disabled { opacity: .6; cursor: wait; }
.hp { position: absolute; left: -9999px; }
.form-alert { display: none; padding: 13px 16px; border-radius: 4px; font-size: 14.5px; }
.form-alert.show { display: block; }
.form-alert.ok { background: #e6efe3; color: #2f5a35; }
.form-alert.err { background: #f6e1dd; color: #8a3326; }
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
  .contact-form .btn, .contact-info .btn { width: 100%; }
}

/* ==========================================================
   Faixa final
   ========================================================== */
.cta-band { position: relative; overflow: hidden; background: var(--nude); padding: clamp(64px, 8vw, 96px) 0; }
.cta-title { font-size: clamp(34px, 4.6vw, 54px); margin-bottom: 34px; }
.cta-leaf { position: absolute; bottom: -20px; width: clamp(90px, 12vw, 170px); color: color-mix(in srgb, var(--accent) 85%, var(--text)); opacity: .7; pointer-events: none; }
.cta-leaf-l { left: clamp(-20px, 1vw, 30px); transform: rotate(-28deg); }
.cta-leaf-r { right: clamp(-20px, 1vw, 30px); transform: scaleX(-1) rotate(-28deg); }
@media (max-width: 640px) { .cta-leaf { opacity: .35; } }

/* ==========================================================
   Rodapé
   ========================================================== */
.site-footer { background: var(--bg); padding: 56px 0 0; border-top: 1px solid var(--line-soft); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 0; align-items: center; }
.footer-grid > * { padding: 4px clamp(20px, 3vw, 44px); }
.footer-grid > * + * { border-left: 1px solid var(--line); }
.footer-grid > :first-child { padding-left: 0; }
.footer-text { margin: 16px 0 0; font-size: 13.5px; color: var(--muted); max-width: 340px; }
.footer-ig { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.footer-ig .ico { width: 30px; height: 30px; color: var(--text); }
.footer-ig span { font-size: 14px; }
.footer-ig small { display: block; font-size: 11px; color: var(--muted); }
.footer-ig:hover span { color: var(--accent); }
.footer-contact ul, .footer-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-contact li a, .footer-contact li span { display: inline-flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); word-break: break-word; }
.footer-contact .ico { width: 17px; height: 17px; margin-top: 3px; color: var(--accent); }
.footer-links ul { grid-template-columns: 1fr 1fr; gap: 8px 30px; }
.footer-links a { font-size: 13.5px; color: var(--muted); transition: color .3s; }
.footer-contact a:hover, .footer-links a:hover { color: var(--text); }
.footer-title { margin: 0 0 12px; font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }

.footer-local { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; margin-top: 48px; align-items: stretch; }
.footer-map { min-height: 260px; overflow: hidden; border: 1px solid var(--line-soft); }
.footer-map iframe { display: block; width: 100%; height: 100%; min-height: 260px; border: 0; filter: grayscale(.4) sepia(.15); }
.footer-gcard { padding: 28px; border: 1px solid var(--line-soft); background: var(--bg-3); min-width: 0; }
.footer-gcard .g-name { margin: 0 0 10px; font-family: var(--font-title); font-size: 24px; }
.footer-gcard .g-name small { display: block; font-family: var(--font-body); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.g-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 14px; }
.g-rating strong { font-size: 26px; font-weight: 400; }
.g-stars { position: relative; font-size: 17px; letter-spacing: 2px; color: var(--nude); }
.g-stars::before { content: '★★★★★'; position: absolute; inset: 0; width: calc(var(--n) / 5 * 100%); overflow: hidden; color: #e3a92f; white-space: nowrap; }
.g-qtd { font-size: 13px; color: var(--muted); }
.g-addr { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 10px; font-size: 14px; line-height: 1.5; }
.g-addr .ico { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 2px; color: var(--accent); }
.g-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }

.footer-bottom { margin-top: 44px; padding-bottom: 26px; }
.footer-lema { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 0 0 18px; font-size: 10.5px; letter-spacing: .4em; color: var(--muted); }
.footer-lema::before, .footer-lema::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.footer-lema i { font-style: normal; color: var(--accent); letter-spacing: 0; }
.footer-copy { margin: 0; text-align: center; font-size: 12px; color: var(--muted); }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 0; }
  .footer-grid > :first-child { grid-column: 1 / -1; padding: 0; }
  .footer-grid > :nth-child(2) { border-left: 0; padding-left: 0; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > * { padding: 0 !important; border-left: 0 !important; }
  .footer-grid > * + * { border-top: 1px solid var(--line-soft); padding-top: 26px !important; }
  .footer-local { grid-template-columns: 1fr; }
  .footer-lema { gap: 10px; letter-spacing: .26em; font-size: 9.5px; }
}

/* Botão flutuante do WhatsApp */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--btn); color: #fff; box-shadow: 0 16px 30px -12px rgba(48,33,26,.6);
  transition: transform .3s, opacity .3s, background .3s; opacity: 0; transform: scale(.6); pointer-events: none;
}
.wa-float.show { opacity: 1; transform: scale(1); pointer-events: auto; }
.wa-float:hover { background: var(--text); transform: scale(1.06); }
.wa-float .ico { width: 27px; height: 27px; }

/* Páginas internas */
.page { padding-top: calc(var(--header-h) + 60px); }
.narrow { max-width: 800px; }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 30px; }
.breadcrumb a { color: var(--accent); }
.page .section-title { margin-bottom: 30px; }
.page-404 .rule { margin: 0 auto 26px; }
.page-404 .btn { margin-top: 10px; }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(36,25,20,.94); display: grid; place-items: center; padding: 30px; }
.lb[hidden] { display: none; }
.lb figure { margin: 0; max-width: min(1100px, 100%); }
.lb img { max-height: 82vh; width: auto; margin: 0 auto; }
.lb figcaption { text-align: center; color: #eee; padding-top: 14px; font-size: 14px; }
.lb-close { position: absolute; top: 18px; right: 18px; background: none; border: 0; color: #fff; cursor: pointer; padding: 8px; }
.lb-close .ico { width: 30px; height: 30px; }

/* Animação de entrada */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 1s ease, transform 1s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .treat-card, .treat-img img { transition: none; }
}

/* ==========================================================
   Experiências on-line (home) + classes usadas pelas páginas
   do Scalp Scan, Vale-presente e NJ Academy
   ========================================================== */
:root { --font-script: var(--font-title); --accent-2: var(--nude); }
.btn-lg { padding: 17px 36px; font-size: 15.5px; }
.script { font-family: var(--font-title); font-style: italic; color: var(--accent); }
.section-script { display: block; margin: 0 0 8px; font-size: clamp(22px, 2.4vw, 28px); }
.divider { display: block; width: 64px; height: 1px; background: var(--accent); margin: 22px auto 26px; }
.service-link { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.service-link .ico { width: 18px; height: 18px; }

.online { background: var(--bg-2); }
.online-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.online-grid.n1 { grid-template-columns: minmax(0, 560px); justify-content: center; }
.online-grid.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; margin: 0 auto; }
.online-card { position: relative; display: flex; flex-direction: column; padding: 38px 32px 34px; background: var(--bg-3); border: 1px solid var(--line-soft); transition: transform .4s, box-shadow .4s; }
.online-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.online-card.featured { background: linear-gradient(160deg, #fff 0%, var(--bg-3) 60%); border-color: var(--line); }
.online-card .oc-ico { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--accent); margin-bottom: 24px; }
.online-card .oc-ico .ico { width: 28px; height: 28px; }
.online-card .oc-tag { position: absolute; top: 26px; right: 26px; font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); }
.online-card h3 { margin: 0 0 12px; font-family: var(--font-title); font-weight: 400; font-size: 30px; line-height: 1.1; }
.online-card p { margin: 0 0 26px; color: var(--muted); font-size: 15px; }
.online-card .text-link { margin-top: auto; }
@media (max-width: 900px) { .online-grid, .online-grid.n2 { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }
