/* ============================================================
   Escola Carrossel — Design System
   Art direction: identidade oficial da escola — azul-marinho e
   azul-claro da logo, com verde, amarelo e rosa das crianças.
   ============================================================ */

:root {
  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1rem + 0.6vw, 1.4rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(1.875rem, 1.15rem + 2vw, 2.75rem);
  --text-3xl: clamp(2.25rem, 1.2rem + 3.2vw, 3.9rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Radius */
  --radius-sm: 0.5rem;
  --radius-md: 0.875rem;
  --radius-lg: 1.25rem;
  --radius-xl: 2rem;
  --radius-full: 9999px;

  --transition-interactive: 200ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Content widths */
  --content-narrow: 660px;
  --content-default: 1000px;
  --content-wide: 1240px;

  /* Cores literais da marca (uso decorativo) */
  --brand-navy: #022c92;
  --brand-azul: #01aafd;
  --brand-verde: #2eb135;
  --brand-amarelo: #ffb800;
  --brand-rosa: #f5326e;

  /* Fonts */
  --font-display: 'Chillax', 'Nunito', 'Segoe UI', sans-serif;
  --font-body: 'General Sans', 'Nunito', 'Segoe UI', sans-serif;
}

/* ---------- Light theme ---------- */
:root,
[data-theme='light'] {
  --color-bg: #f4f8ff;
  --color-surface: #ffffff;
  --color-surface-2: #fbfdff;
  --color-surface-offset: #e6f0ff;
  --color-surface-offset-2: #d4e5fb;
  --color-divider: #dbe8f7;
  --color-border: #c2d7ef;

  --color-text: #0f2450;
  --color-text-muted: #526d99;
  --color-text-faint: #98a9c2;
  --color-text-inverse: #f4f8ff;

  --color-primary: #022c92;
  --color-primary-hover: #0b3cb5;
  --color-primary-active: #001f6e;
  --color-primary-soft: #dae6ff;

  --color-sun: #c07c00;
  --color-sun-soft: #fdf0cd;
  --color-agua: #0b7fc4;
  --color-agua-soft: #d5eafb;
  --color-uva: #1a8c31;
  --color-uva-soft: #d8f2dc;
  --color-rosa: #d81b60;
  --color-rosa-soft: #fcdde8;

  --shadow-sm: 0 1px 2px oklch(0.28 0.09 262 / 0.07);
  --shadow-md: 0 6px 18px oklch(0.28 0.09 262 / 0.09);
  --shadow-lg: 0 18px 44px oklch(0.28 0.09 262 / 0.14);
}

/* ---------- Dark theme ---------- */
[data-theme='dark'] {
  --color-bg: #081124;
  --color-surface: #0f1a33;
  --color-surface-2: #13203c;
  --color-surface-offset: #16233f;
  --color-surface-offset-2: #1c2c4d;
  --color-divider: #1b2846;
  --color-border: #2c3d63;

  --color-text: #e7eeff;
  --color-text-muted: #96a8c8;
  --color-text-faint: #6c7d9d;
  --color-text-inverse: #081124;

  --color-primary: #74acff;
  --color-primary-hover: #9bc4ff;
  --color-primary-active: #bad8ff;
  --color-primary-soft: #12275c;

  --color-sun: #f5c04a;
  --color-sun-soft: #382d13;
  --color-agua: #52bef5;
  --color-agua-soft: #0e3149;
  --color-uva: #5cca72;
  --color-uva-soft: #12351c;
  --color-rosa: #ff6398;
  --color-rosa-soft: #3a1428;

  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.35);
  --shadow-md: 0 6px 18px oklch(0 0 0 / 0.45);
  --shadow-lg: 0 18px 44px oklch(0 0 0 / 0.55);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #081124;
    --color-surface: #0f1a33;
    --color-surface-2: #13203c;
    --color-surface-offset: #16233f;
    --color-surface-offset-2: #1c2c4d;
    --color-divider: #1b2846;
    --color-border: #2c3d63;
    --color-text: #e7eeff;
    --color-text-muted: #96a8c8;
    --color-text-faint: #6c7d9d;
    --color-text-inverse: #081124;
    --color-primary: #74acff;
    --color-primary-hover: #9bc4ff;
    --color-primary-soft: #12275c;
    --color-sun: #f5c04a;
    --color-sun-soft: #382d13;
    --color-agua: #52bef5;
    --color-agua-soft: #0e3149;
    --color-uva: #5cca72;
    --color-uva-soft: #12351c;
    --color-rosa: #ff6398;
    --color-rosa-soft: #3a1428;
  }
}

