/* =========================================================
   Studio Rebeca Marques — Pilates & Fisioterapia
   ========================================================= */

/* Mosseta (fonte da marca) — arquivo em assets/fonts/. Cormorant é a reserva. */
@font-face {
  font-family: "Mosseta";
  src: url("../assets/fonts/Mosseta.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #1a1a1a;
  --teal: #23b7b7;
  --cream: #f4ece5;

  --teal-deep: #178a8a;      /* teal para textos pequenos (contraste) */
  --teal-soft: #d6efed;
  --cream-deep: #eadfd4;
  --white: #fffdfb;
  --muted: #5b5652;

  --font-display: "Mosseta", "Cormorant", "Times New Roman", serif;
  --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 36px;
  --shadow: 0 20px 50px -24px rgba(26, 26, 26, .28);
  --shadow-soft: 0 10px 30px -18px rgba(26, 26, 26, .22);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 84px;
  --gutter: clamp(16px, 4vw, 40px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) - 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(15px, .95rem + .1vw, 17px);
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.12; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

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

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Tipografia ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .8em;
  margin: 0 0 1rem;
  font-size: .75rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase;
  color: var(--teal-deep);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--teal); }

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem);
  letter-spacing: .01em;
  margin-bottom: 1.2rem;
}
.section__title em, .hero__title em, .cta h2 em { font-style: normal; color: var(--teal); }
.section__title--light { color: var(--white); }

.section { padding-block: clamp(72px, 10vw, 140px); position: relative; }
.section__head { max-width: 680px; margin: 0 auto clamp(40px, 6vw, 72px); text-align: center; }
.section__head .eyebrow { justify-content: center; }
.section__head .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.section__lead { color: var(--muted); font-size: 1.05em; margin: 0; }

/* ---------- Botões ---------- */
.btn {
  --bg: var(--teal); --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95em 1.7em;
  border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  border: 1.5px solid var(--bg);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s, color .35s, border-color .35s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(35, 183, 183, .8); }
.btn--lg { padding: 1.1em 2em; font-size: .85rem; }
.btn--primary:hover { --bg: #2fcaca; }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: rgba(26, 26, 26, .25); }
.btn--ghost:hover { border-color: var(--ink); box-shadow: none; background: var(--ink); color: var(--white); }
.btn--dark { --bg: var(--ink); --fg: var(--white); }
.btn--dark:hover { box-shadow: 0 14px 30px -14px rgba(26, 26, 26, .6); }
.btn--light { --bg: var(--white); --fg: var(--ink); }
.btn--light:hover { box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .35); }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}
.header.is-scrolled {
  --header-h: 70px;
  background: rgba(255, 253, 251, .86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 rgba(26, 26, 26, .06), 0 10px 30px -20px rgba(26, 26, 26, .25);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; position: relative; z-index: 2; }
.brand__mark { width: 48px; height: auto; mix-blend-mode: multiply; transition: transform .5s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-6deg) scale(1.05); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text small { font-size: .58rem; letter-spacing: .38em; text-transform: uppercase; color: var(--teal-deep); font-weight: 600; margin-bottom: 4px; }
.brand__text strong { font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; letter-spacing: .04em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav__list { display: flex; gap: 28px; }
.nav__link {
  position: relative; font-size: .78rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  padding-block: 6px; white-space: nowrap;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: var(--teal); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { padding: .8em 1.4em; font-size: .72rem; }

.burger { display: none; width: 44px; height: 44px; position: relative; z-index: 2; border-radius: 50%; }
.burger span {
  position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink);
  transition: transform .45s var(--ease), opacity .3s, top .45s var(--ease);
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21.5px; }
.burger span:nth-child(3) { top: 28px; }
.menu-open .burger span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; transform: translateX(10px); }
.menu-open .burger span:nth-child(3) { top: 21.5px; transform: rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--header-h) + 40px) 0 90px;
  background: var(--cream);
  overflow: hidden;
  display: flex; align-items: center;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.blob--1 { width: 520px; height: 520px; background: var(--teal-soft); top: -140px; right: -120px; animation: float 16s ease-in-out infinite; }
