/* ═══════════════════════════════════════════════════════════════
   STRIORT — O Fim das Estrias
   Design system: clínica de luxo · fundos claros · dourado elegante
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* Paleta oficial STRIORT (Identidade visual) */
  --white: #ffffff;
  --cream: #f4faf8;            /* off-white com leve tom menta */
  --cream-deep: #e7f2ef;
  --brand: #009589;            /* cor do logo */
  --brand-bright: #00aaa0;
  --brand-light: #5dc4b8;
  --brand-soft: #9edcd4;       /* bordas/detalhes suaves */
  --brand-deep: #15625c;
  --brand-tint: rgba(0, 170, 160, 0.10);
  --ink: #132e2d;              /* texto principal — verde-escuro da marca */
  --ink-soft: #5f7370;         /* cinza-esverdeado para textos secundários */
  --line: #dcebe8;             /* bordas/divisores sutis */

  /* Tipografia — Campton (marca) é paga; Poppins é a geométrica mais próxima */
  --font-display: "Poppins", -apple-system, "Segoe UI", sans-serif;
  --font-body: "Poppins", -apple-system, "Segoe UI", sans-serif;

  /* Escala fluida */
  --text-hero: clamp(2.5rem, 6.5vw, 5.2rem);
  --text-h2: clamp(2rem, 4.5vw, 3.4rem);
  --text-lead: clamp(1rem, 1.4vw, 1.15rem);

  --container: 72rem;
  --radius: 1.25rem;
  --shadow-soft: 0 20px 60px -24px rgba(19, 46, 45, 0.18);
  --shadow-brand: 0 10px 30px -10px rgba(0, 149, 137, 0.45);
  --ease-lux: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Reset básico ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.modal-open { overflow: hidden; }

img { max-width: 100%; display: block; }

/* ── Utilitários de layout ────────────────────────────────────── */
.container {
  width: min(100% - 3rem, var(--container));
  margin-inline: auto;
}

/* Seções principais em 100vh (com svh para mobile) */
.section-full {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  padding-block: clamp(5rem, 10vh, 8rem);
}

/* ── Tipografia de seção ──────────────────────────────────────── */
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 1.1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.section-title em {
  font-style: normal;
  color: var(--brand);
}

.section-lead {
  font-size: var(--text-lead);
  color: var(--ink-soft);
  max-width: 34rem;
  font-weight: 300;
}

/* ── Botões ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 2.1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.35s var(--ease-lux), box-shadow 0.35s var(--ease-lux),
              background-color 0.35s, color 0.35s, border-color 0.35s;
}

.btn--lg { padding: 1.15rem 2.6rem; }

.btn--brand {
  background: linear-gradient(135deg, var(--brand-bright), var(--brand));
  color: var(--white);
  box-shadow: var(--shadow-brand);
}

.btn--brand:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px -10px rgba(0, 149, 137, 0.55);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn--ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-2px);
}

.btn--nav { padding: 0.7rem 1.5rem; font-size: 0.72rem; }

/* ── Navegação ────────────────────────────────────────────────── */
.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  transition: background-color 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}

.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.nav__inner {
  width: min(100% - 3rem, 84rem);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.1rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  line-height: 1.15;
}

/* Folha do logo oficial (recorte exato, assets/logo-folha.png) */
.nav__logo-icon {
  width: 2.9rem;
  height: 1.9rem;
  flex: none;
  background: url("assets/logo-folha.png") center / contain no-repeat;
}

.nav__logo-text { display: block; }

.nav__logo-mark sup {
  font-size: 0.5em;
  font-weight: 600;
  margin-left: 0.15em;
}

.nav__logo-mark {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

.nav__logo-sub {
  display: block;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--brand);
}

.nav__links {
  display: flex;
  gap: 2.2rem;
}

.nav__links a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.3s;
}

.nav__links a:hover { color: var(--brand); }

.nav__links-cta { display: none; }

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0.6rem;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  cursor: pointer;
}

.nav__burger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  transition: transform 0.35s var(--ease-lux), opacity 0.25s;
}

