/* ======= ESTILOS GERAIS ======= */
body {
  font-family: "Poppins", sans-serif;
  font-weight: 100;
  font-style: normal;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  color: #000000;
  line-height: 1.6;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: static;
  width: auto;
  height: auto;
  background: #A29BFE;
  color: white;
  padding: 10px;
  border-radius: 6px;
  text-decoration: none;
  z-index: 1000;
}

/* ======= HEADER ======= */
header {
  background-color: #ffffff;
  color: #000;
  padding: 20px 50px;
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 4px solid transparent;
  border-image: linear-gradient(90deg, #A29BFE, #F2B5D4, #F5C469);
  border-image-slice: 1;
}

.container-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.title-box {
  text-align: center;
  line-height: 1.4rem;
}

header h1 {
  color: #A29BFE;
  margin: 0;
  font-size: 1.8rem;
}

header .subtitle {
  font-weight: 400;
  margin: 4px 0 0 0;
  font-size: 1rem;
}

/* ======= NAV ======= */
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 25px;
}

nav ul li a {
  color: #000;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: 0.3s;
}

nav ul li a:hover {
  color: #A29BFE;
}

nav ul li a:focus {
  outline: 3px solid #A29BFE;
  outline-offset: 3px;
  border-radius: 5px;
}

/* ======= HERO ======= */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap; /* impede que a imagem vá pra baixo */
  gap: 40px;
  padding: 60px 8%;
}

.hero-image {
  flex: 1 1 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-inner {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Garante alinhamento correto da Jaqueline também */
#banner2.hero {
  flex-direction: row; /* mantém lado a lado */
}

.hero-image img {
  height: 450px;
  width: 500px;
  display: block;
  margin-top: 20px;
  margin-bottom: -96px; /* cola as divs coloridas abaixo */
}

.hero-inner h2 {
  font-size: 2.5rem;
  color: #A29BFE;
  margin: 0;
}

.hero-inner p {
  font-size: 1.2rem;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
}

.hero-actions { 
  display: flex; 
  gap: 15px; 
}

.btn {
  margin-top: 10px;
  background-color: #F2B5D4;
  color: #fff;
  padding: 10px 25px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s;
}  

.btn:hover {
  background-color: #A29BFE;
}

.btn-banner2{
  display: flex;
  align-items: end;
  background-color: #A29BFE;
  color: #fff;
  padding: 10px 25px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s;
}  

.btn-banner2 :hover {
  background-color: #F5C469;
}


/* ===== CARDS TÓPICOS ===== */
#cards-topicos {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  width: 100%;
  margin-top: 0;
  gap: 0;
}

#cards-topicos > div {
  flex: 1;
  text-align: center;
  padding: 100px 20px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ===== CORES ===== */
.cards-topicos-pink {
  background-color: #F2B5D4;
}

.cards-topicos-yellow {
  background-color: #F5C469;
}

.cards-topicos-purple {
  background-color: #A29BFE;
}

/* ===== TÍTULOS E BOTÕES ===== */
#cards-topicos h2 {
  font-size: 1.9rem;
  margin-bottom: 20px;
  font-weight: 600;
}

#cards-topicos .btn {
  padding: 15px 35px;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  color: #fff;
  transition: transform 0.3s, opacity 0.3s;
  align-self: center;
}

#cards-topicos .btn:hover {
  transform: translateY(-4px);
  opacity: 0.9;
}

/* cores individuais dos botões */
#btn-yellow {
  background-color: #F5C469;
}

#btn-purple {
  background-color: #A29BFE;
}

#btn-pink {
  background-color: #F2B5D4;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 900px) {
  .hero {
    flex-direction: column-reverse;
    text-align: center;
    padding: 30px 5%;
  }

  .hero-inner,
  .hero-image {
    flex: 1 1 100%;
  }

  #cards-topicos {
    flex-direction: column;
  }

  #cards-topicos > div {
    width: 100%;
  }
}


/* ======= SEÇÕES GERAIS ======= */
.container {
  background-color: #F2B5D4;
  margin-top: 20px;
  padding: 50px 5% 100px 5%;
}

.container h2 {
  font-size: 2.5rem;
  color: #ffffff;
  text-align: center;
}

.lead {
  font-size: 1.1rem;
  margin-bottom: 25px;
}

