/* Base Styles */
:root {
    /* Color Palette */
    --gold: #D4AF37;
    --dark-gold: #B8860B;
    --light-gold: #F1CE6C;
    --black: #111111;
    --dark-gray: #333333;
    --medium-gray: #666666;
    --light-gray: #F0F0F0;
    --white: #FFFFFF;
    --yellow: #FFDF80;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
    overflow-x: hidden;
  }

  body {
    font-family: 'Julius Sans One', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
  }
  
  h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
  }
  
  h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
  }
  
  h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  h3 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
  }
  
  h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
  }
  
  p {
    margin-bottom: 1rem;
  }
  
  a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
  }
  
  img {
    max-width: 100%;
    height: auto;
  }
  
  button {
    cursor: pointer;
    border: none;
    background: none;
  }
  
  .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .section {
    padding: 5rem 1rem;
  }
  
  .section-header {
    text-align: center;
    margin-bottom: 4rem;
  }
  
  .bg-light {
    background-color: var(--light-gray);
  }
  
  /* Utility Classes */
  .text-gold {
    color: var(--gold);
  }
  
  .text-blue {
    color: var(--dark-gold);
  }
  
  .text-white {
    color: var(--white);
  }
  
  .divider {
    height: 4px;
    width: 80px;
    background: linear-gradient(to right, var(--gold), var(--yellow));
    margin: 1.5rem auto;
  }
  
  .btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
  }
   
 .btn-primary {
  display: inline-block;
  padding: 12px 24px;
  background-color: #d4af37; /* dourado */
  color: #000;
  font-size: 1rem;
  border-radius: 50px;
  text-decoration: none;
  margin-right: 12px;
  transition: 0.3s;
  border: 2px solid #d4af37;
}

.btn-primary:hover {
  background-color: transparent;
  color: #d4af37;
}

.btn-secondary {
  display: inline-block;
  padding: 12px 24px;
  background-color: transparent;
  border: 2px solid #d4af37;
  color: #d4af37;
  font-size: 1rem;
  border-radius: 50px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-secondary:hover {
  background-color: #d4af37;
  color: #000;
}
.bio-text reveal-left{
  color:#ffffff
}

  
  .btn-outline {
    background-color: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
  }
  
  .btn-outline:hover {
    background-color: rgba(212, 175, 55, 0.1);
  }
  
  .full-width {
    width: 100%;
  }
  
  /* Animation Classes */
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
    color: #000;
  }

  .reveal.active {
    opacity: 1;
    transform: translateY(0);
  }
  
  .reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
  }
  
  .reveal-left.active {
    opacity: 1;
    transform: translateX(0);
  }
  
  .reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
  }
  
  .reveal-right.active {
    opacity: 1;
    transform: translateX(0);
  }
  
  /* Navbar */
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1rem 0;
    z-index: 1000;
    transition: all 0.3s ease;
  }
  
  .navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.75rem 0;
  }

  .desktop-menu.scrolled a{
    color: black;
  } 
  
  .navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo {
    font-size: 1.5rem;
    font-weight: 700;
  }
  
  .logo-gold {
    color: var(--gold);
  }

  .logo-white {
    color: white;
  }
  .logo-white.scrolled{
    color: #000000;
  }
  
  .logo-yellow {
    color: var(--yellow);
  }
  
  .desktop-menu a{
    color: white;
  }      

  .desktop-menu {
    display: none;
  }

  @media (max-width: 420px) {
  h1   { font-size: clamp(1.9rem, 7vw, 2.4rem); }
  h2   { font-size: clamp(1.6rem, 6vw, 2rem); }
  .hero p { font-size: 1rem; }
  }
  
  @media (min-width: 768px) {
    .desktop-menu {
      display: flex;
      gap: 2rem;
    }
  }
  
  .menu-item {
    color: var(--dark-gray);
    font-weight: 500;
  }
  
  .menu-item:hover {
    color: var(--gold);
  }
  
  .mobile-menu-button {
    display: block;
    font-size: 1.5rem;
    color: var(--white);
    margin-left: auto;   /* empurra para a direita, mas dentro do container */
    background: transparent;
  }
  .navbar.scrolled .mobile-menu-button { color: var(--dark-gray); }
  
  @media (min-width: 768px) {
    .mobile-menu-button {
      display: none;
    }
  }
  
  .mobile-menu {
    position: absolute;      /* fica logo abaixo do header */
    top: 100%;               /* encosta embaixo do nav */
    left: 0;
    right: 0;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(10px);
    display: none;           /* some até ser aberto */
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
    text-align: center;
  }
  .mobile-menu.active { display: flex; }

  
  .mobile-menu-item {
    font-size: 1.5rem;
    font-weight: 500;
  }
  
  /* Hero Section */
  .hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 1rem;
    color: var(--white);
    text-align: center;
    background:  
                url('foto-inicial-sem-fundo.png');
    background-size: 205vh;
    background-position: top right;
    background-repeat: no-repeat;
  }
  
