/* =====================
   RESET + FONTES
===================== */
body, html {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Sora', sans-serif;
}

.menu a,
.hamburger,
.mobile-menu a,
.mobile-menu .close,
h1, h2, h3, h4, h5, h6,
p {
  font-family: 'Sora', sans-serif;
}

/* =====================
   HEADER
===================== */
header {
  width: 100%;
  height: 100px;
  background: #fff;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

header .container {
  max-width: 1100px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* Logo centralizada (desktop) */
.logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.logo img {
  height: 140px;   /* aumenta a altura da logo */
  margin-top: 30px; /* desce mais para baixo */
}

/* Menu desktop */
.menu {
  display: flex;
  gap: 70px;
}
.menu a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: color 0.3s;
}
.menu a:hover {
  color: #309bf6;
}

/* =====================
   MENU MOBILE
===================== */
.hamburger {
  display: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  background: transparent;
  border: 0;
  color: #333;
  padding: 12px 14px;
  border-radius: 10px;
  z-index: 2100;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 250px;
  height: 100%;
  background: #fff;
  box-shadow: -2px 0 10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  padding: 20px;
  transition: right 0.3s ease-in-out;
  z-index: 2500;
}

.mobile-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}
.mobile-menu a:hover {
  color: #309bf6;
}

.mobile-menu .close {
  font-size: 28px;
  cursor: pointer;
  margin-bottom: 20px;
  align-self: flex-end;
  background: transparent;
  border: 0;
  color: #333;
}

@media (max-width: 768px) {
  .menu { display: none; }
  .hamburger {
    display: block !important;
    
  }
  .logo {
    position: relative;
    left: auto;
    transform: none;
    margin: 0 auto;
    justify-content: center;
    padding-left: 50px; /* joga levemente para a direita */
}
}

/* =====================
   SLIDE
===================== */
.slide-container {
  position: relative;
  width: 100%;
  height: 700px;
  overflow: hidden;
  background: #309bf6;
  
}


.slide {
  position: absolute;
  top: 0;
  left: 100%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  padding: 20px;
  transition: left 0.8s ease-in-out;
}
.slide.active { left: 0; }

.slide-content {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  text-align: left;
}

.slide-content h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 700;
}
.slide-content p {
  font-size: 1.4rem;
  margin-bottom: 30px;
  line-height: 1.6;
  max-width: 680px;
  color: #ffffff;
}

.btn-slide {
  display: inline-block;
  padding: 12px 25px;
  border: 2px solid #fff;
  border-radius: 30px;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  transition: all 0.3s ease;
}
.btn-slide:hover {
  background: #fff;
  color: #309bf6;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 3rem;
  font-weight: bold;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s, transform 0.2s;
  z-index: 10;
}
.prev:hover, .next:hover {
  color: #fff;
  transform: translateY(-50%) scale(1.2);
}
.prev { left: 20px; }
.next { right: 20px; }

@media (max-width: 768px) {
  .slide-container {
    min-height: calc(100vh - 100px);
    height: auto;
  }
  .slide-content {
    max-width: 90%;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
  }
  .slide-content h2 { font-size: 2.2rem; }
  .slide-content p {
    font-size: 1.1rem;
    max-width: 90%;
    margin: 0 auto 20px auto;
  }
  .btn-slide {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  .prev, .next { font-size: 2.2rem; }
}




/* =====================
   ABOUT
===================== */
.about {
  width: 100%;
  background: #faf9fb;
  padding: 80px 20px;
}

.about-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.about-left,
.about-right {
  flex: 1;
  max-width: 550px; /* largura máxima de cada lado */
}

.about-left {
  text-align: left;
}

.about-left .subtitle {
  font-size: 1.2rem;
  color: #309bf6;
  margin-bottom: 10px;
  font-weight: 600;
}


.about-left .title {
  font-size: 3rem;       /* mesmo tamanho do slide */
  font-weight: 900;
  margin-bottom: 40px;
  color: #333;
  line-height: 1.0;
  margin-top: 20px;
}


.about-left p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 60px;
  color: #555;
}

.about-left .btn-slide {
  border-color: #309bf6;
  color: #309bf6;
}
.about-left .btn-slide:hover {
  background: #309bf6;
  color: #fff;
}

.about-box {
  width: 100%;
  max-width: 300px;
  height: 300px;
  background: #000;
  margin-left: auto; /* garante alinhamento à direita */
}

@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }
  .about-left,
  .about-right {
    max-width: 100%;
  }
  .about-box {
    margin: 30px auto 0;
  }
}



/* =====================
   ABOUT HIDDEN
===================== */
.about-hidden {
  width: 100%;
  background: #faf9fb;
  padding: 10px 20px 80px;
  display: none; /* inicia oculta */
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
  transform: translateY(20px);
}

