/* ==========================================================================
   Clínica Groe — Odontologia · Santo André/SP
   Direção visual premium: marfim, areia e café, com o laranja Groe como acento.
   ========================================================================== */

:root {
  --orange: #ff5a00;
  --orange-600: #e04f00;
  --orange-700: #b43f00;
  --peach: #f7e6da;
  --peach-2: #fbf0e8;
  --ivory: #fbf8f4;
  --sand: #f3ede6;
  --stone: #e6ddd3;
  --ink: #1d1714;
  --ink-2: #3d332d;
  --muted: #7b6e65;
  --espresso: #1f1814;
  --on-dark: #d9ccc2;
  --white: #ffffff;

  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --arch: 999px 999px 18px 18px;
  --shadow: 0 30px 60px -30px rgba(29, 23, 20, 0.35);
  --shadow-sm: 0 10px 30px -18px rgba(29, 23, 20, 0.3);
  --container: 1240px;
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--sans); font-size: 1rem; line-height: 1.7; color: var(--ink-2);
  background: var(--ivory); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  counter-reset: sec;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--orange-600); }
p { margin: 0 0 1.1em; }
ul { padding-left: 1.2em; }
::selection { background: var(--orange); color: #fff; }

h1, h2, h3 {
  font-family: var(--serif); font-weight: 400; color: var(--ink); line-height: 1.08;
  margin: 0 0 .5em; letter-spacing: -0.02em; font-optical-sizing: auto;
}
h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); font-weight: 350; }
h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); font-weight: 350; }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.55rem); font-weight: 450; line-height: 1.2; letter-spacing: -0.01em; }
h4 { font-family: var(--sans); font-weight: 700; color: var(--ink); margin: 0 0 .4em; font-size: .95rem; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--orange); font-weight: 300; }
h1 span { color: var(--orange); font-style: italic; font-weight: 300; }
strong { color: var(--ink); font-weight: 700; }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 6px; }
.skip-link:focus { left: 16px; color: #fff; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 4vw, 40px); }
.section { padding-block: clamp(80px, 11vw, 150px); }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section--peach { background: var(--peach-2); }
.section--white { background: var(--sand); }
.section--dark { background: var(--espresso); color: var(--on-dark); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: var(--on-dark); }
.center { text-align: center; }

/* Eyebrow numerado */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; font-family: var(--sans);
  font-size: .72rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
  color: var(--orange-600); margin-bottom: 22px;
}
main .section .eyebrow::before, main .treatment .eyebrow::before {
  counter-increment: sec; content: counter(sec, decimal-leading-zero);
  font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; font-size: 1rem; color: var(--ink);
}
main .section .eyebrow::after, main .treatment .eyebrow::after { content: ""; width: 36px; height: 1px; background: currentColor; order: -1; display: none; }
.section--dark .eyebrow::before { color: #fff !important; }
.hero .eyebrow::before, .page-hero .eyebrow::before, .manifesto .eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; }

.section-head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 80px); }
.section-head.center { margin-inline: auto; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { font-size: 1.1rem; color: var(--muted); max-width: 620px; }
.section-head.center p { margin-inline: auto; }
.section--dark .section-head p { color: var(--on-dark); }
.lead { font-size: 1.15rem; color: var(--muted); line-height: 1.65; }
.muted { color: var(--muted); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font-family: var(--sans); font-weight: 700; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase;
  padding: 18px 30px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; line-height: 1.2;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: var(--ink); color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--orange); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: rgba(29, 23, 20, .22); }
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.section--dark .btn--ghost, .cta .btn--ghost, .footer .btn--ghost, .manifesto .btn--ghost { color: #fff; border-color: rgba(255,255,255,.3); }
.section--dark .btn--ghost:hover, .cta .btn--ghost:hover, .footer .btn--ghost:hover, .manifesto .btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--sm { padding: 13px 22px; font-size: .7rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--sans); font-weight: 700;
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); font-style: normal;
}
.link-arrow::after { content: ""; width: 28px; height: 1px; background: currentColor; transition: width .35s var(--ease); }
.link-arrow:hover { color: var(--orange-600); }
.link-arrow:hover::after, .card--link:hover .link-arrow::after { width: 44px; }

