/* =============================================
   CAIC Júlia Kubitschek de Oliveira
   CSS Principal — style.css
   ============================================= */

/* ---------- Reset e Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:      #2e7d32;
  --green-mid:  #43a047;
  --green-light:#e8f5e9;
  --yellow:     #f9a825;
  --yellow-light:#fffde7;
  --white:      #ffffff;
  --gray-light: #f5f5f5;
  --gray:       #757575;
  --text:       #212121;
  --shadow:     0 2px 12px rgba(0,0,0,.10);
  --radius:     10px;
  --font-head:  'Poppins', sans-serif;
  --font-body:  'Open Sans', sans-serif;
}

html { 
  scroll-behavior: smooth; 
}

#calendario {
  scroll-margin-top: 120px;
}


body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}


a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; border-radius: var(--radius); }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.25; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); color: var(--green); margin-bottom: .75rem; }
h3 { font-size: 1.1rem; margin-bottom: .5rem; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 4rem 0; }
.text-center { text-align: center; }
.section-header { margin-bottom: 2.5rem; }
.section-sub { color: var(--gray); max-width: 560px; margin: .5rem auto 0; }

.label {
  display: inline-block;
  background: var(--yellow-light);
  color: var(--yellow);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .2rem .75rem;
  border-radius: 100px;
  margin-bottom: .5rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: .75rem 1.75rem;
  border-radius: 100px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  transition: all .2s;
  cursor: pointer;
}
.btn-primary { background: var(--yellow); color: var(--text); }
.btn-primary:hover { background: #f57f17; color: #fff; }
.btn-outline { background: transparent; border: 2px solid #fff; color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.15); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: #1b5e20; }
.link-arrow { color: var(--green); font-weight: 600; font-size: .95rem; transition: .2s; }
.link-arrow:hover { color: var(--yellow); }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  background: var(--white);
  box-shadow: var(--shadow);
  z-index: 1000;
  height: 64px;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex; align-items: center; gap: .5rem;
  font-family: var(--font-head); font-size: 1rem; color: var(--green);
}
.brand-icon { font-size: 1.4rem; }
.brand-icon {
  width: 70px;
  height: 70px;
  object-fit: contain;
}
.brand strong { color: var(--green); }
.nav-links { display: flex; gap: 1.75rem; }
.nav-links a {
  font-family: var(--font-head); font-size: .9rem; font-weight: 500;
  color: var(--gray); transition: color .2s; padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover, .nav-links a.active { color: var(--green); border-color: var(--green); }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--green); border-radius: 2px; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 520px;
  display: flex; align-items: center;
  background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 50%, #388e3c 100%);
  margin-top: 64px;
  overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.35);
}
.hero-content {
  position: relative; z-index: 1;
  padding: 4rem 1.25rem;
}
.hero-tag {
  color: var(--yellow); font-size: .85rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; margin-bottom: .75rem;
}
.hero h1 {
  font-size: clamp(1.8rem, 5vw, 3rem); color: #fff; margin-bottom: 1rem;
}
.hero-sub { color: rgba(255,255,255,.9); font-size: 1.15rem; margin-bottom: 2rem; max-width: 480px; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- Page Banner (inner pages) ---------- */
.page-banner {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-mid) 100%);
  padding: 3rem 0 2.5rem;
  margin-top: 64px;
}
.page-banner h1 { color: #fff; font-size: clamp(1.5rem, 4vw, 2.2rem); }
.page-banner p { color: rgba(255,255,255,.85); margin-top: .5rem; }
.breadcrumb { color: rgba(255,255,255,.7); font-size: .85rem; margin-bottom: .5rem; }
.breadcrumb a { color: var(--yellow); }

/* ---------- Apresentação Two-col ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.col-text p { color: var(--gray); margin-bottom: 1rem; }
.col-text h2 { margin-bottom: .75rem; }

/* ---------- Image Placeholder ---------- */
.img-placeholder {
  background: var(--green-light);
  border: 2px dashed var(--green-mid);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 240px; padding: 1.5rem;
  color: var(--green); font-size: .9rem;
}
.img-placeholder span { font-size: 2rem; display: block; margin-bottom: .5rem; }
.img-placeholder small { display: block; color: var(--gray); font-size: .75rem; margin-top: .25rem; }
.img-placeholder.small { min-height: 150px; }

/* ---------- Video ---------- */
.video-section { background: var(--gray-light); }
.video-wrapper { margin-top: 2rem; max-width: 720px; margin-left: auto; margin-right: auto; }
.video-wrapper iframe { width: 100%; max-width: 1000px; height: 400px; border-radius: 16px;}
.video-placeholder {
  background: #000; border-radius: var(--radius);
  min-height: 380px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; color: #fff; gap: 1rem;
}
.video-placeholder span { font-size: 3rem; }
.video-placeholder p { text-align: center; opacity: .8; }

/* ---------- Cards ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.card {
  background: var(--white); border-radius: var(--radius);
  padding: 1.75rem; box-shadow: var(--shadow);
  border-top: 4px solid var(--green);
  transition: transform .2s;
}
.card:hover { transform: translateY(-4px); }
.card-icon { font-size: 2rem; margin-bottom: .75rem; }
.card p { color: var(--gray); font-size: .9rem; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1.25rem; }
.gallery-item { text-align: center; }
.gallery-item p { margin-top: .5rem; font-size: .85rem; color: var(--gray); font-weight: 500; }

/* ---------- Quick Access ---------- */
.acesso-rapido { background: var(--green-light); }
.quick-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; }
.quick-card {
  background: var(--white); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow);
  display: flex; flex-direction: column; align-items: center; text-align: center;
  transition: .2s; border: 2px solid transparent;
}
.quick-card:hover { border-color: var(--green); transform: translateY(-2px); }
.qc-icon { font-size: 2rem; margin-bottom: .5rem; }
.quick-card strong { display: block; color: var(--green); margin-bottom: .25rem; font-family: var(--font-head); }
.quick-card small { color: var(--gray); font-size: .8rem; }

