/* =========================================================
   LAVITTA · Odontologia Especializada
   Brand palette and type from the Bloom identity guide
   ========================================================= */

:root {
  /* Brand colors */
  --offwhite: #EEEBE4;
  --nude: #C1AEA4;
  --capim: #919088;
  --oliva: #565342;
  --chocco: #492E24;
  --areia: #A5856C;
  --grafite: #3F3E3A;

  /* Derived tones */
  --paper: #F6F4EF;
  --line: rgba(63, 62, 58, 0.14);
  --text: var(--grafite);
  --muted: #7b7870;

  /* Type (swap for Migra / Garet / TT Interphases Mono if you license them) */
  --f-display: "Instrument Serif", "Migra", Georgia, serif;
  --f-body: "Outfit", "Garet", system-ui, sans-serif;
  --f-mono: "DM Mono", "TT Interphases Mono Pro", ui-monospace, monospace;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--f-body);
  font-weight: 300;
  font-size: clamp(16px, 1.05vw, 17px);
  line-height: 1.7;
  color: var(--text);
  background: var(--offwhite);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.is-loading { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-style: italic; }

::selection { background: var(--areia); color: var(--offwhite); }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.mono {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--areia);
  margin-bottom: 22px;
}
.eyebrow__num {
  display: inline-grid;
  place-items: center;
  width: 34px; height: 34px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.62rem;
  letter-spacing: 0.05em;
}
.eyebrow--light { color: var(--nude); }

.section { padding-block: clamp(96px, 13vw, 180px); position: relative; }

.section__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 5.2vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--grafite);
  max-width: 16ch;
  margin-bottom: 32px;
}
.section__title em,
.hero__title em,
.cta__title em { color: var(--areia); }

/* ---------------- Buttons ---------------- */
.btn {
  --bg: var(--grafite);
  --fg: var(--offwhite);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 17px 30px;
  border-radius: 100px;
  font-family: var(--f-mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg);
  background: var(--bg);
  overflow: hidden;
  isolation: isolate;
  transition: color 0.5s var(--ease), transform 0.4s var(--ease);
  will-change: transform;
}
.btn::before {
  /* liquid fill on hover */
  content: "";
  position: absolute;
  inset: 0;
  background: var(--areia);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 0.6s var(--ease);
  z-index: -1;
}
.btn:hover::before { transform: translateY(0); }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform 0.5s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--dark { --bg: var(--grafite); --fg: var(--offwhite); }
.btn--ghost { --bg: transparent; --fg: var(--grafite); box-shadow: inset 0 0 0 1px var(--grafite); }
.btn--ghost:hover { color: var(--offwhite); box-shadow: inset 0 0 0 1px var(--areia); }
.btn--light { --bg: var(--offwhite); --fg: var(--chocco); }
.btn--light::before { background: var(--nude); }
.btn--sm { padding: 12px 22px; font-size: 0.68rem; }
.btn--lg { padding: 22px 38px; }