/* ============================================================
   Layout primitives
   ============================================================ */

.wrap {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-5);
}

.wrap--narrow {
  max-width: var(--content-narrow);
}
.wrap--default {
  max-width: var(--content-default);
}

.section {
  padding-block: clamp(var(--space-12), 7vw, var(--space-24));
}
.section--tight {
  padding-block: clamp(var(--space-10), 5vw, var(--space-16));
}
.section--offset {
  background: var(--color-surface-offset);
}
.section--surface {
  background: var(--color-surface);
}

.stack > * + * {
  margin-top: var(--space-4);
}

/* Faixa listrada — motivo do carrossel */
.faixa {
  height: 7px;
  border: 0;
  background: repeating-linear-gradient(
    90deg,
    var(--brand-navy) 0 24px,
    var(--brand-azul) 24px 48px,
    var(--brand-verde) 48px 72px,
    var(--brand-amarelo) 72px 96px,
    var(--brand-rosa) 96px 120px
  );
}

/* ============================================================
   Typography
   ============================================================ */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 3px;
  border-radius: var(--radius-full);
  background: currentColor;
}

.display {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.h1 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  letter-spacing: -0.015em;
}

.h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  line-height: 1.3;
}

.lead {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: 1.55;
  max-width: 44ch;
}

.muted {
  color: var(--color-text-muted);
}

.meta {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

.section-head {
  max-width: 52ch;
  margin-bottom: clamp(var(--space-8), 4vw, var(--space-12));
}
.section-head > * + * {
  margin-top: var(--space-3);
}
.section-head p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  max-width: 56ch;
}

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 46px;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
[data-theme='dark'] .btn--primary {
  color: #0a1a3f;
}
.btn--primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn--primary:active {
  transform: translateY(0);
}

.btn--ghost {
  border-color: var(--color-border);
  color: var(--color-text);
  background: var(--color-surface);
}
.btn--ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.btn--light {
  background: #fff;
  color: #0f2450;
}
.btn--light:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--outline-light {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}
.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.btn-row--center {
  justify-content: center;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
}
.link-arrow svg {
  transition: transform var(--transition-interactive);
}
.link-arrow:hover svg {
  transform: translateX(4px);
}

/* ============================================================
   Header
   ============================================================ */

