/* SEC Jr. Consultoria - Estilos CSS Organizados */

/* SUMÁRIO:
1.  VARIÁVEIS E CONFIGURAÇÕES GLOBAIS
2.  COMPONENTES REUTILIZÁVEIS (Botões, etc.)
3.  ESTRUTURA E SEÇÕES PRINCIPAIS
    - Header e Navegação (Desktop)
    - Hero
    - Sobre
    - Serviços
    - Curso
    - Equipe
    - Depoimentos (Retirada temporariamente)
    - Blog
    - Conquistas
    - Linha do Tempo
    - Contato
    - Diversidade e Inclusão
4.  COMPONENTES ESPECÍFICOS
    - Modal da Equipe
5.  FOOTER
6.  RESPONSIVIDADE (MEDIA QUERIES)
    - Telas até 992px (Tablets)
    - Telas até 768px (Mobile)
    - Telas até 576px (Mobile Pequeno)
*/

/* 1. VARIÁVEIS E CONFIGURAÇÕES GLOBAIS
-------------------------------------------------- */
:root {
  /* Cores principais */
  --cor-preto: #000000;
  --cor-amarelo-principal: #e1af27;
  --cor-amarelo-claro: #f9eccc;
  --cor-amarelo-contraste: #e8c564;
  --cor-branco: #ffffff;
  --cor-texto-padrao: #333333;
  --cor-cinza-claro: #f5f5f5;
  --cor-cinza-medio: #cccccc;
  --cor-cinza-escuro: #666666;

  /* Fontes */
  --fonte-titulos: "Findel", Georgia, serif;
  --fonte-subtitulos: "Gotham", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --fonte-corpo: "Century Gothic Paneuropean", "Open Sans", sans-serif;
}

/* Reset Básico e Estilos Globais */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--fonte-corpo);
  color: var(--cor-texto-padrao);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

section {
  padding: 80px 0;
}

/* Tipografia */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--cor-preto);
}

h1 {
  font-family: var(--fonte-titulos);
  font-size: 3rem;
}

h2 {
  font-family: var(--fonte-titulos);
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 20px;
}

h3 {
  font-family: var(--fonte-subtitulos);
  font-size: 1.8rem;
}

p {
  margin-bottom: 15px;
}

a {
  color: var(--cor-amarelo-principal);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--cor-amarelo-contraste);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--cor-texto-padrao);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* 2. COMPONENTES REUTILIZÁVEIS
-------------------------------------------------- */
.cta-button {
  display: inline-block;
  background-color: var(--cor-amarelo-principal);
  color: var(--cor-branco);
  padding: 15px 30px;
  border-radius: 50px;
  font-family: var(--fonte-subtitulos);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  background-color: var(--cor-amarelo-contraste);
  transform: translateY(-3px);
  color: var(--cor-branco);
}

/* 3. ESTRUTURA E SEÇÕES PRINCIPAIS
-------------------------------------------------- */

/* HEADER E NAVEGAÇÃO (Desktop) */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--cor-branco);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 15px 0;
}

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

#logo {
  height: 50px;
  width: auto;
}

#navbar {
  display: flex;
  flex-direction: row;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

#navbar ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: nowrap;
  order: 1;
}

#navbar ul li {
  margin: 0 15px;
  position: relative;
}

#navbar ul li a {
  font-family: var(--fonte-subtitulos);
  color: var(--cor-preto);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
  position: relative;
  padding: 10px 0;
  display: block;
}

#navbar ul li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--cor-amarelo-principal);
  transition: width 0.3s ease;
}

#navbar ul li a:hover,
#navbar ul li a.active {
  color: var(--cor-amarelo-principal);
}

#navbar ul li a:hover::after,
#navbar ul li a.active::after {
  width: 100%;
}

