/* =========================================================================
   INSTITUTO ÊMILE SOUZA — Design System
   Estética avançada · Feira de Santana, BA
   Paleta extraída da identidade visual da marca.
   ========================================================================= */

/* ---------------------------------------------------------------
   1. TOKENS (variáveis) — edite aqui para ajustar a marca inteira
   --------------------------------------------------------------- */
:root {
  /* Cores da marca */
  --cream:        #F6EFE4;   /* fundo principal, respiro */
  --cream-deep:   #EFE4D4;   /* fundo de seções alternadas */
  --nude:         #C8B6A6;   /* cards, blocos suaves */
  --taupe:        #A18A72;   /* detalhes, ícones */
  --mocha:        #6B5B4D;   /* texto de apoio, hovers */
  --ink:          #1F1A16;   /* texto principal, navegação */
  --ink-soft:     #3A322B;
  --gold:         #B0935A;   /* acento, linhas finas, CTA */
  --gold-deep:    #93762F;
  --white:        #FFFFFF;
  --line:         rgba(31, 26, 22, 0.12); /* divisórias */

  /* Tipografia */
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body:    "Jost", "Segoe UI", system-ui, sans-serif;

  /* Escala fluida de tamanhos */
  --fs-hero:   clamp(2.6rem, 7vw, 5.4rem);
  --fs-h1:     clamp(2.2rem, 5vw, 3.8rem);
  --fs-h2:     clamp(1.8rem, 4vw, 2.9rem);
  --fs-h3:     clamp(1.3rem, 2.4vw, 1.7rem);
  --fs-lead:   clamp(1.05rem, 1.6vw, 1.25rem);
  --fs-body:   1rem;
  --fs-small:  0.875rem;

  /* Espaçamento e layout */
  --maxw:        1200px;
  --maxw-narrow: 820px;
  --gutter:      clamp(1.25rem, 5vw, 4rem);
  --section-y:   clamp(4rem, 9vw, 8rem);
  --radius:      4px;
  --radius-lg:   10px;

  /* Sombras suaves */
  --shadow-sm: 0 4px 18px rgba(31, 26, 22, 0.06);
  --shadow-md: 0 14px 40px rgba(31, 26, 22, 0.10);

  /* Transições */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur:  0.5s;
}

/* ---------------------------------------------------------------
   2. RESET / BASE
   --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  font-weight: 300;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; height: auto; }

a { color: inherit; text-decoration: none; transition: color var(--dur) var(--ease); }

/* Acessibilidade: anel de foco visível para navegação por teclado */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
.btn:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: 2px;
}
/* Sobre fundos escuros, o anel fica em tom claro/dourado para contraste */
.section--ink a:focus-visible,
.footer a:focus-visible,
.header--overlay:not(.is-scrolled) a:focus-visible {
  outline-color: var(--gold);
}

ul { list-style: none; }

/* Acessibilidade: link "pular para o conteúdo" (aparece só ao focar via teclado) */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -120px;
  z-index: 2000;
  background: var(--ink);
  color: var(--cream);
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius);
  font-size: var(--fs-small);
  letter-spacing: 0.04em;
  box-shadow: var(--shadow-md);
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 1rem; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* Acessibilidade: respeita quem prefere menos movimento */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------------------------------------------------------------
   3. UTILITÁRIOS DE LAYOUT
   --------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow { max-width: var(--maxw-narrow); }

.section { padding-block: var(--section-y); }

.section--cream-deep { background: var(--cream-deep); }
.section--ink { background: var(--ink); color: var(--cream); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--cream); }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-block;
  margin-bottom: 1.1rem;
}

.section--ink .eyebrow { color: var(--gold); }

.lead {
  font-size: var(--fs-lead);
  color: var(--mocha);
  font-weight: 300;
}

.section--ink .lead { color: var(--nude); }

.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }

/* Filete decorativo */
.rule {
  width: 56px;
  height: 1px;
  background: var(--gold);
  border: 0;
  margin: 1.5rem 0;
}
.rule--center { margin-inline: auto; }

/* ---------------------------------------------------------------
   4. BOTÕES
   --------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 1.05rem 2.2rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
}

.btn--primary {
  background: var(--ink);
  color: var(--cream);
}
.btn--primary:hover {
  background: var(--gold-deep);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--gold {
  background: var(--gold-deep);
  color: var(--white);
}
.btn--gold:hover {
  background: var(--ink);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover {
  background: var(--ink);
  color: var(--cream);
}

.btn--light {
  background: transparent;
  color: var(--cream);
  border-color: rgba(246, 239, 228, 0.4);
}
.btn--light:hover {
  background: var(--cream);
  color: var(--ink);
}

/* Link com seta */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 400;
}
.link-arrow span { transition: transform var(--dur) var(--ease); }
.link-arrow:hover { color: var(--ink); }
.link-arrow:hover span { transform: translateX(6px); }

