/* ================================
   CLÍNICA DAS ESCADAS - LANDING PAGE
   Estrutura base inspirada na LP Ilhamar,
   porém com layout mais limpo, moderno e modular.
   ================================ */

/* ---------- Reset básico ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #050608;
  color: #f5f5f5;
  line-height: 1.6;
}

/* ---------- Variáveis de tema ---------- */
:root {
  --bg-main: #050608;
  --bg-alt: #10121a;
  --bg-card: #151827;
  --bg-hero-gradient: linear-gradient(135deg, #050608 0%, #14192a 60%, #050608 100%);
  --accent-primary: #00ffc3;       /* Ajuste depois para o neon oficial da marca */
  --accent-secondary: #ffb347;     /* Pode ser o laranja/neon que você já usa */
  --text-main: #f5f5f5;
  --text-muted: #b0b3c2;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.55);
  --radius-lg: 18px;
  --radius-pill: 999px;
  --transition-fast: 0.18s ease-out;
}

/* ---------- Utilitários ---------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
  background-color: var(--bg-main);
}

.section.alt {
  background: radial-gradient(circle at top, #181c30 0, #050608 55%);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 0.975rem;
}

/* ---------- Tipografia ---------- */
h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.2;
}

p {
  font-size: 0.98rem;
  color: var(--text-main);
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.4rem;
  border-radius:  12px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
  white-space: nowrap;
}

.primary-btn {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: #050608;
  box-shadow: var(--shadow-soft);
}

.primary-btn:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.7);
}

.ghost-btn {
  background: transparent;
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.2);
}

.ghost-btn:hover {
  background: rgba(255, 255, 255, 0.05);
}

.full-width {
  width: 100%;
}

.big-btn {
  padding: 1rem 1.8rem;
  font-size: 1.02rem;
}

/* ---------- Top Header ---------- */
.top-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(to right, #050608, #10121a);
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(16px);
  transition: transform 0.25s ease-out;
}

/* Esconde o header quando a página é rolada para baixo */
.top-header.hidden {
  transform: translateY(-100%);
}

.header-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.65rem 0;
  gap: 0.5rem;
}

.header-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent-primary);
}

.header-highlight {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.header-whatsapp-label {
  color: var(--text-muted);
}

.header-whatsapp-link {
  color: var(--accent-primary);
  font-weight: 500;
  text-decoration: none;
}

.header-whatsapp-link:hover {
  text-decoration: underline;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 4.5rem 0 4rem;
  background-image: var(--bg-hero-gradient);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background-image:
    radial-gradient(circle at 0% 0%, rgba(0, 255, 195, 0.18), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(255, 179, 71, 0.18), transparent 55%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
  gap: 2.5rem;
  align-items: flex-start;
  z-index: 1;
}


.hero-video-wrapper {
  align-self: stretch;
}

.hero-video-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: #000;
  box-shadow: var(--shadow-soft);
  max-width: 360px;
  margin: 0 auto;
  aspect-ratio: 9 / 16; /* Vertical format (Reels/TikTok) */
}

.hero-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-content h1 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  max-width: 36rem;
}

.hero-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.hero-benefits li {
  font-size: 0.95rem;
  position: relative;
  padding-left: 1.3rem;
  color: var(--text-main);
}

