/* ===================================================================
   COMUNIDADE TERRA BOA — igreja de bairro acolhedora
   Pólo LEVE + GENIAL. Off-white dominante, terracota/oliva como acentos.
   Fraunces (display) + Mulish (corpo). Mobile-first.
   =================================================================== */

/* -------------------------------------------------------------------
   TOKENS
   ------------------------------------------------------------------- */
:root {
  /* Paleta terrosa luminosa */
  --areia-off:   #FBF8F2;   /* fundo base, respiro */
  --areia-med:   #E8DECE;   /* seções alternadas, cards */
  --terracota:   #C77D52;   /* acento decorativo (pontos, bordas, ícones) */
  --terracota-d: #A85E36;   /* texto terracota + fundo de CTA/card (AA: branco 4.6:1) */
  --terracota-dd:#8F4E2C;   /* hover de CTA terracota */
  --oliva:       #6B7350;   /* links, botões secundários */
  --oliva-d:     #555C40;   /* hover oliva */
  --tinta:       #3A352E;   /* texto corrido, headlines */
  --pedra:       #6B604E;   /* legendas/secundário (escurecido p/ AA em off-white e areia) */
  --pedra-soft:  #A89B86;   /* bordas suaves */

  /* Tipografia */
  --ff-display: "Fraunces", Georgia, serif;
  --ff-body: "Mulish", system-ui, -apple-system, sans-serif;

  /* Espaçamento fluido */
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --section-y: clamp(3.75rem, 9vw, 7.5rem);
  --maxw: 75rem;          /* ~1200px */
  --maxw-prose: 38rem;

  /* Forma */
  --r-sm: 0.5rem;
  --r-md: 0.875rem;
  --r-lg: 1.25rem;

  /* Sombra macia */
  --shadow-soft: 0 0.0625rem 0.125rem rgba(58, 53, 46, 0.04),
                 0 0.75rem 1.75rem rgba(58, 53, 46, 0.07);
  --shadow-lift: 0 0.0625rem 0.125rem rgba(58, 53, 46, 0.05),
                 0 1.25rem 2.5rem rgba(58, 53, 46, 0.12);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* -------------------------------------------------------------------
   RESET / BASE
   ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--areia-off);
  color: var(--tinta);
  font-family: var(--ff-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, iframe { max-width: 100%; display: block; }
img { height: auto; }

a { color: var(--oliva-d); text-decoration: none; }
a:hover { color: var(--terracota-d); }

h1, h2, h3 {
  font-family: var(--ff-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--tinta);
  margin: 0;
  font-optical-sizing: auto;
}

p { margin: 0; }

:focus-visible {
  outline: 0.1875rem solid var(--terracota);
  outline-offset: 0.1875rem;
  border-radius: 0.25rem;
}

.skip-link {
  position: absolute;
  left: 0.75rem; top: -3.5rem;
  background: var(--tinta);
  color: var(--areia-off);
  padding: 0.625rem 1rem;
  border-radius: var(--r-sm);
  z-index: 200;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0.75rem; color: var(--areia-off); }

/* -------------------------------------------------------------------
   COMPONENTES COMPARTILHADOS
   ------------------------------------------------------------------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--oliva-d);
  margin: 0 0 1rem;
}
.kicker--center { justify-content: center; }
.kicker__dot {
  width: 0.4375rem; height: 0.4375rem;
  border-radius: 50%;
  background: var(--terracota);
  flex: none;
}

.section { padding-block: var(--section-y); }
.section--sand { background: var(--areia-med); }

.section__head {
  max-width: var(--maxw-prose);
  margin-inline: auto;
  padding-inline: var(--gutter);
  text-align: center;
  margin-bottom: clamp(2.25rem, 5vw, 3.5rem);
}
.section__title {
  font-size: clamp(1.85rem, 1.2rem + 3.2vw, 3.1rem);
}
.section__intro {
  margin-top: 1rem;
  color: var(--tinta);
  opacity: 0.82;
  font-size: clamp(1rem, 0.96rem + 0.3vw, 1.125rem);
}

/* Botões */
.btn {
  --bg: var(--terracota);
  --fg: var(--areia-off);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  padding: 0.9375rem 1.5rem;
  border-radius: 999px;
  border: 0.125rem solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease),
              color 0.2s var(--ease), border-color 0.2s var(--ease);
  text-align: center;
}
.btn--lg { padding: 1.0625rem 1.875rem; font-size: 1rem; }

