/* site-base.css — CSS base do site (header/footer/etc), extraido do home.html (balanceado). */
:root {
  --primary: {{if .site.primary_color}}{{.site.primary_color}}{{else}}#3caa36{{end}};
  --primary-dark: #2E7D32;
  --light-accent: #f0faf5;
  --dark: #1a1a2e;
  --white: #ffffff;
  --shadow: 0 8px 32px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.12);
  --radius-card: 20px;
  --radius-featured: 32px;
  --radius-pill: 50px;
  --gradient: linear-gradient(135deg, #3caa36, #2E7D32);
}

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

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #3caa36;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: box-shadow 0.3s ease;
  border-bottom: none;
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--dark);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo strong {
  color: var(--primary);
  font-weight: 800;
}

.nav { display: flex; gap: 32px; align-items: center; }

.nav a {
  text-decoration: none;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}

.nav a:hover { color: rgba(255,255,255,0.8); }

.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--white);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav a:hover::after { width: 100%; }

.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--white);
  color: var(--primary-dark);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  font-weight: 700;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 2px solid rgba(26,26,46,0.15);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Mobile menu */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-toggle span {
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: 0.3s;
}

/* ===== HERO ===== */
.hero {
  min-height: 70vh;
  position: relative;
  overflow: hidden;
  background: #3caa36;
}

/* ── Carrossel de banners (full-bleed, randomico) ── */
.hero-carousel { position: absolute; inset: 0; }

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding-top: 72px;            /* header fixo */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.1s ease;
}

/* imagem de fundo num pseudo-elemento: permite zoom (ken burns) sem
   afetar overlay/conteudo e mantendo cover (sem faixas). */
.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: inherit;    /* recebe o url via JS no proprio slide */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-slide.active::before {
  animation: hero-zoom 12s ease-out forwards;
}
@keyframes hero-zoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.12); }
}

/* Overlay verde da marca — legibilidade do texto */
/* Overlay verde da marca (cor original, organica) — solido a esquerda,
   vai ficando transparente da esquerda p/ a direita (some a partir da metade),
   revelando a imagem do banner do lado direito. */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    /* glows verde-limao organicos (mesma vibe do hero antigo) */
    radial-gradient(ellipse 80% 70% at 8% 12%, rgba(171,207,21,0.32) 0%, transparent 60%),
    radial-gradient(circle 620px at 4% 82%, rgba(46,125,50,0.30) 0%, transparent 70%),
    radial-gradient(ellipse 60% 60% at 30% 50%, rgba(171,207,21,0.12) 0%, transparent 70%),
    /* base: solido a esquerda -> abre a imagem so perto da borda direita */
    linear-gradient(90deg,
      #3caa36 0%,
      rgba(60,170,54,0.97) 50%,
      rgba(60,170,54,0.80) 68%,
      rgba(60,170,54,0.35) 85%,
      rgba(60,170,54,0) 100%);
}

.hero-slide .container { position: relative; z-index: 3; width: 100%; }

/* bolas flutuantes sobre o overlay, atras do texto */
.hero .floating-circles { z-index: 2; }

/* legibilidade do texto na area onde a imagem aparece */
.hero-content h1,
.hero-content .hero-text,
.hero-content .hero-badge { text-shadow: 0 2px 14px rgba(20,60,24,0.35); }