.about-hidden.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.about-hidden-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.hidden-left,
.hidden-right {
  max-width: 550px;
  flex: 1;
}

.hidden-left p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #555;
}

.partners-title {
  font-size: 1.2rem;
  color: #309bf6;
  margin-bottom: 10px;
  font-weight: 600;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.partners-grid img {
  width: 100%;
  max-width: 150px;
  margin: 0 auto;
  filter: grayscale(100%);
  transition: all 0.3s ease;
  cursor: pointer;
}

.partners-grid img:hover {
  filter: grayscale(0);
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .about-hidden-container {
    flex-direction: column;
    text-align: center;
  }
  .hidden-left,
  .hidden-right {
    max-width: 100%;
  }
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}





/* =====================
   PRELOADER
===================== */
#preloader {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: #e6f7ff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
}

.gota-old {
  width: 80px;
  height: 80px;
  background: #00aaff;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  position: relative;
  animation: pular 1s ease-in-out infinite;
}
.gota-old::after {
  content: "";
  position: absolute;
  top: -20px;
  left: 25px;
  width: 30px;
  height: 30px;
  background: #00aaff;
  border-radius: 50%;
}
@keyframes pular {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-30px); }
}



/* =====================
   PHOTO ALBUM
===================== */
.photo-album {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.photo-album img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: transform 0.4s ease, filter 0.4s ease;
}

/* Efeito hover */
.photo-album img:hover {
  transform: scale(1.1) rotate(1deg);
  filter: brightness(1.1);
}

.overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5000;
}
.overlay img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.5);
}

/* =====================
   PRODUTOS
===================== */
.products {
  width: 100%;
  background: #309bf6;
  padding: 80px 20px;
  color: #fff;
}

.products-container {
  max-width: 1100px;
  margin: 0 auto;
}

.products-title {
  font-size: 2.5rem;
  margin-bottom: 40px;
  font-weight: 700;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product {
  background: #fff;
  color: #333;
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.product img {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
}
.product h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.product p {
  font-size: 0.95rem;
  color: #666;
}

/* Box de informações */
.product-info {
  margin-top: 50px;
  background: rgba(255,255,255,0.1);
  padding: 30px;
  border-radius: 12px;
  transition: all 0.3s ease;
}
.product-info h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
}
.product-info p {
  font-size: 1rem;
  line-height: 1.6;
}

/* =====================
   GALERIA
===================== */
.gallery {
  width: 100%;
  background: #faf9fb;
  padding: 80px 20px;
}

.gallery-container {
  max-width: 1100px;
  margin: 0 auto;
}

.gallery .subtitle {
  font-size: 1.2rem;
  color: #309bf6;
  margin-bottom: 5px; /* antes era 10px */
  font-weight: 600;
  text-align: left;
}

.gallery .title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-top: 0;       /* remove espaço automático do h2 */
  margin-bottom: 40px; /* mantém distância para o conteúdo abaixo */
  color: #333;
  text-align: left;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  justify-content: center;
}

.gallery-item {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.gallery-item img {
  width: 100%;
  height: auto;
  transition: transform 0.4s ease, filter 0.4s ease;
  cursor: pointer;
}

.gallery-item:hover img {
  transform: scale(1.1);
  filter: brightness(1.1);
}

.gallery-btn {
  text-align: center;
  margin-top: 50px;
}


/* =====================
   BOTÃO GALERIA
===================== */
.gallery-btn .btn-slide {
  border: 2px solid #309bf6;   /* contorno azul */
  color: #309bf6;              /* texto azul */
  background: transparent;     /* sem fundo */
  transition: all 0.3s ease;
}

.gallery-btn .btn-slide:hover {
  background: #309bf6;  /* fundo azul */
  color: #fff;          /* texto branco */
}

/* =====================
   ABOUT2
===================== */
.about2 {
  width: 100%;
  background: #309bf6;
  padding: 80px 20px;
  color: #fff;
}

.about2-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.about2-left, .about2-right {
  flex: 1;
  max-width: 550px;
}

.about2-left .subtitle {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 5px;   /* antes era 10px */
  font-weight: 600;
}

.about2-left .title {
  font-size: 2.5rem;
  font-weight: 900;
  margin-top: 0;        /* remove espaço automático do h2 */
  margin-bottom: 20px;  /* mantém só espaço inferior */
}


.about2-left p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #f0f0f0;
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 550px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  cursor: pointer;
}

.video-thumb {
  width: 100%;
  display: block;
  transition: transform 0.3s ease;
}

.video-wrapper:hover .video-thumb {
  transform: scale(1.05);
}

