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

:root {
  --black:     #0D0D0D;
  --cream:     #F7F4EE;
  --cream-alt: #EFEAE0;
  --coral:     #CF7A54;
  --blue:      #0D5E87;
  --green:     #72A83A;
  --yellow:    #EECB00;
  --muted:     rgba(13, 13, 13, .7);
  --line:      rgba(13, 13, 13, .1);
  --radius:    36px;
  --gutter:    clamp(20px, 4vw, 48px);
  --nav-h:     68px;
  --shadow-hover: 0 18px 36px rgba(13, 13, 13, .14);
}

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--black);
  background: var(--cream);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--black); text-decoration: none; }
button { font: inherit; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }
::selection { background: var(--yellow); color: var(--black); }

h1, h2, h3, .font-display {
  font-family: 'Archivo Black', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
}

.wrap { position: relative; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }

/* Formas decorativas (quadrados arredondados rotacionados) */
.shape { position: absolute; border-radius: 44px; pointer-events: none; }
.shape--coral  { background: var(--coral); }
.shape--blue   { background: var(--blue); }
.shape--green  { background: var(--green); }
.shape--yellow { background: var(--yellow); }

/* ===== KEYFRAMES ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroSlideFade {
  0%   { opacity: 0; transform: scale(1); }
  8%   { opacity: 1; }
  25%  { opacity: 1; }
  33%  { opacity: 0; transform: scale(1.08); }
  100% { opacity: 0; transform: scale(1.08); }
}

/* ===== SCROLL REVEAL ===== */
.reveal, .reveal-l, .reveal-r {
  opacity: 0;
  transition: opacity .55s ease, transform .55s cubic-bezier(.2,.7,.2,1);
}
.reveal   { transform: translateY(28px); }
.reveal-l { transform: translateX(-40px); }
.reveal-r { transform: translateX(40px); }
.reveal.is-visible, .reveal-l.is-visible, .reveal-r.is-visible { opacity: 1; transform: none; }

.hover-lift { transition: transform .25s, box-shadow .25s; }
.hover-lift:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--nav-h);
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: 1240px;
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; color: var(--black); }
.brand img { width: 36px; height: 36px; object-fit: contain; flex: none; display: block; }
.brand span { font-family: 'Archivo Black', sans-serif; font-size: 15px; letter-spacing: .02em; }

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

.nav__links { position: relative; display: flex; align-items: center; gap: 26px; height: var(--nav-h); list-style: none; }
.nav__links li { display: contents; }
.nav-anchor {
  font-size: 15px;
  font-weight: 500;
  color: var(--black);
  transition: color .2s;
  white-space: nowrap;
}
.nav-anchor:hover, .nav-anchor.active { color: var(--coral); }
.nav__bar {
  position: absolute;
  bottom: 18px;
  height: 2px;
  background: var(--coral);
  opacity: 0;
  transition: left .35s cubic-bezier(.3,.7,.2,1), width .35s cubic-bezier(.3,.7,.2,1), opacity .2s;
}

.nav__pages { display: flex; gap: 10px; }
.nav-page {
  font-size: 14px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1.5px solid rgba(13, 13, 13, .3);
  color: var(--black);
  transition: background .2s, border-color .2s;
  white-space: nowrap;
}
.nav-page:hover { border-color: var(--coral); }
.nav-page.current { background: var(--coral); border-color: var(--coral); }