.blob--2 { width: 380px; height: 380px; background: #fff; bottom: -120px; left: -100px; animation: float 20s ease-in-out infinite reverse; }
.hero__arc { position: absolute; width: min(70vw, 760px); right: -6%; top: 6%; color: var(--teal); opacity: .35; }
.hero__arc path { stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 3s var(--ease) .6s forwards; }

.hero__grid {
  position: relative;
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center;
  gap: clamp(40px, 6vw, 90px);
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 1.4rem + 5vw, 5rem);
  letter-spacing: .005em;
  margin-bottom: 1.6rem;
}
.hero__lead { max-width: 520px; color: var(--muted); font-size: 1.05em; margin-bottom: 2.2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 3rem; }

.hero__highlights { display: grid; grid-template-columns: repeat(3, auto); gap: 0; justify-content: start; }
.hero__highlights li { padding: 0 28px; border-left: 1px solid rgba(26, 26, 26, .15); }
.hero__highlights li:first-child { padding-left: 0; border-left: 0; }
.hero__highlights strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; }
.hero__highlights span { font-size: .78rem; color: var(--muted); }

.hero__media { position: relative; justify-self: center; width: min(100%, 470px); }
.hero__frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--cream-deep) url("../assets/img/studio-aparelhos-1.jpg") center / cover;
}
.hero__frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(26, 26, 26, .25));
}
.hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__media::before {
  content: ""; position: absolute; inset: -18px -18px 18px 18px;
  border: 1.5px solid var(--teal);
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  z-index: -1;
}
.hero__badge {
  position: absolute; left: -44px; bottom: 56px;
  display: flex; align-items: center; gap: 14px;
  padding: 14px 22px 14px 16px;
  background: var(--white); border-radius: 999px; box-shadow: var(--shadow);
  font-size: .8rem; line-height: 1.35;
  animation: bob 6s ease-in-out infinite;
}
.hero__badge img { width: 46px; mix-blend-mode: multiply; }
.hero__badge strong { color: var(--teal-deep); font-weight: 600; }
.hero__thumb {
  position: absolute; right: -40px; top: 14%;
  width: 150px; aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: var(--radius); border: 6px solid var(--white); box-shadow: var(--shadow);
  animation: bob 7s ease-in-out -2s infinite;
}

.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; translate: -50% 0;
  width: 26px; height: 42px; border: 1.5px solid rgba(26, 26, 26, .35); border-radius: 999px;
}
.hero__scroll span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  background: var(--teal); border-radius: 4px; animation: scrollDot 2s var(--ease) infinite;
}

/* ---------- Faixa animada ---------- */
.marquee { background: var(--ink); color: var(--cream); overflow: hidden; padding: 22px 0; }
.marquee__track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--font-display); font-size: clamp(1.2rem, 1rem + 1vw, 1.7rem); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.marquee i { width: 9px; height: 9px; border-radius: 50%; background: var(--teal); flex: none; }

/* =========================================================
   SOBRE
   ========================================================= */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 110px); align-items: center; }
.about__media { position: relative; padding: 0 12% 16% 0; }
.about__img { border-radius: var(--radius-lg); object-fit: cover; box-shadow: var(--shadow); }
.about__img--main { width: 100%; aspect-ratio: 4 / 5; border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 160px; }
.about__img--small {
  position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 1;
  border: 8px solid var(--white); border-radius: 50%;
}
.about__stamp {
  position: absolute; left: -24px; top: -24px; width: 124px; height: 124px;
  display: grid; place-items: center;
  background: var(--cream); border-radius: 50%; box-shadow: var(--shadow-soft);
}
.about__stamp svg { position: absolute; inset: 0; animation: spin 24s linear infinite; }
.about__stamp text { font-size: 10.5px; letter-spacing: 3.2px; font-weight: 600; fill: var(--ink); font-family: var(--font-body); }
.about__stamp img { width: 50px; mix-blend-mode: multiply; }
.about__content > p { color: var(--muted); }