.btn--solid { background: var(--terracota-d); color: var(--areia-off); }
.btn--solid:hover { background: var(--terracota-dd); color: var(--areia-off); transform: scale(1.02); }

.btn--olive { background: var(--oliva); color: var(--areia-off); }
.btn--olive:hover { background: var(--oliva-d); color: var(--areia-off); transform: scale(1.02); }

.btn--ghost {
  background: transparent;
  color: var(--tinta);
  border-color: var(--pedra-soft);
}
.btn--ghost:hover { border-color: var(--terracota); color: var(--terracota-d); transform: scale(1.02); }

/* Marca */
.brand { display: inline-flex; align-items: center; gap: 0.625rem; color: var(--tinta); }
.brand:hover { color: var(--tinta); }
.brand__mark {
  width: 2rem; height: 2rem;
  flex: none;
  border-radius: 999px 999px 999px 0.25rem;
  background:
    radial-gradient(circle at 32% 32%, var(--terracota) 0 38%, transparent 39%),
    linear-gradient(135deg, var(--oliva) 0%, var(--oliva-d) 100%);
  box-shadow: inset 0 0 0 0.0625rem rgba(255,255,255,0.18);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}
.brand__sub {
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pedra);
  font-weight: 600;
}

/* -------------------------------------------------------------------
   TOPBAR / NAV
   ------------------------------------------------------------------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem var(--gutter);
  background: rgba(251, 248, 242, 0.86);
  backdrop-filter: saturate(140%) blur(0.625rem);
  -webkit-backdrop-filter: saturate(140%) blur(0.625rem);
  border-bottom: 0.0625rem solid rgba(168, 155, 134, 0.28);
}

.nav { display: none; }
.topbar__cta { display: none; }

.nav__list {
  list-style: none;
  display: flex;
  gap: 1.6rem;
  margin: 0; padding: 0;
}
.nav__list a {
  position: relative;
  color: var(--tinta);
  font-weight: 600;
  font-size: 0.95rem;
  padding-block: 0.25rem;
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 0.125rem;
  background: var(--terracota);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav__list a:hover { color: var(--terracota-d); }
.nav__list a:hover::after { transform: scaleX(1); }

/* Toggle hambúrguer */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.3125rem;
  width: 2.75rem; height: 2.75rem;
  background: transparent;
  border: 0.0625rem solid var(--pedra-soft);
  border-radius: var(--r-sm);
  cursor: pointer;
}
.nav-toggle__bar {
  display: block;
  width: 1.25rem; height: 0.125rem;
  margin-inline: auto;
  background: var(--tinta);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(0.21875rem) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { transform: translateY(-0.21875rem) rotate(-45deg); }

.nav-mobile {
  position: sticky;
  top: 4.0625rem;
  z-index: 99;
  background: var(--areia-off);
  border-bottom: 0.0625rem solid rgba(168, 155, 134, 0.28);
  padding: 1rem var(--gutter) 1.5rem;
  box-shadow: var(--shadow-soft);
}
.nav-mobile[hidden] { display: none; }
.nav-mobile__list {
  list-style: none;
  margin: 0 0 1rem; padding: 0;
  display: flex; flex-direction: column;
}
.nav-mobile__list a {
  display: block;
  padding: 0.75rem 0;
  font-family: var(--ff-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--tinta);
  border-bottom: 0.0625rem solid rgba(168, 155, 134, 0.22);
}
.nav-mobile__list a:hover { color: var(--terracota-d); }
.nav-mobile__cta { width: 100%; }

/* -------------------------------------------------------------------
   1 · HERO
   ------------------------------------------------------------------- */
.hero {
  padding: clamp(2rem, 6vw, 4rem) var(--gutter) clamp(3rem, 7vw, 5rem);
  display: flex;
  flex-direction: column-reverse;
  gap: clamp(1.75rem, 5vw, 3rem);
  max-width: var(--maxw);
  margin-inline: auto;
}

.hero__title {
  font-size: clamp(2.4rem, 1.4rem + 5.4vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.hero__title .accent {
  display: block;
  color: var(--terracota-d);
  font-style: italic;
  font-weight: 400;
}
.hero__lead {
  margin-top: clamp(1.1rem, 3vw, 1.6rem);
  max-width: 34rem;
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.2rem);
  color: var(--tinta);
  opacity: 0.85;
}

/* Card de horário colado ao topo no mobile */
.next-card {
  margin-top: clamp(1.5rem, 4vw, 2rem);
  background: var(--terracota-d);
  color: var(--areia-off);
  border-radius: var(--r-lg);
  padding: clamp(1.25rem, 4vw, 1.75rem);
  box-shadow: var(--shadow-soft);
}
.next-card__label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 1;
}
.next-card__day {
  font-family: var(--ff-display);
  font-size: clamp(1.6rem, 1.2rem + 2vw, 2.1rem);
  font-weight: 600;
  line-height: 1.05;
  margin-top: 0.25rem;
}
.next-card__meta {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  opacity: 1;
}
.next-card__link {
  margin-top: 1.125rem;
  background: rgba(251, 248, 242, 0.14);
  border-color: rgba(251, 248, 242, 0.55);
  color: var(--areia-off);
}
.next-card__link:hover {
  background: var(--areia-off);
  color: var(--terracota-d);
  border-color: var(--areia-off);
}

.hero__media { margin: 0; }
.hero__media img {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
  object-fit: cover;
  aspect-ratio: 4 / 5;
}
.hero__caption {
  margin-top: 0.625rem;
  font-size: 0.82rem;
  color: var(--pedra);
  font-style: italic;
}

/* -------------------------------------------------------------------
   2 · HORÁRIOS
   ------------------------------------------------------------------- */
.schedule__grid {
  list-style: none;
  margin: 0 auto;
  padding-inline: var(--gutter);
  max-width: var(--maxw);
  display: grid;
  gap: clamp(1rem, 3vw, 1.5rem);
}
.slot {
  background: var(--areia-off);
  border: 0.0625rem solid rgba(168, 155, 134, 0.3);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 4vw, 2rem);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.section--sand .slot { background: var(--areia-off); }
.slot:hover {
  transform: translateY(-0.125rem);
  box-shadow: var(--shadow-lift);
  border-color: var(--terracota);
}
.slot__when {
  display: flex;
  align-items: baseline;
  gap: 0.625rem;
  margin-bottom: 0.75rem;
}
.slot__day {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--oliva-d);
}
.slot__time {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 1.4rem + 1.8vw, 2.4rem);
  font-weight: 600;
  color: var(--terracota-d);
  line-height: 1;
}
.slot__name {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}
.slot__desc { color: var(--tinta); opacity: 0.82; font-size: 0.98rem; }
.slot__tag {
  margin-top: 1rem;
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--oliva-d);
  background: rgba(107, 115, 80, 0.12);
  padding: 0.3125rem 0.75rem;
  border-radius: 999px;
}
.schedule__note {
  max-width: var(--maxw);
  margin: clamp(1.75rem, 4vw, 2.5rem) auto 0;
  padding-inline: var(--gutter);
  text-align: center;
  color: var(--pedra);
  font-size: 0.95rem;
}
.schedule__note a { font-weight: 700; }

