/* ============================================================
   KARINA SIMÕES MOURA · PSICÓLOGA — style.css
   Paleta oficial da marca:
   Dourado Cognitivo  #C38A44  (principal)
   Champagne          #E9D7B8  (fundos acolhedores)
   Cobre Profundo     #A4621B  (detalhes sérios)
   Fúcsia Editorial   #811661  (acento pontual)
   Grafite Elegante   #1B1A16  (textos e botões escuros)
============================================================ */

/* ------------------------------------------------------------
   0 · TOKENS E RESET
------------------------------------------------------------ */
:root {
  --gold: #C38A44;
  --gold-soft: #d9a967;
  --champagne: #E9D7B8;
  --champagne-bg: #F3E9D6;   /* champagne suavizado p/ grandes áreas */
  --cream: #FBF6EC;          /* off-white de base */
  --copper: #A4621B;
  --fuchsia: #811661;
  --graphite: #1B1A16;
  --graphite-70: rgba(27, 26, 22, 0.72);
  --white: #FFFFFF;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;

  --radius: 22px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px -18px rgba(27, 26, 22, 0.22);
  --shadow-soft: 0 10px 30px -12px rgba(163, 98, 27, 0.25);
  --transition: 0.4s cubic-bezier(0.22, 1, 0.36, 1);

  --container: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--graphite);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: var(--copper); text-decoration: none; }
ul { list-style: none; }
strong { font-weight: 700; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h1 em, h2 em, h3 em {
  font-style: italic;
  font-weight: 400;
  color: var(--copper);
}

.container { width: min(var(--container), 92%); margin-inline: auto; }
.container--narrow { max-width: 820px; }
.center { text-align: center; }

.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; position: relative; }
.section--champagne { background: linear-gradient(180deg, var(--champagne-bg) 0%, #EFE2C8 100%); }

.section__head { max-width: 760px; margin: 0 auto 3.5rem; text-align: center; }
.section__head h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); }
.section__sub { margin-top: 1rem; color: var(--graphite-70); font-size: 1.1rem; }
.section__sub--note { font-size: 0.85rem; opacity: 0.75; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 34px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.hl-gold {
  background: linear-gradient(120deg, var(--copper), var(--gold) 60%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ------------------------------------------------------------
   1 · BARRA DE PROGRESSO
------------------------------------------------------------ */
.progress-bar {
  position: fixed; top: 0; left: 0; z-index: 1000;
  width: 0%; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--copper));
}

/* ------------------------------------------------------------
   2 · BOTÕES E MICRO-INTERAÇÕES
------------------------------------------------------------ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: 1.5px solid transparent;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  will-change: transform;
}
.btn:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; }

.btn--gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--copper) 120%);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}
.btn--gold:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 22px 44px -14px rgba(164, 98, 27, 0.5); }
.btn--gold:active { transform: translateY(-1px) scale(0.99); }

.btn--dark { background: var(--graphite); color: var(--champagne); }
.btn--dark:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -14px rgba(27, 26, 22, 0.55); }

.btn--ghost {
  background: transparent;
  color: var(--graphite);
  border-color: rgba(27, 26, 22, 0.25);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--copper); transform: translateY(-2px); }

.btn--xl { padding: 1.2rem 2.4rem; font-size: 1.08rem; }
.btn--block { width: 100%; }
.btn--nav { padding: 0.65rem 1.3rem; font-size: 0.92rem; }

/* Brilho que atravessa o botão */
.btn__shine {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.55) 50%, transparent 70%);
  transform: translateX(-120%);
  pointer-events: none;
}
.btn:hover .btn__shine { animation: shine 0.9s ease forwards; }
@keyframes shine { to { transform: translateX(120%); } }

/* Pulso do CTA final */
.btn--pulse::after {
  content: "";
  position: absolute; inset: -4px;
  border-radius: inherit;
  border: 2px solid var(--gold);
  animation: pulse-ring 2.2s ease-out infinite;
  pointer-events: none;
}
@keyframes pulse-ring {
  0%   { transform: scale(1); opacity: 0.9; }
  70%  { transform: scale(1.12); opacity: 0; }
  100% { opacity: 0; }
}

.icon-wa { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }

/* ------------------------------------------------------------
   3 · HEADER
------------------------------------------------------------ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  padding: 0.9rem 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
.header.is-scrolled {
  background: rgba(251, 246, 236, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px -12px rgba(27, 26, 22, 0.18);
  padding: 0.55rem 0;
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.header__logo { display: flex; align-items: center; gap: 0.7rem; color: var(--graphite); }
.header__logo-icon { width: 44px; height: 44px; object-fit: contain; }
.header__logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.header__logo-text strong { text-transform: uppercase; font-size: 0.95rem; font-weight: 800; }
.header__logo-text small { font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--copper); }

.nav { display: flex; align-items: center; gap: 1.4rem; }
.nav__link {
  position: relative;
  color: var(--graphite);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.3rem 0;
}
.nav__link::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s ease;
}
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }

.header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: 0; cursor: pointer;
  padding: 8px;
}
.header__burger span {
  width: 26px; height: 2px;
  background: var(--graphite);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.header__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__burger.is-open span:nth-child(2) { opacity: 0; }
.header__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------------------------------------
   4 · HERO
------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 7.5rem 0 4rem;
  background:
    radial-gradient(1000px 600px at 85% -10%, rgba(195, 138, 68, 0.18), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(233, 215, 184, 0.8), transparent 60%),
    var(--cream);
  overflow: hidden;
}
.hero__particles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

.hero__grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero__title { font-size: clamp(2.1rem, 4.8vw, 3.55rem); margin-bottom: 1.4rem; }
.hero__sub { font-size: 1.12rem; color: var(--graphite-70); max-width: 56ch; margin-bottom: 2rem; }

.hero__ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.6rem; }

.hero__stats {
  display: flex; flex-wrap: wrap; gap: 2.4rem;
  border-top: 1px solid rgba(195, 138, 68, 0.35);
  padding-top: 1.6rem;
}
.hero__stats li { display: flex; flex-direction: column; }
.stat__num {
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 600;
  color: var(--copper);
  line-height: 1;
}
.stat__num::after { content: "+"; color: var(--gold); }
.stat__label { font-size: 0.85rem; color: var(--graphite-70); margin-top: 0.3rem; }

/* Moldura hexagonal — elemento-assinatura derivado do ícone da logo */
.hex-frame {
  position: relative;
  aspect-ratio: 0.92;
  clip-path: polygon(50% 0%, 96% 25%, 96% 75%, 50% 100%, 4% 75%, 4% 25%);
  background: linear-gradient(150deg, var(--gold), var(--champagne) 55%, var(--copper));
  padding: 6px;
  transition: transform 0.5s ease;
  will-change: transform;
}
.hex-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  clip-path: polygon(50% 0%, 96% 25%, 96% 75%, 50% 100%, 4% 75%, 4% 25%);
}
.hex-frame--tall { aspect-ratio: 0.8; }

.hero__figure { position: relative; }
.hero__badge {
  position: absolute;
  left: -8%; bottom: 6%;
  display: flex; align-items: center; gap: 0.7rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(195, 138, 68, 0.4);
  border-radius: var(--radius-sm);
  padding: 0.7rem 1rem;
  box-shadow: var(--shadow-soft);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
  max-width: 300px;
  animation: float 5s ease-in-out infinite;
}
.hero__badge img { width: 34px; height: 34px; }
.hero__badge small { font-weight: 400; color: var(--graphite-70); }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero__scroll {
  position: absolute; left: 50%; bottom: 1.6rem;
  transform: translateX(-50%);
  width: 26px; height: 44px;
  border: 1.5px solid var(--copper);
  border-radius: 999px;
  display: flex; justify-content: center;
}
.hero__scroll span {
  width: 4px; height: 9px;
  background: var(--copper);
  border-radius: 999px;
  margin-top: 8px;
  animation: scroll-hint 1.8s ease infinite;
}
@keyframes scroll-hint {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { opacity: 0; }
}

/* ------------------------------------------------------------
   5 · PROBLEMA / AGITAÇÃO
------------------------------------------------------------ */
.problem__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
  margin-bottom: 3rem;
}
.problem__card {
  background: var(--white);
  border: 1px solid rgba(195, 138, 68, 0.25);
  border-radius: var(--radius);
  padding: 1.9rem 1.6rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.problem__card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}