/* ---------------- Preloader ---------------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 28px;
  background: var(--offwhite);
  transition: clip-path 1.1s var(--ease-in-out);
  clip-path: inset(0 0 0 0);
}
.preloader__mark { width: 70px; overflow: hidden; }
.preloader__mark img { animation: markIn 1.2s var(--ease) both; }
.preloader__label { color: var(--areia); animation: fadeUp 1s 0.4s var(--ease) both; }
.preloader.is-done { clip-path: inset(0 0 100% 0); pointer-events: none; }

@keyframes markIn {
  from { transform: translateY(40%) rotate(-12deg) scale(0.8); opacity: 0; filter: blur(8px); }
  to   { transform: none; opacity: 1; filter: none; }
}
@keyframes fadeUp {
  from { transform: translateY(12px); opacity: 0; }
  to   { transform: none; opacity: 1; }
}

/* ---------------- Cursor ---------------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 300; pointer-events: none; display: none; }
.cursor__dot,
.cursor__ring {
  position: fixed;
  top: 0; left: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor__dot { width: 6px; height: 6px; background: var(--areia); }
.cursor__ring {
  width: 38px; height: 38px;
  border: 1px solid rgba(165, 133, 108, 0.55);
  transition: width 0.4s var(--ease), height 0.4s var(--ease), background-color 0.4s, border-color 0.4s;
}
.cursor.is-hover .cursor__ring { width: 72px; height: 72px; background: rgba(165, 133, 108, 0.12); border-color: transparent; }
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; }
}

/* ---------------- Progress ---------------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; }
.progress span { display: block; height: 100%; background: var(--areia); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------------- Header ---------------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding-block: 26px;
  transition: padding 0.5s var(--ease), background-color 0.5s, backdrop-filter 0.5s, transform 0.6s var(--ease);
}
.header.is-scrolled {
  padding-block: 14px;
  background: rgba(238, 235, 228, 0.78);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line);
}
.header.is-hidden { transform: translateY(-100%); }
.header__inner { display: flex; align-items: center; gap: 40px; }
.header__logo img { height: 46px; width: auto; transition: height 0.5s var(--ease); }
.header.is-scrolled .header__logo img { height: 38px; }

.nav { display: flex; gap: 36px; margin-left: auto; }
.nav__link {
  position: relative;
  font-size: 0.92rem;
  font-weight: 400;
  padding-block: 6px;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--areia);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__link.is-active { color: var(--areia); }

.burger { display: none; width: 44px; height: 44px; position: relative; margin-left: auto; z-index: 110; }
.burger span {
  position: absolute; left: 10px; right: 10px; height: 1px; background: var(--grafite);
  transition: transform 0.5s var(--ease), top 0.5s var(--ease);
}
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
.menu-open .burger span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 22px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--offwhite);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 48px;
  padding: 120px var(--gutter) 60px;
  clip-path: circle(0% at calc(100% - 44px) 44px);
  transition: clip-path 0.9s var(--ease-in-out);
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 44px) 44px); }
.mobile-menu__nav { display: grid; gap: 10px; }
.mobile-menu__nav a {
  font-family: var(--f-display);
  font-size: clamp(2.4rem, 10vw, 3.4rem);
  line-height: 1.15;
  display: flex; align-items: baseline; gap: 16px;
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.mobile-menu__nav a .mono { color: var(--areia); }
.menu-open .mobile-menu__nav a { opacity: 1; transform: none; }
.menu-open .mobile-menu__nav a:nth-child(1) { transition-delay: 0.25s; }
.menu-open .mobile-menu__nav a:nth-child(2) { transition-delay: 0.32s; }
.menu-open .mobile-menu__nav a:nth-child(3) { transition-delay: 0.39s; }
.menu-open .mobile-menu__nav a:nth-child(4) { transition-delay: 0.46s; }
.mobile-menu .btn { align-self: flex-start; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-block: 140px 100px;
}
.hero__bg {
  position: absolute;
  inset: -10% 0;
  background: url("../assets/img/textura-hero.jpg") center / cover no-repeat;
  opacity: 0.55;
  will-change: transform;
}
.hero::after {
  /* soft vignette to keep text legible */
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(238,235,228,0.9) 0%, rgba(238,235,228,0.35) 55%, rgba(238,235,228,0) 80%);
  pointer-events: none;
}
.hero__lines {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
}
.hero__lines path { fill: none; stroke: var(--areia); stroke-width: 1.6; stroke-linecap: round; opacity: 0.55; }
.hero__lines path.draw--thin { stroke-width: 0.8; opacity: 0.4; }

.hero__symbol {
  position: absolute;
  right: clamp(-80px, 4vw, 120px);
  top: 50%;
  width: clamp(240px, 30vw, 460px);
  transform: translateY(-50%);
  z-index: 1;
  opacity: 0.55;
  pointer-events: none;
}
.hero__symbol img { width: 100%; transition: transform 1.2s var(--ease); animation: float 9s ease-in-out infinite; }
@keyframes float {
  0%, 100% { translate: 0 0; rotate: 0deg; }
  50%      { translate: 0 -18px; rotate: 3deg; }
}