/* vira "X" quando aberto */
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 62rem) {
  .nav__cta { display: none; }
  .nav__burger { display: flex; }

  /* menu suspenso em tela cheia sob o header */
  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    inset-inline: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    padding: 0.6rem 1.5rem 1.4rem;
    box-shadow: 0 30px 50px -30px rgba(19, 46, 45, 0.25);
  }

  .nav.menu-open .nav__links { display: flex; }

  .nav__links a {
    padding: 0.95rem 0.25rem;
    border-bottom: 1px solid var(--line);
    font-size: 0.85rem;
  }

  .nav__links-cta {
    display: inline-flex;
    margin-top: 1.1rem;
    justify-content: center;
  }
}

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  background: var(--cream);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__img,
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Opacidade total — a estética é clara e iluminada, sem overlay escuro */
}

/* Se assets/hero.jpg ainda não existir, mostra um fundo claro elegante */
.hero__img.is-missing { display: none; }

.hero__media:has(.hero__img.is-missing)::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 65% at 78% 30%, rgba(0, 170, 160, 0.14), transparent 65%),
    radial-gradient(ellipse 45% 55% at 15% 80%, rgba(0, 170, 160, 0.09), transparent 60%),
    linear-gradient(160deg, #fdfffe 0%, var(--cream) 55%, var(--cream-deep) 100%);
}

/* Véu MUITO sutil e CLARO apenas atrás do texto, para legibilidade — nunca escuro */
.hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.35) 48%, transparent 75%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 46rem;
  margin-inline: auto 0;
  width: min(100% - 3rem, var(--container));
  margin-inline: auto;
}

/* Logo oficial no hero (PNG transparente) */
.hero__brand {
  width: clamp(9rem, 16vw, 13rem);
  height: auto;
  margin-bottom: 1.6rem;
}

.hero__eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 1.6rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.8rem;
}

.hero__line { display: block; }

.hero__line--accent {
  color: var(--brand);
  font-weight: 700;
}

.hero__subtitle {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 300;
  color: var(--ink-soft);
  max-width: 30rem;
  margin-bottom: 2.6rem;
}

.hero__subtitle strong { font-weight: 600; color: var(--ink); }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__scroll {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.hero__scroll-line {
  display: block;
  width: 1px;
  height: 3.4rem;
  background: var(--brand);
  opacity: 0.7;
  animation: scrollPulse 2.2s var(--ease-lux) infinite;
  transform-origin: top;
}

@keyframes scrollPulse {
  0%   { transform: scaleY(0); opacity: 0; }
  35%  { transform: scaleY(1); opacity: 0.8; }
  100% { transform: scaleY(1) translateY(1.5rem); opacity: 0; }
}

/* ── Números no mundo ─────────────────────────────────────────── */
.stats {
  background: var(--white);
  border-block: 1px solid var(--line);
  padding-block: clamp(2.2rem, 5vh, 3.5rem);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.2rem, 3vw, 2.5rem);
  text-align: center;
}

@media (max-width: 46rem) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
}

.stats__item { display: grid; gap: 0.3rem; justify-items: center; }

.stats__number {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  font-weight: 700;
  line-height: 1;
  color: var(--brand);
  letter-spacing: -0.02em;
}

.stats__label {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--ink-soft);
  max-width: 12rem;
}

/* ── Antes e Depois ───────────────────────────────────────────── */
.results { background: var(--white); }

.results__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

@media (max-width: 56rem) {
  .results__grid { grid-template-columns: 1fr; }
}

.results__bullets {
  list-style: none;
  margin-top: 2rem;
  display: grid;
  gap: 0.85rem;
}

.results__bullets li {
  position: relative;
  padding-left: 1.8rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.results__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.9rem;
  height: 1px;
  background: var(--brand);
}

/* Slider */
.ba {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 74vh;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
  outline-offset: 4px;
}

.ba:focus-visible { outline: 2px solid var(--brand); }

.ba__pane {
  position: absolute;
  inset: 0;
}

