:root{
  --bg:#f5f8ff;
  --panel:#ffffff;
  --text:#0b1220;
  --muted:#334155;
  --brand:#1d4ed8;
  --brand2:#60a5fa;
  --border:rgba(2,6,23,.12);
  --shadow: 0 14px 34px rgba(2,6,23,.10);
  --radius:18px;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 500px at 20% 0%, rgba(45,212,191,.18), transparent 60%),
              radial-gradient(900px 500px at 80% 10%, rgba(96,165,250,.18), transparent 60%),
              var(--bg);
  color:var(--text);
  line-height:1.55;
}

a{color:inherit;text-decoration:none}
.container{width:min(1100px, 92%); margin:0 auto}

.site-header{
  position:sticky; top:0; z-index:10;
  background: rgba(11,18,32,.75);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--border);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
}
.brand{display:flex; align-items:center; gap:12px}
.brand-mark{
  display:inline-grid; place-items:center;
  width:42px; height:42px;
  border-radius:14px;
  background: linear-gradient(135deg, rgba(45,212,191,.25), rgba(96,165,250,.25));
  border:1px solid var(--border);
  font-weight:800;
}
.brand-name{font-weight:700}

.nav{display:flex; align-items:center; gap:12px}
.nav-toggle{
  display:none;
  border:1px solid var(--border);
  background: rgba(255,255,255,.06);
  color:var(--text);
  padding:10px 12px;
  border-radius:12px;
}
.nav-links{display:flex; gap:14px; align-items:center}
.nav-links a{
  padding:10px 12px;
  border-radius:12px;
  color:var(--muted);
}
.nav-links a:hover{background: rgba(255,255,255,.06); color:var(--text)}
.nav-links a.active{
  background: rgba(45,212,191,.14);
  color: var(--text);
  border:1px solid var(--border);
}

.hero{padding:52px 0 22px}
.hero-grid{
  display:grid;
  grid-template-columns: 1.3fr .7fr;
  gap:22px;
  align-items:stretch;
}
.hero-copy h1{font-size: clamp(30px, 4vw, 48px); margin:0 0 10px}
.hero-copy p{color:var(--muted); margin:0 0 18px; max-width:58ch}

.hero-actions{display:flex; gap:12px; flex-wrap:wrap; margin:14px 0 18px}
.hero-highlights{
  margin:0; padding:0 0 0 18px; color:var(--muted);
}
.hero-card{display:flex}

.section{padding:40px 0}
.section.alt{
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}
.section.alt.rounded{
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding:26px 0;
}

.lead{color:var(--muted); font-size:1.1rem; max-width:70ch}

.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
  margin-top:16px;
}
.grid-2{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:14px;
  margin-top:18px;
}
.split{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:14px;
  align-items:start;
}

.card{
  background: rgba(17,26,46,.75);
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding:18px;
}
.card h2, .card h3{margin-top:0}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:11px 14px;
  border-radius: 14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-weight:650;
}
.btn:hover{transform: translateY(-1px); background: rgba(255,255,255,.10)}
.btn.primary{
  background: linear-gradient(135deg, rgba(45,212,191,.25), rgba(96,165,250,.25));
}
.btn.full{width:100%}

.text-link{color: var(--brand); font-weight:650}
.text-link:hover{text-decoration:underline}

.list{margin:0; padding-left:18px; color:var(--muted)}
.muted{color:var(--muted)}
.small{font-size:.92rem}

.table-wrap{
  overflow:auto;
  border:1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(15,23,42,.55);
  margin-top:16px;
}
.table{
  width:100%;
  border-collapse: collapse;
  min-width: 720px;
}
.table th, .table td{
  text-align:left;
  padding:12px 12px;
  border-bottom:1px solid var(--border);
}
.table th{color: var(--text); background: rgba(255,255,255,.05)}
.table td{color: var(--muted)}
.table tr:hover td{background: rgba(255,255,255,.03); color: var(--text)}

.callout{
  margin-top:18px;
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding:18px;
  background: linear-gradient(135deg, rgba(45,212,191,.12), rgba(96,165,250,.10));
}