.hero__content { position: relative; z-index: 2; }
.hero__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(3.4rem, 9.5vw, 8.6rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
  max-width: 11ch;
  margin-bottom: 36px;
}
.hero__lead { max-width: 46ch; font-size: clamp(1rem, 1.3vw, 1.15rem); color: #5a5852; margin-bottom: 44px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__scroll {
  position: absolute;
  left: 50%; bottom: 32px;
  transform: translateX(-50%);
  z-index: 2;
  display: grid; justify-items: center; gap: 12px;
  color: var(--muted);
  font-size: 0.62rem;
}
.hero__scroll i { width: 1px; height: 48px; background: var(--line); position: relative; overflow: hidden; }
.hero__scroll i::after {
  content: ""; position: absolute; left: 0; top: -50%;
  width: 100%; height: 50%; background: var(--areia);
  animation: scrollLine 2.2s var(--ease-in-out) infinite;
}
@keyframes scrollLine { to { top: 100%; } }

/* ---------------- Marquee ---------------- */
.marquee {
  background: var(--areia);
  color: var(--offwhite);
  overflow: hidden;
  padding-block: 22px;
  position: relative;
  z-index: 2;
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee__track span {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1;
  white-space: nowrap;
}
.marquee__track img { height: 30px; width: auto; opacity: 0.85; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------- About ---------------- */
.about__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
}
.about__text > p:not(.eyebrow) { max-width: 54ch; margin-bottom: 20px; color: #5a5852; }

.values { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.values li {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 100px;
  transition: background 0.4s, color 0.4s, border-color 0.4s;
}
.values li:hover { background: var(--grafite); color: var(--offwhite); border-color: var(--grafite); }

.about__media { position: relative; }
.about__img {
  /* organic arched frame */
  border-radius: 240px 240px var(--radius) var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--nude);
}
.about__img img { width: 100%; height: 118%; object-fit: cover; object-position: 55% center; }
.about__media figcaption { margin-top: 18px; color: var(--muted); font-size: 0.62rem; line-height: 1.6; }

.team {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: clamp(64px, 8vw, 110px);
}
.member {
  display: flex;
  gap: 26px;
  align-items: center;
  padding: 34px;
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.member:hover { box-shadow: 0 30px 60px -30px rgba(73, 46, 36, 0.35); }
.member__initial {
  flex: none;
  display: grid; place-items: center;
  width: 84px; height: 84px;
  border-radius: 50%;
  background: var(--nude);
  color: var(--offwhite);
  font-family: var(--f-display);
  font-size: 2.6rem;
  font-style: italic;
  transform: translateZ(30px);
}
.member h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.9rem; line-height: 1.1; }
.member__cro { color: var(--areia); margin: 6px 0 8px; font-size: 0.64rem; }
.member p:last-child { color: #5a5852; font-size: 0.95rem; }

/* ---------------- Manifesto ---------------- */
.manifesto {
  position: relative;
  background: var(--chocco);
  color: var(--offwhite);
  overflow: hidden;
  padding-block: clamp(120px, 16vw, 220px);
}
.manifesto__img {
  position: absolute;
  inset: -12% -10% -12% 32%;
  opacity: 0.85;
  will-change: transform;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
}
.manifesto__img img { width: 100%; height: 100%; object-fit: cover; object-position: 40% center; }
.manifesto::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(73,46,36,0.6) 0%, rgba(73,46,36,0) 60%);
  z-index: 1;
}
.manifesto__inner { position: relative; z-index: 2; }
.manifesto__text {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4.2vw, 3.8rem);
  line-height: 1.12;
  max-width: 20ch;
}
.manifesto__text .w { opacity: 0.18; transition: opacity 0.35s linear; }
.manifesto__text .w.is-on { opacity: 1; }