.skip {
  position: absolute;
  left: var(--space-4);
  top: var(--space-2);
  z-index: 200;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: #fff;
  font-size: var(--text-sm);
  text-decoration: none;
  transform: translateY(-200%);
}
.skip:focus {
  transform: translateY(0);
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #002788;
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}
.header--scrolled {
  border-bottom-color: #001d66;
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: #fff;
  margin-right: auto;
}
.brand__logo {
  height: 42px;
  width: auto;
  max-width: 38vw;
  flex: none;
}
@media (max-width: 600px) {
  .brand__logo {
    height: 34px;
  }
}
.brand__mark {
  color: #fff;
  flex: none;
}
.brand__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.01em;
  display: block;
}
.brand__tag {
  display: block;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav {
  display: none;
}
.nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
}
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}
.nav__link:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.nav__link[aria-current='page'] {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.has-menu {
  position: relative;
}
.submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 248px;
  padding: var(--space-2);
  list-style: none;
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s;
}
.has-menu:hover .submenu,
.has-menu:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.submenu a {
  display: block;
  padding: var(--space-3);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--color-text);
  text-decoration: none;
}
.submenu a:hover {
  background: var(--color-surface-offset);
  color: var(--color-primary);
}
.submenu a[aria-current='page'] {
  color: var(--color-primary);
  font-weight: 600;
}
.submenu span {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  background: transparent;
}
.icon-btn:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.header__cta {
  display: none;
}
@media (min-width: 1060px) {
  .header__cta {
    display: inline-flex;
    background: #fff;
    color: #002788;
  }
  .header__cta:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
  }
}

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 74px 0 auto 0;
  z-index: 99;
  max-height: calc(100dvh - 74px);
  overflow-y: auto;
  padding: var(--space-4) var(--space-5) var(--space-10);
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-divider);
  box-shadow: var(--shadow-lg);
  transform: translateY(-110%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.drawer[data-open='true'] {
  transform: translateY(0);
}
.drawer ul {
  list-style: none;
}
.drawer a {
  display: block;
  padding: var(--space-3) 0;
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px solid var(--color-divider);
}
.drawer a[aria-current='page'] {
  color: var(--color-primary);
}
.drawer .drawer__group {
  padding-left: var(--space-4);
}
.drawer .drawer__label {
  margin-top: var(--space-4);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.drawer .btn {
  margin-top: var(--space-6);
  width: 100%;
}

@media (min-width: 1060px) {
  .nav {
    display: block;
  }
  .header__cta {
    display: inline-flex;
  }
  .menu-toggle {
    display: none;
  }
  .drawer {
    display: none;
  }
}

/* ============================================================
   Hero — home
   ============================================================ */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--color-surface-offset);
}
.hero__inner {
  display: grid;
  gap: clamp(var(--space-8), 5vw, var(--space-16));
  align-items: center;
  padding-block: clamp(var(--space-12), 7vw, var(--space-24));
}
.hero__content > * + * {
  margin-top: var(--space-5);
}
.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.06;
  text-wrap: balance;
}
.hero__title em {
  font-style: normal;
  color: var(--color-primary);
}
.hero__media {
  position: relative;
}
.hero__media img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.hero__badge {
  position: absolute;
  bottom: calc(-1 * var(--space-5));
  left: var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-full);
  background: var(--color-surface);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-divider);
  font-size: var(--text-sm);
  font-weight: 600;
}
.hero__badge strong {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--color-primary);
}

@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: 1.05fr 1fr;
  }
}

/* Hero interno de página */
.pagehero {
  background: var(--color-surface-offset);
  padding-block: clamp(var(--space-12), 6vw, var(--space-20));
}
.pagehero__inner > * + * {
  margin-top: var(--space-4);
}
.pagehero .lead {
  max-width: 56ch;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  list-style: none;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}
.breadcrumb a {
  color: var(--color-text-muted);
  text-decoration: none;
}
.breadcrumb a:hover {
  color: var(--color-primary);
}

/* ============================================================
   Cards & grids
   ============================================================ */

.grid {
  display: grid;
  gap: var(--space-6);
}
.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
}
.grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
}

.card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.card p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin: 0;
}
.card--link {
  text-decoration: none;
  color: inherit;
}
.card--link:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-border);
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  flex: none;
}
.chip--primary {
  background: var(--color-primary-soft);
  color: var(--color-primary);
}
.chip--sun {
  background: var(--color-sun-soft);
  color: var(--color-sun);
}
.chip--agua {
  background: var(--color-agua-soft);
  color: var(--color-agua);
}
.chip--uva {
  background: var(--color-uva-soft);
  color: var(--color-uva);
}

.tag {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  background: var(--color-surface-offset-2);
  color: var(--color-text-muted);
}
.tag--primary {
  background: var(--color-primary-soft);
  color: var(--color-primary);
}
.tag--agua {
  background: var(--color-agua-soft);
  color: var(--color-agua);
}
.tag--uva {
  background: var(--color-uva-soft);
  color: var(--color-uva);
}
.tag--sun {
  background: var(--color-sun-soft);
  color: var(--color-sun);
}

