* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: #192e4e;
  color: #FFFFFF;
  min-height: 100vh;
  overflow-x: hidden;
}

body.dark-mode {
  background-color: #f0f0f0;
  color: #0A2342;
}

.interface {
  max-width: 1200px;
  margin: 0 auto;
}

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

/* === CABEÇALHO === */
header {
  padding: 32px 5%;
  background-color: transparent;
  position: relative;
  z-index: 10;
}

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

header nav ul {
  list-style: none;
  display: flex;
  gap: 40px;
  font-size: 16px;
}

header nav ul li {
  position: relative;
  transition: transform 0.4s ease, color 0.4s ease;
}

header nav ul li:hover {
  transform: scale(1.15);
}

header nav ul li::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  width: 60%;
  height: 2px;
  background-color: #f09a04;
  transition: transform 0.4s ease;
  border-radius: 2px;
}

header nav ul li:hover::after {
  transform: translateX(-50%) scaleX(1);
}

header a {
  color: #E0E0E0;
  text-decoration: none;
}

header a:hover,
header nav a.active-menu {
  color: #f09a04;
  font-weight: 600;
}

.main-logo {
  width: 195px;
  transition: transform 0.5s ease;
}

.main-logo:hover {
  transform: scale(1.08);
}

#subclass {
    display: block;
    margin: -15px auto 0 -15px; 
    width: 230px;     /* fica sempre menor */
    height: auto;
    transition: transform 0.5s ease;
    
}

#subclass:hover{
   transform: scale(1.08)
}


/* === TÍTULOS === */
h2.titulo {
  color: #FFFFFF;
  font-size: 36px;
  text-align: center;
  font-weight: 700;
  margin-bottom: 50px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-shadow: 2px 2px 8px rgba(244, 180, 0, 0.7);
}

h2.titulo::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #f09a04;
  margin: 10px auto 0;
  border-radius: 2px;
}

/* === BOTÕES DE REDES SOCIAIS === */
.topo-do-site .social-btns {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.topo-do-site .social-btns a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: #0E2E5C;
  color: #f09a04;
  font-size: 1.4rem;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  text-decoration: none;
}

.topo-do-site .social-btns a:hover {
  background-color: #f09a04;
  color: #0A2342;
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Responsividade */
@media screen and (max-width: 768px) {
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #192e4e; /* mesma cor do topo */
    padding: 20px 5%;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  }
}
/* === TOPO DO SITE === */
section.topo-do-site {
  padding-top: 45px; /* aumenta espaço para header fixo */
}

section.topo-do-site .flex {
  gap: 60px;
  justify-content: center;
}

.topo-do-site .txt-topo-site {
  max-width: 600px;
  line-height: 1.7;
  font-size: 1.1rem;
  color: #E0E0E0;
}

.topo-do-site .txt-topo-site h1 {
  font-size: 46px;
  color: #f09a04;
  margin-bottom: 25px;
  font-weight: 700;
}

.topo-do-site .txt-topo-site p {
  margin-bottom: 30px;
  text-align: justify;
}

.topo-do-site .img-topo-site img {
  width: 100%;
  max-width: 360px; /* nunca fica maior que 360px */
  height: auto;     /* mantém proporção */
  border-radius: 50%;
  object-fit: cover;
  animation: flutuar 2.5s ease-in-out infinite alternate;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

@keyframes flutuar {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(18px);
  }
}

/* === SOBRE ROGÉRIO === */
section.sobre-rogerio {
  padding: 100px 0;
  background-color: #192e4e;
}

.sobre-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
}

.img-sobre img {
  width: 360px;
  height: 360px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  animation: flutuar 2.5s ease-in-out infinite alternate;
}

.txt-sobre {
  max-width: 600px;
  line-height: 1.8;
  font-size: 1.1rem;
  color: #E0E0E0;
  text-align: justify;
}

.txt-sobre p {
  margin-bottom: 20px;
}

.txt-sobre .txt-destaque {
  color: #f09a04;
  font-weight: 600;
  font-size: 1.2rem;
  margin-top: 15px;
  display: block;
}

/* === SEÇÃO DE EXPERTISE === */
section.especialidades {
  padding: 100px 0;
  background-color: #192e4e;
  position: relative;
  overflow: hidden;
}

.sub-titulo-expertise {
  font-size: 1.15rem;
  line-height: 1.9;
  color: #d9d9d9;
  max-width: 850px;
  margin: 0 auto 70px;
  text-align: justify;
  font-weight: 400;
}

.grid-expertise {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  justify-items: center;
  align-items: stretch;
  width: 100%;
}