.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border: none;
  color: #309bf6;
  font-size: 3rem;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
}

.video-play:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: #309bf6;
  color: #fff;
}

/* Modal de vídeo */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 6000;
}

.video-modal iframe {
  width: 80%;
  height: 80%;
  border: none;
  border-radius: 12px;
}

.video-modal .close-modal {
  position: absolute;
  top: 20px;
  right: 40px;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

/* =====================
   LOCALIZAÇÃO
===================== */
.location {
  width: 100%;
  height: 300px;
  background: #faf9fb;
}

#map {
  width: 100%;
  height: 100%;
  border: 0;
}


/* =====================
   FOOTER
===================== */
.footer {
  width: 100%;
  background: #faf9fb;
  padding: 60px 20px 20px;
  color: #333;
}

.footer-container {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-col h3 {
  margin-bottom: 20px;
  color: #309bf6;
}

.footer-col p,
.footer-col li,
.footer-col a {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.9;
  text-decoration: none;
}

.footer-col p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.8;  /* antes herdava 1.9 */
  margin: 3px 0;     /* controla espaço entre as linhas */
}


.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li a:hover {
  color: #309bf6;
}

/* Logo menor */
.footer-logo {
  width: 90%;
  max-width: 250px;
  margin-bottom: 15px;
}

/* Formulário */
#contactForm {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#contactForm input,
#contactForm textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
}
#contactForm button {
  background: #309bf6;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}
#contactForm button:hover {
  background: #1e7ad6;
}
#formMsg {
  margin-top: 8px;
  font-size: 0.9rem;
  color: green;
}

#contactForm input,
#contactForm textarea,
#contactForm button {
  width: 100%;
  box-sizing: border-box; /* garante que borda/padding não aumente largura */
}

#contactForm button,
.footer .btn-slide {
  font-family: 'Sora', sans-serif; /* mesma fonte do site */
  font-size: 1rem;                 /* ~16px, igual ao slide */
  font-weight: 600;                /* semibold, igual ao slide */
}



/* Ícones sociais (sempre em linha) */
.footer-col .social {
  display: flex;
  align-items: center;
  gap: 12px;         /* espaço entre ícones */
  flex-wrap: nowrap; /* não quebra linha */
  margin-top: 20px; /* aqui você controla o espaço acima */
}

.footer-col .social a {
  display: inline-flex; /* garante inline e centraliza o img */
  align-items: center;
  line-height: 0;       /* evita “saltos” por linha de texto */
}

.footer-col .social a img {
  width: 26px;
  height: auto;
  display: block;       /* ok com flex */
  margin: 0;            /* zera o margin anterior */
}

.footer-col .social a:hover img {
  transform: scale(1.2);
}


/* Mobile: centraliza, mas mantém em uma linha */
@media (max-width: 768px) {
  .footer-col .social {
    justify-content: center;
  }
}


/* Divider */
.footer-divider {
  border: none;
  height: 2px;
  margin: 70px 0 10px; /* 30px em cima, 10px embaixo */
  background: linear-gradient(to right, transparent, #ccc, transparent);
}

/* Bottom */
.footer-bottom {
  max-width: 1100px;
  margin: auto;
  text-align: center;
  padding-top: 10px;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: #444;
}

/* Link DR. WEB */
.footer-bottom a {
  color: inherit;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-bottom a:hover {
  color: #309bf6;
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-col .social {
    justify-content: center;
  }
}

.footer .btn-slide {
  border-color: #309bf6;
  color: #309bf6;
  background: transparent;
}
.footer .btn-slide:hover {
  background: #309bf6;
  color: #fff;
}


/* Botão do formulário no footer - estilo contorno azul */
#contactForm button,
.footer .btn-slide {
  display: block;
  width: 100%;                 /* ocupa toda a largura do input */
  text-align: center;
  border: 2px solid #309bf6;   /* contorno azul */
  color: #309bf6;              /* texto azul */
  background: transparent;     /* fundo transparente */
  border-radius: 30px;
  padding: 12px 25px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s ease;
}

#contactForm button:hover,
.footer .btn-slide:hover {
  background: #309bf6;  /* fundo azul preenchido */
  color: #fff;          /* texto branco */
}

.products .subtitle {
  font-size: 1.2rem;
  color: #309bf6;
  margin-bottom: 10px;
  font-weight: 600;
  text-align: left;
}



/* =====================
   PRELOADER (LOGO PULSANDO)
===================== */
#preloader {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: #e6f7ff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
}

.preloader-logo {
  width: clamp(120px, 18vw, 200px);
  height: auto;
  animation: preloaderPulse 1.2s ease-in-out infinite;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.08));
}