.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin: 2rem 0 2.4rem; }
.checks li { position: relative; padding-left: 32px; font-weight: 500; font-size: .92rem; line-height: 1.45; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%231a1a1a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* =========================================================
   SERVIÇOS
   ========================================================= */
.services { background: var(--cream); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative; overflow: hidden;
  padding: 36px 32px 34px;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: auto -40% -60% auto; width: 220px; height: 220px; border-radius: 50%;
  background: var(--teal-soft); transform: scale(0); transition: transform .7s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.card:hover::before { transform: scale(1.6); }
.card > * { position: relative; }
.card__icon {
  width: 64px; height: 64px; display: grid; place-items: center; margin-bottom: 24px;
  border-radius: 20px; background: var(--cream); color: var(--teal-deep);
  transition: background .5s var(--ease), color .5s var(--ease), transform .5s var(--ease);
}
.card__icon svg { width: 34px; height: 34px; }
.card:hover .card__icon { background: var(--teal); color: var(--ink); transform: rotate(-6deg); }
.card h3 { font-family: var(--font-display); font-size: 1.45rem; margin-bottom: .7rem; }
.card p { color: var(--muted); font-size: .93rem; margin: 0; }

/* =========================================================
   BENEFÍCIOS
   ========================================================= */
.benefits { background: var(--ink); color: rgba(244, 236, 229, .78); overflow: hidden; }
.benefits::before {
  content: ""; position: absolute; width: 640px; height: 640px; border-radius: 50%;
  border: 1px solid rgba(35, 183, 183, .25); left: -260px; top: -200px;
}
.benefits__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: center; position: relative; }
.benefits__content p { max-width: 420px; margin-bottom: 2rem; }
.benefits__list { display: grid; gap: 0; }
.benefits__list li {
  display: grid; grid-template-columns: 70px 1fr; align-items: baseline; gap: 12px;
  padding: 24px 0; border-bottom: 1px solid rgba(244, 236, 229, .12);
  transition: padding-left .5s var(--ease);
}
.benefits__list li:first-child { border-top: 1px solid rgba(244, 236, 229, .12); }
.benefits__list li:hover { padding-left: 14px; }
.benefits__list span { font-family: var(--font-display); font-size: 1.6rem; color: var(--teal); }
.benefits__list h3 { font-family: var(--font-display); color: var(--cream); font-size: 1.5rem; margin-bottom: .3rem; }
.benefits__list p { margin: 0; font-size: .92rem; }

/* =========================================================
   VÍDEOS
   ========================================================= */
.video-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px;
}
.video-card {
  position: relative; display: block; width: 100%;
  aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden;
  background: var(--cream-deep); box-shadow: var(--shadow-soft);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.video-card:nth-child(even) { margin-top: 48px; }
.video-card video { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.video-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(26, 26, 26, .55));
  transition: opacity .5s;
}
.video-card__play {
  position: absolute; left: 50%; top: 50%; z-index: 1; translate: -50% -50%;
  width: 64px; height: 64px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(255, 253, 251, .9); color: var(--ink);
  box-shadow: 0 0 0 0 rgba(35, 183, 183, .6);
  transition: transform .5s var(--ease), background .4s;
  animation: pulse 2.6s infinite;
}
.video-card__play svg { width: 24px; height: 24px; margin-left: 3px; }
.video-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.video-card:hover video { transform: scale(1.06); }
.video-card:hover .video-card__play { transform: scale(1.1); background: var(--teal); }
.videos__more { text-align: center; margin: 3.2rem 0 0; color: var(--muted); }
.videos__more a { color: var(--teal-deep); font-weight: 600; border-bottom: 1px solid currentColor; margin-left: .3em; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(26, 26, 26, .82); backdrop-filter: blur(6px); animation: fadeIn .35s ease; }
.modal__box { position: relative; width: min(420px, 100%); animation: zoomIn .45s var(--ease); }
.modal__box video { width: 100%; max-height: 82svh; border-radius: var(--radius); background: #000; }
.modal__close {
  position: absolute; top: -52px; right: 0; width: 42px; height: 42px; border-radius: 50%;
  background: var(--white); font-size: 1.6rem; line-height: 1;
  transition: transform .35s var(--ease), background .3s;
}
.modal__close:hover { transform: rotate(90deg); background: var(--teal); }

/* =========================================================
   ESPAÇO / GALERIA
   ========================================================= */
.space { background: var(--cream); }
/* Layout fixo: cada foto tem sua área, sem sobrar espaço vazio */
.gallery {
  display: grid; gap: 18px;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 220px);
  grid-template-areas:
    "a a b c"
    "a a b d"
    "e f f d";
}
.gallery__item { margin: 0; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.gallery__item:nth-child(1) { grid-area: a; }
.gallery__item:nth-child(2) { grid-area: b; }
.gallery__item:nth-child(3) { grid-area: c; }
.gallery__item:nth-child(4) { grid-area: d; }
.gallery__item:nth-child(5) { grid-area: e; }
.gallery__item:nth-child(6) { grid-area: f; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.gallery__item:hover img { transform: scale(1.07); }

/* =========================================================
   PASSOS
   ========================================================= */
.steps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; }
.steps__grid::before {
  content: ""; position: absolute; top: 36px; left: 16%; right: 16%; height: 1px;
  background: repeating-linear-gradient(90deg, var(--teal) 0 8px, transparent 8px 16px);
}
.step { text-align: center; padding: 0 12px; position: relative; }
.step__num {
  display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 24px;
  border-radius: 50%; background: var(--white); border: 1.5px solid var(--teal);
  font-family: var(--font-display); font-size: 1.8rem; color: var(--teal-deep);
  box-shadow: 0 0 0 10px var(--white);
  transition: background .4s, color .4s, transform .5s var(--ease);
}
.step:hover .step__num { background: var(--teal); color: var(--ink); transform: scale(1.08); }
.step h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: .6rem; }
.step p { color: var(--muted); max-width: 300px; margin-inline: auto; font-size: .94rem; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { background: var(--cream); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--header-h) + 30px); }
.faq__head > p { color: var(--muted); }
.accordion { display: grid; gap: 12px; }
.accordion details {
  background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow-soft);
  transition: box-shadow .4s;
}
.accordion details[open] { box-shadow: var(--shadow); }
.accordion summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 22px 64px 22px 26px; font-weight: 600; font-size: .98rem;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 28px; height: 28px; margin-top: -14px;
  border-radius: 50%; background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath stroke='%231a1a1a' stroke-width='2' stroke-linecap='round' d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .45s var(--ease), background-color .3s;
}
.accordion details[open] summary::after { transform: rotate(135deg); background-color: var(--teal); }
.accordion details p { padding: 0 26px 24px; margin: 0; color: var(--muted); font-size: .94rem; }
.accordion details[open] p { animation: slideDown .45s var(--ease); }