.stem-ptitle {
  padding: 0 50px;
  margin-bottom: 50px;
  text-align: center;
  font-family: "Poppins", sans-serif;
  font-weight: 550;
  color: #fff;
}

#stem-info {
  text-align: center;
  margin: 60px auto;
  padding: 0 6%;
}

.section-title {
  font-size: 2rem;
  color: #A29BFE;
  font-weight: 700;
  margin-bottom: 10px;
}

.section-description {
  font-size: 1.1rem;
  color: #333;
  max-width: 700px;
  margin: 0 auto 40px;
}

/* GRID */
.stem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  justify-items: center;
  align-items: start;
  position: relative;
  z-index: 0;
}

/* CARD BASE */
.stem-card {
  width: 200px;
  height: 260px;
  perspective: 1000px;
  cursor: pointer;
  outline: none;
  position: relative;
  z-index: 1;
}

.stem-card:hover,
.stem-card:focus {
  z-index: 5;
}

.stem-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.9s;
  transform-style: preserve-3d;
}

.stem-card:hover .stem-card-inner,
.stem-card:focus .stem-card-inner {
  transform: rotateY(180deg);
}

/* FACE FRENTE E VERSO */
.stem-card-front,
.stem-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  backface-visibility: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 15px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  text-align: center;
}

.stem-card-front img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.stem-card-back {
  transform: rotateY(180deg);
  background-color: #F2B5D4;
  color: rgb(0, 0, 0)
}

.stem-card-back h4 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-weight: 700;
  color: #fff;
}

.stem-card-back p {
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 500;
  color: #fff;
}

/* CORES ALTERNADAS */
.stem-card.amarelo .stem-card-front {
  background-color: #F5C469;
}

.stem-card.roxo .stem-card-front {
  background-color: #A29BFE;
}

/* SOMBRA LEVE E ANIMAÇÃO EXTRA */
.stem-card:hover .stem-card-inner,
.stem-card:focus .stem-card-inner {
  transform: rotateY(180deg) scale(1.05);
}



/* ======= CARDS ======= */

.container2 {
  background-color: #ffffff;
  padding: 50px 5%;
}

.container2 h2 {
  font-size: 2.5rem;
  color: #A29BFE;
  padding-left: 60px;
}

.mulheres-ptitle {
  margin-top: -30px;
  padding: 0px 60px;
  font-family: "Poppins", sans-serif;
  font-weight: 550;
  font-size: 1.1rem;
  color: #000000;
}

hr {
  margin: 60px 0;
  width: 100%;
  height: 2px;
  background-color: #D8D8D8;
  border: 0px;
  border-radius: 2px;
}

#science-title{
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: #F5C469;
  text-align: center;
}

#tech-title{
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: #F2B5D4;
  text-align: center;
}

#eng-title{
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: #A29BFE;
  text-align: center;
}

#math-title{
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: #F5C469;
  text-align: center;
}

.cards-people {
  display: flex;
  flex-direction: column;
}

.people {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}

.pscience {
  padding: 30px;
  height: 165px;
  border-radius: 10px;
  background-color: #F2B5D4;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
}

.ptech {
  padding: 30px;
  height: 165px;
  border-radius: 10px;
  background-color: #A29BFE;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
}


.peng {
  padding: 30px;
  height: 165px;
  border-radius: 10px;
  background-color: #F5C469;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
}

.pmath {
  padding: 30px;
  height: 165px;
  border-radius: 10px;
  background-color: #F2B5D4;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
}

.img-h4 {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cards-people, .img-people  {
  display: block;
  padding: 0 200px;
}

#h4science {
  color: #A29BFE;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
}

#h4tech {
  color: #F5C469;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
}

#h4eng {
  color: #F2B5D4;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
}

#h4math {
  color: #A29BFE;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
}


/* CARDS COMUNIDADES*/
#projetos-subtitle {
  padding: 0px 85px 25px 85px;
  text-align: center;
  font-family: "Poppins", sans-serif;
  font-size: 1.1rem;
  font-weight: 550;
  color: #fff;
}

.cards-grid, .projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 100px;
  padding: 0px 100px;
}

.person, .project-yellow, .project-purple {
  display: flex;
  flex-direction: column;
  justify-content: space-between; 
  height: 100%; 
  padding-bottom: 10px;
}

