:root {
  --bg: #f4f6fa;
  --card: #ffffff;
  --text: #1a1a1a;
  --muted: #5a6a7a;
  --accent: #4f8cff;
  --accent-2: #22d3ee;
  --maxw: 1100px;
  --radius: 16px;
  --shadow: 0 6px 20px rgba(0,0,0,.08);
}

/* Base */
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  display: flex;
  flex-direction: column;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, Noto Sans, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: linear-gradient(180deg, #f4f6fa 0%, #e9eef5 100%);
}
main { flex: 1; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1rem; }

/* Header / Navbar */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(140%) blur(10px);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex; align-items: center; gap: .6rem;
  font-weight: 700; letter-spacing: .2px;
}
.brand .logo {
  width: 36px; height: 36px; border-radius: 12px;
  content:url(images/logodiv.jpg);
}
.links { display: flex; gap: 1rem; align-items: center; }
.links a {
  padding: .55rem .8rem;
  border-radius: 10px;
  color: var(--muted);
  transition: color .2s ease, background .2s ease;
}
.links a:hover { color: var(--text); background: rgba(0,0,0,.06); }

/* Mobile menu */
.menu-btn { display: none; border: 0; background: transparent; color: var(--text); }
.menu-btn svg { width: 28px; height: 28px; }
@media (max-width: 800px) {
  .links { display: none; position: absolute; left: 0; right: 0; top: 64px; padding: .75rem; 
           background: rgba(255,255,255,0.98); border-bottom: 1px solid rgba(0,0,0,.08); flex-direction: column; }
  .links.open { display: flex; }
  .menu-btn { display: block; }
}

/* Hero / Carousel */
.hero {
  margin: 20px auto 0; padding: 0 1rem 1.25rem;
}
.carousel {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 7;
}
.slides { position: relative; height: 100%; }
.slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease;
}
.slide.active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }

/* Controls */
.ctrl {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.2);
  color: #fff; width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; cursor: pointer;
  backdrop-filter: blur(6px);
}
.ctrl:hover { background: rgba(0,0,0,.5); }
.prev { left: 12px; }
.next { right: 12px; }

/* Indicators */
.dots {
  position: absolute; left: 0; right: 0; bottom: 10px;
  display: flex; gap: 8px; justify-content: center; align-items: center;
}
.dot { width: 3px; height: 3px; border-radius: 999px; border: 2px solid rgba(0,0,0,.4);
       background: rgba(0,0,0,.15); cursor: pointer; }
.dot.active { background: var(--accent); border-color: var(--accent); }

/* Content */
.content { margin: 2rem auto; }
.grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(12, 1fr); }
.card {
  grid-column: span 12;
  background: var(--card);
  padding: 1.25rem; border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card h2 { margin: 0 0 .5rem; }
.muted { color: var(--muted); }
@media (min-width: 900px) {
  .card.span-4 { grid-column: span 4; }
  .card.span-8 { grid-column: span 8; }
}

/* Footer */
footer {
  border-top: 1px solid rgba(0,0,0,.08);
  background: rgba(255, 255, 255, 0.95);
  padding: 1.25rem 0; color: var(--muted);
  margin-top: auto;
}
.foot {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  flex-wrap: wrap;
}
.foot a { color: var(--muted); }
.orador-card {
      text-align: center;
    }
    .orador-card img {
      width: 160px;
      height: 160px;
      object-fit: cover;
      border-radius: 50%;
      margin: 0 auto 1rem;
      display: block;
    }
.parceiro-card {
  text-align: center;
  padding: 1rem;
}
.parceiro-card img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  border-radius: 12px;
  margin: 0 auto 1rem;
  display: block;
  background: #fff;
  padding: .5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.contactos {
  display: grid;
  gap: 1.5rem;
}
.contact-card {
  padding: 1rem;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.contact-card h3 {
  margin-bottom: .5rem;
}
.map {
  border: none;
  width: 100%;
  height: 300px;
  border-radius: var(--radius);
}
form {
  display: grid;
  gap: 1rem;
}
label {
  font-weight: 600;
  margin-bottom: .2rem;
  display: block;
}
input, select, textarea {
  width: 100%;
  padding: .6rem .8rem;
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,.2);
  font-size: 1rem;
}
button {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: .8rem 1.2rem;
  border-radius: var(--radius);
  font-size: 1rem;
  cursor: pointer;
  transition: background .2s ease;
}
button:hover {
  background: #3b73d9;
}