/* =========================================================
   CTA
   ========================================================= */
.cta { padding: clamp(24px, 4vw, 40px) var(--gutter); background: var(--cream); }
.cta__inner {
  position: relative; overflow: hidden;
  max-width: 1200px; padding: clamp(56px, 8vw, 96px) clamp(24px, 5vw, 64px);
  background: var(--teal); border-radius: var(--radius-lg); text-align: center;
}
.cta__inner::before, .cta__inner::after {
  content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(26, 26, 26, .14);
}
.cta__inner::before { width: 420px; height: 420px; left: -120px; top: -180px; }
.cta__inner::after { width: 520px; height: 520px; right: -200px; bottom: -280px; }
.cta__mark { width: 72px; margin: 0 auto 20px; mix-blend-mode: multiply; opacity: .9; }
.cta h2 { font-family: var(--font-display); font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); margin-bottom: 1rem; position: relative; }
.cta h2 em { color: var(--white); }
.cta p { font-size: 1.05rem; margin-bottom: 2rem; position: relative; }
.cta .btn { position: relative; }

/* =========================================================
   CONTATO
   ========================================================= */
.contact { background: var(--cream); padding-top: clamp(64px, 8vw, 110px); }
.contact__cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.contact__item {
  display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
  padding: 28px 24px; background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
a.contact__item:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.contact__icon {
  width: 52px; height: 52px; flex: none; display: grid; place-items: center;
  border-radius: 16px; background: var(--teal); color: var(--ink);
}
.contact__icon svg { width: 24px; height: 24px; }
.contact__item small { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 4px; }
.contact__item strong { display: block; font-weight: 500; font-size: .95rem; line-height: 1.5; }

/* =========================================================
   LOCALIZAÇÃO
   ========================================================= */
.location { background: var(--ink); color: rgba(244, 236, 229, .78); overflow: hidden; }
.location::before {
  content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%;
  border: 1px solid rgba(35, 183, 183, .22); right: -200px; top: -220px;
}
.location__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 90px); align-items: center; position: relative; }
.location__content > p { max-width: 480px; }
.location__perks { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.8rem 0; }
.location__perks li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px;
  border: 1px solid rgba(35, 183, 183, .45); color: var(--cream);
  font-size: .82rem; font-weight: 500;
}
.location__perks svg { width: 18px; height: 18px; color: var(--teal); }
.location__address {
  font-style: normal; line-height: 1.6; margin-bottom: 2rem;
  padding-left: 18px; border-left: 2px solid var(--teal);
}
.location__address strong { display: block; color: var(--cream); font-weight: 600; }
.location__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn--outline-light { --bg: transparent; --fg: var(--cream); border-color: rgba(244, 236, 229, .35); }
.btn--outline-light:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); box-shadow: none; }