.especialidades-box {
  background: linear-gradient(145deg, #1a2f52, #142848);
  padding: 40px 30px;
  border-radius: 18px;
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  text-align: center;
  color: #e0e0e0;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.especialidades-box::before {
  content: '';
  position: absolute;
  top: -120%;
  left: -120%;
  width: 240%;
  height: 240%;
  background: radial-gradient(circle at center, rgba(240, 154, 4, 0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.especialidades-box:hover::before {
  opacity: 1;
}

.especialidades-box i {
  font-size: 58px;
  color: #f09a04;
  margin-bottom: 18px;
  transition: transform 0.4s ease;
}

.especialidades-box:hover i {
  transform: scale(1.15);
}

.especialidades-box h3 {
  font-size: 1.3rem;
  color: #f09a04;
  margin-bottom: 15px;
  font-weight: 600;
}

.especialidades-box p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
}

/* === HOVER GERAL === */
.especialidades-box:hover {
  transform: translateY(-8px);
  border-color: #f09a04;
  box-shadow: 0 10px 30px rgba(240, 154, 4, 0.35);
}

/* === DESTAQUE === */
.especialidades-box.destaque {
  background: linear-gradient(145deg, #f09a04, #c47b02);
  border: 2px solid #f09a04;
  color: #0a2342;
  grid-column: 1 / -1;
  max-width: 700px;
  padding: 55px 35px;
  text-align: center;
  box-shadow: 0 0 30px rgba(240, 154, 4, 0.6);
  animation: brilhoDestaque 3s ease-in-out infinite alternate;
  border-radius: 20px;
}

@keyframes brilhoDestaque {
  0% { box-shadow: 0 0 25px rgba(240, 154, 4, 0.5); }
  100% { box-shadow: 0 0 45px rgba(240, 154, 4, 0.9); }
}

/* === MÍDIA === */
section.midia { 
  padding: 100px 5%; /* cria respiro lateral em todas as telas */
  background-color: #192e4e; 
  text-align: center; 
} 
.midia .descricao { font-size: 1.1rem; line-height: 1.7; color: #d9d9d9; max-width: 850px; margin: 0 auto 60px; text-align: justify; }
.midia .videos { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; } 
.midia .video { position: relative; width: 280px; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); transition: transform 0.3s ease; } 
.midia .video img { width: 100%; height: auto; display: block; transition: transform 0.3s ease; } 
.midia .video:hover img { transform: scale(1.05); }
/* === EXPERIÊNCIA === */
section.experiencia { background-color: #192e4e; padding: 100px 5%; } 
.experiencia .titulo { color: #d9d9d9; text-align: center; font-size: 2.4rem; font-weight: 700; margin-bottom: 60px; letter-spacing: 1px; } /* Grid dos cards */
.experiencia .grid-expertise { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 35px; justify-items: center; } /* Cards */
.experiencia .experience-card { display: flex; align-items: center; background-color: #192e4e; border: 1.5px solid rgba(244, 180, 0, 0.3); border-radius: 18px; padding: 25px 20px; box-shadow: 0 4px 15px rgba(0,0,0,0.25); transition: all 0.3s ease; max-width: 380px; }
.experiencia .experience-card:hover { transform: translateY(-6px); border-color: #f09a04; box-shadow: 0 6px 25px rgba(244, 180, 0, 0.3); } /* Logo */ 
.experiencia .logo { flex-shrink: 0; width: 70px; height: 70px; margin-right: 20px; display: flex; align-items: center; justify-content: center; } 
.experiencia .logo img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; } /* Detalhes */ 
.experiencia .details h3 { color: #f09a04; font-size: 1.3rem; margin-bottom: 10px; } 
.experiencia .details h4 { color: #f09a04; font-size: 1rem; margin-bottom: 15px; font-weight: 500; }
.experiencia .details .period { font-size: 0.95rem; line-height: 1.6; color: rgba(255,255,255,0.85); margin-bottom: 10px; } 
.experiencia .details .summary { font-size: 0.95rem; line-height: 1.6; color: rgba(255,255,255,0.85); } /* Responsividade */ @media screen and (max-width: 768px){ 
.experiencia .titulo { font-size: 2rem; } 
.experiencia .experience-card { flex-direction: column; align-items: flex-start; padding: 20px; } 
.experiencia .logo { margin-bottom: 15px; margin-right: 0; } }

/* === CONVITE === */
section.convite {
  background-color: #192e4e;
  padding: 100px 5%;
}

.convite-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
  align-items: center;
  justify-items: center;
}

.convite-foto img {
  width: 100%;
  max-width: 400px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
  border-radius: 50%;
  object-fit: cover;
}

.convite-conteudo {
  text-align: left;
  max-width: 500px;
}

.convite-conteudo .titulo {
  font-size: 2.5rem;
  color: #f09a04;
  margin-bottom: 25px;
}

.convite-conteudo .descricao {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin-bottom: 30px;
}

.btn-contato {
  display: inline-block;
  background-color: #f09a04;
  color: #0A2342;
  font-weight: 700;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
  transition: all 0.3s ease;
  margin-left: 140px;
  animation: flutuar 3s ease-in-out infinite alternate;
}

.btn-contato:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 25px rgba(244, 180, 0, 0.5);
}

/* === ANIMAÇÕES GERAIS === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

body {
  transition: background-color 0.5s ease, color 0.5s ease;
}

.timeline-content {
  max-height: 200px;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.5s ease;
}

/* === MENU HAMBÚRGUER === */
.menu-toggle {
  display: none;
  font-size: 2rem;
  color: #f09a04;
  cursor: pointer;
  transition: transform 0.3s ease, color 0.3s ease;
}

.menu-toggle:hover {
  transform: scale(1.1);
  color: #fff;
}

/* Mostra o hambúrguer e oculta o menu normal em telas pequenas */

.menu-toggle {
  display: none;
  font-size: 2rem;
  color: #f09a04;
  cursor: pointer;
  transition: transform 0.3s ease, color 0.3s ease;
  z-index: 1100; /* garante que o ícone sempre fique acima de tudo */
}

.menu-toggle:hover {
  transform: scale(1.1);
  color: #fff;
}

/* Mostra o hambúrguer e oculta o menu normal em telas pequenas */
@media screen and (max-width: 768px) {
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(10, 35, 66, 0.95);
    padding: 20px 5%;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  }

  .menu-toggle {
    display: block;
  }

  header nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: #0E2E5C;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transition: right 0.4s ease;
    box-shadow: -4px 0 25px rgba(0,0,0,0.4);
    z-index: 100;
  }

  header nav.active {
    right: 0;
  }

  header nav ul {
    flex-direction: column;
    gap: 25px;
  }

  header nav ul li {
    font-size: 1.2rem;
  }
}

/* === EFEITO 3D LEVE NOS CARDS DE EXPERIÊNCIA === */
.experiencia .grid-expertise {
  perspective: 1000px;
}

.experiencia .experience-card {
  transform-style: preserve-3d;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}

.experiencia .experience-card:hover {
  transform: rotateY(8deg) rotateX(4deg) scale(1.05);
  box-shadow: 0 10px 30px rgba(240, 154, 4, 0.35);
  border-color: #f09a04;
}

/* Leve profundidade no conteúdo interno */
.experiencia .experience-card .details,
.experiencia .experience-card .logo {
  transform: translateZ(20px);
  transition: transform 0.3s ease;
}

.experiencia .experience-card:hover .details,
.experiencia .experience-card:hover .logo {
  transform: translateZ(35px);
}

/* === DESTAQUE DO CARD C-LEVEL === */
.especialidades-box.destaque {
  background-color: #FFD43B; /* mantém o amarelo do card */
  box-shadow: 0 0 20px rgba(255, 212, 59, 0.4);
  transform-style: preserve-3d;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.especialidades-box.destaque:hover {
  transform: rotateX(6deg) rotateY(6deg) scale(1.03);
  box-shadow: 0 0 30px rgba(255, 212, 59, 0.5);
}

/* Texto do título C-Level */
.especialidades-box.destaque .titulo-destaque {
  color: #0A2342;
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
  margin-bottom: 15px;
  text-align: center;
}

/* Parágrafo dentro do card */
.especialidades-box.destaque p {
  color: #0A2342;
  font-weight: 500;
}


.menu-toggle {
  z-index: 9999 !important;
  position: fixed;
  top: 20px;
  right: 20px;
  cursor: pointer;
  font-size: 28px;
  background: transparent;
  color: #fff;
}


@media screen and (max-width: 480px) {

  .main-logo, 
  #subclass {
    display: block;
    margin: 0 auto;      /* centraliza horizontalmente */
    max-width: 230px;    /* ajusta tamanho proporcional */
    height: auto;
  }

  /* Se as duas imagens estiverem dentro de um container */
  .logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px; /* espaçamento entre as imagens */
  }
  /* Reduz padding do header */
  header {
    padding: 15px 5%;
  }

  /* Logo menor */
  .logo img {
    width: 130px;
  }

  /* Ícone do menu melhor posicionado */
  .menu-toggle {
    top: 15px;
    right: 15px;
    font-size: 26px;
  }

  /* Ajusta espaçamento dos links */
  header nav ul li {
    font-size: 1rem;
  }

  /* Ajusta textos grandes */
  h2.titulo {
    font-size: 28px;
  }

  .topo-do-site .txt-topo-site h1 {
    font-size: 32px;
  }

  .topo-do-site .txt-topo-site p,
  .txt-sobre p,
  .convite-conteudo .descricao {
    font-size: 1rem;
    line-height: 1.6;
  }

  /* Imagens circulares menores */
  .topo-do-site .img-topo-site img,
  .img-sobre img {
    width: 260px;
    height: 260px;
  }

  /* Botão de contato centralizado e mais acessível */
  .btn-contato {
    display: block;               /* força ocupar apenas o necessário */
    width: auto;                  /* largura automática, não esticada */
    max-width: 220px;             /* limita largura para não ficar gigante */
    margin: 20px auto 0 auto;     /* centraliza horizontalmente */
    padding: 12px 25px;           /* reduz tamanho interno */
    font-size: 1rem;              /* mantém legível */
    text-align: center;           /* garante que o texto fique centralizado */
    box-sizing: border-box;       /* inclui padding dentro da largura */
  }

  /* Cards com menos espaço lateral */
  .especialidades-box {
    padding: 30px 20px;
  }

  /* Vídeos responsivos */
  .midia .video {
    width: 70%;         /* ocupa menos espaço horizontal */
    max-width: 280px;   /* garante que não fique maior que o normal */
    margin: 0 auto;     /* centraliza o vídeo */
  }

  /* Seções com padding reduzido */
  section {
    padding: 70px 5%;
  }

   .txt-sobre {
    padding: 0 15px; /* adiciona espaço nas laterais */
  }

  /* Texto da sessão Expertise / Especialidades */
  .sub-titulo-expertise {
    padding: 0 15px; /* evita que o texto fique colado nas bordas */
  }
}


@media screen and (max-width: 1024px) and (min-width: 769px) {
  /* Ajuste de layout do topo */
  section.topo-do-site .flex {
    flex-direction: column-reverse;
    text-align: center;
    gap: 40px;
  }

  .topo-do-site .txt-topo-site {
    max-width: 90%;
  }

  .img-sobre img {
    width: 300px;
    height: 300px;
  }

  .sobre-flex {
    gap: 50px;
  }

  .convite-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .convite-conteudo {
    max-width: 100%;
  }

  .btn-contato {
    margin: 25px auto 0;
  }
}


html {
  scroll-behavior: smooth;
}


button, a {
  touch-action: manipulation; /* evita delay no clique em mobile */
}


/* === AJUSTE FINAL PARA TOPO NO IPHONE === */
@media screen and (max-width: 480px) {
  section.topo-do-site .flex {
    flex-direction: column; /* empilha texto e imagem */
    align-items: center;
    text-align: center;
    gap: 20px; /* espaçamento entre texto e imagem */
  }

  .topo-do-site .txt-topo-site {
    max-width: 90%;
    margin: 0 auto;
  }

  .topo-do-site .txt-topo-site h1 {
    font-size: 28px; /* título menor */
  }

  .topo-do-site .txt-topo-site p {
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
  }

  .topo-do-site .img-topo-site img {
    width: 70%;       /* ocupa menos espaço */
    max-width: 260px; /* nunca maior que 260px */
    height: auto;
    border-radius: 50%;
  }

  .topo-do-site .social-btns {
    justify-content: center;
    margin-top: 15px;
  }
}

@media screen and (max-width: 480px) {
  .btn-contato {
    display: block;
    margin: 20px auto; /* centraliza o botão */
    padding: 14px 26px;
    font-size: 1rem;
  }
}

@media screen and (max-width: 480px) {
  /* Cards da seção 'Do Executivo ao Mentor' */
  .especialidades-box {
    width: 100% !important;       /* força o card a ocupar toda a largura disponível */
    max-width: 100% !important;   /* evita ultrapassar a tela */
    padding: 20px 15px !important; /* espaço interno proporcional */
    box-sizing: border-box;       /* inclui padding dentro da largura */
    overflow: hidden;             /* evita que conteúdo escape visualmente */
    word-wrap: break-word;        /* força quebra de palavras longas */
    overflow-wrap: break-word;
    font-size: 0.95rem;           /* reduz texto um pouco para caber */
  }

  .especialidades-box h3 {
    font-size: 1.1rem; /* título menor */
    line-height: 1.4rem;
  }

  .especialidades-box p {
    font-size: 0.95rem; /* parágrafo menor */
    line-height: 1.5rem;
  }

  .especialidades-box i {
    font-size: 45px; /* reduz ícone no mobile */
    margin-bottom: 12px;
  }

  /* Grid ajustado para empilhar cards */
  .grid-expertise {
    display: flex !important;
    flex-direction: column;
    gap: 20px;
  }
}


@media screen and (max-width: 480px) {
  /* Efeito 3D mais discreto nos cards da seção de experiência/executivo */
  .experiencia .experience-card:hover {
    transform: rotateY(2deg) rotateX(1deg) scale(1.02);
    box-shadow: 0 6px 15px rgba(240, 154, 4, 0.25);
    border-color: #f09a04;
  }

  /* Reduz profundidade interna do conteúdo */
  .experiencia .experience-card:hover .details,
  .experiencia .experience-card:hover .logo {
    transform: translateZ(10px);
  }
}


@media screen and (max-width: 480px) {
  .experiencia .experience-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    max-width: 100%;
    height: auto;            /* altura automática */
    overflow: hidden;        /* impede que o texto saia do card */
  }

  .experiencia .experience-card .details {
    width: 100%;             /* garante que o conteúdo não ultrapasse */
    transform: translateZ(0); /* remove excesso de profundidade */
  }

  /* Efeito 3D mais discreto */
  .experiencia .experience-card:hover {
    transform: rotateY(2deg) rotateX(1deg) scale(1.02);
    box-shadow: 0 6px 15px rgba(240, 154, 4, 0.25);
    border-color: #f09a04;
  }

  .experiencia .experience-card:hover .details,
  .experiencia .experience-card:hover .logo {
    transform: translateZ(10px);
  }
}


/* === TOPO DO SITE - TABLET === */
@media screen and (min-width: 481px) and (max-width: 1024px) {
  section.topo-do-site .flex {
    flex-direction: column; /* empilha texto e imagem */
    align-items: center;    /* centraliza horizontalmente */
    text-align: center;     /* centraliza o texto */
    gap: 30px;              /* espaçamento entre elementos */
    padding-top: 180px;     /* espaço para o header fixo */
  }

  .topo-do-site .txt-topo-site {
    max-width: 90%;         /* ocupa 90% da largura do tablet */
    margin: 0 auto;
  }

  .topo-do-site .txt-topo-site h1 {
    font-size: 36px;        /* título proporcional */
  }

  .topo-do-site .txt-topo-site p {
    font-size: 1.05rem;     /* texto mais legível no tablet */
    line-height: 1.6;
  }

  .topo-do-site .img-topo-site img {
    width: 300px;           /* imagem proporcional */
    max-width: 70%;         /* não ultrapassa 70% da largura da tela */
    height: auto;
    border-radius: 50%;
  }

  .topo-do-site .social-btns {
    justify-content: center; /* centraliza botões */
    margin-top: 20px;
  }
}


#mentorias {
  padding: 100px 0;
  background: linear-gradient(160deg, #0f1a2b, #192e4e);
  position: relative;
  overflow: hidden;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  justify-items: center;
  align-items: stretch;
  width: 100%;
  perspective: 1200px; /* profundidade para 3D */
}

.card-experience-cardreveal {
  background: linear-gradient(145deg, #1a2f52, #142848);
  padding: 40px 30px;
  border-radius: 20px;
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  text-align: center;
  color: #e0e0e0;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  cursor: pointer;
}

.card-experience-cardreveal::before {
  content: '';
  position: absolute;
  top: -120%;
  left: -120%;
  width: 240%;
  height: 240%;
  background: radial-gradient(circle at center, rgba(240, 154, 4, 0.15), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.card-experience-cardreveal:hover::before {
  opacity: 1;
  transform: rotate(20deg) scale(1.1);
}

.card-experience-cardreveal:hover {
  transform: rotateY(8deg) rotateX(6deg) scale(1.05);
  box-shadow: 0 12px 35px rgba(240, 154, 4, 0.4);
  border-color: #f09a04;
}

/* Profundidade interna do conteúdo */
.card-experience-cardreveal h3,
.card-experience-cardreveal p {
  transform: translateZ(20px);
  transition: transform 0.4s ease;
}

.card-experience-cardreveal:hover h3,
.card-experience-cardreveal:hover p {
  transform: translateZ(35px);
}

/* Títulos */
.card-experience-cardreveal h3 {
  font-size: 1.35rem;
  color: #f09a04;
  margin-bottom: 15px;
  font-weight: 700;
  text-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.card-experience-cardreveal p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

/* Animação sutil de flutuação */
.card-experience-cardreveal {
  animation: flutuarCard 4s ease-in-out infinite alternate;
}

@keyframes flutuarCard {
  0% { transform: translateY(0px) rotateY(0deg) rotateX(0deg); }
  100% { transform: translateY(-6px) rotateY(1deg) rotateX(1deg); }
}

/* Responsividade */
@media screen and (max-width: 480px) {
  .cards-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
  }

  .card-experience-cardreveal {
    padding: 25px 20px;
    transform: none !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  }
}


.card-experience-cardreveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.card-experience-cardreveal.active {
    opacity: 1;
    transform: translateY(0);
}


/* Card destaque com imagem */
.card-experience-cardreveal.highlight {
  background: #192e4e; /* dourado chamativo */
  color: #1a1a1a;
  transform: scale(1.1);
  z-index: 10;
  border: 2px solid #f7b500;
  box-shadow: 0 12px 35px rgba(255, 223, 111, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 30px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Imagem dentro do card destaque */
.card-experience-cardreveal.highlight .mentoria-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 20px;
  border: 3px solid #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Hover do card destaque */
.card-experience-cardreveal.highlight:hover {
  transform: scale(1.15) rotateX(var(--rotate-x, 0deg)) rotateY(var(--rotate-y, 0deg));
  box-shadow: 0 16px 45px rgba(255, 223, 111, 0.6);
}

/* GRID de cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  justify-items: center;
  align-items: stretch;
  width: 100%;
}

/* Card destaque sempre centralizado */
.cards-grid .card-experience-cardreveal.highlight {
  grid-column: 1 / -1; /* ocupa a linha inteira em telas menores */
  justify-self: center;
}




.card-experience-cardreveal span{
  color: #f7b500;
}





/* ============================
   SEÇÃO ECOSSISTEMA GUARINIELLO
   ============================ */

section.ecossistema-guariniello {
    padding: 100px 0;
    background-color: #192e4e; 
    position: relative;
    overflow: hidden;
}

/* Título */
.ecossistema-guariniello .titulo {
    color: #FFFFFF;
    font-size: 36px;
    text-align: center;
    font-weight: 700;
    margin-bottom: 50px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-shadow: 2px 2px 8px rgba(244, 180, 0, 0.7);
}

.ecossistema-guariniello .titulo::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #f09a04;
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Descrição */
.ecossistema-guariniello .descricao {
    max-width: 900px;
    margin: 0 auto 70px;
    color: #d9d9d9;
    text-align: justify;
    font-size: 1.15rem;
    line-height: 1.8;
}

/* GRID */
.ecossistema-guariniello .grid-expertise {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    justify-items: center;
    perspective: 1200px;
}

/* CARD BASE */
.ecossistema-guariniello .experience-card {
    background: linear-gradient(145deg, #1a2f52, #142848);
    border-radius: 18px;
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    padding: 32px 26px;
    width: 100%;
    max-width: 360px;
    color: #d9d9d9;
    line-height: 1.6;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transform-style: preserve-3d;
}

/* EFEITO DE LUZ */
.ecossistema-guariniello .experience-card::before {
    content: '';
    position: absolute;
    top: -120%;
    left: -120%;
    width: 250%;
    height: 250%;
    background: radial-gradient(circle, rgba(240, 154, 4, 0.18), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.ecossistema-guariniello .experience-card:hover::before {
    opacity: 1;
    transform: rotate(25deg) scale(1.1);
}

/* TÍTULOS DOS CARDS */
.ecossistema-guariniello .experience-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #f09a04;
    margin-bottom: 12px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

/* TEXTOS */
.ecossistema-guariniello .experience-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.85);
}

/* EFEITO 3D (igual ao padrão do site) */
.ecossistema-guariniello .experience-card:hover {
    transform: rotateY(8deg) rotateX(4deg) scale(1.04);
    border-color: #f09a04;
    box-shadow: 0 12px 35px rgba(240, 154, 4, 0.35);
}

/* PROFUNDIDADE INTERNA */
.ecossistema-guariniello .experience-card .details {
    transform: translateZ(20px);
    transition: transform 0.4s ease;
}

.ecossistema-guariniello .experience-card:hover .details {
    transform: translateZ(35px);
}

/* ANIMAÇÃO REVEAL (já compatível com seu script reveal.js) */
.ecossistema-guariniello .experience-card.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s ease;
}

.ecossistema-guariniello .experience-card.reveal.active {
    opacity: 1;
    transform: translateY(0) rotateY(0) rotateX(0);
}

/* RESPONSIVIDADE */
@media screen and (max-width: 480px) {
    .ecossistema-guariniello .experience-card {
        transform: none !important;
        padding: 25px 20px;
        max-width: 100%;
    }

    .ecossistema-guariniello .experience-card:hover {
        transform: scale(1.02);
    }

    .ecossistema-guariniello .descricao {
        padding: 0 15px;
    }
}



/* === GRID DEPOIMENTOS (4 COLUNAS) === */

.descricao-depoimentos {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #d9d9d9;
  max-width: 650px;
  margin: 0 auto 60px;
  text-align: justify;
}

@media (max-width: 768px) {
  .descricao-depoimentos {
    max-width: 100%;
    padding: 0 20px;
    margin-bottom: 40px;
    text-align: left;
  }
}


.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
    justify-items: center;
    width: 100%;
    margin-top: 40px;
    perspective: 1200px;
}

@media screen and (max-width: 1200px) {
    .depoimentos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 900px) {
    .depoimentos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 550px) {
    .depoimentos-grid {
        grid-template-columns: 1fr;
    }
}




/* === CARD BASE === */
.depoimento-card {
    background: linear-gradient(145deg, #1a2f52, #142848);
    padding: 20px;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
    transform-style: preserve-3d;
    width: 100%;
    max-width: 330px;
    cursor: pointer;
    overflow: hidden;
    position: relative;
}



/* === EFEITO DE BORDA DOURADA AO REDOR (ANIMADA) === */
.depoimento-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    padding: 2px;
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity .4s ease;
}

.depoimento-card:hover::after {
    opacity: 1;
}



/* === HOVER QUE AUMENTA O CARD === */
.depoimento-card:hover {
    transform: scale(1.08) rotateY(6deg) rotateX(3deg);
    border-color: #f09a04;
    box-shadow: 0 14px 35px rgba(240,154,4,.35);
}



/* === HEADER DO CARD === */
.depoimento-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
}



/* === FOTO DO ROSTO === */
.foto-rosto {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f09a04;
    box-shadow: 0 4px 10px rgba(0,0,0,.25);
}



/* === ÁREA DOS TEXTOS === */
.depoimento-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.depoimento-info .nome {
    font-size: 1rem;
    font-weight: 700;
    color: #f09a04;
    margin-bottom: 3px;
}

.depoimento-info .cargo {
    font-size: .9rem;
    color: #d9d9d9;
}



/* === IMAGEM DO FEEDBACK (MAIOR) === */
.foto-feedback {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-top: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,.25);
}



/* === EFEITO 3D INTERNO === */
.foto-feedback,
.foto-rosto,
.depoimento-info {
    transform: translateZ(20px);
    transition: transform .35s ease;
}

.depoimento-card:hover .foto-feedback,
.depoimento-card:hover .foto-rosto,
.depoimento-card:hover .depoimento-info {
    transform: translateZ(35px);
}



/* === MOBILE === */
@media screen and (max-width: 480px) {
    .depoimento-card:hover {
        transform: none;
    }

    .foto-rosto {
        width: 55px;
        height: 55px;
    }
}


/* === TEXTO DO DEPOIMENTO === */
.depoimento-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 10px;
}

/* === DESTAQUE DO DEPOIMENTO PRINCIPAL === */
.depoimento-text.destaque {
  position: relative;
  font-size: 1.05rem;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(
    145deg,
    rgba(240, 154, 4, 0.15),
    rgba(240, 154, 4, 0.05)
  );
  padding: 18px 20px;
  border-left: 4px solid #f09a04;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(240, 154, 4, 0.25);
}

/* Aspas grandes decorativas */
.depoimento-text.destaque::before {
  content: "“";
  position: absolute;
  top: -10px;
  left: 12px;
  font-size: 3rem;
  color: rgba(240, 154, 4, 0.6);
  font-family: serif;
}

/* Mobile: mantém elegante */
@media screen and (max-width: 480px) {
  .depoimento-text.destaque {
    font-size: 1rem;
    padding: 15px;
  }
}

.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(260px, 1fr));
    gap: 40px;
    justify-content: center;   /* organiza o grid */
    justify-items: stretch;   /* cards ocupam bem a coluna */
    align-items: start;       /* altura conforme conteúdo */
}

.depoimento-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* distribui conteúdo */
}

@media screen and (max-width: 480px) {

  .midia .descricao {
    padding: 0 12px;          /* leve margem interna */
    text-align: left;         /* melhora leitura no mobile */
    font-size: 1rem;
    line-height: 1.6;
  }

}

@media (max-width: 768px) {

  /* container vira coluna */
  .Depoimentos .depoimentos-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px;
  }

}