/* ---------- Barra superior ---------- */
.topbar { background: var(--espresso); color: var(--on-dark); font-size: .76rem; letter-spacing: .04em; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; padding-block: 8px; }
.topbar strong { color: #fff; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; font-size: .64rem; white-space: nowrap; }
.topbar strong::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); margin-right: 10px; vertical-align: middle; }
.topbar a { color: #fff; }
.topbar a:hover { color: var(--orange); }
.topbar__info { display: flex; gap: 26px; flex-wrap: wrap; }
.topbar__info span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.topbar svg { width: 14px; height: 14px; color: var(--orange); }

/* ---------- Cabeçalho ---------- */
.header {
  position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 244, .9);
  backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s;
}
.header.is-scrolled { border-color: var(--stone); background: rgba(251, 248, 244, .97); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 14px; color: var(--ink); }
.brand img { width: 50px; height: 50px; }
.brand span { font-family: var(--serif); font-size: 1.3rem; font-weight: 400; line-height: 1; color: var(--ink); white-space: nowrap; letter-spacing: -0.01em; }
.brand small { display: block; font-family: var(--sans); font-weight: 600; font-size: .58rem; letter-spacing: .34em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; align-items: center; }
.nav a:not(.btn) {
  position: relative; display: block; padding: 10px 13px; font-family: var(--sans); font-weight: 600;
  font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 1px; background: var(--orange);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav a:not(.btn):hover { color: var(--ink); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav .btn { margin-left: 12px; }

@media (max-width: 1240px) and (min-width: 1081px) {
  .nav a:not(.btn) { padding: 10px 9px; letter-spacing: .12em; }
  .nav a:not(.btn)::after { left: 9px; right: 9px; }
}

.nav-toggle { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--stone); background: transparent; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; transition: transform .3s, background .3s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; background: var(--ivory); border-bottom: 1px solid var(--stone);
    padding: 8px clamp(20px, 4vw, 40px) 32px; transform: translateY(-10px); opacity: 0; visibility: hidden;
    transition: all .35s var(--ease); max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a:not(.btn) { padding: 16px 0; font-family: var(--serif); text-transform: none; letter-spacing: -0.01em; font-size: 1.6rem; font-weight: 350; border-bottom: 1px solid var(--stone); }
  .nav a:not(.btn)::after { display: none; }
  .nav a[aria-current="page"] { color: var(--orange-600); font-style: italic; }
  .nav .btn { margin: 24px 0 0; width: 100%; }
  .topbar__info .hide-sm { display: none; }
}

/* ---------- Hero (início) ---------- */
.hero { position: relative; background: var(--ivory); overflow: hidden; }
.hero::before { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 36%; background: var(--peach-2); }
.hero .container { position: relative; }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 96px); align-items: center; padding-block: clamp(56px, 8vw, 110px) clamp(48px, 6vw, 80px); }
.hero__lead { font-size: 1.15rem; color: var(--muted); max-width: 520px; margin-top: 8px; }
.hero .btn-row { margin-top: 36px; }
.hero__media { position: relative; justify-self: end; width: 100%; max-width: 470px; }
.hero__media .main { border-radius: var(--arch); overflow: hidden; aspect-ratio: 4 / 5.2; box-shadow: var(--shadow); max-width: 100%; }
.hero__media .main img { width: 100%; height: 100%; object-fit: cover; }
.hero__caption {
  position: absolute; left: -56px; bottom: 48px; background: var(--ivory); padding: 18px 22px; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); max-width: 260px; display: flex; gap: 14px; align-items: flex-start;
}
.hero__caption svg { width: 22px; height: 22px; color: var(--orange); flex: none; margin-top: 3px; }
.hero__caption p { margin: 0; font-size: .84rem; line-height: 1.45; color: var(--muted); }
.hero__caption b { display: block; font-family: var(--serif); font-weight: 450; font-size: 1.02rem; color: var(--ink); margin-bottom: 2px; }
.seal { position: absolute; right: -40px; top: -36px; width: 132px; height: 132px; border-radius: 50%; background: var(--ivory); box-shadow: var(--shadow-sm); }
.seal svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 28s linear infinite; }
.seal text { font-family: var(--sans); font-size: 9.5px; font-weight: 700; fill: var(--ink); text-transform: uppercase; }
.seal img { position: absolute; inset: 34px; width: calc(100% - 68px); height: calc(100% - 68px); }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--stone); padding-block: 36px 56px; gap: 24px; }
.hero__stats div { padding-right: 20px; border-right: 1px solid var(--stone); font-size: .84rem; color: var(--muted); line-height: 1.45; }
.hero__stats div:last-child { border-right: 0; }
.hero__stats b { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(2.1rem, 3.4vw, 2.9rem); color: var(--ink); line-height: 1; margin-bottom: 10px; letter-spacing: -0.03em; }
.hero__stats b i { color: var(--orange); font-style: italic; }