/* Feature: imagem + texto alternado */
.feat {
  display: grid;
  gap: clamp(var(--space-6), 4vw, var(--space-12));
  align-items: center;
}
.feat + .feat {
  margin-top: clamp(var(--space-12), 6vw, var(--space-20));
}
.feat__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.feat__body > * + * {
  margin-top: var(--space-4);
}
@media (min-width: 880px) {
  .feat {
    grid-template-columns: 1fr 1fr;
  }
  .feat--flip .feat__media {
    order: 2;
  }
}

/* Lista de marcadores */
.ticks {
  list-style: none;
  display: grid;
  gap: var(--space-3);
}
.ticks li {
  position: relative;
  padding-left: var(--space-8);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.ticks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  background: var(--color-primary-soft);
  box-shadow: inset 0 0 0 1.5px var(--color-primary);
}
.ticks li::after {
  content: '';
  position: absolute;
  left: 5px;
  top: calc(0.35em + 5px);
  width: 8px;
  height: 4.5px;
  border-left: 2px solid var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  transform: rotate(-45deg);
}

/* Números */
.stats {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.stat__num {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1;
}
.stat__label {
  margin-top: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* Depoimentos */
.quote {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.quote blockquote {
  font-size: var(--text-base);
  line-height: 1.6;
}
.quote figcaption {
  margin-top: auto;
  font-size: var(--text-sm);
  font-weight: 600;
}
.quote figcaption span {
  display: block;
  font-weight: 400;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}
.stars {
  display: flex;
  gap: 3px;
  color: var(--color-sun);
}

/* Galeria */
.gallery {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.gallery figure {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  background: var(--color-surface-offset-2);
}
.gallery img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery figure:hover img {
  transform: scale(1.05);
}
.gallery figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--space-6) var(--space-4) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 600;
  color: #fff;
  background: linear-gradient(to top, rgba(20, 12, 10, 0.85), transparent);
}
.gallery figure.is-wide {
  grid-column: span 1;
}
@media (min-width: 780px) {
  .gallery figure.is-wide {
    grid-column: span 2;
  }
  .gallery figure.is-wide img {
    aspect-ratio: 2 / 1;
  }
}

/* Faixa full-bleed com imagem */
.band {
  position: relative;
  isolation: isolate;
  padding-block: clamp(var(--space-16), 9vw, var(--space-32));
  color: #fff;
  text-align: center;
}
.band img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.band::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, rgba(120, 30, 15, 0.82), rgba(20, 60, 60, 0.72));
}
.band__inner {
  max-width: 620px;
  margin-inline: auto;
}
.band__inner > * + * {
  margin-top: var(--space-5);
}
.band h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
}
.band p {
  color: rgba(255, 255, 255, 0.9);
  margin-inline: auto;
  max-width: 48ch;
}
.band .btn-row {
  justify-content: center;
}
.band .eyebrow {
  color: #bcdcff;
}

/* Passos */
.steps {
  display: grid;
  gap: var(--space-6);
  counter-reset: step;
}
.step {
  position: relative;
  padding: var(--space-6);
  padding-left: var(--space-16);
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: var(--space-5);
  top: var(--space-6);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
}
[data-theme='dark'] .step::before {
  color: #0a1a3f;
}
.step p {
  margin-top: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* Agenda / calendário */
.agenda {
  display: grid;
  gap: var(--space-4);
}
.agenda__item {
  display: grid;
  gap: var(--space-4);
  align-items: start;
  padding: var(--space-5) 0;
  border-top: 1px solid var(--color-divider);
}
.agenda__date {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-primary);
  font-size: var(--text-sm);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.agenda__body > * + * {
  margin-top: var(--space-2);
}
.agenda__body p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
@media (min-width: 700px) {
  .agenda__item {
    grid-template-columns: 150px 1fr;
    gap: var(--space-8);
  }
}

/* Notícias */
.posts {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.post {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
}
.post:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.post img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.post__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-5);
}

