/* =========================================================
   Fisioterapia Reabilitar — Landing Page
   ========================================================= */

:root {
  --green-900: #0B3A27;
  --green: #0F4D34;          /* Verde institucional */
  --green-700: #1C6447;
  --sage: #8FB398;           /* Verde sálvia */
  --sage-soft: #CFE3D6;      /* Verde claro */
  --mint-bg: #EDF4EE;
  --cream: #F8F6EF;          /* Off white */
  --cream-2: #F2EEE3;
  --gold: #C9A96E;           /* Dourado fosco */
  --gold-dark: #A88A50;
  --ink: #2E2E2E;            /* Grafite */
  --muted: #5E625F;
  --white: #FFFFFF;

  --f-serif: "Playfair Display", Georgia, serif;
  --f-sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-script: "Allura", cursive;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(15, 77, 52, .06);
  --shadow: 0 18px 40px -18px rgba(15, 77, 52, .28);
  --container: 1180px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.ico { width: 1.25em; height: 1.25em; flex: none; }
.script { font-family: var(--f-script); font-weight: 400; line-height: 1; }

/* ---------- Tipografia de seção ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--green-700); margin: 0 0 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.eyebrow--light { color: var(--sage-soft); }

.section { padding: 110px 0; position: relative; }
.section--tight { padding: 64px 0; }
.section__head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section__head .eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--gold); }
.section__head--left { text-align: left; margin: 0; }
.section__head--left .eyebrow::after { display: none; }
.section__title {
  font-family: var(--f-serif); font-weight: 600;
  font-size: clamp(30px, 4vw, 46px); color: var(--green); letter-spacing: -.01em;
}
.section__title em { font-style: italic; font-weight: 500; color: var(--gold-dark); }
.section__title--light { color: var(--white); }
.section__lead { margin-top: 18px; color: var(--muted); font-size: 17px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--f-sans); font-weight: 600; font-size: 15px; letter-spacing: .01em;
  padding: 14px 24px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--lg { padding: 17px 30px; font-size: 16px; }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--primary { background: var(--green); color: var(--white); box-shadow: 0 12px 26px -12px rgba(15, 77, 52, .7); }
.btn--primary:hover { background: var(--green-700); box-shadow: 0 16px 30px -12px rgba(15, 77, 52, .75); }
.btn--gold { background: var(--gold); color: var(--green-900); box-shadow: 0 12px 26px -12px rgba(168, 138, 80, .8); }
.btn--gold:hover { background: #D6B87F; }
.btn--ghost { border-color: rgba(15, 77, 52, .3); color: var(--green); background: transparent; }
.btn--ghost:hover { border-color: var(--green); background: rgba(15, 77, 52, .05); }
.btn--light { background: var(--cream); color: var(--green); }
.btn--light:hover { background: var(--white); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s ease, box-shadow .3s ease, height .3s ease;
}
.header.is-scrolled {
  background: rgba(248, 246, 239, .92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(15, 77, 52, .08);
  --header-h: 66px;
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__emblem { width: 48px; height: 48px; transition: width .3s, height .3s; }
.is-scrolled .brand__emblem { width: 42px; height: 42px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--f-serif); font-weight: 700; font-size: 19px; color: var(--green); letter-spacing: .01em; }
.brand__tag { white-space: nowrap; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-dark); margin-top: 4px; font-weight: 600; }

.nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 500; }
.nav a:not(.btn) { color: var(--ink); position: relative; padding: 6px 0; white-space: nowrap; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.nav a:not(.btn):hover::after { transform: scaleX(1); }

.menu-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--green); margin: 5px 0; border-radius: 2px; transition: transform .3s, opacity .3s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + 60px) 0 90px;
  background:
    radial-gradient(1000px 600px at 85% 20%, rgba(207, 227, 214, .75), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(201, 169, 110, .14), transparent 60%),
    var(--cream);
}
.hero__leaf { position: absolute; color: var(--sage); opacity: .35; pointer-events: none; }
.hero__leaf--a { width: 180px; height: 300px; left: -40px; top: 120px; transform: rotate(-24deg); }
.hero__leaf--b { width: 140px; height: 240px; right: 38%; bottom: -60px; transform: rotate(18deg); opacity: .22; }

.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 56px; position: relative; }
.hero__title {
  font-family: var(--f-serif); font-weight: 600; color: var(--green);
  font-size: clamp(36px, 5.2vw, 64px); letter-spacing: -.015em; line-height: 1.08;
}
.hero__title em { font-style: italic; font-weight: 500; color: var(--gold-dark); display: inline-block; margin-top: 8px; }
.hero__lead { font-size: 18px; color: var(--muted); max-width: 540px; margin: 26px 0 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 36px; font-size: 14px; font-weight: 500; color: var(--green); }
.hero__trust li { display: flex; align-items: center; gap: 8px; }
.hero__trust .ico { width: 18px; height: 18px; color: var(--white); background: var(--sage); border-radius: 50%; padding: 3px; }

.hero__media { position: relative; justify-self: center; width: min(100%, 440px); }
.hero__frame {
  position: relative; border-radius: 240px 240px var(--radius-lg) var(--radius-lg);
  overflow: hidden; aspect-ratio: 4 / 5.3; background: var(--sage-soft);
  box-shadow: var(--shadow);
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 10%; }
.hero__media::before {
  content: ""; position: absolute; inset: -14px -14px 14px 14px;
  border: 1px solid var(--gold); border-radius: 240px 240px var(--radius-lg) var(--radius-lg);
  z-index: -1;
}
.hero__badge {
  position: absolute; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px);
  border-radius: 16px; box-shadow: var(--shadow); padding: 14px 18px;
}
.hero__badge--sign { left: -48px; bottom: 34px; display: flex; flex-direction: column; border-left: 3px solid var(--gold); }
.hero__badge--sign .script { font-size: 34px; color: var(--green); }
.hero__badge--sign small { font-size: 11px; color: var(--muted); letter-spacing: .04em; margin-top: 4px; }
.hero__badge--float {
  right: -96px; top: -8px; max-width: 220px; display: flex; gap: 12px; align-items: center;
  font-size: 13px; line-height: 1.35; color: var(--ink); animation: float 6s ease-in-out infinite;
}
.hero__badge--float strong { color: var(--green); }
.hero__badge-ico { width: 40px; height: 40px; border-radius: 50%; background: var(--sage-soft); color: var(--green); display: grid; place-items: center; flex: none; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- Como podemos ajudar ---------- */
.how-help { padding-top: 0; margin-top: -36px; z-index: 2; }
.how-help__box {
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: 40px 44px; text-align: center; border: 1px solid rgba(201, 169, 110, .25);
}
.how-help__title { font-family: var(--f-serif); font-weight: 600; font-size: clamp(24px, 3vw, 30px); color: var(--green); }
.how-help__sub { color: var(--muted); margin: 10px 0 26px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: 999px; font-size: 14px; font-weight: 500;
  background: var(--mint-bg); color: var(--green); border: 1px solid transparent;
  transition: all .25s ease;
}
.chip .ico { color: var(--gold-dark); }
.chip:hover { background: var(--green); color: var(--white); transform: translateY(-2px); }
.chip:hover .ico { color: var(--gold); }

/* ---------- Serviços ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service {
  position: relative; background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(15, 77, 52, .06);
  display: flex; flex-direction: column; transition: transform .35s ease, box-shadow .35s ease;
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service__media { aspect-ratio: 16 / 9; overflow: hidden; }
.service__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service:hover .service__media img { transform: scale(1.05); }
.service__body { padding: 0 28px 28px; position: relative; display: flex; flex-direction: column; flex: 1; }
.service__ico {
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--white); color: var(--green); margin-top: -29px; margin-bottom: 14px;
  border: 1px solid var(--gold); box-shadow: var(--shadow-sm);
}
.service__ico .ico { width: 26px; height: 26px; }
.service h3 { font-family: var(--f-serif); font-weight: 600; font-size: 22px; color: var(--green); margin-bottom: 8px; }
.service p { color: var(--muted); font-size: 15px; }
.service__list { display: grid; gap: 6px; margin: 4px 0 22px; font-size: 14px; }
.service__list li { display: flex; gap: 10px; align-items: baseline; }
.service__list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; transform: translateY(-2px); }
.service__link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--green); }
.service__link .ico { transition: transform .25s; }
.service__link:hover .ico { transform: translateX(4px); }
.service--featured { border: 1.5px solid var(--gold); }
.service__flag {
  position: absolute; z-index: 2; top: 16px; left: 16px;
  background: var(--gold); color: var(--green-900); font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px;
}
.service--cta {
  background: linear-gradient(160deg, var(--green) 0%, var(--green-900) 100%); color: var(--white);
  padding: 40px 32px; justify-content: center; overflow: hidden;
}
.service--cta h3 { color: var(--white); font-size: 28px; }
.service--cta p { color: rgba(255, 255, 255, .8); margin: 8px 0 26px; }
.service--cta .btn { align-self: flex-start; }
.service--cta__leaf { position: absolute; right: -30px; bottom: -40px; width: 160px; height: 260px; color: var(--gold); opacity: .25; transform: rotate(-20deg); }

/* ---------- Sobre ---------- */
.about { background: var(--green); color: rgba(255, 255, 255, .86); overflow: hidden; }
.about::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 500px at 100% 0%, rgba(143, 179, 152, .25), transparent 60%),
              radial-gradient(500px 400px at 0% 100%, rgba(201, 169, 110, .16), transparent 60%);
  pointer-events: none;
}
.about__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: center; position: relative; }
.about__media { position: relative; max-width: 420px; justify-self: center; width: 100%; }
.about__photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.about__media::after {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--gold);
  border-radius: var(--radius-lg); z-index: -1;
}
.about__seal {
  position: absolute; right: -28px; bottom: -28px; width: 110px; height: 110px; border-radius: 50%;
  background: var(--cream); display: grid; place-items: center; box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .5);
}
.about__seal img { width: 92px; height: 92px; }
.about .section__title .script { font-size: 1.5em; color: var(--gold); display: block; margin-top: 6px; }
.about__role { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--sage-soft); margin: 14px 0 26px; font-weight: 500; }
.about strong { color: var(--white); font-weight: 600; }
.about__quote {
  margin: 30px 0; padding: 22px 26px; border-left: 2px solid var(--gold);
  background: rgba(255, 255, 255, .05); border-radius: 0 var(--radius) var(--radius) 0; position: relative;
}
.about__quote .ico { color: var(--gold); width: 26px; height: 26px; margin-bottom: 6px; }
.about__quote p { font-family: var(--f-serif); font-style: italic; font-size: 21px; color: var(--white); margin: 0; line-height: 1.4; }
.about__pillars { display: grid; gap: 12px; margin-bottom: 34px; }
.about__pillars li { display: flex; align-items: center; gap: 14px; font-weight: 500; color: var(--white); }
.about__pillars span { font-family: var(--f-serif); color: var(--gold); font-size: 20px; min-width: 28px; }