/* ---------------- Treatments ---------------- */
.treatments { background: var(--paper); }
.section__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.section__head .section__title { margin-bottom: 0; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  font-family: var(--f-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 11px 18px;
  border-radius: 100px;
  border: 1px solid var(--line);
  transition: background 0.4s, color 0.4s, border-color 0.4s;
}
.filter:hover { border-color: var(--grafite); }
.filter.is-active { background: var(--grafite); color: var(--offwhite); border-color: var(--grafite); }

.treatments__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.t-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 36px 34px 32px;
  background: var(--offwhite);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.5s var(--ease);
}
.t-card::before {
  /* hover fill that grows from the cursor position */
  content: "";
  position: absolute;
  left: var(--mx, 50%); top: var(--my, 50%);
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--chocco);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.8s var(--ease);
  z-index: -1;
}
.t-card:hover::before { transform: translate(-50%, -50%) scale(110); }
.t-card:hover { color: var(--offwhite); }

.t-card__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: auto; }
.t-card__num { color: var(--areia); }
.t-card__tag { color: var(--muted); font-size: 0.6rem; transition: color 0.5s; }
.t-card:hover .t-card__tag { color: var(--nude); }
.t-card__icon {
  width: 28px; opacity: 0.0;
  transform: rotate(-30deg) scale(0.6);
  transition: opacity 0.5s var(--ease), transform 0.7s var(--ease);
}
.t-card:hover .t-card__icon { opacity: 1; transform: none; }

.t-card h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 2.4vw, 2.3rem);
  line-height: 1.05;
  margin: 70px 0 12px;
}
.t-card p { font-size: 0.93rem; line-height: 1.6; color: #6b685f; transition: color 0.5s; max-width: 34ch; }
.t-card:hover p { color: rgba(238, 235, 228, 0.78); }
.t-card__link {
  margin-top: 24px;
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--areia);
  font-size: 0.64rem;
}
.t-card__link svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform 0.4s var(--ease); }
.t-card:hover .t-card__link { color: var(--nude); }
.t-card:hover .t-card__link svg { transform: translateX(4px); }

.t-card.is-hidden { display: none; }
.t-card.is-entering { animation: cardIn 0.7s var(--ease) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------------- Plans ---------------- */
.plans__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
}
.plans__lead { max-width: 46ch; color: #5a5852; margin-bottom: 36px; }
.plans__list { list-style: none; display: grid; gap: 14px; }
.plan {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 28px 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper);
  transition: transform 0.6s var(--ease), background 0.5s, border-color 0.5s, color 0.5s;
}
.plan:hover { transform: translateX(10px); background: var(--oliva); border-color: var(--oliva); color: var(--offwhite); }
.plan__mark {
  flex: none;
  display: grid; place-items: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--offwhite);
  font-family: var(--f-display);
  font-size: 1.6rem;
  color: var(--areia);
  transition: background 0.5s;
}
.plan:hover .plan__mark { background: rgba(238,235,228,0.12); color: var(--offwhite); }
.plan h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.9rem; line-height: 1; }
.plan p { font-size: 0.9rem; opacity: 0.7; margin-top: 4px; }
.plan__check { margin-left: auto; width: 22px; height: 22px; stroke: var(--areia); fill: none; stroke-width: 1.4; transition: stroke 0.5s; }
.plan:hover .plan__check { stroke: var(--nude); }

/* ---------------- Location ---------------- */
.location { background: var(--paper); }
.location__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  margin-top: 20px;
  align-items: stretch;
}
.location__map {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 460px;
  background: var(--nude);
  position: relative;
}
.location__map iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  /* tint the map towards the brand palette */
  filter: grayscale(1) sepia(0.35) contrast(0.95) brightness(1.02);
  transition: filter 0.8s var(--ease);
}
.location__map:hover iframe { filter: none; }
.location__info { display: flex; flex-direction: column; justify-content: center; gap: 32px; }
.info { border-top: 1px solid var(--line); padding-top: 20px; }
.info__label { display: block; color: var(--areia); margin-bottom: 8px; font-size: 0.64rem; }
.info p { font-size: 1.12rem; line-height: 1.6; }
.info a { border-bottom: 1px solid transparent; transition: border-color 0.4s, color 0.4s; }
.info a:hover { color: var(--areia); border-color: var(--areia); }
.location__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------------- CTA ---------------- */
.cta {
  position: relative;
  background: var(--oliva);
  color: var(--offwhite);
  padding-block: clamp(110px, 14vw, 190px);
  overflow: hidden;
  text-align: center;
}
.cta__inner { display: grid; justify-items: center; gap: 44px; position: relative; }
.cta__symbol {
  position: absolute;
  top: 50%; left: 50%;
  width: clamp(280px, 34vw, 520px);
  transform: translate(-50%, -50%);
  opacity: 0.07;
  pointer-events: none;
}
.cta__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 5.6vw, 5rem);
  line-height: 1.02;
  max-width: 17ch;
  position: relative;
}
.cta__title em { color: var(--nude); }

