/* ============================
   JOAONUTRI – ESTILO GLOBAL
   Mobile-first | Poppins
   ============================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  --green-start: #02BE7B;
  --green-end:   #22D1BB;
  --gradient:    linear-gradient(135deg, #02BE7B 0%, #22D1BB 100%);
  --dark:        #212A37;
  --dark-80:     rgba(33,42,55,0.8);
  --white:       #FFFFFF;
  --gray-50:     #F8FAFB;
  --gray-100:    #F0F4F6;
  --gray-200:    #E2E8EE;
  --gray-400:    #94A3B4;
  --gray-600:    #5A6778;
  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-xl:   40px;
  --radius-pill: 999px;
  --shadow-sm:   0 2px 8px rgba(33,42,55,0.08);
  --shadow-md:   0 8px 32px rgba(33,42,55,0.12);
  --shadow-lg:   0 20px 60px rgba(33,42,55,0.15);
  --transition:  0.3s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Utilitários ── */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-bg { background: var(--gradient); }

.section { padding: 64px 0; }
.section-sm { padding: 40px 0; }

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green-start);
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.7;
  max-width: 560px;
}

/* ── Botões ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(2,190,123,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(2,190,123,0.45);
}

.btn-outline {
  background: transparent;
  color: var(--green-start);
  border: 2px solid var(--green-start);
}
.btn-outline:hover {
  background: var(--green-start);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--dark);
  box-shadow: var(--shadow-sm);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
}
.btn-whatsapp:hover {
  background: #1ebe58;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,211,102,0.45);
}

/* ── HEADER ── */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition);
}

#header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo-link { display: flex; align-items: center; }
.logo-img  { height: 44px; width: auto; }

/* Menu desktop */
.nav-menu {
  display: none;
  align-items: center;
  gap: 32px;
}

.nav-menu a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: color var(--transition);
  position: relative;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-menu a:hover { color: var(--dark); }
.nav-menu a:hover::after { transform: scaleX(1); }

.nav-patient-user { display: flex !important; flex-direction: row !important; align-items: center; gap: 8px; text-decoration: none; padding: 4px 8px; border-radius: var(--radius-pill); transition: background .2s; }
.nav-patient-user::after { display: none !important; }
.nav-patient-user:hover { background: var(--gray-100); }
.nav-patient-avatar { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, #02BE7B 0%, #22D1BB 100%); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: .85rem; flex-shrink: 0; overflow: hidden; line-height: 1; }
.nav-patient-avatar img { width: 100%; height: 100%; object-fit: cover; }
.nav-patient-name { font-size: .875rem; font-weight: 600; color: var(--dark); }

/* Menu mobile toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.nav-mobile {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0; bottom: 0;
  background: var(--white);
  z-index: 999;
  padding: 32px 24px;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}
.nav-mobile.open { display: flex; }

.nav-mobile a {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
  display: block;
}
.nav-mobile a:last-child { border-bottom: none; }

/* ── HERO ── */
#hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 68px;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.hero-bg-shape {
  position: absolute;
  top: -120px; right: -80px;
  width: 360px; height: 360px;
  background: var(--gradient);
  opacity: 0.08;
  border-radius: 50%;
  pointer-events: none;
}
.hero-bg-shape-2 {
  position: absolute;
  bottom: -80px; left: -60px;
  width: 240px; height: 240px;
  background: var(--gradient);
  opacity: 0.06;
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 48px 0 40px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gray-100);
  color: var(--gray-600);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}
.hero-badge-dot {
  width: 8px; height: 8px;
  background: var(--gradient);
  border-radius: 50%;
}

.hero-title {
  font-size: clamp(2rem, 7vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 20px;
}

.hero-sub {
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  color: var(--gray-600);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto 32px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.hero-actions .btn {
  width: 100%;
  max-width: 300px;
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
  color: var(--gray-400);
  font-size: 0.8rem;
}
.hero-trust-icon {
  width: 32px; height: 32px;
  background: var(--gray-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

/* ── SOBRE ── */
#sobre {
  background: var(--gray-50);
}

.sobre-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.sobre-foto {
  width: 240px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  box-shadow: var(--shadow-lg);
}
/* Proporção natural: a foto do profissional aparece INTEIRA — nunca usar
   object-fit: cover aqui (cortaria rosto/cabeça/laterais). */
.sobre-foto img {
  width: 100%; height: auto;
  display: block;
}
.sobre-foto-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--gradient);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.9);
  gap: 8px;
}
.sobre-foto-placeholder svg { width: 64px; height: 64px; opacity: 0.8; }
.sobre-foto-placeholder span { font-size: 0.8rem; font-weight: 500; }

.sobre-crn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--dark);
  margin-bottom: 16px;
}
.sobre-crn-dot {
  width: 8px; height: 8px;
  background: var(--gradient);
  border-radius: 50%;
}