@media (max-width: 960px) {
  .hero::before { width: 100%; top: auto; bottom: 0; height: 46%; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { justify-self: center; max-width: 400px; }
  .hero__caption { left: -8px; bottom: 28px; }
  .seal { right: -6px; top: -30px; width: 108px; height: 108px; }
  .seal img { inset: 28px; width: calc(100% - 56px); height: calc(100% - 56px); }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .hero__stats div:nth-child(2) { border-right: 0; }
}

/* ---------- Page hero (internas) ---------- */
.page-hero { background: var(--peach-2); position: relative; overflow: hidden; border-bottom: 1px solid var(--stone); }
.page-hero .container { position: relative; padding-block: clamp(56px, 8vw, 110px); display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 4.1rem); }
.page-hero p { color: var(--muted); font-size: 1.12rem; max-width: 580px; }
.page-hero__media { border-radius: var(--arch); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/5; max-width: 420px; justify-self: end; width: 100%; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--simple .container { grid-template-columns: 1fr; }
.page-hero--simple h1 { max-width: 900px; }
.breadcrumb { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; margin-bottom: 30px; color: var(--muted); }
.breadcrumb a { color: var(--ink); }
.breadcrumb a:hover { color: var(--orange-600); }
@media (max-width: 900px) {
  .page-hero .container { grid-template-columns: 1fr; }
  .page-hero__media { justify-self: start; max-width: 340px; }
}

/* ---------- Manifesto ---------- */
.manifesto { background: var(--espresso); color: var(--on-dark); }
.manifesto .container { padding-block: clamp(80px, 10vw, 140px); display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.manifesto .eyebrow { color: var(--orange); }
.manifesto blockquote { margin: 0 0 32px; font-family: var(--serif); font-weight: 300; font-size: clamp(1.9rem, 3.6vw, 3.1rem); line-height: 1.16; color: #fff; letter-spacing: -0.02em; }
.manifesto blockquote em { color: var(--orange); }
.manifesto p { color: var(--on-dark); max-width: 560px; }
.manifesto .media { border-radius: var(--arch); overflow: hidden; aspect-ratio: 4/5; max-width: 100%; }
.manifesto .media img { width: 100%; height: 100%; object-fit: cover; }
.manifesto .sign { margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; }
.manifesto .sign b { color: #fff; font-family: var(--serif); font-weight: 400; font-size: 1.25rem; display: block; text-transform: none; letter-spacing: 0; margin-bottom: 4px; }
.manifesto .btn-row { margin-top: 36px; }
@media (max-width: 900px) { .manifesto .container { grid-template-columns: 1fr; } .manifesto .media { max-width: 340px; } }

/* ---------- Grids e cards ---------- */
.grid { display: grid; gap: clamp(24px, 3vw, 40px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: transparent; border-top: 1px solid var(--stone); padding: 32px 0 8px; position: relative; }
.card p { color: var(--muted); font-size: .98rem; }
.card p:last-child { margin-bottom: 0; }
.card__icon { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--stone); color: var(--orange); display: grid; place-items: center; margin-bottom: 24px; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s; }
.card__icon svg { width: 22px; height: 22px; }
.card:hover .card__icon { background: var(--orange); border-color: var(--orange); color: #fff; }
.section--dark .card { border-color: rgba(255,255,255,.14); }
.section--dark .card p { color: var(--on-dark); }
.section--dark .card__icon { border-color: rgba(255,255,255,.2); }
.card--link { display: flex; flex-direction: column; color: inherit; }
.card--link:hover { color: inherit; }
.card--link .link-arrow { margin-top: auto; padding-top: 14px; }

.service-card { border: 0; padding: 0; display: flex; flex-direction: column; }
.service-card__img { aspect-ratio: 4 / 3.2; overflow: hidden; border-radius: var(--radius-lg); background: var(--sand); max-width: 100%; }
.service-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.service-card:hover .service-card__img img { transform: scale(1.06); }
.service-card__body { padding: 26px 4px 0; display: flex; flex-direction: column; flex: 1; }
.service-card .tag { font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .24em; color: var(--orange-600); margin-bottom: 12px; }
.service-card h3 { margin-bottom: 10px; transition: color .3s; }
.service-card:hover h3 { color: var(--orange-600); }

.treat-card { text-align: center; display: flex; flex-direction: column; align-items: center; border: 1px solid var(--stone); border-radius: var(--radius-lg); padding: 36px 24px 30px; background: var(--ivory); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.treat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.treat-card img { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; margin-bottom: 22px; background: #fff; box-shadow: 0 0 0 3px var(--ivory), 0 0 0 4px var(--orange); }
.treat-card h3 { font-size: 1.28rem; }
.treat-card p { color: var(--muted); font-size: .94rem; }
.treat-card .btn { margin-top: auto; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius-lg); width: 100%; }
.split__media .img-tall { aspect-ratio: 4/5; object-fit: cover; border-radius: var(--arch); max-width: 500px; }
.split__media .img-square { aspect-ratio: 1; object-fit: cover; }
.split__media .img-wide { aspect-ratio: 4/3; object-fit: cover; }
.split__media .float-card { position: absolute; right: 0; bottom: 40px; background: var(--ivory); border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow-sm); max-width: 230px; }
.split__media .float-card b { font-family: var(--serif); font-weight: 300; font-size: 2.6rem; color: var(--ink); display: block; line-height: 1; margin-bottom: 8px; letter-spacing: -0.03em; }
.split__media .float-card b i { color: var(--orange); font-style: italic; }
.split__media .float-card span { font-size: .84rem; color: var(--muted); line-height: 1.4; display: block; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__media .img-tall { max-width: 400px; }
  .split__media .float-card { right: 0; bottom: 24px; }
}

.checklist { list-style: none; padding: 0; margin: 26px 0 34px; }
.checklist li { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--stone); }
.checklist li:first-child { border-top: 1px solid var(--stone); }
.checklist li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 4px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff5a00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.section--dark .checklist li { border-color: rgba(255,255,255,.14); }

/* ---------- Números ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--stone); border-bottom: 1px solid var(--stone); }
.stat { padding: 40px 24px; text-align: center; border-right: 1px solid var(--stone); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 4vw, 3.4rem); color: var(--ink); line-height: 1; margin-bottom: 10px; letter-spacing: -0.03em; }
.stat span { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--stone); } }

/* ---------- Galerias ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 16px; }
.gallery a { position: relative; border-radius: var(--radius); overflow: hidden; display: block; background: var(--sand); }
.gallery a img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery a:hover img { transform: scale(1.06); }
.gallery .g-wide { grid-column: span 2; }
.gallery .g-tall { grid-row: span 2; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; } }
@media (max-width: 480px) { .gallery { grid-auto-rows: 140px; gap: 10px; } }

.smiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.smiles figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: #000; }
.smiles img { width: 100%; aspect-ratio: 406 / 220; object-fit: cover; transition: transform 1.2s var(--ease); }
.smiles figure:hover img { transform: scale(1.05); }
@media (max-width: 700px) { .smiles { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

.results { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.results a { border-radius: var(--radius); overflow: hidden; display: block; aspect-ratio: 9/14; background: #111; max-width: 100%; }
.results img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.results a:hover img { transform: scale(1.05); }
@media (max-width: 900px) { .results { grid-template-columns: repeat(2, 1fr); } }

.before-after { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.before-after figure { margin: 0; }
.before-after a { display: block; border-radius: var(--radius); overflow: hidden; }
.before-after img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 1.2s var(--ease); }
.before-after a:hover img { transform: scale(1.05); }
.before-after figcaption { padding-top: 14px; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
@media (max-width: 800px) { .before-after { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .before-after { grid-template-columns: 1fr; } }

.cases { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cases figure { margin: 0; background: #fff; border-radius: var(--radius); padding: 18px 14px 20px; text-align: center; }
.cases img { width: 100%; aspect-ratio: 329 / 207; object-fit: contain; mix-blend-mode: multiply; }
.cases figcaption { font-family: var(--serif); font-size: 1.05rem; color: var(--ink); margin-top: 10px; }
@media (max-width: 1000px) { .cases { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .cases { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Passos ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); counter-reset: step; }
.step img { width: 100%; aspect-ratio: 4/4.4; object-fit: cover; border-radius: var(--radius-lg); }
.step__body { padding: 26px 4px 0; }
.step__body h3::before { counter-increment: step; content: counter(step, decimal-leading-zero) "  "; color: var(--orange); font-style: italic; font-weight: 300; }
.step p { color: var(--muted); font-size: .98rem; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } .step img { aspect-ratio: 16/10; } }

/* ---------- Equipe ---------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); }
.member { display: flex; flex-direction: column; }
.member__photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); border-radius: var(--arch); max-width: 100%; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease); }
.member:hover .member__photo img { transform: scale(1.04); }
.member__body { padding: 26px 4px 0; }
.member__body h3 { margin-bottom: 6px; }
.member__cro { font-size: .66rem; font-weight: 700; color: var(--orange-600); letter-spacing: .2em; text-transform: uppercase; margin-bottom: 16px; display: block; }
.member__body ul { margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: .94rem; }
.member__body li { padding: 8px 0; border-bottom: 1px solid var(--stone); }
.team--staff { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin-inline: auto; margin-top: 56px; }
.team--staff .member { flex-direction: row; align-items: center; gap: 20px; }
.team--staff .member__photo { width: 104px; flex: none; aspect-ratio: 1; border-radius: 50%; }
.team--staff .member__body { padding: 0; }
@media (max-width: 900px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .team, .team--staff { grid-template-columns: 1fr; } }

/* ---------- Depoimentos ---------- */
.reviews-wrap { position: relative; }
.reviews { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 80px) / 3); gap: 40px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 24px; scrollbar-width: none; }
.reviews::-webkit-scrollbar { display: none; }
.review { scroll-snap-align: start; border-top: 1px solid var(--stone); padding-top: 32px; display: flex; flex-direction: column; }
.section--dark .review { border-color: rgba(255,255,255,.16); }
.review__stars { color: var(--orange); letter-spacing: 4px; font-size: .82rem; margin-bottom: 20px; }
.review blockquote { margin: 0 0 28px; font-family: var(--serif); font-weight: 350; font-size: 1.2rem; line-height: 1.5; color: var(--ink); flex: 1; }
.section--dark .review blockquote { color: #fff; }
.review__author { display: flex; align-items: center; gap: 14px; }
.review__avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); font-family: var(--serif); font-style: italic; font-size: 1.1rem; background: var(--peach); flex: none; }
.review__author b { font-size: .88rem; display: block; color: var(--ink); line-height: 1.2; font-weight: 700; }
.review__author span { font-size: .68rem; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; }
.reviews-nav { display: flex; gap: 12px; margin-top: 28px; }
.reviews-nav button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--stone); background: transparent; color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: all .3s var(--ease); }
.reviews-nav button:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.reviews-nav svg { width: 18px; height: 18px; }
@media (max-width: 1000px) { .reviews { grid-auto-columns: calc((100% - 40px) / 2); } }
@media (max-width: 640px) { .reviews { grid-auto-columns: 86%; gap: 24px; } }