.hero-grid {
  display: block;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-content { position: relative; z-index: 2; max-width: 780px; }

/* dots de navegacao do carrossel */
.hero-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}
.hero-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.7);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}
.hero-dot.active { background: var(--white); transform: scale(1.15); }
.hero-dot:hover { background: rgba(255,255,255,0.6); }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.2);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero-badge::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--white);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero h1 {
  font-size: clamp(1.7rem, 3.96vw, 2.55rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 24px;
}

.hero h1 span { color: #d4f5d0; }

.hero-text {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-buttons .btn-primary { background: var(--white); color: var(--primary-dark); box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
.hero-buttons .btn-primary:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.hero-buttons .btn-outline { border-color: rgba(255,255,255,0.5); color: var(--white); }
.hero-buttons .btn-outline:hover { border-color: var(--white); color: var(--white); background: rgba(255,255,255,0.1); }

.hero-visual {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  align-self: flex-end;
}

.hero-image {
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: contain;
  object-position: bottom;
  position: relative;
  z-index: 2;
  border-radius: 0;
  box-shadow: none;
  margin-bottom: -80px;
}

.blob-1, .blob-2 { display: none; }

@keyframes blob-morph {
  0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
  100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

/* ===== TRUST BAR ===== */
.trust-bar {
  padding: 80px 0;
  background: var(--light-accent);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.trust-item {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.trust-item:hover { transform: translateY(-4px); }

.trust-icon {
  width: 56px; height: 56px;
  background: var(--light-accent);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.trust-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.trust-label {
  font-size: 0.85rem;
  color: #777;
  margin-top: 4px;
  font-weight: 500;
}

/* ===== SECTION COMMON ===== */
.section {
  padding: clamp(60px, 10vw, 120px) 0;
}

.section-bg { background: var(--light-accent); }
.section-dark { background: var(--dark); color: var(--white); }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.6rem, 3.52vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 640px;
  margin: 0 auto;
}

.section-subtitle {
  font-size: 1.05rem;
  color: #666;
  max-width: 520px;
  margin: 16px auto 0;
  line-height: 1.7;
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--light-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.65;
}

.service-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: gap 0.2s ease;
}

.service-card:hover .card-link { gap: 10px; }

/* ===== ABOUT PREVIEW ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-featured);
  box-shadow: var(--shadow-lg);
}

.about-content .section-label { margin-bottom: 12px; }

.about-content h2 {
  font-size: clamp(1.4rem, 3.08vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 20px;
}

.about-content p {
  color: #555;
  line-height: 1.75;
  margin-bottom: 16px;
  font-size: 1rem;
}

.about-content .btn-pill { margin-top: 12px; }

/* ===== SCHEDULING — styles scoped inside widget section ===== */

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
  transition: transform 0.3s ease;
}

.testimonial-card:hover { transform: translateY(-4px); }

.testimonial-quote {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-quote::before {
  content: '\201C';
  font-size: 3rem;
  color: var(--primary);
  opacity: 0.3;
  display: block;
  line-height: 0.5;
  margin-bottom: 12px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial-name {
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial-company {
  font-size: 0.8rem;
  color: #999;
}

/* ===== CTA BANNER ===== */
.cta-banner-wrap {
  padding: 0 24px;
  margin: clamp(60px, 10vw, 100px) 0;
}

.cta-banner {
  background: var(--gradient);
  border-radius: var(--radius-featured);
  padding: clamp(48px, 8vw, 80px) clamp(32px, 6vw, 80px);
  text-align: center;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: rgba(255,255,255,0.07);
  border-radius: 50%;
  top: -250px; right: -120px;
}

.cta-banner::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  bottom: -200px; left: -80px;
}

.cta-banner h2 {
  font-size: clamp(1.4rem, 3.52vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}

.cta-banner p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  margin-bottom: 32px;
  position: relative;
  z-index: 2;
}

.cta-banner .btn-white { position: relative; z-index: 2; }

/* ===== FOOTER ===== */
.footer {
  background: #3caa36;
  color: var(--white);
  padding: 80px 0 40px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse 100% 80% at 15% 30%, rgba(171,207,21,0.25) 0%, transparent 70%),
    radial-gradient(ellipse 90% 70% at 85% 70%, rgba(171,207,21,0.2) 0%, transparent 70%),
    radial-gradient(ellipse 80% 60% at 50% 90%, rgba(46,125,50,0.15) 0%, transparent 70%),
    radial-gradient(ellipse 70% 50% at 90% 15%, rgba(171,207,21,0.18) 0%, transparent 70%);
  z-index: 0;
  filter: blur(40px);
}

.footer > * {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  font-size: 1.2rem;
  display: inline-block;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 280px;
  color: rgba(255,255,255,0.8);
}

.footer h4 {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.03em;
}

.footer-links { list-style: none; }

.footer-links li { margin-bottom: 12px; }

.footer-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--white); }

.footer-contact p {
  font-size: 0.85rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.8);
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.8);
  margin-top: 16px;
  border: 1px solid rgba(255,255,255,0.2);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.social-links a:hover {
  background: rgba(255,255,255,0.3);
  color: var(--white);
}

/* ===== FLOATING CIRCLES ===== */
@keyframes float-circle {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(15px, -20px) scale(1.03); }
  50% { transform: translate(-10px, 15px) scale(0.97); }
  75% { transform: translate(20px, 10px) scale(1.02); }
}

.floating-circles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.floating-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  animation: float-circle ease-in-out infinite;
}

.fc-1 { width: 450px; height: 450px; top: -180px; right: -100px; animation-duration: 10s; }
.fc-2 { width: 350px; height: 350px; bottom: -140px; left: -80px; animation-duration: 12s; animation-delay: -3s; }
.fc-3 { width: 200px; height: 200px; top: 40%; right: 8%; animation-duration: 9s; animation-delay: -5s; background: rgba(255,255,255,0.04); }
.fc-4 { width: 150px; height: 150px; bottom: 20%; left: 15%; animation-duration: 11s; animation-delay: -2s; background: rgba(255,255,255,0.035); }

/* ===== ANIMATIONS ===== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* fallback SEM JavaScript: revela tudo (senão o conteúdo fica invisível). */
html:not(.js) .animate-on-scroll {
  opacity: 1 !important;
  transform: none !important;
  transition: none;
}

/* respeita quem pede menos movimento: revela tudo, sem transição */
@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll { opacity: 1 !important; transform: none !important; transition: none; }
}

