/* ═══════════════════════════════════════════════
   Design Tokens
═══════════════════════════════════════════════ */
:root {
  --primary:    #d98ba1;
  --secondary:  #f7d6de;
  --accent:     #a85c72;
  --accent-dk:  #8c4b5e;
  --background: #fff7f9;
  --surface:    #ffffff;
  --surface-2:  #fff2f5;
  --text:       #3a2a2f;
  --muted:      #7a646a;
  --border:     #ebd0d7;
  --success:    #4f8a63;

  --radius-sm:  10px;
  --radius-md:  18px;
  --radius-lg:  28px;
  --radius-xl:  38px;

  --shadow-sm:  0 2px 8px rgba(168,92,114,.07);
  --shadow-md:  0 8px 28px rgba(168,92,114,.13);
  --shadow-lg:  0 20px 56px rgba(141,83,102,.18);

  --ease-spring: cubic-bezier(.22,.68,0,1.2);
}

/* ═══════════════════════════════════════════════
   Reset & Base
═══════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Sora", sans-serif;
  color: var(--text);
  background: var(--background);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-family: "Sora", sans-serif; }
p  { margin: 0; }
a  { color: inherit; text-decoration: none; }

/* ═══════════════════════════════════════════════
   Background Blobs
═══════════════════════════════════════════════ */
.bg-blob {
  position: fixed;
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
  filter: blur(0);
}

.bg-blob--a {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(255,200,218,.42) 0%, transparent 66%);
  top: -180px; right: -160px;
  animation: blobFloat 16s ease-in-out infinite;
}
.bg-blob--b {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(247,210,225,.38) 0%, transparent 66%);
  bottom: -130px; left: -150px;
  animation: blobFloat 20s ease-in-out infinite reverse;
}
.bg-blob--c {
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(253,220,232,.32) 0%, transparent 68%);
  top: 46%; left: 52%;
  animation: blobFloat 26s ease-in-out infinite 4s;
}

@keyframes blobFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(-18px,22px) scale(1.05); }
  66%      { transform: translate(14px,-14px) scale(0.96); }
}

/* ═══════════════════════════════════════════════
   Container
═══════════════════════════════════════════════ */
.container {
  width: min(1100px, calc(100% - 2.5rem));
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════
   Scroll Reveal
═══════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 640ms ease, transform 640ms ease;
}
.reveal--right {
  transform: translateX(32px) translateY(0);
}
.reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ═══════════════════════════════════════════════
   Navbar
═══════════════════════════════════════════════ */
.navbar {
  position: relative;
  z-index: 100;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  background: rgba(255,247,249,.88);
  border-bottom: 1px solid rgba(235,208,215,.55);
  box-shadow: 0 1px 24px rgba(168,92,114,.06);
}

.navbar__inner {
  width: min(1100px, calc(100% - 2.5rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1rem;
}

.navbar__brand {
  display: flex;
  align-items: center;
  transition: opacity 200ms;
}
.navbar__brand:hover { opacity: 0.85; }

.navbar__logo-img {
  height: 64px;
  width: auto;
  display: block;
}

.navbar__nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.navbar__link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  transition: color 180ms, background 180ms;
}
.navbar__link:hover {
  color: var(--accent);
  background: rgba(168,92,114,.07);
}

.navbar__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(145deg, var(--accent), var(--primary));
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(168,92,114,.3);
  transition: box-shadow 200ms, transform 200ms;
}
.navbar__cta:hover {
  box-shadow: 0 8px 22px rgba(168,92,114,.42);
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════
   Eyebrow
═══════════════════════════════════════════════ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(168,92,114,.08);
  border: 1px solid rgba(168,92,114,.18);
  border-radius: 999px;
  padding: 0.3em 0.9em;
  margin-bottom: 0.75rem;
}


