/* ============================================================
   INSTITUTO W CLINIC — STYLE.CSS v2
   Estética: Premium, médico, institucional, internacionalizável
   Posicionamento: Cirurgia Plástica e Alta Performance Médica
   Manifesto: Ciência, Arte e Propósito (frase exclusiva do bloco 03)
   ------------------------------------------------------------
   v2 — Preview seguro com fallbacks visuais elegantes
   Black Gold Signature aplicado APENAS em Seios dos Sonhos
   ============================================================ */


/* ============================================================
   1. TOKENS DE DESIGN
   ============================================================ */
:root {
  /* --- Paleta institucional (base do site mãe) --- */
  --w-navy:        #0F1C2E;
  --w-onyx:        #1D222B;
  --w-graphite:    #2F3540;
  --w-stone:       #889097;
  --w-ice:         #F5F7FA;
  --w-gold:        #C8A96B;
  --w-gold-soft:   rgba(200, 169, 107, 0.18);
  --w-gold-line:   rgba(200, 169, 107, 0.35);

  /* --- Variação atmosférica (Black Gold Signature) --- */
  --w-onyx-deep:   #0E0E0E;
  --w-gold-warm:   #D9B36A;
  --w-bronze:      #8C6239;
  --w-ivory:       #F7F2E8;

  /* --- Tipografia --- */
  --font-display:  "Cinzel", "Cormorant Garamond", Georgia, serif;
  --font-editorial:"Cormorant Garamond", Georgia, serif;
  --font-body:     "Montserrat", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  /* --- Espaçamentos --- */
  --space-xs:  0.5rem;
  --space-sm:  0.75rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-4xl: 8rem;

  /* --- Layout --- */
  --container-max: 1240px;
  --container-narrow: 880px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  /* --- Shadows --- */
  --shadow-sm: 0 2px 8px rgba(15, 28, 46, 0.08);
  --shadow-md: 0 8px 24px rgba(15, 28, 46, 0.12);
  --shadow-lg: 0 24px 48px rgba(15, 28, 46, 0.18);
  --shadow-gold: 0 8px 32px rgba(200, 169, 107, 0.18);

  /* --- Transições --- */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 200ms var(--ease-out);
  --t-med:  400ms var(--ease-out);
  --t-slow: 800ms var(--ease-out);

  --header-h: 72px;
}


