/* ===== Base ===== */
:root{
  --nav-gap: 85vh;          /* ajuste aqui o espaço entre logo e hambúrguer */
  --nav-height: 90px;       /* altura da faixa do menu quando aberto (desktop) */
  --blur: 5px;              /* intensidade do blur do fundo */

  --header-height: 56px;    /* altura mínima da barra */
  --z-header: 2000;
  --z-menu: 1500;
  --z-hamburger: 2100;
}
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  background: #000;
  color: #fff;
}

/* ===== Header + barra fixa com blur ===== */
header.nav { position: sticky; top: 55px; z-index: 1000; }

.nav-inner{
  position: fixed; top: 0; left: 0; width: 100%;
  z-index: var(--z-header);
  display: flex; align-items: center; justify-content: center; /* centraliza logo + hambúrguer */
  gap: var(--nav-gap); 
  padding: 14px 20px; min-height: var(--header-height);

  background: transparent;
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
}
.logo{ font-weight: 800; font-size: 18px; }

/* ===== Botão Hambúrguer (participa do layout centralizado) ===== */
.hamburger{
  appearance: none; background: transparent; border: 0;
  padding: 10px; border-radius: 10px;
  display: inline-flex; flex-direction: column; gap: 5px;
  width: 40px; height: 40px; align-items: center; justify-content: center;
  cursor: pointer; outline-offset: 2px;

  position: relative;                 /* permanece no fluxo */
  z-index: var(--z-hamburger);        /* fica acima do menu para fechar */
  right: auto; top: auto;
}
.hamburger span{
  width: 26px; height: 2px; background: #fff; display: block;
  transition: transform .25s, opacity .25s;
}
.hamburger[aria-expanded="true"] span:nth-child(1){ transform: translateY(6px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }

/* ===== MENU: oculto por padrão; aparece com .open ===== */
/* Desktop: faixa no topo com blur e links em linha */
.nav-menu{
  position: fixed; top: 0; left: 0; width: 90%;
  height: var(--nav-height);
  display: flex; align-items: center; justify-content: center;

  /* oculto por padrão */
  transform: translateY(-100%);
  opacity: 0.001;
  pointer-events: none;

  transition: transform .28s ease, opacity .28s ease;

  z-index: var(--z-menu);
  background: transparent;
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  
  padding: 0 129px;
}
.nav-menu.open{
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.nav-menu ul{
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 16px; align-items: center;
}
.nav-menu a{
  color: #fff; text-decoration: none;
  font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  white-space: nowrap; padding: 8px 2px;
}
.nav-menu a:hover{ opacity: .85; }

/* ===== MOBILE: painel em coluna ocupando a tela ===== */
@media (max-width: 979px){
  .nav-inner{ gap: 125px;  width: 80%;}

  .nav-menu{
    height: 100vh; left: 0; right: 0; width: 100%;
    justify-content: flex-start; align-items: flex-start;
    padding: 88px 24px 24px;       /* espaço p/ a barra fixa e conteúdos */
    background: rgba(0,0,0,.40);
    border-bottom: none;
    overflow-y: auto;
  }
  .nav-menu ul{ flex-direction: column; gap: 18px; }
  .nav-menu a{ font-size: 22px; padding: 6px 0; }
}

/* ===== HERO (se usar vídeo de fundo) ===== */
#hero{
  position: relative; isolation: isolate;
  min-height: 90vh;
  display: flex; align-items: flex-end; justify-content: center;
}
#hero iframe{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
#hero .overlay{ position: absolute; inset: 0; background: rgba(0,0,0,.6); z-index: -1; }
#hero .content {
  margin-bottom: 50px; width: 851px; padding: 20px;
  display: flex; gap: 150px; align-items: flex-end;
}
@media (max-width: 760px){
  #hero .content { width: 100%; padding: 20px; gap: 50px;flex-direction: column;align-items: center; }
  .conheca { position: relative; left: -67px;}
  #hero{min-height: 82vh;}
}

/* ===== Elementos auxiliares (ex.: seção com CTA) ===== */
.conheca-text { width: 80px; white-space: nowrap; font-size: 1.5vh; text-overflow: ellipsis; }
.conheca { display: flex; align-items: center; gap: 10px; }