/* ═══════════════════════════════════════════════
   Hero
═══════════════════════════════════════════════ */
.hero {
  width: min(1100px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 2.5rem 0 2rem;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

.hero__copy { }

.hero__title {
  font-size: clamp(1.75rem, 3.8vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin-bottom: 1rem;
}

.hero__title-em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.hero__subtitle {
  max-width: 48ch;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 1.8rem;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ── Hero Visual ── */
.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__card-stack {
  position: relative;
  width: 280px;
  height: 320px;
}

.hcard {
  position: absolute;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.hcard--back {
  width: 220px; height: 260px;
  bottom: 0; left: 0;
  transform: rotate(-8deg) translateY(10px);
  background: linear-gradient(145deg, #fff1f5, #fce8f0);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  justify-content: flex-end;
}

.hcard__line {
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--secondary), rgba(247,214,222,.4));
}
.hcard__line--short { width: 60%; }

.hcard__pdf-badge {
  position: absolute;
  top: 1rem; right: 1rem;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent);
  background: rgba(168,92,114,.1);
  border: 1px solid rgba(168,92,114,.2);
  border-radius: 6px;
  padding: 0.2em 0.5em;
}

.hcard--front {
  width: 240px; height: 280px;
  top: 0; right: 0;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.hcard--front::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--primary), #f7b8cc);
}

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

.hcard__tag {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: rgba(168,92,114,.08);
  border-radius: 6px;
  padding: 0.22em 0.55em;
}

.hcard__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  flex: 1;
}

.hcard__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.8rem;
  border-top: 1px solid var(--border);
}

.hcard__meta { font-size: 0.75rem; color: var(--muted); font-weight: 500; }
.hcard__size {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(168,92,114,.08);
  border-radius: 6px;
  padding: 0.18em 0.45em;
}

/* ── Medical scan card (back) ── */
.hcard--back.hcard--scan {
  background: #0d1218;
  padding: 0;
  display: block;
}
.hcard__scan-svg {
  width: 100%;
  height: 100%;
  display: block;
}
.hcard__scan-badge {
  position: absolute;
  top: 0.8rem;
  right: 0.85rem;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(217,139,161,.9);
  background: rgba(217,139,161,.12);
  border: 1px solid rgba(217,139,161,.28);
  padding: 0.2em 0.55em;
  border-radius: 5px;
}