.hero-content {
  max-width: 1400px;
  width: 100%;
  z-index: 1;
  padding-right: 25%; /* empurra o bloco para a esquerda */
}

  
  .hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  @media (min-width: 768px) {
    .hero h1 {
      font-size: 4rem;
    }
  }
  
  .hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(0, 0, 0, 0.9);
  }
  
  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
  }
  
  @media (min-width: 768px) {
    .hero-buttons {
      flex-direction: row;
    }
  }
  
  .scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
  }
  
  @keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
      transform: translateY(0) translateX(-50%);
    }
    40% {
      transform: translateY(-30px) translateX(-50%);
    }
    60% {
      transform: translateY(-15px) translateX(-50%);
    }
  }
  
  /* About Section */
  .about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  @media (min-width: 992px) {
    .about-grid {
      grid-template-columns: 1fr 1fr;
    }
  }
  
  .about-image-container {
    position: relative;
  }
  
  .about-image {
    border-radius: 1.5rem;
    overflow: hidden;
    aspect-ratio: 1/1;
  }
  
  .about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
  }
  
  .bg-decoration {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 1.5rem;
    z-index: -1;
  }
  
  .bg-decoration.bottom-right {
    bottom: -1.5rem;
    right: -1.5rem;
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
  }
  
  .bg-decoration.top-left {
    top: -1.5rem;
    left: -1.5rem;
    background: linear-gradient(135deg, var(--yellow), var(--light-gold));
    opacity: 0.7;
  }
  
  .stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
  }
  
  @media (min-width: 768px) {
    .stats-grid {
      grid-template-columns: repeat(4, 1fr);
    }
  }
  
  .stat-box {
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.75rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
  }
  
  .stat-box h3 {
    font-size: 1.75rem;
    color: var(--dark-gold);
    margin-bottom: 0.25rem;
  }
  
  .stat-box p {
    font-size: 0.875rem;
    color: var(--medium-gray);
    margin: 0;
  }
  
  /* Achievements Section */
  .achievements-grid {
    display: flex;
    overflow-x: auto;
   scroll-behavior: smooth;
    gap:2rem;
    margin-bottom: 3rem;
  }
  .achievement-box {
  flex: 0 0 calc(33.333% - 1.33rem);
  min-width: 300px;
  /* Garante tamanho mínimo e evita encolhimento */
}
  
  @media (min-width: 768px) {
    .achievements-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (min-width: 992px) {
    .achievements-grid {
      grid-template-columns: repeat(4, 1fr);
    }
  }
  
  .achievement-box {
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.75rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
  }
  
  .achievement-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  }
  
  .achievement-box .icon {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
  }
  
  .career-box {
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-top: 3rem;
  }
  
  .career-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  @media (min-width: 992px) {
    .career-grid {
      grid-template-columns: 2fr 1fr;
    }
  }
  
  .timeline-item {
    display: flex;
    margin-bottom: 1.5rem;
  }
  
  .timeline-marker {
    width: 4px;
    background: linear-gradient(to bottom, var(--gold), var(--light-gold));
    border-radius: 4px;
    margin-right: 1rem;
  }
  
  .timeline-content h4 {
    font-size: 1.25rem;
  }
  
  .timeline-content .date, .education-item .date {
    font-size: 0.875rem;
    color: var(--medium-gray);
    margin: 0.25rem 0 0.75rem;
  }
  
  .education-item {
    margin-bottom: 1.5rem;
  }
  
  /* Testimonials Section */
  .testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
  }
  
  .testimonial-container {
    position: relative;
    padding: 2rem 0;
  }
  
  .testimonial-slides {
    overflow: hidden;
    border-radius: 0.5rem;
  }
  
  .testimonial-slide {
    display: none;
    transition: all 0.5s ease;
  }
  
  .testimonial-slide.active {
    display: block;
  }
  
  .testimonial-content {
    padding: 2.5rem;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    color: var(--white);
  }
  
  .quote-icon {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 1.5rem;
  }
  
  .testimonial-text {
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 2rem;
  }
  
  .testimonial-author {
    display: flex;
    align-items: center;
  }
  
  .testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.5);
    margin-right: 1rem;
  }
  
  .prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1;
    font-size: 0.875rem;
    color: var(--dark-gold);
    transition: all 0.3s ease;
  }
  
  .prev-btn:hover, .next-btn:hover {
    background-color: var(--gold);
    color: var(--white);
  }
  
  .prev-btn {
    left: 1rem;
  }
  
  .next-btn {
    right: 1rem;
  }
  
  .slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
  }
  
  .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--medium-gray);
    margin: 0 6px;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .dot.active {
    width: 24px;
    border-radius: 4px;
    background-color: var(--gold);
  }
  
  /* News Section */
  .news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  @media (min-width: 768px) {
    .news-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  
  .news-card {
    background-color: var(--white);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
  }
  
  .news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }
  
  .news-image {
    height: 200px;
    overflow: hidden;
  }
  
  .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
  }
  
  .news-card:hover .news-image img {
    transform: scale(1.1);
  }
  
  .news-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
  }
  
  .news-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--medium-gray);
    margin-bottom: 0.75rem;
  }
  
  .news-meta i {
    margin-right: 0.25rem;
  }
  
  .news-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
  }
  
  .news-content p {
    flex-grow: 1;
    color: var(--dark-gray);
  }
  
  .read-more {
    display: inline-flex;
    align-items: center;
    color: var(--gold);
    font-weight: 600;
    margin-top: 1rem;
  }
  
  .read-more i {
    margin-left: 0.25rem;
    font-size: 0.875rem;
  }
  
  .read-more:hover {
    color: var(--dark-gold);
  }
  
  /* Contact Section */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    display: flex
  }
  
  @media (min-width: 992px) {
    .contact-grid {
      grid-template-columns: 1fr 1fr;
    }
  }
  
  .contact-info {
    padding: 2.5rem;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    height: 100%;

    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 500px; /* largura máxima para controle visual */
  }
  
  .contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem; /* pequena distância entre ícone e texto */
    text-align: left; /* alinha texto à esquerda */
    width: 100%; /* ocupa toda a largura disponível */
    
  }
    
  .contact-icon {
    width: 30px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 24px;
    color: #007bff; /* Cor do ícone */
  }

  .contact-item a {
    color: var(--dark-gold);
  }
  
  .contact-item a:hover {
    text-decoration: underline;
  }
  
  .contact-item > div:last-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  }

  .form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  @media (min-width: 768px) {
    .form-row {
      grid-template-columns: 1fr 1fr;
    }
  }
  
  .form-group {
    margin-bottom: 1.25rem;
  }
  
  label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
  }
  
  input, textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--light-gray);
    border-radius: 0.5rem;
    background-color: var(--white);
    font-family: inherit;
  }
  
  input:focus, textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
  }
  
  #contact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 110vh; /* Aumenta a altura para 110% da altura da viewport */
    padding: 40px; /* Aumenta o espaçamento interno */
    background-color: #f9f9f9; /* Cor de fundo para destacar */
  }
  
  .contact-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px; /* Espaçamento entre os itens */
  }
  
  .contact-item {
    display: flex;
    align-items: center;
    gap: 10px; /* Espaçamento entre o ícone e o texto */
  }

  
  /* Footer */
  .footer {
    display: flex;
    flex-direction: column; /* Organiza os itens em coluna */
    justify-content: center; /* Centraliza verticalmente */
    align-items: center; /* Centraliza horizontalmente */
    background-color: var(--black);
    color: var(--white);
    padding: 4rem 0 1rem;
    text-align: center; /* Centraliza o texto */
  }
  
  .footer-grid {
    display: flex;
    flex-direction: row; /* Organiza os itens em linha */
    justify-content: space-between; /* Espaça os itens igualmente */
    align-items: flex-start; /* Alinha os itens ao topo */
    gap: 2rem; /* Espaçamento entre as colunas */
  }
  
  .footer-about,
  .footer-links,
  .footer-contact {
    flex: 1; /* Faz com que cada coluna ocupe o mesmo espaço */
  }
  
  .footer-about {
    text-align: left; /* Alinha o conteúdo à esquerda */
  }
  
  .footer-links {
    text-align: center; /* Centraliza o texto */
  }
  
  .footer-contact {
    text-align: left; /* Alinha o conteúdo à direita */
  }
  
  .footer-contact h4 {
    margin-bottom: 1rem;
    margin-left: 0; ; /* Espaçamento entre o título e as informações */
  }
  
  .footer-contact .btn {
    margin-top: 1rem; /* Adiciona espaçamento acima do botão */
    display: inline-flex;
    align-items: center;
    gap: 0.5rem; /* Espaçamento entre o ícone e o texto */
    background-color: var(--gold);
    color: var(--black);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
  }
  
  .footer-contact .btn:hover {
    background-color: var(--dark-gold);
    color: var(--white);
  }
  
  .footer-about h3 {
    font-size: 1.5rem; /* Ajusta o tamanho do título */
    margin-bottom: 1rem; /* Reduz o espaçamento inferior */
  }
  
  .footer-about p {
    font-size: 0.875rem; /* Reduz o tamanho do texto */
    line-height: 1.5; /* Ajusta o espaçamento entre linhas */
    margin-bottom: 1rem; /* Reduz o espaçamento inferior */
  }
  
  .footer-about p {
    color: var(--light-gray);
    margin-bottom: 1.5rem;
  }
  
  .social-links {
    display: flex;
    gap: 1rem;
  }
  
  .social-links a {
    color: var(--light-gray);
    font-size: 1.25rem;
  }
  
  .social-links a:hover {
    color: var(--gold);
  }
  
  .footer h4 {
    margin-bottom: 1.5rem; /* Espaçamento entre o título e o conteúdo */
    position: relative;
    padding-bottom: 0.5rem; /* Espaçamento para a linha */
  }
  
  .footer h4::after {
    content: '';
    position: absolute;
    left: 50%; /* Centraliza a linha em relação ao título */
    transform: translateX(-50%); /* Ajusta para o centro */
    bottom: 0;
    height: 2px;
    width: 50px; /* Largura da linha */
    background-color: var(--gold); /* Cor da linha */
  }
  
  .footer-links ul, .footer-contact ul {
    list-style: none;
  }
  
  .footer-links li {
    margin-bottom: 0.75rem;
  }
  
  .footer-links a {
    color: var(--light-gray);
  }
  
  .footer-links a:hover {
    color: var(--gold);
  }
  
  .footer-contact li {
    display: flex;
    align-items:flex-start;  
    flex-wrap:wrap; 
    gap:0.75rem;  
    margin-bottom: 1rem;
    color: var(--light-gray);
  }

  

  .footer-contact li a,
  .footer-contact li span{
    word-break:break-word;    /* força quebra em palavras sem hífens */
    overflow-wrap:anywhere;   /* fallback moderno para navegadores novos */
  }

  .footer-contact li a{
  display:inline-block;
  max-width:100%;
  }
  
  .footer-contact i {
    margin-right: 0.75rem;
    color: var(--gold);
  }
  
  .footer-newsletter p {
    color: var(--light-gray);
    margin-bottom: 1.25rem;
  }
  
  .newsletter-form {
    display: flex;
  }
  
  .newsletter-form input {
    flex-grow: 1;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 0.6rem 1rem;
    border-radius: 0.25rem 0 0 0.25rem;
  }
  
  .newsletter-form button {
    padding: 0 1.25rem;
    background-color: var(--gold);
    color: var(--black);
    font-weight: 600;
    border-radius: 0 0.25rem 0.25rem 0;
  }
  
  .newsletter-form button:hover {
    background-color: var(--dark-gold);
  }
  
  .footer-bottom {
    margin-top: 2rem;
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--medium-gray);
  }
  .pdf-scroll-container {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 10px 0;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}