/* ============================================================
   2. RESET E BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--w-graphite);
  background-color: var(--w-ice);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
}

input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

ul, ol { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--w-navy);
}

em {
  font-family: var(--font-editorial);
  font-style: italic;
  color: var(--w-gold);
  font-weight: 500;
}


/* ============================================================
   3. ACESSIBILIDADE
   ============================================================ */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--w-navy);
  color: var(--w-gold);
  padding: var(--space-sm) var(--space-lg);
  z-index: 10000;
  font-size: 0.875rem;
  font-weight: 600;
}
.skip-link:focus {
  left: var(--space-md);
  top: var(--space-md);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

:focus-visible {
  outline: 2px solid var(--w-gold);
  outline-offset: 3px;
}


/* ============================================================
   4. CONTAINERS E LAYOUT BASE
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--w-stone);
  margin-bottom: var(--space-md);
  font-weight: 500;
}
.section-eyebrow.gold { color: var(--w-gold); }

.section-title {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  margin-bottom: var(--space-md);
  font-weight: 500;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--w-graphite);
  max-width: 60ch;
}

.section-head {
  margin-bottom: var(--space-2xl);
}
.section-head-center {
  text-align: center;
}
.section-head-center .section-lead {
  margin-left: auto;
  margin-right: auto;
}


/* ============================================================
   5. BOTÕES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--t-fast);
  white-space: nowrap;
}

.btn-gold {
  background: var(--w-gold);
  color: var(--w-navy);
  border-color: var(--w-gold);
}
.btn-gold:hover {
  background: var(--w-gold-warm);
  border-color: var(--w-gold-warm);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-gold-outline {
  background: transparent;
  color: var(--w-gold);
  border-color: var(--w-gold);
}
.btn-gold-outline:hover {
  background: var(--w-gold);
  color: var(--w-navy);
}

.btn-gold-sm {
  background: var(--w-gold);
  color: var(--w-navy);
  padding: 0.65rem 1.1rem;
  font-size: 0.75rem;
}
.btn-gold-sm:hover { background: var(--w-gold-warm); }

.btn-ghost {
  background: transparent;
  color: var(--w-ice);
  border-color: rgba(245, 247, 250, 0.4);
}
.btn-ghost:hover {
  border-color: var(--w-gold);
  color: var(--w-gold);
}

.btn-lg { padding: 1.05rem 2rem; font-size: 0.9rem; }
.btn-sm { padding: 0.55rem 1rem; font-size: 0.75rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--w-gold);
  transition: gap var(--t-fast);
  margin-top: var(--space-md);
}
.link-arrow span {
  transition: transform var(--t-fast);
  display: inline-block;
}
.link-arrow:hover { gap: 0.85rem; }
.link-arrow:hover span { transform: translateX(4px); }


/* ============================================================
   6. HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(15, 28, 46, 0.85);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(200, 169, 107, 0.12);
  transition: all var(--t-fast);
}
.site-header.is-scrolled {
  background: rgba(15, 28, 46, 0.96);
  border-bottom-color: var(--w-gold-line);
}

.header-inner {
  max-width: var(--container-max);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--w-ice);
}
.logo-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--w-gold);
  border: 1px solid var(--w-gold-line);
  letter-spacing: 0;
  background: linear-gradient(135deg, rgba(200,169,107,0.08), transparent);
}
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text-main {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--w-ice);
}
.logo-text-sub {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--w-stone);
  margin-top: 0.25rem;
}

.primary-nav { display: none; }
.primary-nav ul {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}
.primary-nav a {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--w-ice);
  font-weight: 400;
  position: relative;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  height: 1px;
  width: 0;
  background: var(--w-gold);
  transition: width var(--t-fast);
}
.primary-nav a:hover::after { width: 100%; }
.primary-nav .nav-cta {
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--w-gold);
  color: var(--w-gold);
}
.primary-nav .nav-cta::after { display: none; }
.primary-nav .nav-cta:hover {
  background: var(--w-gold);
  color: var(--w-navy);
}

.mobile-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  width: 40px;
  height: 40px;
  justify-content: center;
  align-items: center;
}
.mobile-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--w-gold);
  transition: all var(--t-fast);
}
.mobile-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}


/* ============================================================
   7. MOBILE NAV FULLSCREEN
   ============================================================ */
.mobile-nav {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0; bottom: 0;
  background: var(--w-navy);
  z-index: 999;
  padding: var(--space-2xl) var(--space-lg);
  overflow-y: auto;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--t-med), opacity var(--t-med);
}
.mobile-nav[aria-hidden="false"] {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.mobile-nav a {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--w-ice);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(200, 169, 107, 0.15);
  letter-spacing: 0.04em;
}
.mobile-nav a:hover { color: var(--w-gold); }


/* ============================================================
   8. FALLBACKS VISUAIS PROCEDURAIS (v2)
   ------------------------------------------------------------
   Garante preview elegante sem assets reais.
   Nenhuma imagem quebrada aparece no navegador.
   Quando assets reais carregam, fallback fica atrás (z-index).
   ============================================================ */

/* Container universal de imagem com fallback procedural */
.img-fallback {
  position: relative;
  overflow: hidden;
  background: var(--w-graphite);
}
.img-fallback img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Quando img falha (.img-broken), o fallback procedural aparece */
.img-fallback.img-broken img { display: none; }

/* Camada de monograma elegante para fallback */
.img-fallback-mark,
.img-fallback-monogram {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(200, 169, 107, 0.28);
  font-size: clamp(3rem, 12vw, 6rem);
  pointer-events: none;
}
.img-fallback-monogram {
  font-size: clamp(2.5rem, 10vw, 5rem);
}