/* ---------------- Footer ---------------- */
.footer { background: var(--grafite); color: var(--offwhite); padding-block: 80px 34px; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(238,235,228,0.12);
}
.footer__logo { width: min(280px, 100%); height: auto; }
.footer__col { display: grid; gap: 10px; align-content: start; font-size: 0.95rem; }
.footer__col .mono { color: var(--nude); margin-bottom: 8px; font-size: 0.64rem; }
.footer__col a { opacity: 0.78; transition: opacity 0.3s, color 0.3s; width: fit-content; }
.footer__col a:hover { opacity: 1; color: var(--nude); }
.footer__col span:not(.mono) { opacity: 0.6; }
.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 28px;
  color: rgba(238,235,228,0.5);
}
.footer__bottom .mono { font-size: 0.6rem; }

/* ---------------- WhatsApp float ---------------- */
.wa-float {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 80;
  width: 60px; height: 60px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--areia);
  color: var(--offwhite);
  box-shadow: 0 16px 40px -14px rgba(73,46,36,0.6);
  transform: scale(0);
  transition: transform 0.6s var(--ease), background 0.4s;
}
.wa-float.is-visible { transform: scale(1); }
.wa-float:hover { background: var(--chocco); }
.wa-float svg { width: 28px; height: 28px; fill: currentColor; }
.wa-float::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px solid var(--areia);
  animation: pulse 2.6s var(--ease) infinite;
}
@keyframes pulse { from { transform: scale(1); opacity: 0.8; } to { transform: scale(1.7); opacity: 0; } }

/* =========================================================
   Scroll-reveal animations (toggled by js/main.js)
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .t-card.reveal { transition: opacity 1s var(--ease), transform 1s var(--ease), color 0.5s var(--ease); }

.js .reveal-img > * { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease-in-out), filter 0.8s var(--ease); }
.js .reveal-img.is-in > * { clip-path: inset(0 0 0 0); }

/* split headings: each word slides up from a mask */
.split .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split .word > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.split.is-in .word > span { transform: none; }

/* organic line drawing */
.js .draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); }
.js .is-ready .draw { transition: stroke-dashoffset 3.2s var(--ease-in-out); stroke-dashoffset: 0; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .treatments__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav, .header__cta { display: none; }
  .burger { display: block; }
  .header__logo img { height: 40px; }

  .about__grid,
  .plans__grid,
  .location__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 460px; }
  .team { grid-template-columns: 1fr; }

  .manifesto__img { inset: 30% -30% -10% 0; opacity: 0.45; }
  .manifesto::before { background: linear-gradient(180deg, var(--chocco) 30%, rgba(73,46,36,0.55) 100%); }

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__logo { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .hero { align-items: flex-end; padding-bottom: 120px; }
  .hero__symbol { right: -70px; top: 26%; opacity: 0.35; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  /* Treatments become a swipeable carousel on phones */
  .treatments__grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1);
    padding: 4px var(--gutter) 20px;
    scrollbar-width: none;
  }
  .treatments__grid::-webkit-scrollbar { display: none; }
  .t-card { flex: 0 0 82%; min-height: 340px; scroll-snap-align: center; }
  .t-card h3 { margin-top: 40px; }
  .member { padding: 24px; gap: 18px; }
  .member__initial { width: 64px; height: 64px; font-size: 2rem; }
  .plan { padding: 22px; }
  .location__map { min-height: 340px; }
  .footer__grid { grid-template-columns: 1fr; }
  .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
}