.nav__menu {
  display: none;
  width: 44px; height: 44px;
  background: none;
  border: 1.5px solid rgba(13, 13, 13, .25);
  border-radius: 999px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav__menu span { width: 18px; height: 2px; background: var(--black); transition: transform .25s, opacity .2s; }
.nav__menu.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__menu.open span:nth-child(2) { opacity: 0; }
.nav__menu.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menu mobile em tela cheia */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  z-index: 49;
  background: var(--cream);
  padding: 28px 20px 32px;
  flex-direction: column;
  overflow: hidden;
}
.nav__mobile.open { display: flex; }
.nav__mobile-links { position: relative; display: flex; flex-direction: column; }
.nav__mobile-links a {
  font-family: 'Archivo Black', sans-serif;
  font-size: 30px;
  text-transform: uppercase;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.nav__mobile-pages { position: relative; display: flex; gap: 10px; margin-top: 28px; }
.nav__mobile-pages .nav-page { flex: 1; min-height: 48px; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.nav__mobile-redes { position: relative; margin-top: auto; display: flex; gap: 18px; font-size: 14px; }
body.menu-open { overflow: hidden; }

/* ===== BOTÕES ===== */
.btn {
  display: inline-block;
  cursor: pointer;
  border-radius: 999px;
  padding: 15px 26px;
  font-size: 16px;
  font-weight: 700;
  border: 2px solid transparent;
  transition: transform .15s, background .2s, color .2s, border-color .2s;
}
.btn--coral { background: var(--coral); border-color: var(--coral); color: var(--black); }
.btn--coral:hover { transform: translateY(-2px); }
.btn--outline { background: transparent; border-color: var(--black); color: var(--black); }
.btn--outline:hover { background: var(--cream-alt); }
.btn--outline-coral { background: transparent; border-color: var(--coral); color: var(--black); }
.btn--outline-coral:hover { background: var(--coral); }
.btn--dark { background: var(--black); border-color: var(--black); color: var(--cream); }
.btn--dark:hover { background: var(--coral); border-color: var(--coral); color: var(--black); }

.badge {
  display: inline-block;
  background: var(--coral);
  color: var(--black);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .14em;
  padding: 7px 12px;
  border-radius: 999px;
  text-transform: uppercase;
}

.link-underline {
  background: none;
  border: 0;
  border-bottom: 2px solid var(--coral);
  padding: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  white-space: nowrap;
}
.link-underline:hover { color: var(--coral); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 108px;
  background: var(--cream-alt);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  opacity: 0;
  animation: heroSlideFade 24s linear infinite;
}
.hero__slide--1 { animation-delay: 0s; }
.hero__slide--2 { animation-delay: 6s; }
.hero__slide--3 { animation-delay: 12s; }
.hero__slide--4 { animation-delay: 18s; }
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(247,244,238,.95) 0%, rgba(247,244,238,.8) 48%, rgba(247,244,238,.15) 100%);
}
.hero__content {
  position: relative;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(72px, 11vh, 120px);
}
.hero__content > * { animation: fadeUp .8s ease both; }
.hero__title {
  font-size: clamp(58px, min(11vw, 15vh), 152px);
  line-height: .88;
  letter-spacing: -.02em;
  margin: 22px 0 0;
  animation-delay: .15s;
}
.hero__title span {
  display: inline-block;
  background: var(--yellow);
  line-height: .9;
  padding: .04em .08em 0;
  margin-top: .08em;
  border-radius: .14em;
}
.hero__sub {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.5;
  max-width: 520px;
  margin: 26px 0 0;
  color: rgba(13, 13, 13, .88);
  animation-delay: .3s;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; animation-delay: .45s; }
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: .14em;
  font-weight: 600;
}
.hero__scroll::after { content: ''; width: 1.5px; height: 28px; background: linear-gradient(var(--coral), transparent); }

/* ===== SEÇÕES ===== */
.section { position: relative; padding: clamp(72px, 10vw, 128px) 0; overflow: hidden; }
.section--alt { background: var(--cream-alt); }

.section__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px 32px;
  margin-bottom: 40px;
}
.eyebrow {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}
.eyebrow--coral { color: var(--coral); }
.eyebrow__sq { display: inline-block; width: 10px; height: 10px; }
.section__title {
  font-size: clamp(40px, 6vw, 72px);
  line-height: .95;
  margin: 12px 0 40px;
}
.section__head .section__title { margin: 0; }

.loading { color: var(--muted); font-style: italic; }