/* foco visível por teclado em links e botões (acessibilidade) */
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--primary, #3caa36);
  outline-offset: 2px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: 1; }
  .hero-image { max-width: 80%; height: auto; margin-bottom: -40px; margin-left: auto; margin-right: auto; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .header-inner .btn-pill { display: none; }
  .mobile-toggle { display: flex; }

  .nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    padding: 20px 24px;
    box-shadow: var(--shadow);
    gap: 6px;
    z-index: 60;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }
  /* links brancos (do header verde) ficariam invisíveis no dropdown branco */
  .nav.open a,
  .nav.open .nav-link {
    color: var(--dark, #1a1a2e);
    font-size: 1rem;
    font-weight: 600;
    padding: 12px 6px;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
  }
  .nav.open .nav-link.nav-toggle { display: flex; align-items: center; justify-content: space-between; cursor: pointer; }
  .nav.open .nav-caret { color: var(--primary-dark, #2E7D32); }
  .nav.open a::after { display: none; }
  .nav.open a:hover, .nav.open .nav-link:hover { color: var(--primary-dark, #2E7D32); }

  .hero { min-height: auto; padding: 100px 0 60px; }
  .hero h1 { font-size: 2rem; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn-pill { width: 100%; justify-content: center; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}
</style>
<style>
/* ===== SCHEDULING WIDGET — scoped ===== */
.scheduling-widget {
  background: var(--light-accent);
  overflow: hidden;
}
.scheduling-widget .sw-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 60px;
  align-items: start;
}
/* --- Left column --- */
.scheduling-widget .sw-left h2 {
  font-size: clamp(1.4rem, 3.08vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--dark);
}
.scheduling-widget .sw-left p {
  color: #555;
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 420px;
}
/* Progress */
.scheduling-widget .sw-progress {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.scheduling-widget .sw-progress-item {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}
.scheduling-widget .sw-progress-item:not(:last-child) {
  padding-bottom: 28px;
}
.scheduling-widget .sw-progress-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 19px;
  top: 42px;
  width: 2px;
  height: calc(100% - 42px);
  background: #ddd;
  transition: background 0.3s;
}
.scheduling-widget .sw-progress-item.done:not(:last-child)::after,
.scheduling-widget .sw-progress-item.active:not(:last-child)::after {
  background: var(--primary);
}
.scheduling-widget .sw-progress-dot {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  background: #e8e8e8;
  color: #999;
  transition: all 0.3s;
  position: relative;
  z-index: 1;
}
.scheduling-widget .sw-progress-item.active .sw-progress-dot {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 16px rgba(60,170,54,0.35);
}
.scheduling-widget .sw-progress-item.done .sw-progress-dot {
  background: var(--primary);
  color: #fff;
}
.scheduling-widget .sw-progress-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #aaa;
  transition: color 0.3s;
}
.scheduling-widget .sw-progress-item.active .sw-progress-label,
.scheduling-widget .sw-progress-item.done .sw-progress-label {
  color: var(--dark);
}

/* --- Right column: card --- */
.scheduling-widget .sw-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.10);
  padding: 40px;
  position: relative;
  overflow: hidden;
  min-height: 480px;
}
.scheduling-widget .sw-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}
.scheduling-widget .sw-card-header h3 {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--dark);
}
.scheduling-widget .sw-step-tag {
  background: var(--light-accent);
  color: var(--primary);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Steps container */
.scheduling-widget .sw-steps {
  position: relative;
}
.scheduling-widget .sw-step {
  display: none;
  animation: swFadeIn 0.25s ease;
}
.scheduling-widget .sw-step.active {
  display: block;
}
@keyframes swFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Step 1: Service cards */
.scheduling-widget .sw-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.scheduling-widget .sw-service-card {
  background: var(--light-accent);
  border: 2px solid transparent;
  border-radius: 14px;
  padding: 22px 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s;
  position: relative;
}
.scheduling-widget .sw-service-card:hover {
  border-color: rgba(60,170,54,0.3);
  transform: translateY(-2px);
}
.scheduling-widget .sw-service-card.selected {
  border-color: var(--primary);
  background: rgba(60,170,54,0.06);
}
.scheduling-widget .sw-service-card .sw-check {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  display: none;
  align-items: center;
  justify-content: center;
}
.scheduling-widget .sw-service-card.selected .sw-check {
  display: flex;
}
.scheduling-widget .sw-service-card .sw-check svg {
  width: 12px;
  height: 12px;
  stroke: #fff;
  stroke-width: 2.5;
  fill: none;
}
.scheduling-widget .sw-service-icon {
  margin-bottom: 10px;
}
.scheduling-widget .sw-service-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* capa (imagem do servico) no topo do card do wizard — estilo Parafuzo */
.scheduling-widget .sw-service-cover {
  width: 100%;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
  display: block;
}
.scheduling-widget .sw-service-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: #444;
}

