/* =========================================================
   S&A Odontologia — estilos
   Paleta extraída da identidade do cliente (Instagram @dentmedclinica)
   ========================================================= */

:root {
  /* cor */
  --navy-950: #04122a;
  --navy-900: #061a36;
  --navy-800: #082040;   /* cor principal da marca */
  --navy-700: #184870;
  --steel-500: #507098;  /* azul-aço dos destaques */
  --steel-300: #9fb4cc;
  --ice-100: #e8eef5;
  --paper: #f6f7f4;
  --white: #ffffff;
  --ink: #0b1a2e;
  --ink-soft: #46566b;
  --line: rgba(8, 32, 64, 0.12);
  --line-light: rgba(255, 255, 255, 0.16);

  /* tipografia */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.3rem);
  --text-h3: clamp(1.35rem, 1.2rem + 0.6vw, 1.75rem);
  --text-h2: clamp(2.2rem, 1.4rem + 3.2vw, 4.4rem);
  --text-hero: clamp(2.6rem, 1.2rem + 4.6vw, 5.6rem);

  /* espaço */
  --gutter: clamp(1.25rem, 0.8rem + 2vw, 2.5rem);
  --space-section: clamp(5rem, 3.5rem + 6vw, 10rem);
  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 28px;

  /* movimento */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 180ms;
  --dur: 320ms;

  --nav-h: 76px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--navy-800); color: var(--white); }

:focus-visible {
  outline: 3px solid var(--steel-500);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--space-section); }

.skip {
  position: fixed; left: 1rem; top: -100px; z-index: 400;
  background: var(--white); color: var(--navy-800);
  padding: .75rem 1rem; border-radius: var(--radius-s); font-weight: 600;
}
.skip:focus { top: 1rem; }

/* ---------- tipografia ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--steel-500);
  margin-bottom: 1.5rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--steel-300); }

.h2 {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144;
  color: var(--navy-800);
  max-width: 16ch;
}
.h2 em, .hero__title em, .contact__title em { font-weight: 300; color: var(--steel-500); }
.h3 { font-family: var(--font-display); font-size: var(--text-h3); line-height: 1.2; }

/* ---------- botões e links ---------- */
.btn {
  --bg: var(--navy-800); --fg: var(--white); --bg-hover: var(--navy-700);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .8rem 1.5rem;
  border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: var(--fg);
  font: 600 .95rem/1 var(--font-body);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease-out);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--bg-hover);
  transform: translateY(101%);
  transition: transform 420ms var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--dur) var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn--light { --bg: var(--white); --fg: var(--navy-800); --bg-hover: var(--ice-100); }
.btn--lg { min-height: 56px; padding: 1rem 1.9rem; font-size: 1rem; }
.btn .ico-wa { fill: currentColor; stroke: none; width: 20px; height: 20px; }
.btn:hover .ico-wa { transform: none; }

.link-arrow {
  position: relative; display: inline-flex; align-items: center; gap: .5rem;
  min-height: 44px; font-weight: 600; text-decoration: none; color: var(--navy-800);
}
.link-arrow::after { content: "→"; transition: transform var(--dur) var(--ease-out); }
.link-arrow:hover::after { transform: translateX(4px); }
.link-arrow::before {
  content: ""; position: absolute; left: 0; right: 1.4rem; bottom: 8px; height: 1px;
  background: currentColor; transform-origin: right; transform: scaleX(0);
  transition: transform 420ms var(--ease-out);
}
.link-arrow:hover::before { transform-origin: left; transform: scaleX(1); }
.link-arrow--light { color: var(--white); }

