/* SISIOTERAPEUTAS-SALVADOR.HTML - NON-CRITICAL CSS */

/* DIFERENCIAIS */
.diferenciais {
  position: relative;
  z-index: 10;
}

.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.diferencial-card {
  background: transparent;
  padding: 32px 24px;
  border-radius: 16px;
  text-align: center;
  border: none;
}

.diferencial-card i {
  font-size: 36px;
  color: var(--accent);
  margin-bottom: 20px;
}

.diferencial-card h3 {
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 8px;
  font-weight: 700;
}

.diferencial-card p {
  font-size: 14px;
  color: var(--text-light);
}

/* COMO FUNCIONA */
.passos {
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}

.passos::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.passos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
  align-items: start;
}

.passos-connector {
  position: absolute;
  top: 60px;
  left: calc(16.66% + 36px);
  right: calc(16.66% + 36px);
  height: 2px;
  background: linear-gradient(90deg, var(--accent), rgba(232, 89, 26, 0.2), var(--accent));
  z-index: 0;
}

.passos-connector::before,
.passos-connector::after {
  content: '›';
  position: absolute;
  top: -14px;
  color: var(--accent);
  font-size: 28px;
  font-weight: 800;
  animation: arrowPulse 1.5s ease-in-out infinite;
}

.passos-connector::before {
  left: calc(33% - 10px);
}

.passos-connector::after {
  right: calc(33% - 10px);
  animation-delay: 0.5s;
}

@keyframes arrowPulse {
  0%, 100% {
    opacity: 0.4;
    transform: translateX(0);
  }
  50% {
    opacity: 1;
    transform: translateX(4px);
  }
}

.passo-card {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 24px;
}

.passo-icone-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 28px;
}

.passo-icone-bg {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--bg-light);
  border: 2px solid var(--border-color);
  transition: var(--transition);
}

.passo-card:hover .passo-icone-bg {
  background: rgba(232, 89, 26, 0.08);
  border-color: var(--accent);
  transform: scale(1.08);
}

.passo-numero-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 32px;
  height: 32px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  border: 3px solid white;
  box-shadow: 0 2px 8px rgba(232, 89, 26, 0.4);
  z-index: 2;
}

.passo-icone {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  color: var(--accent);
}

@keyframes iconChat {
  0%, 100% { transform: scale(1) rotate(0deg); }
  30% { transform: scale(1.15) rotate(-5deg); }
  60% { transform: scale(1.1) rotate(3deg); }
}

@keyframes iconBounce {
  0%, 100% { transform: translateY(0); }
  40% { transform: translateY(-8px); }
  60% { transform: translateY(-4px); }
}

@keyframes iconRocket {
  0%, 100% { transform: translate(0, 0) rotate(-10deg); }
  50% { transform: translate(4px, -8px) rotate(-10deg); }
}

.passo-card:nth-child(1) .passo-icone i { animation: iconChat 3s ease-in-out infinite; }
.passo-card:nth-child(2) .passo-icone i { animation: iconBounce 2.5s ease-in-out infinite; }
.passo-card:nth-child(3) .passo-icone i { animation: iconRocket 2s ease-in-out infinite; }

.passo-card h3 {
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 12px;
  font-weight: 800;
}

.passo-card p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
  max-width: 280px;
  margin: 0 auto;
}

.passo-tag {
  display: inline-block;
  background: rgba(232, 89, 26, 0.1);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.passos-cta {
  text-align: center;
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid var(--border-color);
}

.passos-cta p {
  color: var(--text-light);
  font-size: 16px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .passos-grid { grid-template-columns: 1fr; gap: 48px; }
  .passos-connector { display: none; }
  .passo-card p { max-width: 100%; }
}

/* SIDE BLOCKS */
.side-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 96px;
}

.side-block.reverse { direction: rtl; }
.side-block.reverse > * { direction: ltr; }

.side-content h2 {
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 24px;
  font-weight: 800;
}

.side-content p {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 32px;
}

