/* ═══════════════════════════════════════════════════════════
   LAURA BEATRIZ — Biomedicina Estética
   style.css — HTML/CSS/JS estático
   ═══════════════════════════════════════════════════════════ */

/* ─── 1. VARIÁVEIS ─────────────────────────────────────────── */
:root {
  /* Paleta Soft Clinical Elegance */
  --background:          oklch(0.972 0.010 20);
  --foreground:          oklch(0.22 0.040 20);
  --card:                oklch(0.985 0.007 20);
  --secondary:           oklch(0.948 0.022 18);
  --muted:               oklch(0.958 0.016 18);
  --contrast:            oklch(0.48 0.050 18);
  --primary:             oklch(0.679 0.120 12);
  --border:              oklch(0.920 0.022 18 / 0.6);
  --border-solid:        oklch(0.920 0.022 18);

  --gradient-blush:      radial-gradient(60% 60% at 50% 40%, oklch(0.88 0.065 10 / 0.55), transparent 70%);
  --shadow-soft:         0 30px 60px -30px oklch(0.48 0.050 18 / 0.18);
  --shadow-card:         0 1px 0 oklch(0.48 0.050 18 / 0.04), 0 20px 40px -24px oklch(0.48 0.050 18 / 0.18);

  /* Tipografia */
  --font-serif:          "Instrument Serif", ui-serif, Georgia, serif;
  --font-sans:           "Manrope", ui-sans-serif, system-ui, sans-serif;

  /* Raios (tema customizado: --radius base = 4px) */
  --radius-sm:           0.5rem;   /* ~8px  */
  --radius-md:           0.75rem;  /* ~12px */
  --radius-lg:           1rem;     /* ~16px */
  --radius-xl:           1.5rem;   /* ~24px */
  --radius-full:         9999px;
}

/* ─── 2. RESET / BASE ──────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "cv11";
  letter-spacing: 0.005em;
  overflow-x: hidden;
}

/* Film grain overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.4 0 0 0 0 0.36 0 0 0 0 0.34 0 0 0 0.7 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 300;
  letter-spacing: -0.015em;
}

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

ul, ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: oklch(0.65 0.095 10 / 0.4);
  color: var(--foreground);
}

/* ─── 3. UTILITÁRIOS ───────────────────────────────────────── */
.container-editorial {
  width: 100%;
  margin-inline: auto;
  padding-inline: 1.5rem;
  max-width: 80rem;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--contrast);
}

.heading-display {
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: oklch(0.32 0.030 20);
}
.heading-display em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--primary);
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
              transform 1.1s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Reveal variants */
.reveal--left  { transform: translateX(-44px); }
.reveal--right { transform: translateX(44px); }
.reveal--zoom  { transform: scale(0.94) translateY(12px); }

/* Cards de tratamento — deslocamento menor para evitar clipping no overflow:hidden */
.treatments-grid .treatment-card.reveal {
  transform: translate3d(0, 18px, 0);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
    background-color 700ms ease;
}
.treatments-grid .treatment-card.reveal.is-visible {
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    transform: none !important;
    transition: opacity 0.4s ease var(--reveal-delay, 0ms);
  }
}

/* Botões */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: var(--radius-full);
  background-color: var(--primary);
  color: oklch(0.985 0.007 20);
  padding: 1rem 2rem;
  font-size: 0.78rem;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  transition: background-color 500ms;
}
.btn-primary:hover {
  background-color: oklch(0.60 0.120 12);
}
.btn-primary--lg {
  padding: 1.25rem 2.5rem;
  letter-spacing: 0.32em;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid oklch(0.22 0.040 20 / 0.4);
  color: var(--foreground);
  padding: 1rem 2rem;
  font-size: 0.78rem;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  transition: background-color 500ms, color 500ms;
}
.btn-outline:hover {
  background-color: var(--foreground);
  color: var(--background);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: var(--radius-full);
  background-color: oklch(0.48 0.050 18);
  color: oklch(0.985 0.007 20);
  padding: 1rem 2rem;
  font-size: 0.78rem;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  transition: background-color 500ms;
}
.btn-secondary:hover { background-color: oklch(0.38 0.050 18); }
.btn-secondary:hover .btn-arrow { transform: translateX(4px); }

/* ─── 4. NAV ───────────────────────────────────────────────── */
#site-nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  padding-block: 1.75rem;
  transition: background-color 700ms, backdrop-filter 700ms, padding 700ms;
}
#site-nav.scrolled {
  background-color: oklch(0.972 0.010 20 / 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding-block: 1rem;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 2.5rem;
  width: auto;
  display: block;
}