/* ---------- loader ---------- */
.loader { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-content: center; gap: 1.5rem; justify-items: center;
  background: var(--navy-900); color: var(--white);
}
.loader__mark { font-family: var(--font-display); font-size: clamp(3rem, 8vw, 5rem); line-height: 1.1; display: flex; gap: .05em; overflow: hidden; }
.loader__mark em { color: var(--steel-300); font-weight: 300; }
.loader__mark > * { display: inline-block; }
.loader__bar { width: 120px; height: 1px; background: var(--line-light); overflow: hidden; }
.loader__bar i { display: block; height: 100%; background: var(--white); transform: scaleX(0); transform-origin: left; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--nav-h); color: var(--white);
  transition: background var(--dur) var(--ease-out), color var(--dur) var(--ease-out), transform 500ms var(--ease-out), box-shadow var(--dur);
}
.nav.is-solid {
  background: rgba(246, 247, 244, .86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  color: var(--navy-800);
  box-shadow: 0 1px 0 var(--line);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 2rem; }

.brand { display: inline-flex; align-items: baseline; gap: .55rem; text-decoration: none; }
.brand__mark { font-family: var(--font-display); font-size: 1.7rem; line-height: 1; letter-spacing: -.01em; }
.brand__mark em { font-weight: 300; color: var(--steel-300); margin-inline: .02em; }
.nav.is-solid .brand__mark em { color: var(--steel-500); }
.brand__name { font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; opacity: .8; }

.nav__links { display: flex; gap: 2rem; margin-left: auto; }
.nav__links a { position: relative; text-decoration: none; font-size: .92rem; font-weight: 500; padding-block: .6rem; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .3rem; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform 380ms var(--ease-out);
}
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav.is-solid .nav__cta { --bg: var(--navy-800); --fg: var(--white); --bg-hover: var(--navy-700); }

.nav__toggle {
  display: none; margin-left: auto; position: relative;
  width: 48px; height: 48px; border: 0; background: transparent; color: inherit; cursor: pointer;
}
.nav__toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform var(--dur) var(--ease-out); }
.nav__toggle span:first-child { top: 19px; }
.nav__toggle span:last-child { top: 28px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--navy-900); color: var(--white);
  padding: calc(var(--nav-h) + 2rem) var(--gutter) 2.5rem;
  display: flex; flex-direction: column; justify-content: space-between;
}
.menu[hidden] { display: none; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { font-family: var(--font-display); font-size: clamp(2rem, 9vw, 3rem); text-decoration: none; padding-block: .5rem; border-bottom: 1px solid var(--line-light); }
body.menu-open .nav { color: var(--white); background: transparent; box-shadow: none; backdrop-filter: none; transform: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100svh;
  padding-top: calc(var(--nav-h) + clamp(2rem, 5vw, 4rem));
  padding-bottom: clamp(5rem, 8vw, 7rem);
  background:
    radial-gradient(120% 80% at 85% 10%, rgba(80, 112, 152, .35), transparent 60%),
    linear-gradient(180deg, var(--navy-800) 0%, var(--navy-900) 100%);
  color: var(--white);
}
.hero__grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 6rem); align-items: center; }
.hero__title {
  font-family: var(--font-display); font-size: var(--text-hero);
  line-height: .98; letter-spacing: -0.03em; font-variation-settings: "opsz" 144;
  margin-bottom: 2rem;
}
.hero__title em { color: var(--steel-300); }
.hero__lead { max-width: 44ch; font-size: var(--text-lg); color: rgba(255, 255, 255, .78); margin-bottom: 2.5rem; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-bottom: 3rem; }

.rating { display: flex; align-items: center; gap: .9rem; font-size: .92rem; color: rgba(255, 255, 255, .8); }
.rating strong { color: var(--white); font-weight: 700; }
.rating__stars { display: flex; gap: 2px; }
.rating__stars svg { width: 16px; height: 16px; fill: #f4c95d; }

.hero__media { position: relative; }
.arch { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: 999px 999px var(--radius-l) var(--radius-l); background: var(--navy-700); }
.arch img { width: 100%; height: 115%; object-fit: cover; object-position: center 30%; }
.hero__badge {
  position: absolute; left: -12%; bottom: 14%;
  display: grid; gap: .15rem;
  padding: 1rem 1.25rem; border-radius: var(--radius-m);
  background: var(--white); color: var(--navy-800);
  box-shadow: 0 24px 60px -20px rgba(4, 18, 42, .55);
}
.hero__badge-k { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--steel-500); font-weight: 600; }
.hero__badge-v { font-family: var(--font-display); font-size: 1.2rem; }
.hero__badge-s { font-size: .78rem; color: var(--ink-soft); }
.hero__thumb {
  position: absolute; right: -6%; top: -4%; width: 38%;
  border-radius: var(--radius-m); overflow: hidden;
  border: 4px solid var(--navy-800);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .6);
}
.hero__thumb img { aspect-ratio: 4 / 3; object-fit: cover; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 1.25rem; transform: translateX(-50%);
  display: grid; justify-items: center; gap: .5rem;
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  color: rgba(255, 255, 255, .6);
}
.scroll-cue i { width: 1px; height: 42px; background: linear-gradient(var(--white), transparent); animation: cue 2.2s var(--ease-in-out) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* split text */
.split-line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.split-inner { display: inline-block; will-change: transform; }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; background: var(--white); border-block: 1px solid var(--line); padding-block: 1.4rem; }
.marquee__track { display: flex; align-items: center; gap: 2.5rem; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: clamp(1.6rem, 1rem + 2.4vw, 2.8rem); color: var(--navy-800); white-space: nowrap; }
.marquee b { width: 10px; height: 10px; border-radius: 50%; background: var(--steel-500); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sobre ---------- */
.about__manifesto {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 1rem + 2.6vw, 3.4rem);
  line-height: 1.22; letter-spacing: -0.015em;
  color: var(--navy-800); max-width: 28ch;
}
.about__manifesto .w { opacity: .16; }
.no-motion .about__manifesto .w { opacity: 1; }