.empty-box {
  border: 2px dashed rgba(13, 13, 13, .18);
  border-radius: var(--radius);
  padding: clamp(36px, 6vw, 64px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.empty-box__shape { width: 44px; height: 44px; border-radius: 44px; transform: rotate(12deg); }
.empty-box__title { font-family: 'Archivo Black', sans-serif; font-size: 26px; text-transform: uppercase; margin-top: 8px; }
.empty-box p { font-size: 16px; line-height: 1.55; color: var(--muted); max-width: 480px; }

/* ===== SOBRE ===== */
.sobre__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.sobre__card {
  height: 100%;
  padding: 32px;
  border-radius: var(--radius);
  min-height: 340px;
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.sobre__card:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(13, 13, 13, .22); }
.sobre__card--dark  { background: var(--black); color: var(--cream); }
.sobre__card--coral { background: var(--coral); color: var(--black); }
.sobre__card--blue  { background: var(--blue);  color: var(--cream); }
.sobre__num { font-family: 'Archivo Black', sans-serif; font-size: 14px; }
.sobre__card--dark .sobre__num { color: var(--coral); }
.sobre__card h3 { font-size: 30px; margin: auto 0 14px; padding-top: 40px; }
.sobre__card p { font-size: 15.5px; line-height: 1.55; }
.sobre__card--dark p { color: rgba(247, 244, 238, .82); }
.valores { display: flex; flex-wrap: wrap; gap: 8px; }
.valores span {
  background: var(--black);
  color: var(--cream);
  font-size: 14px;
  font-weight: 600;
  padding: 7px 11px;
  border-radius: 999px;
}

/* ===== PROGRAMAÇÃO ===== */
.prog__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.prog__card {
  height: 100%;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.prog__card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: rgba(13, 13, 13, .25); }
.prog__local { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.prog__local i { width: 10px; height: 10px; transform: rotate(45deg); flex: none; }
.prog__card h3 { font-size: 22px; margin-top: 18px; }
.prog__dia { font-size: 15px; color: rgba(13, 13, 13, .75); }
.prog__hora { font-family: 'Archivo Black', sans-serif; font-size: 52px; line-height: 1; margin-top: 22px; }
.prog__cta { margin-top: 36px; }

/* ===== AVISOS ===== */
.avisos__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.aviso__card {
  height: 100%;
  background: var(--cream-alt);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.aviso__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.aviso__tint { height: 8px; }
.aviso__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.aviso__body h3 { font-size: 22px; line-height: 1.1; }
.aviso__body p { font-size: 15px; line-height: 1.55; color: rgba(13, 13, 13, .78); }
.aviso__link {
  margin-top: auto;
  padding-top: 8px;
  font-weight: 700;
  font-size: 15px;
  align-self: flex-start;
  border-bottom: 2px solid var(--coral);
}
.aviso__link:hover { color: var(--coral); }

/* ===== CONTATO ===== */
.contato__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(28px, 5vw, 64px);
  align-items: stretch;
}
.contato__grid + .contato__grid { margin-top: clamp(56px, 8vw, 96px); }
.contato__info { display: flex; flex-direction: column; align-items: flex-start; }
.local__title { font-family: 'Archivo Black', sans-serif; font-size: 18px; text-transform: uppercase; }
.local__endereco { margin-top: 10px; font-size: 17px; line-height: 1.55; max-width: 420px; white-space: pre-line; }
.local__telefone { margin-top: 18px; font-size: 15px; color: var(--muted); }
.local__telefone:empty { display: none; }
.contato__info .btn { margin-top: 28px; }
.mapa {
  min-height: 360px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #dcd5c7;
  box-shadow: 12px 12px 0 var(--black);
}
.mapa iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* ===== FOOTER ===== */
.footer { background: var(--cream); border-top: 1px solid var(--line); }
.footer__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 44px var(--gutter) 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.footer__redes { display: flex; flex-wrap: wrap; gap: 10px; }
.footer__redes a {
  border: 1.5px solid rgba(13, 13, 13, .25);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  transition: border-color .2s, color .2s;
}
.footer__redes a:hover { border-color: var(--coral); color: var(--coral); }
.footer__copy {
  flex-basis: 100%;
  font-size: 13px;
  color: rgba(13, 13, 13, .55);
  padding-top: 20px;
  border-top: 1px solid rgba(13, 13, 13, .08);
}

/* ===== HERO INTERNO (células / história) ===== */
.inner-hero {
  position: relative;
  background: var(--cream-alt);
  padding: calc(var(--nav-h) + clamp(56px, 8vw, 104px)) 0 clamp(56px, 8vw, 96px);
  overflow: hidden;
}
.inner-hero h1 { font-size: clamp(52px, 10vw, 128px); line-height: .9; margin: 20px 0 0; }
.inner-hero p {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.5;
  max-width: 560px;
  margin: 22px 0 0;
  color: rgba(13, 13, 13, .85);
}

/* ===== CÉLULAS ===== */
.celulas__wrap { padding: clamp(48px, 7vw, 96px) 0 clamp(72px, 10vw, 128px); }
.celulas__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.celula-card {
  height: 100%;
  background: var(--cream-alt);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.celula-card__head { display: flex; align-items: center; gap: 14px; }
.celula-card__avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  flex: none;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Archivo Black', sans-serif;
  font-size: 22px;
  overflow: hidden;
}
.celula-card__avatar img { width: 100%; height: 100%; object-fit: cover; background: #fff; }
.celula-card__head h3 { font-size: 21px; line-height: 1.05; }
.celula-card__bairro { font-size: 14px; color: rgba(13, 13, 13, .65); margin-top: 4px; }
.celula-card__meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 14px;
  font-size: 14.5px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.celula-card__meta span:nth-child(odd) { color: rgba(13, 13, 13, .55); }
.celula-card__meta span:nth-child(even) { font-weight: 600; }
.celula-card__wpp {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  background: var(--black);
  color: var(--cream);
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  transition: background .2s, color .2s;
}
.celula-card__wpp:hover { background: var(--green); color: var(--black); }
.celula-card__nowpp {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1.5px dashed rgba(13, 13, 13, .25);
  border-radius: 999px;
  font-size: 14px;
  color: rgba(13, 13, 13, .6);
}

/* ===== HISTÓRIA / TIMELINE ===== */
.timeline { padding: clamp(56px, 8vw, 112px) 0; }
.timeline__wrap { position: relative; max-width: 1080px; margin: 0 auto; padding: 0 var(--gutter); }
.timeline__wrap::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: calc(50% - 1px);
  width: 2px;
  background: var(--black);
}
.timeline__list { display: flex; flex-direction: column; gap: clamp(24px, 4vw, 40px); }
.timeline__item {
  position: relative;
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr);
}
.timeline__dot {
  grid-row: 1;
  grid-column: 2;
  justify-self: center;
  margin-top: 26px;
  width: 18px; height: 18px;
  border-radius: 50%;
  transform: rotate(45deg);
  outline: 4px solid var(--cream);
}
.timeline__item > .reveal-l { grid-row: 1; grid-column: 1; }
.timeline__item > .reveal-r { grid-row: 1; grid-column: 3; }
.timeline__card {
  background: var(--cream-alt);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.timeline__card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(13, 13, 13, .12); }
.timeline__photo {
  aspect-ratio: 16 / 9;
  background: repeating-linear-gradient(135deg, rgba(13,13,13,.05) 0 2px, transparent 2px 12px), #d9d1c2;
  display: flex;
  align-items: flex-end;
  padding: 12px;
  font: 500 11px ui-monospace, Menlo, monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(13, 13, 13, .55);
}
.timeline__photo img { width: 100%; height: 100%; object-fit: cover; }
.timeline__body { padding: 22px 24px 24px; }
.timeline__year { font-family: 'Archivo Black', sans-serif; font-size: 30px; line-height: 1; }
.timeline__year span { box-shadow: inset 0 -10px 0 var(--hl, var(--coral)); }
.timeline__title { font-size: 19px; line-height: 1.15; margin: 14px 0 8px; }
.timeline__text { font-size: 15px; line-height: 1.55; color: rgba(13, 13, 13, .78); }

.c-coral  { --hl: var(--coral);  background-color: var(--coral); }
.c-blue   { --hl: var(--blue);   background-color: var(--blue); }
.c-green  { --hl: var(--green);  background-color: var(--green); }
.c-yellow { --hl: var(--yellow); background-color: var(--yellow); }

.gratidao { position: relative; background: var(--yellow); padding: clamp(72px, 10vw, 128px) 0; overflow: hidden; }
.gratidao .wrap { display: flex; flex-direction: column; align-items: flex-start; }
.gratidao h2 { font-size: clamp(48px, 8vw, 104px); line-height: .9; }
.gratidao p {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
  max-width: 600px;
  margin-top: 22px;
  color: rgba(13, 13, 13, .85);
}
.gratidao .btn { margin-top: 32px; }

/* ===== PÁGINAS DE TEXTO (privacidade) ===== */
.legal { padding: clamp(56px, 8vw, 96px) 0; }
.legal .wrap { max-width: 820px; }
.legal h2 { font-size: clamp(24px, 3vw, 32px); line-height: 1.1; margin: 48px 0 0; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { font-size: 17px; line-height: 1.6; color: rgba(13, 13, 13, .85); }
.legal p { margin: 14px 0 0; }
.legal ul { margin: 14px 0 0; padding-left: 22px; }
.legal li + li { margin-top: 8px; }
.legal a { text-decoration: underline; }

/* ===== RESPONSIVO ===== */
@media (max-width: 859px) {
  .nav__links, .nav__pages { display: none; }
  .nav__menu { display: flex; }
  .shape--hide-mobile { display: none; }

  .timeline__wrap::before { left: calc(var(--gutter) + 15px); }
  .timeline__item { grid-template-columns: 32px minmax(0, 1fr); }
  .timeline__dot { grid-column: 1; }
  .timeline__item > .reveal-l,
  .timeline__item > .reveal-r { grid-column: 2; transform: translateX(40px); }
  .timeline__item > .is-visible { transform: none; }
}
