/* Apoio e Convívio — design system */

:root {
  --navy: #16244f;
  --navy-dark: #0d1836;
  --coral: #ef6a5d;
  --yellow: #ffc93c;
  --teal: #4fb3ac;
  --pink: #f5a3c2;
  --cream: #fffaf2;
  --paper: #ffffff;
  --ink: #22304f;
  --ink-soft: #5a6584;
  --border: #e7e2d6;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --shadow: 0 20px 40px -20px rgba(22, 36, 79, 0.25);
  --shadow-sm: 0 8px 20px -12px rgba(22, 36, 79, 0.3);

  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Baloo 2", "Nunito", sans-serif;
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }

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

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

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .78rem;
  color: var(--coral);
  margin-bottom: .8em;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: var(--coral);
}

.quote {
  font-family: "Baloo 2", sans-serif;
  font-size: 1.15rem;
  color: var(--navy);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 800;
  font-size: .98rem;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 24px -12px rgba(239,106,93,.55); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-light {
  background: #fff;
  color: var(--navy);
}
.btn-light:hover { transform: translateY(-2px); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 250, 242, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  padding-top: 10px;
  padding-bottom: 10px;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand img { height: 48px; width: auto; flex-shrink: 0; }
.brand-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--cream);
  flex-shrink: 0;
}
.brand-badge img { height: 34px; width: auto; }
.brand-name {
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  color: var(--navy);
  font-size: 1.15rem;
  line-height: 1.1;
  white-space: nowrap;
}
.brand-name span {
  display: block;
  font-family: "Nunito", sans-serif;
  font-weight: 600;
  font-size: .66rem;
  color: var(--coral);
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand-name .loc {
  font-weight: 600;
  font-size: .64rem;
  color: var(--ink-soft);
  letter-spacing: .02em;
  text-transform: none;
  margin-top: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
}
.nav-links a {
  padding: 10px 13px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .92rem;
  color: var(--navy);
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.nav-links a:hover { background: rgba(22,36,79,.06); }
.nav-links a.active { background: var(--navy); color: #fff; }
.nav-links a.is-soon { color: var(--ink-soft); }
.nav-links a.is-soon::after {
  content: "em breve";
  display: inline-block;
  margin-left: 6px;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
  background: var(--yellow);
  color: var(--navy-dark);
  padding: 2px 7px;
  border-radius: 999px;
  vertical-align: 2px;
}

.nav-cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav-cta .btn { padding: 11px 20px; font-size: .88rem; }
.nav-toggle { display: none; }

/* Dropdown: Nossas Turmas submenu */
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-item > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-item > a .caret {
  width: 12px;
  height: 12px;
  transition: transform .15s ease;
}
.nav-item:hover > a .caret,
.nav-item:focus-within > a .caret { transform: rotate(180deg); }
.dropdown-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 170px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .15s ease, transform .15s ease;
  z-index: 200;
}
.nav-item:hover .dropdown-panel,
.nav-item:focus-within .dropdown-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown-panel a {
  padding: 9px 14px;
  border-radius: 10px;
  font-size: .88rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  transition: background .15s ease;
}
.dropdown-panel a:hover { background: var(--cream); }
.dropdown-panel .divider {
  height: 1px;
  background: var(--border);
  margin: 4px 6px;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 64px;
}
.hero-copy .badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .85rem;
  color: var(--navy);
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; }

.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

.hero-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-media img { width: 100%; height: 460px; object-fit: cover; }
.hero-media .tag {
  position: absolute;
  left: 24px;
  bottom: 24px;
  background: rgba(22,36,79,.85);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .85rem;
}

/* Sections */
section { padding: 84px 0; }
.section-tight { padding: 56px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.bg-navy { background: var(--navy); color: #fff; }
.bg-navy h2, .bg-navy h3 { color: #fff; }
.bg-navy p { color: rgba(255,255,255,.78); }
.bg-soft { background: #fff; }
.bg-tint { background: #f4efe3; }

/* Values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.value-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.value-card .icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--navy);
}
.value-card .icon svg { width: 26px; height: 26px; }
.value-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.value-card p { font-size: .88rem; margin: 0; }

/* Highlights / pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.pillar {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 30px 26px;
  border: 1px solid var(--border);
}
.pillar .num {
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--coral);
  margin-bottom: 10px;
  display: block;
}

/* Turma quick-nav */
.turma-nav-wrap {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.turma-nav-label {
  text-align: center;
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.turma-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.turma-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 22px;
  border-radius: 999px;
  background: #fff;
  border: none;
  box-shadow: var(--shadow-sm);
  color: var(--navy);
  font-weight: 800;
  font-size: .9rem;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.turma-nav a::after {
  content: "→";
  font-weight: 700;
  opacity: .55;
  transition: transform .15s ease;
}
.turma-nav a:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 22px -10px rgba(22,36,79,.45);
}
.turma-nav a:hover::after { transform: translateX(2px); opacity: 1; }
.turma-nav a.is-active {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 12px 22px -10px rgba(239,106,93,.5);
}
.turma-nav a.is-active::after { opacity: 1; }

/* Turma blocks (detailed, one per group) */
.turma-block {
  padding: 52px 0;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 108px;
}
.turma-block:last-child { border-bottom: none; }
.turma-head {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 32px;
}
.turma-head .photo {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 200px;
}
.turma-head .photo img { width: 100%; height: 100%; object-fit: cover; }
.turma-head .age {
  display: inline-block;
  background: var(--cream);
  border: 1px solid var(--border);
  color: var(--navy);
  font-weight: 800;
  font-size: .8rem;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.turma-head .quote { margin: 8px 0 0; }
.turma-topics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.turma-topics .pillar { padding: 22px 20px; }
.turma-topics .pillar .num { font-size: 1.25rem; margin-bottom: 6px; }
.turma-topics .pillar h3 { font-size: 1rem; margin-bottom: 6px; }
.turma-topics .pillar p { font-size: .88rem; margin: 0; }

/* Parceiros */
.parceiros-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 20px;
}
.parceiro-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 110px;
}
.parceiro-card img {
  max-width: 100%;
  max-height: 60px;
  width: auto;
  object-fit: contain;
}

/* Cards / turmas */
.turmas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.turma-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.turma-card .thumb { position: relative; height: 190px; }
.turma-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.turma-card .thumb .stage {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #fff;
  color: var(--navy);
  font-weight: 800;
  font-size: .78rem;
  padding: 6px 12px;
  border-radius: 999px;
}
.turma-card .body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.turma-card .quote {
  font-size: .92rem;
  font-style: italic;
  margin-bottom: 14px;
}
.turma-card ul {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: .88rem;
  color: var(--ink-soft);
}
.turma-card ul li { padding-left: 20px; position: relative; }
.turma-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}
.turma-card .eixos {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
  font-size: .82rem;
  color: var(--ink-soft);
}
.turma-card .eixos b { color: var(--navy); display: block; margin-bottom: 6px; font-size: .8rem; }
.turma-card .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.turma-card .tags span {
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .74rem;
  color: var(--navy);
  font-weight: 700;
}

/* Info strip (alimentação / experiências ampliadas) */
.info-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.info-strip .item {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 26px;
  border: 1px solid var(--border);
}
.info-strip .item h3 { font-size: 1.05rem; margin-bottom: 10px; }
.info-strip .item ul { margin: 0; padding-left: 18px; color: var(--ink-soft); font-size: .92rem; }
.info-strip .item ul li { margin-bottom: 4px; }

/* Espaços gallery */
.espacos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  grid-auto-flow: dense;
  gap: 18px;
}
.espaco-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.espaco-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.espaco-item:hover img { transform: scale(1.06); }
.espaco-item.wide { grid-column: span 2; }
.espaco-item.tall { grid-row: span 2; }
.espaco-item .label {
  position: absolute;
  left: 16px;
  bottom: 16px;
  color: #fff;
  font-weight: 800;
  font-size: .95rem;
  text-shadow: 0 2px 10px rgba(0,0,0,.45);
}
.espaco-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,24,54,.55), transparent 55%);
}

/* Períodos */
.periodos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.periodo-card {
  border-radius: var(--radius-md);
  padding: 26px;
  color: #fff;
}
.periodo-card h3 { color: #fff; }
.periodo-card p { color: rgba(255,255,255,.85); margin: 0; }

/* CTA band */
.cta-band {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: #fff;
}
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,.78); margin: 0; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.contact-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}
.contact-list .ic {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--coral);
  background: var(--cream);
}
.contact-list .ic svg { width: 20px; height: 20px; }
.contact-list b { color: var(--navy); display: block; margin-bottom: 2px; }
.contact-list span { color: var(--ink-soft); font-size: .92rem; }

