/* ==========================================================================
   Página /clinicas — estilos próprios (não afetam a página principal)
   ========================================================================== */

/* Hero */
.cl-hero {
  position: relative;
  padding: 170px 0 110px;
  overflow: hidden;
}
.cl-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(22, 131, 255, 0.22), transparent 45%),
    radial-gradient(circle at 85% 70%, rgba(37, 211, 102, 0.14), transparent 40%);
  pointer-events: none;
}
.cl-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.cl-hero h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.5rem);
}
.cl-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.35);
  color: #9ff0bf;
  font-size: 0.9rem;
  font-weight: 600;
}
.cl-kicker i { width: 16px; height: 16px; }
.cl-lead {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  margin-bottom: 32px;
  max-width: 600px;
}
.cl-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}
.cl-checks li { display: inline-flex; align-items: center; gap: 8px; }
.cl-checks i { width: 18px; height: 18px; color: var(--color-green); flex-shrink: 0; }
.cl-checks-col { flex-direction: column; margin: 20px 0 28px; }
.page-clinicas .contact-info > .btn-secondary { margin-top: 24px; }

/* Telemóvel com a conversa */
.cl-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 20px 0;
}
.cl-phone {
  width: 320px;
  max-width: 100%;
  border-radius: 34px;
  background: #0b141a;
  border: 8px solid #1b2433;
  text-align: left;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.cl-phone-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: #1f2c34;
}
.cl-phone-top b { display: block; font-size: 0.95rem; }
.cl-phone-top span { font-size: 0.75rem; color: #8fa3ad; }
.cl-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1683ff, #00d4ff);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cl-avatar i { width: 20px; height: 20px; }
.cl-chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 14px 78px;
  min-height: 330px;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.03), transparent 40%),
    #0b141a;
}
.cl-msg {
  max-width: 82%;
  padding: 9px 12px 18px;
  border-radius: 12px;
  font-size: 0.88rem;
  line-height: 1.4;
  position: relative;
}
.cl-msg span {
  position: absolute;
  right: 10px;
  bottom: 4px;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.55);
}
.cl-msg.in { align-self: flex-start; background: #202c33; border-top-left-radius: 4px; }
.cl-msg.out { align-self: flex-end; background: #005c4b; border-top-right-radius: 4px; }
.cl-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(6, 22, 47, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  font-size: 0.85rem;
}
.cl-float b { display: block; }
.cl-float span { color: var(--color-text-muted); font-size: 0.78rem; }
.cl-float i { width: 22px; height: 22px; color: var(--color-green); }
.cl-float-1 { top: -6px; right: -18px; }
.cl-float-2 { bottom: 26px; right: -10px; }
.cl-float-2 i { color: var(--color-primary-light); }

/* Grelhas */
.cl-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cl-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cl-grid-3 .card h3 { font-size: 1.2rem; }

/* Problemas */
.cl-problem { padding: 28px; }
.cl-problem i { width: 30px; height: 30px; color: #ff7a7a; margin-bottom: 16px; }
.cl-problem h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.cl-problem p { color: var(--color-text-muted); font-size: 0.95rem; }

/* Como funciona */
.cl-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: none;
  position: relative;
}
.cl-steps::before {
  content: '';
  position: absolute;
  top: 34px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, rgba(22, 131, 255, 0.1), rgba(0, 212, 255, 0.6), rgba(37, 211, 102, 0.6), rgba(37, 211, 102, 0.1));
}
.cl-steps li { position: relative; text-align: center; padding: 0 8px; }
.cl-step-n {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 2px solid rgba(0, 212, 255, 0.6);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 18px;
}
.cl-steps li > i { display: block; width: 26px; height: 26px; margin: 0 auto 10px; color: var(--color-primary-light); }
.cl-steps h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.cl-steps p { color: var(--color-text-muted); font-size: 0.95rem; }
.cl-note {
  margin-top: 48px;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.cl-note i { width: 20px; height: 20px; color: var(--color-green); flex-shrink: 0; }

/* Planos */
.cl-founder {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  max-width: 860px;
  margin: 0 auto 40px;
  padding: 22px 26px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.16), rgba(22, 131, 255, 0.12));
  border: 1px solid rgba(37, 211, 102, 0.4);
}
.cl-founder > i { width: 30px; height: 30px; color: var(--color-green); flex-shrink: 0; margin-top: 2px; }
.cl-founder b { font-size: 1.1rem; }
.cl-founder p { color: var(--color-text-muted); margin-top: 4px; }
.cl-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.cl-plan { display: flex; flex-direction: column; position: relative; }
.cl-plan h3 { margin-bottom: 0.25rem; }
.cl-plan-for { color: var(--color-text-muted); font-size: 0.95rem; margin-bottom: 18px; }
.cl-price { display: flex; align-items: baseline; gap: 6px; }
.cl-price b { font-size: 2.6rem; font-weight: 800; line-height: 1; }
.cl-price span { color: var(--color-text-muted); }
.cl-setup { color: var(--color-text-muted); font-size: 0.9rem; margin: 6px 0 20px; }
.cl-plan .feature-list { flex: 1; margin-bottom: 24px; }
.cl-plan-featured {
  border-color: rgba(0, 212, 255, 0.55);
  background: linear-gradient(180deg, rgba(22, 131, 255, 0.2), rgba(255, 255, 255, 0.04));
  box-shadow: 0 30px 80px rgba(22, 131, 255, 0.25);
}
.cl-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #1683ff, #00d4ff);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}
.cl-guarantee {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: rgba(37, 211, 102, 0.1);
  color: #c9f5da;
  font-size: 0.88rem;
}
.cl-guarantee i { width: 20px; height: 20px; color: var(--color-green); flex-shrink: 0; }
.cl-fineprint { margin-top: 32px; color: var(--color-text-muted); font-size: 0.9rem; line-height: 1.8; }