.side-img {
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* FEATURES */
.features {
  background-color: var(--primary);
  position: relative;
  overflow: hidden;
}

.features::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 89, 26, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.features::after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -200px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 89, 26, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.features .section-title { color: var(--white); }
.features .section-title span { color: var(--accent); }

.features-subtitle {
  text-align: center;
  color: #94a3b8;
  font-size: 18px;
  margin-top: -36px;
  margin-bottom: 56px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  z-index: 1;
}

.feature-card {
  padding: 40px 32px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0;
  border: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: default;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(232, 89, 26, 0.08), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-card:hover {
  background: rgba(232, 89, 26, 0.07);
}

.feature-card:hover::before { opacity: 1; }

.feature-card-num {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 72px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.03);
  line-height: 1;
  transition: var(--transition);
  user-select: none;
}

.feature-card:hover .feature-card-num { color: rgba(232, 89, 26, 0.08); }

.feature-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(232, 89, 26, 0.12);
  border: 1px solid rgba(232, 89, 26, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}

.feature-card:hover .feature-icon-wrap {
  background: rgba(232, 89, 26, 0.2);
  border-color: rgba(232, 89, 26, 0.4);
  transform: scale(1.1) rotate(-3deg);
}

.feature-card i {
  font-size: 24px;
  color: var(--accent);
  margin: 0;
}

.feature-card h3 {
  font-size: 18px;
  color: var(--white);
  margin-bottom: 10px;
  font-weight: 700;
}

.feature-card p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.7;
}

.feature-card:hover p { color: #94a3b8; }

.feature-tag {
  display: inline-block;
  background: rgba(232, 89, 26, 0.15);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid rgba(232, 89, 26, 0.2);
}

.features-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 56px 0 0;
  position: relative;
  z-index: 1;
}

.features-divider-line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
}

.features-divider-text {
  color: #475569;
  font-size: 14px;
  white-space: nowrap;
}

@media (max-width: 1024px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .features-grid { grid-template-columns: 1fr; } }

/* NUMBERS */
.numbers {
  background-color: var(--primary);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.numbers::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml;utf8,<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.05)"/></svg>');
  pointer-events: none;
}

.numbers-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 64px;
  max-width: 800px;
  margin-inline: auto;
  line-height: 1.3;
}

.numbers-title span { color: var(--accent); }

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
  z-index: 2;
}

.number-item .stat-number {
  font-size: 64px;
  font-weight: 800;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
  line-height: 1;
}

.number-item p {
  color: #cbd5e1;
  font-size: 18px;
  font-weight: 500;
}

.numbers-footer-text {
  margin-top: 56px;
  font-size: 20px;
  color: #94a3b8;
  position: relative;
  z-index: 2;
}

/* PRICING */
.pricing {
  background-color: var(--bg-light);
  text-align: center;
}

.pricing-card {
  max-width: 500px;
  margin: 0 auto;
  background: var(--white);
  padding: 56px 40px;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
  border: 2px solid var(--accent);
  position: relative;
}

.pricing-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 14px;
}

.pricing-card h3 {
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 16px;
}

.price {
  font-size: 56px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 32px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.price small {
  font-size: 24px;
  color: var(--text-light);
  margin-top: 8px;
  margin-right: 8px;
}

.price-terms {
  color: var(--text-light);
  font-size: 16px;
  margin-bottom: 40px;
  background: var(--bg-light);
  padding: 12px;
  border-radius: 8px;
}

.price-features {
  text-align: left;
  margin-bottom: 40px;
}

.price-features li {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  font-size: 16px;
  color: var(--text-main);
}

.price-features i {
  color: var(--accent);
  font-size: 20px;
  margin-right: 16px;
}

/* FOOTER */
footer {
  background-color: var(--bg-dark);
  color: #94a3b8;
  padding: 64px 0 32px;
  text-align: center;
}

.footer-logo {
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 24px;
  display: inline-block;
}

.footer-logo span { color: var(--accent); }

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 48px;
}

.footer-links a {
  font-size: 24px;
  color: #94a3b8;
  transition: var(--transition);
}

.footer-links a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 32px;
  font-size: 14px;
}