/* ---------------------------------------------------------------
   5. HEADER / NAVEGAÇÃO
   --------------------------------------------------------------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: rgba(246, 239, 228, 0);
  transition: background var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              padding var(--dur) var(--ease);
  padding-block: 1.6rem;
}
.header.is-scrolled {
  background: rgba(246, 239, 228, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  padding-block: 0.9rem;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--ink);
  z-index: 1002;
}
.brand__mark {
  height: 58px;
  width: auto;
  display: block;
  transition: height var(--dur) var(--ease);
}
.is-scrolled .brand__mark { height: 46px; }
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand__name {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  font-weight: 500;
  letter-spacing: 0.015em;
  color: var(--ink);
  white-space: nowrap;
}
.brand__sub {
  font-family: var(--font-body);
  font-size: 0.56rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-top: 5px;
  white-space: nowrap;
}
/* Variante clara (rodapé escuro) */
.brand--light .brand__name { color: var(--cream); }
.brand--light .brand__sub  { color: var(--gold); }
/* Sobre o hero escuro (Home, topo): textos da marca em claro */
.header--overlay:not(.is-scrolled) .brand__name { color: var(--cream); }
.header--overlay:not(.is-scrolled) .brand__sub  { color: var(--gold); }

/* Sobre hero escuro (Home, topo): textos e menu em claro */
@media (min-width: 1041px) {
  .header--overlay:not(.is-scrolled) .nav__links a { color: var(--cream); }
  .header--overlay:not(.is-scrolled) .nav__links a:hover { color: var(--gold); }
  .header--overlay:not(.is-scrolled) .nav__links a::after { background: var(--gold); }
}
.header--overlay:not(.is-scrolled) .nav__toggle span { background: var(--cream); }
/* menu aberto: o "X" precisa contrastar com o painel claro */
.header--overlay:not(.is-scrolled) .nav__toggle.is-open span { background: var(--ink); }

.nav {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__links a {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 400;
  position: relative;
  padding-block: 0.3rem;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold-deep);
  transition: width var(--dur) var(--ease);
}
.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after { width: 100%; }
.nav__links a:hover { color: var(--mocha); }

/* Botão hambúrguer (mobile) */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 12px 9px;
  margin-right: -9px;
  z-index: 1002;
}
.nav__toggle span {
  width: 26px; height: 1.5px;
  background: var(--ink);
  transition: all var(--dur) var(--ease);
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------------------------------------------------------------
   6. HERO
   --------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
/* Imagem do hero (foto da clínica/Dra. Êmile) */
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 22%;
}
/* Placeholder enquanto a foto real do hero não é adicionada */
.hero__bg--placeholder {
  background:
    radial-gradient(120% 120% at 80% 10%, rgba(184,155,110,0.45), transparent 55%),
    linear-gradient(135deg, #2a221c 0%, #4a3d31 45%, #6B5B4D 100%);
}
.hero__bg--placeholder::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("../assets/brand/pattern.png");
  background-size: 420px;
  opacity: 0.08;
}
/* Placeholder genérico de imagem (retrato, galeria) */
.img-placeholder {
  background:
    linear-gradient(135deg, var(--nude), var(--cream-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mocha);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  padding: 1rem;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
}
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg,
      rgba(18,14,11,0.90) 0%,
      rgba(18,14,11,0.66) 40%,
      rgba(18,14,11,0.34) 68%,
      rgba(18,14,11,0.20) 100%),
    linear-gradient(0deg,
      rgba(18,14,11,0.55) 0%,
      rgba(18,14,11,0) 36%);
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  color: var(--cream);
  text-shadow: 0 1px 22px rgba(18,14,11,0.45);
}
.hero__content .eyebrow { color: var(--gold); }
.hero h1 {
  font-size: var(--fs-hero);
  color: var(--cream);
  font-weight: 500;
  margin-bottom: 1.6rem;
}
.hero__sub {
  font-size: var(--fs-lead);
  color: rgba(246, 239, 228, 0.92);
  max-width: 560px;
  margin-bottom: 2.4rem;
  font-weight: 300;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem;
}
.hero__micro {
  margin-top: 1.6rem;
  font-size: var(--fs-small);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(246, 239, 228, 0.8);
}

/* (indicador de rolagem "Role" removido a pedido) */

/* ---------------------------------------------------------------
   7. FAIXA DE AUTORIDADE (selos)
   --------------------------------------------------------------- */
.authority {
  background: var(--ink);
  color: var(--cream);
}
.authority__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(246, 239, 228, 0.14);
}
.authority__item {
  background: var(--ink);
  padding: 2.4rem 1.6rem;
  text-align: center;
}
.authority__item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0.4rem;
}
.authority__item span {
  font-size: var(--fs-small);
  color: var(--nude);
  letter-spacing: 0.04em;
}

/* ---------------------------------------------------------------
   8. SEÇÃO "QUEM SOMOS" — duas colunas
   --------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.split--reverse .split__media { order: 2; }

.split__media {
  position: relative;
}
.split__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.split__media .badge-quote {
  position: absolute;
  bottom: -1.5rem; left: -1.5rem;
  background: var(--cream);
  border-left: 2px solid var(--gold);
  padding: 1.2rem 1.5rem;
  max-width: 280px;
  box-shadow: var(--shadow-md);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--mocha);
  border-radius: var(--radius);
}

.split__body h2 { font-size: var(--fs-h2); margin-bottom: 1.4rem; }
.split__body p { margin-bottom: 1.2rem; color: var(--ink-soft); }
.split__body .btn { margin-top: 1rem; }

/* ---------------------------------------------------------------
   9. ÁREAS DE ATUAÇÃO (cards)
   --------------------------------------------------------------- */