.pdf-box {
  min-width: 320px;
  max-width: 400px;
  flex: 0 0 auto;
  background-color: #fff;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  scroll-snap-align: start;
  text-align: center;
}

.pdf-box h3 {
  margin-bottom: 10px;
  color: #1a1a1a;
}

.download-btn {
  display: inline-block;
  margin-top: 10px;
  background-color: #1a1a1a;
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.download-btn:hover {
  background-color: #444;
}
/* Layout da página de Biografia */
.bio-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.bio-text {
  flex: 1.3; /* texto um pouco maior */
  font-size: 1.05rem;
  color: var(--dark-gray);
  line-height: 1.7;
}

.pdf-box {
  flex: 1;
}

.pdf-box iframe {
  width: 100%;
  height: 600px; /* maior e elegante */
  border-radius: 10px;
  border: 3px solid var(--gold);
  box-shadow: 0 0 20px rgba(212,175,55,0.15);
}

/* Modal de Notícias */
/* Modal de Notícias */
.news-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(4px);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px; /* evita colar nas bordas no mobile */
}

.news-modal-content {
  background: #fff;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;          /* 🔴 LIMITA ALTURA */
  overflow-y: auto;          /* 🔴 SCROLL INTERNO */
  padding: 2rem;
  border-radius: 12px;
  position: relative;
  animation: fadeIn .3s ease;
}

/* Botão fechar */
.news-modal-close {
  position: absolute;
  right: 16px;
  top: 12px;
  font-size: 2rem;
  cursor: pointer;
  color: #333;
  z-index: 2;
}

/* Imagem da notícia */
.news-modal-content img {
  width: 100%;
  height: auto;              /* 🔴 NÃO CORTA */
  max-height: 400px;
  object-fit: contain;       /* 🔴 ESSENCIAL */
  border-radius: 8px;
  margin-bottom: 1rem;
}

/* Texto */
#modal-title {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

#modal-date {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 1rem;
}

#modal-text {
  font-size: 1rem;
  line-height: 1.7;
}


@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}


/* Responsivo para celulares */
@media (max-width: 900px) {
  .bio-container {
    flex-direction: column;
  }

  .pdf-box iframe {
    height: 400px;
  }
}


@media (max-width: 768px) {
  .pdf-box {
    min-width: 280px;
  }
}