.cta-nav-link {
  background-color: var(--cor-amarelo-principal) !important;
  color: var(--cor-branco) !important;
  padding: 5px 30px !important;
  border-radius: 50px;
  margin-left: 15px;
  font-family: var(--fonte-subtitulos);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.cta-nav-link:hover {
  background-color: var(--cor-amarelo-contraste) !important;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--cor-branco);
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  z-index: 100;
  border-radius: 8px;
  overflow: hidden;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 10px;
}

.dropdown-content a {
  color: var(--cor-texto-padrao);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: center;
  transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
  background-color: var(--cor-amarelo-claro);
}

.dropdown:hover .dropdown-content {
  display: block;
}

#mobile-menu-toggle,
.mobile-menu-close-btn,
.mobile-only-link {
  display: none;
}

/* SELETOR DE IDIOMA - VERSÃO FINAL SIMPLIFICADA */
#language-switcher {
  display: flex;
  align-items: center;
  margin-left: 20px;
  gap: 5px; /* Espaçamento entre os botões */
  order: 2;
}

#language-switcher button {
  background: none;
  border: 1px solid transparent;
  border-radius: 5px;
  cursor: pointer;
  font-family: var(--fonte-subtitulos);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--cor-texto-padrao);
  padding: 5px 10px;
  transition: all 0.2s ease;
}

#language-switcher button.active {
  font-weight: 700;
  color: var(--cor-amarelo-principal);
  text-decoration: underline;
}

/* AJUSTES PARA O MENU MOBILE */
@media (max-width: 768px) {
  .mobile-lang-switcher {
    order: 1;
    margin: 0 0 25px 20px;
    gap: 15px; /* Aumenta o espaço no mobile */
  }

  #language-switcher button {
    color: var(--cor-cinza-medio); /* Cor do texto inativo (EN) - bem visível */
  }

  #language-switcher button.active {
    color: var(--cor-preto);
    background-color: var(--cor-amarelo-principal); /* Estilo do botão ativo */
    text-decoration: none; /* Remove sublinhado no botão ativo */
    border-color: var(--cor-amarelo-principal);
  }
}

/* HERO */
#hero {
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-top: 80px;
  position: relative;
  background-image: url("../img/backgrounds/MATÃO-232.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

#hero .container {
  text-align: center;
  position: relative;
  z-index: 1;
  padding-top: -10vh;
}

#hero h1 {
  color: var(--cor-branco);
  margin-bottom: 20px;
  font-size: 2.8rem;
}

#hero p {
  color: var(--cor-branco);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 40px;
}

/* SOBRE */
#sobre {
  background-color: var(--cor-branco);
}

#sobre-content {
  background-color: var(--cor-amarelo-claro);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.sobre-texto-bloco {
  margin-bottom: 30px;
}

.sobre-texto-bloco:last-child {
  margin-bottom: 0;
}

.sobre-texto-bloco h3 {
  font-family: var(--fonte-titulos);
  font-size: 1.8rem;
  margin-bottom: 15px;
  border-bottom: 2px solid var(--cor-amarelo-principal);
  padding-bottom: 8px;
  display: inline-block;
}

.sobre-texto-bloco p,
.sobre-texto-bloco ul {
  text-align: justify;
  font-size: 1rem;
  line-height: 1.7;
}

.sobre-texto-bloco ul {
  list-style: none;
  padding-left: 0;
}

.sobre-texto-bloco ul li {
  padding-left: 25px;
  position: relative;
  margin-bottom: 10px;
}

.sobre-texto-bloco ul li::before {
  content: "\27A4";
  color: var(--cor-amarelo-principal);
  font-size: 1.1rem;
  position: absolute;
  left: 0;
  top: 1px;
}

.sobre-texto-bloco .valores-lista li {
  padding-left: 0;
  margin-bottom: 25px;
}

.sobre-texto-bloco .valores-lista li::before {
  content: none;
}

.sobre-texto-bloco .valores-lista h4 {
  font-family: var(--fonte-subtitulos);
  font-size: 1.2rem;
  margin-bottom: 8px;
  position: relative;
  padding-left: 25px;
}