.stats { margin: clamp(4rem, 8vw, 7rem) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 2rem 1.5rem 0 0; border-right: 1px solid var(--line); }
.stat:not(:first-child) { padding-left: 1.5rem; }
.stat:last-child { border-right: 0; }
.stat dt { font-size: .85rem; color: var(--ink-soft); margin-bottom: .75rem; }
.stat dd { margin: 0; font-family: var(--font-display); font-size: clamp(2.6rem, 1.6rem + 3vw, 4.4rem); line-height: 1; color: var(--navy-800); font-variant-numeric: tabular-nums; }

/* ---------- tratamentos ---------- */
.treat { background: var(--ice-100); overflow: hidden; }
.treat__pin { padding-block: var(--space-section) clamp(3rem, 6vw, 5rem); }
.treat.is-pinned .treat__pin { min-height: 100vh; padding-block: calc(var(--nav-h) + 2rem) 3rem; display: flex; flex-direction: column; justify-content: center; }
.treat__head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.treat__hint { font-size: .9rem; color: var(--ink-soft); white-space: nowrap; }
.hint-touch { display: none; }
.treat__rail { padding-inline: var(--gutter); }
.treat__track {
  list-style: none; display: flex; gap: clamp(1rem, 2vw, 1.75rem);
  width: max-content; padding-left: max(0px, calc((100vw - 1320px) / 2));
}
.tcard {
  position: relative; flex: none;
  width: clamp(260px, 24vw, 360px); aspect-ratio: 3 / 4;
  border-radius: var(--radius-l); overflow: hidden;
  background: var(--navy-800); color: var(--white); isolation: isolate;
}
.treat.is-pinned .tcard { width: min(24vw, 46vh * .75 + 60px); }
.tcard:nth-child(even) { transform: translateY(2rem); }
.tcard figure { position: absolute; inset: 0; z-index: -1; }
.tcard figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 26, 54, 0) 30%, rgba(6, 26, 54, .92) 100%); }
.tcard img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.1s var(--ease-out); }
.tcard:hover img { transform: scale(1.12); }
.tcard__body { position: absolute; inset: auto 0 0; padding: 1.75rem; }
.tcard__n { font-size: .78rem; letter-spacing: .14em; color: var(--steel-300); }
.tcard h3 { font-family: var(--font-display); font-size: var(--text-h3); line-height: 1.15; margin: .4rem 0 .6rem; }
.tcard p {
  font-size: .92rem; color: rgba(255, 255, 255, .8);
  display: grid; grid-template-rows: 0fr; opacity: 0;
  transition: opacity 400ms var(--ease-out), transform 500ms var(--ease-out);
  transform: translateY(8px);
  max-height: 0; overflow: hidden;
}
.tcard:hover p, .tcard:focus-within p { max-height: 10rem; opacity: 1; transform: none; }
@media (hover: none) { .tcard p { max-height: none; opacity: 1; transform: none; } }
.tcard--cta { background: var(--navy-900); display: flex; }
.tcard--cta .tcard__body { position: static; margin-top: auto; display: grid; gap: 1rem; justify-items: start; }
.tcard--cta p { max-height: none; opacity: 1; transform: none; }
.tcard--cta h3 { font-size: clamp(1.8rem, 1.4rem + 1vw, 2.3rem); }

.treat__progress { margin: clamp(3.5rem, 6vw, 5rem) auto 0; width: min(320px, 60vw); height: 2px; background: var(--line); }
.treat__progress i { display: block; height: 100%; background: var(--navy-800); transform: scaleX(0); transform-origin: left; }

/* ---------- casos ---------- */
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 4rem; align-items: end; margin-bottom: clamp(3rem, 6vw, 5rem); }
.section-head .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.section-head__lead { color: var(--ink-soft); max-width: 40ch; justify-self: end; }