/* ===== Indicador (seta/scroll) – opcional ===== */
.scroll-indicator{
  transform: translateX(-50%);
  font-size: 2.5vh;
  color: #fff; text-decoration: none;
  animation: bounce 1.5s infinite;
  display: flex; justify-content: center; align-items: center; gap: 6px;
}
@keyframes bounce {
  0%,20%,50%,80%,100% { transform: translate(-50%, 0); }
  40% { transform: translate(-50%, -10px); }
  60% { transform: translate(-50%, -5px); }
}

.about {
  position: relative;
  min-height: 530px;
  display: flex;
  align-items: center;
  background: url("../img/logo-bg-black.png") no-repeat center top;
  background-size: 100% auto;
}

.about::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.05); /* leve véu claro */
  z-index: 0;
}

.about > * {
  position: relative;
  z-index: 1; /* garante que o conteúdo fica acima do overlay */
}
.about-title{
  font-size:3vh;
  line-height:1.7;
  margin:0 0 10px;
  color:white;
}

.about-div{
    width: 450px;
    padding: 20px;
    left: 40vh;
}
@media (max-width: 760px){
  .about-div{
    width: 100%;
  }
}

.about-text
{
  
  max-width:800px;
  margin:8px 0 0;
  line-height:1.9;
}


/* ====== SPEAKERS SECTION ====== */
/* troque a URL abaixo para sua imagem da faixa superior */
:root { --speakers-hero-h: 260px;  }

.speakers {
  background: #000000; color: #eaecef; font-family: "Manrope", sans-serif;
  border-top: 1px solid #222;
}

/* faixa superior */
.speakers-hero {
  height: var(--speakers-hero-h);
  background-image: url("../img/bg-speaker.png");
  background-size: cover;
  background-position: center;
  filter: grayscale(100%);
  opacity: .85;
}

/* container */
.speakers-wrap {
  max-width: 1200px; margin: 0 auto; padding: 48px 24px 72px;
  margin-top: -155px;position: relative;
}

/* card de cada pessoa – grid 3 colunas (foto | nome/resumo | bio longa) */
.speaker {
 
    display: grid;
    grid-template-columns: 280px 1fr 1.1fr;
    gap: 36px;
    align-items: end;
    background: transparent;
    padding: 24px 0;
    justify-items: end;

}

/* foto com borda clara sutil como no layout */
.speaker-photo {
  margin: 0;
  width: 23vh; height: auto;
  border-radius: 6px; overflow: hidden;
  box-shadow: 0 0 0 6px rgba(255,255,255,0.06);
}
.speaker-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* bloco central (nome grande + resumo curto) */
.speaker-main { padding-top: 10px; }
.speaker-name {
  font-weight: 800;
  font-size: clamp(28px, 4vw + 8px, 48px);
  line-height: 1.05;
  margin: 0 0 12px;
  color: #fff;
}
.speaker-summary {
  margin: 0; color: #cfd3d8; max-width: 360px; line-height: 1.6;
  font-size: 15px;
}

/* bio longa à direita */
.speaker-bio {
      padding-top: 0px;
    color: #cfd3d8;
    line-height: 1.75;
    font-size: 15px;
    max-width: 380px;
    
    position: relative;
    top: 17px;
}
.speaker + .speaker { margin-top: 56px; } /* espaçamento entre blocos */

/* responsivo */
@media (max-width: 1100px) {
  .speaker { grid-template-columns: 240px 1fr 1fr; gap: 28px; }
  .speaker-photo { width: 23vh; height: auto; }
}
@media (max-width: 860px) {
  .speakers-hero { height: 200px; }
  .speaker {
    grid-template-columns: 160px 1fr;
    grid-template-areas:
      "photo main"
      "bio   bio";
    gap: 20px;
  }
  .speaker-photo { width: 23vh; height: auto; grid-area: photo; box-shadow: 0 0 0 4px rgba(255,255,255,0.06); }
  .speaker-main { grid-area: main; }
  .speaker-bio { grid-area: bio; }
}
@media (max-width: 520px) {
  .speaker {
    grid-template-columns: 1fr;
    grid-template-areas:
      "photo"
      "main"
      "bio";
      justify-items: flex-start;
  }
  .speaker-name {
    font-size: 5.5vh;
  }
  .speaker-summary {
    font-size: 2.3vh;
  }
  p{
    font-size: 2.3vh;
  }

   .speaker-main, .speaker-bio { width: 100%; }
  .speaker-photo { height: 280px; }
}
.diagram {
  padding: 72px 20px;
  
  background: url("../img/end-section.jpg") no-repeat center top ;
  background-size: 328px 61px;
  background-color: #0f0f0f;
   background-position: center -2px; 
}
.ecosistema {
  max-width: 1200px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center;
}
@media (max-width: 760px){
  .ecosistema {
    transform: scale(0.5);     /* aumenta em 130% */
    transform-origin: center;  /* centraliza o zoom */
    
  }
  .about-div{
    left: 0px;
  }
}
/***** Black *****/