.location__media { position: relative; padding-bottom: 70px; }
.location__map {
  border-radius: var(--radius-lg); overflow: hidden; background: #2a2a2a;
  aspect-ratio: 5 / 4; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7);
}
.location__map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.25) contrast(1.05); }
.location__photo {
  position: absolute; left: -40px; bottom: 0; width: 46%; margin: 0;
  border-radius: var(--radius); overflow: hidden; border: 6px solid var(--ink);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8);
}
.location__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 40%; }
.location__photo figcaption {
  position: absolute; left: 8px; right: 8px; bottom: 8px; padding: 6px 10px;
  background: rgba(26, 26, 26, .78); color: var(--cream); border-radius: 999px;
  font-size: .68rem; text-align: center; line-height: 1.3;
}

/* =========================================================
   PLANOS
   ========================================================= */
.plans__group {
  display: flex; align-items: center; gap: 18px;
  font-family: var(--font-display); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  margin: 0 0 28px;
}
.plans__group::after { content: ""; flex: 1; height: 1px; background: rgba(26, 26, 26, .12); }
.plans__grid + .plans__group { margin-top: clamp(56px, 7vw, 88px); }

.plans__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan {
  display: flex; flex-direction: column;
  padding: 38px 32px 32px; border-radius: var(--radius-lg);
  background: var(--cream); position: relative; overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.plan:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.plan__freq { display: flex; align-items: baseline; gap: 10px; margin-bottom: .6rem; }
.plan__freq strong { font-family: var(--font-display); font-weight: 400; font-size: 4rem; line-height: 1; color: var(--teal-deep); }
.plan__freq span { font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.plan__desc { color: var(--muted); font-size: .93rem; margin-bottom: 1.6rem; }
.plan__periods { display: grid; gap: 0; margin-bottom: 2rem; flex: 1; }
.plan__periods li {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 0; border-top: 1px solid rgba(26, 26, 26, .1);
  font-weight: 500; font-size: .95rem;
}
.plan__periods li:last-child { border-bottom: 1px solid rgba(26, 26, 26, .1); }
.plan__periods li::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%231a1a1a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.plan__btn { width: 100%; }

.plan--featured { background: var(--ink); color: var(--cream); }
.plan--featured .plan__freq strong { color: var(--teal); }
.plan--featured .plan__desc { color: rgba(244, 236, 229, .7); }
.plan--featured .plan__periods li { border-color: rgba(244, 236, 229, .14); }
.plan--featured::after {
  content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%;
  border: 1px solid rgba(35, 183, 183, .3); right: -110px; top: -110px; pointer-events: none;
}

.physio { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.physio__item {
  padding: 30px 26px; border-radius: var(--radius);
  background: var(--white); border: 1px solid rgba(26, 26, 26, .08);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
}
.physio__item:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: transparent; }
.physio__icon {
  width: 56px; height: 56px; display: grid; place-items: center; margin-bottom: 20px;
  border-radius: 18px; background: var(--teal-soft); color: var(--teal-deep);
}
.physio__icon svg { width: 30px; height: 30px; }
.physio__item h4 { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; margin: 0 0 .5rem; line-height: 1.15; }
.physio__item p { color: var(--muted); font-size: .9rem; margin: 0; }

.physio__formats {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-top: 22px; padding: 22px 26px; border-radius: var(--radius);
  background: var(--cream);
}
.physio__options { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.physio__label { font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--teal-deep); }
.physio__pills { display: flex; gap: 10px; flex-wrap: wrap; }
.pill { padding: 9px 18px; border-radius: 999px; background: var(--white); font-weight: 600; font-size: .88rem; }
.pill--accent { background: var(--ink); color: var(--cream); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--ink); color: rgba(244, 236, 229, .7); padding: 72px 0 0; }
.footer__inner { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 40px; align-items: center; padding-bottom: 48px; }
.footer__brand { display: grid; justify-items: start; }
.footer__mark { width: 70px; margin-bottom: 14px; }
.footer__name { font-family: var(--font-display); font-size: 1.7rem; color: var(--cream); margin: 0; text-transform: uppercase; letter-spacing: .04em; line-height: 1.1; }
.footer__name small { display: block; font-family: var(--font-body); font-size: .62rem; letter-spacing: .4em; color: var(--teal); font-weight: 600; margin-bottom: 4px; }
.footer__tag { margin: 6px 0 0; font-size: .7rem; letter-spacing: .38em; text-transform: uppercase; color: var(--teal); }
.footer__address { margin: 16px 0 0; font-size: .82rem; line-height: 1.6; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.footer__nav a { transition: color .3s; }
.footer__nav a:hover { color: var(--teal); }
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid rgba(244, 236, 229, .2); color: var(--cream);
  transition: background .35s, color .35s, border-color .35s, transform .45s var(--ease);
}
.footer__social a:hover { background: var(--teal); border-color: var(--teal); color: var(--ink); transform: translateY(-3px); }
.footer__social svg { width: 22px; height: 22px; }
.footer__bottom { border-top: 1px solid rgba(244, 236, 229, .1); padding-block: 22px; font-size: .78rem; }
.footer__bottom p { margin: 0; text-align: center; }
.footer__cnpj { white-space: nowrap; }
.footer__dev { margin-top: 8px !important; font-size: .74rem; color: rgba(244, 236, 229, .5); }
.footer__dev a { display: inline-flex; align-items: center; gap: 5px; color: var(--cream); font-weight: 600; transition: color .3s; }
.footer__dev a:hover { color: var(--teal); }
.footer__dev svg { width: 14px; height: 14px; }
.footer__dev-sep { margin: 0 6px; }
.footer__dev .footer__dev-cta { color: var(--teal); border-bottom: 1px solid currentColor; }
.footer__dev .footer__dev-cta:hover { color: var(--cream); }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%;
  background: var(--teal); color: var(--ink);
  box-shadow: 0 14px 30px -10px rgba(35, 183, 183, .8);
  transform: scale(0); transition: transform .5s var(--ease);
}
.wa-float.is-visible { transform: scale(1); }
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--teal);
  animation: ring 2.4s var(--ease) infinite;
}