/* WHATSAPP FLUTUANTE */
.float-wa {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0px 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.float-wa:hover {
  transform: scale(1.1);
  box-shadow: 0px 6px 24px rgba(37, 211, 102, 0.6);
  color: #FFF;
}

/* CARROSSEL DE DIFERENCIAIS (Lupa, Calendário, etc) */
.benefits-carousel {
  position: relative;
  margin-top: 4rem;
}

.benefits-carousel-track {
  position: relative;
  min-height: 480px;
}

.benefits-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  display: none;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.benefits-slide.active {
  opacity: 1;
  visibility: visible;
  display: grid;
  position: relative;
  z-index: 2;
}

.benefits-slide-visual {
  border-radius: 16px;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ANIMATIONS FOR CAROUSEL SLIDES */
/* RESPONSIVIDADE (Slide 1) */
.resp-anim { position: relative; width: 240px; height: 180px; display: flex; align-items: center; justify-content: center; }
.resp-device { position: absolute; border: 3px solid #e8591a; background: white; border-radius: 12px; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(0,0,0,0.1); transition: all 0.5s ease; }
.resp-laptop { width: 180px; height: 110px; z-index: 1; animation: respLaptop 6s ease-in-out infinite; }
.resp-mobile { width: 45px; height: 85px; z-index: 2; bottom: -10px; right: 15px; animation: respMobile 6s ease-in-out infinite; }
.resp-screen { width: 85%; height: 75%; background: #f7f4f0; border-radius: 4px; position: relative; overflow: hidden; }
.resp-line { position: absolute; height: 4px; background: rgba(232, 89, 26, 0.2); border-radius: 2px; }
.resp-laptop .resp-line:nth-child(1) { width: 60%; top: 15%; left: 10%; }
.resp-laptop .resp-line:nth-child(2) { width: 40%; top: 30%; left: 10%; }
.resp-laptop .resp-line:nth-child(3) { width: 80%; top: 55%; left: 10%; }
.resp-laptop .resp-line:nth-child(4) { width: 70%; top: 70%; left: 10%; }
.resp-mobile .resp-line:nth-child(1) { width: 70%; top: 20%; left: 15%; }
.resp-mobile .resp-line:nth-child(2) { width: 50%; top: 35%; left: 15%; }
.resp-mobile .resp-line:nth-child(3) { width: 70%; top: 60%; left: 15%; }

@keyframes respLaptop { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-10px) scale(1.02); } }
@keyframes respMobile { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

/* WHATSAPP (Slide 2) */
.wa-anim { position: relative; width: 200px; height: 200px; display: flex; align-items: center; justify-content: center; }
.wa-pulse { position: absolute; width: 160px; height: 160px; border-radius: 50%; background: rgba(37, 211, 102, 0.15); animation: waPulse 2s ease-out infinite; }
.wa-pulse-2 { animation-delay: 1s; }
@keyframes waPulse { 0% { transform: scale(0.8); opacity: 0.8; } 100% { transform: scale(1.6); opacity: 0; } }
.wa-icon { width: 120px; height: 120px; background: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 64px; color: white; position: relative; z-index: 2; animation: waFloat 3s ease-in-out infinite; box-shadow: 0 12px 40px rgba(37, 211, 102, 0.4); }
@keyframes waFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.wa-bubble { position: absolute; background: white; border-radius: 16px; padding: 8px 14px; font-size: 13px; font-weight: 600; color: #151210; box-shadow: 0 4px 16px rgba(0,0,0,0.12); white-space: nowrap; opacity: 0; }
.wa-bubble-1 { top: -10px; right: -80px; animation: bubbleIn 4s ease-in-out infinite; }
.wa-bubble-2 { bottom: -10px; left: -90px; animation: bubbleIn 4s ease-in-out infinite 2s; }
@keyframes bubbleIn { 0%, 100% { opacity: 0; transform: translateY(6px); } 20%, 70% { opacity: 1; transform: translateY(0); } }

/* SEO LUPA (Slide 3) */
.seo-anim { position: relative; width: 220px; height: 220px; display: flex; align-items: center; justify-content: center; animation: seoBounce 3s ease-in-out infinite; }
@keyframes seoBounce { 0%, 100% { transform: translateY(0) rotate(-5deg); } 50% { transform: translateY(-12px) rotate(5deg); } }
.seo-lupa { position: relative; }
.seo-circulo { width: 110px; height: 110px; border: 14px solid #e8591a; border-radius: 50%; box-shadow: 0 0 0 6px rgba(232, 89, 26, 0.15), inset 0 0 20px rgba(232, 89, 26, 0.08); }
.seo-cabo { position: absolute; bottom: -38px; right: -8px; width: 16px; height: 46px; background: #e8591a; border-radius: 8px; transform: rotate(45deg); }
.seo-barra { position: absolute; height: 10px; border-radius: 5px; background: rgba(232, 89, 26, 0.25); animation: seoBar 2s ease-in-out infinite; }
.seo-b1 { width: 60px; top: 30px; left: 25px; animation-delay: 0s; }
.seo-b2 { width: 45px; top: 55px; left: 25px; animation-delay: 0.2s; }
.seo-b3 { width: 55px; top: 80px; left: 25px; animation-delay: 0.4s; }
@keyframes seoBar { 0%, 100% { opacity: 0.3; } 50% { opacity: 0.8; } }
.seo-spark { position: absolute; color: #e8591a; font-size: 18px; animation: sparkFloat 2.5s ease-in-out infinite; }
.seo-s1 { top: -10px; right: 20px; animation-delay: 0s; }
.seo-s2 { bottom: 20px; left: -10px; animation-delay: 1.2s; }
@keyframes sparkFloat { 0%, 100% { opacity: 0; transform: scale(0.5) translateY(4px); } 50% { opacity: 1; transform: scale(1) translateY(0); } }

/* CALENDÁRIO (Slide 4) */
.cal-anim { position: relative; }
.cal-card { background: white; border-radius: 20px; padding: 24px; width: 220px; box-shadow: 0 16px 48px rgba(21, 18, 16, 0.12); border: 2px solid #f7f4f0; animation: calFloat 3.5s ease-in-out infinite; }
@keyframes calFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.cal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 2px solid #f7f4f0; }
.cal-mes { font-weight: 800; font-size: 18px; color: #151210; }
.cal-ano { font-size: 13px; color: #6b6460; }
.cal-body { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.cal-dia { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; opacity: 0; animation: calPop 0.4s ease forwards; }
.cal-check { background: rgba(232, 89, 26, 0.1); color: #e8591a; }
.cal-star { background: #e8591a; color: white; grid-column: span 1; }
@keyframes calPop { 0% { opacity: 0; transform: scale(0.5); } 70% { transform: scale(1.1); } 100% { opacity: 1; transform: scale(1); } }
.cal-badge { margin-top: 16px; background: #e8591a; color: white; border-radius: 10px; padding: 8px; text-align: center; font-weight: 700; font-size: 13px; animation: badgePulse 2s ease-in-out infinite; }
@keyframes badgePulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(232, 89, 26, 0.4); } 50% { box-shadow: 0 0 0 8px rgba(232, 89, 26, 0); } }
.cal-rocket { position: absolute; font-size: 36px; top: -20px; right: -20px; animation: rocketFloat 2s ease-in-out infinite; }
@keyframes rocketFloat { 0%, 100% { transform: translate(0, 0) rotate(45deg); } 50% { transform: translate(6px, -8px) rotate(45deg); } }

.benefits-slide-content h3 { font-size: 2.2rem; margin-bottom: 1.5rem; color: var(--primary); }
.benefits-slide-content p { font-size: 1.1rem; color: var(--text-light); line-height: 1.8; }
.benefits-slide-tag { display: block; color: var(--accent); font-weight: 700; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 2px; font-size: 0.85rem; }

.benefits-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: var(--white); border: 1px solid var(--border-color); width: 56px; height: 56px; border-radius: 50%; cursor: pointer; z-index: 10; transition: 0.3s; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.benefits-arrow:hover { background: var(--accent); color: var(--white); border-color: var(--accent); transform: translateY(-50%) scale(1.1); }
.benefits-arrow-prev { left: -28px; }
.benefits-arrow-next { right: -28px; }
.benefits-dots { display: flex; justify-content: center; gap: 12px; margin-top: 3rem; }
.benefits-dot { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; border: none; cursor: pointer; transition: 0.3s; }
.benefits-dot.active { background: var(--orange); width: 24px; border-radius: 6px; }

@media (max-width: 992px) {
  .benefits-slide { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .benefits-slide-visual { height: 350px; }
  .benefits-carousel-track { min-height: auto; }
  .benefits-arrow { display: none; }
}

/* BLOG PREVIEW (Added recently) */
.blog-preview { background-color: var(--white); }

/* MISC RESPONSIVITY */
@media (max-width: 1024px) {
  .hero-content h1 { font-size: 40px; }
  .diferenciais-grid, .features-grid, .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .side-block { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  section { padding: 64px 0; }
  .diferenciais-grid, .features-grid, .numbers-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 28px; }
  .number-item .stat-number { font-size: 48px; }
  .float-wa { bottom: 20px; right: 20px; width: 50px; height: 50px; font-size: 26px; }
}