/* Step 2: Details */
.scheduling-widget .sw-form-group {
  margin-bottom: 20px;
}
.scheduling-widget .sw-form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}
.scheduling-widget .sw-form-group select,
.scheduling-widget .sw-form-group input[type="text"],
.scheduling-widget .sw-form-group input[type="email"],
.scheduling-widget .sw-form-group input[type="tel"],
.scheduling-widget .sw-form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e8e8e8;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--dark);
  background: #fff;
  transition: border-color 0.2s;
  outline: none;
}
.scheduling-widget .sw-form-group select:focus,
.scheduling-widget .sw-form-group input:focus,
.scheduling-widget .sw-form-group textarea:focus {
  border-color: var(--primary);
}
.scheduling-widget .sw-form-group textarea {
  resize: vertical;
  min-height: 80px;
}
.scheduling-widget .sw-area-wrap {
  position: relative;
}
.scheduling-widget .sw-area-wrap input {
  padding-right: 48px;
}
.scheduling-widget .sw-area-wrap .sw-suffix {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.85rem;
  font-weight: 600;
  color: #999;
  pointer-events: none;
}
.scheduling-widget .sw-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.scheduling-widget .sw-pill {
  padding: 10px 20px;
  border: 2px solid #e8e8e8;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  transition: all 0.2s;
  background: #fff;
}
.scheduling-widget .sw-pill:hover {
  border-color: rgba(60,170,54,0.4);
}
.scheduling-widget .sw-pill.selected {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

/* Step 3: Calendar */
.scheduling-widget .sw-cal-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.scheduling-widget .sw-cal-nav button {
  background: none;
  border: 2px solid #e8e8e8;
  border-radius: 10px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}
.scheduling-widget .sw-cal-nav button:hover {
  border-color: var(--primary);
  background: var(--light-accent);
}
.scheduling-widget .sw-cal-nav button svg {
  width: 16px;
  height: 16px;
  stroke: var(--dark);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.scheduling-widget .sw-cal-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--dark);
  text-transform: capitalize;
}
.scheduling-widget .sw-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 24px;
}
.scheduling-widget .sw-cal-head {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #aaa;
  text-transform: uppercase;
  padding: 8px 0;
}
.scheduling-widget .sw-cal-day {
  text-align: center;
  padding: 10px 0;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s;
  color: var(--dark);
}
.scheduling-widget .sw-cal-day:hover:not(.disabled):not(.empty) {
  background: var(--light-accent);
}
.scheduling-widget .sw-cal-day.today {
  font-weight: 700;
  color: var(--primary);
  background: rgba(60,170,54,0.08);
}
.scheduling-widget .sw-cal-day.selected {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
}
.scheduling-widget .sw-cal-day.disabled {
  color: #ccc;
  cursor: default;
}
.scheduling-widget .sw-cal-day.empty {
  cursor: default;
}