.section-head {
  max-width: 640px;
  margin-bottom: 3.5rem;
}
.section-head.text-center { margin-inline: auto; }
.section-head h2 { font-size: var(--fs-h2); margin-bottom: 1rem; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
}
.card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.4rem 2rem;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.section--cream-deep .card { background: var(--white); }
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.card__num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--gold-deep);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 1rem;
}
.card h3 {
  font-size: var(--fs-h3);
  margin-bottom: 0.6rem;
}
.card__tag {
  color: var(--mocha);
  font-size: 0.98rem;
  margin-bottom: 1.2rem;
  display: block;
}
.card ul li {
  font-size: 0.92rem;
  color: var(--ink-soft);
  padding: 0.5rem 0 0.5rem 1.4rem;
  position: relative;
  border-top: 1px solid var(--line);
}
.card ul li:first-child { border-top: 0; }
.card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 1.05rem;
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

/* ---------------------------------------------------------------
   10. DIFERENCIAIS (lista em destaque)
   --------------------------------------------------------------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem 3rem;
}
.feature {
  border-top: 1px solid var(--line);
  padding-top: 1.6rem;
}
.feature__index {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold-deep);
  margin-bottom: 0.8rem;
  display: block;
}
.feature h3 { font-size: 1.35rem; margin-bottom: 0.6rem; }
.feature p { color: var(--ink-soft); font-size: 0.98rem; }
.section--ink .feature { border-color: rgba(246,239,228,0.2); }
.section--ink .feature p { color: var(--nude); }

/* ---------------------------------------------------------------
   11. PROVA SOCIAL / NÚMEROS
   --------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  text-align: center;
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  color: var(--gold);
  font-weight: 500;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat span { font-size: var(--fs-small); letter-spacing: 0.08em; color: var(--mocha); text-transform: uppercase; }
.section--ink .stat span { color: var(--nude); }

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem;
  margin-top: 3.5rem;
}
.testimonial {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  border: 1px dashed var(--taupe); /* placeholder visível */
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
/* Depoimento real (não placeholder): borda sólida discreta */
.testimonial--filled {
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.testimonial__quote {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--mocha);
  line-height: 1.4;
}
.testimonial__person {
  display: flex; align-items: center; gap: 0.9rem;
  margin-top: auto;
}
.testimonial__person small { color: var(--taupe); font-size: 0.8rem; }
.placeholder-note {
  font-size: 0.78rem;
  color: var(--taupe);
  letter-spacing: 0.04em;
  background: rgba(161,138,114,0.12);
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius);
  margin-top: 2rem;
  text-align: center;
}

/* ---------------------------------------------------------------
   12. FAIXA DE CONVERSÃO (CTA)
   --------------------------------------------------------------- */