/* Porquê */
.cl-why { display: flex; gap: 16px; align-items: flex-start; padding: 8px 4px; }
.cl-why > i {
  width: 46px;
  height: 46px;
  padding: 11px;
  border-radius: 14px;
  background: rgba(22, 131, 255, 0.14);
  color: var(--color-primary-light);
  flex-shrink: 0;
}
.cl-why h3 { font-size: 1.1rem; margin-bottom: 0.35rem; }
.cl-why p { color: var(--color-text-muted); font-size: 0.95rem; }

/* Perguntas */
.cl-faq-wrap { max-width: 820px; }
.cl-faq details {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 4px 0;
}
.cl-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  font-weight: 700;
  font-size: 1.05rem;
}
.cl-faq summary::-webkit-details-marker { display: none; }
.cl-faq summary i { width: 20px; height: 20px; flex-shrink: 0; transition: transform var(--transition-fast); color: var(--color-primary-light); }
.cl-faq details[open] summary i { transform: rotate(180deg); }
.cl-faq details p { color: var(--color-text-muted); padding: 0 0 20px; }
.cl-faq summary:focus-visible { outline: 2px solid var(--color-primary-light); outline-offset: 4px; border-radius: 6px; }

/* Responsivo */
@media (max-width: 1100px) {
  .cl-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 992px) {
  .cl-hero { padding: 140px 0 80px; }
  .cl-hero-inner { grid-template-columns: 1fr; text-align: center; }
  .cl-lead { margin-left: auto; margin-right: auto; }
  .cl-checks { justify-content: center; }
  .cl-checks-col { align-items: flex-start; text-align: left; }
  .cl-grid-3, .cl-plans { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .cl-steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .cl-steps::before { display: none; }
  .cl-plan-featured { margin-top: 12px; }
}
@media (max-width: 600px) {
  .cl-grid-4, .cl-steps { grid-template-columns: 1fr; }
  .cl-float-1 { right: 0; top: -14px; }
  .cl-float-2 { right: 0; bottom: 4px; }
  .cl-founder { flex-direction: column; }
  .cl-price b { font-size: 2.2rem; }
}