/* ---------- Vídeo ---------- */
.video {
  position: relative; max-width: 960px; margin: 0 auto; aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg); overflow: hidden; background: var(--green-900);
  box-shadow: var(--shadow); border: 6px solid var(--white);
}
.video video { width: 100%; height: 100%; display: block; background: #000; }
.video__poster {
  all: unset; cursor: pointer; position: absolute; inset: 0; display: block;
}
.video__poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; transition: transform .8s ease; }
.video__poster::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(11, 58, 39, .9) 0%, rgba(11, 58, 39, .35) 38%, rgba(11, 58, 39, 0) 60%), linear-gradient(90deg, rgba(11, 58, 39, .45) 0%, rgba(11, 58, 39, 0) 55%);
}
.video__poster[hidden] { display: none; }
.video__poster:hover img { transform: scale(1.04); }
.video__poster:focus-visible { outline: 3px solid var(--gold); outline-offset: -6px; }
.video__play {
  position: relative; flex: none; width: 84px; height: 84px; border-radius: 50%;
  display: grid; place-items: center; background: var(--gold); color: var(--green-900);
  box-shadow: 0 0 0 12px rgba(201, 169, 110, .28), 0 18px 40px -10px rgba(0, 0, 0, .5);
  transition: transform .3s ease;
}
.video__play .ico { width: 34px; height: 34px; margin-left: 5px; }
.video__play::before {
  content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 2px solid var(--gold);
  animation: pulse 2.4s ease-out infinite;
}
.video__poster:hover .video__play { transform: scale(1.08); }
.video__caption {
  position: absolute; z-index: 2; left: 40px; bottom: 34px; display: flex; align-items: center; gap: 26px; color: var(--white); text-align: left;
}
.video__text { display: flex; flex-direction: column; }
.video__caption .script { font-size: 44px; color: var(--white); }
.video__caption small { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--sage-soft); margin-top: 4px; font-weight: 600; }
.video__soon {
  position: absolute; z-index: 3; left: 50%; top: 22px; transform: translateX(-50%); margin: 0;
  background: var(--cream); color: var(--green); padding: 10px 20px; border-radius: 999px; font-weight: 600; font-size: 14px;
  box-shadow: var(--shadow); white-space: nowrap;
}
.video__topics { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px; margin-top: 36px; font-weight: 500; color: var(--green); font-size: 15px; }
.video__topics li { display: flex; align-items: center; gap: 10px; }
.video__topics .ico { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--sage-soft); box-sizing: border-box; }