.img-fallback-label {
  position: absolute;
  z-index: 1;
  bottom: 1.2rem;
  left: 0; right: 0;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(200, 169, 107, 0.6);
  pointer-events: none;
}

/* Ícone caligráfico discreto para cards de procedimento */
.img-fallback-icon {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
}
.img-fallback-icon::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 60px; height: 60px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(200, 169, 107, 0.3);
  border-radius: 50%;
}
.img-fallback-icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 22px; height: 22px;
  transform: translate(-50%, -50%) rotate(45deg);
  border-top: 1px solid rgba(200, 169, 107, 0.55);
  border-right: 1px solid rgba(200, 169, 107, 0.55);
}

/* --- Fallback do Hero (gradiente + textura sutil + padrão de luz) --- */
.hero-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at 30% 20%,
      rgba(200, 169, 107, 0.15) 0%,
      transparent 50%),
    radial-gradient(ellipse at 70% 80%,
      rgba(200, 169, 107, 0.08) 0%,
      transparent 60%),
    linear-gradient(135deg,
      var(--w-navy) 0%,
      var(--w-onyx) 50%,
      var(--w-navy) 100%);
}
.hero-fallback::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent 0,
      transparent 2px,
      rgba(200, 169, 107, 0.015) 2px,
      rgba(200, 169, 107, 0.015) 4px
    );
}
.hero-fallback::after {
  content: "W";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(20rem, 50vw, 40rem);
  color: rgba(200, 169, 107, 0.04);
  letter-spacing: 0;
  font-weight: 600;
  pointer-events: none;
  user-select: none;
}

/* --- Doctor: gradiente vertical com monograma --- */
.img-fallback-doctor {
  background: linear-gradient(180deg,
    var(--w-onyx) 0%,
    var(--w-graphite) 50%,
    var(--w-navy) 100%);
}
.img-fallback-doctor::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 30%,
    rgba(200, 169, 107, 0.18) 0%,
    transparent 50%);
}

/* --- Cards de procedimento: cada um com paleta sutilmente distinta --- */
.img-fallback-cirurgia {
  background: linear-gradient(135deg, var(--w-navy), var(--w-graphite));
}
.img-fallback-facial {
  background: linear-gradient(135deg, var(--w-onyx), var(--w-navy));
}
.img-fallback-fisio {
  background: linear-gradient(135deg, var(--w-graphite), var(--w-onyx));
}
.img-fallback-massa {
  background: linear-gradient(135deg, var(--w-navy), var(--w-onyx));
}

/* --- Seios dos Sonhos: atmosfera Black Gold completa --- */
.img-fallback-seios {
  background: linear-gradient(160deg,
    var(--w-onyx-deep) 0%,
    #1a1208 50%,
    var(--w-onyx-deep) 100%);
}
.img-fallback-seios::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 70%,
    rgba(217, 179, 106, 0.22) 0%,
    transparent 55%);
}
.img-fallback-seios .img-fallback-monogram {
  color: rgba(217, 179, 106, 0.4);
  font-family: var(--font-editorial);
  font-style: italic;
}

/* --- Metabolic: gradiente claro institucional --- */
.img-fallback-metabolic {
  background: linear-gradient(135deg,
    var(--w-navy) 0%,
    #1a2840 100%);
}
.img-fallback-metabolic::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 50%,
    rgba(200, 169, 107, 0.15) 0%,
    transparent 50%);
}

/* --- Fellowship: gradiente sóbrio sobre navy --- */
.img-fallback-fellowship {
  background: linear-gradient(180deg,
    var(--w-onyx) 0%,
    var(--w-navy) 100%);
}
.img-fallback-fellowship::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(200, 169, 107, 0.06) 50%,
    transparent 100%);
}

