:root {
  --color-primary: #FF4D4D;
  --color-primary-hover: #e03c3c;
  --color-deep-blue: #0F2CB6;
  --color-light-blue: #1E2DE0;
  --color-lilac: #E4C9F4;
  --color-dark: #111827;
  --color-gray: #374151;
  --color-light: #F3F4F6;
  --color-white: #FFFFFF;
  --color-border: #E5E7EB;
  
  --gradient-brand: linear-gradient(90deg, var(--color-lilac) 0%, var(--color-light-blue) 100%);
  --shadow-soft: 0 4px 20px rgba(0,0,0,0.05);
  --shadow-glow: 0 8px 30px rgba(255, 77, 77, 0.4);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--color-dark);
  background-color: var(--color-white);
  line-height: 1.6;
}

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

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

.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.relative { position: relative; }

/* Typography */
.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}



/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 9999px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  gap: 10px;
}

.btn-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover, .btn-danger:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-danger {
  background-color: var(--color-primary);
  color: var(--color-white);
  font-weight: 700;
}

.btn-large {
  padding: 16px 32px;
  font-size: 1.1rem;
  border-radius: 9999px;
}

/* Badges */
.badge, .section-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.badge {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.badge-primary {
  color: var(--color-light-blue);
}

.badge-secondary {
  color: var(--color-deep-blue);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  margin-right: 8px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Animations */
.floating-img {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 15px 0;
  transition: all 0.3s ease;
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.header.scrolled .nav-links a {
  color: var(--color-dark);
}
.header.scrolled .logo-link img {
  content: url('assets/logo-horizontal-CB9uHHz-.svg');
}

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

.header-logo {
  height: 28px;
}

.nav-links, .header-cta {
  display: none;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
    gap: 2rem;
  }
  .header-cta {
    display: block;
  }
}

.nav-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--color-primary);
}

/* Hero Section */
.hero {
  background-color: var(--color-deep-blue);
  background-image: radial-gradient(circle at top right, rgba(30, 45, 224, 0.4), transparent 60%), radial-gradient(circle at bottom left, rgba(155, 81, 224, 0.15), transparent 50%);
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 120px 0 60px;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-container {
    grid-template-columns: 1.2fr 1fr;
  }
}

.hero-title {
  color: var(--color-white);
  font-size: clamp(2rem, 5vw + 1rem, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  max-width: 800px;
}

.hero-title .subtitle {
  display: block;
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
}

.hero-desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  max-width: 600px;
  margin-bottom: 32px;
}

.hero-image {
  position: relative;
  text-align: center;
}

.hero-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 25px 25px rgba(0,0,0,0.3));
  -webkit-mask-image: linear-gradient(to bottom, black 75%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 75%, transparent 100%);
  position: relative;
  z-index: 2;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(155, 81, 224, 0.3) 0%, rgba(30, 45, 224, 0.2) 50%, transparent 70%);
  filter: blur(40px);
  z-index: 1;
  border-radius: 50%;
}

.mockup-img {
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

/* Manifesto */
.manifesto {
  background-color: var(--color-deep-blue);
  background-image: radial-gradient(circle at 50% 0%, rgba(228, 201, 244, 0.15) 0%, transparent 60%);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.manifesto::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.75" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
  opacity: 0.04;
  pointer-events: none;
  z-index: 1;
}

.manifesto::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 240px;
  color: rgba(255, 255, 255, 0.05);
  font-family: serif;
  line-height: 1;
  pointer-events: none;
}

.manifesto-title {
  color: var(--color-white);
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 600;
  margin: 0 auto 32px;
  max-width: 850px;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.manifesto-desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 300;
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Sections Global */
section {
  padding: 80px 0;
}

@media (min-width: 768px) {
  section { padding: 120px 0; }
}

.section-title {
  font-size: clamp(1.8rem, 4vw + 1rem, 3rem);
  font-weight: 700;
  margin-bottom: 20px;
}

.section-desc {
  color: var(--color-gray);
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 600px;
}

/* Os 3 Qs */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
}

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

.glass-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(30, 45, 224, 0.3);
}