.cta-band {
  position: relative;
  text-align: center;
  background:
    linear-gradient(rgba(31,26,22,0.82), rgba(31,26,22,0.82));
  color: var(--cream);
  overflow: hidden;
}
.cta-band__pattern {
  position: absolute; inset: 0;
  opacity: 0.06;
  background-image: url("../assets/brand/pattern.png");
  background-size: 360px;
  z-index: 0;
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { color: var(--cream); font-size: var(--fs-h1); margin-bottom: 1.2rem; }
.cta-band p { color: var(--nude); max-width: 560px; margin: 0 auto 2.4rem; font-size: var(--fs-lead); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 1.2rem; justify-content: center; }

/* ---------------------------------------------------------------
   13. RODAPÉ
   --------------------------------------------------------------- */
.footer {
  background: var(--ink);
  color: var(--nude);
  padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(246,239,228,0.14);
}
.footer__brand .brand { margin-bottom: 1.2rem; }
.footer__brand .brand__mark { height: 52px; }
.footer__brand p { color: var(--nude); max-width: 320px; font-size: 0.95rem; }
.footer h4 {
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 1.4rem;
}
.footer__col li { margin-bottom: 0.7rem; font-size: 0.95rem; }
.footer__col a:hover { color: var(--gold); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  font-size: 0.82rem;
  color: var(--taupe);
}
.footer__bottom a:hover { color: var(--gold); }

/* ---------------------------------------------------------------
   14. WHATSAPP FLUTUANTE
   --------------------------------------------------------------- */
.wa-float {
  position: fixed;
  right: 1.4rem; bottom: 1.4rem;
  z-index: 900;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 10px 30px rgba(37,211,102,0.55); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------------------------------------------------------------
   15. PÁGINAS INTERNAS — hero compacto
   --------------------------------------------------------------- */
.page-hero {
  padding-top: clamp(8rem, 14vw, 11rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background: var(--cream-deep);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero__pattern {
  position: absolute; inset: 0;
  opacity: 0.05;
  background-image: url("../assets/brand/pattern.png");
  background-size: 340px;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: var(--fs-h1); margin-bottom: 1rem; }
.page-hero p { max-width: 620px; margin-inline: auto; }

/* Bloco de citação destacada */
/* Faixa de citação (Sobre) — marca-d'água do monograma + aspa decorativa */
.section--quote { position: relative; overflow: hidden; }
.section--quote::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/brand/monogram.png") center / auto 78% no-repeat;
  opacity: 0.07;
  pointer-events: none;
}
.section--quote .container { position: relative; z-index: 1; }

.pullquote {
  text-align: center;
  max-width: 820px;
  margin-inline: auto;
  position: relative;
}
.pullquote::before {
  content: "\201C";
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8vw, 5.5rem);
  line-height: 0.5;
  color: var(--gold);
  opacity: 0.6;
  margin-bottom: 0.4rem;
}
.pullquote blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  font-style: italic;
  line-height: 1.32;
  color: var(--cream);
}
.section--ink .pullquote blockquote { color: var(--cream); }
.pullquote cite {
  display: block;
  margin-top: 1.6rem;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.pullquote cite::before {
  content: "";
  display: block;
  width: 44px; height: 1px;
  background: var(--gold);
  opacity: 0.6;
  margin: 0 auto 1.1rem;
}

/* Listas de procedimentos */
.proc-block { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.proc-block:last-child { margin-bottom: 0; }
.proc-block > h2 { font-size: var(--fs-h2); margin-bottom: 0.6rem; }
.proc-block > p.lead { margin-bottom: 1.8rem; }
.proc-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
}
.proc-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.5rem 2.4rem 1.5rem 1.6rem;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  /* botão: zera estilos nativos, mantém o visual de card */
  position: relative;
  width: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.proc-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.proc-item h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.proc-item p { font-size: 0.95rem; color: var(--ink-soft); }
/* indicador "+" de que abre detalhes */
.proc-item::after {
  content: "+";
  position: absolute;
  top: 1.2rem; right: 1.2rem;
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold-deep);
  font-size: 1rem; line-height: 1;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.proc-item:hover::after { background: var(--gold-deep); color: var(--white); border-color: var(--gold-deep); }

.proc-hint {
  margin-top: 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--taupe);
}

/* ---------------------------------------------------------------
   MODAL (detalhes do procedimento)
   --------------------------------------------------------------- */
.modal[hidden] { display: none; }
.modal {
  position: fixed; inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(18,14,11,0.55);
  backdrop-filter: blur(3px);
  animation: modalFade 0.3s var(--ease);
}
.modal__dialog {
  position: relative;
  z-index: 1;
  background: var(--cream);
  border-radius: var(--radius-lg);
  border-top: 3px solid var(--gold);
  padding: clamp(1.8rem, 5vw, 2.8rem);
  max-width: 520px;
  width: 100%;
  box-shadow: var(--shadow-md);
  animation: modalRise 0.35s var(--ease);
}
.modal__dialog h2 { font-size: clamp(1.5rem, 4vw, 2rem); }
.modal__dialog p { color: var(--ink-soft); }
.modal__note { font-size: 0.9rem; color: var(--mocha); margin-top: 1rem; }
.modal__close {
  position: absolute;
  top: 0.8rem; right: 1rem;
  background: none; border: 0;
  font-size: 1.8rem; line-height: 1;
  color: var(--mocha);
  cursor: pointer;
  transition: color var(--dur) var(--ease);
}
.modal__close:hover { color: var(--ink); }
@keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalRise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
body.modal-open { overflow: hidden; }

/* ---------------------------------------------------------------
   GALERIA / CARROSSEL (Nosso espaço)
   --------------------------------------------------------------- */
.gallery { position: relative; max-width: 760px; margin-left: auto; margin-right: auto; }
.gallery__viewport { overflow: hidden; border-radius: var(--radius-lg); }
.gallery__track {
  display: flex;
  transition: transform 0.6s var(--ease);
}
.gallery__slide {
  flex: 0 0 100%;
  min-width: 0;
}
.gallery__slide img,
.gallery__slide .img-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 0;
  margin: 0;
}
.gallery__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 0;
  background: rgba(246,239,228,0.9);
  color: var(--ink);
  font-size: 1.5rem; line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.gallery__arrow:hover { background: var(--gold); color: var(--white); }
.gallery__arrow--prev { left: 1rem; }
.gallery__arrow--next { right: 1rem; }
.gallery__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.4rem;
}
.gallery__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(246,239,228,0.35);
  cursor: pointer;
  position: relative;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
/* Área de toque ampliada (~24px) sem alterar o tamanho visual do ponto */
.gallery__dot::before {
  content: "";
  position: absolute;
  inset: -7px;
}
.gallery__dot.is-active { background: var(--gold); transform: scale(1.3); }
@media (max-width: 600px) {
  .gallery__arrow { width: 38px; height: 38px; font-size: 1.2rem; }
  .gallery__arrow--prev { left: 0.5rem; }
  .gallery__arrow--next { right: 0.5rem; }
}

/* Cursos — cartão de pilares + painel de informações */
.course-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 4vw, 2.4rem);
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.course-pillars { margin-top: 1.2rem; }
.course-pillars li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.95rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.98rem;
  color: var(--ink-soft);
  line-height: 1.45;
}
.course-pillars li:first-child { border-top: 0; }
.course-pillars .ico { width: 18px; height: 18px; color: var(--gold-deep); margin-top: 2px; }