.form{display:grid; gap:12px; margin-top:10px}
label{display:grid; gap:6px; color: var(--text); font-weight:650}
input, textarea{
  width:100%;
  padding:11px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.06);
  color: var(--text);
  outline:none;
}
input::placeholder, textarea::placeholder{color: rgba(168,179,199,.75)}
input:focus, textarea:focus{border-color: rgba(45,212,191,.45)}

.divider{height:1px; background: var(--border); margin:16px 0}

.site-footer{
  border-top:1px solid var(--border);
  padding:18px 0;
  color: var(--muted);
}
.footer-inner{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  flex-wrap:wrap;
}
.footer-links{display:flex; gap:12px}
.footer-links a:hover{color: var(--text)}

/* --- Embeds / media --- */
.media-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
  margin-top:16px;
}

.embed .embed-frame,
.map-frame{
  position:relative;
  width:100%;
  padding-top:56.25%; /* 16:9 */
  border-radius: var(--radius);
  overflow:hidden;
  border:1px solid var(--border);
  background: rgba(0,0,0,.15);
}

.embed iframe,
.map-frame iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}

@media (max-width: 860px){
  .hero-grid, .grid-3, .grid-2, .split{grid-template-columns: 1fr}
  .nav-toggle{display:inline-flex}
  .nav-links{
    display:none;
    position:absolute;
    right:4%;
    top:64px;
    background: rgba(11,18,32,.95);
    border:1px solid var(--border);
    border-radius: 16px;
    padding:10px;
    width:min(320px, 92vw);
    box-shadow: var(--shadow);
    flex-direction:column;
    align-items:stretch;
  }
  .nav-links a{width:100%}
  .nav-links.show{display:flex}

  .media-grid{grid-template-columns: 1fr;}
}


/* Central 32: logo + fotos */
.brand-logo{
  width:auto;
  height:42px;
  border-radius:14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.06);
  padding:6px;
}

.hero{
  background:
    radial-gradient(1200px 500px at 20% 0%, rgba(45,212,191,.18), transparent 60%),
    radial-gradient(900px 500px at 80% 10%, rgba(96,165,250,.18), transparent 60%),
    linear-gradient(180deg, rgba(11,18,32,.35), rgba(11,18,32,.65)),
    url('assets/hero.jpg');
  background-size: cover;
  background-position: center;
}

.photo-strip{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
  margin-top:16px;
}
.photo-strip .photo{
  height: 220px;
  border-radius: var(--radius);
  border:1px solid var(--border);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}
@media (max-width: 860px){
  .photo-strip{grid-template-columns: 1fr}
  .photo-strip .photo{height: 200px}
}


/* ---- Tema branco/azul (Central 32) ---- */
body{
  background: var(--bg);
  color: var(--text);
}

.site-header{
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--border);
}

.brand-name{color: var(--text)}
.brand-logo{
  height:44px;
  width:auto;
  border-radius:14px;
  border:1px solid var(--border);
  background:#fff;
  padding:6px;
}

.nav-links a{color: rgba(11,18,32,.70)}
.nav-links a:hover{background: rgba(29,78,216,.08); color: var(--text)}
.nav-links a.active{
  background: rgba(29,78,216,.10);
  color: var(--text);
  border:1px solid var(--border);
}

/* Hero com foto mais focada */
.hero{
  background:
    linear-gradient(180deg, rgba(255,255,255,.30), rgba(246,249,255,.90)),
    url('assets/hero.jpg');
  background-size: cover;
  background-position: center 35%;
  padding-top: 60px;
}
.hero-copy p, .hero-highlights{color: rgba(11,18,32,.75)}

.card{
  background: rgba(255,255,255,.92);
  border:1px solid var(--border);
  box-shadow: var(--shadow);
}

.btn{
  background: rgba(29,78,216,.08);
  border:1px solid var(--border);
  color: var(--text);
}
.btn.primary{
  background: linear-gradient(135deg, rgba(29,78,216,.18), rgba(96,165,250,.22));
}
.text-link{color: var(--brand)}
.section.alt{
  background: linear-gradient(180deg, rgba(29,78,216,.06), rgba(255,255,255,0));
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}