/* ---------- Diferenciais ---------- */
.values { background: var(--cream-2); }
.values__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; }
.value { text-align: center; padding: 10px; }
.value .ico { width: 44px; height: 44px; color: var(--green); padding: 10px; border-radius: 50%; background: var(--sage-soft); box-sizing: content-box; margin: 0 auto 16px; }
.value h3 { font-family: var(--f-serif); font-size: 19px; color: var(--green); margin-bottom: 6px; font-weight: 600; }
.value p { font-size: 14px; color: var(--muted); margin: 0; }

/* ---------- Passos ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-bottom: 52px; counter-reset: step; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 32px; left: 12%; right: 12%; height: 1px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 6px, transparent 6px 12px);
}
.step { text-align: center; position: relative; padding: 0 8px; }
.step__num {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 20px;
  font-family: var(--f-serif); font-size: 26px; font-weight: 600; color: var(--green);
  background: var(--cream); border: 1px solid var(--gold); position: relative; box-shadow: 0 0 0 8px var(--cream);
}
.step h3 { font-family: var(--f-serif); font-size: 20px; color: var(--green); margin-bottom: 8px; font-weight: 600; }
.step p { font-size: 15px; color: var(--muted); }

/* ---------- Espaço ---------- */
.space { background: var(--mint-bg); }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, 230px); gap: 18px; }
.gallery__item { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; }
.gallery__item--main { grid-row: span 2; }
.gallery__item--main img { object-position: 50% 30%; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item figcaption {
  position: absolute; left: 14px; bottom: 14px; background: rgba(248, 246, 239, .92);
  color: var(--green); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: 7px 12px; border-radius: 999px;
}

/* ---------- Depoimentos ---------- */
.tcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tcard {
  margin: 0; background: var(--white); border-radius: var(--radius-lg); padding: 30px 30px 26px;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(15, 77, 52, .06); display: flex; flex-direction: column;
  position: relative;
}
.tcard::before {
  content: "\201C"; position: absolute; top: 4px; right: 22px; font-family: var(--f-serif);
  font-size: 90px; color: var(--sage-soft); line-height: 1;
}
.stars { color: var(--gold); letter-spacing: 3px; font-size: 15px; margin-bottom: 14px; }
.tcard blockquote { margin: 0 0 22px; font-size: 15px; color: var(--ink); flex: 1; }
.tcard figcaption { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--cream-2); padding-top: 18px; }
.tcard figcaption span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.tcard figcaption strong { color: var(--green); font-size: 15px; }
.tcard figcaption small { color: var(--gold-dark); font-size: 12px; font-weight: 500; letter-spacing: .04em; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--sage-soft); color: var(--green); font-family: var(--f-serif); font-weight: 600; font-size: 18px;
}
.testimonials__more { text-align: center; margin: 38px 0 0; }
.testimonials__more a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--green); border-bottom: 1px solid var(--gold); padding-bottom: 3px; }