.course-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.course-meta__item { background: var(--cream); padding: 1.5rem 1.6rem; }
.course-meta__item h4 {
  font-family: var(--font-body);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.5rem;
}
.course-meta__item p { color: var(--ink-soft); font-size: 0.96rem; line-height: 1.45; }
@media (max-width: 680px) { .course-meta { grid-template-columns: 1fr; } }

/* Galeria de alunas certificadas */
.formandos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
  margin-top: 3rem;
}
.formando {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--nude);
  box-shadow: var(--shadow-sm);
}
.formando img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
/* Placeholder visível enquanto as fotos reais não são adicionadas */
.formando--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.4rem;
  border: 1px dashed var(--taupe);
  background: rgba(161,138,114,0.08);
}
.formando--placeholder span {
  font-size: 0.82rem;
  color: var(--taupe);
  letter-spacing: 0.03em;
  line-height: 1.5;
}

.note-box {
  background: var(--cream-deep);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.8rem;
  font-size: 0.92rem;
  color: var(--mocha);
  margin-top: 2.5rem;
  border-left: 2px solid var(--taupe);
}

/* ---------------------------------------------------------------
   16. FORMULÁRIO (Contato)
   --------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 6vw, 4.5rem);
}
.form { display: flex; flex-direction: column; gap: 1.3rem; }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mocha);
}
.field input,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.95rem 1.1rem;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,155,110,0.15);
}
.field textarea { resize: vertical; min-height: 120px; }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.85rem;
  color: var(--mocha);
}
.consent input { margin-top: 0.25rem; accent-color: var(--gold-deep); }
.consent a { color: var(--gold-deep); text-decoration: underline; }

.contact-info { display: flex; flex-direction: column; gap: 1.6rem; }
.contact-info__item {
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}
.contact-info__item > .ico { width: 22px; height: 22px; color: var(--gold-deep); margin-top: 1px; }
.contact-info__item h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.4rem;
}
.contact-info__item p { color: var(--ink-soft); font-size: 0.98rem; }
.contact-info__item a:hover { color: var(--gold-deep); }

/* ---------------------------------------------------------------
   ÍCONES (máscara SVG — herdam a cor do texto via currentColor)
   --------------------------------------------------------------- */