@keyframes preloaderPulse {
  0%   { transform: scale(1);     opacity: 0.85; }
  50%  { transform: scale(1.08);  opacity: 1; }
  100% { transform: scale(1);     opacity: 0.85; }
}

/* Optional smooth fade-out when JS hides the preloader */
#preloader.fade-out {
  animation: preloaderFade 0.4s ease forwards;
}
@keyframes preloaderFade {
  to { opacity: 0; visibility: hidden; }
}


@media (min-width: 769px) {
  /* Start as overlay */
  header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: none;
  }
  /* Slide should sit behind header initially */
  .slide-container {
    margin-top: 100px;
  }
  /* When sticky class is applied by JS on scroll */
  header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
    z-index: 2000;
    background: #fff;
  }
  /* Add top padding to avoid jump when header becomes fixed */
  body.header-sticky #conteudo {
    padding-top: 100px;
  }
}





.products-container .subtitle {
  font-size: 1.2rem;
  color: #fff;         /* branco para contraste */
  margin-bottom: 5px;
  font-weight: 600;
  text-align: left;
}

.products-container .products-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-top: 0;
  margin-bottom: 40px;
  color: #fff;         /* branco para contraste */
  text-align: left;
}


/* =====================
   GALERIA - MODAL
===================== */
.gallery-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 7000;
}
.gallery-modal.open { display: flex; }

.gallery-modal img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.gallery-modal .close-modal {
  position: absolute;
  top: 24px;
  right: 30px;
  font-size: 2.2rem;
  color: #fff;
  cursor: pointer;
  user-select: none;
}

.gallery-modal .nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  color: rgba(255,255,255,0.9);
  cursor: pointer;
  user-select: none;
  padding: 8px 14px;
  border-radius: 10px;
  transition: background .2s ease;
}
.gallery-modal .nav:hover { background: rgba(255,255,255,0.08); }
.gallery-modal .nav.prev { left: 20px; }
.gallery-modal .nav.next { right: 20px; }


/* ================
   ABOUT - MOBILE
================ */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .about-left {
    text-align: center;
  }

  .about-left .btn-slide {
    display: block;
    margin: 20px auto 0 auto;
  }

  .about-right .photo-album {
    grid-template-columns: 1fr; /* uma foto por linha */
  }
}

/* ================
   ABOUT HIDDEN - MOBILE
================ */
@media (max-width: 768px) {
  .about-hidden-container {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .hidden-right {
    margin-top: 30px;
  }

  .partners-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 por linha */
    gap: 30px;
    justify-items: center;
  }

  .partners-grid img {
    max-width: 200px;
  }
}

@media (max-width: 768px) {
  .partners-title {
    margin-bottom: 30px; /* aumenta o espaço só no mobile */
  }
}



/* ================
   PRODUCTS - MOBILE
================ */
@media (max-width: 768px) {
  .products-container {
    text-align: center;
  }

  .products-container .subtitle,
  .products-container .products-title {
    text-align: center;
  }

  .products-grid {
    grid-template-columns: 1fr; /* um card por linha */
    gap: 25px;
  }
}


/* ================
   GALLERY - MOBILE
================ */
@media (max-width: 768px) {
  .gallery-container {
    text-align: center;
  }

  .gallery .subtitle,
  .gallery .title {
    text-align: center;
  }

  .gallery-grid {
    grid-template-columns: 1fr; /* uma foto por linha */
    gap: 20px;
  }

  .gallery-btn {
    text-align: center;
  }
}


/* ================
   ABOUT2 - MOBILE
================ */
@media (max-width: 768px) {
  .about2-container {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .about2-left .subtitle,
  .about2-left .title,
  .about2-left p {
    text-align: center;
  }

  .about2-right {
    margin-top: 30px;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .about2-right .video-wrapper {
    max-width: 100%;
  }
}

/* Correções extras para evitar scroll lateral */
html, body {
  overflow-x: hidden !important;
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
.slide-container, .slide, .gallery-grid, .partners-grid, .photo-album {
  max-width: 100% !important;
}


@media (max-width: 768px) {
  .footer-logo {
    display: block;      /* garante que seja bloco */
    margin: 0 auto 15px; /* centraliza horizontalmente */
  }
}


/* Overlay degradê de baixo para cima */
.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(111, 111, 111, 0.85) 0%,   /* mais escuro embaixo */
    rgba(111, 111, 111, 0.5) 40%,
    rgba(111, 111, 111, 0) 70%
  );
  z-index: 1; /* overlay atrás */
}

/* Conteúdo do slide sempre acima */
.slide-content {
  position: relative;
  z-index: 2;
}

.slide-content h2,
.slide-content p,
.slide-content .btn-slide {
  position: relative;
  z-index: 3; /* garante acima do overlay */
}


