/* Soul Assistance — design tokens extracted from the original site */
:root {
  --navy: #182E3B;
  --navy-light: #21404f;
  --teal: #3A929D;
  --teal-dark: #2B615D;
  --white: #FFFFFF;
  --off-white: #FCFCFC;
  --text-muted: #6b7a82;
  --border: #e3e8ea;
  --radius: 6px;
  --shadow: 0 10px 30px rgba(24, 46, 59, 0.12);
  --font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.site-logo img { height: 56px; width: auto; }

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

.main-nav ul {
  display: flex;
  gap: 28px;
  align-items: center;
}

.main-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--navy);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active { color: var(--teal); border-color: var(--teal); }

.nav-item-dropdown { position: relative; }

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  min-width: 200px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 18px;
  border-bottom: none;
}

.dropdown-menu a:hover { background: var(--off-white); }

.search-form {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 6px 6px 6px 16px;
  min-width: 220px;
}

.search-form input {
  border: none;
  outline: none;
  flex: 1;
  font-family: var(--font);
  font-size: 0.9rem;
}

.search-form button {
  border: none;
  background: var(--teal);
  color: var(--white);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: transform 0.2s, opacity 0.2s;
}

/* ---------- Page title bar ---------- */
.page-title-bar {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.page-title-bar h1 {
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--navy);
}

/* ---------- Hero carousel ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  display: flex;
}

.hero-banner {
  min-height: 0;
  aspect-ratio: 2048 / 779;
}

.hero-slide {
  position: relative;
  width: 100%;
  flex-shrink: 0;
  display: none;
  min-height: 480px;
  background-size: cover;
  background-position: center;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
}

.hero-banner .hero-slide { min-height: 0; }

.hero-slide.active { display: flex; }

.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24,46,59,0.55), rgba(24,46,59,0.75));
}

.hero-banner .hero-slide::before { display: none; }

.hero-content {
  position: relative;
  z-index: 2;
  padding: 48px 20px;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.hero-icon {
  width: 90px;
  height: 90px;
  flex-shrink: 0;
  border: 2px solid var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-icon svg { width: 42px; height: 42px; }

.hero-content h2 {
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.25;
  text-transform: uppercase;
}

.hero-content .hero-cta {
  display: inline-block;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.4);
  padding: 10px 22px;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(255,255,255,0.15);
  border: none;
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-arrow:hover { background: rgba(255,255,255,0.3); }
.carousel-arrow.prev { left: 20px; }
.carousel-arrow.next { right: 20px; }

.carousel-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}

.carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  padding: 0;
}

.carousel-dots button.active { background: var(--white); }

/* ---------- Section headings ---------- */
.section { padding: 64px 0; }
.section.alt { background: var(--off-white); }

.section-title {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}

.section-underline {
  width: 60px;
  height: 3px;
  background: var(--teal);
  margin: 0 auto 40px;
}

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

.info-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 260px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  color: var(--white);
  box-shadow: var(--shadow);
}

.info-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24,46,59,0.35) 0%, rgba(24,46,59,0.92) 85%);
}

.info-card-body { position: relative; z-index: 2; padding: 22px; }

.info-card-eyebrow { font-size: 0.8rem; opacity: 0.85; margin-bottom: 2px; }

.info-card-title { font-size: 1.3rem; font-weight: 600; margin-bottom: 6px; }

.info-card-subtitle { font-size: 0.85rem; opacity: 0.9; margin-bottom: 12px; }

.info-card-meta { font-size: 0.8rem; display: flex; flex-direction: column; gap: 6px; opacity: 0.9; }
.info-card-meta span { display: flex; align-items: center; gap: 6px; }

/* ---------- Serviço full-width card ---------- */
.service-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 240px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: var(--white);
  box-shadow: var(--shadow);
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(24,46,59,0.92) 0%, rgba(24,46,59,0.55) 60%, rgba(24,46,59,0.3) 100%);
}

.service-card-body { position: relative; z-index: 2; padding: 32px 40px; max-width: 640px; }
.service-card-eyebrow { font-size: 0.85rem; opacity: 0.85; }
.service-card-title { font-size: 1.6rem; font-weight: 600; margin: 6px 0 14px; }
.service-card-desc { font-size: 0.9rem; opacity: 0.92; }
.service-card-link {
  display: inline-block;
  margin-top: 18px;
  border: 1px solid rgba(255,255,255,0.6);
  padding: 8px 18px;
  font-size: 0.8rem;
}

