/* =========
   Cleaned CSS (only rules used by current index.html)
========= */

:root{
  --bg:#ffffff;
  --bg2:#f6f7fb;
  --text:#0b1220;
  --muted:#465268;
  --line: rgba(11,18,32,.10);
  --shadow-soft: 0 12px 30px rgba(2, 6, 23, .06);
  --radius: 18px;
  --container: 1120px;
  --header-h: 110px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
html, body{ overflow-x: hidden; }

body{
  margin:0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 15% 0%, rgba(37,99,235,.08), transparent 55%),
    radial-gradient(900px 600px at 85% 10%, rgba(34,197,94,.07), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  line-height: 1.65;
}

img, video{ max-width: 100%; }
a{ color: inherit; text-decoration: none; }

a:focus-visible, button:focus-visible{
  outline: 3px solid rgba(37,99,235,.35);
  outline-offset: 3px;
  border-radius: 14px;
}

p{ margin: 0 0 14px; color: var(--muted); }
h1,h2,h3{ margin: 0 0 10px; color: var(--text); letter-spacing: -0.03em; }
h2{ font-size: clamp(22px, 2.2vw, 34px); }
h3{ font-size: 18px; }

.container{
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

/* =========
   Header / Nav
========= */
.site-header{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 1000;
  backdrop-filter: blur(12px);
  background: linear-gradient(to bottom, rgb(33 130 186), rgb(246 247 249 / 18%));
  border-bottom: 2px solid rgb(228 236 251 / 47%);
}

.header-inner{
  height: 100%;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 15px 16px;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 32%);
  font-weight: 800;
  font-size: 15px;
  user-select: none;
}

.btn-signup{
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
  background: #e7a141;
  box-shadow: 0 16px 40px rgba(219, 39, 119, .20);
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.btn-signup:hover{
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.btn-signup:active{
  transform: translateY(0);
}

.nav{
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 32%);
  background: #fff;
  box-shadow: var(--shadow-soft);
  flex-wrap: wrap;

  position: relative;

  overflow: visible;
}

.nav-link{
  padding: 10px 9px;
  border-radius: 15px;
    color: #203876;
    font-weight: 400;
  font-size: 12px;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.nav-link:hover{
  background: #f6b539;
  color: #ffffff;
  box-shadow: #465268 2px;
}
.nav-link.active{
  background: #93b341;
  color: #ffffff;
}


/* =========
   Home icon in nav
========= */
.sr-only{
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-link.nav-home{
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-link.nav-home .icon-home{
  width: 18px;
  height: 18px;
  fill: currentColor;
  display: block;
}

.nav-toggle{
  display:none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(11,18,32,.04);
  cursor:pointer;
}
.nav-toggle-bars{
  display:block;
  width: 18px;
  height: 2px;
  background: #ffffff;
  margin-inline:auto;
  position: relative;
  border-radius: 2px;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after{
  content:"";
  position:absolute;
  left:0;
  width: 18px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
}
.nav-toggle-bars::before{ top: -6px; }
.nav-toggle-bars::after{ top: 6px; }

/* =========
   Hero (video)
========= */
.hero{
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  min-height: 0;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero-bg-video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg-image{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block; /* evita “vão” de inline-img */
}

.hero-bg-picture{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.hero-bg-picture > img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
@media (max-width: 768px){
  .hero-bg-video{
    object-position: 41% 41%;
  }
}

.hero-overlay{
  position:absolute;
  inset:0;

}

.hero-content{
  position:relative;
  padding: 0 0 34px;
  text-align: center;
  color: #fff;
}

/* Centered hero logo */
.hero-center{
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-logo{
  max-width: 750px;
  width: 100%;
  height: auto;
  margin: 20px 0 16px;
}
.hero-center .hero-subtitle{
  max-width: 455px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-size: 17px;
  font-family: 'cursive', 'Plus Jakarta Sans';
}
@media (max-width: 768px){
  .hero-logo{ max-width: 300px; }
}

/* =========
   Sections
========= */
.section{
  padding: 88px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.section-split{ padding: 0; }

.split{
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  margin-top: -11px;
  z-index: 9999;
}

.split-left{
  background: #f6b539;
  align-items: center;
  padding: 40px 10px;
}

.split-inner{
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
  padding-left: 0;
}

@media (min-width: 1024px){
  .split-inner{ padding-left: 38px; }
}

.split-right{
  background: #f6b539;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 24px;
}

.split-photo{
  width: min(520px, 100%);
  border-radius: 22px;
  overflow: hidden;
}
.split-photo img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Responsive split */
@media (max-width: 900px){
  .split{
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .split-left, .split-right{
    padding: 50px 8px;
  }
  .split-right{
    padding-left: 24px;
    padding-right: 24px;
  }
}
.toast-soon{
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(.96);
  background: #7bbd5a;
  color: #ffffff;
  padding: 20px 32px;
  border-radius: 20px;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: .5px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 9999;
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
}

.toast-soon.show{
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.gradient-title{
  font-weight: 500;
  font-family: Righteous;
    font-size: 37px;
    color: #226594;
  line-height: 49px;
  text-align: center;
}

.lead{
    font-size: 18px;
    color: rgb(255 255 255 / 91%);
    text-align: justify;
    line-height: 30px;
    text-indent: 40px;
    font-family: math;
    background: #226594;
    padding: 30px;
    border-radius: 19px;
    hyphens: auto;
}

/* Contact section layout */
.section-inner{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 24px;
  align-items:center;
}
.section-inner.reverse .section-text{ order: 2; }

.info-grid{
  margin-top: 14px;
  display:grid;
  gap: 10px;
}
.info{
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(11,18,32,.10);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow-soft);
}
.info-label{
  display:block;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(11,18,32,.55);
  margin-bottom: 4px;
}
.info-value{ color: rgba(11,18,32,.82); }

.link{
  color:  #226594;
  text-decoration: none;
  border-bottom: 1px solid rgba(37,99,235,.25);
  padding-bottom: 1px;
}
.link:hover{
  border-bottom-color: rgba(37,99,235,.55);
}

/* Avoid long strings causing horizontal scroll */
.section-text, .info-value{
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Responsive general */
@media (max-width: 860px){
  .section-inner{ grid-template-columns: 1fr; }
  .section-inner.reverse .section-text{ order: 1; }
}

/* Mobile nav */
@media (max-width: 760px){
  .nav-toggle{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border: 1px solid #fff;
  }
  .nav{
    position: absolute;
    top: calc(var(--header-h) + 10px);
    right: 24px;
    left: 24px;
    display: none;
    flex-direction: column;
    padding: 10px;
    border-radius: 18px;
    border: 1px solid rgba(11,18,32,.10);
    background: rgb(94 17 68 / 72%);
    box-shadow: 0 20px 70px rgba(2,6,23,.12);
  }
  .nav.open{ display:flex; }
  .nav-link{ width:100%; border-radius: 14px; }
}

/* =========
   Footer
========= */
.footer{
  border-top: 1px solid var(--line);
  padding: 26px 0;
  background: rgba(255,255,255,.92);
}
.footer-inner{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  color: rgba(11,18,32,.68);
  font-size: 14px;
}
.footer-link{
  color: rgba(11,18,32,.76);
  border-bottom: 1px solid rgba(11,18,32,.25);
  padding-bottom: 1px;
}
.footer-link:hover{ border-bottom-color: rgba(11,18,32,.55); }
.footer-sep{ opacity:.5; }

/* =========
   Floating Instagram button
========= */
.floating-ig{
      position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 2000;
    display: inline-flex;
    align-items: center;
    gap: 0px;
    padding: 15px;
    border-radius: 999px;

  color: #fff;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;

  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af, #515bd4);
  box-shadow: 0 18px 45px rgba(0,0,0,.18);
  border: 1px solid rgb(255 255 255 / 72%);

  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}
.floating-ig:hover{
  transform: translateY(-2px);
  filter: brightness(1.02);
  box-shadow: 0 22px 55px rgba(0,0,0,.22);
}
.floating-ig svg{
  width: 20px;
  height: 20px;
  fill: currentColor;
}
@media (max-width: 520px){
  .floating-ig{
    right: 12px;
    bottom: 12px;
    padding: 12px;
  }
  .floating-ig span{ display: none; }
}


/* =========
   Dropdown (Associação)
   Clique para abrir/fechar (mantém aberto até clicar de novo)
========= */
.nav-dropdown{
  position: relative;
}

.nav-dropdown > summary{
  list-style: none;
  cursor: pointer;
}
.nav-dropdown > summary::-webkit-details-marker{
  display: none;
}

/* Submenu com a mesma estética do menu */
.submenu{
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgb(255 255 255 / 32%);
  background:  #2383bc;
  box-shadow: var(--shadow-soft);
  white-space: nowrap;
}

.submenu-link{
  display: block;
  padding: 10px 14px;
  border-radius: 14px;
  color: #ffffff;
  font-weight: 300;
  font-size: 13px;
  transition: background .2s ease, border-color .2s ease;
}
.submenu-link:hover{
  background:  #1c75a9;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

/* ABERTO (clique): mostra submenu */
.nav-dropdown[open] .submenu{
  display: flex;
}

/* Desktop: submenu flutua por cima quando aberto */
@media (min-width: 761px){
  .nav-dropdown[open] .submenu{
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    z-index: 3000;
  }
}

/* Mobile: submenu abre dentro do menu */
@media (max-width: 760px){
  .nav-dropdown{
    width: 100%;
  }
  .nav-dropdown > summary.nav-link{
    width: 100%;
    text-align: left;
    display: block;
  }
  .nav-dropdown[open] .submenu{
    position: static;
    min-width: 100%;
    border-radius: 18px;
    white-space: normal; /* pode quebrar em 2 linhas no celular */
  }
  .submenu-link{ width: 100%; }
}


/* =========
   Mobile full-screen menu (drawer)
========= */
.mobile-drawer{
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: none;
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(6px);
}

.mobile-drawer.open{
  display: block;
}

.mobile-drawer__panel{
  position: absolute;
  inset: 0;
  background: #fff;
  color: #fff;
  padding: 18px;
  overflow-y: auto;
}

.mobile-drawer__header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 4px 14px;
  border-bottom: 1px solid rgba(255,255,255,.18);
}

.mobile-drawer__title{
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .02em;
}

.mobile-drawer__close{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.08);
  color: #fff;
  cursor: pointer;
  font-size: 18px;
}

.mobile-drawer__nav{
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Make copied menu items fill width */
.mobile-drawer__nav .nav-link{
  width: 100%;
  justify-content: flex-start;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
}

/* Dropdown inside drawer: click-to-toggle, fits full width */
.mobile-drawer__nav .nav-dropdown{
  width: 100%;
}
.mobile-drawer__nav .nav-dropdown > summary.nav-link{
  width: 100%;
  text-align: left;
}
.mobile-drawer__nav .nav-dropdown[open] .submenu{
  display: flex;
  position: static;
  min-width: 100%;
  white-space: normal;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: none;
}

/* Prevent body scroll when drawer open */
body.drawer-open{
  overflow: hidden;
}

/* ====== CORES SOMENTE DO MENU MOBILE (DRAWER) ====== */
@media (max-width: 760px){

  /* fundo “por trás” (overlay) */
  .mobile-drawer{
    background: #2384bc9c;
  }

  /* painel do menu (tela cheia) */
  .mobile-drawer__panel{
    background: #2384bca2;  /* <- cor principal do mobile */
    color: #ffffff;
  }

  /* linha do topo do drawer */
  .mobile-drawer__header{
    border-bottom: 1px solid rgba(255,255,255,.14);
  }

  /* botão fechar */
  .mobile-drawer__close{
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.22);
    color: #fff;
  }

  /* itens do menu (Home, Contato etc.) */
  .mobile-drawer__nav .nav-link{
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.16);
    color: #fff;
  }

  .mobile-drawer__nav .nav-link:hover{
    background: rgba(255,255,255,.12);
  }

  /* submenu quando aberto (Associação) */
  .mobile-drawer__nav .nav-dropdown[open] .submenu{
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.16);
    margin-top: 5px;
  }

  .mobile-drawer__nav .submenu-link{
    color: #fff;
  }

  .mobile-drawer__nav .submenu-link:hover{
    background: rgba(255,255,255,.12);
  }
}

/* On mobile, hide the original nav dropdown menu to avoid the "auto-close" bug */
@media (max-width: 760px){
  .site-header .nav{
    display: none !important;
  }
  /* keep hamburger visible */
}


.nav-toggle{ display:inline-flex !important; }
}


/* =========
   Drawer: style cloned header nav items
========= */
.mobile-drawer__nav .nav{
  display:flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.mobile-drawer__nav .nav-link{
  width: 100%;
  justify-content: flex-start;
}
.mobile-drawer__nav .nav-dropdown{ width: 100%; }
.mobile-drawer__nav .nav-dropdown > summary.nav-link{ width:100%; text-align:left; }


/* =========
   Header nav: stable layout + dropdown not clipped
========= */
.site-header{ overflow: visible; }

.nav{
  flex-wrap: nowrap;
  overflow: visible;
}

.nav-toggle{ display:inline-flex !important; }
}


/* ---- Desktop dropdown: float above header without clipping ---- */
@media (min-width: 761px){
  .nav-dropdown{ position: relative; }
  .nav-dropdown[open] .submenu{
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    z-index: 4000;
  }
}


/* ---- Safety: allow nav link labels to render fully ---- */
.nav-link{
  white-space: nowrap;
}


/* =========
   Desktop nav: keep top menu (no drawer) and make it fit when options grow
========= */
@media (max-width: 1280px){
  :root{ --header-h: 128px; } /* allow one wrap line if needed */
  .nav{
    flex-wrap: wrap;
    justify-content: center;
  }
  .nav-link{
    font-size: 12px;
    padding: 9px 16px;
  }
  .btn-signup{
    width: auto;
    padding: 12px 14px;
  }
}

/* Extra tight for smaller desktop/tablet (still no drawer until mobile) */
@media (max-width: 1040px){
  :root{ --header-h: 148px; }
  .nav-link{
    font-size: 13px;
    padding: 8px 14px;
  }
}


/* =========
   Safety: drawer toggle only on mobile
========= */
@media (min-width: 761px){
  .nav-toggle{ display:none !important; }
  .site-header .nav{ display:flex !important; }
}