.map-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 100%;
  min-height: 360px;
}
.map-frame iframe { width: 100%; height: 100%; min-height: 360px; border: 0; }

/* Blog placeholder */
.soon-box {
  background: #fff;
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 72px 40px;
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}
.soon-box .icon {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  font-size: 2rem;
}

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 12px;
}
.wa-bubble {
  background: #fff;
  color: var(--navy);
  font-weight: 800;
  font-size: .88rem;
  padding: 12px 18px;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
  position: relative;
  animation: wa-pop .4s ease .6s both;
}
.wa-bubble::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: #fff;
}
.wa-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px -10px rgba(37,211,102,.65);
  flex-shrink: 0;
  animation: wa-pulse 2.4s ease infinite;
}
.wa-btn svg { width: 30px; height: 30px; }
@keyframes wa-pop {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 14px 30px -10px rgba(37,211,102,.65); }
  50% { box-shadow: 0 14px 30px -6px rgba(37,211,102,.9); }
}
@media (max-width: 720px) {
  .wa-bubble { display: none; }
  .wa-float { right: 18px; bottom: 18px; }
}

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.7);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-grid h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-grid .brand { margin-bottom: 14px; }
.footer-grid .brand-name { color: #fff; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: .92rem; }
.footer-grid ul a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: .82rem;
  flex-wrap: wrap;
  gap: 10px;
}