.ico {
  display: inline-block;
  width: 18px; height: 18px;
  flex: 0 0 auto;
  background-color: currentColor;
  -webkit-mask: var(--ico) center / contain no-repeat;
          mask: var(--ico) center / contain no-repeat;
}
.ico--map   { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E"); }
.ico--clock { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm0 18a8 8 0 1 1 0-16 8 8 0 0 1 0 16zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z'/%3E%3C/svg%3E"); }
.ico--wa    { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z'/%3E%3C/svg%3E"); }
.ico--tel   { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79a15.05 15.05 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.02-.24c1.12.37 2.33.57 3.57.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1C10.61 21 3 13.39 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1.02z'/%3E%3C/svg%3E"); }
.ico--ig    { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.16c3.2 0 3.58.01 4.85.07 1.17.05 1.8.25 2.23.41.56.22.96.48 1.38.9.42.42.68.82.9 1.38.16.42.36 1.06.41 2.23.06 1.27.07 1.65.07 4.85s-.01 3.58-.07 4.85c-.05 1.17-.25 1.8-.41 2.23-.22.56-.48.96-.9 1.38-.42.42-.82.68-1.38.9-.42.16-1.06.36-2.23.41-1.27.06-1.65.07-4.85.07s-3.58-.01-4.85-.07c-1.17-.05-1.8-.25-2.23-.41a3.7 3.7 0 0 1-1.38-.9 3.7 3.7 0 0 1-.9-1.38c-.16-.42-.36-1.06-.41-2.23-.06-1.27-.07-1.65-.07-4.85s.01-3.58.07-4.85c.05-1.17.25-1.8.41-2.23.22-.56.48-.96.9-1.38.42-.42.82-.68 1.38-.9.42-.16 1.06-.36 2.23-.41 1.27-.06 1.65-.07 4.85-.07zm0 1.62c-3.15 0-3.5.01-4.74.07-1.14.05-1.76.24-2.17.4-.55.21-.94.47-1.35.88-.41.41-.67.8-.88 1.35-.16.41-.35 1.03-.4 2.17-.06 1.24-.07 1.59-.07 4.74s.01 3.5.07 4.74c.05 1.14.24 1.76.4 2.17.21.55.47.94.88 1.35.41.41.8.67 1.35.88.41.16 1.03.35 2.17.4 1.24.06 1.59.07 4.74.07s3.5-.01 4.74-.07c1.14-.05 1.76-.24 2.17-.4.55-.21.94-.47 1.35-.88.41-.41.67-.8.88-1.35.16-.41.35-1.03.4-2.17.06-1.24.07-1.59.07-4.74s-.01-3.5-.07-4.74c-.05-1.14-.24-1.76-.4-2.17a3.6 3.6 0 0 0-.88-1.35 3.6 3.6 0 0 0-1.35-.88c-.41-.16-1.03-.35-2.17-.4-1.24-.06-1.59-.07-4.74-.07zm0 2.76a5.3 5.3 0 1 1 0 10.6 5.3 5.3 0 0 1 0-10.6zm0 8.74a3.44 3.44 0 1 0 0-6.88 3.44 3.44 0 0 0 0 6.88zm6.74-8.94a1.24 1.24 0 1 1-2.48 0 1.24 1.24 0 0 1 2.48 0z'/%3E%3C/svg%3E"); }
.ico--mail  { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2zm0 4-8 5-8-5V6l8 5 8-5z'/%3E%3C/svg%3E"); }
.ico--check { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E"); }

/* Linhas de contato com ícone (rodapé) */
.contact-lines li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
  line-height: 1.5;
}
.contact-lines .ico { color: var(--gold); margin-top: 4px; }
.contact-lines .muted { color: var(--taupe); }

/* Botão "Como chegar" abaixo do mapa */
.map-actions { text-align: center; margin-top: 1.3rem; }

.map-embed {
  margin-top: 2.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--cream-deep);
  aspect-ratio: 16 / 7;
  display: block;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ---------------------------------------------------------------
   17. ANIMAÇÕES DE SCROLL (reveal) — sutis
   --------------------------------------------------------------- */
/* Só escondemos o conteúdo para a animação quando há JavaScript ativo
   (classe "js" no <html>). Sem JS, tudo aparece normalmente — nada de
   página em branco. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }

/* ---------------------------------------------------------------
   18. RESPONSIVO
   --------------------------------------------------------------- */
@media (max-width: 980px) {
  .authority__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* Menu hambúrguer: celulares (retrato e paisagem) e tablets pequenos */
@media (max-width: 1040px) {
  /* Navegação mobile — painel deslizante */
  .nav__toggle { display: flex; }
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(80vw, 340px);
    background: var(--cream);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    padding: 5rem 2.5rem 2.5rem;
    transform: translateX(100%);
    transition: transform var(--dur) var(--ease);
    box-shadow: var(--shadow-md);
    overflow-y: auto; /* telas baixas (celular na horizontal) */
  }
  .nav.is-open { transform: translateX(0); }
  .nav__links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }
  .nav__links li { width: 100%; }
  .nav__links a {
    display: block; /* inline deixava o padding sobrepor os links vizinhos */
    font-size: 1rem;
    padding-block: 1rem;
    width: 100%;
    border-bottom: 1px solid var(--line);
  }
  .nav__links a::after { display: none; }
  .nav .btn { margin-top: 1.6rem; width: 100%; }
  /* Backdrop */
  .nav-backdrop {
    position: fixed; inset: 0;
    background: rgba(31,26,22,0.4);
    opacity: 0; visibility: hidden;
    transition: opacity var(--dur) var(--ease), visibility var(--dur) var(--ease);
    z-index: 999; /* abaixo do cabeçalho (1000), que contém o painel do menu */
  }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }
  body.nav-open { overflow: hidden; }
  body.nav-open .header { backdrop-filter: none; -webkit-backdrop-filter: none; }
}

@media (max-width: 760px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .split--reverse .split__media { order: 0; }
  .split__media .badge-quote { left: 1rem; bottom: -1rem; max-width: 240px; }
}

@media (max-width: 480px) {
  .authority__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }

  /* Marca compacta no mobile, sem estourar a largura */
  .brand { gap: 0.55rem; }
  .brand__mark { height: 46px; }
  .is-scrolled .brand__mark { height: 40px; }
  .brand__name { font-size: 1.02rem; }
  .brand__sub { font-size: 0.56rem; letter-spacing: 0.18em; }

  /* Botões longos quebram em duas linhas em vez de estourar a tela */
  .btn { white-space: normal; text-align: center; max-width: 100%; padding-inline: 1.4rem; line-height: 1.4; }

  /* Links do rodapé com área de toque confortável */
  .footer a { display: inline-block; padding-block: 0.4rem; }
}

/* ---------------------------------------------------------------
   19. REFINAMENTOS DE ASSINATURA (frontend-design)
   Camada de elevação visual — toques pontuais, fiéis à marca.
   Toda animação roda só em (prefers-reduced-motion: no-preference);
   sem isso, e sem JS, o conteúdo aparece normalmente.
   --------------------------------------------------------------- */

/* 19.1 — Itálico do Cormorant como gesto de "delicadeza" */
.hero__title em,
.split__body h2 em,
.cta-band h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}
.split__body h2 em { color: var(--gold-deep); }

/* 19.2 — Atmosfera: brilho dourado sutil no lugar do fundo chapado */
.section--cream-deep {
  background:
    radial-gradient(78% 56% at 50% 0%, rgba(176,147,90,0.09), transparent 62%),
    var(--cream-deep);
}

/* 19.3 — HERO: entrada como "momento" */
.hero__title {
  font-size: var(--fs-hero);
  color: var(--cream);
  font-weight: 500;
  margin-bottom: 1.6rem;
  line-height: 1.08;
}
.hero__title .word { display: inline-block; }

/* Filete dourado que se desenha sob o eyebrow */
.hero__content .eyebrow {
  position: relative;
  padding-bottom: 0.95rem;
}
.hero__content .eyebrow::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 1px; width: 54px;
  background: var(--gold);
  transform-origin: left;
}

@media (prefers-reduced-motion: no-preference) {
  /* Ken Burns lento na foto do hero */
  .hero__bg img { animation: heroZoom 22s var(--ease) forwards; }

  /* Revelação palavra a palavra do título */
  .hero__title .word {
    opacity: 0;
    transform: translateY(0.5em);
    animation: heroWord 0.9s var(--ease) forwards;
    animation-delay: calc(0.45s + var(--i) * 0.085s);
  }

  /* Filete que se desenha */
  .hero__content .eyebrow::after {
    transform: scaleX(0);
    animation: drawRule 0.8s var(--ease) 0.3s forwards;
  }
}
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.07); } }
@keyframes heroWord { to { opacity: 1; transform: none; } }
@keyframes drawRule { to { transform: scaleX(1); } }