/* --- YouTube cover fallback --- */
.img-fallback-youtube {
  background: linear-gradient(135deg,
    var(--w-graphite) 0%,
    var(--w-onyx) 100%);
}

/* --- E-book cover fallback --- */
.img-fallback-ebook {
  background: linear-gradient(135deg,
    var(--w-navy) 0%,
    var(--w-graphite) 100%);
}
.img-fallback-ebook::before {
  /* Folhas de livro simuladas */
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 90px; height: 110px;
  background:
    linear-gradient(180deg,
      rgba(200, 169, 107, 0.18) 0%,
      rgba(200, 169, 107, 0.08) 100%);
  border: 1px solid rgba(200, 169, 107, 0.4);
  box-shadow:
    -6px 0 0 rgba(200, 169, 107, 0.1),
    -12px 0 0 rgba(200, 169, 107, 0.06);
}


/* ============================================================
   9. BLOCO 01 — HERO CINEMATOGRÁFICO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--w-ice);
  padding-top: var(--header-h);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-video {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  z-index: 2;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(15, 28, 46, 0.55) 0%,
      rgba(15, 28, 46, 0.7) 60%,
      rgba(15, 28, 46, 0.92) 100%);
}
.hero-vignette {
  position: absolute;
  z-index: 3;
  inset: 0;
  background:
    radial-gradient(ellipse at center,
      transparent 0%,
      rgba(15, 28, 46, 0.4) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 4;
  max-width: 880px;
  padding: var(--space-2xl) var(--space-lg);
  text-align: center;
  animation: heroFadeUp 1.2s var(--ease-out) 0.3s both;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--w-gold);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  position: relative;
}
.hero-eyebrow::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 40px;
  height: 1px;
  background: var(--w-gold);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 7vw, 4.75rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: var(--w-ice);
  margin-bottom: var(--space-lg);
}
.hero-title span { display: block; }
.hero-title-em {
  font-family: var(--font-editorial);
  font-style: italic;
  color: var(--w-gold);
  font-weight: 500;
  letter-spacing: 0;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  line-height: 1.7;
  color: rgba(245, 247, 250, 0.85);
  max-width: 56ch;
  margin: 0 auto var(--space-xl);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}

.hero-scroll-cue {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: rgba(200, 169, 107, 0.3);
  overflow: hidden;
  z-index: 5;
}
.hero-scroll-cue span {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: var(--w-gold);
  animation: scrollCue 2.4s ease-in-out infinite;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollCue {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(330%); }
}


/* ============================================================
   10. BLOCO 02 — FAIXA DE CREDENCIAIS
   ============================================================ */
.seals {
  background: var(--w-onyx);
  padding: var(--space-xl) 0;
  border-bottom: 1px solid rgba(200, 169, 107, 0.1);
}
.seals-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  text-align: center;
}
.seal {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.seal-label {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--w-stone);
}
.seal-value {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  color: var(--w-gold);
}


/* ============================================================
   11. BLOCO 03 — MANIFESTO
   ============================================================ */
.manifesto {
  background: var(--w-navy);
  color: var(--w-ice);
  padding: var(--space-4xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.manifesto::before,
.manifesto::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--w-gold), transparent);
  transform: translateX(-50%);
}
.manifesto::before { top: 0; }
.manifesto::after { bottom: 0; }

.manifesto-text {
  font-family: var(--font-editorial);
  font-size: clamp(1.2rem, 2.8vw, 1.85rem);
  line-height: 1.55;
  font-weight: 400;
  color: var(--w-ice);
  letter-spacing: 0.01em;
}
.manifesto-text em {
  color: var(--w-gold);
  font-style: italic;
}
.manifesto .section-eyebrow {
  color: var(--w-gold);
}
.manifesto-rule {
  width: 80px;
  height: 1px;
  background: var(--w-gold);
  margin: var(--space-xl) auto 0;
}


/* ============================================================
   12. BLOCO 04 — DR. GILBERSON EM FOCO
   ============================================================ */