/* Mobile: logo branco sobre o overlay escuro do hero;
   volta ao escuro quando o nav fica fosco ao rolar */
@media (max-width: 767px) {
  .nav-logo-img {
    filter: brightness(0) invert(1);
  }
  #site-nav.scrolled .nav-logo-img {
    filter: none;
  }
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2.5rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--contrast);
}
.nav-links a {
  transition: color 300ms;
}
.nav-links a:hover { color: var(--foreground); }

.nav-cta {
  display: none;
  align-items: center;
  gap: 0.5rem;
  border-radius: var(--radius-full);
  border: 1px solid oklch(0.22 0.040 20 / 0.3);
  padding: 0.5rem 1.25rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--foreground);
  transition: background-color 500ms, color 500ms;
}
.nav-cta:hover {
  background-color: var(--foreground);
  color: var(--background);
}

/* ─── 5. HERO ──────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

@keyframes hero-img-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.hero-img {
  position: absolute;
  inset: 0;
  height: 115%;
  top: -7.5%;
  width: 100%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
  animation: hero-img-fade 1.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ── HERO MOBILE ─────────────────────────────────────────────
   Imagem ancorada à esquerda + overlay escuro + conteúdo claro  */
@media (max-width: 767px) {

  /* Imagem: ancorada à esquerda e ao topo */
  .hero-img-mobile {
    width: auto;
    min-width: 100%;
    right: auto;
    top: 0;
    object-position: center top;
  }

  /* Overlay: gradiente escuro sobre a foto */
  .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to bottom,
      oklch(0.18 0.035 18 / 0.62) 0%,
      oklch(0.18 0.035 18 / 0.92) 100%
    );
    z-index: 1;
    pointer-events: none;
  }

  /* Conteúdo acima do overlay */
  .hero-content { position: relative; z-index: 2; }

  /* Indicador de scroll: oculto no mobile */
  .hero-scroll { display: none; }

  /* Eyebrow: maior afastamento do topo e fonte um pouco menor */
  .hero .eyebrow {
    margin-top: 4rem;
    font-size: 0.62rem;
    color: oklch(0.948 0.022 18 / 0.85);
  }

  /* Título principal */
  .hero .hero-h1 {
    color: oklch(0.972 0.010 20);
  }
  .hero .hero-h1 em {
    color: oklch(0.88 0.065 10);
  }

  /* Subtítulo */
  .hero .hero-subtitle {
    color: oklch(0.920 0.022 18 / 0.82);
  }

  /* Botão primário: fundo claro, texto escuro */
  .hero .btn-primary {
    background-color: oklch(0.972 0.010 20);
    color: var(--foreground);
  }
  .hero .btn-primary:hover {
    background-color: var(--secondary);
  }

  /* Botão outline: borda e texto claros */
  .hero .btn-outline {
    border-color: oklch(0.972 0.010 20 / 0.5);
    color: oklch(0.972 0.010 20);
  }
  .hero .btn-outline:hover {
    background-color: oklch(0.972 0.010 20 / 0.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-img { animation: none; }
}
.hero-img-desktop { display: none; }
.hero-img-mobile  { display: block; }

.hero-content {
  position: relative;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.hero-text {
  max-width: 42rem;
}

.hero-h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.75rem);
  text-wrap: balance;
  margin-top: 2rem;
}

.hero-subtitle {
  margin-top: 2rem;
  max-width: 36rem;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.7;
  color: oklch(0.22 0.040 20 / 0.8);
  text-wrap: pretty;
}

.hero-actions {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}

.btn-arrow {
  display: inline-block;
  transition: transform 500ms;
}
.btn-primary:hover .btn-arrow {
  transform: translateX(4px);
}

.hero-scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: var(--contrast);
}
.hero-scroll-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.4em;
}
.hero-scroll-line {
  display: block;
  height: 2.5rem;
  width: 1px;
  background-color: oklch(0.48 0.050 18 / 0.4);
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

/* ─── 6. MARQUEE ───────────────────────────────────────────── */
.marquee-section {
  border-top:    1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: 2rem;
  overflow: hidden;
  background-color: oklch(0.948 0.022 18 / 0.3);
}

.marquee-track {
  display: flex;
  gap: 4rem;
  white-space: nowrap;
  animation: marquee 24s linear infinite;
}

.marquee-item {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--contrast);
}

.marquee-sep {
  margin-inline: 2rem;
  color: oklch(0.48 0.050 18 / 0.4);
}