@media (max-width: 768px) {

  .Depoimentos .depoimento-card {
    height: auto !important;
    max-height: none !important;
    min-height: auto !important;
    overflow: visible !important;
  }

}

@media (max-width: 768px) {

  .Depoimentos .depoimento-card {
    padding: 18px 16px !important;
    box-sizing: border-box;
  }

}

@media (max-width: 768px) {

  .Depoimentos .depoimento-text {
    font-size: 0.95rem;
    line-height: 1.5;
    word-break: break-word;
  }

}

@media (max-width: 768px) {

  .Depoimentos .depoimento-header {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .Depoimentos .foto-rosto {
    width: 48px;
    height: 48px;
    object-fit: cover;
  }

}

@media (max-width: 768px) {

  .Depoimentos * {
    max-height: none !important;
    overflow: visible !important;
  }

}

.Depoimentos .depoimentos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

@media (max-width: 1200px) {
  .Depoimentos .depoimentos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.Depoimentos .depoimento-card {
  background: linear-gradient(180deg, #1f3b63, #182c4d);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (hover: hover) {
  .Depoimentos .depoimento-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
  }
}

.Depoimentos .depoimento-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.Depoimentos .foto-rosto {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.15);
}

.Depoimentos .depoimento-info h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

.Depoimentos .depoimento-info span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}

