/* ============================================================
   RESET BÁSICO
   ============================================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #FFFFFF;
  color: #333;
  line-height: 1.6;
}

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



/* ============================================================
   VARIÁVEIS DE CORES (PALETA DA IGC TREINAMENTOS)
   ============================================================ */
:root {
  /* AUTORIDADE / EDUCAÇÃO PREMIUM */
  --azul-escuro: #0A2540;   /* principal – header, footer, títulos */
  --azul-medio:  #1D4ED8;   /* foco, hover, detalhes */

  /* CONVERSÃO */
  --coral:       #F59E0B;   /* CTA (comprar / inscreva-se) */

  /* APOIO VISUAL */
  --turquesa:    #CBD5E1;   /* divisões suaves */
  --rosa-claro:  #F7F9FC;   /* fundo alternativo */

  /* NEUTROS */
  --branco: #FFFFFF;
  --cinza-claro: #E5E7EB;
  --cinza: #4B5563;
  --preto: #111827;
}


/* ============================================================
   CONTAINER PADRÃO
   ============================================================ */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ============================================================
   BANNER DINÂMICO
   ============================================================ */
.banner {
  background-color: var(--branco);
  padding: 48px 0;
  margin-bottom: 8px; /* 👈 ESPAÇO ENTRE DESTAQUES E CATEGORIAS */
}

.banner h2 {
  margin-bottom: 16px;
  color: var(--azul-escuro);
}


/* ============================================================
   CARD DE PRODUTO
   ============================================================ */
.card {
  background-color: transparent; /* 🔹 remove fundo branco */
  border: 1.3px solid var(--cinza); /* 🔹 contorno azul */
  border-radius: 16px;

  box-shadow: none; /* 🔹 remove sombra pesada */
  padding: 16px;

  display: flex;
  flex-direction: column;
  gap: 8px;

  width: 100%;
  max-width: 100%;
}


.card h3 {
  font-size: 1rem;
  color: var(--preto);
  font-weight: normal;
}

.card .preco {
  font-weight: bold;
  color: var(--preto);
}

.texto-parcelamento {
  display: block;
  margin-top: 4px;

  font-size: 0.8rem;
  color: #777; /* cinza elegante */
}

.card .descricao {
  font-size: 0.85rem;
  color: var(--cinza);
  display: none; /* JS controla */

   /* 🔽 ISSO RESOLVE O PROBLEMA PARA O TEXTO SEGUIR TAMENHO DO CARD */
  width: 100%;
  white-space: normal;
  word-break: break-word;
}

/* ===========================
   BOTÕES GENÉRICOS DO CARD
   =========================== */

.card button:not(.btn-comprar) {
  padding: 0;
  border: none;
  background-color: #F5F5F5;
  border: 1px solid #ccc;
  border-radius: 14px;
}

.descricao {
  display: inline-block;
  margin: 6px 0 10px;
  padding: 6px 12px;

  font-size: 0.85rem;
  color: #666;

  border: 1px solid #ccc;
  border-radius: 14px;

  text-decoration: none;
  transition: all 0.2s ease;
}

.descricao:hover {
  background-color: #f3f3f3;
  border-color: #999;
  color: #333;
}

/* ===========================
   ESCONDER DESCRIÇÃO LONGA NO CARD
   =========================== */

.card .descricao {
  display: none;
}

/* ============================================================
 ICONE DE LANÇAMENTO PRODUTO NO CARD
   ============================================================ */
.card {
  position: relative; /* obrigatório para posicionar o selo */
}

.badge-lancamento {
  position: absolute;
  top: 12px;
  left: 12px;

  background-color: #F59E0B;
  color: #fff;

  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;

  padding: 4px 8px;
  border-radius: 12px;

  border: 1px solid #b9dcea;
}



/* ============================================================
   AÇÕES DO CARD (QUANTIDADE + COMPRAR LADO A LADO) 
   ============================================================ */

