/* Reset e Flex no body para footer fixo */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', sans-serif;
  color: var(--text-color);
  background: var(--bg-light);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.text-center {
  text-align: center;
}


/* ——— Seção de Vantagens Parceiro ——— */
.partner-advantages {
  padding: 4rem 0;
}
.partner-advantages h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary-color);
}
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.advantage-card details {
  background: #fff;
  border: 2px solid var(--partner-color);
  border-radius: .75rem;
  padding: 1.5rem;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.advantage-card details[open] {
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
}
.advantage-card summary {
  list-style: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--partner-color);
}
.advantage-card summary::-webkit-details-marker {
  display: none;
}
.advantage-card summary::after {
  content: '+';
  float: right;
  font-weight: bold;
  transition: transform .2s;
}
.advantage-card details[open] summary::after {
  content: '–';
}
.advantage-card p {
  margin-top: .75rem;
  color: #555;
  line-height: 1.5;
}




/* Variáveis de cor e gradiente */
:root {
  --primary-color: #1e3a8a;
  --secondary-color: #facc15;
  --partner-color: #020474;
  --partner-text-color: #ffdb0c; /* cor para parceiros */
  --text-color: #222;
  --bg-light: #f5f5f5;
  --gradient: linear-gradient(135deg, #121f44, #1e3c79, #345c9c);
  --partner-gradient: radial-gradient(circle, #23449c, #1b4291, #07048f); /* gradiente para parceiros */
}

/* Box-sizing global */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Container principal */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 2rem 0;
  flex: 1;
}

/* Header e Navegação */
.header {
  background: var(--gradient);
}
.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  position: relative;
}
.logo-img {
  height: 110px;
  width: auto;
}
.nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}
.nav a {
  color: white;
  text-decoration: none;
  padding: .5rem 1rem;
  border-radius: .375rem;
  transition: background .3s;
}
.nav a:hover,
.nav a.active {
  background: var(--secondary-color);
  color: var(--primary-color);
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
}
.hamburger {
  background: white;
  height: 3px;
  width: 25px;
  border-radius: 2px;
  position: relative;
}
.hamburger::before,
.hamburger::after {
  content: '';
  background: white;
  height: 3px;
  width: 25px;
  border-radius: 2px;
  position: absolute;
  left: 0;
}
.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

/* Hero padrão */
.hero {
  background: var(--gradient);
  color: white;
  text-align: center;
  padding: 5rem 1rem;
}
.hero h1 { font-size: 3rem; margin-bottom: 1rem; animation: fadeIn 1s ease-in; }
.hero p { font-size: 1.25rem; margin-bottom: 1.5rem; animation: fadeIn 1.5s ease-in; }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }

/* Botões */
.btn { display: inline-block; text-decoration: none; padding: .75rem 1.5rem; border-radius: .5rem; font-weight: 700; transition: transform .2s; }
.btn:hover { transform: scale(1.05); }
.primary { background: var(--secondary-color); color: var(--primary-color); border-color: var(--secondary-color); }
.secondary { background: white; color: var(--primary-color); border: 2px solid var(--primary-color); }

/* Cards genéricos */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.card { background: white; border-radius: .75rem; overflow: hidden; box-shadow: 0 6px 12px rgba(0,0,0,.1); transition: transform .3s; }
.card:hover { transform: translateY(-10px); }
.card img { width:100%; height:220px; object-fit:cover; }
.card h3 { padding: 1rem; font-size:1.5rem; }
.card p { padding: 0 1rem 1rem; }

@keyframes slideIn { to { opacity:1; transform: translateY(0); } }
.events h2, .about h2 { margin-bottom:1rem; text-align:center; }
.stats { text-align:center; font-size:1.25rem; margin:2rem 0; }

/* Galeria básica existente */
.gallery { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:1rem; }
.gallery img { width:100%; height:150px; object-fit:cover; border-radius:.5rem; cursor:pointer; transition:transform .3s; }
.gallery img:hover { transform:scale(1.05); }

/* Posições de recorte para galeria */
.pos-top    { object-position: center top; }
.pos-center { object-position: center center; }
.pos-bottom { object-position: center bottom; }