.card-glow {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: var(--gradient-brand);
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.1;
  transition: opacity 0.3s;
}

.glass-card:hover .card-glow {
  opacity: 0.3;
}

.card-badge {
  display: inline-block;
  background: rgba(30, 45, 224, 0.1);
  color: var(--color-light-blue);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.glass-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.glass-card p {
  color: var(--color-gray);
  font-size: 0.95rem;
}

/* Diferenciais */
.flex-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .flex-container {
    flex-direction: row;
    gap: 80px;
  }
}

.diferenciais-img, .diferenciais-content {
  flex: 1;
}

.diferenciais-img img {
  width: 100%;
  max-width: 400px;
}

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

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

.pillar {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--color-border);
  padding: 24px;
  border-radius: 16px;
  transition: border-color 0.3s;
}

.pillar:hover {
  border-color: rgba(30, 45, 224, 0.4);
}

.pillar h4 {
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.pillar .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient-brand);
  margin-right: 12px;
}

.pillar p {
  color: var(--color-gray);
  font-size: 0.9rem;
}

/* Para Quem É */
.quem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 40px;
}

@media (min-width: 600px) {
  .quem-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
  .quem-grid { grid-template-columns: repeat(4, 1fr); }
}

.quem-card {
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: 30px;
  transition: all 0.3s;
}

.quem-card:hover {
  transform: translateY(-5px);
  border-color: rgba(30, 45, 224, 0.4);
  box-shadow: var(--shadow-soft);
}

.quem-num {
  font-family: monospace;
  font-size: 0.8rem;
  color: rgba(0,0,0,0.4);
}

.quem-card h3 {
  font-size: 1.25rem;
  margin: 12px 0 8px;
}

.quem-card p {
  color: var(--color-gray);
  font-size: 0.9rem;
}

/* Médicos */
.medicos {
  background-color: var(--color-light);
}

.medicos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
}

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

.medico-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 600px) {
  .medico-card {
    flex-direction: row;
  }
}

.medico-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: top center;
  border-radius: 16px;
}

@media (min-width: 600px) {
  .medico-img {
    width: 200px;
  }
}

.medico-info {
  padding: 10px;
}

.medico-info h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.medico-esp {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--color-light-blue);
  font-weight: 600;
  margin-bottom: 16px;
}

.medico-info p {
  color: var(--color-gray);
  font-size: 0.95rem;
}

/* Como Funciona */
.como-funciona {
  background-color: var(--color-white);
}

.title-secondary {
  color: var(--color-deep-blue);
}

.desc-secondary {
  color: var(--color-gray);
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
}

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

.step-card {
  background: var(--color-white);
  border: 1px solid var(--color-lilac);
  border-radius: 24px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 8px 30px -12px rgba(228, 201, 244, 0.6);
  transition: transform 0.3s;
}

.step-img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  margin-bottom: 20px;
}

.step-card:hover {
  transform: translateY(-5px);
}

.step-num {
  font-family: monospace;
  font-size: 0.75rem;
  color: var(--color-deep-blue);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 12px;
}