.doctor {
  background: var(--w-ice);
  padding: var(--space-4xl) 0;
}
.doctor-grid {
  display: grid;
  gap: var(--space-2xl);
  align-items: center;
  grid-template-columns: 1fr;
}
.doctor-media {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
}
.doctor-media .img-fallback {
  position: relative;
  z-index: 2;
  aspect-ratio: 4/5;
}
.doctor-media .img-fallback img {
  filter: contrast(1.05);
  transition: transform var(--t-slow);
}
.doctor-media:hover img { transform: scale(1.03); }
.doctor-frame {
  position: absolute;
  top: 24px; left: 24px;
  right: -16px; bottom: -16px;
  border: 1px solid var(--w-gold);
  z-index: 1;
  pointer-events: none;
}
.doctor-content p {
  margin-bottom: var(--space-md);
  color: var(--w-graphite);
  line-height: 1.75;
}


/* ============================================================
   13. BLOCO 05 — PROCEDIMENTOS
   ============================================================ */
.procedures {
  background: #FFFFFF;
  padding: var(--space-4xl) 0;
}
.procedures-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}
.procedure-card {
  display: block;
  background: var(--w-ice);
  border: 1px solid rgba(15, 28, 46, 0.06);
  overflow: hidden;
  transition: all var(--t-med);
  color: var(--w-navy);
}
.procedure-card:hover {
  transform: translateY(-6px);
  border-color: var(--w-gold-line);
  box-shadow: var(--shadow-md);
}
.procedure-media {
  aspect-ratio: 4/3;
}
.procedure-media img {
  transition: transform var(--t-slow);
}
.procedure-card:hover .procedure-media img { transform: scale(1.06); }
.procedure-body {
  padding: var(--space-lg);
}
.procedure-body h3 {
  font-size: 1.2rem;
  margin-bottom: var(--space-sm);
  color: var(--w-navy);
}
.procedure-body p {
  font-size: 0.92rem;
  color: var(--w-graphite);
  margin-bottom: var(--space-md);
}


/* ============================================================
   14. BLOCO 06 — SEIOS DOS SONHOS (Black Gold Signature)
   ============================================================ */
.vertical-feature {
  padding: var(--space-4xl) 0;
}

.vertical-seios {
  background: var(--w-onyx-deep);
  color: var(--w-ivory);
  position: relative;
  overflow: hidden;
}
.vertical-seios::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--w-gold-warm) 50%,
    transparent 100%);
}
.vertical-seios::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%,
      rgba(217, 179, 106, 0.08) 0%,
      transparent 50%);
  pointer-events: none;
}
.vertical-seios .section-title { color: var(--w-ivory); }
.vertical-seios .section-title em { color: var(--w-gold-warm); }
.vertical-seios p {
  color: rgba(247, 242, 232, 0.78);
  margin-bottom: var(--space-md);
  line-height: 1.8;
  font-family: var(--font-editorial);
  font-size: 1.1rem;
}
.vertical-seios .section-eyebrow.gold {
  color: var(--w-gold-warm);
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.35em;
}

.vertical-feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
  position: relative;
  z-index: 1;
}
.vertical-feature-media {
  position: relative;
  aspect-ratio: 3/4;
}
.gold-frame {
  position: absolute;
  top: 16px; left: 16px;
  right: -16px; bottom: -16px;
  border: 1px solid var(--w-gold-warm);
  pointer-events: none;
  z-index: 3;
}


/* ============================================================
   15. BLOCO 07 — W METABOLIC
   ============================================================ */
.vertical-metabolic {
  background: var(--w-ice);
  color: var(--w-navy);
}
.vertical-metabolic .vertical-feature-content p {
  color: var(--w-graphite);
  margin-bottom: var(--space-md);
  line-height: 1.75;
}

.medical-disclaimer {
  background: rgba(200, 169, 107, 0.06);
  border-left: 3px solid var(--w-gold);
  padding: var(--space-md) var(--space-lg);
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--w-graphite);
  margin: var(--space-lg) 0;
}
.medical-disclaimer strong {
  color: var(--w-navy);
  font-weight: 600;
}