.card-acoes {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

/* QUANTIDADE (formato oval) */
.quantidade {
  display: flex;
  align-items: center;
  border: 1px solid #dcdcdc;
  border-radius: 999px;
  padding: 4px 8px;   /* 🔽 mais fino */
  gap: 8px;           /* 🔽 menos espaço interno */
  background: transparent;
}

.quantidade button {
  background: none;
  border: none;
  font-size: 16px;      /* 🔽 menor */
  font-weight: 400;     /* 🔽 não é bold */
  cursor: pointer;
  color: #333;
  width: 20px;
  line-height: 1;
}
.quantidade span {
  font-size: 14px;
  min-width: 16px;
  text-align: center;
}

/* BOTÃO COMPRAR (pill verde) */
.btn-comprar {
  flex: 1;                 /* 🔹 ocupa mais espaço que a quantidade */
  background-color: var(--coral);
  color: #fff;
  border: none;
  border-radius: 999px;    /* 🔹 pill perfeito */
  padding: 14px 24px;      /* 🔹 MAIOR */
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
  white-space: nowrap;
}

.btn-comprar:hover {
  background-color: #D97706;
}


.card img {
  width: 100%;
  height: 220px;        /* altura fixa no desktop */
  object-fit: contain; /* NÃO corta, só enquadra */
  background-color: transparent; /* 🔹 remove fundo branco */;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background-color: var(--azul-escuro);
  color: var(--branco);
  padding: 32px 0;
}


.footer-content {
  display: flex;
  flex-wrap: wrap;       /* 🔥 permite quebrar linha */
  gap: 32px;             /* espaço entre blocos */
  align-items: flex-start;
}


@media (min-width: 1024px) {
  .footer-info,
  .footer-social,
  .footer-mapa {
    flex: 1;
  }

  .footer-whatsapp {
    flex: 0 0 200px;
  }
}


.footer-info,
.footer-social,
.footer-whatsapp {
  min-width: 200px;
}

.footer-info {
  text-align: left;
}

.footer-info h3 {
  margin-bottom: 8px;
}

.footer-info p {
  margin-bottom: 16px;
  color: #FFFFFF;
  max-width: 420px;
}

.footer-info .footer-social {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-social a {
  color: var(--branco);
  text-decoration: none;
  font-weight: 500;
}

.footer-social a:hover {
  text-decoration: underline;
}



/* ============================================================
   RESPONSIVO MOBILE
   ============================================================ */
@media (max-width: 768px) {
  
.header-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .search-box input {
    width: 100%;
  }

  /* 🔽 ADICIONE ISTO */
  .card img {
    height: 300px; /* menor no celular */
  }

   
   .header-bottom-content {
  flex-direction: column;
  align-items: stretch;
}

.logo {
  text-align: center;
}

.logo img {
  margin: 0 auto;
}

 .header-bottom-content {
  flex-direction: column;
  gap: 16px;
}

.category-box,
.search-box {
  max-width: 100%;
}  

.card-acoes {
    gap: 10px;
  }

  .btn-comprar {
    font-size: 0.95rem;
  }   

   /* ============================================================
   MOBILE – SCROLL HORIZONTAL (TODAS AS SESSÕES)
   ============================================================ */

  
  .card {
    flex: 0 0 99%;
    max-width: 99%;
    scroll-snap-align: start;
  }

  /* Destaques iguais às categorias */
  .banner-cards {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .banner-cards .card {
    flex: 0 0 99%;
    max-width: 99%;
    scroll-snap-align: start;
  }

/* mobile: setas somem */

  .banner-slider .arrow {
    display: none;
  }

  .banner-track .card {
    flex: 0 0 99%;
    max-width: 99%;
  }
   
}

/* ============================================================
   SESSÕES DE CATEGORIA (FULL WIDTH COM ESPAÇO)
   ============================================================ */

.categoria-section {
  width: 100%;
  background-color: var(--branco); /* MESMO CINZA DOS DESTAQUES */
  padding: 32px 0; /* 🔹 espaço interno da sessão */
  margin-bottom: 8px; /* 🔹 espaço ENTRE uma sessão e outra */
}

/* título da categoria */
.categoria-section h2 {
  margin-bottom: 24px;
  color: var(--azul-escuro);
}

/* ============================================================
   SLIDER PROFISSIONAL – LIMPO E SEM CORTE
   ============================================================ */

.slider {
  position: relative;
  margin: 0 auto;
  width: fit-content;
  max-width: 100%;
}

/* ===== TRACK ===== */
.slider-track {
  display: flex;
  gap: 16px;
  overflow: hidden;
}

/* CARD FIXO */
.slider-track .card {
  flex: 0 0 260px;
}

/* ===== DESKTOP ===== */
@media (min-width: 1024px) {
  .slider-track {
    width: calc((260px * 4) + (16px * 3)); /* 4 cards inteiros */
  }
}

/* ============================================================
   DESKTOP — esconder setas e dots quando houver MENOS de 4 cards
   (regra por categoria, sem JS)
   ============================================================ */

@media (min-width: 1024px) {

  /* se NÃO existir o 4º card, escondemos setas e dots */
  .slider:not(:has(.card:nth-child(4))) .arrow {
    display: none !important;
  }

  .slider:not(:has(.card:nth-child(4))) + .slider-dots {
    display: none !important;
  }

  /* opcional: centraliza os cards quando forem menos de 4 */
  .slider:not(:has(.card:nth-child(4))) .slider-track {
    justify-content: center;
  }

}


/* ===== SETAS ===== */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #ccc;
  cursor: pointer;
  z-index: 5;
}

.arrow.left {
  left: -14px;
}

.arrow.right {
  right: -14px;
}

/* ===== DOTS ===== */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.slider-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cfcfcf;
}

.slider-dots span.active {
  background: var(--azul-escuro);
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .slider-track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .slider-track .card {
    flex: 0 0 99%;
    scroll-snap-align: start;
  }

  .arrow {
    display: none;
  }
}


/* ============================================================
   TÍTULO DAS SEÇÕES — AJUSTE APENAS NO MOBILE
   ============================================================ */
@media (max-width: 768px) {

  .categoria-section h2 {
    font-size: 1.2rem;        /* diminui o tamanho */
    white-space: nowrap;      /* força uma única linha */
    overflow: hidden;         /* esconde excesso */
    text-overflow: ellipsis;  /* adiciona "..." se for muito longo */
    margin-bottom: 12px;
  }

}

/* ============================================================
   SLIDER DE PROPAGANDA — PROFISSIONAL
   ============================================================ */

.ads-slider {
  width: 100%;
  background-color: transparent;
  padding: 0px;          /* 🔥 ESSENCIAL padding: 0 16px;  */
  margin-top: 24px; /* 👈 ESPAÇO ENTRE HEADER E SLIDE */
}

/* container alinhado com o site */
.ads-container {
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
       /* mesmo raio dos cards border-radius: 16px; */
}

/* trilha */
.ads-track {
  display: flex;
  transition: transform 0.6s ease;
}

/* imagens */
.ads-track img {
  width: 100%;
  flex-shrink: 0;
  object-fit: contain; /* 🔹 NÃO CORTA */
  background-color: transparent;
  
}

/* desktop */
@media (min-width: 769px) {
  .ads-track img {
    height: 700px;
    
  }
}

/* mobile */
@media (max-width: 768px) {
  .ads-track img {
    height: 200px;
    
  }
}

/* ============================================================
   DOTS — SLIDER DE PROPAGANDA
   ============================================================ */

.ads-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  margin-bottom: 6px; /* 👈 RESPIRO AQUI */
}