/* ── Result rows inside front card ── */
.hcard__results {
  display: flex;
  flex-direction: column;
  gap: 0.44rem;
  flex: 1;
}
.hcard__result-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
}
.hres-label {
  display: flex;
  align-items: center;
  gap: 0.32rem;
  font-size: 0.71rem;
  color: var(--muted);
  font-weight: 500;
}
.hres-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.hres-dot--neg  { background: #4f8a63; }
.hres-dot--warn { background: #c97a1a; }
.hres-val {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.13em 0.48em;
  border-radius: 5px;
  white-space: nowrap;
}
.hres-val--neg  { background: rgba(79,138,99,.14);  color: #4f8a63; }
.hres-val--warn { background: rgba(201,122,26,.14); color: #c97a1a; }

/* ── Floating medical icon badges ── */
.hero__float-icons {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
}
.ficon {
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(168,92,114,.18);
}
.ficon--tube { top: 7%;    left: -15px;  animation: ficonFloat 4s   ease-in-out infinite; }
.ficon--dna  { bottom: 20%; right: -15px; animation: ficonFloat 5.5s ease-in-out infinite 1s; }
.ficon--mol  { top: 52%;   left: -19px;  animation: ficonFloat 3.8s ease-in-out infinite 2s; }

@keyframes ficonFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-7px); }
}

/* ── Variante "Negativo" em vermelho ── */
.hres-dot--r { background: #d64545; }
.hres-val--r { background: rgba(214,69,69,.13); color: #d64545; }

/* ── Swap interativo dos cards ── */
.hero__card-stack { cursor: pointer; }

/* Z-index explícito para controlar a sobreposição */
.hcard--back  { z-index: 1; }
.hcard--front { z-index: 2; }

/* Transição suave com leve mola */
.hcard--back,
.hcard--front {
  transition: transform 0.65s cubic-bezier(0.34, 1.2, 0.64, 1);
}

/*
  Back → posição do front: container 280×320
  back  (220×260): bottom:0 left:0  → top=60px  left=0
  front (240×280): top:0   right:0  → top=0     left=40px
  Δ: translateX(+40px) translateY(–60px), cancelar translateY(10px) original → Y total = –70px
  Scale: 240/220 × 280/260 ≈ 1.09
*/
.hero__card-stack.is-swapped .hcard--back {
  transform: translate(40px, -70px) scale(1.09);
  z-index: 2;
}

/*
  Front → posição do back:
  Δ: translateX(–40px) translateY(+60px), adicionar translateY(10px) original → Y total = +70px
  Adicionar rotate(–8deg) e scale 220/240 × 260/280 ≈ 0.917
*/
.hero__card-stack.is-swapped .hcard--front {
  transform: translate(-40px, 70px) rotate(-8deg) scale(0.917);
  z-index: 1;
}

/* Dica de interação (aparece no hover) */
.swap-hint {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--muted);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.hero__card-stack:hover .swap-hint,
.hero__card-stack.is-swapped .swap-hint { opacity: 0.75; }

/* Orbits decoration */
.hero__orbits {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1.5px dashed rgba(168,92,114,.2);
}

.orbit--a {
  width: 340px; height: 340px;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  animation: orbitSpin 24s linear infinite;
}

.orbit--b {
  width: 250px; height: 250px;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  animation: orbitSpin 16s linear infinite reverse;
}

@keyframes orbitSpin {
  from { transform: translate(-50%,-50%) rotate(0deg); }
  to   { transform: translate(-50%,-50%) rotate(360deg); }
}

/* ═══════════════════════════════════════════════
   Stats Bar
═══════════════════════════════════════════════ */
.stats-bar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,.9);
  overflow: hidden;
}

.stats-bar__inner {
  display: flex;
  align-items: stretch;
}

.stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 1.1rem 1rem;
  text-align: center;
}

.stat-item__value {
  font-size: 1.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-item__label {
  font-size: 0.76rem;
  color: var(--muted);
  font-weight: 500;
}

.stat-sep {
  width: 1px;
  background: var(--border);
  align-self: stretch;
  margin: 0.75rem 0;
}

/* ═══════════════════════════════════════════════
   Buttons
═══════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45em;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.8rem 1.6rem;
  font-weight: 700;
  font-size: 0.94rem;
  font-family: inherit;
  cursor: pointer;
  transition: transform 200ms var(--ease-spring),
              box-shadow 200ms ease,
              background-color 200ms ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: linear-gradient(145deg, var(--accent), var(--primary));
  color: #fff;
  box-shadow: 0 8px 24px rgba(168,92,114,.36), inset 0 1px 0 rgba(255,255,255,.2);
}
.btn--primary:hover {
  box-shadow: 0 14px 34px rgba(168,92,114,.46), inset 0 1px 0 rgba(255,255,255,.2);
}

.btn--ghost {
  border-color: var(--border);
  color: var(--accent);
  background: rgba(255,255,255,.85);
  box-shadow: var(--shadow-sm);
}
.btn--ghost:hover {
  background: rgba(168,92,114,.06);
  border-color: rgba(168,92,114,.28);
}

.btn--full { width: 100%; }

/* ═══════════════════════════════════════════════
   Section Head
═══════════════════════════════════════════════ */
.section-head {
  margin-bottom: 2rem;
}

.section-head h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.section-head > p:last-child {
  color: var(--muted);
  font-size: 0.97rem;
}

/* ═══════════════════════════════════════════════
   Expert Section
═══════════════════════════════════════════════ */
.expert-section {
  padding: 1rem 0 4rem;
}

.expert-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1.2rem;
}

