/* Páginas de agendamento da Impulse Medi (agendamento.impulsemedi.com)
   Base visual: o site impulsemedi.com — cabeçalho e rodapé azuis com logo branco, títulos em Poppins
   com a palavra-chave em verde, texto em Montserrat, marcador de dois círculos acima dos títulos. */

:root {
  --azul: #004AAD;
  --azul-escuro: #003A88;
  --verde: #02CC84;
  --titulo: #111827;
  --texto: #353434;
  --texto-suave: #5B6472;
  --offwhite: #F4F6FA;
  --borda: #DCE6F5;
  --branco: #FFFFFF;
  --largura: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  background: var(--branco);
  color: var(--texto);
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: var(--azul); }

.container { max-width: var(--largura); margin: 0 auto; padding: 0 40px; }

/* ---------- Cabeçalho (igual ao do site) ---------- */
.topo { background: var(--azul); position: sticky; top: 0; z-index: 20; }
.topo .container {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.topo .logo img { width: 140px; height: auto; }
.topo nav { display: flex; gap: 40px; }
.topo nav a {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: var(--branco);
  text-decoration: none;
  opacity: 0.95;
}
.topo nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }

.botao-contorno {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: var(--branco);
  border: 1px solid var(--verde);
  border-radius: 10px;
  padding: 9px 16px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}
.botao-contorno:hover { background: rgba(2, 204, 132, 0.15); }
.botao-contorno svg { width: 18px; height: 18px; }

/* ---------- Topo da página com grade clara (como o hero do site) ---------- */
.hero {
  background-color: var(--offwhite);
  background-image:
    linear-gradient(rgba(0, 74, 173, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 74, 173, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  border-bottom: 1px solid var(--borda);
}
.hero .container {
  padding-top: 56px;
  padding-bottom: 72px;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px;
  align-items: start;
}

.info { position: sticky; top: 124px; }

/* Marcador de dois círculos + rótulo verde espaçado (padrão das seções do site) */
.rotulo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.rotulo.centro { align-items: center; text-align: center; }
.rotulo .pontos { display: flex; gap: 2px; }
.rotulo .pontos i { width: 14px; height: 14px; border-radius: 50%; display: block; }
.rotulo .pontos i:first-child { background: var(--azul); }
.rotulo .pontos i:last-child { border: 2px solid var(--verde); background: var(--branco); }
.rotulo span {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--verde);
}

h1 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.12;
  color: var(--azul);
  margin: 18px 0 20px;
}
h1 .destaque { color: var(--verde); display: block; }

.info p { margin-bottom: 14px; }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 28px; }
.chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--azul);
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: 999px;
  padding: 7px 14px 7px 12px;
}
.chips svg { width: 16px; height: 16px; stroke: var(--verde); flex-shrink: 0; }

h2 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--titulo);
  margin-bottom: 14px;
}

.passos { list-style: none; counter-reset: passo; margin-bottom: 24px; }
.passos li {
  counter-increment: passo;
  position: relative;
  padding-left: 46px;
  margin-bottom: 12px;
  min-height: 32px;
  display: flex;
  align-items: center;
  font-size: 16px;
}
.passos li::before {
  content: counter(passo);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--azul);
  color: var(--branco);
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dica {
  border-left: 3px solid var(--verde);
  background: var(--branco);
  border-radius: 0 10px 10px 0;
  padding: 14px 18px;
  font-size: 15px;
}

/* Cartão da agenda */
.agenda-card {
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 74, 173, 0.08);
}
.agenda-card header { padding: 24px 28px 4px; }
.agenda-card header h2 { margin-bottom: 4px; color: var(--azul); }
.agenda-card header p { font-size: 14px; color: var(--texto-suave); }
/* O iframe do Calendly ocupa 100% da altura do contêiner, então ele precisa de altura fixa.
   O !important protege contra o Calendly gravar outra altura direto no elemento. */
#agenda { height: 700px !important; }
#agenda iframe { width: 100%; height: 100%; border: 0; }
#agenda .reserva { display: block; padding: 40px 28px; text-align: center; font-weight: 600; }

/* Botão que leva direto pra agenda — só aparece no celular, onde ela fica abaixo do texto */
.ir-agenda {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--azul);
  color: var(--branco);
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  border-radius: 4px;
  padding: 12px 18px;
  margin: -8px 0 28px;
}
.ir-agenda svg { width: 18px; height: 18px; }

/* ---------- Depoimentos (cards azuis do site) ---------- */
.depoimentos { padding: 80px 0; }
.depoimentos h2.secao {
  font-size: clamp(26px, 2.6vw, 36px);
  text-align: center;
  margin: 12px 0 40px;
}
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card {
  background: var(--azul);
  border-radius: 16px;
  padding: 26px 24px;
  color: var(--branco);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}
.card blockquote { font-size: 16px; line-height: 1.55; }
.card figcaption { display: flex; align-items: center; gap: 14px; }
.card figcaption img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 2px solid var(--verde);
}
.card strong { display: block; font-family: "Poppins", sans-serif; font-weight: 600; font-size: 16px; }
.card small { font-size: 13px; opacity: 0.9; }

/* ---------- Rodapé (igual ao do site) ---------- */
.rodape { background: var(--azul); color: var(--branco); }
.rodape .container { padding-top: 48px; padding-bottom: 32px; }
.rodape .linha { border-top: 1px solid var(--verde); margin-bottom: 36px; }
.rodape .colunas {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr));
  gap: 40px;
}
.rodape .marca img { width: 150px; height: auto; margin-bottom: 12px; }
.rodape .marca p { font-size: 14px; opacity: 0.9; max-width: 420px; }
.rodape h3 { font-family: "Poppins", sans-serif; font-weight: 600; font-size: 18px; margin-bottom: 8px; }
.rodape ul { list-style: none; }
.rodape li { margin-bottom: 4px; }
.rodape a { color: var(--branco); text-decoration: none; font-size: 14px; opacity: 0.9; }
.rodape a:hover { opacity: 1; text-decoration: underline; }
.rodape .base {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 36px;
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
}
.rodape .selos { display: flex; gap: 12px; }
.rodape .selos img { height: 44px; width: auto; border-radius: 6px; }

/* ---------- Celular ---------- */
@media (max-width: 960px) {
  .container { padding: 0 16px; }
  .topo .container { height: 72px; }
  .topo .logo img { width: 112px; }
  .topo nav { display: none; }
  .botao-contorno { font-size: 15px; padding: 8px 12px; }
  .hero .container { grid-template-columns: 1fr; gap: 32px; padding-top: 32px; padding-bottom: 48px; }
  .info { position: static; }
  .agenda-card header { padding: 18px 16px 4px; }
  .agenda-card { scroll-margin-top: 84px; }
  #agenda { height: 820px !important; }
  .ir-agenda { display: flex; }
  .depoimentos { padding: 56px 0; }
  .cards { grid-template-columns: 1fr; }
  .rodape .colunas { grid-template-columns: 1fr; gap: 24px; }
}