@media (max-width: 767px) {
  .marquee-track { animation-duration: 14s; }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-33.333%); }
}

/* ─── 7. ABOUT ─────────────────────────────────────────────── */

/* Bolhas decorativas (About + Final CTA) */
.bubble {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
    circle at 35% 35%,
    oklch(0.78 0.08 10 / 0.55),
    oklch(0.70 0.075 10 / 0.12)
  );
  border: 1px solid oklch(0.70 0.075 10 / 0.38);
  animation: bubble-rise var(--bubble-dur, 18s) var(--bubble-delay, 0s) linear infinite;
}

@keyframes bubble-rise {
  0%   { transform: translateY(0) translateX(0) scale(1);   opacity: 0; }
  8%   { opacity: var(--bubble-opacity, 0.12); }
  92%  { opacity: var(--bubble-opacity, 0.12); }
  100% { transform: translateY(var(--bubble-travel, -600px)) translateX(var(--bubble-drift, 20px)) scale(0.88); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .bubble { display: none; }
}

.about {
  padding-block: 4rem;
  position: relative;
  overflow: hidden;
}

.about > .container-editorial {
  position: relative;
  z-index: 1;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: stretch;
}

.about-img-wrap {
  position: relative;
  min-height: 32rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.about-img {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.about-img-wrap:hover .about-img {
  transform: scale(1.05);
}

.about-h2 {
  font-size: clamp(1.75rem, 3.5vw, 3.25rem);
  text-wrap: balance;
  margin-top: 1.5rem;
}

.about-body {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  font-size: 1.125rem;
  line-height: 1.75;
  color: oklch(0.22 0.040 20 / 0.8);
  max-width: 42rem;
  text-wrap: pretty;
}

/* ─── 8. APPROACH ──────────────────────────────────────────── */
.approach {
  padding-block: 4rem;
  background-color: oklch(0.941 0.019 21);
  background-image:
    radial-gradient(ellipse 55% 45% at 12% 18%, oklch(0.98 0.013 18 / 0.55), transparent 65%),
    radial-gradient(ellipse 45% 35% at 88% 85%, oklch(0.78 0.08 10 / 0.18), transparent 70%);
  border-radius: 2rem;
}

.approach-header {
  max-width: 48rem;
}

.approach-h2 {
  font-size: clamp(1.75rem, 3.5vw, 3.25rem);
  text-wrap: balance;
  margin-top: 1.5rem;
}

.approach-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

.approach-img-col {
  position: relative;
  min-height: 32rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.approach-section-img {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.approach-img-col:hover .approach-section-img {
  transform: scale(1.05);
}

.approach-note {
  margin-top: 3rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: oklch(0.22 0.040 20 / 0.8);
}

/* ─── 9. TREATMENTS ────────────────────────────────────────── */
.treatments {
  padding-block: 4rem;
}

.treatments-header {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-bottom: 5rem;
}

.treatments-h2 {
  font-size: clamp(1.75rem, 3.5vw, 3.25rem);
  text-wrap: balance;
  margin-top: 1.5rem;
}

.treatments-subtext {
  max-width: 24rem;
  color: oklch(0.22 0.040 20 / 0.7);
  line-height: 1.7;
}

.treatments-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background-color: var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.treatment-card {
  position: relative;
  background-color: var(--background);
  padding: 2.5rem;
  overflow: hidden;
  transition-property: background-color;
  transition-duration: 700ms;
  transition-timing-function: ease;
}
.treatment-card:hover {
  background-color: oklch(0.948 0.022 18 / 0.4);
}

/* Bottom border reveal on hover */
.treatment-card::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1px;
  background-color: var(--foreground);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 700ms;
}
.treatment-card:hover::after {
  transform: scaleX(1);
}

.treatment-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}

.treatment-card h3 {
  font-size: 1.5rem;
  color: var(--foreground);
  line-height: 1.2;
}

.treatment-card > p {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: oklch(0.22 0.040 20 / 0.7);
}

.treatment-card-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid oklch(0.920 0.022 18 / 0.7);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--contrast);
}

.treatment-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-md);
  background-color: oklch(0.920 0.022 18 / 0.7);
  color: var(--primary);
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}

.treatment-card--photo {
  padding: 0;
  min-height: 22rem;
}
.treatment-card--photo img {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}
.treatment-card--photo:hover {
  background-color: var(--background);
}
.treatment-card--photo::after {
  display: none;
}

.treatments-cta {
  margin-top: 4rem;
  text-align: center;
}