/* -------------------------------------------------------------------
   3 · PRIMEIRA VEZ (FAQ / acordeão)
   ------------------------------------------------------------------- */
.faq {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  gap: clamp(0.875rem, 2.5vw, 1.25rem);
}
.faq__item {
  background: var(--areia-off);
  border: 0.0625rem solid rgba(168, 155, 134, 0.32);
  border-radius: var(--r-md);
  padding: 0.25rem clamp(1.125rem, 3vw, 1.5rem);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.faq__item[open] { border-color: var(--terracota); box-shadow: var(--shadow-soft); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
  padding-block: 1.125rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__q {
  font-family: var(--ff-display);
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.4rem);
  font-weight: 500;
  color: var(--tinta);
}
.faq__icon {
  position: relative;
  width: 1.25rem; height: 1.25rem;
  flex: none;
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  background: var(--terracota);
  border-radius: 999px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.faq__icon::before { inset: 0.5rem 0; height: 0.1875rem; }
.faq__icon::after { inset: 0 0.5rem; width: 0.1875rem; }
.faq__item[open] .faq__icon::after { transform: scaleY(0); opacity: 0; }
.faq__a {
  padding: 0 0 1.25rem;
  max-width: 44rem;
  color: var(--tinta);
  opacity: 0.85;
}

/* -------------------------------------------------------------------
   4 · QUEM SOMOS
   ------------------------------------------------------------------- */
.about {
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.about__media { margin: 0; }
.about__media img {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
  object-fit: cover;
  aspect-ratio: 3 / 2;
}
.about__copy { max-width: var(--maxw-prose); }
.about__lead {
  margin-top: 1rem;
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem);
  font-family: var(--ff-display);
  font-weight: 400;
  line-height: 1.4;
  color: var(--tinta);
}
.about__text { margin-top: 1rem; color: var(--tinta); opacity: 0.85; }
.values {
  list-style: none;
  margin: 1.75rem 0 0; padding: 0;
  display: grid;
  gap: 0.75rem;
}
.values__item {
  display: flex;
  align-items: baseline;
  gap: 0.875rem;
  font-weight: 600;
  color: var(--tinta);
  padding-bottom: 0.75rem;
  border-bottom: 0.0625rem solid rgba(168, 155, 134, 0.3);
}
.values__num {
  font-family: var(--ff-display);
  color: var(--terracota-d);
  font-size: 1rem;
  font-weight: 600;
  flex: none;
}

/* -------------------------------------------------------------------
   5 · CÉLULAS / GRUPOS
   ------------------------------------------------------------------- */
.cells__grid {
  list-style: none;
  margin: 0 auto;
  padding-inline: var(--gutter);
  max-width: var(--maxw);
  display: grid;
  gap: clamp(1rem, 3vw, 1.5rem);
}
.cell {
  background: var(--areia-off);
  border: 0.0625rem solid rgba(168, 155, 134, 0.3);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 4vw, 1.875rem);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.cell:hover { transform: translateY(-0.125rem); box-shadow: var(--shadow-lift); }
.cell__hood {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracota-d);
  margin-bottom: 0.5rem;
}
.cell__name { font-size: 1.25rem; }
.cell__meta { margin-top: 0.375rem; font-weight: 600; color: var(--oliva-d); font-size: 0.92rem; }
.cell__desc { margin-top: 0.75rem; color: var(--tinta); opacity: 0.82; font-size: 0.96rem; }
.cells__note {
  max-width: var(--maxw);
  margin: clamp(1.75rem, 4vw, 2.5rem) auto 0;
  padding-inline: var(--gutter);
  text-align: center;
  color: var(--tinta);
  opacity: 0.9;
}
.cells__note a { font-weight: 700; }

/* -------------------------------------------------------------------
   6 · PROJETOS SOCIAIS
   ------------------------------------------------------------------- */
.projects__layout {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
}
.projects__media { margin: 0; }
.projects__media img {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
  object-fit: cover;
  aspect-ratio: 4 / 5;
}
.projects__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.project { padding-bottom: 1.5rem; border-bottom: 0.0625rem solid rgba(168, 155, 134, 0.3); }
.project:last-child { border-bottom: 0; padding-bottom: 0; }
.project__name {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}
.project__desc { color: var(--tinta); opacity: 0.84; font-size: 0.98rem; }
.project__cta-text { font-family: var(--ff-display); font-size: 1.25rem; margin-bottom: 1rem; }

/* -------------------------------------------------------------------
   7 · VISITE / COMO CHEGAR
   ------------------------------------------------------------------- */
.visit {
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.visit__address {
  font-style: normal;
  margin: 1.25rem 0 0;
  display: grid;
  gap: 0.25rem;
}
.visit__line { color: var(--tinta); opacity: 0.82; }
.visit__line--strong {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  font-weight: 500;
  opacity: 1;
}
.visit__facts {
  list-style: none;
  margin: 1.75rem 0 0; padding: 0;
  display: grid;
  gap: 1rem;
}
.visit__fact {
  display: grid;
  gap: 0.1875rem;
  padding-bottom: 1rem;
  border-bottom: 0.0625rem solid rgba(168, 155, 134, 0.32);
}
.visit__fact-k {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--oliva-d);
}
.visit__fact-v { color: var(--tinta); }
.visit__actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}
.visit__media { display: grid; gap: 1.25rem; }
.visit__facade { margin: 0; }
.visit__facade img {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.visit__facade figcaption {
  margin-top: 0.625rem;
  font-size: 0.86rem;
  color: var(--pedra);
  font-style: italic;
}
.visit__map {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 0.0625rem solid rgba(168, 155, 134, 0.3);
}
.visit__map iframe {
  width: 100%;
  height: clamp(14rem, 40vw, 18rem);
  border: 0;
  filter: saturate(0.85) contrast(0.96);
}

/* -------------------------------------------------------------------
   8 · CONVITE FINAL
   ------------------------------------------------------------------- */
.invite { background: var(--tinta); }
.invite__inner {
  max-width: 48rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
  text-align: center;
}
.invite .kicker { color: #C9C0A8; }
.invite__title {
  color: var(--areia-off);
  font-size: clamp(2rem, 1.3rem + 3.6vw, 3.4rem);
  font-style: italic;
  font-weight: 400;
}
.invite__lead {
  margin: 1.25rem auto 0;
  max-width: 34rem;
  color: #E6DFD2;
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.2rem);
}
.invite__actions {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  align-items: center;
}
.invite .btn--ghost {
  color: var(--areia-off);
  border-color: rgba(251, 248, 242, 0.4);
}
.invite .btn--ghost:hover { color: var(--areia-off); border-color: var(--terracota); }
.invite__times {
  list-style: none;
  margin: 2.5rem 0 0; padding: 0;
  display: grid;
  gap: 0.625rem;
  color: #D8D0BF;
  font-size: 0.95rem;
}
.invite__times strong { color: var(--areia-off); }

/* -------------------------------------------------------------------
   9 · RODAPÉ
   ------------------------------------------------------------------- */
.footer {
  background: var(--areia-med);
  padding: clamp(3rem, 7vw, 4.5rem) var(--gutter) 2rem;
  border-top: 0.0625rem solid rgba(168, 155, 134, 0.4);
}
.footer__grid {
  max-width: var(--maxw);
  margin-inline: auto;
  display: grid;
  gap: clamp(2rem, 5vw, 2.5rem);
}
.brand--footer .brand__sub { color: var(--pedra); }
.footer__tag {
  margin-top: 1rem;
  max-width: 22rem;
  font-family: var(--ff-display);
  font-size: 1.15rem;
  color: var(--tinta);
  opacity: 0.85;
}
.footer__h {
  font-family: var(--ff-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--oliva-d);
  margin: 0 0 0.875rem;
}
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.footer__list a { color: var(--tinta); }
.footer__list a:hover { color: var(--terracota-d); }
.footer__addr { font-style: normal; color: var(--tinta); opacity: 0.82; line-height: 1.7; }
.footer__legal {
  max-width: var(--maxw);
  margin: clamp(2.5rem, 6vw, 3.5rem) auto 0;
  padding-top: 1.5rem;
  border-top: 0.0625rem solid rgba(168, 155, 134, 0.4);
  font-size: 0.82rem;
  color: var(--pedra);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: space-between;
}

/* CTA WhatsApp fixo (mobile) */
.float-wa {
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--oliva);
  color: var(--areia-off);
  font-weight: 700;
  padding: 0.9375rem 1.25rem;
  border-radius: 999px;
  box-shadow: var(--shadow-lift);
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease);
}
.float-wa:hover { background: var(--oliva-d); color: var(--areia-off); transform: scale(1.02); }
.float-wa__txt::before { content: "💬 "; }