/* 19.4 — Retrato da Dra.: moldura dourada deslocada (assimetria/assinatura) */
.split--reverse .split__media { position: relative; z-index: 1; }
.split--reverse .split__media::before {
  content: "";
  position: absolute;
  inset: 1.3rem -1.3rem -1.3rem 1.3rem;
  border: 1px solid var(--gold);
  border-radius: var(--radius-lg);
  z-index: -1;
  pointer-events: none;
}
@media (max-width: 760px) {
  .split--reverse .split__media::before { inset: 0.9rem -0.9rem -0.9rem 0.9rem; }
}

/* 19.5 — Números de prova social com tabular-nums (contagem estável) */
.stat strong { font-variant-numeric: tabular-nums; }

/* 19.6 — Numerais editoriais: o motivo "01–05" como assinatura
   (cards claros + diferenciais escuros compartilham a linguagem) */
.card__num {
  font-size: clamp(2.4rem, 4vw, 3rem);
  line-height: 0.9;
  letter-spacing: 0;
  font-weight: 500;
  color: var(--gold-deep);
  opacity: 0.32;
  margin-bottom: 0.7rem;
  transition: opacity var(--dur) var(--ease);
}
.card:hover .card__num { opacity: 1; }

.feature__index {
  font-size: clamp(2.2rem, 3.5vw, 2.7rem);
  line-height: 0.9;
  color: var(--gold);
  opacity: 0.5;
  font-weight: 500;
  margin-bottom: 0.5rem;
  transition: opacity var(--dur) var(--ease);
}
.feature:hover .feature__index { opacity: 0.95; }

/* 19.7 — Hover dos cards: filete dourado que se desenha no topo */
.card { position: relative; overflow: hidden; }
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.card:hover::before { transform: scaleX(1); }

/* 19.8 — Faixa de conversão com profundidade (brilho dourado ascendente) */
.cta-band {
  background:
    radial-gradient(55% 80% at 50% 118%, rgba(176,147,90,0.24), transparent 62%),
    linear-gradient(rgba(31,26,22,0.86), rgba(31,26,22,0.9));
}

/* 19.9 — Seleção de texto na cor da marca (luxo discreto) */
::selection { background: var(--gold); color: var(--ink); }
::-moz-selection { background: var(--gold); color: var(--ink); }

/* ---------------------------------------------------------------
   20. PÁGINAS INTERNAS — assinatura compartilhada
   Mesma linguagem da Home no hero compacto + itálico de propósito.
   --------------------------------------------------------------- */

/* Itálico do Cormorant como gesto de "delicadeza" nas headlines internas */
.page-hero h1 em,
.section h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-deep);
}
.section--ink h2 em { color: var(--gold); }

/* Hero compacto: atmosfera dourada substituindo o fundo chapado */
.page-hero {
  background:
    radial-gradient(72% 95% at 50% -12%, rgba(176,147,90,0.13), transparent 60%),
    var(--cream-deep);
}

/* Filete dourado que se desenha sob o eyebrow do hero interno (centralizado) */
.page-hero .eyebrow {
  position: relative;
  padding-bottom: 0.95rem;
}
.page-hero .eyebrow::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  height: 1px; width: 48px;
  background: var(--gold);
  transform: translateX(-50%);
}
@media (prefers-reduced-motion: no-preference) {
  .page-hero .eyebrow::after {
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    animation: drawRuleCenter 0.8s var(--ease) 0.35s forwards;
  }
}
@keyframes drawRuleCenter { to { transform: translateX(-50%) scaleX(1); } }

/* ---------------------------------------------------------------
   21. SOBRE — momento editorial (retrato claro + frase-conceito)
   Foto high-key de corpo inteiro que se funde ao creme via máscara.
   --------------------------------------------------------------- */