/* =========================================================
   ANIMAÇÕES
   ========================================================= */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }
.no-js .reveal { opacity: 1; transform: none; }

@keyframes float { 50% { transform: translate(30px, 40px) scale(1.06); } }
@keyframes bob { 50% { transform: translateY(-10px); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(35, 183, 183, .55); } 70%, 100% { box-shadow: 0 0 0 18px rgba(35, 183, 183, 0); } }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(.92) translateY(20px); } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__arc path { stroke-dashoffset: 0; }
}

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1100px) {
  .nav { gap: 22px; }
  .nav__list { gap: 18px; }
  .nav__link { font-size: .72rem; letter-spacing: .1em; }
  .nav__cta { display: none; }
  .video-grid { grid-template-columns: repeat(3, 1fr); }
  .video-card:nth-child(even) { margin-top: 0; }
  .video-card:nth-child(3n+2) { margin-top: 40px; }
}

@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; justify-content: center; gap: 36px;
    background: var(--cream);
    clip-path: circle(0 at calc(100% - 44px) 36px);
    transition: clip-path .7s var(--ease);
    visibility: hidden;
  }
  .menu-open .nav { clip-path: circle(150% at calc(100% - 44px) 36px); visibility: visible; }
  .menu-open { overflow: hidden; }
  .nav__list { flex-direction: column; align-items: center; gap: 18px; }
  .nav__link { font-family: var(--font-display); font-size: 1.9rem; letter-spacing: .04em; text-transform: none; }
  .nav__list li { opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .6s var(--ease); }
  .menu-open .nav__list li { opacity: 1; transform: none; }
  .menu-open .nav__list li:nth-child(1) { transition-delay: .15s; }
  .menu-open .nav__list li:nth-child(2) { transition-delay: .2s; }
  .menu-open .nav__list li:nth-child(3) { transition-delay: .25s; }
  .menu-open .nav__list li:nth-child(4) { transition-delay: .3s; }
  .menu-open .nav__list li:nth-child(5) { transition-delay: .35s; }
  .menu-open .nav__list li:nth-child(6) { transition-delay: .4s; }
  .nav__cta { display: inline-flex; font-size: .8rem; padding: 1em 2em; }
  .header.is-scrolled { --header-h: 64px; }
  .menu-open .header { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }

  .hero { min-height: auto; padding-top: calc(var(--header-h) + 36px); padding-bottom: 100px; }
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__content { display: flex; flex-direction: column; align-items: center; }
  .hero__lead { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero__highlights { justify-content: center; }
  .hero__media { width: min(88%, 420px); margin-top: 10px; }
  .hero__badge { left: -18px; }
  .hero__thumb { right: -20px; width: 120px; }

  .about__grid, .benefits__grid, .faq__grid, .location__grid { grid-template-columns: 1fr; }
  .location__media { max-width: 620px; width: 100%; margin-inline: auto; }
  .location__photo { left: -12px; }
  .physio { grid-template-columns: repeat(2, 1fr); }
  .contact__cards { grid-template-columns: repeat(2, 1fr); }
  .about__media { max-width: 520px; margin-inline: auto; width: 100%; }
  .faq__head { position: static; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 200px);
    grid-template-areas:
      "a a"
      "b c"
      "b d"
      "e f";
  }
  .footer__inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer__brand { justify-items: center; }
  .footer__nav { justify-content: center; }
}