/* FAQ */
.faq {
  display: grid;
  gap: var(--space-3);
}
.faq details {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
}
.faq details[open] {
  border-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  cursor: pointer;
  font-weight: 600;
  font-size: var(--text-base);
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '';
  flex: none;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--transition-interactive);
}
.faq details[open] summary::after {
  transform: rotate(-135deg) translateY(-2px);
}
.faq details p {
  margin-top: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* Equipe */
.people {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.person {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.person img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.person__body {
  padding: var(--space-5);
}
.person__body p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-2);
}
.person__role {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
}

/* Formulário */
.form {
  display: grid;
  gap: var(--space-5);
  padding: clamp(var(--space-5), 4vw, var(--space-8));
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.field {
  display: grid;
  gap: var(--space-2);
}
.field label {
  font-size: var(--text-sm);
  font-weight: 600;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface-2);
  font-size: var(--text-sm);
}
.field textarea {
  min-height: 130px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-soft);
  outline: none;
}
.field__hint {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}
.form__row {
  display: grid;
  gap: var(--space-5);
}
@media (min-width: 620px) {
  .form__row {
    grid-template-columns: 1fr 1fr;
  }
}
.form__note {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}
.form__ok {
  display: none;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  background: var(--color-agua-soft);
  color: var(--color-agua);
  font-size: var(--text-sm);
  font-weight: 600;
}
.form__ok[data-visible='true'] {
  display: flex;
}

/* Info de contato */
.info {
  display: grid;
  gap: var(--space-5);
}
.info__item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}
.info__item h3 {
  font-size: var(--text-sm);
  font-weight: 600;
}
.info__item p,
.info__item a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
}
.info__item a:hover {
  color: var(--color-primary);
}

.map {
  border: 0;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  filter: saturate(0.9);
}

/* Tabela de horários */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
}
table.tbl {
  min-width: 520px;
  font-size: var(--text-sm);
}
table.tbl th,
table.tbl td {
  padding: var(--space-4) var(--space-5);
  text-align: left;
  border-bottom: 1px solid var(--color-divider);
}
table.tbl thead th {
  background: var(--color-surface-offset);
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
table.tbl tbody tr:last-child td {
  border-bottom: 0;
}
table.tbl td:first-child {
  font-weight: 600;
}

/* Prose */
.prose > * + * {
  margin-top: var(--space-5);
}
.prose p {
  color: var(--color-text-muted);
}
.prose h2,
.prose h3 {
  color: var(--color-text);
  margin-top: var(--space-10);
}
.prose ul {
  padding-left: var(--space-6);
  color: var(--color-text-muted);
  display: grid;
  gap: var(--space-2);
  font-size: var(--text-sm);
}

/* ============================================================
   Footer
   ============================================================ */

.footer {
  background: var(--color-surface-offset);
  border-top: 1px solid var(--color-divider);
  padding-block: clamp(var(--space-12), 6vw, var(--space-16)) var(--space-8);
}
.footer__grid {
  display: grid;
  gap: var(--space-10);
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.footer h3 {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}
.footer ul {
  list-style: none;
  display: grid;
  gap: var(--space-3);
}
.footer a {
  font-size: var(--text-sm);
  color: var(--color-text);
  text-decoration: none;
}
.footer a:hover {
  color: var(--color-primary);
}
.footer p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.footer__bottom {
  margin-top: var(--space-8);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-divider);
  text-align: center;
}
.footer__bottom p {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

/* WhatsApp flutuante */
.wa {
  position: fixed;
  right: var(--space-4);
  bottom: var(--space-4);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-full);
  background: #0d8d5f;
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
}
.wa:hover {
  transform: translateY(-3px);
  background: #0a7550;
}
.wa .wa__label {
  display: inline;
}
@media (min-width: 620px) {
  .wa span {
    display: inline;
  }
}

/* ============================================================
   Motion
   ============================================================ */

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Avatar com iniciais (equipe) */
.avatar {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  flex: none;
}

/* Bloco de endereço / mapa */
.mapcard {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: var(--space-4);
  min-height: 300px;
  padding: clamp(var(--space-6), 4vw, var(--space-10));
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-divider);
  background:
    radial-gradient(circle at 88% 18%, var(--color-agua-soft) 0 12%, transparent 12.5%),
    radial-gradient(circle at 12% 12%, var(--color-sun-soft) 0 9%, transparent 9.5%),
    repeating-linear-gradient(
      90deg,
      var(--color-divider) 0 1px,
      transparent 1px 46px
    ),
    repeating-linear-gradient(
      0deg,
      var(--color-divider) 0 1px,
      transparent 1px 46px
    ),
    var(--color-surface);
}
.mapcard p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* Ajustes de leitura */
.section-head .h1,
.section-head .h2 { text-wrap: balance; }
.card .h3, .person .h3, .post .h3, .step .h3 { text-wrap: balance; }

