/* ============================================================
   CONECTA POÇOS — CSS Global
   ============================================================ */

:root {
  --green-dark:   #1a3320;
  --green-mid:    #2d5c3f;
  --green-light:  #4a8c5c;
  --green-pale:   #e8f5ec;
  --accent:       #f0c040;
  --text-primary: #0d1f14;
  --text-secondary:#4a6352;
  --text-muted:   #7a9885;
  --white:        #ffffff;
  --off-white:    #f7faf8;
  --border:       #cfddd5;
  --shadow:       0 2px 20px rgba(13,31,20,.10);
  --radius:       12px;
  --font-body:    "DM Sans", system-ui, sans-serif;
  --font-heading: "Playfair Display", Georgia, serif;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--green-dark);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.nav-logo {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo span {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  color: rgba(255,255,255,.55);
  letter-spacing: .08em;
  text-transform: uppercase;
  border-left: 1px solid rgba(255,255,255,.2);
  padding-left: 10px;
  margin-left: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  display: block;
  padding: 8px 13px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  border-radius: 8px;
  transition: background .2s, color .2s;
}
.nav-links a:hover,
.nav-links a.active {
  background: rgba(255,255,255,.12);
  color: var(--white);
}
.nav-links a.active { font-weight: 600; }

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--white);
  font-size: 22px;
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--green-dark);
    flex-direction: column;
    gap: 0;
    padding: 8px 16px 16px;
    border-top: 1px solid rgba(255,255,255,.1);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; font-size: 15px; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 60%, #3a7a52 100%);
  overflow: hidden;
  padding: 80px 24px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  color: var(--white);
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 18px;
}
.hero p {
  font-size: 17px;
  color: rgba(255,255,255,.8);
  line-height: 1.6;
  margin-bottom: 32px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.btn-primary { background: var(--white); color: var(--green-dark); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.4); }
.btn-green { background: var(--green-dark); color: var(--white); }
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   SECTIONS & CONTAINERS
   ============================================================ */
.section { padding: 80px 24px; }
.section-alt { background: var(--off-white); }
.container { max-width: 1100px; margin: 0 auto; }
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-light);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.section-label::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--green-light);
  border-radius: 2px;
  display: block;
}
h2.section-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.7;
}

/* ============================================================
   CARDS
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(13,31,20,.12); }
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}
.card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}
.card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 36px;
}
.gallery-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.gallery-item:hover img { transform: scale(1.06); }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.9);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 90vh; border-radius: 8px; }
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: white;
  font-size: 36px;
  cursor: pointer;
  line-height: 1;
}

/* ============================================================
   OBJECTIVES LIST
   ============================================================ */
.objectives { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.obj-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.obj-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green-dark);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.obj-item p { font-size: 15px; color: var(--text-secondary); padding-top: 4px; }

/* ============================================================
   TWO-COL LAYOUT
   ============================================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.two-col.reverse { }
@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--green-dark);
  color: rgba(255,255,255,.7);
  padding: 56px 24px 32px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}
@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}
.footer-brand h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--white);
  margin-bottom: 8px;
}
.footer-brand p { font-size: 13px; line-height: 1.6; max-width: 300px; }
.footer h4 { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 14px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer ul a { font-size: 14px; color: rgba(255,255,255,.7); transition: color .2s; }
.footer ul a:hover { color: var(--white); }
.footer-contact p { font-size: 14px; line-height: 1.7; }
.footer-contact a { color: rgba(255,255,255,.85); }
.footer-bottom {
  max-width: 1100px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-logos { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.5); font-size: 12px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; }

/* ============================================================
   PAGE HERO (smaller, for inner pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 100%);
  padding: 64px 24px;
  text-align: center;
  color: var(--white);
}
.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(26px, 4vw, 42px);
  margin-bottom: 12px;
}
.page-hero p { font-size: 16px; color: rgba(255,255,255,.75); max-width: 560px; margin: 0 auto; }

/* ============================================================
   MEMBROS
   ============================================================ */
.membros-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 28px;
  margin-top: 40px;
}
.membro-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s;
  text-align: center;
}
.membro-card:hover { transform: translateY(-4px); }
.membro-avatar {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--green-pale);
}
.membro-avatar img { width: 100%; height: 100%; object-fit: cover; }
.membro-info { padding: 18px 16px; }
.membro-info h3 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.membro-info p { font-size: 13px; color: var(--text-muted); }

/* ============================================================
   CONTACT STRIP
   ============================================================ */
.contact-strip {
  background: var(--green-pale);
  border-radius: var(--radius);
  padding: 40px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 60px;
}
.contact-strip h3 { font-family: var(--font-heading); font-size: 22px; margin-bottom: 6px; }
.contact-strip p { font-size: 14px; color: var(--text-secondary); }
.contact-info { display: flex; flex-direction: column; gap: 4px; }
.contact-info a { font-size: 15px; color: var(--green-dark); font-weight: 500; }

/* ============================================================
   STAT BAR
   ============================================================ */
.stat-bar {
  background: var(--green-dark);
  color: var(--white);
  padding: 40px 24px;
}
.stat-bar-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  text-align: center;
}
.stat-num { font-family: var(--font-heading); font-size: 36px; font-weight: 600; color: var(--accent); }
.stat-label { font-size: 13px; color: rgba(255,255,255,.65); margin-top: 4px; }

/* ============================================================
   UTIL
   ============================================================ */
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); font-size: 14px; }