@media (max-width: 860px) {
  .plans__grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
}

@media (max-width: 640px) {
  body { line-height: 1.65; }
  .brand__mark { width: 40px; }
  .brand__text strong { font-size: 1.05rem; }
  .brand__text small { font-size: .52rem; }

  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; white-space: normal; }
  .hero__highlights { grid-template-columns: repeat(3, 1fr); width: 100%; }
  .hero__highlights li { padding: 0 8px; }
  .hero__highlights strong { font-size: 1rem; }
  .hero__highlights span { font-size: .68rem; line-height: 1.35; display: block; }
  .hero__media { width: 82%; }
  .hero__media::before { inset: -12px -12px 12px 12px; }
  .hero__badge { left: -10%; bottom: 30px; padding: 10px 16px 10px 12px; font-size: .72rem; }
  .hero__badge img { width: 36px; }
  .hero__thumb { width: 92px; right: -9%; border-width: 4px; }
  .hero__scroll { display: none; }

  .checks { grid-template-columns: 1fr; }
  .about__stamp { width: 96px; height: 96px; left: -8px; top: -14px; }
  .about__stamp text { font-size: 13px; letter-spacing: 2.6px; }
  .about__stamp img { width: 38px; }

  .cards { grid-template-columns: 1fr; }
  .card { padding: 30px 26px; }

  .benefits__list li { grid-template-columns: 52px 1fr; padding: 20px 0; }

  .video-grid {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1); padding: 6px var(--gutter) 20px;
    scrollbar-width: none;
  }
  .video-grid::-webkit-scrollbar { display: none; }
  .video-card { flex: 0 0 68%; scroll-snap-align: center; margin-top: 0 !important; }

  .gallery { grid-template-rows: 170px repeat(3, 150px); gap: 10px; }
  .gallery__item { border-radius: var(--radius-sm); }

  .steps__grid { grid-template-columns: 1fr; gap: 40px; }
  .steps__grid::before { top: 0; bottom: 0; left: 50%; right: auto; width: 1px; height: auto;
    background: repeating-linear-gradient(180deg, var(--teal) 0 8px, transparent 8px 16px); }
  .step { background: var(--white); padding: 0 8px 8px; }

  .accordion summary { padding: 18px 58px 18px 20px; font-size: .93rem; }
  .accordion details p { padding: 0 20px 20px; }

  .contact__cards { grid-template-columns: 1fr; gap: 12px; }
  .footer__bottom { padding-bottom: 90px; } /* espaço para o botão flutuante do WhatsApp */
  .footer__dev-sep { display: block; height: 4px; overflow: hidden; color: transparent; }
  .contact__item { flex-direction: row; align-items: center; padding: 16px; gap: 14px; }
  .contact__icon { width: 46px; height: 46px; border-radius: 14px; }
  .contact__item strong { font-size: .9rem; word-break: break-word; }

  .location__actions .btn { flex: 1 1 auto; }
  .location__media { padding-bottom: 56px; }
  .location__map { aspect-ratio: 1; border-radius: var(--radius); }
  .location__photo { width: 56%; left: -6px; border-width: 4px; }

  .plan { padding: 30px 24px 26px; }
  .plan__freq strong { font-size: 3.4rem; }
  .physio { grid-template-columns: 1fr; gap: 12px; }
  .physio__item { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; padding: 22px 20px; }
  .physio__icon { width: 52px; height: 52px; margin: 0; grid-row: span 2; border-radius: 16px; }
  .physio__icon svg { width: 28px; height: 28px; }
  .physio__formats { flex-direction: column; align-items: stretch; padding: 22px 20px; }
  .physio__options { flex-direction: column; align-items: flex-start; gap: 12px; }

  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}