:root { --black-hero-h: 260px; --bg-url: ; }

.black {
  background: #000000; color: #eaecef; font-family: "Manrope", sans-serif;
  border-top: 1px solid #222;
}

/* faixa superior */
.black-hero {
  background: url("../img/grupo-black.png") center/cover no-repeat !important;
  height: 260px !important;
  opacity: 1 !important;
  filter: none !important;
  outline: 1px dashed rgba(255,255,255,.25); /* só pra ver a área */
    position: relative;
  z-index: 0;   
}
.grupo-black-img{
  width: 100%;
}

/* faixa superior */
.black-hero-teste {
  opacity: 1 !important;
  filter: none !important;
  position: relative;
  z-index: 0;   
}

/* container */
.black-wrap {
  position: relative;
  z-index: 1;            /* conteúdo acima do hero */
  margin-top: -7vh;    /* seu offset, ok */
  background: transparent;
}
@media (max-width: 760px){
  .black-wrap-02 {
    flex-direction: column-reverse;
  }
}

/* container */
.black-wrap-02 {
  position: relative;
  z-index: 1;            /* conteúdo acima do hero */
  margin-top: -7vh;    /* seu offset, ok */
  background: transparent;
  display: flex;
  gap: 16vh;
}

/* card de cada pessoa – grid 3 colunas (foto | nome/resumo | bio longa) */
.black {
 
    display: flex;
    grid-template-columns: 280px 1fr 1.1fr;
    gap: 36px;
    align-items: end;
    background: transparent;
    justify-items: end;
    flex-direction: column;
    align-items: center;
}

/* foto com borda clara sutil como no layout */
.black-photo {
  margin: 0;
  width: 49vh; height: auto;
  
}
.black-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* bloco central (nome grande + resumo curto) */
.black-main { padding-top: 10px; }
.black-name {
  font-weight: 800;
  font-size: clamp(28px, 4vw + 8px, 48px);
  line-height: 1.05;
  margin: 0 0 12px;
  color: #fff;
}
.black-summary {
  margin: 0; color: #cfd3d8; max-width: 360px; line-height: 1.6;
  font-size: 15px;
}

