/* =============================================================
   Dr. Rafael Bandeira — Landing Page
   Stack: HTML5 semântico + CSS custom + GSAP + Lenis
   Tipografia: Outfit (Google) + Qurova (local, opcional)
   ============================================================= */

@font-face {
  font-family: 'Qurova';
  src: url('assets/Qurova-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Cores oficiais */
  --c-ink:        #2D2D2D;
  --c-deep:       #06315E;
  --c-mid:        #4E80B4;
  --c-soft:       #D7EAFF;
  --c-paper:      #FBFCFE;
  --c-paper-2:    #F4F8FD;
  --c-line:       rgba(6, 49, 94, 0.12);
  --c-line-2:     rgba(6, 49, 94, 0.06);

  /* Tipografia */
  --f-sans: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-display: 'Qurova', 'Outfit', system-ui, sans-serif;

  /* Escala fluida */
  --fs-xs:    clamp(11px, 0.7vw, 12px);
  --fs-sm:    clamp(13px, 0.85vw, 14px);
  --fs-body:  clamp(14px, 0.95vw, 16px);
  --fs-lead:  clamp(16px, 1.15vw, 19px);
  --fs-h3:    clamp(20px, 1.5vw, 26px);
  --fs-h2:    clamp(34px, 4.2vw, 72px);
  --fs-h1:    clamp(40px, 6.2vw, 108px);
  --fs-mono:  clamp(120px, 18vw, 280px);

  /* Espaços */
  --space-section: clamp(60px, 7vw, 110px);
  --container: 1480px;
  --gutter: clamp(20px, 4vw, 56px);
  --header-h: 84px;

  /* Easing */
  --ease-out: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ===== Reset moderno ===== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--f-sans);
  font-size: var(--fs-body);
  font-weight: 300;
  line-height: 1.55;
  color: var(--c-ink);
  background: var(--c-paper);
  overflow-x: hidden;
  letter-spacing: -0.005em;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ol, ul { list-style: none; }
em { font-style: italic; font-family: var(--f-sans); font-weight: 300; }

::selection { background: var(--c-deep); color: var(--c-paper); }

/* ===== Acessibilidade ===== */
.skip-link {
  position: absolute; top: -100px; left: 16px;
  background: var(--c-deep); color: var(--c-paper);
  padding: 12px 20px; font-size: 14px; z-index: 9999;
  transition: top 0.3s;
}
.skip-link:focus { top: 16px; }

:focus-visible { outline: 2px solid var(--c-deep); outline-offset: 4px; }

.hidden { position: absolute; left: -9999px; }

/* ===== Cursor customizado ===== */
.cursor {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9000;
  mix-blend-mode: difference; transform: translate(-50%, -50%);
}
.cursor__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-soft);
  transition: transform 0.2s var(--ease-out);
}
.cursor__ring {
  position: absolute; top: 50%; left: 50%;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--c-soft);
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0;
  transition: transform 0.4s var(--ease-out), opacity 0.3s;
}
.cursor.is-hover .cursor__ring { opacity: 1; transform: translate(-50%, -50%) scale(1.4); }
.cursor.is-hover .cursor__dot { transform: scale(0); }

@media (hover: none), (max-width: 900px) { .cursor { display: none; } }

/* ===== Grão sutil ===== */
.grain {
  position: fixed; inset: 0; z-index: 8000; pointer-events: none;
  opacity: 0.035; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 250 250' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===== Container ===== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ===== Header ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gutter);
  transition: background 0.4s var(--ease-out), padding 0.4s var(--ease-out), border-color 0.4s, color 0.4s;
  border-bottom: 1px solid transparent;
  color: #fff;
}
.site-header.is-scrolled {
  background: rgba(251, 252, 254, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 14px var(--gutter);
  border-bottom-color: var(--c-line-2);
  color: var(--c-ink);
}

.logo img {
  height: 38px; width: auto;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s, filter 0.4s;
}
.site-header.is-scrolled .logo img {
  filter: brightness(0) saturate(100%);
}
.logo:hover img { opacity: 0.75; }

.nav {
  display: flex; gap: clamp(20px, 2.5vw, 40px);
  font-size: 14px; font-weight: 400;
  letter-spacing: 0.01em;
}
.nav a {
  position: relative; padding: 8px 0;
  transition: color 0.3s, opacity 0.3s;
  opacity: 0.85;
}
.nav a:hover { opacity: 1; }
.nav a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 4px;
  height: 1px; background: currentColor;
  transition: right 0.4s var(--ease-out);
}
.nav a:hover::after { right: 0; }