/* ---------- Equipe ---------- */
.team { background: var(--cream-2); }
.team__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.member { text-align: center; }
.member__photo {
  aspect-ratio: 1; border-radius: 50%; overflow: hidden; margin: 0 auto 18px; width: 78%;
  border: 1px solid var(--gold); padding: 6px; background: var(--cream);
}
.member__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; border-radius: 50%; }
.member__photo--ph { display: grid; place-items: center; }
.member__photo--ph .ico { width: 100%; height: 100%; padding: 30%; border-radius: 50%; background: var(--sage-soft); color: var(--green); }
.member h3 { font-family: var(--f-serif); color: var(--green); font-size: 20px; font-weight: 600; margin-bottom: 4px; }
.member p { font-size: 14px; color: var(--muted); }
.member small { color: var(--gold-dark); letter-spacing: .06em; }

/* ---------- Comunidade ---------- */
.community__box {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  background: linear-gradient(120deg, var(--green-700), var(--green)); color: rgba(255, 255, 255, .85);
  border-radius: var(--radius-lg); padding: 48px 52px; position: relative; overflow: hidden;
}
.community__box::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%;
  border: 1px solid rgba(201, 169, 110, .4);
}
.community__box h2 { font-family: var(--f-serif); color: var(--white); font-size: clamp(26px, 3vw, 34px); font-weight: 600; margin-bottom: 10px; }
.community__box p { margin: 0; max-width: 620px; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq .section__head { position: sticky; top: calc(var(--header-h) + 30px); }
.faq .section__lead { margin-bottom: 28px; }
.faq__list { display: grid; gap: 14px; }
.faq details {
  background: var(--white); border-radius: var(--radius); border: 1px solid rgba(15, 77, 52, .08);
  transition: box-shadow .3s, border-color .3s;
}
.faq details[open] { box-shadow: var(--shadow-sm); border-color: rgba(201, 169, 110, .6); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 60px 20px 24px; position: relative;
  font-weight: 600; color: var(--green); font-size: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 22px; height: 22px; margin-top: -11px;
  border-radius: 50%; background: var(--sage-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%230F4D34' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Contato ---------- */
.contact { background: var(--mint-bg); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: stretch; }
.contact__list { display: grid; gap: 22px; margin: 30px 0 36px; }
.contact__list li { display: flex; gap: 16px; align-items: flex-start; }
.contact__list strong { display: block; color: var(--green); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 2px; }
.contact__list a { color: var(--ink); border-bottom: 1px solid var(--gold); }
.contact__ico { width: 46px; height: 46px; border-radius: 50%; background: var(--white); color: var(--green); display: grid; place-items: center; flex: none; border: 1px solid rgba(201, 169, 110, .5); }
.contact__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.contact__map { border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; box-shadow: var(--shadow); border: 6px solid var(--white); }
.contact__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; filter: saturate(.8); }

/* ---------- CTA final ---------- */
.final-cta {
  padding: 110px 0; text-align: center; color: rgba(255, 255, 255, .85); position: relative; overflow: hidden;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(201, 169, 110, .3), transparent 70%),
    linear-gradient(180deg, var(--green) 0%, var(--green-900) 100%);
}
.final-cta__emblem { margin: 0 auto 26px; filter: drop-shadow(0 0 30px rgba(201, 169, 110, .5)); }
.final-cta h2 { font-family: var(--f-serif); color: var(--white); font-weight: 600; font-size: clamp(30px, 4.2vw, 48px); line-height: 1.2; }
.final-cta h2 em { color: var(--gold); font-weight: 500; }
.final-cta p { margin: 22px auto 34px; max-width: 520px; font-size: 17px; }

/* ---------- Footer ---------- */
.footer { background: var(--green-900); color: rgba(255, 255, 255, .7); padding: 56px 0 28px; font-size: 14px; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid rgba(201, 169, 110, .25); }
.footer__brand { display: flex; gap: 16px; align-items: center; }
.footer__brand div { display: flex; flex-direction: column; line-height: 1.4; }
.footer__brand strong { font-family: var(--f-serif); color: var(--white); font-size: 20px; }
.footer__brand span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.footer__brand .script { font-size: 26px; letter-spacing: 0; text-transform: none; color: var(--sage-soft); margin-top: 6px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer__nav a:hover { color: var(--gold); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 22px; font-size: 13px; }

/* Crédito T3rnary Labs */
.credit { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .08); text-align: center; }
.credit-in { font-size: 12.5px; color: rgba(255, 255, 255, .5); letter-spacing: .02em; display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 8px; }
.t3 { display: inline-flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .78); transition: color .25s; }
.t3 svg { stroke: #3FD8A6; }
.t3 b { font-weight: 700; letter-spacing: .14em; font-size: 11.5px; }
.t3:hover { color: #3FD8A6; }
.credit-tag { color: rgba(255, 255, 255, .42); }
.credit-tag::before { content: "· "; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  display: flex; align-items: center; gap: 10px; height: 60px; padding: 0 18px;
  background: #25D366; color: var(--white); border-radius: 999px; font-weight: 600; font-size: 14px;
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .7);
  transition: transform .3s, opacity .3s;
}
.wa-float .ico { width: 28px; height: 28px; }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #25D366;
  animation: pulse 2.4s ease-out infinite;
}
.wa-float:hover { transform: scale(1.05); }
@keyframes pulse { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(1.35); } }

