:root{
  --green: #0c6a39;
  --green-2: #0a5c32;
  --text: #1b1b1b;
  --muted: #5b5b5b;
  --bg: #ffffff;
  --border: rgba(0,0,0,.08);
  --radius: 18px;
}

/* Base */
*{ box-sizing: border-box; }
html, body{ margin: 0; padding: 0; }
body{
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
body.lightbox-open{ overflow: hidden; }

.zoomable-image{
  cursor: zoom-in;
  transition: transform .25s ease;
}
.zoomable-image:hover{
  transform: scale(1.02);
}

.container{
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

/* Topbar */
.topbar{
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.topbar__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
}
.brand{
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand__logo{
  width: 42px;
  height: 42px;
  border-radius: 999px;
  object-fit: cover;
}

.nav{
  display: flex;
  gap: 22px;
  font-weight: 600;
  font-size: 13px;
}
.nav a{ opacity: .9; }
.nav a:hover{ opacity: 1; }

.social{
  display: flex;
  gap: 10px;
}
.iconBtn{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  background: #fff;
}
.iconBtn svg{
  width: 18px;
  height: 18px;
  fill: var(--green);
}

/* Hero */
.hero{
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  background: #eee;
}
.hero picture{
  display: block;
}
.hero__img{
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Sections */
.section{ padding: 70px 0; }

.twoCol{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 44px;
  align-items: center;
}
.twoCol--reverse{
  grid-template-columns: .9fr 1.1fr;
}

.eyebrow{
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 12px 0;
  color: #2f2f2f;
}
h2{
  margin: 0 0 16px 0;
  font-size: 34px;
  line-height: 1.15;
}
.lead{
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #3a3a3a;
  font-weight: 500;
}
p{
  margin: 12px 0 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: #4a4a4a;
}

/* texto neutro */
.textCard,
.textBlock{
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}
.textBlock{ max-width: 520px; }

/* Fundo só em Sobre e Escolas */
#sobre,
#escolas{
  background-image: url("assets/fundo.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Mosaic */
.imgMosaic{
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 180px;
  gap: 14px;
}
.imgMosaic > div{
  border-radius: var(--radius);
  overflow: hidden;
  border: none;
  background: #f2f2f2;
}
.imgMosaic img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.imgMosaic .m1{
  grid-column: 1 / 3;
  grid-row: 1 / 3;
  min-height: 280px;
}
.imgMosaic .m2{ grid-column: 1 / 2; grid-row: 3 / 4; }
.imgMosaic .m3{ grid-column: 2 / 3; grid-row: 3 / 4; }

/* Botão */
.btn{
  display: inline-block;
  margin-top: 18px;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 12px 16px;
  border-radius: 10px;
  border: 0;
}
.btn:hover{ background: var(--green-2); }
.hint{
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
}

/* “Venha nos visitar” */
.visitSmall{
  background: var(--green);
  padding: 34px 0 40px 0;
}
.visitSmall__title{
  color: #fff;
  text-align: center;
  margin: 0 0 18px 0;
  font-size: 18px;
  font-weight: 800;
}
.visitSmall__grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.visitSmall__grid img{
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 16px;
}

/* 2 fotos grandes */
.visitBig{
  background: var(--green);
  padding: 24px 0 54px 0;
}
.visitBig__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: center;
}
.visitBig__grid img{
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
  border: none;
}

/* Lightbox */
.imageLightbox{
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(12, 12, 12, .45);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease;
}
.imageLightbox.is-open{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.imageLightbox__img{
  width: min(920px, 92vw);
  max-height: 86vh;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 20px 70px rgba(0, 0, 0, .35);
  transform: scale(.96);
  transition: transform .25s ease;
}
.imageLightbox.is-open .imageLightbox__img{
  transform: scale(1);
}
.imageLightbox__close{
  position: fixed;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, .9);
  color: #1f1f1f;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

/* Footer */
.footer{
  background: #343434;
  color: #fff;
  padding: 28px 0 18px 0;
}
.footer__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.footer__title{
  margin: 0 0 10px 0;
  font-weight: 800;
  font-size: 13px;
  color: #fff;
}
.footer a{
  display: block;
  font-size: 13px;
  margin: 8px 0;
  color: #fff;
  opacity: .95;
}
.footer a:hover{
  opacity: 1;
  text-decoration: underline;
}
.footer__line{
  margin: 8px 0;
  font-size: 13px;
  opacity: .95;
  color: #fff;
}
.footer__copy{
  margin-top: 18px;
  opacity: .85;
  color: #fff;
}

/* =========================
   RESPONSIVE
   ========================= */

/* Tablet */
@media (max-width: 920px){
  .twoCol,
  .twoCol--reverse{
    grid-template-columns: 1fr;
  }

  .visitSmall__grid{ grid-template-columns: repeat(2, 1fr); }
  .visitBig__grid{ grid-template-columns: 1fr; }
  .visitBig__grid img{ height: 260px; }
}

/* Mobile */
@media (max-width: 520px){
  .topbar__inner{
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px 0;
    row-gap: 8px;
  }

  .brand{
    justify-content: center;
    width: 100%;
  }

  .nav{
    display: flex;
    gap: 14px;
    font-size: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .social{
    position: absolute;
    right: 16px;
    top: 10px;
  }

  h2{ font-size: 26px; }

  .hero{
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: hidden;
  }
  .hero__img{
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
  }

  .imgMosaic{
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding-bottom: 6px;
  }
  .imgMosaic .m1{
    min-height: 0;
  }
  .imgMosaic .m2,
  .imgMosaic .m3{
    min-height: 0;
  }
  .imgMosaic > div{
    flex: 0 0 85%;
    height: 210px;
    border-radius: 16px;
    overflow: hidden;
    scroll-snap-align: start;
  }
  .imgMosaic img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  .imgMosaic::-webkit-scrollbar{
    display: none;
  }

  .visitSmall__grid img{ height: 110px; }
  .visitBig__grid img{ height: 170px; }

  .twoCol--reverse{
    display: flex;
    flex-direction: column;
  }

  .footer__grid{
    grid-template-columns: 1fr;
    gap: 14px;
  }
}