/* Botão "Agendar" no header: branco arredondado quando hero, escuro quando scrolled */
.site-header .btn--ghost {
  background: #fff;
  color: var(--c-deep);
  border-color: #fff;
}
.site-header .btn--ghost:hover {
  background: var(--c-deep);
  color: #fff;
  border-color: var(--c-deep);
}
.site-header.is-scrolled .btn--ghost {
  background: var(--c-deep);
  color: #fff;
  border-color: var(--c-deep);
}
.site-header.is-scrolled .btn--ghost:hover {
  background: #042648;
}

@media (max-width: 900px) { .nav { display: none; } }

/* ===== Botões ===== */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 24px; border-radius: 999px;
  font-size: 14px; font-weight: 500;
  letter-spacing: 0.005em;
  border: 1px solid transparent;
  cursor: pointer; user-select: none;
  transition: background 0.4s var(--ease-out), color 0.4s, border-color 0.4s, transform 0.4s var(--ease-out);
  will-change: transform;
}
.btn svg { transition: transform 0.4s var(--ease-out); }

.btn--primary {
  background: var(--c-deep); color: var(--c-paper);
}
.btn--primary:hover { background: #042648; }
.btn--primary:hover svg { transform: translate(2px, -2px); }

.btn--ghost {
  background: transparent; color: var(--c-ink);
  border-color: var(--c-line);
}
.btn--ghost:hover {
  background: var(--c-deep); color: var(--c-paper); border-color: var(--c-deep);
}
.btn--ghost:hover svg { transform: translate(2px, -2px); }

.btn--white {
  background: #fff; color: var(--c-deep);
  padding: 16px 30px;
  font-weight: 500;
}
.btn--white:hover {
  background: var(--c-soft);
}

.btn--ghost-light {
  background: transparent; color: #fff;
  border-color: rgba(255,255,255,0.32);
  padding: 16px 28px;
}
.btn--ghost-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}
.btn--ghost-light:hover svg { transform: translate(2px, -2px); }

.btn--text {
  padding: 14px 0; border-radius: 0;
}
.btn--text span {
  position: relative;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%; background-repeat: no-repeat;
  background-size: 100% 1px;
  padding-bottom: 2px;
}
.btn--text:hover span {
  animation: line-redraw 0.6s var(--ease-out);
}
@keyframes line-redraw {
  0% { background-size: 100% 1px; background-position: 0 100%; }
  50% { background-size: 0 1px; background-position: 100% 100%; }
  51% { background-size: 0 1px; background-position: 0 100%; }
  100% { background-size: 100% 1px; background-position: 0 100%; }
}

.btn--block { width: 100%; justify-content: center; padding: 18px 24px; }

/* ===== Eyebrow ===== */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 400;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--c-deep);
}
.eyebrow__dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--c-deep);
}
.eyebrow__num {
  font-family: var(--f-display);
  letter-spacing: 0;
  color: var(--c-mid);
  padding-right: 12px; margin-right: 4px;
  border-right: 1px solid var(--c-line);
  text-transform: none;
}

/* ===== Section heading ===== */
.section-head {
  display: grid; gap: 22px;
  margin-bottom: clamp(36px, 4vw, 64px);
  max-width: 1100px;
}
.section-title {
  font-family: var(--f-sans);
  font-size: var(--fs-h2);
  font-weight: 200;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--c-deep);
}
.section-title em {
  font-style: italic; font-weight: 200;
  color: var(--c-mid);
}
.section-title--cta { font-size: clamp(48px, 7vw, 110px); }
.section-lead {
  max-width: 720px;
  font-size: var(--fs-lead);
  font-weight: 300;
  line-height: 1.45;
  color: var(--c-ink);
  opacity: 0.78;
}

/* ===== HERO ===== */
.hero {
  height: 100svh;
  min-height: 600px;
  max-height: 100svh;
  padding: calc(var(--header-h) + 32px) var(--gutter) clamp(40px, 5vw, 72px);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #000;
}
.hero__bg {
  position: absolute; inset: 0;
  background: url('assets/bg-hero.png') center/cover no-repeat;
  z-index: 0;
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,16,38,0.55) 0%, rgba(0,16,38,0.35) 35%, rgba(0,16,38,0.85) 100%),
    linear-gradient(90deg, rgba(0,16,38,0.55) 0%, transparent 60%);
  z-index: 1;
}