/* ---------- Animação de entrada ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s ease; }
.reveal--delay { transition-delay: .15s; }
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1080px) {
  .nav { gap: 18px; font-size: 13px; }
  .brand__tag { letter-spacing: .12em; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .hero__badge--sign { left: -20px; }
  .hero__badge--float { right: -48px; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .menu-toggle { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 24px;
    background: var(--cream); box-shadow: 0 20px 30px -20px rgba(15, 77, 52, .3);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .3s ease;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--cream-2); font-size: 16px; }
  .nav a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 18px; padding: 14px; }
  .header.menu-open { background: var(--cream); }

  .hero { padding-top: calc(var(--header-h) + 36px); }
  .hero__grid { grid-template-columns: 1fr; gap: 64px; }
  .hero__content { text-align: center; }
  .hero__lead { margin-left: auto; margin-right: auto; }
  .hero__actions, .hero__trust { justify-content: center; }
  .hero__leaf--b { display: none; }

  .about__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; gap: 56px; }
  .faq .section__head { position: static; }
  .values__grid, .team__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
  .tcards {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(290px, 80%);
    overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 18px; margin: 0 -4px;
    scrollbar-width: thin;
  }
  .tcard { scroll-snap-align: start; }
  .community__box { flex-direction: column; align-items: flex-start; padding: 40px 32px; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 76px 0; }
  .section--tight { padding: 48px 0; }
  .section__head { margin-bottom: 40px; }
  .brand__name { font-size: 16px; }
  .brand__tag { font-size: 8.5px; letter-spacing: .14em; }
  .brand__emblem { width: 40px; height: 40px; }

  .hero__title { font-size: 34px; }
  .hero__lead { font-size: 16px; }
  .btn { white-space: normal; text-align: center; }
  .hero__actions .btn, .steps-section .btn { width: 100%; }
  .eyebrow::before, .section__head .eyebrow::after { width: 18px; }
  .hero__trust { flex-direction: column; align-items: center; gap: 8px; }
  .hero__media { width: 82%; }
  .hero__badge--sign { left: -12%; bottom: 20px; padding: 10px 14px; }
  .hero__badge--sign .script { font-size: 26px; }
  .hero__badge--sign small { font-size: 9.5px; }
  .hero__badge--float { right: -14%; top: -18px; max-width: 170px; font-size: 11.5px; padding: 10px 12px; }
  .hero__badge-ico { width: 32px; height: 32px; }

  .how-help { margin-top: -24px; }
  .how-help__box { padding: 30px 20px; }
  .chip { width: 100%; justify-content: flex-start; }

  .services { grid-template-columns: 1fr; }
  .service__body { padding: 0 22px 24px; }
  .about__seal { right: -8px; width: 90px; height: 90px; }
  .about__seal img { width: 74px; height: 74px; }
  .about__media::after { inset: 12px -10px -12px 10px; }
  .about__quote p { font-size: 18px; }
  .about .btn { width: 100%; }

  .video { border-width: 4px; aspect-ratio: 4 / 4.4; }
  .video__play { width: 60px; height: 60px; }
  .video__play .ico { width: 24px; height: 24px; margin-left: 3px; }
  .video__caption { left: 18px; bottom: 18px; gap: 16px; }
  .video__caption .script { font-size: 30px; }
  .video__soon { top: 14px; font-size: 13px; }
  .video__topics { flex-direction: column; align-items: flex-start; gap: 12px; padding: 0 4px; }

  .values__grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .steps { grid-template-columns: 1fr; }
  .team__grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .member h3 { font-size: 17px; }

  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 320px 140px 140px; gap: 12px; }
  .gallery__item--main { grid-column: span 2; grid-row: auto; }

  .contact__actions .btn { width: 100%; }
  .contact__map, .contact__map iframe { min-height: 320px; }
  .final-cta { padding: 80px 0; }
  .final-cta .btn { width: 100%; }

  .wa-float { right: 16px; bottom: 16px; height: 58px; width: 58px; padding: 0; justify-content: center; }
  .wa-float__label { display: none; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .credit-tag { flex-basis: 100%; }
  .credit-tag::before { content: none; }
  .footer { padding-bottom: 96px; }
  .footer__inner { gap: 26px; padding-bottom: 28px; }
  .footer__nav { gap: 10px 20px; }
  .footer__bottom { flex-direction: column; padding-top: 22px; }
  .gallery__item figcaption { font-size: 10.5px; letter-spacing: .06em; white-space: nowrap; left: 10px; bottom: 10px; }
}

/* Ajustes exclusivos do celular */
@media (max-width: 640px) {
  /* Hero: título → foto → texto → botões → selos */
  .hero { padding-top: calc(var(--header-h) + 26px); padding-bottom: 70px; }
  .hero__grid { display: flex; flex-direction: column; align-items: center; gap: 0; text-align: center; }
  .hero__content { display: contents; }
  .hero__content .eyebrow { order: 1; margin-bottom: 10px; }
  .hero__title { order: 2; font-size: 28px; }
  .hero__title em { margin-top: 4px; }
  .hero__media { order: 3; margin: 64px auto 40px; }
  .hero__lead { order: 4; margin: 0 0 26px; }
  .hero__actions { order: 5; width: 100%; }
  .hero__trust { order: 6; margin-top: 26px; }

  /* Card "+5 mil" acima do rosto, no canto do arco */
  .hero__badge--float { top: -50px; right: -10%; text-align: left; }
  .hero__badge--sign { text-align: left; }

  /* "Mais que uma clínica": cabe na tela */
  .community__box { width: auto; margin: 0 16px; padding: 30px 22px; gap: 22px; }
  .community__box h2 { font-size: 24px; }
  .community__box p { font-size: 15px; }
  .community__box .btn { width: 100%; }
  .community__box::after { width: 180px; height: 180px; right: -70px; top: -70px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