.sobre-texto-bloco .valores-lista h4::before {
  content: "\27A4";
  color: var(--cor-amarelo-principal);
  font-size: 1.1rem;
  position: absolute;
  left: 0;
  top: 1px;
}

.sobre-texto-bloco .valores-lista p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
  padding-left: 25px;
  font-style: italic;
}

/* SERVIÇOS */
#servicos {
  padding: 60px 0;
  background-color: var(--cor-branco);
}

#servicos-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.servico-card {
  background-color: var(--cor-branco);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 5px solid transparent;
}

.servico-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  border-left-color: var(--cor-amarelo-principal);
}

.servico-icon {
  font-size: 3rem;
  color: var(--cor-amarelo-principal);
  margin-bottom: 20px;
  line-height: 1;
}

.servico-card h3 {
  font-family: var(--fonte-subtitulos);
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.servico-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* CURSO */
#curso {
  background-color: var(--cor-cinza-claro);
}

.curso-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.curso-destaque {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.curso-card {
  text-align: justify;
  background-color: var(--cor-branco);
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  border-top: 4px solid var(--cor-amarelo-principal);
}

.curso-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.curso-card h3 {
  font-family: var(--fonte-subtitulos);
  font-size: 1.4rem;
  margin-bottom: 15px;
  text-align: center;
}

.curso-card p {
  font-size: 1rem;
  line-height: 1.6;
  text-align: center;
}

.curso-ufv {
  background-color: var(--cor-amarelo-claro);
  border-radius: 8px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.curso-ufv h3 {
  font-family: var(--fonte-titulos);
  font-size: 2rem;
  margin-bottom: 20px;
}

.curso-ufv p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 25px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* EQUIPE */
#equipe {
  background-color: var(--cor-branco);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
  align-items: stretch;
}

.team-card {
  background-color: var(--cor-branco);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  text-align: center;
  border: 1px solid var(--cor-cinza-medio);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-bottom: 20px;
  height: 100%;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.team-card img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  max-width: 250px;
  padding-top: 20px;
  border-radius: 8px;
}

.team-card-content {
  padding: 20px 15px 0 15px;
  flex-grow: 1;
  width: 100%;
}

.team-card-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  margin: 0 0 5px 0;
  min-height: 2.5em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.click-indicator {
  font-size: 0.85rem;
  color: var(--cor-amarelo-principal);
  margin-top: 5px;
  margin-bottom: 8px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.icon-expand {
  font-size: 1.5rem;
  color: var(--cor-cinza-medio);
  transition: transform 0.3s ease, color 0.3s ease;
  transform: rotate(90deg);
}

.team-card:hover .click-indicator {
  opacity: 1;
}

.team-card:hover .icon-expand {
  transform: rotate(0deg);
  color: var(--cor-amarelo-principal);
}

.team-members {
  display: none;
}

.member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.member-card {
  background-color: var(--cor-branco);
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.member-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  margin: 0 auto 20px;
  background-color: var(--cor-cinza-claro);
  overflow: hidden;
}

.member-photo img.object-top {
  object-position: top;
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-card h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.member-card p {
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.member-social {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-icon {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: var(--cor-amarelo-principal);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.social-icon:hover {
  background-color: var(--cor-amarelo-contraste);
}

.social-icon img {
  width: 18px;
  height: 18px;
}

.social-icon.disabled {
  background-color: var(--cor-cinza-medio);
  cursor: not-allowed;
  opacity: 0.6;
}

/* DEPOIMENTOS (RETIRADO TEMPORARIAMENTE)
#depoimentos {
  background-color: var(--cor-amarelo-claro);
}

.depoimentos-container {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  padding: 20px;
}

.depoimento-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease-in-out, visibility 0.7s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 15px;
}

.depoimento-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
}

.depoimento-slide p {
  margin-bottom: 10px;
  font-size: 1em;
  line-height: 1.5;
  padding: 0 15px;
}

.depoimento-slide .depoimento-autor {
  font-weight: bold;
  margin-top: 5px;
}

.depoimento-slide .depoimento-cargo {
  font-size: 0.9em;
  color: #666;
}

.depoimento-content {
  background-color: var(--cor-branco);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  position: relative;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.depoimento-content::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 15px 15px 0;
  border-style: solid;
  border-color: var(--cor-branco) transparent transparent;
}

.depoimento-content p {
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 0;
}

.depoimento-autor {
  margin-top: 30px;
}

.depoimento-autor h4 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.depoimento-autor p {
  font-size: 0.9rem;
}

.depoimentos-controls {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  gap: 15px;
}

.depoimento-control-btn {
  background-color: var(--cor-branco);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--cor-amarelo-principal);
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.depoimento-control-btn:hover {
  background-color: var(--cor-amarelo-principal);
  color: var(--cor-branco);
}

*/

/* BLOG */
#blog {
  background-color: var(--cor-branco);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  align-items: start;
}

.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.blog-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.blog-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.blog-date {
  font-size: 0.9rem;
  color: var(--cor-amarelo-principal);
  margin-bottom: 10px;
}

.blog-content h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.blog-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  white-space: pre-line;
  text-align: justify;
}

.blog-video-container {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  border: 2px solid #cccccc;
  border-radius: 6px;
  padding: 5px;
  margin-top: auto;
}

.blog-video-container img,
.blog-video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

/* CONQUISTAS */
#conquistas {
  background-color: var(--cor-branco);
}

.conquistas-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.conquista-card {
  background-color: var(--cor-amarelo-claro);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.conquista-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.conquista-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.conquista-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.conquista-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* LINHA DO TEMPO */
#linha-do-tempo {
  background-color: var(--cor-cinza-claro);
}

.timeline-container {
  max-width: 900px;
  margin: 0 auto;
}

.timeline-wrapper {
  position: relative;
}

.timeline-wrapper::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: var(--cor-amarelo-principal);
  transform: translateX(-50%);
  z-index: 0;
}

.timeline-item {
  position: relative;
  width: 50%;
  margin-bottom: 50px;
  transition: max-height 0.5s ease-out, opacity 0.4s ease, margin-bottom 0.5s,
    padding 0.5s;
}

.timeline-content {
  padding: 20px;
  background-color: var(--cor-branco);
  position: relative;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.timeline-content h3 {
  font-family: var(--fonte-subtitulos);
  font-size: 1.2rem;
  color: var(--cor-amarelo-principal);
  margin-bottom: 10px;
}

.timeline-content p {
  text-align: justify;
  font-size: 0.9rem;
  line-height: 1.5;
}

.timeline-item::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: var(--cor-branco);
  border: 4px solid var(--cor-amarelo-principal);
  border-radius: 50%;
  z-index: 2;
  top: 40px;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
  padding-right: 60px;
}

.timeline-item:nth-child(odd)::after {
  right: -10px;
  transform: translateX(50%);
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
  padding-left: 60px;
}

.timeline-item:nth-child(even)::after {
  left: -10px;
  transform: translateX(-50%);
}

.timeline-item-hidden {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.timeline-expand-container {
  text-align: center;
  margin-top: 0;
  padding-top: 20px;
}

.timeline-item:not(.timeline-item-hidden):last-of-type {
  margin-bottom: 0;
}

/* CONTATO */
#contato .contato-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

#contato .contato-bloco {
  background-color: var(--cor-amarelo-claro);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  border-top: 4px solid var(--cor-amarelo-principal);
}

#contato .contato-bloco-icone {
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1;
}

#contato .contato-bloco h3 {
  font-family: var(--fonte-subtitulos);
  font-size: 1.4rem;
  margin-bottom: 15px;
}