.hero__inner {
  position: relative; z-index: 2;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr auto;
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
  flex: 1 1 auto;
}

.hero__copy { max-width: 980px; }

.hero__title {
  font-family: var(--f-display);
  font-size: clamp(34px, 4.8vw, 78px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: clamp(20px, 2.4vw, 32px);
}
.hero__title .line {
  display: block;
  overflow: hidden;
}
.hero__title .line > span {
  display: inline-block;
}
.hero__title .line--accent {
  color: var(--c-soft);
  font-style: italic;
}

.hero__sub {
  font-family: var(--f-sans);
  font-size: clamp(15px, 1.05vw, 18px);
  font-weight: 300;
  line-height: 1.55;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: clamp(28px, 3vw, 40px);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: clamp(36px, 4vw, 56px);
}

/* CRM/RQE em destaque (estilo glass pills) */
.hero__proof {
  display: flex; flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(28px, 3.5vw, 44px);
}
.hero__proof li {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  font-family: var(--f-sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  white-space: nowrap;
}
.hero__proof li strong {
  margin-left: 6px;
  color: #fff;
  font-weight: 600;
}

.hero__chips {
  display: flex; flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  max-width: 320px;
  align-self: end;
  padding-bottom: 24px;
}
.chip {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  font-family: var(--f-sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.005em;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.3s, border-color 0.3s, transform 0.4s var(--ease-out);
  cursor: default;
}
.chip:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateX(-4px);
}

@media (max-width: 980px) {
  .hero { padding-top: calc(var(--header-h) + 24px); }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; align-items: start; }
  .hero__chips { display: none; }
}

/* ===== HERO mobile: BG diferente, conteúdo centralizado e ancorado na base ===== */
@media (max-width: 760px) {
  .hero {
    justify-content: flex-end;
    padding: calc(var(--header-h) + 24px) var(--gutter) clamp(32px, 8vw, 56px);
  }
  .hero__bg {
    background-image: url('assets/bg-hero-mobile.png');
    background-position: center top;
  }
  .hero__overlay {
    background:
      linear-gradient(180deg, rgba(0,16,38,0.20) 0%, rgba(0,16,38,0.45) 55%, rgba(0,16,38,0.92) 100%);
  }
  .hero__inner {
    flex: 0 0 auto;
    text-align: center;
    align-items: center;
  }
  .hero__copy {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero__title {
    font-size: clamp(40px, 11vw, 64px);
    line-height: 1.05;
  }
  .hero__sub {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  .hero__actions {
    justify-content: center;
    width: 100%;
  }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
  .hero__proof {
    justify-content: center;
    width: 100%;
  }
}

/* ===== Marquee ===== */
.hero .marquee {
  position: absolute;
  left: 0; right: 0; bottom: 0;
}
.marquee {
  position: relative;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  overflow: hidden;
  padding: 18px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 36px;
  white-space: nowrap;
  font-size: clamp(13px, 1vw, 16px);
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-deep);
  animation: marquee 38s linear infinite;
  will-change: transform;
}
.marquee__track .dot {
  color: var(--c-mid);
  font-size: 1.6em;
  line-height: 0;
  position: relative;
  top: 1px;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ===== Section base — todas com 100vh ===== */
.problem, .about, .conditions, .cta {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.problem > .container,
.about > .container,
.conditions > .container,
.cta > .container {
  width: 100%;
}

/* ===== PROBLEMA ===== */
.problem {
  padding: var(--space-section) 0;
  background: var(--c-paper);
  border-top: 1px solid var(--c-line);
}
/* ===== Problem carrossel infinito (drag + inertia controlados em JS) ===== */
.problem-marquee {
  position: relative;
  margin-top: clamp(40px, 5vw, 70px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  padding: 4px 0;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}
.problem-marquee.is-dragging { cursor: grabbing; }
.problem-track {
  display: flex;
  gap: clamp(20px, 2vw, 32px);
  width: max-content;
  will-change: transform;
}

.pcard {
  flex: 0 0 clamp(280px, 26vw, 380px);
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 4px;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  transition: transform 0.5s var(--ease-out), border-color 0.5s, box-shadow 0.5s;
}
.pcard:hover {
  border-color: var(--c-mid);
  transform: translateY(-4px);
  box-shadow: 0 24px 60px -30px rgba(6, 49, 94, 0.25);
}
.pcard__media {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--c-soft);
  overflow: hidden;
}
.pcard__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s var(--ease-out), filter 0.6s;
  filter: saturate(0.85) contrast(1.02);
  -webkit-user-drag: none;
  user-select: none;
}
.pcard:hover .pcard__media img {
  transform: scale(1.06);
  filter: saturate(1) contrast(1.05);
}
.pcard__placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background:
    repeating-linear-gradient(
      135deg,
      transparent 0,
      transparent 22px,
      rgba(78, 128, 180, 0.05) 22px,
      rgba(78, 128, 180, 0.05) 23px
    ),
    linear-gradient(160deg, var(--c-soft) 0%, #F4F8FD 100%);
}
.pcard__body {
  padding: clamp(22px, 2vw, 30px);
  display: grid;
  gap: 12px;
  align-content: start;
}
.pcard__num {
  font-family: var(--f-display);
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--c-mid);
}
.pcard h3 {
  font-family: var(--f-display);
  font-size: clamp(18px, 1.4vw, 24px);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--c-deep);
  line-height: 1.2;
}
.pcard p {
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--c-ink);
  opacity: 0.78;
}