.expert-card {
  position: relative;
  border: 1px solid rgba(236,214,221,.8);
  border-radius: var(--radius-lg);
  background: rgba(255,252,253,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1.8rem 1.6rem 1.6rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm), var(--shadow-md), inset 0 1px 0 rgba(255,255,255,.85);
  transition: transform 260ms var(--ease-spring),
              box-shadow 260ms ease,
              border-color 260ms ease;
}

.expert-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--primary), transparent);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.expert-card::after {
  content: "";
  position: absolute;
  top: -50px; right: -50px;
  width: 150px; height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249,182,200,.22) 0%, transparent 70%);
  pointer-events: none;
}

.expert-card:hover {
  transform: translateY(-5px);
  border-color: rgba(210,140,165,.5);
  box-shadow: var(--shadow-sm),
    0 22px 52px rgba(151,99,116,.2),
    inset 0 1px 0 rgba(255,255,255,.9);
}

.expert-card__icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(168,92,114,.1), rgba(217,139,161,.12));
  border: 1px solid rgba(168,92,114,.14);
  color: var(--accent);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}


.expert-card h3 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.65rem;
  position: relative;
  z-index: 1;
}

.expert-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════════════════════════
   Drive Section
═══════════════════════════════════════════════ */
.drive-section {
  padding: 0 0 5rem;
}

.drive-wrapper {
  background: rgba(255,252,253,.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.6rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm), 0 16px 48px rgba(168,92,114,.10), inset 0 1px 0 rgba(255,255,255,.9);
}

.drive-wrapper.is-locked { max-height: 480px; }

.drive-wrapper.is-locked .drive-grid {
  filter: blur(2px) grayscale(.15);
  user-select: none;
}

.drive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1rem;
  transition: filter 300ms ease;
}

/* ── Lock Overlay ── */
.drive-lock {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: pointer;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 2.5rem;
}

.drive-lock::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255,247,249,0) 0%,
    rgba(255,247,249,.18) 50%,
    rgba(255,247,249,.96) 100%
  );
}

.drive-lock__prompt {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.1rem 2rem;
  box-shadow: var(--shadow-md);
  animation: riseIn 500ms ease;
  color: var(--accent);
}

.drive-lock__text {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent);
}