.problem__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  clip-path: polygon(50% 0%, 96% 25%, 96% 75%, 50% 100%, 4% 75%, 4% 25%);
  background: linear-gradient(135deg, var(--champagne), var(--gold-soft));
  color: var(--graphite);
  font-size: 1.4rem;
  margin-bottom: 1.1rem;
}
.problem__card h3 { font-size: 1.22rem; margin-bottom: 0.6rem; }
.problem__card p { font-size: 0.97rem; color: var(--graphite-70); }

.problem__agitate {
  max-width: 740px;
  margin: 0 auto 2.4rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  line-height: 1.55;
  color: var(--graphite);
}
.problem__agitate strong { color: var(--fuchsia); }

/* ------------------------------------------------------------
   6 · SOBRE
------------------------------------------------------------ */
.about__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.about__figure { position: sticky; top: 110px; }
.about__floating-card {
  position: absolute;
  right: -6%; bottom: -8%;
  width: 42%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 4px solid var(--cream);
  box-shadow: var(--shadow);
  transform: rotate(3deg);
  transition: transform 0.5s ease;
}
.about__figure:hover .about__floating-card { transform: rotate(0deg) translateY(-6px); }

.about__content h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 1.2rem; }
.about__lead {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.28rem;
  color: var(--copper);
  border-left: 3px solid var(--gold);
  padding-left: 1.2rem;
  margin-bottom: 2rem;
}
.about__creds { display: grid; gap: 1rem; margin-bottom: 2rem; }
.about__creds li {
  position: relative;
  padding-left: 2rem;
  font-size: 0.99rem;
  color: var(--graphite-70);
}
.about__creds li strong { color: var(--graphite); }
.about__creds li::before {
  content: "";
  position: absolute; left: 0; top: 0.45em;
  width: 14px; height: 14px;
  clip-path: polygon(50% 0%, 96% 25%, 96% 75%, 50% 100%, 4% 75%, 4% 25%);
  background: linear-gradient(135deg, var(--gold), var(--copper));
}
.about__personal {
  background: rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(164, 98, 27, 0.4);
  padding: 1.2rem 1.4rem;
  font-size: 0.98rem;
  margin-bottom: 2rem;
}

/* ------------------------------------------------------------
   7 · SOLUÇÃO / BENEFÍCIOS
------------------------------------------------------------ */
.solution__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.solution__card {
  background: linear-gradient(170deg, var(--white), var(--champagne-bg));
  border-radius: var(--radius);
  padding: 2.1rem 1.8rem;
  border: 1px solid rgba(195, 138, 68, 0.28);
  transition: transform var(--transition), box-shadow var(--transition);
}
.solution__card:hover { transform: translateY(-8px) scale(1.01); box-shadow: var(--shadow); }
.solution__num {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  background: linear-gradient(135deg, var(--gold), var(--copper));
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  margin-bottom: 1.1rem;
}
.solution__card h3 { font-size: 1.3rem; margin-bottom: 0.7rem; }
.solution__card p { color: var(--graphite-70); font-size: 0.99rem; }

.solution__strip {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem;
}
.solution__strip-item {
  background: var(--graphite);
  color: var(--champagne);
  border-radius: 999px;
  padding: 0.6rem 1.6rem;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  transition: transform var(--transition), background var(--transition);
}
.solution__strip-item:hover { transform: translateY(-4px); background: var(--copper); color: var(--white); }

/* ------------------------------------------------------------
   8 · SERVIÇOS (TCC E TE)
------------------------------------------------------------ */
.service__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.service__grid--reverse .service__media { order: 2; }
.service__grid--reverse .service__content { order: 1; }

.video-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(195, 138, 68, 0.4);
  box-shadow: var(--shadow);
  background: var(--graphite);
  transition: transform 0.5s ease;
}
.video-frame video { width: 100%; aspect-ratio: 16 / 12; object-fit: cover; }

.service__content h2 { font-size: clamp(1.8rem, 3.8vw, 2.6rem); margin-bottom: 1.2rem; }
.service__content p { margin-bottom: 1.1rem; color: var(--graphite-70); }
.service__question {
  font-size: 1.35rem;
  color: var(--copper);
  margin-bottom: 0.8rem;
}
.service__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.35rem, 2.6vw, 1.7rem);
  color: var(--fuchsia);
  border-left: 3px solid var(--fuchsia);
  padding-left: 1.2rem;
  margin-bottom: 1.4rem;
}
.service .btn { margin-top: 0.6rem; }