/* Period cards */
.scheduling-widget .sw-periods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.scheduling-widget .sw-period-card {
  border: 2px solid #e8e8e8;
  border-radius: 14px;
  padding: 16px 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}
.scheduling-widget .sw-period-card:hover {
  border-color: rgba(60,170,54,0.4);
}
.scheduling-widget .sw-period-card.selected {
  border-color: var(--primary);
  background: rgba(60,170,54,0.06);
}
.scheduling-widget .sw-period-card svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 6px;
}
.scheduling-widget .sw-period-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--dark);
}
.scheduling-widget .sw-period-time {
  font-size: 0.7rem;
  color: #999;
  margin-top: 2px;
}

/* Navigation */
.scheduling-widget .sw-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}
.scheduling-widget .sw-btn {
  padding: 12px 28px;
  border-radius: 50px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  border: 2px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.scheduling-widget .sw-btn-back {
  background: transparent;
  border-color: #ddd;
  color: #666;
}
.scheduling-widget .sw-btn-back:hover {
  border-color: var(--dark);
  color: var(--dark);
}
.scheduling-widget .sw-btn-next {
  background: var(--gradient);
  color: #fff;
  border: none;
  box-shadow: 0 4px 16px rgba(60,170,54,0.3);
}
.scheduling-widget .sw-btn-next:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(60,170,54,0.4);
}
.scheduling-widget .sw-btn-next:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.scheduling-widget .sw-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Validation error */
.scheduling-widget .sw-error {
  color: #e53935;
  font-size: 0.8rem;
  font-weight: 500;
  margin-top: 8px;
  display: none;
}
.scheduling-widget .sw-error.visible {
  display: block;
  animation: swFadeIn 0.2s ease;
}

/* Confirmation */
.scheduling-widget .sw-confirmation {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.scheduling-widget .sw-confirmation.active {
  display: block;
  animation: swFadeIn 0.3s ease;
}
.scheduling-widget .sw-confirm-check {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  animation: swPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes swPop {
  0%   { transform: scale(0); opacity: 0; }
  60%  { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}
.scheduling-widget .sw-confirm-check svg {
  width: 36px;
  height: 36px;
  stroke: #fff;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: swDraw 0.6s 0.3s ease forwards;
}
@keyframes swDraw {
  to { stroke-dashoffset: 0; }
}
.scheduling-widget .sw-confirmation h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}
.scheduling-widget .sw-confirmation p {
  color: #666;
  margin-bottom: 28px;
}
.scheduling-widget .sw-confirmation a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}
.scheduling-widget .sw-confirmation a:hover {
  color: var(--primary-dark);
}

/* Responsive */
@media (max-width: 1024px) {
  .scheduling-widget .sw-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
@media (max-width: 600px) {
  .scheduling-widget .sw-services {
    grid-template-columns: repeat(2, 1fr);
  }
  .scheduling-widget .sw-periods {
    grid-template-columns: 1fr;
  }
  .scheduling-widget .sw-card {
    padding: 24px;
  }
  .scheduling-widget .sw-pills {
    flex-direction: column;
  }
  .scheduling-widget .sw-pill {
    text-align: center;
  }
}
</style>
<style>
/* barra de preço ao vivo do wizard */
.scheduling-widget .sw-pricebar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-top: 18px; padding: 14px 18px;
  background: var(--light-accent); border: 1.5px solid rgba(60,170,54,0.25);
  border-radius: 14px;
}
.scheduling-widget .sw-pricebar-label { font-size: 0.85rem; font-weight: 600; color: #555; }
.scheduling-widget .sw-pricebar-value { font-size: 1.25rem; font-weight: 800; color: var(--primary-dark, #2E7D32); text-align: right; }
.scheduling-widget .sw-pricebar-value small { display:block; font-size: 0.72rem; font-weight: 600; color: #777; }
.scheduling-widget #swErrSubmit { color: #c0392b; font-size: 0.85rem; font-weight: 600; }
.scheduling-widget #swErrSubmit:empty { display: none; }