/* ── Pagination ── */
.drive-pagination {
  margin-top: 1.2rem;
  border-top: 1px solid rgba(240,221,227,.7);
  padding-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.drive-pagination__nav {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.drive-pagination__button {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  border: 1.5px solid rgba(223,189,200,.8);
  border-radius: 999px;
  min-height: 36px;
  padding: 0.35rem 1rem;
  background: rgba(255,255,255,.85);
  color: var(--accent);
  font: inherit;
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background 200ms, border-color 200ms, transform 150ms, box-shadow 200ms;
}

.drive-pagination__button:hover:not(:disabled) {
  background: rgba(168,92,114,.08);
  border-color: rgba(168,92,114,.35);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(168,92,114,.14);
}

.drive-pagination__button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.drive-pagination__indicator {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  min-width: 108px;
  text-align: center;
}

/* ── Drive empty ── */
.drive-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  padding: 2.5rem 0;
  font-size: 0.95rem;
}

/* ═══════════════════════════════════════════════
   File Card
═══════════════════════════════════════════════ */
.file-card {
  position: relative;
  border-radius: var(--radius-md);
  padding: 1.2rem;
  background: rgba(255,252,253,.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  min-height: 180px;
  overflow: hidden;
  border: 1.5px solid rgba(245,215,225,.8);
  box-shadow: var(--shadow-sm), 0 8px 28px rgba(168,92,114,.10), inset 0 1px 0 rgba(255,255,255,.8);
  transition: transform 260ms var(--ease-spring),
              box-shadow 260ms ease,
              border-color 260ms ease;
}

.file-card::before {
  content: "";
  position: absolute;
  width: 140px; height: 140px;
  top: -50px; right: -30px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249,182,200,.35) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Shimmer on hover */
.file-card::after {
  content: "";
  position: absolute;
  top: 0; left: -130%;
  width: 70%; height: 100%;
  background: linear-gradient(108deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  transition: left 540ms ease;
  z-index: 2;
  pointer-events: none;
}

.file-card:hover { transform: translateY(-5px); border-color: rgba(210,140,165,.6);
  box-shadow: var(--shadow-sm), 0 20px 50px rgba(168,92,114,.2), inset 0 1px 0 rgba(255,255,255,.9); }
.file-card:hover::after { left: 150%; }

.file-card > * { position: relative; z-index: 1; }

.file-card__body {
  display: flex;
  gap: 1em;
  align-items: flex-start;
}

/* PDF icon */
.file-card__icon {
  width: 52px; height: 64px;
  border-radius: 12px;
  background: linear-gradient(155deg, #fff 50%, #fce7f0);
  border: 1px solid rgba(220,170,190,.5);
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(217,139,161,.2), inset 0 1px 0 rgba(255,255,255,.95);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.file-card:hover .file-card__icon {
  transform: translateY(-2px) rotate(-2deg);
  box-shadow: 0 10px 26px rgba(217,139,161,.3), inset 0 1px 0 rgba(255,255,255,.95);
}

.file-card__icon::before {
  content: "";
  position: absolute;
  right: -1px; top: -1px;
  width: 16px; height: 16px;
  background: linear-gradient(220deg, #f8c2d4 0%, #edadc3 100%);
  border-left: 1px solid rgba(210,155,178,.5);
  border-bottom: 1px solid rgba(210,155,178,.5);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  border-top-right-radius: 12px;
}

.file-card__icon::after {
  content: "PDF";
  position: absolute;
  left: 50%; bottom: 8px;
  transform: translateX(-50%);
  font-size: 0.52rem;
  letter-spacing: 0.1em;
  font-weight: 800;
  color: var(--accent);
  background: rgba(255,255,255,.82);
  padding: 2px 5px;
  border-radius: 4px;
}

.file-card__info { flex: 1; min-width: 0; }

.file-card__title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.3rem;
  color: var(--text);
}

.file-card__description {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.55;
}

.file-card__footer {
  margin-top: auto;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(235,208,215,.5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.file-card__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 600;
}

.file-card__badge {
  background: linear-gradient(135deg, #f7d3df, #f0bdd0);
  color: var(--accent);
  font-weight: 800;
  font-size: 0.6rem;
  letter-spacing: 0.09em;
  padding: 0.2em 0.55em;
  border-radius: 6px;
  border: 1px solid rgba(200,140,165,.22);
}

.file-card__action {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  border: none;
  border-radius: 999px;
  min-height: 34px;
  padding: 0.32rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: inherit;
  color: #fff;
  background: linear-gradient(135deg, #e09ab5 0%, var(--accent) 100%);
  box-shadow: 0 4px 14px rgba(168,92,114,.3);
  transition: box-shadow 200ms, transform 200ms;
  text-decoration: none;
  cursor: pointer;
}

.file-card__action:hover {
  box-shadow: 0 8px 24px rgba(168,92,114,.46);
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════
   Footer
═══════════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, var(--background) 0%, #fff4f7 100%);
}

.footer__inner {
  width: min(1140px, calc(100% - 2.5rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem 3.5rem;
  padding: 3rem 0 2rem;
  align-items: start;
}

.footer__brand { }

.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.footer__tagline {
  font-size: 0.84rem;
  color: var(--muted);
}

.footer__col { }

.footer__col-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.6rem;
  opacity: 0.7;
}

.footer__col strong {
  font-weight: 700;
  color: var(--text);
  font-size: 0.88rem;
  display: block;
  margin-bottom: 0.3rem;
}

.footer__col p {
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.7;
}

/* Nossas Unidades */
.footer__units { }

.footer__units-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem 1.6rem;
  margin-top: 0.75rem;
}

.footer__unit strong {
  font-weight: 700;
  color: var(--text);
  font-size: 0.84rem;
  display: block;
  margin-bottom: 0.25rem;
}

.footer__unit p {
  font-size: 0.79rem;
  color: var(--muted);
  line-height: 1.6;
}

.footer__contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  transition: opacity 180ms;
}
.footer__contact-link:hover { opacity: 0.75; }

.footer__bottom {
  width: min(1100px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 1.2rem 0 2rem;
  border-top: 1px solid rgba(235,208,215,.5);
  font-size: 0.84rem;
  color: var(--muted);
}

/* ═══════════════════════════════════════════════
   Modal
═══════════════════════════════════════════════ */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 200;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.modal.is-open { display: block; }

/* Impede o scroll da página de fundo com o modal aberto */
body.modal-open { overflow: hidden; }

.modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(39,24,30,.58);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.modal__content {
  position: relative;
  width: min(520px, calc(100% - 2rem));
  margin: 6vh auto;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: 0 28px 72px rgba(30,20,24,.3);
  animation: riseIn 300ms var(--ease-spring);
  overflow: hidden;
}

.modal__content::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--primary), #f7b8cc);
}

.modal__close {
  position: absolute;
  top: 1rem; right: 1rem;
  border: 1.5px solid var(--border);
  background: rgba(255,255,255,.9);
  border-radius: 50%;
  width: 34px; height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--muted);
  transition: background 200ms, border-color 200ms, color 200ms, transform 180ms;
}
.modal__close:hover {
  background: rgba(168,92,114,.08);
  border-color: rgba(168,92,114,.3);
  color: var(--accent);
  transform: rotate(90deg);
}

.modal__header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.modal__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(168,92,114,.1), rgba(217,139,161,.12));
  border: 1px solid rgba(168,92,114,.14);
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.modal__header .eyebrow { margin-bottom: 0.3rem; }

.modal__header h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
}

.modal__sub {
  font-size: 0.88rem;
  color: var(--muted);
}

/* Lead Form */
.lead-form {
  display: grid;
  gap: 0.9rem;
}

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

.lead-form label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.lead-form input,
.lead-form select {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.78rem 0.95rem;
  font: inherit;
  font-size: 0.95rem;
  outline: none;
  background: rgba(255,247,249,.45);
  color: var(--text);
  transition: border-color 200ms, box-shadow 200ms, background 200ms;
}

/* Custom dropdown arrow so select matches the inputs */
.lead-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 2.6rem;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%23a85c72' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
  background-size: 14px;
}

.lead-form input::placeholder { color: rgba(122,100,106,.5); }

/* Placeholder option styled like the input placeholders */
.lead-form select:invalid,
.lead-form select option[value=""] { color: rgba(122,100,106,.5); }

.lead-form input:focus,
.lead-form select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(168,92,114,.14);
  background-color: #fff;
}

/* ── Toggle "Atende convênio?" ── */
.lead-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0.95rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255,247,249,.45);
}