.ads-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #cfcfcf;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ads-dots span.active {
  background-color: #0b6c8f; /* azul da marca */
  transform: scale(1.2);
}

/* ============================================================
   BARRA DE PROGRESSO DO SLIDER DE ADS
   ============================================================ */

.ads-progress {
  width: 45%; /* 🔽 55% menor que a imagem */
  height: 2px; /* mantém fininha */
  background-color: rgba(0,0,0,0.08);
  margin: 8px auto 6px; /* 🔥 centraliza */
  overflow: hidden;
  border-radius: 999px;
}

.ads-progress-bar {
  display: block;
  height: 100%;
  width: 0%;
  background-color: var(--azul-escuro); /* cor do site */
}

/* ============================================================
   MAPA NO FOOTER
   ============================================================ */

.footer-mapa {
  flex: 1;
  min-width: 300px;
}

.footer-mapa h3 {
  margin-bottom: 8px;
}

.mapa-acoes {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  justify-content: flex-start; /* ou center, se preferir */
}

.mapa-acoes a {
  color: #ffffff;
  font-weight: 500;
  text-decoration: none;
}

.mapa-acoes a:hover {
  text-decoration: underline;
}


/* ============================================================
   ÍCONES DE REDES SOCIAIS NO FOOTER
   ============================================================ */

