/* ==========================================================================
   Dr. Saulo Beiruth - Nefrologia & Saúde Metabólica
   Vanilla Stylesheet - Versão Dark Autêntica (Baseada no Site Original)
   Arquitetura 100% Mobile-First Canônica
   ========================================================================== */

/* ==========================================================================
   1. Design Tokens (Paleta Oficial Dark do Site Original)
   ========================================================================== */
:root {
  --color-primary: #1C7057;       /* Verde Escuro Nobre (Botões e Acentos Aprovados) */
  --color-primary-dark: #124939;  /* Verde Hover */
  --color-primary-light: #153328; /* Fundo Suave Verde Escuro */
  --color-accent: #43B693;        /* Verde Esmeralda para Ícones & Destaques */
  --color-gold: #c59b27;          /* Dourado Sutil de Autoridade */
  
  --bg-body: #0a0d0f;             /* Fundo Principal Dark Profundo */
  --bg-subtle: #111619;           /* Fundo Secundário Dark Elegante */
  --bg-card: #151a1d;             /* Fundo dos Cards Dark */
  --bg-card-hover: #1c2428;       /* Hover dos Cards */
  --border-card: #232d33;         /* Borda Sutil Dark */
  --border-card-hover: #1C7057;   /* Borda Ativa */
  
  --text-main: #FFFFFF;           /* Texto Principal Claro (WCAG AAA) */
  --text-muted: #DCDCDE;          /* Texto Secundário Claro e Legível (16px) */
  --text-soft: #92A7AA;           /* Texto de Apoio / Legendas (mín 14px) */
  
  --font-serif: 'Sora', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-sans: 'Sora', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.6);
  --shadow-hover: 0 16px 36px rgba(28, 112, 87, 0.35);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   2. Reset & Base Typography (Mobile Default)
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ==========================================================================
   3. Containers & Section Structure (Mobile Default)
   ========================================================================== */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;  /* 20px */
  padding-right: 1.25rem; /* 20px */
}

.container-narrow {
  width: 100%;
}

.section {
  padding-top: 3.5rem;    /* 56px */
  padding-bottom: 3.5rem; /* 56px */
  
}

.section-subtle {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-card);
  border-bottom: 1px solid var(--border-card);
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ==========================================================================
   4. Typography & Badges (Mobile Default)
   ========================================================================== */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background-color: var(--color-primary-light);
  color: var(--color-accent);
  font-size: 0.875rem; /* 14px */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  border: 1px solid rgba(67, 182, 147, 0.25);
}

.section-title {
  font-family: var(--font-serif);
  font-size: 1.5rem; /* 24px */
  line-height: 1.25;
  color: var(--text-main);
  margin-bottom: 1rem;
  font-weight: 700;
  text-wrap: balance;
}

.section-desc {
  font-size: 1rem; /* 16px */
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   6. Buttons & CTAs (Mobile Default: Tap target >= 48px)
   ========================================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background-color: var(--color-primary);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 1rem; /* 16px */
  min-height: 52px;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 16px rgba(28, 112, 87, 0.4);
  transition: var(--transition);
  cursor: pointer;
  width: 100%;
  max-width: 380px;
  touch-action: manipulation;
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(28, 112, 87, 0.55);
}

.btn-lg {
  min-height: 56px;
  font-size: 1.0625rem;
}

.btn-pulse {
  animation: pulse-shadow 2.5s infinite;
}

@keyframes pulse-shadow {
  0% { box-shadow: 0 0 0 0 rgba(28, 112, 87, 0.6); }
  70% { box-shadow: 0 0 0 14px rgba(28, 112, 87, 0); }
  100% { box-shadow: 0 0 0 0 rgba(28, 112, 87, 0); }
}

.icon-svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  fill: currentColor;
}

/* ==========================================================================
   7. Dobra 1: Hero Section (Mobile Default - Proporção 9:16)
   ========================================================================== */
.hero {
  position: relative;
  padding-top: 2rem;
  padding-bottom: 3.5rem;
  background: radial-gradient(circle at 50% 20%, rgba(28, 112, 87, 0.22) 0%, rgba(10, 13, 15, 1) 75%);
  overflow: hidden;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.75rem;
}

.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 340px;
}

.hero-image-wrap::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(67, 182, 147, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
  z-index: 0;
}

.hero-img {
  position: relative;
  z-index: 1;
  max-height: 420px;
  width: auto;
  border-radius: var(--radius-lg);
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.6));
}

.floating-pill {
  display: none; /* No mobile simplifica para evitar poluição visual */
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 1.5rem; /* 24px */
  line-height: 1.25;
  color: var(--text-main);
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.hero-title .highlight {
  color: var(--color-accent);
}

.hero-desc {
  font-size: 1rem; /* 16px */
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
}

.hero-scroll-indicator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--bg-card);
  color: var(--color-accent);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
  margin-top: 0.5rem;
  animation: bounce-subtle 2s infinite ease-in-out;
  transition: var(--transition);
}