@media (prefers-reduced-motion: reduce) {
  .problem-track { animation: none; }
}

/* ===== SOBRE ===== */
.about {
  padding: var(--space-section) 0;
  background: var(--c-paper);
}
.about__container { display: block; }
.about__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
  margin-bottom: clamp(36px, 4vw, 60px);
}
.about__photo {
  margin: 0;
  aspect-ratio: 4/5;
  width: 100%;
  max-width: 560px;
  max-height: 80vh;
  border-radius: 4px;
  background: var(--c-soft);
  border: 1px solid var(--c-line);
  position: relative;
  overflow: hidden;
  justify-self: start;
}
.about__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s var(--ease-out);
}
.about__photo:hover img { transform: scale(1.03); }
.about__bio {
  display: grid;
  gap: 18px;
  max-width: 620px;
}
.about__bio .eyebrow { margin-bottom: 4px; }
.about__bio .section-title {
  margin-bottom: 14px;
}
.about__bio p:not(.eyebrow) {
  font-size: var(--fs-lead);
  font-weight: 300;
  line-height: 1.5;
  color: var(--c-ink);
  letter-spacing: -0.005em;
}
.about__lattes {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 14px 24px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  font-family: var(--f-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.005em;
  color: var(--c-deep);
  background: transparent;
  transition: background 0.4s var(--ease-out), border-color 0.4s, color 0.4s, transform 0.4s var(--ease-out);
}
.about__lattes svg { transition: transform 0.4s var(--ease-out); }
.about__lattes:hover {
  background: var(--c-deep);
  color: #fff;
  border-color: var(--c-deep);
}
.about__lattes:hover svg { transform: translate(2px, -2px); }
@media (max-width: 880px) { .about__grid { grid-template-columns: 1fr; } }

/* ===== Timeline ===== */
.timeline {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--c-line);
}
.timeline li {
  display: grid;
  grid-template-columns: 160px 18px 1fr;
  gap: clamp(20px, 3vw, 50px);
  align-items: center;
  padding: clamp(12px, 1.4vw, 18px) 0;
  border-bottom: 1px solid var(--c-line);
  transition: padding 0.4s var(--ease-out);
}
.timeline li:hover {
  padding-left: 16px;
}
.timeline__year {
  font-family: var(--f-display);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 400;
  color: var(--c-deep);
  letter-spacing: -0.005em;
}
.timeline__year .dash { color: var(--c-mid); padding: 0 2px; }
.timeline__bullet {
  width: 8px; height: 8px;
  border-radius: 50%; background: var(--c-mid);
}
.timeline__label {
  font-size: var(--fs-body);
  font-weight: 300;
  color: var(--c-ink);
  opacity: 0.85;
}
@media (max-width: 760px) {
  .timeline li { grid-template-columns: 110px 12px 1fr; gap: 18px; }
}