.Depoimentos .depoimento-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
}

.Depoimentos {
  padding: 100px 0;
  background-color: #192e4e;
}

@media (max-width: 768px) {

  section.depoimentos,
  section#depoimentos {
    padding-left: 20px;
    padding-right: 20px;
  }

}

@media (max-width: 768px) {

  .descricao-depoimentos {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }

}


/* === CORREÇÃO: CENTRALIZAR DEPOIMENTOS NO MOBILE E TABLET === */
@media (max-width: 1024px) {

  section.depoimentos,
  section#depoimentos,
  .Depoimentos {
    display: flex;
    justify-content: center;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
  }

  .depoimentos-grid,
  .Depoimentos .depoimentos-grid {
    display: flex !important;
    flex-direction: column;
    align-items: center;   /* 🔥 centraliza os cards */
    justify-content: center;
    width: 100%;
    margin: 0 auto;
  }

  .depoimento-card,
  .Depoimentos .depoimento-card {
    width: 100%;
    max-width: 360px;      /* largura bonita no mobile */
    margin: 0 auto;        /* 🔥 centralização real */
  }

}


#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: none;           /* inicia escondido */
  background:#f09a04;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 20px;
  cursor: pointer;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 1000;
}

#backToTop:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.1);
}


/* === DEPOIMENTOS - VERSÃO DESKTOP FLEX === */
@media (min-width: 1025px) {
  .depoimentos-grid {
    display: flex;
    flex-wrap: wrap;          /* permite quebra de linha */
    justify-content: center;   /* centraliza os cards */
    gap: 40px;                 /* espaçamento entre cards */
    padding: 0 50px;           /* mantém grid centralizada */
    max-width: 1200px;
    margin: 0 auto;
  }

  .depoimento-card {
    flex: 0 1 300px;           /* card mínimo 300px, cresce se houver espaço */
    max-width: 350px;          /* largura máxima do card */
  }
}