/* -------------------------------------------------------------------
   REVEAL (motion contido)
   ------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }

/* Stagger leve em grids de cards */
.schedule__grid .slot:nth-child(2),
.cells__grid .cell:nth-child(2),
.projects__list .project:nth-child(2) { transition-delay: 0.08s; }
.schedule__grid .slot:nth-child(3),
.cells__grid .cell:nth-child(3),
.projects__list .project:nth-child(3) { transition-delay: 0.16s; }
.cells__grid .cell:nth-child(4),
.projects__list .project:nth-child(4) { transition-delay: 0.24s; }

/* ===================================================================
   DESKTOP — layouts próprios (não esticados)
   =================================================================== */

/* TABLET intermediário */
@media (min-width: 40rem) {
  .schedule__grid { grid-template-columns: repeat(3, 1fr); }
  .faq { grid-template-columns: 1fr 1fr; }
  .cells__grid { grid-template-columns: 1fr 1fr; }
  .invite__actions { flex-direction: row; justify-content: center; }
  .float-wa { display: none; }
  .footer__legal { font-size: 0.82rem; }
}

/* DESKTOP */
@media (min-width: 60rem) {
  /* Nav completa, esconde hambúrguer */
  .nav { display: block; }
  .topbar__cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .nav-mobile { display: none !important; }

  /* HERO assimétrico: foto ~55% de um lado, copy no espaço negativo */
  .hero {
    flex-direction: row;
    align-items: center;
    gap: clamp(2.5rem, 5vw, 4.5rem);
    padding-block: clamp(3.5rem, 6vw, 6rem);
  }
  .hero__copy { flex: 1 1 44%; }
  .hero__media { flex: 1 1 56%; }
  .hero__media img { aspect-ratio: 4 / 5; max-height: 40rem; }
  .next-card {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 0.75rem 1.5rem;
  }
  .next-card__label { grid-column: 1 / -1; }
  .next-card__link { margin-top: 0; grid-row: 2 / 4; grid-column: 2; align-self: center; }

  /* "Primeira vez": grid editorial de 4 cartões lado a lado */
  .faq { grid-template-columns: repeat(4, 1fr); align-items: start; }
  .faq__item { padding-inline: 1.375rem; }
  .faq__item summary { padding-block: 1.25rem; }

  /* Quem somos: layout revista (imagem larga + texto estreito) */
  .about {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: clamp(3rem, 5vw, 5rem);
  }
  .about__media img { aspect-ratio: 5 / 4; }

  /* Grupos: 3 colunas (4º card quebra na 2ª linha, ok) */
  .cells__grid { grid-template-columns: repeat(3, 1fr); }

  /* Projetos: imagem fixa à esquerda + lista à direita */
  .projects__layout {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
    gap: clamp(2.5rem, 5vw, 4rem);
  }
  .projects__media { position: sticky; top: 6rem; }
  .projects__media img { aspect-ratio: 3 / 4; }

  /* Visite: copy + media lado a lado */
  .visit {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
    gap: clamp(2.5rem, 5vw, 4rem);
  }
  .visit__facts { grid-template-columns: 1fr 1fr; gap: 1rem 1.5rem; }
  .visit__fact:last-child { grid-column: 1 / -1; }

  /* Rodapé: marca larga + 3 colunas de links (evita coluna única vazia) */
  .footer__grid {
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: start;
  }
}

/* Tablet: rodapé em 2 colunas antes do desktop */
@media (min-width: 40rem) and (max-width: 59.99rem) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

/* DESKTOP largo */
@media (min-width: 75rem) {
  .cells__grid { grid-template-columns: repeat(4, 1fr); }
}

/* -------------------------------------------------------------------
   ACESSIBILIDADE — reduz movimento
   ------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}