/* ============================================================
   16. BLOCO 08 — W FELLOWSHIP
   ============================================================ */
.vertical-fellowship {
  background: var(--w-navy);
  color: var(--w-ice);
}
.vertical-fellowship .section-title { color: var(--w-ice); }
.vertical-fellowship .section-title em { color: var(--w-gold); }
.vertical-fellowship p {
  color: rgba(245, 247, 250, 0.82);
  margin-bottom: var(--space-md);
  line-height: 1.75;
}
.vertical-fellowship .medical-disclaimer {
  background: rgba(200, 169, 107, 0.08);
  color: rgba(245, 247, 250, 0.85);
}
.vertical-fellowship .medical-disclaimer strong {
  color: var(--w-gold);
}


/* ============================================================
   17. BLOCO 09 — JORNADA DA PACIENTE
   ============================================================ */
.journey {
  background: #FFFFFF;
  padding: var(--space-4xl) 0;
}
.journey-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}
.journey-step {
  position: relative;
  padding: var(--space-xl) var(--space-lg);
  background: var(--w-ice);
  border: 1px solid rgba(200, 169, 107, 0.18);
  transition: all var(--t-med);
}
.journey-step:hover {
  border-color: var(--w-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.journey-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--w-gold);
  line-height: 1;
  margin-bottom: var(--space-md);
  font-weight: 500;
}
.journey-step h3 {
  font-size: 1.15rem;
  margin-bottom: var(--space-sm);
}
.journey-step p {
  font-size: 0.92rem;
  color: var(--w-graphite);
  line-height: 1.7;
}
.journey-note {
  font-size: 0.85rem;
  color: var(--w-stone);
  font-style: italic;
  text-align: center;
  max-width: 70ch;
  margin: 0 auto;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(200, 169, 107, 0.18);
}


/* ============================================================
   18. BLOCO 10 — CONTEÚDOS
   ============================================================ */
.content-hub {
  background: var(--w-ice);
  padding: var(--space-4xl) 0;
}
.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}
.content-card {
  background: #FFFFFF;
  overflow: hidden;
  border: 1px solid rgba(15, 28, 46, 0.06);
  transition: all var(--t-med);
}
.content-card a {
  display: block;
  color: inherit;
}
.content-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--w-gold-line);
}
.content-media {
  position: relative;
  aspect-ratio: 16/9;
}
.content-media img {
  transition: transform var(--t-slow);
}
.content-card:hover .content-media img { transform: scale(1.05); }
.play-icon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: rgba(15, 28, 46, 0.85);
  border: 1px solid var(--w-gold);
  border-radius: 50%;
  z-index: 3;
}
.play-icon::before {
  content: "";
  position: absolute;
  top: 50%; left: 55%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 8px 0 8px 14px;
  border-color: transparent transparent transparent var(--w-gold);
}
.content-body {
  padding: var(--space-lg);
}
.content-tag {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--w-gold);
  margin-bottom: var(--space-sm);
  font-weight: 600;
}
.content-body h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
}
.content-body p {
  font-size: 0.9rem;
  color: var(--w-graphite);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.content-newsletter {
  background: var(--w-navy);
  color: var(--w-ice);
  border-color: rgba(200, 169, 107, 0.2);
}
.content-newsletter h3 { color: var(--w-ice); }
.content-newsletter p { color: rgba(245, 247, 250, 0.8); }
.content-newsletter .content-tag { color: var(--w-gold); }

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}
.newsletter-form input[type="email"] {
  flex: 1 1 200px;
  padding: 0.7rem 0.9rem;
  background: rgba(245, 247, 250, 0.08);
  border: 1px solid rgba(200, 169, 107, 0.3);
  color: var(--w-ice);
  font-size: 0.9rem;
}
.newsletter-form input[type="email"]:focus {
  outline: 2px solid var(--w-gold);
  outline-offset: 0;
  background: rgba(245, 247, 250, 0.12);
}
.newsletter-form input[type="email"]::placeholder {
  color: var(--w-stone);
}