/* ─── 10. BEFORE / AFTER ───────────────────────────────────── */
.before-after {
  padding-block: 4rem;
  background-color: oklch(0.941 0.019 21);
  background-image:
    radial-gradient(ellipse 55% 45% at 88% 18%, oklch(0.98 0.013 18 / 0.55), transparent 65%),
    radial-gradient(ellipse 45% 35% at 12% 85%, oklch(0.78 0.08 10 / 0.18), transparent 70%);
  border-radius: 2rem;
}

.ba-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 4rem;
}

.ba-h2 {
  font-size: clamp(1.75rem, 3.5vw, 3.25rem);
  text-wrap: balance;
  max-width: 48rem;
  margin-top: 1.5rem;
}

.ba-nav-btns {
  display: none;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.ba-btn {
  height: 3rem;
  width: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  border: 1px solid oklch(0.22 0.040 20 / 0.3);
  background: transparent;
  color: var(--foreground);
  cursor: pointer;
  transition: background-color 500ms, color 500ms;
}
.ba-btn:hover {
  background-color: var(--foreground);
  color: var(--background);
}

.ba-carousel-wrap {
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.ba-track {
  display: flex;
  transition: transform 1000ms cubic-bezier(0.22, 1, 0.36, 1);
}

.ba-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.ba-figure {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius-md);
}
.ba-figure img {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.ba-figure:hover img {
  transform: scale(1.05);
}
.ba-figure figcaption {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background-color: oklch(0.972 0.010 20 / 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--foreground);
  font-size: 1rem;
}

.ba-dots {
  margin-top: 2rem;
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.ba-dot {
  height: 1px;
  width: 2rem;
  background-color: oklch(0.48 0.050 18 / 0.4);
  border: none;
  cursor: pointer;
  transition: width 500ms, background-color 500ms;
}
.ba-dot.active {
  width: 4rem;
  background-color: var(--foreground);
}

/* ─── 11. FINAL CTA ────────────────────────────────────────── */
.final-cta {
  padding-block: 3.5rem;
  overflow: hidden;
  position: relative;
}

.final-cta > .container-editorial {
  position: relative;
  z-index: 1;
}

.final-cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: stretch;
}

.cta-img-wrap {
  position: relative;
  min-height: 28rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.cta-img {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.cta-img-wrap:hover .cta-img {
  transform: scale(1.05);
}

.cta-h2 {
  font-size: clamp(1.55rem, 3vw, 3.25rem);
  text-wrap: balance;
  line-height: 1.05;
  margin-top: 2rem;
}

.cta-desc {
  margin-top: 2rem;
  max-width: 36rem;
  font-size: 1.125rem;
  color: oklch(0.22 0.040 20 / 0.75);
  line-height: 1.7;
}

.cta-meta {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--contrast);
}

.cta-actions {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}

/* ─── 12. EXTRAS (Mentoria + Infoproduto) ──────────────────── */
.extras {
  padding-block: 4rem;
}

.extras-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5rem;
}

.extras-col {
  display: flex;
  flex-direction: column;
}

.section-divider {
  border: none;
  border-top: 1px solid var(--primary);
  opacity: 0.25;
  margin: 0;
}

.extras-h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.5rem);
  text-wrap: balance;
  margin-top: 1.5rem;
}

.extras-desc {
  margin-top: 1.5rem;
  font-size: 1rem;
  line-height: 1.7;
  color: oklch(0.22 0.040 20 / 0.8);
  text-wrap: pretty;
}

.extras-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}
.extras-features li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  column-gap: 0.75rem;
  row-gap: 0.35rem;
  padding: 1.25rem;
  background-color: oklch(0.948 0.022 18 / 0.35);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.extras-icon {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-full);
  background-color: oklch(0.920 0.022 18 / 0.7);
  color: var(--primary);
  flex-shrink: 0;
}
.extras-features h4 {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  letter-spacing: 0;
}
.extras-features p {
  grid-column: 2;
  grid-row: 2;
  font-size: 0.85rem;
  line-height: 1.5;
  color: oklch(0.22 0.040 20 / 0.7);
}

.extras .btn-primary {
  margin-top: 2.5rem;
  align-self: flex-start;
}

/* ─── 13. FOOTER ───────────────────────────────────────────── */
footer {
  position: relative;
  background-color: var(--contrast);
  background-image:
    radial-gradient(ellipse 55% 50% at 15% 25%, oklch(0.62 0.065 15 / 0.55), transparent 65%),
    radial-gradient(ellipse 45% 40% at 88% 80%, oklch(0.679 0.120 12 / 0.28), transparent 70%);
  color: oklch(0.985 0.007 20 / 0.92);
  border-radius: 2rem;
}