.sobre-text { max-width: 560px; text-align: center; }
.sobre-text .section-title { margin-bottom: 12px; }
.sobre-text p {
  color: var(--gray-600);
  line-height: 1.8;
  font-size: 0.95rem;
}

/* ── SERVIÇOS ── */
#servicos { background: var(--white); }

.servicos-header { text-align: center; margin-bottom: 48px; }
.servicos-header .section-sub { margin: 0 auto; }

.servicos-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

.servico-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.servico-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--gradient);
  border-radius: 4px 0 0 4px;
  opacity: 0;
  transition: var(--transition);
}
.servico-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.servico-card:hover::before { opacity: 1; }

.servico-icon {
  width: 48px; height: 48px;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.4rem;
}

.servico-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.servico-desc {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ── COMO FUNCIONA ── */
#como-funciona { background: var(--gray-50); }

.cf-header { text-align: center; margin-bottom: 48px; }

.cf-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.cf-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding-bottom: 32px;
  position: relative;
}

.cf-step::after {
  content: '';
  position: absolute;
  left: 23px; top: 48px;
  width: 2px;
  bottom: 0;
  background: var(--gray-200);
}
.cf-step:last-child::after { display: none; }
.cf-step:last-child { padding-bottom: 0; }

.cf-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gradient);
  color: var(--white);
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(2,190,123,0.3);
  position: relative;
  z-index: 1;
}

.cf-body { padding-top: 6px; }
.cf-title { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.cf-desc  { font-size: 0.875rem; color: var(--gray-600); line-height: 1.6; }

/* ── INCLUSOS ── */
#inclusos { background: var(--dark); }

.inclusos-header { text-align: center; margin-bottom: 40px; }
.inclusos-header .section-title { color: var(--white); }
.inclusos-header .section-label { color: var(--green-start); }
.inclusos-header p { color: rgba(255,255,255,0.65); margin: 0 auto; max-width: 480px; font-size: 0.95rem; }

.inclusos-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.incluso-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}

.incluso-check {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.incluso-check svg { width: 14px; height: 14px; color: white; }

.incluso-item span {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

/* ── AGENDAMENTO ── */
#agendar { background: var(--white); }

.agendar-header { text-align: center; margin-bottom: 48px; }

.agendamento-wizard {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--gray-200);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.wizard-progress {
  height: 4px;
  background: var(--gray-200);
}
.wizard-progress-bar {
  height: 100%;
  background: var(--gradient);
  border-radius: 4px;
  transition: width 0.4s ease;
}

.wizard-steps-label {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 10px;
  padding: 16px 24px 0;
  font-size: clamp(0.62rem, 2.2vw, 0.72rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-400);
}
.wizard-steps-label span.active { color: var(--green-start); }

.wizard-body { padding: 28px 24px 32px; }

.wizard-step { display: none; }
.wizard-step.active { display: block; }

.wizard-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.wizard-sub {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-bottom: 28px;
}

/* Seleção de consulta — grade responsiva: 1 coluna no mobile, 2+ quando há
   espaço. Com vários planos, uma lista vertical única virava um "paredão"
   difícil de comparar; a grade deixa os planos lado a lado e escaneáveis. */
.consult-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
}

.consult-option {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 16px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}
.consult-option:hover { border-color: var(--green-start); }
.consult-option.selected {
  border-color: var(--green-start);
  background: rgba(2,190,123,0.04);
}
/* Marca de seleção clara (checkmark) — ajuda a saber o que está escolhido
   quando há muitos cards visíveis ao mesmo tempo. */
.consult-option.selected::after {
  content: '✓';
  position: absolute;
  top: 12px;
  right: 12px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  color: var(--white);
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 800;
}
.consult-option.disabled { opacity: 0.6; cursor: not-allowed; }
.consult-option.disabled:hover { border-color: var(--gray-200); }

.consult-option input { position: absolute; opacity: 0; pointer-events: none; }

.consult-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--dark);
  margin-bottom: 4px;
  padding-right: 22px; /* espaço para o checkmark de selecionado */
}
.consult-desc {
  font-size: 0.78rem;
  color: var(--gray-600);
  line-height: 1.45;
  margin-bottom: 12px;
  /* Limita a 3 linhas para manter os cards uniformes com muitos planos;
     o valor e a duração continuam sempre visíveis. */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.consult-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto; /* alinha o preço na base — cards da mesma linha ficam iguais */
}
.consult-price {
  font-weight: 800;
  font-size: 1.05rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.consult-duration {
  font-size: 0.75rem;
  color: var(--gray-400);
  white-space: nowrap;
}

/* Formulário */
.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
  -webkit-appearance: none;
}
.form-control:focus { border-color: var(--green-start); }
.form-control::placeholder { color: var(--gray-400); }