.cases__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.case:nth-child(1) { grid-column: 1 / span 7; }
.case:nth-child(2) { grid-column: 8 / span 5; margin-top: 6rem; }
.case:nth-child(3) { grid-column: 3 / span 7; }

.ba {
  --pos: 50%;
  position: relative; overflow: hidden; border-radius: var(--radius-l);
  aspect-ratio: 11 / 8; background: var(--ice-100);
  touch-action: pan-y; user-select: none;
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__before-wrap { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.demo-before { filter: sepia(.55) saturate(.75) brightness(.9) contrast(.95) hue-rotate(-6deg); }
.ba::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--white); pointer-events: none; }
.ba__handle {
  position: absolute; top: 50%; left: var(--pos); z-index: 2;
  width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white); color: var(--navy-800);
  box-shadow: 0 10px 30px -8px rgba(4, 18, 42, .5);
  pointer-events: none; transition: transform var(--dur) var(--ease-out);
}
.ba:hover .ba__handle { transform: scale(1.08); }
.ba__handle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ba__range { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba:has(.ba__range:focus-visible) .ba__handle { outline: 3px solid var(--steel-500); outline-offset: 3px; }
.ba__tag {
  position: absolute; top: 1rem; z-index: 1;
  padding: .4rem .8rem; border-radius: 999px;
  font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(6, 26, 54, .7); color: var(--white);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.ba__tag--l { left: 1rem; }
.ba__tag--r { right: 1rem; background: rgba(255, 255, 255, .88); color: var(--navy-800); }
.case__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-block: 1.1rem; border-bottom: 1px solid var(--line); }
.case__meta h3 { font-family: var(--font-display); font-size: var(--text-h3); color: var(--navy-800); }
.case__meta p { font-size: .88rem; color: var(--ink-soft); }
.cases__note { margin-top: 3rem; font-size: .8rem; color: var(--ink-soft); text-align: center; }

/* ---------- experiência ---------- */
.exp { background: var(--white); }
.exp__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 7vw, 8rem); align-items: center; }
.exp__media { position: relative; padding-bottom: 18%; }
.exp__a { width: 78%; aspect-ratio: 9 / 11; border-radius: var(--radius-l); overflow: hidden; }
.exp__b { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 1; border-radius: 999px; overflow: hidden; border: 8px solid var(--white); }
.exp__a img, .exp__b img { width: 100%; height: 115%; object-fit: cover; }
.exp__copy .h2 { margin-bottom: 2.5rem; }

.steps { list-style: none; display: grid; margin-bottom: 2.5rem; }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps__n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--steel-500); color: var(--navy-800); font-family: var(--font-display); font-size: 1.1rem; }
.steps h3 { font-family: var(--font-display); font-size: 1.35rem; color: var(--navy-800); margin-bottom: .3rem; }
.steps p { color: var(--ink-soft); }

.pills { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; }
.pills li { padding: .55rem 1rem; border-radius: 999px; background: var(--ice-100); color: var(--navy-800); font-size: .88rem; font-weight: 500; }

/* ---------- depoimentos ---------- */
.reviews { background: var(--navy-900); color: var(--white); position: relative; overflow: hidden; }
.reviews .h2 { color: var(--white); }
.reviews .h2 em { color: var(--steel-300); }
.reviews__head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: clamp(3rem, 6vw, 5rem); }
.reviews__score { display: flex; align-items: center; gap: 1rem; color: rgba(255, 255, 255, .7); font-size: .9rem; }
.reviews__big { font-family: var(--font-display); font-size: clamp(3.5rem, 2rem + 4vw, 6rem); line-height: 1; color: var(--white); }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: start; }
.quote {
  display: flex; flex-direction: column; justify-content: space-between; gap: 2.5rem;
  min-height: 300px;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border: 1px solid var(--line-light); border-radius: var(--radius-l);
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, 0));
  transition: border-color var(--dur) var(--ease-out);
}
.quote:hover { border-color: rgba(159, 180, 204, .55); }
.quote:nth-child(2) { margin-top: 3rem; }
.quote blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(1.35rem, 1.1rem + .8vw, 1.8rem); line-height: 1.3; }
.quote figcaption { display: flex; align-items: center; gap: .9rem; font-weight: 600; }
.quote figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.quote small { display: block; font-weight: 400; color: var(--steel-300); font-size: .8rem; }