.footer-grid {
  padding-block: 5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.footer-logo-img {
  height: 2.5rem;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.footer-tagline {
  margin-top: 1rem;
  max-width: 22rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: oklch(0.985 0.007 20 / 0.75);
}

.footer-col-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: oklch(0.985 0.007 20 / 0.7);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
}
.footer-col a, .footer-col span {
  transition: color 300ms;
}
.footer-col a:hover {
  color: oklch(0.985 0.007 20);
}

.footer-col li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.footer-col svg {
  flex-shrink: 0;
}

.footer-bottom-inner {
  border-top: 1px solid oklch(0.985 0.007 20 / 0.2);
  padding-block: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: oklch(0.985 0.007 20 / 0.75);
  text-align: center;
}

/* ═══════════════════════════════════════════════════════════
   MEDIA QUERIES
   ═══════════════════════════════════════════════════════════ */

/* ─── md: 768px ─────────────────────────────────────────────── */
@media (min-width: 768px) {
  /* Nav */
  .nav-links { display: flex; }
  .nav-cta   { display: inline-flex; }

  /* Hero */
  .hero-img-desktop { display: block; }
  .hero-img-mobile  { display: none; }
  .hero-content { padding-bottom: 7rem; }

  /* Treatments */
  .treatments-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
  .treatments-grid { grid-template-columns: repeat(2, 1fr); }

  /* Before/After */
  .ba-nav-btns { display: flex; }
  .ba-slide { grid-template-columns: repeat(2, 1fr); }

  /* Extras */
  .extras-features { grid-template-columns: 1fr 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
  footer { margin-bottom: 1.5rem; }
}

/* ─── lg: 1024px ────────────────────────────────────────────── */
@media (min-width: 1024px) {
  /* About */
  .about { padding-block: 6rem; }
  .about-grid {
    grid-template-columns: 5fr 7fr;
    gap: 4rem;
  }
  .about-img-wrap { min-height: 100%; }

  /* Approach */
  .approach { padding-block: 5rem; }
  .approach-two-col {
    grid-template-columns: 7fr 5fr;
    align-items: start;
  }
  .approach-img-col { min-height: 100%; }

  /* Treatments */
  .treatments { padding-block: 5.5rem; }
  .treatments-grid { grid-template-columns: repeat(3, 1fr); }

  /* Before/After */
  .before-after { padding-block: 5.5rem; }

  /* Final CTA */
  .final-cta { padding-block: 5rem; }
  .final-cta-grid {
    grid-template-columns: 5fr 7fr;
    gap: 4rem;
  }
  .cta-img-wrap { min-height: 37.5rem; }

  /* Extras */
  .extras { padding-block: 5.5rem; }
  .extras-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  /* Footer */
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

/* ─── xl: 1280px — recuo lateral dos blocos card ────────────── */
@media (min-width: 1280px) {
  .approach     { margin-inline: 4rem; }
  .before-after { margin-inline: 4rem; }
  footer        { margin-inline: 4rem; margin-bottom: 2rem; border-radius: 2.5rem; }
}

/* ═══════════════════════════════════════════════════════════
   COMPONENTES AUXILIARES
   ═══════════════════════════════════════════════════════════ */

/* ─── Checklist genérico (Abordagem) ───────────────────────── */
.checklist {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.875rem;
  margin-top: 2.5rem;
  max-width: 52rem;
}
.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--foreground);
  text-wrap: pretty;
}
.checklist-item::before {
  content: "✔";
  color: var(--contrast);
  flex-shrink: 0;
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

/* ─── Treatment card com benefícios/inclusões ──────────────── */
.treatment-includes {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.875rem;
  color: oklch(0.48 0.050 18 / 0.85);
  line-height: 1.5;
}
.treatment-includes li {
  display: flex;
  gap: 0.5rem;
}
.treatment-includes li::before {
  content: "·";
  color: var(--contrast);
  flex-shrink: 0;
}

/* ─── Subsecções de tratamentos ────────────────────────────── */
.treatments-subsection { margin-top: 4rem; }
.treatments-subsection:first-child { margin-top: 0; }
.treatments-subsection-title {
  font-size: 1.75rem;
  color: var(--foreground);
  letter-spacing: -0.015em;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

@media (min-width: 768px) {
  .checklist { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════════════════════════════
   VARIANTES COMPARTILHADAS (design-system)
   ═══════════════════════════════════════════════════════════ */

/* extras-features — variante 3 colunas, layout vertical (ícone em cima) */
.extras-features--3col { grid-template-columns: repeat(3, 1fr); }
.extras-features--3col li { display: flex; flex-direction: column; gap: 0.5rem; }
.extras-features--3col h4 { align-self: flex-start; }
@media (max-width: 767px) {
  .extras-features--3col { grid-template-columns: 1fr; }
}

/* about-grid — variante invertida (texto esquerda, foto direita) */
@media (min-width: 1024px) {
  .about-grid--reverse { grid-template-columns: 7fr 5fr; }
}

/* Footer de preço — rótulo à esquerda, valor à direita */
.footer-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.1rem;
}
.footer-price-value {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--foreground);
  letter-spacing: 0;
  text-transform: none;
}
.footer-price-installment {
  font-size: 0.72rem;
  color: var(--contrast);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════
   PÁGINA: MENTORIA  (escopado em body.page-mentoria)
   ═══════════════════════════════════════════════════════════ */

/* Grid de aprendizado — 4 colunas, último box ocupa 2 linhas */
.page-mentoria .mentoria-learn-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 3rem;
}
.page-mentoria .mentoria-learn-grid li {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.75rem;
  min-height: 10rem;
  background: oklch(0.985 0.007 20 / 0.28);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid oklch(0.985 0.007 20 / 0.40);
  box-shadow: 0 4px 24px oklch(0.48 0.050 18 / 0.08), inset 0 1px 0 oklch(0.985 0.007 20 / 0.5);
}
.page-mentoria .mentoria-learn-grid .extras-icon { width: 3rem; height: 3rem; flex-shrink: 0; }
.page-mentoria .mentoria-learn-grid .extras-icon svg { width: 20px; height: 20px; }
.page-mentoria .mentoria-learn-grid li:last-child { grid-column: 4; grid-row: 1 / 3; }
@media (max-width: 1023px) {
  .page-mentoria .mentoria-learn-grid { grid-template-columns: repeat(2, 1fr); }
  .page-mentoria .mentoria-learn-grid li:last-child { grid-column: auto; grid-row: auto; }
}
@media (max-width: 767px) {
  .page-mentoria .mentoria-learn-grid { grid-template-columns: 1fr; }
}

/* CTA no slot vazio da grid "Você se identifica?" */
.page-mentoria .extras-cta-item {
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: none !important;
  border: none !important;
  padding: 0 !important;
}
.page-mentoria .extras-cta-item .btn-outline { width: 100%; justify-content: center; }

/* Lista de bullets dentro do grid extras-features — alinha sob o h4 */
.page-mentoria .extras-features li .presencial-items { grid-column: 2; grid-row: 2; margin: 0; }
.page-mentoria .extras-features li .presencial-items li {
  display: block;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
}

/* Hero — botões empilhados com mesma largura */
.page-mentoria .hero-actions { flex-direction: column; align-items: stretch; max-width: 22rem; }
.page-mentoria .hero-actions a { justify-content: center; text-align: center; }

/* Hero — quebra manual do subtítulo só no desktop (no mobile flui natural) */
@media (max-width: 767px) {
  .page-mentoria .hero-subtitle br { display: none; }
}

/* CTA final — sem foto, conteúdo centralizado */
.page-mentoria .final-cta-grid {
  grid-template-columns: 1fr;
  max-width: 42rem;
  margin-inline: auto;
  text-align: center;
}
.page-mentoria .cta-desc,
.page-mentoria .cta-meta { margin-inline: auto; }
.page-mentoria .cta-actions {
  flex-direction: column;
  align-items: stretch;
  max-width: 26rem;
  margin-inline: auto;
}
.page-mentoria .cta-actions a { justify-content: center; text-align: center; white-space: nowrap; }
@media (min-width: 1024px) {
  .page-mentoria .final-cta-grid { max-width: 50rem; }
  .page-mentoria .cta-desc { max-width: none; }
}

/* ═══════════════════════════════════════════════════════════
   PÁGINA: INSTITUCIONAL  (escopado em body.page-institucional)
   ═══════════════════════════════════════════════════════════ */

/* Agende sua avaliação — foto acompanha a altura do bloco de texto,
   cortando pela parte de cima quando precisa recortar */
.page-institucional .cta-img { object-position: bottom; }
@media (min-width: 1024px) {
  .page-institucional .cta-img-wrap { min-height: 0; }
}