.editorial {
  position: relative;
  background:
    radial-gradient(58% 78% at 78% 50%, rgba(176,147,90,0.13), transparent 62%),
    var(--cream);
  overflow: hidden;
}
.editorial__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}
.editorial__text { max-width: 30rem; }
.editorial__quote {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-style: italic;
  line-height: 1.24;
  color: var(--ink-soft);
  margin-top: 0.5rem;
}
.editorial__quote em { color: var(--gold-deep); font-style: italic; }
.editorial__cite {
  display: block;
  margin-top: 1.7rem;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.editorial__cite::before {
  content: "";
  display: inline-block;
  width: 40px; height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 0.9rem;
}
.editorial__figure {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
/* A foto se dissolve no fundo creme nas bordas (fundo de estúdio quase branco) */
.editorial__figure img {
  width: 100%;
  max-width: 460px;
  height: auto;
  display: block;
  -webkit-mask: radial-gradient(115% 92% at 62% 48%, #000 58%, transparent 86%);
          mask: radial-gradient(115% 92% at 62% 48%, #000 58%, transparent 86%);
}

@media (max-width: 760px) {
  .editorial__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .editorial__text { max-width: none; text-align: center; margin-inline: auto; }
  .editorial__cite::before { display: none; }
  .editorial__figure img { max-width: 300px; margin-inline: auto; }
}

/* 21.1 — Retrato que se dissolve no creme (mesmo efeito da editorial).
   Escopado: só onde a figura tiver fundo de estúdio a fundir. */
.split__media--mask img {
  border-radius: 0;
  box-shadow: none;
  -webkit-mask: radial-gradient(96% 96% at 50% 43%, #000 50%, transparent 85%);
          mask: radial-gradient(96% 96% at 50% 43%, #000 50%, transparent 85%);
}

/* ---------------------------------------------------------------
   22. MATÉRIA & LUZ (frontend-design)
   Grão de papel, varredura de luz nos CTAs, fotos vivas e aspas
   editoriais — luxo tátil, sempre discreto e fiel à marca.
   --------------------------------------------------------------- */

/* 22.1 — Grão de papel sobre todo o site (textura quase subliminar:
   tira o aspecto "digital chapado" sem nunca chamar atenção) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 4000;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  opacity: 0.05;
  mix-blend-mode: multiply;
}

/* 22.2 — Varredura de luz nos CTAs sólidos (uma passada no hover;
   a volta é instantânea para a luz nunca "rebobinar") */
.btn--gold,
.btn--primary {
  position: relative;
  overflow: hidden;
}
.btn--gold::after,
.btn--primary::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 60%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.32), transparent);
  transform: translateX(-170%) skewX(-12deg);
  pointer-events: none;
}
.btn--gold:hover::after,
.btn--primary:hover::after {
  transform: translateX(300%) skewX(-12deg);
  transition: transform 0.9s var(--ease);
}

/* 22.3 — Fotos das alunas vivas ao toque (zoom interno lento) */
.formando { transition: box-shadow var(--dur) var(--ease); }
.formando img { transition: transform 1.3s var(--ease); }
.formando:hover { box-shadow: var(--shadow-md); }
.formando:hover img { transform: scale(1.045); }

/* 22.4 — Aspa editorial nos depoimentos reais (marca-d'água Cormorant,
   mesma linguagem da citação da página Sobre) */
.testimonial--filled { position: relative; }
.testimonial--filled::before {
  content: "\201C";
  position: absolute;
  top: 0.4rem; right: 1.4rem;
  font-family: var(--font-display);
  font-size: 5.2rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.22;
  pointer-events: none;
}

/* 22.5 — (removida) A "cortina" de clip-path nas fotos foi retirada: todas as fotos
   usam o mesmo surgimento suave do site (fade + subida leve, seção 17), igual ao
   retrato de "Nosso propósito". */

/* 22.6 — Títulos balanceados: evita "viúvas" (palavra solta na última
   linha) nas headlines; progressivo, ignorado por navegadores antigos */
h1, h2, h3,
.editorial__quote {
  text-wrap: balance;
}

/* 23. Formulário de contato (envio Web3Forms) */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form__status {
  margin: 0;
  padding: 0.9rem 1.1rem;
  border-left: 2px solid var(--gold);
  background: var(--cream);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--mocha);
}
.form__status[data-state="error"] { border-left-color: #a4452c; }
.form__status a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; }
.form .btn[disabled] { opacity: 0.6; cursor: wait; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #a4452c; }

/* 24. Formação e credenciais (Sobre) */
.credentials {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  text-align: center;
}
.credentials__item {
  flex: 1 1 210px;
  max-width: 220px;
  align-items: center;
  justify-content: flex-start;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.5rem 1.2rem;
  background: var(--cream);
  border: 1px solid rgba(176, 147, 90, 0.28);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius);
}
.credentials__kind {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.credentials__name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1.2;
  color: var(--mocha);
}

/* 25. Nota sob os números da prova social */
.stats__note {
  max-width: 560px;
  margin: 1.8rem auto 0;
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--taupe);
}

/* Celular na horizontal: cabeçalho e painel do menu mais compactos */
@media (max-height: 500px) and (orientation: landscape) {
  .header { padding-block: 0.7rem; }
  .nav { padding-top: 4rem; padding-bottom: 1rem; justify-content: flex-start; }
  .nav__links a { padding-block: 0.6rem; }
  .nav .btn { margin-top: 1rem; }
  .hero { padding-top: 5rem; padding-bottom: 2rem; }
}

/* Botão flutuante do WhatsApp não cobre o modal nem o menu abertos */
body.modal-open .wa-float,
body.nav-open .wa-float { opacity: 0; pointer-events: none; }

/* Links do rodapé com área de toque confortável em telas de toque */
@media (max-width: 1040px) {
  .footer a { display: inline-block; padding-block: 0.4rem; }
}