#contato .contato-bloco p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
}

#contato .contato-bloco .cta-button {
  width: 80%;
  padding: 12px 20px;
  font-size: 0.9rem;
}

#contato .contato-bloco .ouvidoria-btn {
  background-color: var(--cor-preto);
}

#contato .contato-bloco .ouvidoria-btn:hover {
  background-color: var(--cor-texto-padrao);
}

/* DIVERSIDADE E INCLUSÃO */
#diversidade-inclusao {
  background-color: var(--cor-branco);
}

.diversidade-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.diversidade-bloco {
  background-color: var(--cor-amarelo-claro);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.diversidade-bloco:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.diversidade-bloco h3 {
  font-family: var(--fonte-subtitulos);
  color: var(--cor-amarelo-principal);
  font-size: 1.4rem;
  margin-bottom: 15px;
  border-bottom: 2px solid var(--cor-amarelo-principal);
  padding-bottom: 8px;
  display: inline-block;
}

.diversidade-bloco p {
  font-family: var(--fonte-corpo);
  font-size: 1rem;
  line-height: 1.7;
}

.ouvidoria-btn {
  background-color: var(--cor-preto);
}

.ouvidoria-btn:hover {
  background-color: var(--cor-texto-padrao);
}

.ouvidoria-info {
  font-size: 0.9rem;
  margin-top: 15px;
}

/* 4. COMPONENTES ESPECÍFICOS
-------------------------------------------------- */

/* MODAL DA EQUIPE */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0s linear 0s;
}