/* ===== CONDIÇÕES ===== */
.conditions {
  padding: var(--space-section) 0;
  background: var(--c-paper-2);
}
.cond-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--c-line);
}
.cond-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: clamp(16px, 1.5vw, 24px);
  padding: clamp(22px, 2.2vw, 30px) clamp(20px, 2vw, 28px);
  border-bottom: 1px solid var(--c-line);
  position: relative;
  transition: background 0.5s var(--ease-out);
}
.cond-item:nth-child(odd) {
  border-right: 1px solid var(--c-line);
}
.cond-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--c-mid);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.5s var(--ease-out);
}
.cond-item:hover {
  background: var(--c-paper);
}
.cond-item:hover::before {
  transform: scaleY(1);
}
.cond-item__num {
  font-family: var(--f-display);
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--c-mid);
  padding-top: 4px;
}
.cond-item__body {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.cond-item__body h3 {
  font-family: var(--f-display);
  font-size: clamp(17px, 1.3vw, 22px);
  font-weight: 400;
  color: var(--c-deep);
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.cond-item__body p {
  font-size: clamp(13px, 0.9vw, 15px);
  line-height: 1.55;
  color: var(--c-ink);
  opacity: 0.78;
}
@media (max-width: 760px) {
  .cond-list { grid-template-columns: 1fr; }
  .cond-item:nth-child(odd) { border-right: none; }
  .cond-item { grid-template-columns: 40px 1fr; padding: 22px 0; }
}

/* ===== CTA ===== */
.cta {
  padding: var(--space-section) 0;
  background:
    radial-gradient(ellipse 70% 50% at 80% 100%, rgba(78,128,180,0.15) 0%, transparent 60%),
    var(--c-paper-2);
  border-top: 1px solid var(--c-line);
}
.cta__whats {
  display: block;
  padding: clamp(36px, 5vw, 80px);
  background: #0A1A2C;
  color: #fff;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  min-height: clamp(420px, 56vh, 580px);
  margin-bottom: clamp(36px, 4vw, 56px);
  isolation: isolate;
  transition: transform 0.5s var(--ease-out);
}
.cta__whats:hover { transform: translateY(-4px); }

.cta__whats-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.cta__whats-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  transition: transform 1.2s var(--ease-out), filter 0.6s;
  filter: grayscale(1) contrast(1.05);
}
.cta__whats:hover .cta__whats-bg img { transform: scale(1.04); }

.cta__whats-overlay {
  position: absolute; inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(6,49,94,0.10) 0%, rgba(6,49,94,0.35) 40%, rgba(6,49,94,0.92) 100%),
    linear-gradient(90deg, rgba(6,49,94,0.65) 0%, rgba(6,49,94,0.15) 55%, transparent 100%);
}

.cta__whats-content {
  position: relative; z-index: 2;
  display: grid; gap: 16px;
  max-width: 480px;
  height: 100%;
  align-content: end;
}
.cta__whats-label {
  font-family: var(--f-sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}
.cta__whats-headline {
  font-family: var(--f-display);
  font-size: clamp(40px, 4.5vw, 64px);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.025em;
  color: #fff;
}
.cta__whats-headline em {
  font-style: italic;
  color: var(--c-soft);
}
.cta__whats-sub {
  font-family: var(--f-sans);
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 300;
  margin-top: 4px;
}

/* Botão verde estilo WhatsApp */
.wa-btn {
  position: relative; z-index: 2;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 14px 22px;
  background: #25D366;
  color: #fff;
  font-family: var(--f-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.005em;
  border-radius: 999px;
  transition: background 0.3s, transform 0.4s var(--ease-out), box-shadow 0.4s;
  box-shadow: 0 12px 30px -12px rgba(37, 211, 102, 0.45);
}
.cta__whats:hover .wa-btn {
  background: #1EBE5A;
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -12px rgba(37, 211, 102, 0.6);
}
.wa-btn svg { flex-shrink: 0; }

.cta__form {
  display: grid;
  gap: 16px;
  padding: clamp(28px, 3vw, 44px);
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 4px;
}
.field {
  display: grid;
  gap: 6px;
}
.field label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-deep);
  font-weight: 500;
}
.field input,
.field select {
  background: transparent;
  border: 0; border-bottom: 1px solid var(--c-line);
  padding: 10px 0;
  font-size: 16px;
  font-weight: 300;
  color: var(--c-ink);
  border-radius: 0;
  transition: border-color 0.3s;
  appearance: none;
  -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%2306315E' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  cursor: pointer;
}
.field input:focus,
.field select:focus {
  outline: none;
  border-bottom-color: var(--c-deep);
}
.check {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 13px; line-height: 1.5;
  color: var(--c-ink); opacity: 0.85;
  margin-top: 4px;
  cursor: pointer;
}
.check input {
  margin-top: 3px;
  accent-color: var(--c-deep);
  width: 16px; height: 16px;
  flex-shrink: 0;
}