/* ------------------------------------------------------------
   9 · CLÍNICA — GALERIA
------------------------------------------------------------ */
.clinic__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.clinic__gallery figure {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(195, 138, 68, 0.3);
  aspect-ratio: 3 / 2;
}
.clinic__gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease, filter 0.7s ease;
}
.clinic__gallery figure:hover img { transform: scale(1.07); filter: saturate(1.1); }

/* ------------------------------------------------------------
   10 · DEPOIMENTOS
------------------------------------------------------------ */
.testi__slider { max-width: 860px; margin: 0 auto; overflow: hidden; }
.testi__track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.testi__card {
  flex: 0 0 100%;
  background: var(--white);
  border: 1px solid rgba(195, 138, 68, 0.3);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 4vw, 3rem);
  text-align: center;
}
.testi__stars { color: var(--gold); letter-spacing: 0.2em; font-size: 1.1rem; margin-bottom: 1.2rem; }
.testi__card p {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 1.6rem;
}
.testi__card footer strong { display: block; color: var(--copper); }
.testi__card footer span { font-size: 0.88rem; color: var(--graphite-70); }

.testi__controls {
  display: flex; align-items: center; justify-content: center;
  gap: 1.4rem; margin-top: 1.8rem;
}
.testi__btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--copper);
  background: transparent;
  color: var(--copper);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.testi__btn:hover { background: var(--copper); color: var(--white); transform: scale(1.08); }
.testi__dots { display: flex; gap: 0.55rem; }
.testi__dots button {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(164, 98, 27, 0.3);
  cursor: pointer;
  transition: transform var(--transition), background var(--transition);
}
.testi__dots button.is-active { background: var(--copper); transform: scale(1.35); }

/* ------------------------------------------------------------
   11 · FAQ
------------------------------------------------------------ */
.faq__list { display: grid; gap: 0.9rem; margin-bottom: 2.6rem; }
.faq__item {
  background: var(--white);
  border: 1px solid rgba(195, 138, 68, 0.3);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.faq__item[open] { border-color: var(--gold); box-shadow: var(--shadow-soft); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 3.2rem 1.15rem 1.4rem;
  font-weight: 600;
  font-size: 1.02rem;
  position: relative;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute; right: 1.3rem; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--copper);
  transition: transform 0.35s ease;
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__answer { padding: 0 1.4rem 1.3rem; color: var(--graphite-70); }

/* ------------------------------------------------------------
   12 · EBOOKS / FORMULÁRIO
------------------------------------------------------------ */
.ebooks__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
.ebooks__cards { display: grid; gap: 1.1rem; }

.ebook-card { display: block; cursor: pointer; }
.ebook-card input { position: absolute; opacity: 0; pointer-events: none; }
.ebook-card__body {
  background: var(--white);
  border: 1.5px solid rgba(195, 138, 68, 0.3);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.ebook-card:hover .ebook-card__body { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.ebook-card input:checked + .ebook-card__body {
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(195, 138, 68, 0.25), var(--shadow-soft);
  background: linear-gradient(160deg, var(--white), var(--champagne-bg));
}
.ebook-card input:focus-visible + .ebook-card__body { outline: 3px solid var(--copper); outline-offset: 2px; }
.ebook-card__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fuchsia);
  background: rgba(129, 22, 97, 0.08);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  margin-bottom: 0.7rem;
}
.ebook-card__body h3 { font-size: 1.28rem; margin-bottom: 0.4rem; }
.ebook-card__body p { font-size: 0.94rem; color: var(--graphite-70); }

.ebook-form {
  position: relative;
  background: var(--graphite);
  color: var(--champagne);
  border-radius: var(--radius);
  padding: 2.2rem 2rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.ebook-form__title {
  font-size: 1.5rem;
  color: var(--champagne);
  margin-bottom: 1.6rem;
}
.field { margin-bottom: 1.2rem; }
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  color: var(--gold-soft);
}
.field input {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(233, 215, 184, 0.25);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition), background var(--transition);
}
.field input::placeholder { color: rgba(233, 215, 184, 0.45); }
.field input:focus { outline: none; border-color: var(--gold); background: rgba(255, 255, 255, 0.1); }
.field__error { display: none; font-size: 0.8rem; color: #f0a5a5; margin-top: 0.3rem; }
.field.has-error input { border-color: #d97e7e; }
.field.has-error .field__error { display: block; }

.ebook-form__privacy {
  font-size: 0.8rem;
  text-align: center;
  opacity: 0.7;
  margin-top: 0.9rem;
}
.ebook-form__success {
  position: absolute; inset: 0;
  background: var(--graphite);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 2rem;
  animation: fade-in 0.5s ease;
}
.ebook-form__success[hidden]{
    display: none !important;
}
.ebook-form__success-icon {
  width: 68px; height: 68px;
  display: grid; place-items: center;
  clip-path: polygon(50% 0%, 96% 25%, 96% 75%, 50% 100%, 4% 75%, 4% 25%);
  background: linear-gradient(135deg, var(--gold), var(--copper));
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 1.1rem;
}
.ebook-form__success h4 { font-size: 1.4rem; color: var(--champagne); margin-bottom: 0.5rem; }
.ebook-form__success p { font-size: 0.95rem; opacity: 0.85; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ------------------------------------------------------------
   13 · AGENDAR CONSULTA
------------------------------------------------------------ */
.schedule__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: center;
}
.schedule__info h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 1rem; }
.schedule__info > p { color: var(--graphite-70); margin-bottom: 1.8rem; }
.schedule__details { display: grid; gap: 1.3rem; margin-bottom: 2.2rem; }
.schedule__details li {
  padding-left: 1.6rem;
  border-left: 2px solid var(--gold);
  font-size: 0.98rem;
  color: var(--graphite-70);
}
.schedule__details strong { display: block; color: var(--graphite); margin-bottom: 0.2rem; }
.schedule__details a { font-weight: 700; }

.schedule__map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(195, 138, 68, 0.4);
  box-shadow: var(--shadow);
  height: 100%;
  min-height: 420px;
}
.schedule__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; }