/* Lightbox */
#lightbox {
  position:fixed; top:0; left:0;
  width:100%; height:100%;
  background:rgba(0,0,0,0.8);
  display:none; align-items:center; justify-content:center;
}
#lightbox.active { display:flex; }
#lightbox img { max-width:90%; max-height:90%; border-radius:.5rem; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position:absolute; background:none; border:none;
  color:white; font-size:2rem; cursor:pointer;
}
.lightbox-close { top:1rem; right:1rem; }
.lightbox-prev  { left:1rem; }
.lightbox-next  { right:1rem; }

/* Form Page */
.form-page form { display:flex; flex-direction:column; gap:1rem; background:#fff; padding:2rem; border-radius:.75rem; box-shadow:0 6px 12px rgba(0,0,0,.1); }
.form-page label { font-weight:600; }
.form-page input, .form-page textarea { padding:.75rem; border:1px solid #ccc; border-radius:.375rem; font-size:1rem; }
.form-page input.error, .form-page textarea.error { border-color:red; }

/* Footer */
.footer { background: var(--gradient); color: white; text-align: center; padding: 1rem 0; }


/* Guia de Associação */
.associate-guide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: 4rem 0;
  grid-template-areas: "steps docs";
}

.stepper { border-left: 4px solid var(--secondary-color); padding-left: 2rem; position: relative; }
.step { display:flex; align-items:flex-start; margin-bottom:2.5rem; opacity:0; transform:translateX(-20px); animation:slideIn .6s forwards; }
.step:nth-child(1) { animation-delay:.2s; }
.step:nth-child(2) { animation-delay:.4s; }
.step:nth-child(3) { animation-delay:.6s; }
.step-icon { flex-shrink:0; background:var(--secondary-color); color:var(--primary-color); font-weight:bold; width:2.5rem; height:2.5rem; border-radius:50%; display:flex; align-items:center; justify-content:center; margin-right:1rem; }
.step-content h3 { margin:0 0 .25rem; font-size:1.25rem; color:var(--primary-color); }
.step-content p { margin:0; color:var(--text-color); }

.docs {
  background:#fff;
  padding:2rem;
  border-radius:.75rem;
  box-shadow:0 6px 12px rgba(0,0,0,.1);
  position:relative;
  overflow:hidden;
}
.docs::before {
  content:'';
  position:absolute;
  top:-2rem;
  right:-2rem;
  width:150px;
  height:150px;
  background:var(--gradient);
  border-radius:50%;
  opacity:.2;
}
.docs-list { list-style:none; padding:0; }
.docs-list li {
  position:relative;
  padding-left:2.5rem;
  margin-bottom:1.25rem;
  line-height:1.5;
  transition:transform .2s;
}
.docs-list li::before {
  content:'✓';
  position:absolute;
  left:0;
  top:0;
  color:var(--partner-color);
  font-weight:bold;
}
.docs-list li:hover { transform:translateX(5px); }

/* ——— Novas regras para página de Contato ——— */
.contact-page {
  display: flex;
  justify-content: center;
  padding: 4rem 0;
}
.contact-page .docs {
  max-width: 500px;
  width: 100%;
}

/* --- Analisar os periodos
/* ——— Variações para página de Parceiro ——— */
/* Inverte colunas: documentos à esquerda, etapas à direita */
.partner-page.associate-guide {
  grid-template-areas: "docs steps";
}

/* Botão principal verde para parceiros */
.partner-page .btn.primary {
  background: var(--partner-text-color);
  color: #fff;
  border-color: var(--partner-text-color);
}

/* Ícones dos passos em verde */
.partner-page .step-icon {
  background: var(--partner-text-color);
}

/* Gradiente diferenciado no décor do card */
.partner-page .docs::before {
  background: var(--partner-gradient);
}

/* Hero exclusivo para parceiros */
/* (adicione class="partner-hero" ao <section class="hero"> na página parceiro.html) */
.partner-hero {
  background: var(--partner-gradient) no-repeat center/cover !important;

}

/* ——— Overrides só para .partner-advantages ——— */

/* Borda e marcação dos cards em azul escuro */
.partner-advantages .advantage-card details {
  border-color: #0d3b66;
  margin-top: 2rem;
}

/* Título do summary em azul escuro */
.partner-advantages .advantage-card summary {
  color: #0d3b66;
}

/* Sinal de “+” / “–” também em azul escuro */
.partner-advantages .advantage-card summary::after {
  color: #0d3b66;
}

/* Círculo indicador antes do summary */
.partner-advantages .advantage-card summary::before {
  content: '';
  display: inline-block;
  width: .75rem;
  height: .75rem;
  margin-right: .5rem;
  background: #0d3b66;
  border-radius: 50%;
}

/* Animação de abertura do texto */
.partner-advantages .advantage-card p {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 0.3s ease-out,
    opacity 0.3s ease-out 0.1s;
}

.partner-advantages .advantage-card details[open] p {
  max-height: 200px;
  opacity: 1;
  animation: slideFadeIn 0.4s ease-out;
}

/* Keyframe para slide + fade */
@keyframes slideFadeIn {
  from {
    transform: translateY(-10px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
/* ——— Overrides só para .partner-advantages ——— */

/* Força borda azul escuro e animação de “levantar” ao abrir */
.partner-advantages .advantage-card details {
  border: 2px solid #0d3b66 !important;
  border-radius: .75rem;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.partner-advantages .advantage-card details[open] {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

/* Título do summary em azul escuro e cursor de pointer */
.partner-advantages .advantage-card summary {
  color: #0d3b66 !important;
  cursor: pointer;
  position: relative;
  padding-right: 1.5rem; /* espaço pro ícone */
}

/* Remove marcador padrão do summary */
.partner-advantages .advantage-card summary::-webkit-details-marker {
  display: none;
}

/* Adiciona + / – em azul escuro */
.partner-advantages .advantage-card summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-weight: bold;
  color: #0d3b66;
  transition: transform 0.2s ease;
}
.partner-advantages .advantage-card details[open] summary::after {
  content: '−';
  transform: rotate(0deg);
}

/* Texto interno animado */
.partner-advantages .advantage-card p {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease-out,
    opacity 0.4s ease-out 0.1s;
}

/* Ao abrir, expande e mostra */
.partner-advantages .advantage-card details[open] p {
  max-height: 500px; /* altura suficiente pro seu texto */
  opacity: 1;
}

/* Keyframe leve de slide + fade */
@keyframes slideFadeIn {
  from {
    transform: translateY(-10px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
/* Dispara o keyframe no parágrafo */
.partner-advantages .advantage-card details[open] p {
  animation: slideFadeIn 0.4s ease-out;
}
.social-icon {
  display: inline-block;
  transition: transform 0.3s ease;
}

.social-icon:hover {
  transform: scale(1.15) rotate(5deg);
}


.nav ul {
  display: flex;
  gap: 0.8rem; /* ajustável */
}
.nav li {
  border-left: 1px solid white;
  padding-left: 0.8rem;
}
.nav li:first-child {
  border-left: none;
  padding-left: 0;
}


/* style.css */
.hero-highlights {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
  list-style: none;
  color: white;
}
.hero-highlights li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
}



/* Hero com vídeo de background */
.hero {
  position: relative;
  width: 100%;
  height: 60vh;              /* ajuste conforme quiser */
  min-height: 400px;         /* garante tamanho mínimo */
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: white;
  text-align: center;
  padding-top: 20vh;         /* centraliza verticalmente */
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.hero-content .btn {
  /* mantém seu estilo de botão primário */
}


/* === Override completo do hero para parceiros === */
.partner-hero {
  /* remove qualquer background anterior */
  background: none !important;
  position: relative;
  overflow: hidden;
  height: 60vh;
  min-height: 400px;
}

/* imagem de fundo */
.partner-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url('fotos/galeria6.jpeg') no-repeat center center;
  background-size: cover;
  z-index:-11;
}

/* overlay escuro */
.partner-hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(12, 8, 51, 0.616);
  z-index: -10;
}

/* conteúdo acima de tudo */
.partner-hero .hero-content {
  position: relative;
  z-index: 3;
}


@media (max-width: 768px) {
  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  p, li {
    font-size: 1rem;
  }

  .btn {
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
  }

  .stepper .step-icon {
    font-size: 1.2rem;
    width: 2rem;
    height: 2rem;
  }

  .partner-hero {
    padding: 3rem 1rem 5rem;
  }

  .advantages-grid {
    gap: 1rem;
  }
}




@media (max-width: 768px) {
  
  .container.header-content {
    padding: 0 1.5rem;
  }

  /* 2) Garante que o botão de menu fique centralizado dentro do seu espaço */
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;         /* tamanho do “touch area” */
    height: 3rem;
    margin: 0;           /* zera margens conflitantes */
    margin-right: 1rem;  /* só um pouco de folga no canto */
  }




  .partner-hero {
    padding-bottom: 3rem; /* Cria espaço abaixo do banner no mobile */
  }

  .partner-advantages {
    margin-top: 0; /* Garante que a seção comece normal */
    z-index: 1;
  }

  .partner-hero .btn {
    margin-bottom: 1rem; /* Evita que o botão grude na próxima seção */
    
  }


  .partner-advantages {
    margin-top: 2rem; /* Ajuste o valor conforme achar melhor */
  }

  .associate-guide {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "steps"
      "docs";
    gap: 2rem;      /* opcional */
    padding: 2rem 0;/* opcional */
  }

  /* Força também no partner-page (senao o override desktop reaparece) */
  .partner-page.associate-guide {
    grid-template-areas:
      "steps"
      "docs";
  }
  /* (Opcional) para reforçar, caso use flex em vez de grid: */
  .associate-guide .steps {
    order: 1;
  }
  .associate-guide .docs {
    order: 2;
  }
}


/* === Drawer Lateral === */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: -280px;             /* escondido fora da tela */
  width: 280px;
  height: 100%;
  background: #fff;
  box-shadow: 2px 0 12px rgba(0,0,0,0.2);
  transition: left 0.4s cubic-bezier(.25,.8,.25,1);
  z-index: 200;
  padding-top: 80px;        /* abaixo do header */
}
.mobile-drawer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mobile-drawer li + li {
  margin-top: 1.5rem;
}
.mobile-drawer a {
  display: block;
  text-decoration: none;
  color: var(--primary-color);
  font-size: 1.1rem;
  padding: 0.5rem 1.5rem;
  font-weight: 600;
  transition: background 0.2s;
}
.mobile-drawer a:hover {
  background: var(--bg-light);
}
.mobile-drawer.open {
  left: 0;                  /* desliza para dentro */
}

/* Backdrop semitransparente */
.drawer-backdrop {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 150;
}
.drawer-backdrop.show {
  opacity: 1;
  visibility: visible;
}

/* Esconder nav desktop no mobile */
@media (max-width: 768px) {
  .nav {
    display: none;
  }
  .nav-toggle {
    display: block;  /* botão hamburguer */
  }
}



.mobile-drawer {
  /* substitua o background branco por algo com mais personalidade */
  background: linear-gradient(180deg, #1e3c79 0%, #345c9c 100%);
  color: white;
}
.mobile-drawer a {
  color: white;    /* ajusta a cor dos links */
}
.mobile-drawer a:hover {
  background: rgba(255,255,255,0.1);
}

.drawer-backdrop.show {
  backdrop-filter: blur(6px);  /* desfoca o conteúdo atrás */
  background: rgba(0,0,0,0.3);
}



/* === Itens do drawer com animação em cascata === */
/* Estado inicial: escondidos e deslocados à esquerda */
.mobile-drawer ul li {
  opacity: 0;
  transform: translateX(-20px);
  list-style: none;
}

/* Quando o drawer abrir, cada <li> ganha um delay diferente */
.mobile-drawer.open ul li:nth-child(1) {
  animation: slideInLink 0.4s forwards 0.05s;
}
.mobile-drawer.open ul li:nth-child(2) {
  animation: slideInLink 0.4s forwards 0.15s;
}
.mobile-drawer.open ul li:nth-child(3) {
  animation: slideInLink 0.4s forwards 0.25s;
}
.mobile-drawer.open ul li:nth-child(4) {
  animation: slideInLink 0.4s forwards 0.35s;
}
.mobile-drawer.open ul li:nth-child(5) {
  animation: slideInLink 0.4s forwards 0.45s;
}
.mobile-drawer.open ul li:nth-child(6) {
  animation: slideInLink 0.4s forwards 0.55s;
}

/* Keyframes para o slide + fade-in */
@keyframes slideInLink {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}


/* Garante alinhamento e espaçamento */
.mobile-drawer a {
  display: flex;
  align-items: center;
  gap: 0.75rem;          /* espaço entre ícone e texto */
  padding: 0.5rem 1.5rem;
  font-weight: 600;
}

/* Define o tamanho padrão dos SVGs/icones */
.mobile-drawer .icon,
.mobile-drawer i[data-feather] {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: var(--primary-color); /* cor do traço */
}

/* No hover, muda a coroninha do ícone também */
.mobile-drawer a:hover .icon,
.mobile-drawer a:hover i[data-feather] {
  stroke: var(--secondary-color);
}



.header {
  font-family: 'Poppins', sans-serif;
}
.header a,
.header nav ul li a {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}


.header {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.header nav ul li a:hover {
  color: #074dff; /* amarelo destaque */
  transform: scale(1.05);
  transition: all 0.2s ease;
}





/* Bloco completo de CSS para o vídeo 9:16 com todos os efeitos */
.video-wrapper {
  position: relative;           /* necessário para posicionar ::after, caption e controls */
  width: 80vw;                  /* ocupa 80% da largura da viewport */
  max-width: 360px;             /* nunca maior que 360px */
  aspect-ratio: 9 / 16;         /* força proporção retrato 9:16 */
  margin: 2rem auto;
  border-radius: 16px;
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.video-wrapper:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 32px rgba(0,0,0,0.5);
}

/* Vídeo responsivo preenchendo todo o wrapper */
.video-wrapper video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: brightness(0.85) contrast(1.1);
  transition: filter 0.4s ease;
  z-index: 1;
}
.video-wrapper:hover video {
  filter: brightness(1) contrast(1.2);
}

/* Overlay de degradê na parte inferior */
.video-wrapper::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 30%;
  background: linear-gradient(0deg, rgba(0,0,0,0.6), transparent);
  pointer-events: none;
  z-index: 2;
}

.caption {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  
  /* retira padding e box, usa apenas contorno no texto */
  padding: 0;
  background: transparent;
  text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px 1px 0 #000,
     1px 1px 0 #000;
  
  z-index: 3;
}

/* Controles customizados */
.controls {
  position: absolute;
  bottom: 1rem;
  left: 1rem; right: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 3;
}
.video-wrapper:hover .controls {
  opacity: 1;
}

/* Botão play/pause com degradê */
.btn-play {
  background: linear-gradient(135deg, #ffe45f, #dab706);
  border: none;
  color: #fff;
  font-size: 1.4rem;
  padding: 0.6rem 1rem;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-play:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}

/* Barra de progresso estilizada */
.progress-bar {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.2);
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
}
.progress {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #ffe75f, #fee47b);
  transition: width 0.1s ease;
}

/* Estado “paused” com borda e fundo invertidos */
.video-wrapper.paused {
  border: 4px solid #ffcc00b3;
  background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
}





/* =======================
   Seção de Atividades
   ======================= */

/* Container de cards: usa grid para responsividade */
.activities-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 4rem;
}

/* Estilo base dos cards */
.card {
  background: white;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  cursor: pointer;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.card h3 {
  margin: 0.75rem 1rem 0.25rem 1rem;
  font-size: 1.25rem;
  color: var(--primary-color);
}

.card p {
  margin: 0 1rem 1rem 1rem;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Removido o efeito “bounce”; substituído por leve escala no hover */
.card:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

/* =======================
   Modal (janela flutuante)
   ======================= */

/* Fundo semitransparente ocupando toda a tela */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;           /* inicialmente escondida */
  align-items: center;
  justify-content: center;
  z-index: 500;
}

/* Mostra a modal quando adicionamos a classe .show */
.modal.show {
  display: flex;
}

/* Conteúdo interno da modal */
.modal-content {
  background: white;
  border-radius: 0.75rem;
  max-width: 90%;
  max-height: 90%;
  width: 400px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  position: relative;
  animation: fadeIn 0.3s ease;
}

/* Botão “×” para fechar a modal */
.modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #333;
  cursor: pointer;
  transition: color 0.2s ease;
}
.modal-close:hover {
  color: var(--secondary-color);
}

/* Corpo da modal: imagem, título e descrição */
.modal-body {
  padding: 1rem 1.5rem 2rem 1.5rem;
  text-align: center;
}
.modal-body img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}
.modal-body h3 {
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
  color: var(--primary-color);
}
.modal-body p {
  color: #555;
  font-size: 1rem;
  line-height: 1.5;
}

/* Animação de fade-in interna da modal */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* =======================
   Mobile (ajustes de responsividade)
   ======================= */

@media (max-width: 768px) {
  .activities-page h2 {
    font-size: 1.5rem;
    text-align: center;
  }
  .activities-page {
    padding-bottom: 2rem;
  }
  .card h3 {
    font-size: 1.1rem;
  }
  .card p {
    font-size: 0.9rem;
  }
  .modal-content {
    width: 90%;
  }
}



/* =======================
   Melhorias visuais para ATIVIDADES E MODAL
   ======================= */

/* ======= Cards ======= */
/* Fundo levemente degradê, borda suave e sombra maior */
.activities-cards .card {
  background: linear-gradient(135deg, #ffffff, #f7f9fc);
  border: 1px solid #e0e0e0;
  border-radius: 0.75rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

/* Imagem com canto arredondado apenas no topo do card */
.activities-cards .card img {
  border-top-left-radius: 0.75rem;
  border-top-right-radius: 0.75rem;
}

/* Título e parágrafo com cores mais suaves e espaçamento melhor */
.activities-cards .card h3 {
  margin: 1rem;
  font-size: 1.35rem;
  color: #1e3a8a;
  font-weight: 600;
}

.activities-cards .card p {
  margin: 0 1rem 1rem 1rem;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Hover: leve elevação e escurecimento do degradê */
.activities-cards .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  border-color: #cbd5e1;
  background: linear-gradient(135deg, #f0f4f8, #e2e8f0);
}

/* ======= Modal ======= */
/* Fundo mais escuro e semitransparente */
.modal {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
  transition: opacity 0.3s ease;
}

/* Quando abrir (.show), use transição suave */
.modal.show {
  opacity: 1;
}

/* Conteúdo interno: centralizado, cantos arredondados e sombra forte */
.modal-content {
  background: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
  padding: 1.5rem;
  max-width: 500px;
  width: 90%;
  transform: translateY(-20px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Ao adicionar a classe .show no container .modal, faça a modal-content descer e ficar opaca */
.modal.show .modal-content {
  transform: translateY(0);
  opacity: 1;
}

/* Botão “×” maior, sem background, cor escura e troca de cor no hover */
.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.75rem;
  color: #333;
  cursor: pointer;
  transition: color 0.2s ease;
}
.modal-close:hover {
  color: #1e3a8a;
}

/* Imagem dentro da modal com bordas arredondadas e sombra interna leve */
.modal-body img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: inset 0 0 8px rgba(0,0,0,0.08);
  margin-bottom: 1rem;
}

/* Título da modal maior e cor de destaque */
.modal-body h3 {
  margin-bottom: 0.5rem;
  font-size: 1.6rem;
  color: #1e3a8a;
  font-weight: 600;
}

/* Parágrafo da modal com espaçamento e cor sutil */
.modal-body p {
  color: #444;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* ===== Responsividade ===== */
@media (max-width: 768px) {
  /* Ajuste no título principal das atividades */
  .activities-page h2 {
    font-size: 1.5rem;
    text-align: center;
    margin-top: 1rem;
    color: #1e3a8a;
  }

  /* Cards um pouco mais compactos no mobile */
  .activities-cards .card {
    border-radius: 0.5rem;
  }
  .activities-cards .card h3 {
    font-size: 1.2rem;
  }
  .activities-cards .card p {
    font-size: 0.9rem;
  }

  /* Modal ocupa quase toda a largura no mobile, com padding interno maior */
  .modal-content {
    width: 95%;
    padding: 1rem;
  }
  .modal-body h3 {
    font-size: 1.3rem;
  }
  .modal-body p {
    font-size: 0.95rem;
  }
}

.modal-body img {
  max-width: 100%;      /* ocupa no máximo 100% da largura interna da modal */
  height: auto;
  width: auto;
  /* ... restante dos estilos ... */
}






/* =======================
   Modal (janela flutuante) – ajuste para scroll interno e largura maior
   ======================= */

/* Fundo semitransparente e blur */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 500;
  transition: opacity 0.3s ease;
}

/* Exibe a modal quando adicionar .show */
.modal.show {
  display: flex;
  opacity: 1;
}

/* Conteúdo interno da modal: largura maior, altura limitada e scroll interno */
.modal-content {
  background: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
  padding: 1.5rem;
  width: 80%;             /* 80% da largura da viewport no desktop */
  max-width: 700px;       /* limite máximo de 700px */
  max-height: 80vh;       /* altura máxima de 80% da viewport */
  overflow: hidden;       /* esconde o que passar de max-height, mas a rolagem fica no modal-body */
  position: relative;
  transform: translateY(-20px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Ao abrir (.show), faz a transição de slide e fade-in */
.modal.show .modal-content {
  transform: translateY(0);
  opacity: 1;
}

/* Botão “×” para fechar a modal */
.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.75rem;
  color: #333;
  cursor: pointer;
  transition: color 0.2s ease;
}
.modal-close:hover {
  color: #1e3a8a;
}

/* Corpo da modal: agora com scroll vertical se necessário */
.modal-body {
  max-height: calc(80vh - 3rem);  /* 80vh menos o padding/topo do modal-content (1.5rem × 2) */
  overflow-y: auto;               /* ativa barra de rolagem vertical quando exceder */
  padding: 0 1.5rem 1.5rem 1.5rem;
  text-align: center;
}

/* Imagem dentro da modal com bordas arredondadas e sombra interna */
.modal-body img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: inset 0 0 8px rgba(0,0,0,0.08);
  margin-bottom: 1rem;
}

/* Título da modal */
.modal-body h3 {
  margin-bottom: 0.5rem;
  font-size: 1.6rem;
  color: #1e3a8a;
  font-weight: 600;
}

/* Parágrafo da modal */
.modal-body p {
  color: #444;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* =======================
   Ajustes de responsividade para mobile
   ======================= */
@media (max-width: 768px) {
  /* Modal ocupa quase toda a largura */
  .modal-content {
    width: 95%;
    max-width: 95%;
    max-height: 85vh;
    padding: 1rem;
  }
  .modal-body {
    max-height: calc(85vh - 2rem);
  }
  .modal-body h3 {
    font-size: 1.3rem;
  }
  .modal-body p {
    font-size: 0.95rem;
  }
}


/* ===============================
   Ajuste para “cortar” a imagem
   =============================== */

   .modal-body img {
    width: 100%;           /* ocupa toda a largura disponível */
    height: 300px;         /* define a altura fixa que você preferir */
    object-fit: cover;     /* recorta a imagem mantendo o centro */
    object-position: 50% 50%; /* opcional: ajusta o ponto focal do corte */
    border-radius: 0.5rem;
    box-shadow: inset 0 0 8px rgba(0,0,0,0.08);
    margin-bottom: 1rem;
  }
  





  /* =============================
   Estilo para links na página de Contato
   ============================= */

.contact-info .docs-list li a {
  color: var(--primary-color);   /* mesma cor principal do CAAT */
  text-decoration: none;         /* retira o sublinhado inicial */
  transition: color 0.2s ease;
}

.contact-info .docs-list li a:hover {
  color: var(--secondary-color); /* muda para amarelo ao passar o mouse */
  text-decoration: underline;     /* opcional: sublinhado sutil no hover */
}

/* Espaçamento entre o nome do campo e o link */
.contact-info .docs-list li strong {
  margin-right: 0.5rem;
  color: #222;                    /* texto “WhatsApp:” em cor mais escura */
}

/* Ajuste do ícone ao lado dos links sociais */