.person, .project-yellow {
  background: #F5C469;
  padding-bottom: 25px;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.person, .project-purple {
  background: #A29BFE;
  padding-bottom: 25px;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.person img, .project-yellow img, .project-purple img {
  width: 100%;
  height: 350px; 
  object-fit: cover; 
  border-radius: 10px 10px 0 0;
  margin-bottom: 40px;
}

.person h4, .project-yellow h4, .project-purple h4 {
  color: #ffffff;
  margin-top: 10px;
  text-align: center;
  font-size: 1.7rem;
  font-weight: 700;
}

.pcomunidade {
  color: #fff;
  padding: 0px 25px;
  margin-bottom: 10px;
  font-size: 1rem;
  font-weight: 500;
}

.card-link-purple, .card-link-yellow {
  align-self: center; 
  margin-top: auto; 
  padding: 10px 25px;
  border-radius: 10px;
  background-color: #F2B5D4;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: background 0.3s;
}


.card-link-purple:hover {
  background-color: #A29BFE;
}

.card-link-yellow:hover {
  background-color: #F5C469;
} 


/* ======= SOBRE ======= */
.container-sobre {
  padding: 60px 150px;
  background-color: #F2B5D4;
}

#sobre-title1 {
  color: #fff;
  text-align: center;
  font-size: 2.5rem;
}

.sobre-ptitle {
  padding: 0px 350px 25px 350px;
  text-align: center;
  font-family: "Poppins", sans-serif;
  font-size: 1.1rem;
  font-weight: 550;
  color: #fff;
}

.img-h4-sobre {
  margin-left: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#h4sobre {
  color: #A29BFE;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
}

.psobre {
  margin-right: 130px;
  padding: 25px;
  height: 240px;
  border-radius: 10px;
  background-color: #F5C469;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
}


.motto {
  margin: 50px;
  text-align: center;
  font-size: 1rem;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: italic;
  color: #000000;
}

/* ======= FOOTER ======= */
footer {
  background-color: #A29BFE;
  color: white;
  padding: 40px 6%;
  display: flex;
  flex-direction: column;
  gap: 35px;
}

/* container das seções principais */
.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

/* cada bloco/coluna */
.footer-col {
  flex: 1 1 250px;
}

/* títulos e parágrafos */
.title-footer {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 25px;
  color: #F2B5D4;
  text-align: center;
}

.sub-footer {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  margin-top: -20px;
  color: #fff;
  text-align: center;
}

.h4footer {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.pfooter {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 6px;
}

/* subbloco de contato dentro do “Elas movem o futuro” */
.footer-contact {
  margin-top: 35px;
  border-top: 3px solid rgba(255, 255, 255, 0.3);
  padding-top: 5px;
}

/* agrupa os ícones e textos */
.contact-icons {
  display: flex;
  flex-direction: row;
  gap: 25px;
  margin-top: 10px;
}

.contact-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border-radius: 20%;
  padding: 3px;
  transition: background-color 0.5s ease, transform 0.5s ease;
}

/* animação leve ao passar o mouse */
.contact-icons a:hover {
  background-color: #f2b5d485; /* cor de destaque no hover */
  transform: translateY(-2px);
} 

.footer-contact p {
  margin: 4px 0;
  font-size: 0.95rem;
}

/* parte inferior com direitos autorais */
.footer-bottom {
  border-top: 2px solid rgba(255, 255, 255, 0.4);
  padding-top: 12px;
  text-align: center;
  font-size: 1rem;
  font-weight: 400;
  font-style: italic;
}

/* responsividade */
@media (max-width: 800px) {
  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-col {
    flex: none;
    width: 100%;
  }
  .footer-contact {
    border-top: none;
  }
}


/* ======= RESPONSIVIDADE ======= */
@media (max-width: 900px) {
  .hero {
    flex-direction: column-reverse;
    text-align: center;
  }
  .hero-inner, .hero-image {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  nav ul {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
  .hero-inner h2 {
    font-size: 1.6rem;
  }
  .container h2 {
    font-size: 1.5rem;
  }
}


/* === Accessibility v5 styles (appended) === */
:root{--ap-rose:#ff6fb5;--ap-purple:#6c5ce7;--ap-yellow:#ffd166;--ap-white:#fff;--ap-panel-bg:rgba(255,255,255,0.96);--ap-text:#222;--ap-radius:12px;--ap-z:9999;--ap-font-size:100%;--ap-line-height:1.5;}
#acess-btn{position:fixed;right:22px;bottom:22px;background:var(--ap-rose);color:var(--ap-white);border:none;padding:12px 16px;border-radius:999px;box-shadow:0 6px 22px rgba(108,92,231,0.12);cursor:pointer;z-index:var(--ap-z);font-weight:700;display:inline-flex;gap:10px;align-items:center;font-family:inherit;}
#acess-panel { box-sizing: border-box; position:fixed;right:-420px;top:6vh;height:88vh;width:360px;background:var(--ap-panel-bg);color:var(--ap-text);box-shadow:-12px 0 40px rgba(0,0,0,0.12);transition:right 320ms;z-index:calc(var(--ap-z)+1);display:flex;flex-direction:column;border-left:4px solid var(--ap-purple);border-top-left-radius:var(--ap-radius);border-bottom-left-radius:var(--ap-radius);overflow:auto;padding:14px;}
#acess-panel.open { right: 8px !important;}
.ap-header{display:flex;align-items:center;justify-content:space-between;padding-bottom:8px;border-bottom:1px solid rgba(0,0,0,0.06);} .ap-header h2{margin:0;font-size:18px;color:var(--ap-purple);font-weight:800;}
.ap-body{display:flex;flex-direction:column;gap:12px;padding-top:8px;} .section{background:linear-gradient(180deg,#fff,#faf8ff);border-radius:10px;padding:10px;box-shadow:0 6px 18px rgba(108,92,231,0.03);border:1px solid rgba(0,0,0,0.04);} .section h3{margin:0 0 8px 0;font-size:14px;color:#333;font-weight:700;}
.stack{display:flex;flex-direction:column;gap:8px;}
.ap-btn{display:flex;align-items:center;gap:12px;justify-content:flex-start;padding:12px;border-radius:10px;background:var(--ap-purple);color:white;border:none;cursor:pointer;font-weight:700;transition:transform 120ms,background 180ms;text-align:left;}
.ap-btn .label{display:block;font-size:14px;} .ap-btn .desc{font-size:12px;color:rgba(255,255,255,0.95);margin-top:4px;font-weight:600;opacity:0.95;}
.ap-btn[aria-pressed="true"],.ap-btn.active{background:var(--ap-rose);color:white;}
.font-controls{display:flex;gap:8px;margin-top:6px;} .small-btn{padding:8px 10px;border-radius:8px;background:#fff;border:1px solid rgba(0,0,0,0.06);cursor:pointer;font-weight:700;}
.ap-highlighted{background:var(--ap-yellow);box-shadow:0 2px 6px rgba(0,0,0,0.08);padding:2px 0;border-radius:3px;}
#virtual-keyboard{position:fixed;right:22px;bottom:92px;z-index:calc(var(--ap-z)+3);background:rgba(255,255,255,0.98);border-radius:10px;padding:8px;box-shadow:0 10px 30px rgba(0,0,0,0.12);display:none;max-width:420px;}
.vk-key{padding:8px 10px;border-radius:6px;background:var(--ap-purple);color:#fff;cursor:pointer;font-weight:700;min-width:34px;text-align:center;}
body.ap-low-vision{font-size:115%;line-height:1.6;letter-spacing:0.5px;font-weight:600;} body.ap-dyslexia-font{font-family:'OpenDyslexic',Arial,sans-serif!important;}
body.ap-hide-images img{visibility:hidden!important;opacity:0.01!important;pointer-events:none!important;} body.ap-no-animations *{animation-duration:0s!important;transition-duration:0s!important;animation:none!important;transition:none!important;}
.ap-svg{width:22px;height:22px;display:inline-block;vertical-align:middle;flex:0 0 22px;} .ap-btn svg.ap-svg{color:#fff;margin-right:6px;}
@media (max-width:760px){#acess-panel{width:92%;right:-100%;left:4%;top:6vh;} #acess-panel.open{right:auto;left:4%;} #virtual-keyboard{left:4%;right:4%;bottom:140px;} }

/* Ensure content boxes adapt */
.card, .box, .content-box, .section { box-sizing: border-box; min-height: 56px; padding-left:12px; padding-right:12px; overflow-wrap: break-word; }
@media (max-width:480px){ .card, .box, .content-box, .section { padding-left:14px; padding-right:14px; } }
