/* =========================================
   IMERSÃO DR ALEXANDRE CARLI — PREMIUM MEDICAL
   Paleta: Branco + Cyan, inspiração Apple
   ========================================= */

:root {
  /* Cores */
  --bg: #FFFFFF;
  --bg-alt: #F7FAFC;
  --bg-card: #FFFFFF;
  --text: #0F172A;
  --text-dim: #475569;
  --text-mute: #64748B;
  --border: #E2E8F0;
  --border-strong: #CBD5E1;

  /* Cyan accent */
  --cyan: #06B6D4;
  --cyan-dark: #0891B2;
  --cyan-light: #67E8F9;
  --cyan-bg: #ECFEFF;

  /* Tipografia */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Espaçamento */
  --section: 120px;
  --section-sm: 80px;
  --radius: 16px;
  --radius-lg: 24px;

  /* Easing */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol { list-style: none; }

/* =========================================
   CONTAINER
   ========================================= */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.container.narrow {
  max-width: 800px;
}

.container.center,
.center {
  text-align: center;
}

/* =========================================
   TIPOGRAFIA
   ========================================= */

.h1 {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
  max-width: 16ch;
}

.h2 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-bottom: 24px;
}

.h2-large {
  font-size: 52px;
  max-width: 18ch;
}

.eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan-dark);
  margin-bottom: 24px;
}

.lead {
  font-size: 20px;
  line-height: 1.5;
  color: var(--text-dim);
  margin-bottom: 24px;
  max-width: 56ch;
}

.lead.center,
.center .lead {
  margin-left: auto;
  margin-right: auto;
}

.authority {
  font-size: 15px;
  color: var(--text-mute);
  max-width: 60ch;
  margin-bottom: 40px;
  line-height: 1.6;
}

.body-large {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-dim);
  margin-bottom: 24px;
}

/* =========================================
   NAV
   ========================================= */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-width: 0;
}

.nav-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.nav-crm {
  font-size: 12px;
  color: var(--text-mute);
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* =========================================
   BUTTONS
   ========================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: all 250ms var(--ease);
  font-family: inherit;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--cyan);
  color: #FFFFFF;
  box-shadow: 0 1px 2px rgba(6, 182, 212, 0.15), 0 4px 12px rgba(6, 182, 212, 0.18);
}

@media (hover: hover) {
  .btn-primary:hover {
    background: var(--cyan-dark);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(6, 182, 212, 0.2), 0 8px 20px rgba(6, 182, 212, 0.25);
  }
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-link {
  background: transparent;
  color: var(--text-dim);
  padding: 16px 16px;
}

@media (hover: hover) {
  .btn-link:hover { color: var(--cyan-dark); }
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

.btn-large {
  padding: 20px 40px;
  font-size: 17px;
}

.btn-block {
  display: flex;
  width: 100%;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.cta-row.center {
  justify-content: center;
}

/* =========================================
   HERO
   ========================================= */

.hero {
  padding-top: 120px;
  padding-bottom: var(--section);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}

.hero .container {
  max-width: 960px;
}

.hero .h1 { margin-bottom: 32px; }

/* =========================================
   VIDEO SECTION
   ========================================= */

.video-section {
  padding: var(--section) 0;
  background: var(--bg);
  text-align: center;
}

.video-section .h2,
.video-section .lead {
  margin-left: auto;
  margin-right: auto;
}

.video-section .lead { max-width: 60ch; margin-bottom: 48px; }

.video-wrap {
  max-width: 960px;
  margin: 0 auto 48px;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
  position: relative;
}

.video-facade {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--cyan-bg) 0%, #F0F9FF 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 250ms var(--ease);
}

@media (hover: hover) {
  .video-facade:hover { opacity: 0.92; }
}

/* =========================================
   FILTER SECTION (para quem é / não é)
   ========================================= */

.filter-section {
  padding: var(--section) 0;
  background: var(--bg-alt);
}

.filter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.bullets li {
  position: relative;
  padding-left: 36px;
  margin-bottom: 18px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-dim);
}

.bullets li::before {
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

.bullets-yes li::before {
  content: '+';
  background: var(--cyan-bg);
  color: var(--cyan-dark);
}

.bullets-no li::before {
  content: '−';
  background: #FEF2F2;
  color: #B91C1C;
}

/* =========================================
   CARDS GRID (learn + pillars)
   ========================================= */

.learn-section,
.pillars-section {
  padding: var(--section) 0;
  background: var(--bg);
}

.pillars-section { background: var(--bg-alt); }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: all 280ms var(--ease);
}

@media (hover: hover) {
  .card:hover {
    transform: translateY(-4px);
    border-color: var(--cyan);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
  }
}

.card-num {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--cyan-dark);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.card-title {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 14px;
  color: var(--text);
}

.card-body {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-dim);
}