.hero-benefits li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.trust-tag {
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ---------- Hero Form ---------- */
.hero-form-card {
  background: rgba(5, 6, 8, 0.9);
  border-radius: 22px;
  padding: 1.75rem 1.5rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.hero-form-card h2 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.form-subtitle {
  font-size: 0.87rem;
  color: var(--text-muted);
  margin-bottom: 1.35rem;
}

.form-group {
  margin-bottom: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.form-group label {
  font-size: 0.82rem;
  color: #d3d6e5;
}

.form-group input,
.form-group select {
  background-color: #0b0e18;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.6rem 0.9rem;
  font-size: 0.9rem;
  color: var(--text-main);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 1px rgba(0, 255, 195, 0.35);
  background-color: #090b13;
}

.form-footnote {
  margin-top: 0.7rem;
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ---------- Seções genéricas ---------- */
.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.section-text p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-size: 0.96rem;
}

.icon-list {
  display: grid;
  gap: 1.35rem;
}

.icon-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.icon-item p {
  font-size: 0.92rem;
}

.section-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.5rem;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  text-align: center;
}

/* Ajusta a lista dentro do card para ficar visualmente centralizada */
.section-card .check-list {
  margin: 0 auto;
  max-width: 260px;
  text-align: left;
}

.section-card h3 {
  margin-bottom: 0.5rem;
}

.section-card p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* ---------- Listas especiais ---------- */
.check-list {
  list-style: none;
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
}

.check-list li {
  position: relative;
  padding-left: 1.2rem;
}

.check-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.8rem;
  color: var(--accent-primary);
}

.pill-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.pill-list li {
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ---------- Cards de produtos ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  background-color: rgba(10, 12, 22, 0.96);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.35rem;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.5);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast), background-color var(--transition-fast);
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.card ul {
  list-style: none;
  display: grid;
  gap: 0.25rem;
  font-size: 0.85rem;
  color: var(--text-main);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 255, 195, 0.4);
  background-color: #101426;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.65);
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background-color: rgba(10, 12, 22, 0.95);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 0.9rem 1rem;
  color: var(--text-main);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.03);
}

.faq-icon {
  font-size: 1.1rem;
  color: var(--accent-primary);
  margin-left: 1rem;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1rem;
  transition: max-height 0.2s ease-out, padding-bottom 0.2s ease-out;
}

.faq-answer p {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-bottom: 0.9rem;
}

/* ---------- CTA Final ---------- */
.cta-final {
  padding: 4rem 0 3.5rem;
  background: radial-gradient(circle at top, #181c30 0, #050608 60%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.cta-final-content {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.3fr);
  gap: 2.25rem;
  align-items: center;
}

.cta-text h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.cta-text p {
  color: var(--text-muted);
  font-size: 0.96rem;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.cta-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---------- Rodapé ---------- */
.footer {
  padding: 2.5rem 0 1.5rem;
  background-color: #040509;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.5fr) minmax(0, 1.5fr);
  gap: 2.5rem;
  margin-bottom: 1.5rem;
}

.footer-col h3 {
  margin-bottom: 0.5rem;
}

.footer-col h4 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.footer-col p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-list {
  list-style: none;
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
}

.footer-list a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-list a:hover {
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.75rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}


/* ---------- Modal de formulário de lead ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 60;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease-out, visibility 0.22s ease-out;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.modal-card {
  position: relative;
  background-color: rgba(5, 6, 8, 0.96);
  border-radius: 22px;
  padding: 1.9rem 1.6rem 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.75);
  max-width: 420px;
  width: 100%;
  z-index: 1;
  transform: scale(0.9);
  opacity: 0;
  transition: transform 0.22s ease-out, opacity 0.22s ease-out;
}

.modal-overlay.open .modal-card {
  transform: scale(1);
  opacity: 1;
}

.modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.7rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  cursor: pointer;
}

.modal-step {
  display: none;
}

.modal-step.active {
  display: block;
}

.modal-card h2 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.modal-card .form-subtitle {
  margin-bottom: 1.2rem;
}

/* ---------- Responsividade ---------- */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 3.75rem;
  }

  .hero-form-card {
    max-width: 440px;
    margin: 0 auto;
  }

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

  .cta-final-content {
    grid-template-columns: minmax(0, 1fr);
  }

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

@media (max-width: 720px) {
  .header-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2.05rem;
  }

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

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

@media (max-width: 480px) {
  .container {
    padding: 0 1.1rem;
  }

  .hero {
    padding-bottom: 3.2rem;
  }

  .section {
    padding: 3.5rem 0;
  }
}


/* ---------- Carousel Por que a Clínica das Escadas ---------- */
.carousel {
  position: relative;
  width: 100%;
  max-width: 442px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #000;
  aspect-ratio: 442 / 318;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease;
  will-change: transform;
}

.carousel-item {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover; /* preenche todo o quadro */
  background-color: #000;
}

/* Estado visual ao arrastar */
.carousel.grabbing {
  cursor: grabbing;
}

.carousel.grabbing .carousel-track {
  transition: none;
}

@media (max-width: 768px) {
  .carousel {
    max-width: 100%;
  }
  .carousel-item {
    height: 100%;
  }
}
}