.lead-toggle ~ .lead-toggle {
  margin-top: 0.55rem;
}

.lead-toggle__label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}

.switch {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
  cursor: pointer;
}

.switch input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}

.switch__track {
  width: 46px;
  height: 26px;
  border-radius: 999px;
  background: rgba(122,100,106,.28);
  transition: background 200ms;
  display: inline-flex;
  align-items: center;
  padding: 3px;
}

.switch__thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.25);
  transition: transform 200ms;
}

.switch input:checked + .switch__track {
  background: var(--accent);
}

.switch input:checked + .switch__track .switch__thumb {
  transform: translateX(20px);
}

.switch input:focus-visible + .switch__track {
  box-shadow: 0 0 0 3px rgba(168,92,114,.22);
}

/* ── Lista de convênios ── */
.convenios {
  margin-top: 0.7rem;
  animation: riseIn 220ms ease;
}

.convenios__hint {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0 0 0.5rem;
}

.convenios__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.convenio-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.7rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255,247,249,.45);
  font-size: 0.88rem;
  color: var(--text);
  cursor: pointer;
  transition: border-color 160ms, background 160ms;
  user-select: none;
}

.convenio-chip:hover { border-color: var(--accent); }

.convenio-chip input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
}

.convenio-chip:has(input:checked) {
  border-color: var(--accent);
  background: rgba(168,92,114,.10);
  font-weight: 600;
}