.cta__location {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 3vw, 48px);
  padding-top: clamp(24px, 3vw, 40px);
  border-top: 1px solid var(--c-line);
  align-items: stretch;
}
@media (max-width: 880px) { .cta__location { grid-template-columns: 1fr; } }

.cta__info {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 2vw, 32px);
}
.cta__info > div { display: grid; gap: 8px; }
.info__label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-mid);
  font-weight: 500;
}
.cta__info p:not(.info__label) {
  font-size: 15px;
  line-height: 1.55;
  color: var(--c-deep);
  font-weight: 300;
}
.info__link {
  align-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding: 6px 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.005em;
  color: var(--c-deep);
  border-bottom: 1px solid var(--c-line);
  transition: gap 0.3s var(--ease-out), border-color 0.3s, color 0.3s;
}
.info__link:hover {
  gap: 12px;
  border-color: var(--c-deep);
  color: var(--c-mid);
}

.cta__map {
  position: relative;
  width: 100%;
  min-height: 360px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--c-line);
  background: var(--c-soft);
}
.cta__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.15) contrast(1.02);
  transition: filter 0.4s;
}
.cta__map:hover iframe { filter: grayscale(0) contrast(1.05); }
@media (max-width: 880px) { .cta__map { min-height: 280px; } }

/* ===== FOOTER (estilo editorial, modelo Dra. Flávia) ===== */
.site-footer {
  padding: clamp(80px, 10vw, 140px) 0 40px;
  background: var(--c-deep);
  color: rgba(255, 255, 255, 0.78);
  border-top: 1px solid var(--c-line);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 1fr;
  gap: clamp(28px, 3vw, 56px);
  padding-bottom: clamp(40px, 5vw, 64px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
@media (max-width: 960px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 540px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* Brand */
.footer__brand {
  display: flex; flex-direction: column;
  gap: 18px;
  max-width: 380px;
}
.footer__logo-link { display: inline-block; align-self: flex-start; }
.footer__logo {
  height: 38px; width: auto;
  filter: brightness(0) invert(1);
}
.footer__tagline {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}
.footer__creds {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 4px;
}
.footer__creds li {
  display: inline-flex; align-items: center;
  height: 30px;
  padding: 0 14px;
  font-family: var(--f-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}
.footer__creds li strong {
  color: #fff;
  margin-left: 4px;
  font-weight: 600;
}

/* Cols */
.footer__col {
  display: flex; flex-direction: column;
  gap: 14px;
}
.footer__col-title {
  font-family: var(--f-sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 4px;
}
.footer__links {
  display: flex; flex-direction: column;
  gap: 10px;
}
.footer__links a {
  font-family: var(--f-sans);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.3s var(--ease-out);
}
.footer__links a:hover { color: var(--c-soft); }
.footer__text {
  font-family: var(--f-sans);
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
}

/* CTA WhatsApp no footer */
.footer__cta {
  align-self: flex-start;
  display: inline-flex; align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: #25D366;
  color: #fff;
  font-family: var(--f-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.005em;
  border-radius: 999px;
  transition: background 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.footer__cta:hover {
  background: #1EBE5A;
  transform: translateY(-1px);
}
.footer__cta svg { width: 16px; height: 16px; flex-shrink: 0; }

/* Bottom */
.footer__bottom {
  margin-top: clamp(28px, 3vw, 40px);
  display: flex; flex-direction: column;
  gap: 8px;
}
.footer__legal {
  font-family: var(--f-sans);
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
  max-width: 80ch;
}
.footer__copy {
  font-family: var(--f-sans);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.02em;
}

/* ===== Reveal animations (fallback caso GSAP falhe) ===== */
[data-reveal] { will-change: transform, opacity; }
.no-js [data-reveal] { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .marquee__track, .hero__photo-mark { animation: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