.ba__pane img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* Camada "Depois" é recortada pelo clip-path controlado via JS (--pos em %) */
.ba__pane--after {
  clip-path: inset(0 0 0 var(--pos, 50%));
}

/* Placeholders elegantes enquanto as fotos reais não chegam */
.ba--placeholder img { display: none; }

.ba--placeholder .ba__pane--before {
  background: linear-gradient(150deg, #e9ebea 0%, #d9dedd 60%, #c8d1cf 100%);
}

.ba--placeholder .ba__pane--after {
  background: linear-gradient(150deg, #eefaf7 0%, #d3efe9 60%, var(--brand-soft) 100%);
}

.ba--placeholder::after {
  content: "Coloque suas fotos em assets/antes.jpg e assets/depois.jpg";
  position: absolute;
  inset-inline: 1.5rem;
  bottom: 1.4rem;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.82);
  border-radius: 0.6rem;
  padding: 0.55rem 0.9rem;
  pointer-events: none;
}

.ba__tag {
  position: absolute;
  top: 1.1rem;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(6px);
  color: var(--ink);
}

.ba__tag--before { left: 1.1rem; }

.ba__tag--after {
  right: 1.1rem;
  background: linear-gradient(135deg, var(--brand-bright), var(--brand));
  color: var(--white);
}

.ba__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 50%);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.ba__handle-line {
  position: absolute;
  inset-block: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 12px rgba(19, 46, 45, 0.25);
}

.ba__handle-knob {
  position: relative;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--white);
  color: var(--brand);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px rgba(19, 46, 45, 0.22);
}

/* ── Casos reais (galeria) ────────────────────────────────────── */
.cases { background: var(--cream); }

.cases .container { width: min(100% - 3rem, 84rem); }

.cases__header {
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
  margin-bottom: clamp(2rem, 5vh, 3.5rem);
}

.cases__header .section-lead { margin-inline: auto; }

.cases__wrap {
  position: relative;
}

.cases__track {
  display: flex;
  gap: clamp(1rem, 2vw, 1.6rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.5rem 0.25rem 1.4rem;
  /* esconde a barra de rolagem mantendo o gesto de arrastar */
  scrollbar-width: none;
}

.cases__track::-webkit-scrollbar { display: none; }

.cases__track:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; }

.cases__item {
  flex: 0 0 clamp(16rem, 26vw, 22rem);
  scroll-snap-align: center;
  align-self: center;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--white);
  transition: transform 0.45s var(--ease-lux);
}

.cases__item:hover { transform: translateY(-5px); }

.cases__item img {
  width: 100%;
  height: auto;
  display: block;
}

.cases__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--brand);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 24px -8px rgba(19, 46, 45, 0.25);
  transition: background-color 0.3s, color 0.3s, transform 0.3s;
}

.cases__arrow:hover {
  background: var(--brand);
  color: var(--white);
  transform: translateY(-50%) scale(1.06);
}

.cases__arrow--prev { left: -1.2rem; }
.cases__arrow--next { right: -1.2rem; }

@media (max-width: 46rem) {
  .cases__arrow { display: none; } /* no celular o gesto de arrastar basta */
}

.cases__hint {
  text-align: center;
  margin-top: 0.6rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ── Como Funciona ────────────────────────────────────────────── */
.how { background: var(--cream); }

.how .container { width: min(100% - 3rem, 78rem); }

.how__header {
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 6vh, 4.5rem);
}

.how__header .section-lead { margin-inline: auto; }

.how__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2rem);
}

@media (max-width: 56rem) {
  .how__cards { grid-template-columns: 1fr; max-width: 30rem; margin-inline: auto; }
}

.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  transition: transform 0.45s var(--ease-lux), box-shadow 0.45s var(--ease-lux), border-color 0.45s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
  border-color: var(--brand-soft);
}

.card--featured {
  border-color: var(--brand-soft);
  background: linear-gradient(175deg, var(--white) 60%, var(--brand-tint) 100%);
}

.card__number {
  position: absolute;
  top: 1.6rem;
  right: 1.8rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--brand);
  opacity: 0.65;
}