.footer-social .social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
}

.footer-social .social-link svg {
  width: 18px;
  height: 18px;
  fill: #ffffff;
}

.footer-social .social-link:hover {
  opacity: 0.85;
}

/* ============================================================
   RODAPÉ — INFORMAÇÕES LEGAIS
   ============================================================ */

.footer-legal {
  margin-top: 24px;
  padding: 16px 0;
  text-align: center;
  color: #ffffff;
  font-size: 0.8rem; /* texto menor */
  line-height: 1.5;
}

.footer-divider {
  border: none;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.4); /* branco discreto */
  margin: 0 auto 16px;
  width: 40%;
}

.footer-legal-title {
  margin-bottom: 4px;
  font-weight: 600;
}


@media (max-width: 768px) {
  .footer-legal {
    padding-left: 5%;
    padding-right: 5%;
    text-align: center;
    font-size: 0.6rem; /* texto menor */
  }
}

@media (max-width: 768px) {
  .footer {
    padding-bottom: 110px; /* espaço para o botão flutuante */
  }
}

/* ================= PRODUTO ================= */

.produto-card {
  display: flex;
  gap: 32px;
  margin: 40px 0;
}


.produto-imagem {
  position: relative;
}

/* IMAGEM DO PRODUTO — DESKTOP */
@media (min-width: 769px) {
  .produto-imagem img {
    width: 300px;
    border-radius: 16px;
  }
}


/* ================================
   BOTÃO DE VÍDEO (PREVIEW)
   ================================ */

.produto-video-btn {
  position: absolute;
  bottom: 16px;
  right:  16px;

  width: 56px;
  height: 56px;
  border-radius: 50%;
  padding: 0;

  border: none;
  background: #000;
  cursor: pointer;
  overflow: hidden;

  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
}

/* vídeo dentro da bolinha */
.produto-video-btn video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none; /* 🔥 importante */
}

/* ícone de play */
.play-indicador {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #fff;
  font-size: 20px;
  background: rgba(0,0,0,0.35);

  pointer-events: none;
}


/* ================================
   MODAL DE VÍDEO (FLUTUANTE)
   ================================ */

.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.video-content {
  position: relative;
  background: #000;
  border-radius: 16px;
  width: 90%;
  max-width: 720px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

/* vídeo fica abaixo */
.video-content video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
}

/* botão X fica acima */
.video-close {
  position: absolute;
  top: 8px;
  right: 8px;

  z-index: 10; /* 🔥 ISSO É O SEGREDO */

  background: rgba(0,0,0,0.7);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-size: 16px;
}



/* ================================
   INFO DO PRODUTO (PÁGINA)
   ================================ */

.produto-info {
  max-width: 360px;
}

.produto-preco {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 8px 0 4px;
}

.produto-parcelamento {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 16px;
}

/* linha de ações */
.produto-acoes {
  display: flex;
  align-items: center;
  gap: 16px;
}


