body { font-family: 'Inter', sans-serif; }
h1, h2, h3, .font-heading { font-family: 'Poppins', sans-serif; }

.card {
  background: #fff;
  border-radius: 1.25rem;
  box-shadow: 0 20px 40px rgba(10, 31, 68, 0.08);
  border: 1px solid #E6EDF7;
  padding: 1.5rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #1976D2, #0A1F44);
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 10px 20px rgba(10, 31, 68, 0.18);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 26px rgba(10, 31, 68, 0.24); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #F2F6FF;
  color: #0A1F44;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid #E6EDF7;
  transition: background 0.15s ease;
}
.btn-secondary:hover { background: #E6EDF7; }

.field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #0A1F44;
  margin-bottom: 0.3rem;
}
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid #B0BEC5;
  border-radius: 0.6rem;
  padding: 0.6rem 0.8rem;
  font-size: 0.95rem;
  background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: #1976D2;
  box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.15);
}

.plan-card {
  border: 2px solid #E6EDF7;
  border-radius: 1rem;
  padding: 1rem;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.plan-card.selected { border-color: #1976D2; background: #F2F6FF; }

.slot-btn {
  border: 1px solid #B0BEC5;
  border-radius: 0.6rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0A1F44;
  background: #fff;
  transition: all 0.15s ease;
}
.slot-btn.selected { background: #1976D2; border-color: #1976D2; color: #fff; }
.slot-btn:hover:not(.selected) { border-color: #1976D2; }

.dia-chip {
  border: 1px solid #B0BEC5;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #0A1F44;
  background: #fff;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.15s ease;
}
.dia-chip.selected { background: #0A1F44; border-color: #0A1F44; color: #fff; }
.dia-chip:hover:not(.selected) { border-color: #1976D2; }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.badge-confirmado { background: #E6EDF7; color: #0D47A1; }
.badge-concluido { background: #DCFCE7; color: #166534; }
.badge-cancelado { background: #FEE2E2; color: #991B1B; }

.spinner {
  border: 3px solid #E6EDF7;
  border-top-color: #1976D2;
  border-radius: 50%;
  width: 1.5rem;
  height: 1.5rem;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Tela de agendar ---------- */

.section-head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.section-icon {
  width: 2.75rem; height: 2.75rem; border-radius: 999px; flex-shrink: 0;
  background: linear-gradient(135deg, #1976D2, #0A1F44); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.section-title { font-weight: 700; color: #0A1F44; font-size: 0.95rem; line-height: 1.2; }
.section-subtitle { font-size: 0.8rem; color: rgba(26, 34, 51, 0.6); margin-top: 0.1rem; }

.carro-chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  border: 1px solid #B0BEC5; background: #F2F6FF; color: #0D47A1;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase;
  border-radius: 999px; padding: 0.3rem 0.75rem;
}

.btn-pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  border: 1px solid #B0BEC5; background: #fff; color: #1976D2;
  font-size: 0.85rem; font-weight: 700; border-radius: 999px; padding: 0.55rem 1rem;
  transition: background 0.15s ease;
}
.btn-pill:hover { background: #F2F6FF; }

.agendar-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; align-items: start; }
@media (min-width: 1024px) {
  .agendar-grid { grid-template-columns: 1.3fr 1fr; gap: 1.5rem; }
  .blk-condominio-carro { grid-column: 1; grid-row: 1; }
  .blk-extras { grid-column: 1; grid-row: 2; }
  .blk-obs { grid-column: 1; grid-row: 3; }
  .blk-horario { grid-column: 2; grid-row: 1; position: sticky; top: 1.5rem; }
  .blk-confirm { grid-column: 2; grid-row: 2; }

  .hero--compact .hero__card.hero__card--wide { max-width: 64rem; }
}

/* ---------- Popup de extras ---------- */

.extras-modal-backdrop {
  position: fixed; inset: 0; background: rgba(10, 31, 68, 0.55);
  display: flex; align-items: flex-end; justify-content: center;
  z-index: 60; padding: 0;
  animation: fade-in 0.15s ease;
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

.extras-modal {
  background: #F2F6FF; border-radius: 1.5rem 1.5rem 0 0;
  width: 100%; max-width: 42rem; max-height: 88vh;
  display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 -10px 40px rgba(10, 31, 68, 0.25);
}
@media (min-width: 640px) {
  .extras-modal-backdrop { align-items: center; padding: 1.5rem; }
  .extras-modal { border-radius: 1.5rem; max-height: 85vh; }
}

.extras-modal__header {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 1.25rem 1rem; background: #fff; border-bottom: 1px solid #E6EDF7;
}
.extras-modal__close {
  width: 2rem; height: 2rem; border-radius: 999px; background: #F2F6FF; color: #0A1F44;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1rem;
}

.extras-modal__grid {
  flex: 1; min-height: 0; overflow-y: auto; padding: 1.25rem;
  display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: max-content; gap: 1rem;
  align-content: start; align-items: start;
}
@media (min-width: 540px) {
  .extras-modal__grid { grid-template-columns: repeat(3, 1fr); }
}

.extra-card {
  background: #fff; border: 2px solid #E6EDF7; border-radius: 1rem; overflow: hidden;
  display: flex; flex-direction: column; transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.extra-card.selected { border-color: #1976D2; box-shadow: 0 6px 16px rgba(25, 118, 210, 0.18); }
.extra-card__image {
  aspect-ratio: 5 / 3; background-size: cover; background-position: center top; background-color: #E6EDF7;
}
.extra-card__body { padding: 0.75rem; display: flex; flex-direction: column; gap: 0.3rem; flex: 1; }
.extra-card__title { font-weight: 700; color: #0A1F44; font-size: 0.85rem; line-height: 1.2; }
.extra-card__desc { font-size: 0.72rem; color: rgba(26, 34, 51, 0.6); line-height: 1.35; flex: 1; }
.extra-card__price { font-weight: 700; color: #0A1F44; font-size: 0.9rem; }
.extra-card__btn {
  margin-top: 0.4rem; font-size: 0.78rem; font-weight: 700; padding: 0.4rem 0.6rem; border-radius: 0.6rem;
  background: #0A1F44; color: #fff; transition: background 0.15s ease;
}
.extra-card.selected .extra-card__btn { background: #1976D2; }

.extras-modal__footer {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.25rem; background: #fff; border-top: 1px solid #E6EDF7;
}

/* ---------- Tela de agendamento confirmado ---------- */

.success-hero {
  position: relative; border-radius: 1.25rem; overflow: hidden;
  background: linear-gradient(135deg, #F2F6FF, #E6EDF7);
  box-shadow: 0 20px 40px rgba(10, 31, 68, 0.1);
}
.success-hero__img { width: 100%; display: block; }
.success-hero__badge {
  position: absolute; top: 1rem; right: 1rem;
  width: 3.25rem; height: 3.25rem; border-radius: 999px;
  background: linear-gradient(135deg, #1976D2, #0A1F44); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(25, 118, 210, 0.4), 0 0 0 7px rgba(25, 118, 210, 0.15);
}
.confetti { position: absolute; width: 10px; height: 10px; border-radius: 2px; pointer-events: none; }
.confetti--1 { top: 10%; left: 8%; background: #FBBF24; transform: rotate(20deg); }
.confetti--2 { top: 55%; left: 4%; background: #1976D2; border-radius: 999px; width: 7px; height: 7px; }
.confetti--3 { top: 18%; left: 88%; background: #F87171; transform: rotate(-15deg); width: 8px; height: 8px; }
.confetti--4 { top: 72%; left: 90%; background: #34D399; border-radius: 999px; width: 6px; height: 6px; }
.confetti--5 { top: 38%; left: 48%; background: #fff; opacity: 0.8; transform: rotate(35deg); width: 6px; height: 6px; }

.success-title { font-size: 1.85rem; font-weight: 800; text-align: center; line-height: 1.15; margin-top: 1rem; color: #0A1F44; }

.success-trustbar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border: 1px solid #E6EDF7; border-radius: 1rem;
  padding: 1rem 0.25rem; margin: 1.25rem 0;
}
.success-trustbar > div {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.4rem;
  padding: 0 0.4rem; border-right: 1px solid #E6EDF7;
}
.success-trustbar > div:last-child { border-right: none; }
.success-trustbar svg { color: #1976D2; }
.success-trustbar span { font-size: 0.65rem; font-weight: 600; color: rgba(26, 34, 51, 0.7); line-height: 1.25; }

.success-btn { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem; }

.success-promo {
  position: relative; background: #F2F6FF; border-radius: 1rem;
  padding: 1.25rem; overflow: hidden;
  display: flex; align-items: center; gap: 0.75rem; margin-top: 1.5rem;
}
.success-promo p { font-size: 0.85rem; color: #0A1F44; font-weight: 500; }

/* ---------- Header ---------- */

.site-header { background: #fff; border-bottom: 1px solid #E6EDF7; }
.site-header__inner {
  max-width: 1200px; margin: 0 auto; padding: 1.75rem 1.5rem 1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.site-header__inner--center-logo { display: grid; grid-template-columns: 1fr auto 1fr; }
.site-header__inner--center-logo .header-contact { grid-column: 3; justify-self: end; }

.header-logo-center { grid-column: 2; height: 2.75rem; width: auto; }

.header-contact { display: flex; align-items: center; gap: 0.6rem; transition: opacity 0.15s ease; }
.header-contact:hover { opacity: 0.75; }

/* ---------- Hero ---------- */

.hero { padding: 2.5rem 1.5rem 3rem; }
.hero__grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center;
}
.hero--compact .hero__grid { grid-template-columns: 1fr; }
.hero--compact .hero__text { display: none; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: #E6EDF7; color: #0D47A1; font-size: 0.75rem; font-weight: 700;
  padding: 0.4rem 0.9rem; border-radius: 999px; margin-bottom: 1.25rem;
}
.hero-title { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; color: #0A1F44; line-height: 1.12; margin-bottom: 1rem; }
.hero-subtitle { color: rgba(26, 34, 51, 0.65); font-size: 1rem; line-height: 1.6; margin-bottom: 1.75rem; max-width: 34rem; }
.hero-features { display: grid; grid-template-columns: repeat(2, auto); gap: 0.9rem 1.75rem; }
.hero-feature { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; font-weight: 600; color: #0A1F44; }

.hero__card { width: 100%; max-width: 26rem; justify-self: end; }
.hero--compact .hero__card { justify-self: center; max-width: 34rem; }

.hero-card-icon {
  width: 3rem; height: 3rem; border-radius: 0.85rem;
  background: linear-gradient(135deg, #1976D2, #0A1F44);
  display: grid; place-items: center; color: #fff;
  margin-bottom: 0.9rem;
}
.hero-card-icon svg { display: block; }

.trust-note {
  display: flex; align-items: center; gap: 0.6rem;
  background: #F2F6FF; border: 1px solid #E6EDF7; border-radius: 0.75rem;
  padding: 0.7rem 0.9rem; font-size: 0.78rem; color: #0D47A1; font-weight: 600;
  margin-top: 0.9rem;
}

/* ---------- Stats bar ---------- */

.stats-bar { padding: 0 1.5rem 3rem; }
.stats-bar__inner {
  max-width: 1200px; margin: 0 auto;
  background: linear-gradient(120deg, #0A1F44, #0D47A1);
  border-radius: 1.5rem; position: relative; overflow: hidden;
  padding: 1.75rem 2rem;
}
.stats-bar__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; z-index: 1; max-width: 72%; }
.stat { display: flex; align-items: center; gap: 0.6rem; color: #fff; }
.stat svg { flex-shrink: 0; opacity: 0.85; }
.stat strong { display: block; font-size: 1.05rem; font-weight: 800; line-height: 1.2; }
.stat span { display: block; font-size: 0.72rem; color: rgba(255, 255, 255, 0.7); }
.stats-bar__photo {
  position: absolute; right: 0; top: 0; height: 100%; width: 260px; object-fit: cover;
  -webkit-mask-image: linear-gradient(to right, transparent, black 35%);
  mask-image: linear-gradient(to right, transparent, black 35%);
}

@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero-badge, .hero-features { justify-content: center; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero__card { justify-self: center; }
  .stats-bar__stats { max-width: 100%; }
  .stats-bar__photo { display: none; }
}

@media (max-width: 640px) {
  .hero-features { grid-template-columns: 1fr; justify-items: center; }
  .stats-bar__stats { grid-template-columns: 1fr 1fr; }
  .site-header__inner { flex-wrap: wrap; justify-content: center; text-align: center; }
  .site-header__inner--center-logo { grid-template-columns: 1fr; justify-items: center; gap: 0.5rem; }
  .site-header__inner--center-logo .header-contact { grid-column: 1; justify-self: center; }
  .header-logo-center { grid-column: 1; }
}