/* Cupom de desconto — ícone flutuante sobre o card de resumo + balão */
.coupon-trigger-wrap {
  position: relative;
  flex-shrink: 0;
}
.coupon-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  font-size: 15px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}
.coupon-icon-btn:hover { border-color: var(--green-start); transform: translateY(-1px); }
.coupon-icon-btn.applied { background: #DCFCE7; border-color: #16A34A; }
.coupon-icon-btn.applied::after {
  content: '';
  position: absolute;
  top: -2px;
  right: -2px;
  width: 9px;
  height: 9px;
  background: #16A34A;
  border-radius: 50%;
  border: 1.5px solid var(--white);
}

.coupon-popover {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 50;
  width: min(280px, 85vw);
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 16px;
  text-align: left;
}
.coupon-popover.open { display: block; }
.coupon-popover::before {
  content: '';
  position: absolute;
  top: -7px;
  right: 10px;
  width: 12px;
  height: 12px;
  background: var(--white);
  border-left: 1.5px solid var(--gray-200);
  border-top: 1.5px solid var(--gray-200);
  transform: rotate(45deg);
}

/* Próximas datas disponíveis (grade compacta de dias úteis) */
.date-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 8px;
}
.date-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 6px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
  cursor: pointer;
  transition: var(--transition);
}
.date-card:hover { border-color: var(--green-start); }
.date-card.selected {
  background: var(--gradient);
  border-color: transparent;
}
/* Dia sem horário livre: esmaecido, mas ainda visível (não some da grade). */
.date-card.unavailable {
  opacity: 0.4;
  cursor: not-allowed;
  background: var(--gray-50);
}
.date-card.unavailable:hover { border-color: var(--gray-200); }
.date-loading {
  text-align: center;
  color: var(--gray-400);
  font-size: 0.85rem;
  padding: 8px 0;
}
.date-card-wd {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gray-400);
}
.date-card-dm {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
}
.date-card.selected .date-card-wd,
.date-card.selected .date-card-dm { color: var(--white); }

.date-more {
  display: block;
  margin: 12px auto 0;
  background: none;
  border: none;
  color: var(--green-start);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 6px 8px;
}
.date-more:hover { text-decoration: underline; }

/* Passo de pagamento (Mercado Pago) */
.pay-error {
  background: #FEE2E2;
  color: #DC2626;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 0.875rem;
  margin-bottom: 14px;
}
.pix-box { text-align: center; }
.pix-qr {
  width: 220px;
  max-width: 100%;
  height: auto;
  margin: 4px auto 12px;
  display: block;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 8px;
  background: #fff;
}
.pix-copy {
  display: flex;
  gap: 8px;
  align-items: center;
  max-width: 420px;
  margin: 0 auto;
}
.pix-copy input { font-size: 0.78rem; }

.time-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 20px;
}
.time-slot {
  padding: 10px 8px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: none;
  color: var(--dark);
}
.time-slot:hover { border-color: var(--green-start); color: var(--green-start); }
.time-slot.selected {
  background: var(--gradient);
  border-color: transparent;
  color: var(--white);
}
.time-slot.unavailable {
  color: var(--gray-300);
  border-color: var(--gray-100);
  text-decoration: line-through;
  pointer-events: none;
}

.no-slots-msg {
  text-align: center;
  color: var(--gray-400);
  font-size: 0.875rem;
  padding: 20px 0;
  display: none;
}

/* Wizard footer */
.wizard-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px 24px;
  border-top: 1px solid var(--gray-100);
  gap: 12px;
}

.btn-back {
  background: none;
  border: none;
  color: var(--gray-600);
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.btn-back:hover { color: var(--dark); }

/* Sucesso */
.success-icon {
  width: 72px; height: 72px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.success-icon svg { width: 36px; height: 36px; color: white; }

.success-box {
  text-align: center;
  padding: 8px 0;
}
.success-box h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.success-box p  { font-size: 0.875rem; color: var(--gray-600); line-height: 1.6; margin-bottom: 24px; }

/* ── PROFISSIONAIS (carrossel quando há mais de um) ─────────────────────────
   Mobile-first: swipe nativo com scroll-snap; setas aparecem no desktop.
   As fotos usam proporção natural — nunca são cortadas. */
.prof-header { text-align: center; margin-bottom: 32px; }

.prof-carousel { position: relative; }

.prof-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px;
}
.prof-track::-webkit-scrollbar { display: none; }
@media (prefers-reduced-motion: reduce) {
  .prof-track { scroll-behavior: auto; }
}

.prof-card {
  flex: 0 0 100%;
  scroll-snap-align: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.prof-foto {
  width: 200px;
  max-width: 70%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: var(--shadow-lg);
}
.prof-foto img { width: 100%; height: auto; display: block; }
.prof-foto .sobre-foto-placeholder { border-radius: var(--radius-xl); }

.prof-info { max-width: 560px; }
.prof-name { font-size: 1.3rem; font-weight: 700; color: var(--dark); margin: 12px 0 10px; }
.prof-bio  { font-size: 0.9rem; color: var(--gray-600); line-height: 1.7; margin-bottom: 20px; }

.prof-arrow {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid var(--gray-200);
  background: var(--white);
  color: var(--dark);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all .15s;
}
.prof-arrow:hover { border-color: var(--green-start); color: var(--green-start); }
.prof-prev { left: -8px; }
.prof-next { right: -8px; }

.prof-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.prof-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--gray-200);
  cursor: pointer;
  padding: 0;
  transition: all .2s;
}
.prof-dot.active { background: var(--green-start); width: 24px; border-radius: var(--radius-pill); }