/* bio longa à direita */
.black-bio {
      padding-top: 0px;
    color: #cfd3d8;
    line-height: 1.75;
    font-size: 15px;
    max-width: 380px;
    position: relative;
    top: -39px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.black-bio img{
  width: 32vh;
}

 p{
  color:#B6B4B4;
}
.black + .black { margin-top: 56px; } /* espaçamento entre blocos */

/* responsivo */
@media (max-width: 1100px) {
  .black { grid-template-columns: 240px 1fr 1fr; gap: 28px; }
  .black-photo { width: 49vh; height: auto; }
}
@media (max-width: 860px) {
  .black-hero { height: 200px; }
  .black {
    grid-template-columns: 160px 1fr;
    grid-template-areas:
      "photo main"
      "bio   bio";
    gap: 20px;
  }
  .black-photo { width: 49vh; height: auto; grid-area: photo; box-shadow: 0 0 0 4px rgba(255,255,255,0.06); }
  .black-main { grid-area: main; }
  .black-bio { grid-area: bio; }
}
@media (max-width: 520px) {
  .black {
    grid-template-columns: 1fr;
    grid-template-areas:
      "photo"
      "main"
      "bio";
  }
  .black-photo, .black-main, .black-bio { width: 100%; max-width:100%;flex-direction: row;}
  .black-photo { height: 280px; }
}
.bloco-black{
  display:flex;
  gap: 6vh;
}
@media (max-width: 760px){
  .bloco-black{
    flex-direction: column;
    align-items: center;
  }
}
.black-grid{
  display:flex;
  flex-direction:column;
  gap: 2vh;
}
.black-grid-down{
  display:flex;
  flex-direction:row;
  gap: 2vh;
}

@media (max-width: 760px){
  .black-grid{
    width: 80%;
  }
  .black-grid-down{
    width: 80%;
  }
}
.ment-black-img-01{
  width: 19vh;
}
.ment-black-img-02{
  width: 28vh;
}
@media (max-width: 760px){
  .ment-black-img-01{
  width: 45%;
}
.ment-black-img-02{
  width: 74%;
}
}
.black-link{
  color: #309EFF;
  font-size: 2vh;
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  white-space: nowrap;
  padding: 8px 2px;
  transition: color .3s;
}
.my-rotate {
  display: inline-block;
  transform: rotate(45deg); /* gira 45 graus */
}

.ment-blue-img-01{
  width: 23.5vh;
}
.ment-blue-img-02{
  width: 23.5vh;
}
@media (max-width: 760px){
  .ment-blue-img-01{
    width: 59%;
  }
  .ment-blue-img-02{
    width: 59%;
  }
}

.eco-text {
  position: absolute;
 
  left: 50%;
  transform: translateX(-50%); /* centralizar horizontalmente */
  font-size: 3.5vh;
  line-height: 1.7;
  text-align: center;
  font-weight: 400;
  color: white;
  margin-top: 70px;
}

/* ===== Section base (igual ao anterior) ===== */
.pillars{
  --bg:#e0e0e0; --card:#151515; --muted:#8c8f93;
  --curve-depth:86px; --curve-width:520px; --radius:18px;
  background-color:var(--bg) !important; position:relative; padding-bottom:56px;
  font-family:'Manrope',system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
   padding: 72px 20px;
  
  background: url("../img/end-section-02.png") no-repeat center top ;
  background-size: 328px 61px;
  
   background-position: center -2px;
   padding-bottom: 0px;
}
.pillars-curve{ position:relative; height:var(--curve-depth); background:#000; }

.pillars-dot{ position:absolute; left:50%; top: calc(var(--curve-depth)*-0.25);
  transform:translateX(-50%); width:34px; height:34px; border-radius:999px;
  background:#efe9e6; display:grid; place-items:center; color:#815c3f; text-decoration:none; font-size:14px;
  box-shadow:0 2px 10px rgba(0,0,0,.35);
}
.pillars-container{ max-width:1240px; margin:0 auto; padding:28px 20px 0; }
.pillars-head{ text-align:center; margin:28px auto 36px; }
.pillars-head h2{ margin:0 0 10px; color:#0b0b0b; font-weight:400; letter-spacing:.01em;
  font-size:clamp(22px,2.4vw + 10px,40px); }
.pillars-head .pillars-sub{ color:var(--muted); margin:0; line-height:1.6; font-size:17px; }

/* ===== Grid desktop/tablet ===== */
.pillars-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:12px;
  align-items:stretch; margin-top:36px; padding:0 8px;
}
.pillar-card{
  background:var(--card); 
  padding:28px; color:#fff; position:relative; min-height:260px;
  display:flex; align-items:flex-start;
}
.pillar-card:hover{ 
  background: #fff;       /* fundo branco */
  color: #000;            /* texto preto para contraste */
  box-shadow: 0 2px 10px rgba(255,255,255,0.6); /* sombra suave opcional */
  transition: all 0.3s ease; /* transição suave */
}
.pillar-card h3{ margin:0; font-weight:400; line-height:1.3; font-size:clamp(18px,1.2vw + 10px,22px); }
.pillar-icon{ position:absolute; left:18px; bottom:16px; color:#8b8e93; font-size:22px; }

/* ===== Mobile: vira carrossel ===== */
@media (max-width: 620px){
  .pillars-curve::before{ width:360px; }

  /* viewport posiciona botões */
  .pillars-viewport{ position:relative; }

  /* track do carrossel */
  .pillars-grid{
    display:flex; gap:14px; margin: 28px 0 0;
    padding: 0 8px;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .pillars-grid::-webkit-scrollbar{ display:none; }

  .pillar-card{
    flex: 0 0 80%;               /* cada slide ocupa ~80% da tela */
    scroll-snap-align: center;   /* trava no centro */
    min-height: 220px;
    max-width: 250px;
  }
  .pillars-viewport{
       display: grid;
  }

  /* botões de navegação */
  .pillars-nav{
    position:absolute; top:50%; transform:translateY(-50%);
    background: rgba(0,0,0,.55); border:0; color:#fff;
    width:34px; height:34px; border-radius:50%;
    display:grid; place-items:center; cursor:pointer;
  }
  .pillars-nav.prev{ left:6px; }
  .pillars-nav.next{ right:6px; }
}

/* ===== Footer ===== */
.site-footer{
  background:#000;           /* fundo preto do rodapé */
  border-top:1px solid #222; /* linha sutil como no print */
  color:#cfcfcf;
  font-family:'Manrope', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
.footer-inner{
  max-width:1240px;
  margin:0 auto;
  padding:36px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}

/* Esquerda: marca + frase */
.footer-left{
  display:flex;
  align-items:center;
  gap:18px;
}
.footer-left .brand{
  font-family: inherit;      /* troque por sua fonte/asset se tiver logotipo */
  font-weight:800;
  font-size:32px;
  color:#bfbfbf;             /* cinza claro da marca */
  letter-spacing:.5px;
}
.logo-footer{
  width: 10vh;
}



.footer-left .tagline{
  color:#bdbdbd;
  font-size:14px;
  opacity:.85;
}

/* Direita: email + ícones */
.footer-right{
  display:flex;
  align-items:center;
  gap:20px;
}
.footer-email{
  color:#cfcfcf;
  text-decoration:none;
  font-size:14px;
}
.footer-email:hover{ text-decoration:underline; }

/* Ícones (você troca as imagens) */
.footer-icons{
  display:flex; align-items:center; gap:16px;
}
.footer-icons img{
  width:22px; height:22px; display:block;
  filter: grayscale(100%) brightness(1.8); /* igual ao tom do print */
  transition: opacity .2s ease;
}
.footer-icons a:hover img{ opacity:.8; }

/* Responsivo */
@media (max-width: 760px){
  .footer-inner{
    flex-direction:column;
    display: flex;
    align-items:flex-start;
    gap:14px;
    max-width: 330px;
  }
  .footer-right{
    width:100%;
    justify-content:space-between;
  }
    .eco-text {
    font-size: 3vh;
    line-height: 1.2;
    margin-top: -364px;
    width: 60%;

  }
  .conteudo{
    display:flex;
    align-items: center;
    justify-content: center;
    height: 56vh;
  }
}


.hero-video{
  display: none;
  display: block;
}
.hero-video-mobile
{
  display: none;
}
@media (max-width: 760px){
  .hero-video{
    display: none;
  }
  .hero-video-mobile
  {
    
    display: block;
  }
  .about-div{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap:10px
  }
}


/* 1) Nunca estoure por causa de padding */
*,
*::before,
*::after { box-sizing: border-box; }

/* 2) Proteção global contra “scroll” horizontal acidental */
html, body { overflow-x: hidden; }

/* 3) Hero sempre dentro da viewport */
#hero .content { max-width: 100%; }

/* 4) Mídia responsiva */
img, video, iframe { max-width: 100%; height: auto; display: block; }

/* 5) nav-menu: não ultrapassar 100% no mobile */
@media (max-width: 979px){
  .nav-inner{
    gap: 140px;              /* gap mais seguro */
    width: 100%;            /* não use 80% aqui */
    padding-left: 16px;
    padding-right: 16px;
  }

  .nav-menu{
    left: 90px; right: 0;
    width: 100%;
    padding: 88px 24px 24px;
    box-sizing: border-box; /* garante 100% incluindo padding */
    max-width: 100vw;       /* trava no viewport */
  }
}

/* 6) Versão desktop: evite que o padding some à largura */
.nav-menu{
  box-sizing: border-box;
  max-width: 100vw;
}

/* 7) Evita que qualquer container interno cause overflow por gap/position */
.container, .speakers-wrap, .black-wrap, .black-wrap-02, .pillars-container {
  max-width: 1117px;
}
.pillars-viewport
{
  max-width: 1000px;
 
}