/* === Padding topo da seção para desktop === */
@media (min-width: 1025px) {
  section.topo-do-site {
    padding-top: 45px; /* aplica só em telas grandes */
  }
}

/* === Padding topo para mobile (opcional, se quiser outro valor) === */
@media (max-width: 1024px) {
  section.topo-do-site {
    padding-top: 250px; /* mantém o que estava bom no mobile */
  }
}
/* =============================
   Texto de introdução da Mentoria
   ============================= */
.texto-geral-mentoria {
    max-width: 900px;               /* mantém largura agradável para leitura */
    margin: 0 auto 2em auto;        /* centraliza horizontalmente e dá espaçamento inferior */
    text-align: center;             /* centraliza o texto */
    font-family: 'Poppins', sans-serif; 
    font-size: 1.2rem;              /* tamanho da fonte igual aos outros textos */
    line-height: 1.8;               /* espaçamento entre linhas confortável */
    color: #ffffff;                 /* branco para contraste no fundo escuro */
}

/* parágrafos com leve profundidade */
.texto-geral-mentoria p {
    margin-bottom: 1.5em;           
    text-shadow: 0 1px 3px rgba(0,0,0,0.3); /* sombra um pouco mais perceptível */
    transition: transform 0.3s ease; /* transição para efeito hover */
}