/* ---------- Simple gallery carousel ---------- */
.gallery-carousel {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.gallery-carousel .hero-slide { min-height: 320px; }
.gallery-carousel .hero-slide::before { display: none; }

/* ---------- Contact / matricula forms ---------- */
.form-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.form-grid .full { grid-column: 1 / -1; }

.field { display: flex; flex-direction: column; gap: 6px; }

.field label { font-size: 0.85rem; font-weight: 500; color: var(--navy); }

.field input,
.field select,
.field textarea {
  font-family: var(--font);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 10px 12px;
  font-size: 0.9rem;
  color: var(--navy);
  background: var(--white);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
}

.field textarea { resize: vertical; min-height: 100px; }

.btn-submit {
  background: var(--teal);
  color: var(--white);
  border: none;
  padding: 12px 28px;
  border-radius: 4px;
  font-family: var(--font);
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
}

.btn-submit:hover { background: var(--teal-dark); }

.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 12px;
}

/* ---------- Diferenciais icon list ---------- */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.icon-grid .icon-item svg {
  width: 44px;
  height: 44px;
  color: var(--teal);
  margin-bottom: 14px;
}

.icon-item h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.icon-item p { font-size: 0.85rem; color: var(--text-muted); }

/* ---------- Quem somos hero split ---------- */
.split-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
}

.split-hero-image { background-size: cover; background-position: center; }

.split-hero-text {
  background: var(--navy);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px;
}

.split-hero-text .eyebrow { color: var(--teal); font-size: 0.9rem; margin-bottom: 6px; }
.split-hero-text h2 { font-size: 1.8rem; font-weight: 600; margin-bottom: 18px; }
.split-hero-text p { margin-bottom: 12px; opacity: 0.9; font-size: 0.95rem; }

/* ---------- Gestão / Missão Visão ---------- */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.mv-item h3 { color: var(--teal); font-size: 1.2rem; font-weight: 600; margin-bottom: 12px; }
.mv-item p { color: var(--text-muted); }

/* ---------- Equipe ---------- */
.team-section { background: var(--navy); color: var(--white); }
.team-section .section-title { color: var(--white); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}

.team-card {
  background-size: cover;
  background-position: center top;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  position: relative;
}

.team-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24,46,59,0) 40%, rgba(24,46,59,0.85) 100%);
}

.team-card-body { position: relative; z-index: 2; padding: 20px; }
.team-card-body h4 { font-size: 1.1rem; font-weight: 600; }
.team-card-body span { font-size: 0.85rem; opacity: 0.85; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 48px 24px 24px;
  position: relative;
}

.site-footer::before {
  content: '';
  display: block;
  height: 6px;
  background: linear-gradient(90deg, var(--teal), var(--teal-dark));
  margin: -48px -24px 40px;
}

.footer-logo img { height: 90px; margin: 0 auto 24px; }

.footer-divider {
  width: 80px;
  height: 2px;
  background: var(--teal);
  margin: 0 auto 24px;
}

.footer-contact { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.footer-contact a,
.footer-contact span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  font-size: 0.9rem;
}
.footer-contact svg { width: 16px; height: 16px; }

.footer-copy { font-size: 0.8rem; opacity: 0.75; }

/* ---------- WhatsApp floating button ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  z-index: 200;
}
.whatsapp-float svg { width: 30px; height: 30px; fill: var(--white); }

/* ---------- Recaptcha placeholder ---------- */
.recaptcha-box {
  border: 1px dashed var(--border);
  border-radius: 4px;
  padding: 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

/* ---------- Course detail page ---------- */
.course-hero {
  background: var(--navy);
  color: var(--white);
  padding: 56px 0;
  text-align: center;
}

.course-hero .eyebrow { color: var(--teal); font-size: 0.9rem; margin-bottom: 8px; }
.course-hero h1 { font-size: 2rem; font-weight: 600; }

.course-content {
  max-width: 800px;
  margin: 0 auto;
}

.ementa-list { display: flex; flex-direction: column; gap: 22px; }

.ementa-group-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin: 8px 0 -8px;
}

.ementa-item h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}

.ementa-item p { color: var(--text-muted); font-size: 0.92rem; }

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}

.detail-item {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}

.detail-item h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--teal);
  margin-bottom: 8px;
}

.detail-item p { font-weight: 600; color: var(--navy); }

.course-cta { text-align: center; margin-top: 40px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .split-hero { grid-template-columns: 1fr; }
  .split-hero-image { min-height: 280px; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .main-nav { position: fixed; top: 76px; left: 0; right: 0; bottom: 0; background: var(--white); flex-direction: column; align-items: stretch; padding: 24px; gap: 16px; transform: translateX(100%); transition: transform 0.25s; overflow-y: auto; }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; padding-left: 16px; }
  .nav-item-dropdown.open .dropdown-menu { display: block; }
  .search-form { margin-top: 12px; }
  .nav-toggle { display: block; }
  .card-grid { grid-template-columns: 1fr; }
  .icon-grid { grid-template-columns: 1fr; }
  .mv-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-content h2 { font-size: 1.5rem; }
  .service-card { flex-direction: column; align-items: flex-start; }
  .service-card-body { padding: 24px; }
  .detail-grid { grid-template-columns: 1fr; }
}