/* --- Central 32 (blue/white) refresh --- */
body{
  background: var(--bg);
  color: var(--text);
}

/* Header */
.site-header{
  background: linear-gradient(180deg, rgba(29,78,216,.98), rgba(29,78,216,.92));
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.brand-name{color:#fff}
.nav-links a{color:rgba(255,255,255,.92)}
.nav-links a:hover{background: rgba(255,255,255,.12); color:#fff}
.nav-links a.active{
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.20);
  color:#fff;
}
.nav-links a.cta{
  background:#ffffff;
  color: var(--brand);
  border: 1px solid rgba(255,255,255,.35);
}
.nav-links a.cta:hover{filter:brightness(0.98)}
.brand-logo{
  height:44px;
  width:auto;
  border-radius: 14px;
  background:#fff;
  border:1px solid rgba(255,255,255,.35);
  padding:6px;
}

/* Hero */
.c32-hero{
  position:relative;
  min-height: 560px;
  background-image: url('assets/hero.jpg');
  background-size: cover;
  background-position: center 35%;
}
.c32-hero-overlay{
  position:absolute; inset:0;
  background: radial-gradient(900px 420px at 50% 45%, rgba(2,6,23,.25), rgba(2,6,23,.65));
}
.c32-hero-inner{
  position:relative;
  padding: 120px 0 70px;
  text-align:center;
  color:#fff;
}
.c32-hero-inner h1{
  margin:0 0 10px;
  font-size: clamp(34px, 4vw, 56px);
  text-shadow: 0 16px 30px rgba(0,0,0,.35);
}
.c32-hero-sub{
  margin:0 0 22px;
  font-weight: 800;
  letter-spacing: .6px;
  color: rgba(255,255,255,.92);
}
.c32-hero-actions{display:flex; gap:14px; justify-content:center; flex-wrap:wrap}
.btn.ghost{
  background: rgba(255,255,255,.92);
  color: var(--brand);
}
.btn.ghost:hover{background:#fff}

/* Titles */
.c32-title{
  text-align:center;
  font-size: 34px;
  color: var(--brand);
  margin: 0 0 18px;
}

/* Moments grid */
.c32-moments{padding: 44px 0}
.c32-moments-grid{
  display:grid;
  grid-template-columns: .55fr .45fr;
  gap:16px;
  align-items:stretch;
}
.c32-moments-left{display:grid; grid-template-rows: 1fr 1fr; gap:16px}
.c32-photo{
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background-size: cover;
  background-position: center;
  min-height: 220px;
}
.c32-photo.big{min-height: 456px}
.c32-extra-row{margin-top: 16px}
.c32-photo.wide{min-height: 260px}

.section.alt{
  background: transparent;
  border: none;
}
.card{
  background: #fff;
  border:1px solid var(--border);
  box-shadow: var(--shadow);
}

/* Footer readability */
.site-footer{
  background: #0b2a78;
  color: rgba(255,255,255,.90);
}
.site-footer a{color: rgba(255,255,255,.92)}
.site-footer a:hover{color:#fff}

@media (max-width: 900px){
  .c32-moments-grid{grid-template-columns: 1fr}
  .c32-photo.big{min-height: 320px}
  .c32-hero-inner{padding-top: 98px}
}

/* Melhorar contraste dos horários (Escalões) */
.table td, .table th,
.schedule td, .schedule th{
  color: #0b1220 !important;
}

/* --- Correção: Escalões & Horários (sem fundo escuro) --- */
.table-wrap, .schedule-wrap, .table, .schedule{
  background: #ffffff !important;
}
.table th, .schedule th{
  background: rgba(29,78,216,.08) !important; /* azul muito claro */
  color: #0b1220 !important;
}
.table td, .schedule td{
  background: #ffffff !important;
  color: #0b1220 !important;
}
.table tr:nth-child(even) td,
.schedule tr:nth-child(even) td{
  background: rgba(29,78,216,.03) !important;
}


/* Calendário */
.calendar-grid{
  display:grid;
  grid-template-columns:repeat(1,minmax(0,1fr));
  gap:16px;
  margin-top:16px;
}
.calendar-card{
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 10px 30px rgba(0,0,0,.06);
}
.calendar-card img{
  width:100%;
  height:auto;
  display:block;
}
.calendar-card .calendar-meta{
  padding:14px 14px 16px;
}
.calendar-card .calendar-meta h3{
  margin:0 0 6px;
  font-size:1.05rem;
}
.calendar-card .calendar-meta p{
  margin:0;
  color:rgba(0,0,0,.70);
  font-size:.95rem;
}
@media (min-width: 720px){
  .calendar-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (min-width: 1024px){
  .calendar-grid{ grid-template-columns:repeat(3,minmax(0,1fr)); }
}
.lead-signature{
  display:inline-block;
  margin-left:6px;
  font-weight:700;
}


/* Momentos grid */
.momentos-grid{
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.momentos-grid img{
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  box-shadow: 0 8px 22px rgba(0,0,0,0.12);
}
@media (max-width: 980px){
  .momentos-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .momentos-grid img{ height: 200px; }
}
@media (max-width: 560px){
  .momentos-grid{ grid-template-columns: 1fr; }
  .momentos-grid img{ height: 210px; }
}

/* Linha 9 Momentos */
.momentos-grid.linha9{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
}
.momentos-grid.linha9 img{
  width:100%;
  height:220px;
  object-fit:cover;
  border-radius:14px;
}
/* Lightbox */
.lightbox{
  position:fixed; inset:0;
  background:rgba(0,0,0,.8);
  display:none; align-items:center; justify-content:center;
  z-index:9999;
}
.lightbox.open{display:flex;}
.lightbox img{
  max-width:90vw; max-height:85vh;
  border-radius:12px;
}
.lb-close{
  position:absolute; top:20px; right:24px;
  font-size:40px; color:#fff; cursor:pointer;
}


/* Momentos line9 */
.momentos-grid.line9{
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.momentos-grid.line9 .m-line-item{
  display: block;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0,0,0,0.12);
  background: #0b1220;
}
.momentos-grid.line9 img{
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  transition: transform .25s ease, filter .25s ease;
}
.momentos-grid.line9 .m-line-item:hover img{
  transform: scale(1.05);
  filter: saturate(1.05) contrast(1.02);
}
@media (max-width: 980px){
  .momentos-grid.line9{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .momentos-grid.line9 img{ height: 200px; }
}
@media (max-width: 560px){
  .momentos-grid.line9{ grid-template-columns: 1fr; }
  .momentos-grid.line9 img{ height: 210px; }
}

/* Lightbox */
.lightbox{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.82);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 18px;
}
.lightbox.open{ display: flex; }
.lightbox .lb-img{
  max-width: min(1100px, 92vw);
  max-height: 82vh;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  background: #111;
}
.lightbox button{
  position: absolute;
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-size: 30px;
  line-height: 44px;
  cursor: pointer;
  background: rgba(255,255,255,0.14);
  color: #fff;
  transition: transform .15s ease, background .15s ease;
}
.lightbox button:hover{
  transform: scale(1.06);
  background: rgba(255,255,255,0.22);
}
.lightbox .lb-close{ top: 16px; right: 16px; font-size: 34px; }
.lightbox .lb-prev{ left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next{ right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 560px){
  .lightbox .lb-prev, .lightbox .lb-next{ display:none; }
}


/* Metodologia alignment */
.c32-methodology,
.c32-mission{
  align-self: stretch;
}

.c32-methodology{
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}


/* Split responsive */
@media (max-width: 820px){
  .split{ grid-template-columns: 1fr; }
}


/* Facebook link section */
.facebook-more {
    text-align: center;
    margin: 40px 0;
    font-size: 1.1rem;
}

.facebook-link {
    color: #1877f2;
    font-weight: 600;
    text-decoration: none;
}

.facebook-link:hover {
    text-decoration: underline;
}