.step-card h3 {
  color: var(--color-deep-blue);
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.step-card p {
  color: var(--color-gray);
  font-size: 0.9rem;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 40px auto 0;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item summary {
  padding: 24px 0;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s;
}

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

.faq-item summary:after {
  content: '+';
  font-size: 1.5rem;
  color: var(--color-gray);
}

.faq-item[open] summary:after {
  content: '-';
}

.faq-item summary:hover {
  color: var(--color-light-blue);
}

.faq-content {
  padding-bottom: 24px;
  color: var(--color-gray);
  line-height: 1.6;
}

/* CTA Final */
.cta-final {
  background-color: var(--color-deep-blue);
  color: var(--color-white);
}

.cta-title {
  font-size: clamp(2.5rem, 5vw + 1rem, 4rem);
  font-weight: 700;
  margin-bottom: 24px;
}

.cta-title span {
  color: rgba(255, 255, 255, 0.8);
}

.cta-desc {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Footer */
.footer {
  background-color: var(--color-deep-blue);
  color: var(--color-white);
  padding: 40px 0 80px;
}

.footer-logo {
  height: 28px;
  margin-bottom: 12px;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: calc(24px + env(safe-area-inset-bottom));
  right: calc(24px + env(safe-area-inset-right));
  width: 56px;
  height: 56px;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: var(--shadow-glow);
  z-index: 100;
  transition: transform 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float svg {
  width: 24px;
  height: 24px;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  color: var(--color-white);
  cursor: pointer;
  z-index: 100;
}

.mobile-menu-btn svg {
  width: 28px;
  height: 28px;
}

.header.scrolled .mobile-menu-btn {
  color: var(--color-dark);
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--color-white);
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav a {
  text-decoration: none;
  color: var(--color-dark);
  font-size: 1.5rem;
  font-weight: 500;
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Nossa História Layout */
.historia {
  background-color: var(--color-white);
}

.flex-container {
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: center;
}

.historia-img {
  width: 100%;
}

@media (min-width: 768px) {
  .flex-container {
    flex-direction: row;
    justify-content: space-between;
  }
  .historia-content {
    flex: 1;
    padding-right: 40px;
  }
  .historia-img {
    flex: 1;
    width: auto;
    display: flex;
    justify-content: flex-end;
  }
}

/* Comparativo */
.comparativo {
  background-color: #FDF9FF;
}

.comparativo-table {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .comparativo-table {
    flex-direction: row;
  }
}

.comp-col {
  flex: 1;
  padding: 40px;
  border-radius: 24px;
  background: var(--color-white);
}

.comp-col h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 32px;
  text-align: center;
}

.comp-tradicional {
  border: 1px solid #F3F4F6;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.comp-tradicional h3 {
  color: #6B7280;
}

.comp-geminus {
  border: 2px solid #2563EB;
  background: linear-gradient(135deg, #FFFFFF 50%, #F5F3FF 100%);
  box-shadow: 0 20px 40px rgba(126, 34, 206, 0.15);
  position: relative;
  overflow: hidden;
}

.comp-geminus h3 {
  color: #1E3A8A;
}

.comp-list {
  list-style: none;
}

.comp-list li {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
  font-size: 0.95rem;
  color: #6B7280;
}

.comp-list-geminus li {
  color: #111827;
}

.comp-list li:last-child {
  margin-bottom: 0;
}

.icon-x {
  min-width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #F3F4F6;
  color: #9CA3AF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  margin-right: 16px;
}

.icon-check {
  min-width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #4F46E5;
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  margin-right: 16px;
}

/* Image Stack (Nossa História) */
.image-stack {
  position: relative;
  width: 100%;
  max-width: 450px;
  height: 400px;
  margin: 0 auto;
}

.stack-img {
  position: absolute;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  background-size: cover;
  background-position: top center;
  border: 4px solid white;
}

.stack-img-1 {
  width: 70%;
  height: 80%;
  top: 0;
  left: 0;
  z-index: 1;
}

.stack-img-2 {
  width: 70%;
  height: 80%;
  bottom: 0;
  right: 0;
  z-index: 2;
}

/* Timeline Connection */
.timeline-container {
  position: relative;
  padding-left: 36px;
  margin-top: 32px;
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 6px;
  width: 2px;
  background: linear-gradient(180deg, #7E22CE 0%, #C084FC 50%, rgba(192,132,252,0.1) 100%);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 32px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-node {
  position: absolute;
  left: -35.5px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #FDF9FF;
  border: 3px solid #7E22CE;
  box-shadow: 0 0 10px rgba(126, 34, 206, 0.4);
  z-index: 2;
}

.timeline-content p {
  margin: 0;
  color: var(--color-gray);
  font-size: 1.05rem;
  line-height: 1.6;
}

.timeline-content strong {
  color: #1F2937;
  font-weight: 700;
  display: block;
  margin-bottom: 6px;
  font-size: 1.2rem;
}

@media (max-width: 767px) { .desktop-only { display: none !important; } }

@media (max-width: 767px) { .image-stack { height: 320px; margin-top: 40px; } }