.card__icon {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  background: var(--brand-tint);
  color: var(--brand);
  display: grid;
  place-items: center;
  margin-bottom: 1.6rem;
}

.card__icon svg { width: 1.7rem; height: 1.7rem; }

.card__title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.card__text {
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--ink-soft);
}

.how__quote {
  max-width: 44rem;
  margin: clamp(2.5rem, 6vh, 4rem) auto 0;
  padding: 1.8rem 2.2rem;
  border-left: 3px solid var(--brand);
  background: var(--white);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow-soft);
}

.how__quote p {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
}

.how__quote em {
  font-style: normal;
  color: var(--brand);
  font-weight: 600;
}

.how__cta {
  text-align: center;
  margin-top: clamp(1.8rem, 4vh, 2.8rem);
}

/* ── Linhas oficiais do método ────────────────────────────────── */
.products { background: var(--cream); }

.products .container { width: min(100% - 3rem, 78rem); }

.products__header {
  text-align: center;
  max-width: 44rem;
  margin-inline: auto;
  margin-bottom: clamp(2.2rem, 5vh, 3.5rem);
}

.products__header .section-lead { margin-inline: auto; }

.products__header .section-lead strong { font-weight: 600; color: var(--ink); }

/* linhas empilhadas: profissional (4 em fileira) e, abaixo, o estojo home care */
.products__lines {
  display: grid;
  gap: clamp(2rem, 4.5vh, 3rem);
}

.products__line-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1.2rem;
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

@media (max-width: 56rem) {
  .products__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 34rem) {
  .products__grid { grid-template-columns: 1fr; }
}

.product {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1rem 1.3rem;
  text-align: center;
  transition: transform 0.4s var(--ease-lux), box-shadow 0.4s var(--ease-lux), border-color 0.4s;
}

.product:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
  border-color: var(--brand-soft);
}

.product img {
  width: 100%;
  max-height: 11rem;
  aspect-ratio: 1;
  object-fit: contain;
  margin-inline: auto;
  margin-bottom: 0.8rem;
}

.product figcaption { display: grid; gap: 0.15rem; }

.product__name { font-weight: 600; font-size: 0.88rem; }

.product__desc { font-size: 0.72rem; color: var(--ink-soft); }

.products__home {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.8rem;
  display: grid;
  grid-template-columns: minmax(0, 14rem) 1fr;
  gap: 1.6rem;
  align-items: center;
  max-width: 46rem;
}

@media (max-width: 34rem) {
  .products__home { grid-template-columns: 1fr; justify-items: center; }
}

.products__home-img {
  width: 100%;
  object-fit: contain;
  border-radius: 0.8rem;
}

.products__home-list {
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.products__home-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--ink-soft);
}

.products__home-list li strong { font-weight: 600; color: var(--ink); }

.products__home-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.75rem;
  height: 1px;
  background: var(--brand);
}

.products__note {
  text-align: center;
  margin-top: clamp(1.8rem, 4vh, 2.8rem);
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.products__note a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
}

.products__note a:hover { text-decoration: underline; }

/* ── Ciência e publicações ────────────────────────────────────── */
.science { background: var(--white); }

.science__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

@media (max-width: 56rem) {
  .science__grid { grid-template-columns: 1fr; }
}

.science__text .section-lead strong { font-weight: 600; color: var(--ink); }

.science__items {
  display: grid;
  gap: 1rem;
}

.doc-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.4rem 1.6rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.4s var(--ease-lux), box-shadow 0.4s var(--ease-lux), border-color 0.4s;
}

.doc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: var(--brand-soft);
}

.doc-card__icon {
  flex: none;
  width: 3rem;
  height: 3rem;
  border-radius: 0.9rem;
  background: var(--brand-tint);
  color: var(--brand);
  display: grid;
  place-items: center;
}

.doc-card__icon svg { width: 1.5rem; height: 1.5rem; }

.doc-card__body { flex: 1; min-width: 0; display: grid; gap: 0.2rem; }

.doc-card__title {
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.35;
}