/* Mantém a frase "Aplicação de camada protetora na fibra" em uma linha */
.section-card .check-list li:nth-child(4) {
  white-space: nowrap;
}
/* Ajustes específicos da seção "Por que a Clínica das Escadas" */
#secao-por-que .section-text h2 {
  text-align: center;
}

#secao-por-que .section-grid {
  align-items: center;
}


/* Isolamento de estilo da seção FAQ para não herdar formatação de outras seções */
#secao-faq,
#secao-faq * {
  font-family: inherit;
  text-align: left;
}


/* Impede quebra de linha em elementos específicos */
.no-wrap { white-space: nowrap; }


/* ===== Melhorias de layout para o vídeo da hero ===== */
.hero-video-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.hero-video-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.75;
}

.hero-video-frame {
  position: relative;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 9 / 16;
  border-radius: 1.5rem;
  padding: 0.35rem;
  background: radial-gradient(circle at top, #2affd2 0, #14151b 55%, #050509 100%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-video-frame:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.8);
}

.hero-video {
  width: 100%;
  height: 100%;
  border-radius: 1.2rem;
  object-fit: cover;
  display: block;
}

.hero-video-status-bar {
  position: absolute;
  top: 0.5rem;
  left: 0.7rem;
  right: 0.7rem;
  display: flex;
  gap: 0.25rem;
  z-index: 2;
}

.hero-video-status-bar span {
  flex: 1;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
}

.hero-video-status-bar span:first-child {
  background: rgba(255, 255, 255, 0.9);
}

/* Ajuste da hero-grid para alinhar texto e vídeo */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-video-wrapper {
    order: -1; /* opcional: vídeo acima do texto no mobile */
  }
}

/* ============================
   Botão de alternância de tema
============================ */
@keyframes themePulse {
  0%   { box-shadow: 0 0 0 0 rgba(0, 255, 195, 0.5); }
  70%  { box-shadow: 0 0 0 10px rgba(0, 255, 195, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 255, 195, 0); }
}

.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.9rem;
  margin-left: 0.75rem;

  border-radius: 999px;
  border: 1px solid var(--accent-primary);
  background: rgba(0, 0, 0, 0.55);

  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-main, #f5f5f5);
  cursor: pointer;

  box-shadow: 0 0 0 0 rgba(0, 255, 195, 0.5);
  transition:
    background-color 0.18s ease-out,
    border-color 0.18s ease-out,
    box-shadow 0.18s ease-out,
    transform 0.18s ease-out;
  animation: themePulse 2.8s infinite;
}

.theme-toggle-btn:hover {
  background-color: rgba(0, 0, 0, 0.8);
  border-color: var(--accent-secondary);
  box-shadow: 0 0 12px rgba(0, 255, 195, 0.5);
  transform: translateY(-1px);
}

.theme-toggle-icon {
  font-size: 1rem;
}

.theme-toggle-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============================
   Tema claro
