/* =========================================================
   MOBILE.CSS — 
   Breakpoints: 1024px (tablet), 768px (mobile), 480px (mini)
   ========================================================= */

/* -------------------- BASE -------------------- */
html, body {
  min-height: 100%;
  height: auto;
  overflow: auto;
}

/* -------------------- TABLET (<=1024px) -------------------- */
@media (max-width: 1024px) {
  /* NAVBAR */
  .nav { height: 64px; }
  .nav__menu { gap: 22px; }
  .nav__menu a { font-size: 15px; }

  /* HERO */
  .hero-simple { height: 70vh; }
  .hero-simple__logo { margin-top: -100px; max-width: 500px; width: 70%; }

  /* SOBRE */
  .about-simple { height: auto; padding-top: 56px; }
  .about-simple h2 { font-size: 32px; }
  .about-simple__lead { font-size: 15px; padding: 0; }

  /* COMPROMISSO */
  .commitment { padding: 56px 0; }
  .commitment__title { font-size: 48px; }
  .commitment__subtitle { font-size: 22px; }

  .prog-left {
    padding: 65px;
}

  #box_footer_main {
    min-height: 400px;
    padding: 65px;
}
}

/* -------------------- MOBILE (<=768px) -------------------- */
@media (max-width: 768px) {
  .position-center-column-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }


  /* ===== NAVBAR ===== */
  .topbar { padding: 0; }
  .nav, .nav__menu, .nav__logo-slot { display: none !important; }
  .menu-mobile { display: flex; }

  /* ===== HERO ===== */
  .hero-simple {  padding: 40px; }
  .hero-simple__logo { margin-top: -100px; max-width: 380px; width: 80%; }

  /* ===== SOBRE ===== */
  .about-simple { height: auto; padding: 40px; }
  .container {
    padding: 0;
  }
  .about-simple h2 { font-size: 26px; }
  .about-simple__lead { font-size: 16px; line-height: 1.6; }

  /* ===== COMPROMISSO ===== */
  .commitment { padding: 40px 0; text-align: center; }
  .commitment__title { font-size: 34px; }
  .commitment__subtitle { font-size: 18px; margin: 6px 0 0; text-align: center; }

  /* ===== PROGRAMAÇÃO ===== */
  .prog-grid { grid-template-columns: 1fr; min-height: auto; } 
  .prog-right {  height: 280px; }
  .prog-left {  padding: 40px; }
  .prog-copy { gap: 1.25rem; text-align: center; }
  .prog-btn { padding: 12px 18px; border-radius: 10px; }
  .prog-section { align-items: center; }


  /* ===== FOOTER ===== */
  #box_footer_main {
    padding: 40px;
    /* background-position: bottom center;
    background-size: 240px auto, auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: center;
    flex-direction: column; */
  }
  .position-center-column-right {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
  }

  /* #container-text-footer .footer-menu {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
  } */

  /* Coluna esquerda: logo + menu */
  #container-logos-footer img { width: 140px; margin-bottom: 12px; }
  /* #container-text-footer ul {
  
    gap: 10px; 
    margin: 0; 
    padding: 0; 
    list-style: none;
    font: 600 15px/1.4 Poppins, sans-serif;
  } */
  #container-text-footer ul a { color: #783A63; }

  /* Coluna direita: redes sociais */
  #container-text-footer span {
    display: flex; gap: 10px; flex-wrap: wrap; 
    margin-bottom: 50px;
  }
  #container-text-footer span button {
    width: 36px; height: 36px; border-radius: 50%;
    background: #F59BAD; border: none; color: #fff; font-size: 18px; align-items: center;
  }
  .footer-icons{
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;

  }
  .footer-icons button {
    width: 36px; height: 36px; border-radius: 50%;
    background: #F59BAD; border: none; color: #fff; font-size: 18px; align-items: center; justify-content: center;
  }
  .footer-icons icon{
    width: 36px; height: 36px; border-radius: 50%;
    background: #F59BAD; border: none; color: #fff; font-size: 18px; align-items: center; justify-content: center;
  }
  .footer-icons button:hover {
    filter: brightness(0.95);
  }
  
  

  /* Direitos */
  #rights { padding: 30px; text-align: center; }
  #rights small { font-size: 14px; }
  #rights small:first-of-type {
    border-right: none;
}
}

/* -------------------- MINI (<=480px) -------------------- */
@media (max-width: 480px) {
  /* HERO */
  /* .hero-simple { min-height: 60dvh; } */
  .hero-simple__logo { max-width: 280px; width: 85%; margin-top: -120px; }

  /* SOBRE */
  .about-simple h2 { font-size: 25px; }
  .about-simple__lead { font-size: 16px; }

  /* COMPROMISSO */
  .commitment__title { font-size: 28px; }
  .commitment__subtitle { font-size: 15px; }

  /* PROGRAMAÇÃO */
  .prog-section { align-items: center; }
  .prog-right { height: 220px; }
  /* .prog-left { padding: 24px 12px 32px; } */
  .prog-btn { font-size: 14px; }
  .prog-btn img { width: 16px; height: 16px; }


  /* FOOTER */
  #box_footer_main { grid-template-columns: 1fr; text-align: center; }
  #container-logos-footer img { margin: 0 auto; }
  #container-text-footer span { justify-content: center; }
  #rights small { font-size: 13px; }
}

/* =========================================================
   MENU MOBILE
   ========================================================= */
@media (max-width: 768px) {
  .menu-mobile {
    display: flex; flex-direction: column;
    position: sticky; top: 0; left: 0; right: 0;
    z-index: 1000;
  }

  .navbar {
    display: flex; justify-content: space-between; align-items: center;
    background: #DB007A; padding: 20px 40px;
  }
  .logo-mobile { width: 90px; }
  .menu-btn { background: none; border: 0; font-size: 2rem; color: #FCF3EA; }
  .icon-close { display: none; }
  .menu-btn.active .icon-hamburguer { display: none; }
  .menu-btn.active .icon-close { display: inline; }

  .list-mobile {
    background: #FCF3EA; overflow: hidden;
    max-height: 0; transition: max-height .3s ease-in-out;
    border-top: 1px solid #F4E6D9;
    font-family: Poppins, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    text-align: center;
  }
  .menu-mobile ul li { border-bottom: 1px solid #F4E6D9; }
  .menu-mobile ul li a { display: block; padding: 1.25rem; color: #B29B84; }

  .list-mobile.active {
    max-height: calc(100dvh - 56px);
    
    -webkit-overflow-scrolling: touch;
  }
}