.doc-card__meta {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.doc-card__arrow {
  flex: none;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--brand);
  font-size: 1rem;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.doc-card:hover .doc-card__arrow {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
}

/* Destaque: curso 7ª Geração */
.doc-card--highlight {
  background: linear-gradient(135deg, rgba(0, 170, 160, 0.12), rgba(0, 149, 137, 0.05));
  border-color: var(--brand-soft);
  flex-wrap: wrap;
}

.doc-card--highlight .doc-card__meta { text-transform: none; letter-spacing: 0.03em; }

.doc-card__cta {
  flex: none;
  padding: 0.75rem 1.5rem;
  font-size: 0.7rem;
}

@media (max-width: 34rem) {
  .doc-card__cta { width: 100%; }
}

/* ── O inventor do método ─────────────────────────────────────── */
.inventor {
  background:
    radial-gradient(ellipse 55% 70% at 85% 20%, rgba(0, 170, 160, 0.10), transparent 65%),
    var(--white);
}

.inventor__grid {
  display: grid;
  grid-template-columns: minmax(0, 26rem) 1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

@media (max-width: 56rem) {
  .inventor__grid { grid-template-columns: 1fr; }
  .inventor__media { max-width: 22rem; margin-inline: auto; }
}

.inventor__photo {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 30px 70px -25px rgba(19, 46, 45, 0.45);
}

.inventor__roles {
  display: grid;
  gap: 0.2rem;
  margin-bottom: 1.4rem;
}

.inventor__roles span {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}

.inventor__text .section-lead strong { font-weight: 600; color: var(--ink); }

.inventor__actions { margin-top: 2.2rem; }

/* ── Depoimentos (vídeos verticais) ───────────────────────────── */
.testi { background: var(--cream); }

.testi__header {
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
  margin-bottom: clamp(2rem, 5vh, 3.5rem);
}

.testi__header .section-lead { margin-inline: auto; }

.testi__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 20rem));
  justify-content: center;
  gap: clamp(1.2rem, 2.5vw, 2rem);
}

@media (max-width: 56rem) {
  .testi__grid { grid-template-columns: minmax(0, 22rem); }
}

.testi__card { margin: 0; }

.testi__player {
  aspect-ratio: 478 / 850;
  max-height: 64vh;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow-soft);
}

.testi__player video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.testi__caption {
  display: grid;
  gap: 0.15rem;
  padding: 0.9rem 0.4rem 0;
  text-align: center;
}

.testi__name {
  font-weight: 600;
  font-size: 0.98rem;
}

.testi__role {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

/* ── FAQ ──────────────────────────────────────────────────────── */
.faq { background: var(--white); }

.faq__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

@media (max-width: 56rem) {
  .faq__grid { grid-template-columns: 1fr; }
}

.faq__intro { position: sticky; top: 8rem; }

@media (max-width: 56rem) {
  .faq__intro { position: static; }
}

.faq__intro .btn { margin-top: 2rem; }

.faq__list {
  display: grid;
  gap: 0.9rem;
}

.faq__item {
  background: var(--cream);
  border: 1px solid transparent;
  border-radius: 1rem;
  transition: border-color 0.35s, background-color 0.35s;
}

.faq__item[open] {
  background: var(--white);
  border-color: var(--brand-soft);
  box-shadow: var(--shadow-soft);
}

.faq__question {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1.35rem 1.6rem;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 500;
  cursor: pointer;
}

.faq__question::-webkit-details-marker { display: none; }

.faq__chevron {
  flex: none;
  width: 0.65rem;
  height: 0.65rem;
  border-right: 1.6px solid var(--brand);
  border-bottom: 1.6px solid var(--brand);
  transform: rotate(45deg);
  transition: transform 0.4s var(--ease-lux);
}

.faq__item[open] .faq__chevron { transform: rotate(225deg); }

/* Expansão suave via grid-rows (animada em JS + fallback CSS) */
.faq__answer {
  overflow: hidden;
}

.faq__answer p {
  padding: 0 1.6rem 1.5rem;
  font-size: 0.93rem;
  font-weight: 300;
  color: var(--ink-soft);
  max-width: 36rem;
}

/* ── CTA final + rodapé ───────────────────────────────────────── */
.final {
  background:
    radial-gradient(ellipse 60% 80% at 50% 110%, rgba(0, 170, 160, 0.14), transparent 65%),
    var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 72vh;
  padding-top: clamp(4rem, 10vh, 7rem);
}

.final__inner {
  text-align: center;
  padding-block: clamp(3rem, 8vh, 6rem);
}

.final__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 1.2rem;
}