@media (min-width: 768px) {
  .prof-arrow { display: grid; place-items: center; }
  .prof-card {
    flex-direction: row;
    text-align: left;
    align-items: center;
    gap: 40px;
    padding: 40px;
  }
  .prof-foto { width: 260px; max-width: none; }
  .prof-name { font-size: 1.5rem; }
  .prof-bio  { font-size: 0.95rem; }
}

/* ── DEPOIMENTOS ── */
#depoimentos { background: var(--gray-50); }
.dep-header { text-align: center; margin-bottom: 40px; }

.dep-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dep-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.dep-stars {
  color: #FBBF24;
  font-size: 0.9rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.dep-text {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 16px;
}

.dep-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.dep-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
}
.dep-name   { font-size: 0.875rem; font-weight: 700; color: var(--dark); }
.dep-role   { font-size: 0.78rem; color: var(--gray-400); }

/* ── CTA FINAL ── */
#cta-final {
  background: var(--gradient);
  padding: 72px 0;
  text-align: center;
}

#cta-final h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}
#cta-final p {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ── CONTATO ── */
#contato { background: var(--white); }
.contato-header { text-align: center; margin-bottom: 40px; }

.contato-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 480px;
  margin: 0 auto;
}

.contato-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-decoration: none;
  transition: var(--transition);
}
.contato-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.contato-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contato-icon svg { width: 22px; height: 22px; color: white; }

.contato-label { font-size: 0.75rem; font-weight: 600; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.06em; }
.contato-value { font-size: 0.95rem; font-weight: 600; color: var(--dark); }

/* ── FOOTER ── */
#footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 32px;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 24px;
}

.footer-logo { height: 40px; width: auto; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.footer-nav a {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  text-align: center;
}

.footer-crn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.07);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
}

/* ── WhatsApp Flutuante ── */
.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 20px;
  z-index: 990;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  transition: var(--transition);
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,0.6);
}
.whatsapp-float svg { width: 28px; height: 28px; color: white; }

/* ── RESPONSIVO ── */
@media (min-width: 640px) {
  .hero-actions { flex-direction: row; }
  .hero-actions .btn { width: auto; max-width: none; }
  .servicos-grid { grid-template-columns: repeat(2, 1fr); }
  .inclusos-list { grid-template-columns: repeat(2, 1fr); }
  .dep-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
  .time-slots { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 768px) {
  .section { padding: 96px 0; }
  .menu-toggle { display: none; }
  .nav-menu { display: flex; }
  .sobre-grid {
    flex-direction: row;
    text-align: left;
    gap: 60px;
  }
  .sobre-text { text-align: left; max-width: 100%; }
  .sobre-foto { width: 280px; flex-shrink: 0; }
  .cf-steps { max-width: 560px; margin: 0 auto; }
  .servicos-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .servicos-grid { grid-template-columns: repeat(3, 1fr); }
  .inclusos-list { grid-template-columns: repeat(2, 1fr); }
  .dep-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── TOAST ── */
.toast {
  position: fixed;
  bottom: 100px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--dark);
  color: var(--white);
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 500;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 9999;
  white-space: nowrap;
  pointer-events: none;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast.success { background: var(--green-start); }
.toast.error   { background: #EF4444; }

/* Loading spinner */
.spinner {
  width: 20px; height: 20px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Banner de impersonação (admin usando a conta de outro usuário) ── */
.impersonation-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 10px 16px;
  background: #FDE68A;
  color: #78350F;
  font-size: 0.85rem;
  box-shadow: 0 2px 6px rgba(33,42,55,.12);
}
.impersonation-banner form { margin: 0; }
.impersonation-banner button {
  border: 1.5px solid #78350F;
  background: transparent;
  color: #78350F;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all .15s;
}
.impersonation-banner button:hover { background: #78350F; color: #FDE68A; }