@media (max-width: 480px) {
  .convenios__grid { grid-template-columns: 1fr; }
}

.form-note {
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: -0.3rem;
}

.form-error {
  color: #b22047;
  min-height: 1.1rem;
  font-size: 0.88rem;
  font-weight: 500;
}

/* Confirmação exibida após o envio do formulário de lead */
.lead-success {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: min(390px, calc(100% - 2rem));
  padding: 1rem 1.1rem;
  border: 1px solid rgba(38, 139, 89, .22);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--text);
  box-shadow: 0 18px 48px rgba(30, 20, 24, .2);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
}

.lead-success[hidden] { display: none; }

.lead-success.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.lead-success__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  background: rgba(38, 139, 89, .1);
  color: #268b59;
}

.lead-success__content {
  display: grid;
  gap: 0.12rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.lead-success__content strong {
  font-size: 1rem;
  color: var(--text);
}

/* ═══════════════════════════════════════════════
   Animations
═══════════════════════════════════════════════ */
@keyframes riseIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════
   Responsive
═══════════════════════════════════════════════ */
@media (max-width: 960px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero__visual { order: -1; }
  .hero__card-stack { width: 260px; height: 280px; }
  .hcard--back  { width: 200px; height: 230px; }
  .hcard--front { width: 220px; height: 255px; }

  .expert-grid { grid-template-columns: 1fr; }

  .drive-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }

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

@media (max-width: 640px) {
  .lead-success {
    right: 0.7rem;
    bottom: 0.7rem;
    width: calc(100% - 1.4rem);
  }

  .hero,
  .expert-section .container,
  .drive-section .container,
  .footer__inner,
  .footer__bottom,
  .navbar__inner {
    width: calc(100% - 1.4rem);
  }

  .hero { padding: 1.5rem 0 1.5rem; }

  /* Modal ocupa quase a tela toda e rola internamente */
  .modal__content {
    width: calc(100% - 1.4rem);
    margin: 1rem auto;
    padding: 1.5rem 1.25rem;
  }
  .modal__header { gap: 0.75rem; margin-bottom: 1rem; }
  .modal__icon { width: 44px; height: 44px; }
  .modal__header h3 { font-size: 1.08rem; }

  .stats-bar__inner { flex-wrap: wrap; }
  .stat-sep { display: none; }
  .stat-item { flex: 0 0 calc(50% - 1px); border-bottom: 1px solid var(--border); }
  .stat-item:nth-child(odd) { border-right: 1px solid var(--border); }

  .drive-grid { grid-template-columns: 1fr; }

  .drive-wrapper.is-locked { max-height: 400px; }

  .drive-pagination { justify-content: center; }

  .drive-pagination__nav { gap: 0.4rem; }

  .file-card { min-height: 160px; }

  .footer__inner { grid-template-columns: 1fr; gap: 1.5rem; padding: 2rem 0 1.5rem; }
  .footer__units-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }

  .navbar__nav .navbar__link { display: none; }

  .navbar__inner {
    justify-content: center;
  }

  .hero__visual { display: none; }

  .hero__title {
    font-size: clamp(2rem, 7.5vw, 2.6rem);
  }

  .hero__subtitle {
    font-size: 1.08rem;
    line-height: 1.65;
  }

  .hero__actions {
    gap: 0.85rem;
  }

  .hero__actions .btn {
    padding: 0.88rem 1.65rem;
    font-size: 1rem;
  }

  .stat-item__value {
    font-size: 1.55rem;
  }

  .stat-item__label {
    font-size: 0.82rem;
  }
}