.produto-quantidade span {
  min-width: 24px;
  text-align: center;
  font-weight: 500;
}

/* botão comprar (já existente, só garantindo alinhamento) */
.btn-comprar {
  padding: 10px 24px;
}

/* ================================
   ANEL DA QUANTIDADE (PRODUTO)
   ================================ */

.produto-quantidade-anel {
  display: flex;
  align-items: center;
  gap: 6px;

  padding: 4px 8px;
  border: 1px solid #ccc;
  border-radius: 999px; /* anel */
}

.produto-quantidade-anel button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: #f5f5f5;
  cursor: pointer;
  font-size: 1rem;
}

.produto-quantidade-anel span {
  min-width: 18px;
  text-align: center;
  font-weight: 500;
}

/* ================================
   RESUMO DO PRODUTO
   ================================ */

.produto-resumo {
  margin: 8px 0 12px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #555;
}

/* ================================
   BADGE LANÇAMENTO — PRODUTO
   ================================ */

.badge-lancamento-produto {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #eaf6ff;
  color: #0077b6;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 12px;
  z-index: 2;
}

@media (max-width: 768px) {
  .badge-lancamento-produto {
    font-size: 0.55rem;
    padding: 3px 6px;
    border-radius: 8px;
   
  }
}


 /* =========================================================
   PRODUTO — MOBILE (LAYOUT LADO A LADO, SEM CORTAR TEXTO)
   ========================================================= */
@media (max-width: 768px) {

  .produto-card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
  }

  .produto-imagem {
    flex: 0 0 34%;
    max-width: 34%;
    position: relative;
  }

  .produto-imagem img {
    width: 100%;
    height: auto;
    display: block;
  }

  /* bolinha do vídeo no lado esquerdo da imagem */
  .produto-video-btn {
    position: absolute;
    bottom: -16px;
    left: 12px;
    right: auto;
    width: 44px;
    height: 44px;
  }

  .produto-info {
    flex: 1;
    min-width: 0; /* 🔥 ESSENCIAL PRA NÃO CORTAR TEXTO */
    text-align: left;
  }

  .produto-info h1 {
    font-size: 1.1rem;
    line-height: 1.3;
    word-break: break-word;
    margin-bottom: 6px;
  }

  .produto-resumo {
    font-size: 0.85rem;
    margin-bottom: 8px;
  }

  .produto-preco {
    font-size: 1.1rem;
  }

  .produto-acoes {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

   .produto-quantidade-anel {
    transform: scale(0.9); /* reduz ~10% tudo */
    transform-origin: left center;
  }

}

.produto-quantidade-anel {
    flex-shrink: 0; /* não encolhe */
  }

  .btn-comprar {
  flex: 1;
  min-width: auto;
  padding: 10px 16px;
  font-size: 0.9rem;
}

/* ===============================
   BUSCA ESTILO MARKETPLACE
   =============================== */

.search-wrapper {
  position: relative;
  width: 100%;
}

.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  max-height: 320px;
  overflow-y: auto;
  display: none;
  z-index: 9999;
}

.search-results.active {
  display: block;
}

.search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  cursor: pointer;
  transition: background 0.2s;
}

.search-item:hover {
  background: #f2f2f2;
}

.search-item img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 6px;
}

.search-item span {
  font-size: 14px;
  color: #333;
}


/* 🔒 impede a busca invisível de bloquear cliques */
.search-results {
  pointer-events: none;
}

.search-results.active {
  pointer-events: auto;
}













/* mantém layout original do header */
.search-box {
  position: relative;
  flex: 1;
}

/* dropdown da busca */
.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  z-index: 9999;
  display: none;
}

.search-results.active {
  display: block;
}

/* item da busca */
.search-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  cursor: pointer;
}

.search-item:hover {
  background: #f2f2f2;
}

.search-item img {
  width: 36px;
  height: 36px;
  object-fit: cover;
}


/* ============================================================
   TÍTULOS DAS SEÇÕES — PÁGINA DE PRODUTO
   ============================================================ */