============================ */
body.light-theme {
  --bg-main: linear-gradient(135deg, #ddd7d7 0%, #919191 100%);
  --bg-alt: linear-gradient(135deg, #919191 0%, #ddd7d7 100%);
  --bg-card: #ffffff;
  --text-main: #1a1a1a;
  --text-muted: #444444;
  --border-subtle: rgba(0, 0, 0, 0.15);
  --accent-primary: #ff5a00;
  --accent-secondary: #ff9f50;
  background: var(--bg-main);
  color: var(--text-main);
}

body.light-theme .hero {
  background: linear-gradient(135deg, #ffffff 0%, #f1f1f1 60%, #ffffff 100%);
}

body.light-theme .card,
body.light-theme .section-card,
body.light-theme .faq-item {
  background-color: #ffffff;
  border-color: rgba(0, 0, 0, 0.12);
}

body.light-theme .faq-question {
  color: #1a1a1a;
}

body.light-theme .hero-video-frame {
  background: #ffffff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

body.light-theme .footer {
  background: #f5f5f5;
  color: #1a1a1a;
}

body.light-theme .footer-bottom {
  border-top-color: rgba(0, 0, 0, 0.1);
}


body.light-theme .section {
  background: var(--bg-main);
}
body.light-theme .section.alt {
  background: var(--bg-alt);
}
body.light-theme .card,
body.light-theme .section-card,
body.light-theme .faq-item {
  background-color: rgba(255, 255, 255, 0.75);
  border-color: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(8px);
}


/* ============================
   Novas Instruções 4 - Ajustes Tema Claro
   2. Cabeçalho fixo - gradiente 180°
============================ */
body.light-theme .top-header {
  background: linear-gradient(180deg, #ddd7d7 0%, #919191 100%);
}

/* 3. Hero Section - Moldura do vídeo no tema claro (#FF5C00 → #919191) */
body.light-theme .hero-video-frame {
  background: linear-gradient(135deg, #FF5C00 0%, #919191 100%);
}

/* 5. Seção Produtos e Serviços - borda neon laranja no hover (apenas tema claro) */
body.light-theme .card:hover {
  border-color: rgba(255, 92, 0, 0.7); /* laranja neon */
}

/* 7. Modal de formulário de lead - cor do formulário #919191 no tema claro */
body.light-theme .modal-card {
  background-color: #919191;
  color: #1a1a1a;
}

/* 8. CTA Final / WhatsApp - gradiente #ddd7d7 → #919191 no tema claro */
body.light-theme .cta-final {
  background: linear-gradient(135deg, #ddd7d7 0%, #919191 100%);
}


/* Novas Instruções 5 - Hero Section (tema claro) */
body.light-theme .hero-cta-group .ghost-btn {
  border-color: #ff5a00;
}

body.light-theme .hero-cta-group .ghost-btn:hover {
  background-color: rgba(255, 90, 0, 0.07);
}

body.light-theme .hero-trust .trust-tag {
  border-color: #ff5a00;
}


/* Novas Instruções 5 - Modal (tema claro) */
body.light-theme .modal-card {
  background-color: #ddd7d7;
  color: #1a1a1a;
}

body.light-theme .modal-card .form-subtitle {
  color: #333333;
}

body.light-theme .modal-card .form-group label {
  color: #222222;
}

body.light-theme .modal-card .form-group input,
body.light-theme .modal-card .form-group select {
  background-color: #919191;
  border-color: rgba(0, 0, 0, 0.25);
  color: #ffffff;
}

body.light-theme .modal-card .form-group input::placeholder {
  color: rgba(255, 255, 255, 0.8);
}


/* ===== HERO MOBILE FIX ===== */

@media (max-width: 720px) {
  .hero-content {
    padding: 0 0.75rem;
    max-width: 380px;
    margin: 0 auto;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 1.75rem !important;
    line-height: 1.25;
    text-wrap: balance;
    word-break: break-word;
  }

  .hero-subtitle {
    font-size: 0.92rem;
    line-height: 1.35;
  }
}



/* ===== HERO CTA BUTTON MOBILE FIX ===== */
@media (max-width: 720px) {
  .hero-cta-group .btn {
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
    line-height: 1.2;
    white-space: normal;
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    text-align: center;
  }

  .hero-cta-group {
    align-items: center !important;
    gap: 0.6rem;
  }
}


/* Links úteis - botões de redes sociais */

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.footer-social a {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  text-decoration: none;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  transition: background-color 0.18s ease-out,
              border-color 0.18s ease-out,
              color 0.18s ease-out;
}

.footer-social a:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--accent-primary);
  color: var(--text-main);
}

body.light-theme .footer-social a {
  color: #333333;
  border-color: rgba(0, 0, 0, 0.15);
}

body.light-theme .footer-social a:hover {
  background-color: rgba(0, 0, 0, 0.06);
  color: #000000;
}



/* ===== FIX: tema claro para o botão de alternância ===== */
body.light-theme .theme-toggle-btn {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.25) !important;
  color: #222222 !important;
  box-shadow: none !important;
}

body.light-theme .theme-toggle-btn:hover {
  background: #f2f2f2 !important;
  border-color: rgba(0, 0, 0, 0.35) !important;
  color: #000000 !important;
}

body.light-theme .theme-toggle-icon {
  filter: brightness(0.2);
}