.hero-scroll-indicator:hover {
  background-color: var(--color-primary-light);
  border-color: var(--color-accent);
  transform: translateY(3px);
}

@keyframes bounce-subtle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.hero-badges-trust {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.25rem;
  font-size: 0.875rem; /* 14px */
  color: var(--text-soft);
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ==========================================================================
   8. Dobra 2: Métricas (Mobile Default: 2 Colunas)
   ========================================================================== */
.metrics-strip {
  background: var(--bg-card);
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--border-card);
  border-top: 1px solid var(--border-card);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 1rem;
  text-align: center;
}

.metric-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.metric-label {
  font-size: 0.875rem; /* 14px */
  font-weight: 600;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   9. Dobra 3: Conscientização (Mobile Default: 1 Coluna)
   ========================================================================== */
.awareness-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.awareness-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.awareness-card:hover {
  border-color: var(--border-card-hover);
  background: var(--bg-card-hover);
}

.awareness-card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1rem; /* 16px */
  color: var(--text-muted);
  line-height: 1.55;
}

.checklist-item strong {
  color: var(--text-main);
}

.check-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  color: var(--color-accent);
  margin-top: 0.2rem;
}

/* ==========================================================================
   10. Dobra 4: Serviços (Mobile Default: 1 Coluna)
   ========================================================================== */
.services-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2.25rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  border-color: var(--border-card-hover);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-hover);
}

.service-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: var(--color-primary-light);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(67, 182, 147, 0.25);
}

.service-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.65rem;
}

.service-desc {
  font-size: 1rem; /* 16px */
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   11. Dobra 5: Como Funciona - 3 Etapas (Mobile Default: 1 Coluna)
   ========================================================================== */
.steps-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2.25rem;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.step-card:hover {
  border-color: var(--border-card-hover);
  background: var(--bg-card-hover);
}

.step-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-accent);
  opacity: 0.45;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.step-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.65rem;
}

.step-desc {
  font-size: 1rem; /* 16px */
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   12. Dobra 6: Sobre o Médico / Autoridade (Mobile Default: 1 Coluna)
   ========================================================================== */
.about-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-card);
}

.about-img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.75rem;
}