/* ============================================================
   19. CHECKBOX LGPD
   ============================================================ */
.lgpd-check {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--w-stone);
  margin-top: var(--space-sm);
  width: 100%;
  cursor: pointer;
}
.lgpd-check input[type="checkbox"] {
  margin-top: 0.25rem;
  accent-color: var(--w-gold);
  flex-shrink: 0;
  cursor: pointer;
}
.lgpd-check a {
  color: var(--w-gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.lgpd-check-light { color: var(--w-graphite); }


/* ============================================================
   20. BLOCO 11 — CTA FINAL
   ============================================================ */
.final-cta {
  background: var(--w-navy);
  color: var(--w-ice);
  padding: var(--space-4xl) 0;
  position: relative;
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  top: -50%; left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background:
    radial-gradient(circle,
      rgba(200, 169, 107, 0.18) 0%,
      transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.final-cta .container {
  position: relative;
  z-index: 1;
}
.final-cta .section-title {
  color: var(--w-ice);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
}
.final-cta .section-title em { color: var(--w-gold); }
.final-cta .section-lead {
  color: rgba(245, 247, 250, 0.82);
}

.smart-form {
  background: rgba(29, 34, 43, 0.6);
  border: 1px solid var(--w-gold-line);
  padding: var(--space-xl) var(--space-lg);
  margin-top: var(--space-xl);
  position: relative;
}

/* Aviso de modo preview do formulário (v2) */
.smart-form[data-form-mode="preview"]::before {
  content: "Modo preview · envio ainda não conectado";
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--w-stone);
  text-align: center;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px dashed rgba(200, 169, 107, 0.2);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}
.form-field { display: block; }
.form-field label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--w-stone);
  margin-bottom: 0.4rem;
}
.form-field input,
.form-field select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(245, 247, 250, 0.05);
  border: 1px solid rgba(200, 169, 107, 0.25);
  color: var(--w-ice);
  font-size: 0.95rem;
  transition: all var(--t-fast);
}
.form-field input:focus,
.form-field select:focus {
  outline: 2px solid var(--w-gold);
  outline-offset: 0;
  background: rgba(245, 247, 250, 0.1);
  border-color: var(--w-gold);
}
.form-field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--w-gold) 50%),
                    linear-gradient(135deg, var(--w-gold) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.5rem;
}
.lgpd-check-light {
  color: rgba(245, 247, 250, 0.75);
}
.form-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}
.form-feedback {
  margin-top: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  font-size: 0.85rem;
  display: none;
}
.form-feedback.show { display: block; }
.form-feedback.success {
  background: rgba(200, 169, 107, 0.15);
  color: var(--w-gold);
  border-left: 3px solid var(--w-gold);
}
.form-feedback.error {
  background: rgba(200, 60, 60, 0.15);
  color: #FFB4B4;
  border-left: 3px solid #C84444;
}
.form-feedback.info {
  background: rgba(200, 169, 107, 0.1);
  color: var(--w-gold);
  border-left: 3px solid var(--w-gold);
}


/* ============================================================
   21. BLOCO 12 — FOOTER
   ============================================================ */
.site-footer {
  background: var(--w-onyx);
  color: var(--w-stone);
  padding: var(--space-3xl) 0 var(--space-xl);
  border-top: 1px solid rgba(200, 169, 107, 0.15);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--w-gold);
  margin-bottom: var(--space-md);
  font-weight: 500;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.footer-col a {
  font-size: 0.88rem;
  color: var(--w-stone);
  transition: color var(--t-fast);
}
.footer-col a:hover { color: var(--w-gold); }
.footer-col a.soon { opacity: 0.55; }
.footer-col a.soon span {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--w-stone);
  margin-left: 0.5rem;
}