#produto-descricao h2 {
  color: var(--azul-escuro); /* mesma cor das categorias */
  font-size: 1.2rem;        /* menor que o padrão */
  font-weight: 600;
  margin: 24px 0 8px;
}


/* ============================================================
   SLIDER DE LOGOS (EMPRESAS)
   ============================================================ */

.ads-logos .ads-wrapper {
  overflow: hidden;
  width: 100%;
}

.ads-logos .logos-track {
  display: flex;
  width: 100%;
  transition: transform 0.6s ease;
}

.ads-logos .logos-track img {
  min-width: 100%;
  max-width: 100%;
  height: 160px;        /* 👈 aumenta o logo */
  object-fit: contain;
  padding: 24px 32px;   /* mais respiro */
}


.ads-logos-title {
  text-align: center;
  font-size: 1.8rem;     /* aumenta um pouco */
  font-weight: 600;
  margin-bottom: 32px;
}



/* ============================================================
   SEÇÃO INSTITUCIONAL — EXPERIÊNCIA VISUAL
   ============================================================ */

.institucional {
  width: 100%;
  background: linear-gradient(180deg, #0A2540 0%, #081c33 100%);
  padding: 96px 0;
}

.institucional-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 5%;
}

.institucional-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

/* TEXTO */
.institucional-texto {
  max-width: 560px;
}

.institucional-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  font-weight: 600;
  text-transform: uppercase;
  color: #9fb3c8;
  margin-bottom: 12px;
}

.institucional-texto h2 {
  font-size: 2.4rem;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}

.institucional-texto p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #d1d9e6;
}

/* IMAGEM */
.institucional-imagem {
  position: relative;
}

.institucional-imagem img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
}

/* BLOCO 2 — inverter no desktop */
.institucional-grid > .institucional-imagem:nth-child(3) {
  order: 2;
}

.institucional-grid > .institucional-texto:nth-child(4) {
  order: 3;
}

/* ============================================================
   MOBILE — UX PRIORITÁRIO
   ============================================================ */

@media (max-width: 768px) {
  .institucional {
    padding: 64px 0;
  }

  .institucional-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .institucional-texto h2 {
    font-size: 1.7rem;
  }

  .institucional-texto p {
    font-size: 0.95rem;
  }

  .institucional-imagem img {
    max-height: 300px;
  }
}



/* ============================================================
   TÍTULOS CENTRAIS DA SEÇÃO INSTITUCIONAL
   ============================================================ */

.institucional-header {
  text-align: center;
  margin-bottom: 72px;
}

.institucional-title-center {
  font-size: 2.4rem; /* mesmo tamanho de "Alcance resultados extraordinários" */
  font-weight: 600;
  color: #ffffff;
  line-height: 1.2;
}

/* ============================================================
   BLOCO DE CERTIFICAÇÕES
   ============================================================ */

.institucional-certificacoes {
  margin-top: 96px;
  text-align: center;
}

.certificacoes-imagem {
  margin-top: 40px;
}

.certificacoes-imagem img {
  max-width: 100%;
  width: 900px;
  height: auto;
  opacity: 0.95;
}

/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 768px) {

  .institucional-title-center {
    font-size: 1.7rem;
  }

  .institucional-header {
    margin-bottom: 48px;
  }

  .institucional-certificacoes {
    margin-top: 64px;
  }

  .certificacoes-imagem img {
    width: 100%;
  }
}

/* ============================================================
   BLOCO INSTITUCIONAL – EBWU
   ============================================================ */

.institucional-ebwu {
  padding: 96px 0;
}

/* grid específico */
.ebwu-grid {
  grid-template-columns: 1fr 1fr;
  margin-top: 48px;
}