/* Utility */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }

@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-media img { height: 320px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: 1fr; }
  .turmas-grid { grid-template-columns: repeat(2, 1fr); }
  .info-strip { grid-template-columns: 1fr; }
  .turma-head { grid-template-columns: 1fr; }
  .turma-head .photo { height: 220px; }
  .turma-topics { grid-template-columns: repeat(2, 1fr); }
  .espacos-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .espaco-item.wide { grid-column: span 2; }
  .periodos { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { flex-direction: column; text-align: center; }
}

@media (max-width: 1040px) {
  .nav-links, .nav-cta .btn-outline { display: none; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #fff;
  }
  .site-header.open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 12px 24px 20px;
    border-bottom: 1px solid var(--border);
    max-height: calc(100vh - 100%);
    overflow-y: auto;
  }
  .site-header.open .nav-links a { padding: 12px 14px; }
  .nav-item { flex-direction: column; align-items: stretch; }
  .nav-item > a .caret { display: none; }
  .dropdown-panel {
    position: static;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 6px 18px;
    min-width: 0;
  }
  .dropdown-panel a { padding: 8px 14px; font-size: .86rem; }
}

@media (max-width: 720px) {
  .values-grid { grid-template-columns: 1fr 1fr; }
  .turmas-grid { grid-template-columns: 1fr; }
  .turma-topics { grid-template-columns: 1fr; }
  .espacos-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  section { padding: 56px 0; }
  .cta-band { padding: 36px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
}