/* efeito sutil ao passar o mouse */
.texto-geral-mentoria p:hover {
    transform: translateY(-2px);    /* eleva levemente o parágrafo */
}

/* primeira linha do primeiro parágrafo em destaque */
.texto-geral-mentoria p:first-of-type::first-line {
    font-weight: 600;               
}

/* frase de destaque com tamanho e peso levemente maior */
.texto-geral-mentoria p.frase-destaque {
    font-weight: 500;               
    font-size: 1.1rem;              
    margin-bottom: 2em;             
}

/* spans destacados com cor vibrante e leve animação */
.texto-geral-mentoria p span {
    font-weight: 600;               
    font-size: 1.05rem;             
    display: inline-block;          
    background: linear-gradient(90deg, #FFD700, #FF8C00); /* degradê elegante */
    -webkit-background-clip: text;  
    -webkit-text-fill-color: transparent; 
    text-shadow: 0 1px 2px rgba(0,0,0,0.2); 
    animation: pulseText 2.5s infinite alternate; /* leve movimento */
}

/* animação suave para dar vida ao span */
@keyframes pulseText {
    0% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
    100% { transform: translateY(0); }
}



.card-experience-cardreveal h3:first-of-type {
  font-size: 1.2rem;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 0.3em;
}

.card-experience-cardreveal h3:last-of-type {
  font-size: 1.9rem;
  font-weight: 800;
  color: #f7b500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.2em;
  text-shadow: 
    0 2px 8px rgba(247, 181, 0, 0.6),
    0 0 15px rgba(247, 181, 0, 0.4);
}

.card-experience-cardreveal h3:last-of-type::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  margin: 12px auto 22px;
  background: linear-gradient(90deg, #f7b500, #ffdd7a);
  border-radius: 3px;
}
/* Parágrafos principais */
.p1-card1, .p2-card1 {
    font-size: 1rem;
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 1em;
}

/* Destaques nos últimos dois parágrafos */
.p3-card1 {
    font-size: 1rem;
    font-weight: 600;
    color: #f7b500;        /* dourado sofisticado */
    background: rgba(255, 255, 255, 0.05); /* leve fundo para separar visualmente */
    padding: 0.5em 0.8em;
    border-radius: 6px;
    margin-top: 1.5em;
}

.p4-card1 {
    font-size: 1rem;
    font-style: italic;
    font-weight: 500;
    color: #f7b500;        /* mesma cor dourada */
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5em 0.8em;
    border-radius: 6px;
    margin-top: 0.5em;
}