/* ---------- instagram ---------- */
.insta { padding-bottom: 0; }
.insta__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.insta__head .h3 { color: var(--navy-800); }
.insta__head .h3 a { color: var(--steel-500); text-decoration: none; font-style: italic; }
.insta__row { display: grid; grid-template-columns: repeat(6, 1fr); }
.insta__row a { position: relative; overflow: hidden; aspect-ratio: 1; }
.insta__row img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.insta__row a::after { content: ""; position: absolute; inset: 0; background: var(--navy-800); opacity: 0; transition: opacity var(--dur); }
.insta__row a:hover img { transform: scale(1.08); }
.insta__row a:hover::after { opacity: .25; }

/* ---------- contato ---------- */
.contact { background: var(--navy-800); color: var(--white); padding-block: var(--space-section); position: relative; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; width: 70vw; aspect-ratio: 1; right: -30vw; top: -30vw; border-radius: 50%;
  border: 1px solid var(--line-light);
  box-shadow: 0 0 0 8vw rgba(255, 255, 255, .02), 0 0 0 16vw rgba(255, 255, 255, .015);
}
.contact__grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(3rem, 6vw, 6rem); align-items: start; }
.contact__title { font-family: var(--font-display); font-size: clamp(2.4rem, 1.4rem + 3.8vw, 5rem); line-height: 1.02; letter-spacing: -0.025em; margin-bottom: 2.5rem; max-width: 14ch; }
.contact__title em { color: var(--steel-300); }
.contact__info dl { margin: 0 0 2rem; display: grid; gap: 1.5rem; }
.contact__info dl > div { padding-bottom: 1.5rem; border-bottom: 1px solid var(--line-light); }
.contact__info dt { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--steel-300); margin-bottom: .5rem; font-weight: 600; }
.contact__info dd { margin: 0; font-size: 1.05rem; }
.contact__info small { color: rgba(255, 255, 255, .6); font-size: .85rem; }
.contact__info a { text-decoration: none; border-bottom: 1px solid var(--line-light); transition: border-color var(--dur); }
.contact__info a:hover { border-color: var(--white); }
.map { border-radius: var(--radius-m); overflow: hidden; aspect-ratio: 16 / 9; background: var(--navy-700); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }

/* ---------- footer ---------- */
.footer { background: var(--navy-950); color: rgba(255, 255, 255, .62); padding-block: 3rem; font-size: .85rem; }
.footer__grid { display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center; }
.brand--footer { color: var(--white); }
.footer__legal { text-align: center; line-height: 1.7; }

/* ---------- whatsapp flutuante ---------- */
.wa-float {
  position: fixed; right: clamp(1rem, 2vw, 1.75rem); bottom: clamp(1rem, 2vw, 1.75rem); z-index: 80;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: #1fa855; color: var(--white);
  box-shadow: 0 14px 34px -10px rgba(4, 18, 42, .55);
  transition: transform var(--dur) var(--ease-out);
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 28px; height: 28px; fill: currentColor; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #1fa855; animation: ping 2.6s var(--ease-out) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- estados iniciais (somente com JS + movimento) ---------- */
.js:not(.no-motion) [data-fade] { opacity: 0; transform: translateY(28px); }
.js:not(.no-motion) [data-reveal-img] { clip-path: inset(100% 0 0 0); }

/* ---------- responsivo ---------- */
@media (max-width: 1080px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 520px; margin-inline: auto; width: 86%; }
  .hero__badge { left: -8%; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 2rem; }
  .exp__grid, .contact__grid { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .quote { min-height: 0; }
  .quote:nth-child(2) { margin-top: 0; }
  .footer__grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}

@media (max-width: 820px) {
  .section-head { grid-template-columns: 1fr; }
  .section-head__lead { justify-self: start; }
  .cases__grid { grid-template-columns: 1fr; }
  .case:nth-child(n) { grid-column: auto; margin-top: 0; }
  .treat__head { flex-direction: column; align-items: start; }
  .hint-desk { display: none; }
  .hint-touch { display: inline; }
  .treat__rail { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 3rem; scrollbar-width: none; }
  .treat__rail::-webkit-scrollbar { display: none; }
  .tcard { scroll-snap-align: start; width: 76vw; }
  .tcard:nth-child(even) { transform: none; }
  .treat__progress { display: none; }
  .reviews__head { flex-direction: column; align-items: start; }
  .insta__row { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 520px) {
  .hero__badge { left: -6%; bottom: 8%; padding: .8rem 1rem; }
  .hero__thumb { width: 42%; right: -6%; }
  .stat, .stat:not(:first-child) { padding-left: 0; padding-right: .75rem; }
  .case__meta { flex-direction: column; gap: .25rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