/* ------------------------------------------------------------
   14 · GARANTIA + CTA FINAL
------------------------------------------------------------ */
.final-cta {
  background:
    radial-gradient(900px 500px at 50% -20%, rgba(195, 138, 68, 0.22), transparent 65%),
    var(--graphite);
  color: var(--champagne);
}
.final-cta__icon { width: 64px; margin: 0 auto 1.4rem; }
.final-cta h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  color: var(--white);
  margin-bottom: 1.4rem;
}
.final-cta h2 em { color: var(--gold-soft); }
.final-cta__text { max-width: 680px; margin: 0 auto 1.8rem; opacity: 0.9; }
.final-cta__seals {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.8rem 2rem;
  margin-bottom: 2.4rem;
  font-size: 0.94rem;
}
.final-cta__seals li { opacity: 0.9; }
.final-cta__hint { margin-top: 1.1rem; font-size: 0.85rem; opacity: 0.65; }

/* ------------------------------------------------------------
   15 · RODAPÉ
------------------------------------------------------------ */
.footer { background: #14130F; color: rgba(233, 215, 184, 0.85); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding: 4rem 0 3rem;
}
.footer h4 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  font-family: var(--font-body);
}
.footer__logo {
  width: 220px;
  border-radius: 8px;
  margin-bottom: 1rem;
}
.footer__brand p, .footer__contact p { font-size: 0.92rem; line-height: 1.7; margin-bottom: 0.8rem; }
.footer__nav { display: flex; flex-direction: column; }
.footer__nav a {
  color: rgba(233, 215, 184, 0.85);
  font-size: 0.94rem;
  padding: 0.3rem 0;
  transition: color var(--transition), transform var(--transition);
}
.footer__nav a:hover { color: var(--gold); transform: translateX(4px); }
.footer__contact a { color: var(--gold-soft); }

.footer__social-links { display: flex; gap: 0.8rem; margin-bottom: 1rem; }
.footer__social-links a {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(195, 138, 68, 0.45);
  transition: background var(--transition), transform var(--transition);
}
.footer__social-links a:hover { background: var(--copper); transform: translateY(-4px); }
.footer__social-links svg { width: 20px; height: 20px; fill: var(--champagne); }
.footer__column-link { font-size: 0.85rem; }
.footer__column-link a { color: var(--gold-soft); text-decoration: underline; }