.google-badge { display: inline-flex; align-items: center; gap: 12px; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.google-badge .g { width: 22px; height: 22px; }
.google-badge .review__stars { margin: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 900px; margin-inline: auto; border-top: 1px solid var(--stone); }
.faq details { border-bottom: 1px solid var(--stone); }
.faq summary { list-style: none; cursor: pointer; padding: 28px 64px 28px 0; position: relative; font-family: var(--serif); font-weight: 400; color: var(--ink); font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.3; transition: color .3s; }
.faq summary:hover { color: var(--orange-600); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 18px; height: 1.5px; background: var(--orange); transition: transform .35s var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq .faq__body { padding: 0 64px 30px 0; color: var(--muted); max-width: 760px; }
.faq .faq__body p:last-child { margin-bottom: 0; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; background: var(--espresso); color: var(--on-dark); border-radius: var(--radius-lg); padding: clamp(44px, 7vw, 88px); display: grid; grid-template-columns: 1.4fr auto; gap: 40px; align-items: end; }
.cta::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 1px solid rgba(255,90,0,.35); }
.cta::before { content: ""; position: absolute; right: -60px; top: -60px; width: 300px; height: 300px; border-radius: 50%; border: 1px solid rgba(255,90,0,.2); }
.cta h2 { color: #fff; margin-bottom: 14px; max-width: 640px; }
.cta p { color: var(--on-dark); margin: 0; font-size: 1.08rem; max-width: 560px; }
.cta .btn-row { position: relative; z-index: 1; }
@media (max-width: 800px) { .cta { grid-template-columns: 1fr; align-items: start; } }

/* ---------- Aviso ---------- */
.notice { display: flex; gap: 16px; align-items: flex-start; background: var(--peach-2); border-left: 2px solid var(--orange); border-radius: 0 var(--radius) var(--radius) 0; padding: 20px 24px; color: var(--ink-2); font-size: .95rem; }
.notice svg { width: 22px; height: 22px; color: var(--orange); flex: none; margin-top: 2px; }
.notice p { margin: 0; }

/* ---------- Vídeo ---------- */
.video { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/9; background: #000; max-width: 100%; }
.video iframe, .video button { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video button { cursor: pointer; padding: 0; background: #000; }
.video button img { width: 100%; height: 100%; object-fit: cover; opacity: .75; transition: opacity .4s, transform 1.2s var(--ease); }
.video button:hover img { opacity: .95; transform: scale(1.03); }
.video .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 88px; height: 88px; border-radius: 50%; background: rgba(251,248,244,.95); display: grid; place-items: center; transition: transform .4s var(--ease); }
.video button:hover .play { transform: translate(-50%, -50%) scale(1.08); }
.video .play svg { width: 26px; height: 26px; color: var(--orange); margin-left: 4px; }

/* ---------- Tratamentos ---------- */
.treat-nav { position: sticky; top: var(--header-h); z-index: 20; background: rgba(251,248,244,.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--stone); }
.treat-nav ul { list-style: none; margin: 0; padding: 14px 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.treat-nav ul::-webkit-scrollbar { display: none; }
.treat-nav a { display: block; white-space: nowrap; padding: 9px 16px; border-radius: 999px; font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); border: 1px solid transparent; }
.treat-nav a:hover { color: var(--ink); border-color: var(--stone); }
.treat-nav a.is-active { background: var(--ink); color: #fff; }

.treatment { padding-block: clamp(72px, 9vw, 120px); border-bottom: 1px solid var(--stone); }
.treatment:nth-of-type(even) { background: var(--sand); }
.treatment .split__media img { aspect-ratio: 5/4; object-fit: cover; }
.sub-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 28px; margin-top: 28px; }
.sub-list div { border-top: 1px solid var(--stone); padding: 18px 0; }
.sub-list h4 { font-family: var(--serif); font-weight: 450; font-size: 1.12rem; margin-bottom: 6px; }
.sub-list p { margin: 0; font-size: .93rem; color: var(--muted); }
@media (max-width: 640px) { .sub-list { grid-template-columns: 1fr; } }

/* ---------- MVV / Mídia ---------- */
.mvv .card { border-top-color: var(--ink); }
.media-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 36px; border-top: 1px solid var(--stone); }
.media-links a { display: flex; flex-direction: column; gap: 14px; padding: 32px 0; border-bottom: 1px solid var(--stone); color: var(--ink-2); }
.media-links a:hover b { color: var(--orange-600); }
.media-links b { font-family: var(--serif); font-weight: 400; color: var(--ink); font-size: 1.35rem; line-height: 1.3; transition: color .3s; }
.media-links span { font-size: .66rem; text-transform: uppercase; letter-spacing: .22em; color: var(--orange-600); font-weight: 700; }
@media (max-width: 800px) { .media-links { grid-template-columns: 1fr; } }

/* ---------- Contato ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--stone); }
.contact-list li { display: flex; gap: 20px; align-items: flex-start; padding: 24px 0; border-bottom: 1px solid var(--stone); }
.contact-list .ico { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--stone); color: var(--orange); display: grid; place-items: center; flex: none; }
.contact-list .ico svg { width: 20px; height: 20px; }
.contact-list b { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 6px; font-weight: 700; }
.contact-list p { margin: 0; color: var(--ink); font-size: 1.02rem; }
.contact-list a { color: var(--ink); }
.contact-list a:hover { color: var(--orange-600); }

.form { background: var(--white); border-radius: var(--radius-lg); padding: clamp(28px, 4.5vw, 52px); box-shadow: var(--shadow-sm); }
.form h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.field label { font-size: .66rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; padding: 12px 0; border: 0; border-bottom: 1px solid var(--stone); border-radius: 0;
  background: transparent; color: var(--ink); transition: border-color .3s; width: 100%; -webkit-appearance: none; appearance: none;
}
.field select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1714' stroke-width='1.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right center / 18px no-repeat; padding-right: 26px; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); }
.form small { display: block; color: var(--muted); font-size: .8rem; margin-top: 16px; }
.form .btn { width: 100%; margin-top: 8px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; gap: 0; } }

.map { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/7; min-height: 340px; max-width: 100%; filter: grayscale(.35) sepia(.08); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.location { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: stretch; }
.location .map { aspect-ratio: auto; min-height: 400px; }
@media (max-width: 900px) { .location { grid-template-columns: 1fr; } }

/* ---------- Rodapé ---------- */
.footer { background: var(--espresso); color: var(--on-dark); font-size: .92rem; }
.footer .container { padding-block: clamp(64px, 9vw, 110px) 32px; }
.footer__tagline { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; padding-bottom: clamp(48px, 6vw, 80px); margin-bottom: clamp(48px, 6vw, 72px); border-bottom: 1px solid rgba(255,255,255,.12); }
.footer__tagline p { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 5.4vw, 4.4rem); line-height: 1.02; color: #fff; letter-spacing: -0.03em; }
.footer__tagline em { color: var(--orange); }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 40px; }
.footer h4 { color: #fff; font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; margin-bottom: 22px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer a { color: var(--on-dark); }
.footer a:hover { color: #fff; }
.footer__brand img { width: 84px; margin-bottom: 20px; }
.footer__brand p { max-width: 300px; }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact svg { width: 16px; height: 16px; color: var(--orange); flex: none; margin-top: 4px; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); display: grid; place-items: center; color: #fff; transition: all .3s var(--ease); }
.socials a:hover { background: var(--orange); border-color: var(--orange); }
.socials svg { width: 17px; height: 17px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 64px; padding-top: 28px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .74rem; color: #a0928a; }
.footer__bottom p { margin: 0; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp flutuante ---------- */
.whats-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; display: inline-flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 24px 0 20px; border-radius: 999px; background: var(--ink); color: #fff;
  box-shadow: 0 18px 40px -16px rgba(29,23,20,.6); font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  transition: background .35s var(--ease);
}
.whats-float:hover { background: var(--orange); color: #fff; }
.whats-float svg { width: 20px; height: 20px; color: var(--orange); transition: color .3s; }
.whats-float:hover svg { color: #fff; }
@media (max-width: 640px) { .whats-float { width: 54px; height: 54px; padding: 0; justify-content: center; right: 16px; bottom: 16px; } .whats-float span { display: none; } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(20, 15, 12, .94); display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity .35s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(1100px, 100%); max-height: 86vh; border-radius: 10px; width: auto; }
.lightbox button { position: absolute; background: transparent; border: 1px solid rgba(255,255,255,.3); color: #fff; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; transition: all .3s; }
.lightbox button:hover { background: var(--orange); border-color: var(--orange); }
.lightbox button svg { width: 20px; height: 20px; }
.lightbox .lb-close { top: 18px; right: 18px; }
.lightbox .lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 18px; transform: none; } }

/* ---------- Animações ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .24s; }
.reveal-delay-3 { transition-delay: .36s; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .seal svg.ring { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ---------- Celular ---------- */
@media (max-width: 520px) {
  .topbar .container { justify-content: center; }
  .topbar__info { display: none; }
  .topbar strong { font-size: .6rem; letter-spacing: .18em; }
  .brand img { width: 42px; height: 42px; }
  .brand span { font-size: 1.15rem; }
  .btn { white-space: normal; text-align: center; }
  .cta .btn, .hero .btn { width: 100%; }
  .hero__stats div { padding-right: 12px; }
}

.mt-0 { margin-top: 0; } .mt-2 { margin-top: 16px; } .mt-4 { margin-top: 32px; } .mt-6 { margin-top: 56px; }
.mb-0 { margin-bottom: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ---------- Equipe sem fotos ---------- */
.team--duo { grid-template-columns: repeat(2, 1fr); max-width: 1000px; margin-inline: auto; }
.team--duo .member { background: var(--ivory); border: 1px solid var(--stone); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); }
.team--duo .member__body { padding: 0; }
.team--duo h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.member__role { display: inline-block; font-size: .64rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); background: var(--peach); padding: 7px 14px; border-radius: 999px; margin-bottom: 20px; }
.areas { margin-top: clamp(44px, 6vw, 72px); text-align: center; }
.areas__label { display: block; font-size: .66rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.areas ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.areas li { font-family: var(--serif); font-size: 1.1rem; color: var(--ink); border: 1px solid var(--stone); border-radius: 999px; padding: 8px 20px; }
@media (max-width: 700px) { .team--duo { grid-template-columns: 1fr; } }

/* ---------- Assinatura com rostos ---------- */
.duo { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; position: relative; z-index: 1; }
.duo__faces { display: flex; flex: none; }
.duo__faces img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--espresso); }
.duo__faces img + img { margin-left: -14px; }
.duo__text { font-size: .64rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--orange); line-height: 1.5; }
.duo__text b { display: block; font-family: var(--serif); font-size: 1.08rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: #fff; margin-bottom: 2px; }
.form .duo__faces img { border-color: #fff; }
.form .duo__text b { color: var(--ink); }