/* Espaço para o botão flutuante do WhatsApp */
.footer { padding-bottom: calc(var(--space-8) + 64px); }
@media (max-width: 420px) {
  .wa { padding: var(--space-3); }
  .wa b, .wa strong, .wa .wa__label { display: none; }
}

.person__role { display: block; min-height: 2.2em; }
.mapcard > * { position: relative; z-index: 1; }
.drawer .btn {
  display: flex;
  width: 100%;
  justify-content: center;
  text-align: center;
  padding: var(--space-4) var(--space-6);
  border-bottom: 0;
}
.drawer .btn--primary { color: #fff; }

/* ============================================================
   Identidade oficial: logo, redes sociais e ajustes
   ============================================================ */

/* marca do cabeçalho: ícone oficial do carrossel */
img.brand__mark {
  width: 42px;
  height: auto;
  flex: none;
}
.footer img.brand__mark { width: 38px; }

/* logotipo completo (letras brancas) — só sobre fundo azul */
.footer__brand { max-width: 320px; }
.logo-full {
  display: block;
  width: 100%;
  max-width: 260px;
  height: auto;
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  background: var(--brand-navy);
  margin-bottom: var(--space-5);
}
.footer__brand h3 { margin-top: var(--space-6); }

/* redes sociais */
.social {
  list-style: none;
  display: flex;
  gap: var(--space-3);
  padding: 0;
}
.social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  background: var(--color-surface);
  transition: color var(--transition-interactive),
    border-color var(--transition-interactive),
    background var(--transition-interactive);
}
.social a:hover,
.social a:focus-visible {
  color: #fff;
  background: var(--color-primary);
  border-color: var(--color-primary);
}

/* quinta cor da marca */
.chip--rosa {
  background: var(--color-rosa-soft);
  color: var(--color-rosa);
}
.tag--rosa {
  background: var(--color-rosa-soft);
  color: var(--color-rosa);
}

/* avatares com ícone em vez de iniciais */
.avatar--icon svg {
  width: 26px;
  height: 26px;
}

/* estatísticas com texto (ex.: "7h às 17h30") */
.stat__num {
  font-size: clamp(1.5rem, 1.05rem + 1.5vw, 2.1rem);
  text-wrap: balance;
}
.footer .social {
  display: flex;
  gap: var(--space-3);
}
.footer .social a { color: var(--color-text-muted); }
.footer .social a:hover,
.footer .social a:focus-visible { color: #fff; }
p + .ticks { margin-top: var(--space-5); }
.stars svg { fill: currentColor; stroke: none; width: 18px; height: 18px; }

/* Retrato vertical dentro de uma dobra imagem+texto */
.feat__media--retrato img {
  aspect-ratio: 4 / 5;
  object-position: center 18%;
  max-width: 420px;
}
@media (min-width: 880px) {
  .feat__media--retrato { display: flex; justify-content: center; }
  .feat__media--retrato img { max-width: 460px; }
}
.feat__body .eyebrow { margin-bottom: var(--space-3); }