.footer__bottom {
  border-top: 1px solid rgba(233, 215, 184, 0.12);
  padding: 1.4rem 0;
  font-size: 0.82rem;
  text-align: center;
  opacity: 0.75;
}
.footer__disclaimer { margin-top: 0.4rem; font-size: 0.78rem; }

/* ------------------------------------------------------------
   16 · BOTÃO FLUTUANTE WHATSAPP
------------------------------------------------------------ */
.wa-float {
  position: fixed;
  right: 1.4rem; bottom: 1.4rem;
  z-index: 950;
  width: 62px; height: 62px;
  border-radius: 50%;
  background: #25D366;
  display: grid; place-items: center;
  box-shadow: 0 14px 34px -8px rgba(37, 211, 102, 0.6);
  transition: transform var(--transition);
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  pointer-events: none;
}
.wa-float.is-visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.wa-float:hover { transform: scale(1.1) rotate(6deg); }
.wa-float svg { width: 32px; height: 32px; fill: var(--white); }
.wa-float::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  background: #25D366;
  animation: wa-pulse 2s ease-out infinite;
  z-index: -1;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.55); opacity: 0; }
}
.wa-float__tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: var(--graphite);
  color: var(--champagne);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity var(--transition), transform var(--transition);
  pointer-events: none;
}
.wa-float:hover .wa-float__tooltip { opacity: 1; transform: translateY(-50%) translateX(0); }

/* ------------------------------------------------------------
   17 · ANIMAÇÕES DE SCROLL (REVEAL)
------------------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal[data-delay="1"] { transition-delay: 0.12s; }
.reveal[data-delay="2"] { transition-delay: 0.24s; }
.reveal[data-delay="3"] { transition-delay: 0.36s; }
.reveal[data-delay="4"] { transition-delay: 0.48s; }
.reveal[data-delay="5"] { transition-delay: 0.6s; }
.reveal[data-delay="6"] { transition-delay: 0.72s; }
.reveal[data-delay="7"] { transition-delay: 0.84s; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ------------------------------------------------------------
   18 · ACESSIBILIDADE — MOVIMENTO REDUZIDO
------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__particles { display: none; }
}

/* ------------------------------------------------------------
   19 · RESPONSIVO
------------------------------------------------------------ */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__sub { margin-inline: auto; }
  .hero__ctas, .hero__stats { justify-content: center; }
  .hero__figure { max-width: 440px; margin: 0 auto; }
  .hero__badge { left: 0; }
  .eyebrow { justify-content: center; }

  .about__grid, .service__grid, .schedule__grid, .ebooks__grid { grid-template-columns: 1fr; }
  .about__figure { position: static; max-width: 460px; margin: 0 auto; }
  .service__grid--reverse .service__media { order: 0; }
  .service__grid--reverse .service__content { order: 1; }

  .clinic__gallery { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 1rem; }

  .header__burger { display: flex; }
  .nav {
    position: fixed;
    inset: 0;
    top: 0;
    z-index: -1;
    flex-direction: column;
    justify-content: center;
    gap: 1.8rem;
    background: rgba(251, 246, 236, 0.98);
    backdrop-filter: blur(16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
  }
  .nav.is-open { opacity: 1; pointer-events: auto; z-index: 800; }
  .nav__link { font-size: 1.3rem; font-family: var(--font-display); }
  .btn--nav { margin-top: 0.6rem; }

  .hero { padding-top: 6.2rem; }
  .hero__stats { gap: 1.4rem 2rem; }
  .stat__num { font-size: 1.9rem; }

  .clinic__gallery { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 0 2rem; }
  .hero__badge { position: static; margin-top: 1rem; max-width: none; animation: none; }
  .about__floating-card { display: none; }
  .schedule__map { min-height: 320px; }
  .wa-float { width: 56px; height: 56px; right: 1rem; bottom: 1rem; }
  .btn--xl { width: 100%; }
}


.video-thumb{
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 20px;
}

.video-thumb img{
    width: 100%;
    display: block;
}