.feature-item {
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.feature-item:hover {
  border-color: var(--border-card-hover);
}

.feature-title {
  font-weight: 700;
  font-size: 1rem; /* 16px */
  color: var(--color-accent);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feature-desc {
  font-size: 0.9375rem; /* 15px */
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   13. Dobra 7: Depoimentos (Mobile Default: 1 Coluna Vertical Contínua)
   ========================================================================== */
.testimonials-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2.25rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: var(--border-card-hover);
  background: var(--bg-card-hover);
}

.testimonial-quote {
  font-size: 0.9375rem; /* 15px */
  color: var(--text-muted);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 1.25rem;
}

.testimonial-author {
  font-weight: 700;
  font-size: 0.9375rem; /* 15px */
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stars {
  color: #f59e0b;
  font-size: 0.875rem; /* 14px */
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   14. Dobra 8: FAQ Accordion (Mobile Default)
   ========================================================================== */
.faq-list {
  width: 100%;
  margin-top: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

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

.faq-question {
  padding: 1.25rem 1.25rem;
  font-size: 1rem; /* 16px */
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  user-select: none;
}

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

.faq-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--color-accent);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.25rem 1.25rem 1.25rem;
  font-size: 1rem; /* 16px */
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   15. Dobra 9: CTA Final & Fechamento (Mobile Default)
   ========================================================================== */
.final-cta {
  background: linear-gradient(135deg, #153328 0%, #0a0d0f 100%);
  color: #ffffff;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  text-align: center;
  position: relative;
  border-top: 1px solid var(--border-card);
}

.final-cta .section-title {
  color: #ffffff;
  margin-bottom: 1rem;
}

.final-cta .section-desc {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.btn-cta-light {
  background-color: var(--color-primary);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 1rem; /* 16px */
  min-height: 52px;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 24px rgba(28, 112, 87, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: var(--transition);
  width: 100%;
  max-width: 380px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  touch-action: manipulation;
}

.btn-cta-light:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(28, 112, 87, 0.55);
}

/* ==========================================================================
   16. Rodapé Institucional (Mobile Default)
   ========================================================================== */
.footer {
  background-color: #07090b;
  color: var(--text-soft);
  padding: 3rem 0 calc(2rem + env(safe-area-inset-bottom, 0px)) 0;
  font-size: 0.875rem; /* 14px */
  border-top: 1px solid var(--border-card);
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.footer-text {
  line-height: 1.6;
  font-size: 0.875rem; /* 14px */
  color: var(--text-muted);
}

.footer-legal {
  border-top: 1px solid var(--border-card);
  padding-top: 1.75rem;
  text-align: center;
  font-size: 0.875rem; /* 14px */
  color: var(--text-soft);
  line-height: 1.6;
}

/* ==========================================================================
   17. Botão Flutuante do WhatsApp (Mobile Default)
   ========================================================================== */
.float-wa {
  position: fixed;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  right: calc(20px + env(safe-area-inset-right, 0px));
  width: 54px;
  height: 54px;
  background-color: #25D366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  z-index: 999;
  transition: var(--transition);
  touch-action: manipulation;
}

.float-wa:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.7);
}

.float-wa svg {
  width: 28px;
  height: 28px;
  fill: #ffffff;
}

/* ==========================================================================
   18. PROGRESSIVE ENHANCEMENT: TABLET (min-width: 768px)
   ========================================================================== */
@media (min-width: 768px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .section {
    padding-top: 4.5rem;    /* 72px */
    padding-bottom: 4.5rem; /* 72px */
    
  }

  .section-title {
    font-size: 1.85rem; /* ~30px */
  }

  .btn-primary, .btn-cta-light {
    width: auto;
  }

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

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

  .about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .hero-badges-trust {
    flex-direction: row;
    gap: 1.5rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .float-wa {
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    right: calc(24px + env(safe-area-inset-right, 0px));
    width: 58px;
    height: 58px;
  }

  .float-wa svg {
    width: 32px;
    height: 32px;
  }
}

/* ==========================================================================
   19. PROGRESSIVE ENHANCEMENT: DESKTOP (min-width: 1024px)
   ========================================================================== */
@media (min-width: 1024px) {
  .container {
    max-width: 1200px;
  }

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

  .section {
    padding-top: 5.5rem;    /* 88px */
    padding-bottom: 5.5rem; /* 88px */
  }

  .section-title {
    font-size: 2.25rem; /* 36px */
  }

  

  

  

  

  .hero {
    padding-top: 4rem;
    padding-bottom: 5rem;
    text-align: left;
  }

  .hero-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    text-align: left;
    gap: 3.5rem;
    align-items: center;
  }

  .hero-content {
    align-items: flex-start;
  }

  .hero-title {
    font-size: 2.75rem; /* 44px */
    line-height: 1.18;
  }

  .hero-cta-group {
    align-items: flex-start;
  }

  .hero-scroll-indicator {
    display: none; /* No desktop a tela cheia já exibe o conteúdo amplo */
  }

  .hero-image-wrap {
    max-width: 480px;
  }

  .hero-img {
    max-height: 520px;
  }

  .floating-pill {
    display: flex;
    position: absolute;
    bottom: 24px;
    left: -20px;
    background: var(--bg-card);
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-card);
    z-index: 2;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem; /* 14px */
    font-weight: 600;
    color: var(--text-main);
  }

  .awareness-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }

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

  .about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 3.5rem;
  }

  .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 2.5rem;
  }
}


/* ==========================================================================
   21. Sistema de Animação: Scroll Reveal & Luxo Cirúrgico Sutil
   ========================================================================== */
/* Hero initial graceful entrance */
[data-reveal-hero] {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(6px);
  animation: hero-fade-in 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: opacity, transform, filter;
}

.hero-content[data-reveal-hero] {
  animation-delay: 0.15s;
}

@keyframes hero-fade-in {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* Scroll reveal on view */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(4px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Staggered delay for child cards in grids */
.services-grid > [data-reveal]:nth-child(1),
.steps-grid > [data-reveal]:nth-child(1),
.testimonials-grid > [data-reveal]:nth-child(1),
.about-features > [data-reveal]:nth-child(1) {
  transition-delay: 0.05s;
}

.services-grid > [data-reveal]:nth-child(2),
.steps-grid > [data-reveal]:nth-child(2),
.testimonials-grid > [data-reveal]:nth-child(2),
.about-features > [data-reveal]:nth-child(2) {
  transition-delay: 0.15s;
}

.services-grid > [data-reveal]:nth-child(3),
.steps-grid > [data-reveal]:nth-child(3),
.testimonials-grid > [data-reveal]:nth-child(3),
.about-features > [data-reveal]:nth-child(3) {
  transition-delay: 0.25s;
}

.services-grid > [data-reveal]:nth-child(4),
.testimonials-grid > [data-reveal]:nth-child(4),
.about-features > [data-reveal]:nth-child(4) {
  transition-delay: 0.35s;
}

.services-grid > [data-reveal]:nth-child(5),
.testimonials-grid > [data-reveal]:nth-child(5) {
  transition-delay: 0.45s;
}

.services-grid > [data-reveal]:nth-child(6),
.testimonials-grid > [data-reveal]:nth-child(6) {
  transition-delay: 0.55s;
}

/* Microinteração de Glow & Profundidade nos Cards */
.awareness-card,
.service-card,
.step-card,
.feature-item,
.testimonial-card,
.faq-item {
  position: relative;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover,
.step-card:hover,
.testimonial-card:hover,
.awareness-card:hover {
  transform: translateY(-4px);
  border-color: rgba(67, 182, 147, 0.5);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(28, 112, 87, 0.2);
}

/* Suave foco nos ícones */
.service-card:hover .service-icon-box {
  background-color: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-accent);
  transform: scale(1.06);
  transition: var(--transition);
}

/* ==========================================================================
   20. Acessibilidade: Redução de Movimento
   ========================================================================== */

/* ==========================================================================
   22. Efeitos Inspirados no Site Ariel Lazari (Dark High-End Aesthetics)
   ========================================================================== */

/* 1. Faixas Infinitas em Ângulo (Ribbon Marquee) */
.ribbon {
  position: relative;
  z-index: 10;
  height: 0;
  overflow-x: clip;
  pointer-events: none;
}

.ribbon__band {
  position: absolute;
  left: -8%;
  right: -8%;
  top: -26px;
  height: 52px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(90deg, #124939 0%, #1C7057 50%, #124939 100%);
  color: #ffffff;
  transform: rotate(-1.8deg);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-top: 1px solid rgba(67, 182, 147, 0.35);
  border-bottom: 1px solid rgba(67, 182, 147, 0.35);
}

.ribbon__track {
  display: flex;
  flex: none;
  white-space: nowrap;
  animation: ribbon-scroll 28s linear infinite;
  animation-play-state: paused;
}

.ribbon.is-run .ribbon__track {
  animation-play-state: running;
}

.ribbon__grp {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-right: 24px;
  font-size: 0.875rem; /* 14px */
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ribbon__grp b {
  color: #ffffff;
  font-weight: 800;
}

.ribbon__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-accent);
  box-shadow: 0 0 8px var(--color-accent);
}

@keyframes ribbon-scroll {
  to { transform: translateX(-50%); }
}

/* 2. Iluminação de Fundo & Aura Radial (Glow Center / sec--glow) */
.sec--glow {
  position: relative;
  background: radial-gradient(circle at 50% 30%, rgba(28, 112, 87, 0.25) 0%, rgba(10, 13, 15, 1) 75%) !important;
  overflow: hidden;
}

.sec--glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 900px;
  height: 1px;
  background: radial-gradient(closest-side, rgba(67, 182, 147, 0.6), transparent);
}

/* 3. Botões Esculpidos com Bevel de Luxo & Iluminação Interna (Estilo Ariel) */
.btn-primary {
  position: relative;
  isolation: isolate;
  background: linear-gradient(180deg, #248467 0%, #1C7057 52%, #145642 100%) !important;
  color: #ffffff !important;
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.01em;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 16px 36px -12px rgba(28, 112, 87, 0.75),
              inset 0 1px 0 rgba(255, 255, 255, 0.35),
              inset 0 -1px 0 rgba(0, 0, 0, 0.3) !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease !important;
}

.btn-primary::after {
  content: ;
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.14);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-primary:hover::after {
  opacity: 1;
}

.btn-primary:hover {
  transform: translateY(-2px);
  border-color: rgba(67, 182, 147, 0.6) !important;
  box-shadow: 0 22px 44px -10px rgba(28, 112, 87, 0.95),
              inset 0 1px 0 rgba(255, 255, 255, 0.45),
              inset 0 -1px 0 rgba(0, 0, 0, 0.3) !important;
}

/* 4. Cards Esculpidos em Vidro Negro com Borda Iluminada no Topo (Card Dark Luxo) */
.awareness-card,
.service-card,
.step-card,
.feature-item,
.testimonial-card,
.faq-item {
  background: linear-gradient(165deg, rgba(26, 32, 36, 0.95) 0%, rgba(18, 22, 25, 0.98) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.9),
              inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.service-card:hover,
.step-card:hover,
.testimonial-card:hover,
.awareness-card:hover {
  transform: translateY(-5px) !important;
  border-color: rgba(67, 182, 147, 0.45) !important;
  box-shadow: 0 28px 50px -20px rgba(0, 0, 0, 0.95),
              0 0 30px -8px rgba(28, 112, 87, 0.4),
              inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
}

/* Destaque sutil no hover dos números das etapas */
.step-card:hover .step-number {
  color: var(--color-accent);
  opacity: 0.9;
  text-shadow: 0 0 20px rgba(67, 182, 147, 0.6);
  transition: var(--transition);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