/* ---------- Footer ---------- */
.footer { background: #1b5e20; color: rgba(255,255,255,.85); padding: 3rem 0 0; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; padding-bottom: 2rem; }
.footer-col h4 { color: var(--yellow); font-family: var(--font-head); margin-bottom: .75rem; font-size: .95rem; }
.footer-col p { font-size: .88rem; margin-bottom: .4rem; }
.footer-col ul li { margin-bottom: .4rem; }
.footer-col a { opacity: .8; transition: opacity .2s; font-size: .88rem; }
.footer-col a:hover { opacity: 1; color: var(--yellow); }
.social-links { display: flex; gap: 1rem; margin-top: .75rem; flex-wrap: wrap; }
.social-links a {
  background: rgba(255,255,255,.15); padding: .35rem .8rem;
  border-radius: 100px; font-size: .82rem; transition: .2s;
}
.social-links a:hover { background: var(--yellow); color: var(--text); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  padding: 1.25rem 1.25rem;
  font-size: .8rem; text-align: center; color: rgba(255,255,255,.55);
}

/* ---------- Info Page ---------- */
.info-section { margin-bottom: 3rem; }
.info-section h2 { border-left: 4px solid var(--yellow); padding-left: .75rem; margin-bottom: 1.25rem; }
.comunicado-card {
  background: var(--yellow-light); border-left: 4px solid var(--yellow);
  padding: 1rem 1.25rem; border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 1rem;
}
.comunicado-card .date { font-size: .8rem; color: var(--gray); margin-top: .25rem; }
.horario-table { width: 100%; border-collapse: collapse; }
.horario-table th, .horario-table td {
  padding: .75rem 1rem; text-align: left;
  border-bottom: 1px solid #e0e0e0; font-size: .9rem;
}
.horario-table th { background: var(--green); color: #fff; font-family: var(--font-head); }
.horario-table tr:hover td { background: var(--green-light); }
.cal-month { margin-bottom: 1.5rem; }
.cal-month h4 { color: var(--green); font-family: var(--font-head); margin-bottom: .5rem; font-size: 1rem; }
.cal-event { display: flex; gap: 1rem; align-items: flex-start; padding: .5rem 0; border-bottom: 1px solid #eee; font-size: .9rem; }
.cal-event .dia { min-width: 32px; background: var(--green); color: #fff; border-radius: 6px; text-align: center; font-weight: 700; padding: .1rem .3rem; font-size: .85rem; }
.download-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--green-light); color: var(--green);
  padding: .6rem 1.2rem; border-radius: var(--radius);
  font-weight: 600; font-size: .88rem; margin-top: .5rem; transition: .2s;
  border: 1px solid var(--green);
}
.download-btn:hover { background: var(--green); color: #fff; }

/* ---------- Contato Page ---------- */
.contato-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; align-items: start; }
.contato-info-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; align-items: flex-start; }
.ci-icon {
  font-size: 1.5rem; background: var(--green-light);
  padding: .5rem; border-radius: 8px; flex-shrink: 0;
}
.ci-text strong { display: block; color: var(--green); margin-bottom: .25rem; font-family: var(--font-head); }
.ci-text p, .ci-text a { color: var(--gray); font-size: .9rem; }
.whatsapp-btn {
  display: inline-flex; align-items: center; gap: .75rem;
  background: #25d366; color: #fff;
  padding: .85rem 1.5rem; border-radius: 100px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  margin-top: 1rem; transition: .2s;
}
.whatsapp-btn:hover { background: #128c7e; }
.form-card {
  background: var(--white); border-radius: var(--radius);
  padding: 2rem; box-shadow: var(--shadow);
}
.form-card h3 { color: var(--green); margin-bottom: 1.25rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: .35rem; color: var(--text); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: .7rem .9rem;
  border: 1.5px solid #e0e0e0; border-radius: 8px;
  font-family: var(--font-body); font-size: .9rem; color: var(--text);
  transition: border-color .2s; background: var(--white);
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--green);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.map-wrapper { margin-top: 3rem; }
.map-wrapper iframe { border-radius: var(--radius); width: 100%; height: 340px; border: 0; }

/* ---------- Team Cards ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
.team-card { text-align: center; }
.team-photo {
  width: 100%; height: 180px;
  background: var(--green-light); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; margin-bottom: .75rem;
  border: 2px dashed var(--green-mid);
}
.team-card strong { display: block; font-family: var(--font-head); color: var(--text); }
.team-card span { color: var(--gray); font-size: .85rem; }

/* ---------- MVV ---------- */
.mvv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
.mvv-card {
  padding: 1.75rem; border-radius: var(--radius);
  border-top: 5px solid var(--yellow);
  background: var(--white); box-shadow: var(--shadow);
}
.mvv-card h3 { color: var(--green); margin-bottom: .5rem; }
.mvv-card p, .mvv-card ul { color: var(--gray); font-size: .9rem; }
.mvv-card ul { padding-left: 1.1rem; }
.mvv-card ul li { margin-bottom: .3rem; list-style: disc; }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed; top: 64px; left: 0; right: 0;
    background: var(--white); flex-direction: column;
    padding: 1.5rem; gap: 1rem; box-shadow: var(--shadow);
    transform: translateY(calc(-100% - 64px)); transition: transform .3s;
  }
  .nav-links.open { transform: translateY(0); }
  .two-col { grid-template-columns: 1fr; }
  .contato-grid { grid-template-columns: 1fr; }

   .video-wrapper {
    margin-top: 2rem;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }

    .video-wrapper iframe {
    width: 100%;
    height: 220px;
    border-radius: 16px;
  }

  .hero h1 { font-size: 1.8rem; }
  .hero-btns { flex-direction: column; }
}