/* =========================================
   MIRROR (tempo é ativo)
   ========================================= */

.mirror-section {
  padding: var(--section) 0;
  background: var(--bg);
  text-align: center;
}

.mirror-section .h2 { margin-left: auto; margin-right: auto; margin-bottom: 32px; }
.mirror-section .body-large { text-align: left; }

/* =========================================
   LOTES
   ========================================= */

.lotes-section {
  padding: var(--section) 0;
  background: var(--bg-alt);
  text-align: center;
}

.lotes-section .h2,
.lotes-section .lead {
  margin-left: auto;
  margin-right: auto;
}

.lotes-section .lead { margin-bottom: 56px; }

.lotes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.lote {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: all 280ms var(--ease);
}

.lote-active {
  border-color: var(--cyan);
  box-shadow: 0 8px 32px rgba(6, 182, 212, 0.12);
  transform: scale(1.02);
}

@media (hover: hover) {
  .lote-active:hover {
    transform: scale(1.02) translateY(-4px);
    box-shadow: 0 16px 40px rgba(6, 182, 212, 0.18);
  }
}

.lote-inactive {
  opacity: 0.55;
}

.lote-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mute);
  background: var(--bg-alt);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.lote-tag-active {
  background: var(--cyan-bg);
  color: var(--cyan-dark);
}

.lote-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 8px;
  color: var(--text);
}

.lote-currency {
  font-size: 22px;
  font-weight: 500;
}

.lote-value {
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.lote-cents {
  font-size: 22px;
  font-weight: 500;
}

.lote-payment {
  font-size: 14px;
  color: var(--text-mute);
  margin-bottom: 28px;
}

.lote-aux {
  font-size: 14px;
  color: var(--text-mute);
  margin-top: 16px;
}

/* Progress bar */
.progress-wrap { margin-bottom: 24px; }

.progress-bar {
  height: 8px;
  background: var(--bg-alt);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 12px;
}

.progress-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--cyan-light) 100%);
  border-radius: 999px;
  transition: width 1.6s var(--ease);
}

.progress-fill.animate {
  width: var(--target);
}

.progress-label {
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 500;
}

.progress-num {
  font-weight: 700;
  color: var(--cyan-dark);
}

.security-line {
  font-size: 13px;
  color: var(--text-mute);
}

/* =========================================
   FORM SECTION
   ========================================= */

.form-section {
  padding: var(--section) 0;
  background: var(--bg);
}

.form-section .h2,
.form-section .lead {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.form-section .lead { margin-bottom: 48px; }

.signup-form {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.field input {
  font-family: inherit;
  font-size: 16px;
  padding: 14px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: var(--bg-card);
  color: var(--text);
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}

.field input:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.12);
}

.form-footnote {
  font-size: 13px;
  color: var(--text-mute);
  text-align: center;
  margin-top: 8px;
}

/* =========================================
   TESTIMONIALS
   ========================================= */

.testimonials-section {
  padding: var(--section) 0;
  background: var(--bg-alt);
  text-align: center;
}

.testimonials-section .h2,
.testimonials-section .lead {
  margin-left: auto;
  margin-right: auto;
}

.testimonials-section .lead { margin-bottom: 48px; }

.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.video-facade-yt {
  aspect-ratio: 16 / 9;
  background-color: #000;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 280ms var(--ease);
}

.video-facade-yt::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 1;
  transition: background 250ms var(--ease);
}