.footer-brand .logo { color: var(--w-ice); margin-bottom: var(--space-md); }
.footer-manifesto {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 1rem;
  color: var(--w-gold);
  margin-bottom: var(--space-md);
}
.footer-social {
  display: flex;
  flex-direction: row !important;
  gap: var(--space-md) !important;
}
.footer-social a {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer-legal {
  border-top: 1px solid rgba(200, 169, 107, 0.12);
  padding-top: var(--space-lg);
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--w-stone);
  text-align: center;
}
.footer-copyright {
  margin-top: var(--space-md);
  opacity: 0.7;
}


/* ============================================================
   22. WHATSAPP FLOAT
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.15rem;
  background: #25D366;
  color: #FFFFFF;
  border-radius: 50px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: all var(--t-fast);
}
.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55);
}
.wa-icon { display: inline-flex; }
.wa-label { display: none; }


/* ============================================================
   23. COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: var(--space-md);
  left: var(--space-md);
  right: var(--space-md);
  z-index: 1100;
  background: var(--w-navy);
  border: 1px solid var(--w-gold-line);
  padding: var(--space-lg);
  box-shadow: var(--shadow-lg);
  color: var(--w-ice);
  animation: cookieSlideUp 0.5s var(--ease-out);
}
.cookie-banner[hidden] { display: none; }
.cookie-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.cookie-banner p {
  font-size: 0.85rem;
  line-height: 1.55;
  color: rgba(245, 247, 250, 0.85);
}
.cookie-banner a {
  color: var(--w-gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

@keyframes cookieSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ============================================================
   24. ANIMAÇÕES DE SCROLL (.reveal)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================================
   25. BREAKPOINTS — TABLET (768px+)
   ============================================================ */
@media (min-width: 768px) {

  .container { padding: 0 var(--space-xl); }

  .primary-nav { display: block; }
  .mobile-toggle { display: none; }
  .mobile-nav { display: none !important; }

  .seals-list {
    grid-template-columns: repeat(5, 1fr);
  }

  .doctor-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-3xl);
  }
  .doctor-media { max-width: 100%; }

  .procedures-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
  }

  .vertical-feature-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
  }
  .vertical-feature-reverse .vertical-feature-content { order: 2; }
  .vertical-feature-reverse .vertical-feature-media { order: 1; }

  .journey-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }

  .content-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .form-row { grid-template-columns: 1fr 1fr; }
  .form-actions { flex-direction: row; justify-content: center; }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: var(--space-xl);
  }
  .footer-legal { text-align: left; }

  .cookie-banner {
    bottom: var(--space-lg);
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    max-width: 720px;
  }
  .cookie-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .whatsapp-float { bottom: 30px; right: 30px; }
  .wa-label { display: inline; }
}


/* ============================================================
   26. BREAKPOINTS — DESKTOP (1024px+)
   ============================================================ */
@media (min-width: 1024px) {

  body { font-size: 17px; }

  .procedures-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .journey-steps {
    grid-template-columns: repeat(4, 1fr);
  }

  .smart-form {
    padding: var(--space-2xl) var(--space-xl);
  }
}


/* ============================================================
   27. BREAKPOINTS — LARGE DESKTOP (1280px+) — Parallax leve
   ============================================================ */
@media (min-width: 1280px) {
  .doctor-media[data-parallax],
  .vertical-feature-media[data-parallax] {
    will-change: transform;
  }
}


/* ============================================================
   28. ACESSIBILIDADE — REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-video { display: none; }
  .reveal { opacity: 1; transform: none; }
  .hero-scroll-cue { display: none; }
}


/* ============================================================
   29. PRINT
   ============================================================ */
@media print {
  .site-header,
  .mobile-nav,
  .whatsapp-float,
  .cookie-banner,
  .hero-video,
  .hero-actions,
  .final-cta,
  .smart-form { display: none !important; }
  body { background: #FFFFFF; color: #000; }
  * { background: transparent !important; color: #000 !important; }
}