/* texto mais largo */
.ebwu-texto {
  grid-column: 1 / -1;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

.ebwu-texto p {
  margin-bottom: 20px;
  text-align: left;
}

/* botão centralizado dentro do bloco EBWU */
.ebwu-texto .btn-comprar {
  display: inline-flex;
  margin: 24px auto 0;
  
}

/* imagens */
.institucional-ebwu .institucional-imagem img {
  max-height: 400px;
  object-fit: contain;
  background: #ffffff;
  padding: 3px;
  border-radius: 16px;
}


/* garante botão institucional igual ao de compra */
.institucional-ebwu .btn {
  text-decoration: none;
  display: inline-block;
}

a.btn-comprar {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 768px) {
  .institucional-ebwu {
    padding: 64px 0;
  }

  .ebwu-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

}







/* ============================================================
   BLOCO EQUIPE – SLIDER INDEPENDENTE
   ============================================================ */

.institucional-equipe {
  background: linear-gradient(180deg, #0A2540 0%, #081c33 100%);
  padding: 96px 0;
}

.equipe-slider {
  overflow: hidden;
}

/* LIMITADOR DO SLIDER DA EQUIPE */
.equipe-slider {
  max-width: 1100px;   /* largura segura para 3 cards */
  margin: 0 auto;      /* centraliza */
  overflow: hidden;    /* impede escapar */
}


.equipe-track {
  display: flex;
  gap: 32px;
  transition: transform 0.6s ease;
}

.equipe-card {
  background: rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 24px;
  width: 320px;
  color: #fff;
  flex-shrink: 0;
}

.equipe-card img {
  width: 100%;
  border-radius: 16px;
  margin-bottom: 16px;
}

.equipe-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.equipe-card p {
  font-size: 0.9rem;
  color: #d1d9e6;
}

.equipe-card .btn-comprar {
  margin-top: 16px;
}

/* dots */
.equipe-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.equipe-dots span {
  width: 8px;
  height: 8px;
  background: #cfcfcf;
  border-radius: 50%;
}

.equipe-dots span.active {
  background: #fff;
}



/* =========================================
   SLIDER ESTÁTICO — SEM DESLOCAMENTO
   ========================================= */

.slider-estatico .slider-dots {
  display: none;
}

@media (max-width: 768px) {
  .slider-estatico .slider-track {
    overflow-x: hidden;
  }
}


/* =========================================================
   EQUIPE — MOBILE CORRIGIDO (CENTRALIZADO, SEM SUMIR)
   ========================================================= */
@media (max-width: 768px) {

  .institucional-equipe {
    overflow: hidden;
  }

  .equipe-slider {
    width: 100%;
    overflow: hidden;
  }

  .equipe-track {
    display: flex;
    gap: 16px;              /* 🔥 zero espaço entre slides */
    padding: 0;          /* 🔥 remove causa do vazamento */
    box-sizing: border-box;
  }

  .equipe-card {
    flex: 0 0 100%;       /* 🔥 1 card por tela */
    max-width: 100%;
    margin: 0;
    padding: 24px;        /* respiro INTERNO */
    border-radius: 20px;
    scroll-snap-align: start;
  }

  .equipe-card img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
    display: block;
  }

  .equipe-card h3,
  .equipe-card p {
    color: #ffffff;
  }
}


/* =========================================================
   EQUIPE — SWIPE NATIVO NO MOBILE (SEM CONFLITO)
   ========================================================= */
@media (max-width: 768px) {

  /* libera o scroll horizontal só da equipe */
  .institucional-equipe .equipe-track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  /* cada card encaixa certinho no swipe */
  .institucional-equipe .equipe-card {
    scroll-snap-align: start;
  }

}




/* DESKTOP — EQUIPE COMO SLIDER REAL */
@media (min-width: 1024px) {

  .equipe-slider {
    max-width: 1040px; /* 3 cards + gaps */
    margin: 0 auto;
    overflow: hidden;
  }

  .equipe-track {
    display: flex;
    gap: 32px;
    transition: transform 0.6s ease;
    will-change: transform;
  }

  .equipe-card {
    flex: 0 0 320px;
  }

  .equipe-dots {
    display: flex;
  }
}




/* ======================================================
   DEPOIMENTOS – SLIDER DE VÍDEOS
   ====================================================== */

.depoimentos {
  background: linear-gradient(180deg, #0A2540 0%, #081c33 100%);
}

.depoimentos-slider {
  overflow: hidden;
}

.depoimentos-track {
  display: flex;
  gap: 24px;
  transition: transform 0.4s ease;
}

.depoimento-card {
  flex: 0 0 auto;
  width: 320px;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  background: #000;
  position: relative;
}

.depoimento-card img {
  width: 100%;
  display: block;
  border-radius: 18px;
}

/* play icon */
.depoimento-card::after {
  content: "▶";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  color: #fff;
  background: rgba(0,0,0,0.25);
}

/* dots */
.depoimentos-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.depoimentos-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
}

.depoimentos-dots span.active {
  background: #fff;
}

/* ======================================================
   MODAL DE VÍDEO
   ====================================================== */

.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.video-modal.active {
  display: flex;
}

.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 720px;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
}