.final__title em { font-style: normal; color: var(--brand); }

.final__text {
  color: var(--ink-soft);
  font-weight: 300;
  max-width: 28rem;
  margin: 0 auto 2.4rem;
}

.footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-block: 1.6rem;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.footer__logo {
  height: 4rem;
  width: auto;
}

.footer__note {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

/* ── WhatsApp flutuante ───────────────────────────────────────── */
.whats-float {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 60; /* acima do conteúdo, abaixo do modal (100) */
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  background: #25d366; /* verde oficial do WhatsApp — reconhecimento imediato */
  color: #ffffff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px -6px rgba(37, 211, 102, 0.55);
  transition: transform 0.35s var(--ease-lux), box-shadow 0.35s var(--ease-lux);
}

.whats-float svg { width: 2rem; height: 2rem; }

.whats-float:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 16px 34px -6px rgba(37, 211, 102, 0.65);
}

/* ── Modal (GHL) ──────────────────────────────────────────────── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.modal[hidden] { display: none; }

.modal__backdrop {
  position: absolute;
  inset: 0;
  /* backdrop claro e difuso — coerente com a estética iluminada */
  background: rgba(250, 247, 242, 0.72);
  backdrop-filter: blur(10px);
}

.modal__panel {
  position: relative;
  width: min(100%, 34rem);
  max-height: min(88vh, 88svh);
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  box-shadow: 0 40px 90px -30px rgba(19, 46, 45, 0.35);
  padding: 2.2rem;
  overflow: hidden;
}

.modal__close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink-soft);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s, transform 0.3s;
}

.modal__close:hover { color: var(--brand); border-color: var(--brand); transform: rotate(90deg); }

.modal__eyebrow {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.5rem;
}

.modal__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 1.4rem;
  padding-right: 2rem;
}

/* Contêiner responsivo do embed — o iframe do GHL ocupa 100% dele */
.modal__embed {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  border-radius: 1rem;
}

.modal__embed iframe {
  width: 100%;
  min-height: 32rem;
  border: none;
  border-radius: 1rem;
}

/* Formulário de captura (mockup — será substituído pelo embed do GHL) */
.lead-form {
  display: grid;
  gap: 1.05rem;
  /* respiro para o canto arredondado do contêiner não recortar os rótulos */
  padding: 0.5rem 0.35rem 0.75rem;
}

/* `hidden` precisa vencer o display:grid definido acima */
.lead-form[hidden],
.lead-success[hidden] { display: none; }

.lead-form__field {
  display: grid;
  gap: 0.4rem;
}

.lead-form__field label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.lead-form__field input,
.lead-form__field select {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  padding: 0.85rem 1.1rem;
  outline: none;
  transition: border-color 0.3s, background-color 0.3s, box-shadow 0.3s;
  width: 100%;
}

.lead-form__field input::placeholder { color: #9db4b1; }

.lead-form__field input:focus,
.lead-form__field select:focus {
  border-color: var(--brand);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--brand-tint);
}

.lead-form__field input.is-invalid,
.lead-form__field select.is-invalid {
  border-color: #d06060;
}

.lead-form__submit { width: 100%; margin-top: 0.3rem; }

.lead-form__note {
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
}

/* Estado de sucesso (simula a entrega do link pelo GHL) */
.lead-success {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 1rem;
  padding: 1.2rem 0.4rem;
}

.lead-success__icon {
  width: 4rem;
  height: 4rem;
  color: var(--brand);
}

.lead-success__icon svg { width: 100%; height: 100%; }

.lead-success__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
}

.lead-success__text {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--ink-soft);
  max-width: 24rem;
}

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