.video-facade-yt::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'><circle cx='32' cy='32' r='32' fill='white'/><path d='M26 22 L46 32 L26 42 Z' fill='%2306B6D4'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 2;
  transition: transform 250ms var(--ease);
}

@media (hover: hover) {
  .video-facade-yt:hover { transform: scale(1.02); }
  .video-facade-yt:hover::before { background: rgba(0, 0, 0, 0.15); }
  .video-facade-yt:hover::after { transform: translate(-50%, -50%) scale(1.08); }
}

/* =========================================
   HOW IT WORKS
   ========================================= */

.how-section {
  padding: var(--section) 0;
  background: var(--bg);
}

.how-section .h2 {
  text-align: center;
  margin-bottom: 56px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step {
  text-align: left;
}

.step-num {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--cyan-dark);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--cyan);
}

.step-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}

.step-body {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* =========================================
   MENTOR SECTION
   ========================================= */

.mentor-section {
  padding: var(--section) 0;
  background: var(--bg-alt);
}

.mentor-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: center;
}

.mentor-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  aspect-ratio: 4 / 5;
}

.mentor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mentor-crm {
  font-size: 14px;
  color: var(--cyan-dark);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}

/* =========================================
   FAQ
   ========================================= */

.faq-section {
  padding: var(--section) 0;
  background: var(--bg);
}

.faq-section .h2 {
  text-align: center;
  margin-bottom: 48px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0 24px;
  transition: all 200ms var(--ease);
}

.faq-item[open] {
  border-color: var(--cyan-light);
  background: var(--cyan-bg);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 24px;
  font-weight: 400;
  color: var(--cyan-dark);
  transition: transform 200ms var(--ease);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-dim);
  padding: 0 0 24px;
}

/* =========================================
   CTA FINAL
   ========================================= */

.cta-final-section {
  padding: var(--section) 0;
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--cyan-bg) 100%);
  text-align: center;
}

.cta-final-section .h2 {
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}

.cta-final-section .lead {
  margin-bottom: 40px;
}

/* =========================================
   FOOTER
   ========================================= */

.footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 48px;
  text-align: center;
  font-size: 14px;
  line-height: 1.7;
}

.footer p { margin-bottom: 16px; }
.footer-seals { color: rgba(255, 255, 255, 0.9); font-weight: 500; letter-spacing: 0.04em; }
.footer-contact { font-size: 15px; color: rgba(255, 255, 255, 0.85); }
.footer-legal { font-size: 13px; color: rgba(255, 255, 255, 0.55); }
.footer-policy a { color: rgba(255, 255, 255, 0.85); transition: color 200ms var(--ease); }
@media (hover: hover) { .footer-policy a:hover { color: var(--cyan-light); } }
.footer-lgpd { font-size: 12px; max-width: 700px; margin-left: auto; margin-right: auto; color: rgba(255, 255, 255, 0.45); }
.footer-copyright { font-size: 12px; color: rgba(255, 255, 255, 0.45); margin-top: 32px; }

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 900px) {
  :root { --section: 80px; --section-sm: 56px; }
  .container { padding: 0 24px; }
  .h1 { font-size: 40px; max-width: none; }
  .h2 { font-size: 28px; }
  .h2-large { font-size: 32px; }
  .lead { font-size: 17px; }
  .body-large { font-size: 16px; }
  .nav-inner { padding: 12px 20px; }
  .nav-crm { display: none; }
  .hero { padding-top: 72px; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { width: 100%; }
  .filter-grid { grid-template-columns: 1fr; gap: 40px; }
  .cards-grid { grid-template-columns: 1fr; gap: 16px; }
  .card { padding: 28px; }
  .lotes-grid { grid-template-columns: 1fr; gap: 16px; }
  .lote-active { transform: none; }
  .videos-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .mentor-grid { grid-template-columns: 1fr; gap: 32px; }
  .mentor-photo { max-width: 320px; margin: 0 auto; }
  .signup-form { padding: 28px; }
}

@media (max-width: 540px) {
  .h1 { font-size: 34px; }
  .h2 { font-size: 24px; }
  .videos-grid { grid-template-columns: 1fr; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .progress-fill.animate { transition: none !important; }
}