.video-modal-frame iframe {
  width: 100%;
  height: 405px;
  border: none;
}

.video-modal-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

/* MOBILE */
@media (max-width: 768px) {
  .depoimento-card {
    width: 85vw;
  }
}




/* ======================================================
   IGC – VÍDEOS INSTITUCIONAIS
   ====================================================== */

.igc-videos {
  background: linear-gradient(180deg, #0A2540 0%, #081c33 100%);
}

.igc-videos-slider {
  overflow: hidden;
}

.igc-videos-track {
  display: flex;
  gap: 24px;
  transition: transform 0.4s ease;
}

.igc-video-card {
  flex: 0 0 auto;
  width: 320px;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  cursor: pointer;
  position: relative;
}

.igc-video-card img {
  width: 100%;
  display: block;
  border-radius: 18px;
}

.igc-video-card::after {
  content: "▶";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  color: #fff;
  background: rgba(0,0,0,0.25);
}

/* dots */
.igc-videos-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.igc-videos-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
}

.igc-videos-dots span.active {
  background: #ffffff;
}

/* ======================================================
   MODAL – IGC VIDEO
   ====================================================== */

.igc-video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.igc-video-modal.active {
  display: flex;
}

.igc-video-modal-content {
  position: relative;
  width: 90%;
  max-width: 720px;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
}

.igc-video-frame iframe {
  width: 100%;
  height: 405px;
  border: none;
}

.igc-video-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

/* MOBILE */
@media (max-width: 768px) {
  .igc-video-card {
    width: 85vw;
  }
}

/* ======================================================
   MODAL DE VÍDEO — PRODUTO (ISOLADO)
   NÃO CONFLITA COM NADA DO SITE
   ====================================================== */

.produto-video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

.produto-video-modal.is-active {
  display: flex;
}

.produto-video-box {
  position: relative;
  width: 90%;
  max-width: 720px;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
}

.produto-video-box video,
.produto-video-box iframe {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.produto-video-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
}



/* ============================================================
   MODAL DE VÍDEO — PRODUTO (ISOLADO / SEM CONFLITO)
   ============================================================ */

.produto-video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.produto-video-content {
  position: relative;
  background: #000;
  border-radius: 16px;
  width: 90%;
  max-width: 720px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.produto-video-content video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.produto-video-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}




/* =========================================================
   EQUIPE — DESKTOP SEM AUTOPLAY (ISOLADO, SEM JS)
   ========================================================= */
@media (min-width: 1024px) {

  /* neutraliza qualquer transform do JS */
  .institucional-equipe .equipe-track {
    transform: none !important;
    overflow: hidden;
  }

  /* mostra exatamente 3 cards */
  .institucional-equipe .equipe-card {
    display: none;
  }

  /* cards visíveis por "página" simulada */
  .institucional-equipe .equipe-card:nth-child(-n+3) {
    display: block;
  }

  /* quando o JS muda o transform, o layout NÃO quebra */
  .institucional-equipe .equipe-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

}