.play-button{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(0,0,0,.7);
    color: #fff;
    font-size: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s;
}

.video-thumb:hover .play-button{
    transform: translate(-50%, -50%) scale(1.1);
}

.video-modal{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.video-modal.active{
    display: flex;
}

.video-modal-content{
    position: relative;
    width: min(90%, 1000px);
}

.video-modal video{
    width: 100%;
    border-radius: 12px;
}

.close-video{
    position: absolute;
    top: -40px;
    right: -30px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
}
.video-modal-content{
    position: relative;
    width: fit-content;
    max-height: 90vh;
    margin: auto;
}

.video-modal video{
    height: 90vh;
    width: auto;
    max-width: 90vw;
    display: block;
    border-radius: 12px;
}

/* ============================================================
   CTA FINAL COM THUMB DE VÍDEO
   Prefixo exclusivo: ksm-final-
============================================================ */

.ksm-final-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  grid-template-areas:
    "content media"
    "action media";
  align-items: center;
  gap: 34px 72px;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

.ksm-final-content {
  grid-area: content;
  text-align: left;
}

.ksm-final-media {
  grid-area: media;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ksm-final-action {
  grid-area: action;
  text-align: left;
}

.ksm-final-icon {
  display: block;
  width: auto;
  height: 58px;
  margin: 0 0 24px;
}

.ksm-final-content h2 {
  max-width: 700px;
  margin-right: 0;
  margin-left: 0;
}

.ksm-final-text {
  max-width: 720px;
  margin: 24px 0;
}

.ksm-final-seals {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ksm-final-action .btn {
  width: fit-content;
  max-width: 100%;
}

.ksm-final-hint {
  margin: 14px 0 0;
}


/* THUMB */

.ksm-final-thumb {
  position: relative;
  display: block;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 9 / 16;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 28px;
  background: #171411;
  box-shadow:
    0 32px 70px rgba(18, 13, 8, 0.24),
    0 8px 22px rgba(18, 13, 8, 0.16);
  appearance: none;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.ksm-final-thumb:hover {
  transform: translateY(-7px);
  box-shadow:
    0 42px 85px rgba(18, 13, 8, 0.3),
    0 12px 30px rgba(18, 13, 8, 0.2);
}

.ksm-final-thumb:focus-visible {
  outline: 3px solid #c59b59;
  outline-offset: 5px;
}

.ksm-final-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.55s ease;
}

.ksm-final-thumb:hover img {
  transform: scale(1.035);
}

.ksm-final-thumb-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.03) 35%,
      rgba(0, 0, 0, 0.68) 100%
    );
}

.ksm-final-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  color: #5d4424;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 15px 38px rgba(0, 0, 0, 0.28);
  transform: translate(-50%, -50%);
  transition:
    transform 0.3s ease,
    background 0.3s ease;
}

.ksm-final-thumb:hover .ksm-final-play {
  background: #fff;
  transform: translate(-50%, -50%) scale(1.08);
}

.ksm-final-play svg {
  width: 31px;
  height: 31px;
  margin-left: 4px;
  fill: currentColor;
}

.ksm-final-watch {
  position: absolute;
  right: 20px;
  bottom: 22px;
  left: 20px;
  z-index: 2;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
}


/* TABLET */

@media (max-width: 900px) {
  .ksm-final-layout {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 290px);
    gap: 32px 42px;
  }

  .ksm-final-thumb {
    max-width: 290px;
  }
}


/* MOBILE:
   conteúdo → thumb → botão
*/

@media (max-width: 767px) {
  .ksm-final-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "content"
      "media"
      "action";
    gap: 34px;
  }

  .ksm-final-content,
  .ksm-final-action {
    text-align: center;
  }

  .ksm-final-icon {
    margin-right: auto;
    margin-left: auto;
  }

  .ksm-final-content h2,
  .ksm-final-text {
    margin-right: auto;
    margin-left: auto;
  }

  .ksm-final-seals {
    display: inline-flex;
    align-items: flex-start;
    text-align: left;
  }

  .ksm-final-thumb {
    max-width: 280px;
    border-radius: 23px;
  }

  .ksm-final-action .btn {
    width: 100%;
    justify-content: center;
  }

  .ksm-final-hint {
    padding: 0 10px;
  }
}