.modal-content {
  background-color: var(--cor-branco);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
  width: 90%;
  max-width: 700px;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: var(--cor-texto-padrao);
  cursor: pointer;
  padding: 5px;
}

.modal-close-btn:hover {
  color: var(--cor-preto);
}

.modal-header {
  text-align: center;
  margin-bottom: 25px;
  border-bottom: 1px solid var(--cor-cinza-medio);
  padding-bottom: 20px;
}

#modal-team-image {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 15px auto;
  border: 3px solid var(--cor-amarelo-claro);
}

#modal-team-title {
  font-family: var(--fonte-titulos);
  font-size: 2rem;
  margin: 0;
}

#modal-team-members-content {
  background-color: var(--cor-amarelo-claro);
  padding: 20px;
  border-radius: 6px;
  margin-top: 20px;
}

/* 5. FOOTER
-------------------------------------------------- */
footer {
  background-color: var(--cor-preto);
  color: var(--cor-branco);
  padding: 60px 0 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-logo img {
  height: 60px;
  margin-bottom: 20px;
}

.footer-logo p {
  font-size: 0.9rem;
  color: var(--cor-cinza-medio);
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background-color: var(--cor-amarelo-principal);
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.footer-social a:hover {
  background-color: var(--cor-amarelo-contraste);
}

.footer-social img {
  width: 18px;
  height: 18px;
  margin-bottom: 0;
}

.footer-links h4,
.footer-contato h4 {
  font-family: var(--fonte-subtitulos);
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--cor-branco);
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: var(--cor-cinza-medio);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: var(--cor-amarelo-principal);
}

.footer-contato .contato-item {
  display: flex;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.footer-contato .contato-icon {
  margin-right: 10px;
  color: var(--cor-amarelo-principal);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--cor-cinza-medio);
}

/* 6. RESPONSIVIDADE (MEDIA QUERIES)
-------------------------------------------------- */

/* Telas até 992px (Tablets) */
@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    justify-items: center;
    text-align: center;
  }
  .footer-logo {
    grid-column: span 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer-social {
    justify-content: center;
  }
  .footer-links h4,
  .footer-contato h4 {
    text-align: center;
  }
  .footer-links ul {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer-contato .contato-item {
    justify-content: center;
  }
}

/* Telas até 768px (Mobile) */
@media (max-width: 992px) {
  /* Gerais */
  h1 {
    font-size: 1.8rem;
  }
  h2 {
    font-size: 1.6rem;
  }
  h3 {
    font-size: 1.3rem;
  }
  .section-subtitle {
    font-size: 1rem;
  }
  section {
    padding: 60px 0;
  }

  /* Hero */
  #hero {
    min-height: 500px;
    background-image: url("../img/backgrounds/RR2023.webp");
    background-position: center bottom;
    padding-top: 40px;
    padding-bottom: 40px;
    align-items: center;
  }

  #hero::before {
    background-color: rgba(0, 0, 0, 0.4);
  }
  #hero h1,
  #hero p {
    color: var(--cor-branco);
  }
  #hero h1 {
    font-size: 1.8rem;
  }
  #hero p {
    font-size: 0.95rem;
    text-align: center;
  }

  /* Sobre */
  .sobre-texto-bloco p {
    text-align: justify;
  }

  /* Curso */
  .curso-card p {
    text-align: justify;
  }

  /* Menu Lateral Mobile */
  #mobile-menu-toggle {
    display: block;
    z-index: 1002;
    font-size: 2rem;
    color: var(--cor-preto);
    background: none;
    border: none;
    cursor: pointer;
  }

  #navbar {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background-color: var(--cor-preto);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    padding-top: 70px;
    transition: right 0.4s ease-in-out;
    visibility: hidden;
  }

  #navbar.active {
    right: 0;
    visibility: visible;
  }

  .mobile-menu-close-btn {
    display: block;
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2.5rem;
    line-height: 1;
    color: var(--cor-branco);
    cursor: pointer;
    z-index: 1002;
    padding: 5px;
  }

  #navbar ul {
    width: 100%;
    flex-direction: column;
    overflow-y: auto; /* Adiciona scroll se necessário */
  }

  #navbar ul li {
    margin: 8px 0;
    width: 100%;
  }

  #navbar ul li a {
    color: var(--cor-branco);
    font-size: 1.1rem;
    padding: 10px 20px;
    display: block;
    text-align: left;
  }

  #navbar ul li a:hover,
  #navbar ul li a.active {
    color: var(--cor-amarelo-principal);
  }

  #navbar ul li a::after {
    background-color: var(--cor-amarelo-principal);
    bottom: -3px;
    left: 20px;
  }

  .desktop-only-dropdown {
    display: none;
  }

  .mobile-only-link {
    display: block;
  }

  body.no-scroll {
    overflow: hidden;
  }

  /* Equipe */
  .team-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .team-card {
    width: 90%;
    margin: 0 auto 15px auto;
  }
  .team-card img {
    max-width: none;
  }
  .team-card-content {
    padding: 15px;
  }

  /* Depoimentos */
  .depoimentos-container {
    min-height: 300px;
    padding: 15px;
  }

  /* Modal Membros */
  .member-photo {
    width: 120px;
    height: 120px;
  }

  /* Linha do Tempo */
  .timeline-wrapper {
    padding-left: 30px;
  }
  .timeline-wrapper::before {
    left: 15px;
    transform: none;
    width: 2px;
  }
  .timeline-item,
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    width: 100%;
    padding: 0;
    text-align: left;
    left: 0;
    margin-bottom: 30px;
  }
  .timeline-content {
    padding: 15px;
    margin-left: 25px;
  }
  .timeline-content h3 {
    font-size: 1.1rem;
  }
  .timeline-content p {
    font-size: 0.85rem;
    text-align: justify;
  }
  .timeline-item::after,
  .timeline-item:nth-child(odd)::after,
  .timeline-item:nth-child(even)::after {
    left: 15px;
    transform: translateX(-50%);
    top: 5px;
    width: 15px;
    height: 15px;
    border-width: 3px;
  }
}

/* AJUSTE DE FONTES PARA TABLETS */
@media (min-width: 769px) and (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }

  #hero p {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 2.2rem;
  }
}

/* Telas até 576px (Mobile Pequeno) */
@media (max-width: 576px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .footer-logo,
  .footer-links,
  .footer-contato {
    grid-column: span 1;
    text-align: center;
  }
  .footer-links ul,
  .footer-contato .contato-item {
    align-items: center;
  }
}
