:root{
--red:#e30613;
--blue:#1a3875;
--blue-light:#e8edf7;
--dark:#1f1f1f;
--gray:#666;
--light:#f7f7f7;
--white:#fff;
--shadow:0 12px 30px rgba(0,0,0,.08);
--radius:16px;
}

*{
margin:0;
padding:0;
box-sizing:border-box;
}

html{
scroll-behavior:smooth;
}

body{
font-family:'Montserrat',sans-serif;
color:var(--dark);
background:#fff;
line-height:1.6;
overflow-x: hidden;
width: 100%;
}

img{
max-width:100%;
display:block;
}

a{
text-decoration:none;
}

.container{
width:min(92%,1200px);
margin:0 auto;
}

/* HEADER */
.header{
position:sticky;
top:0;
background:rgba(255,255,255,.95);
backdrop-filter:blur(8px);
border-bottom:3px solid var(--blue);
z-index:999;
}

.nav{
min-height:80px;
display:flex;
align-items:center;
justify-content:space-between;
}

.brand img{
height:75px;
}

.menu{
display:flex;
gap:28px;
}

.menu a{
color:var(--dark);
font-weight:600;
position:relative;
}

.menu a::after{
content:"";
position:absolute;
left:0;
bottom:-6px;
width:0;
height:2px;
background:var(--red);
transition:.3s;
}

.menu a:hover::after{
width:100%;
}

.hamburger{
display:none;
border:none;
background:none;
font-size:30px;
cursor:pointer;
color:var(--red);
}

/* HERO — modelo próximo à referência */
.hero.hero-model {
  padding: 0;
  background: #1a3875;
  position: relative;
  min-height: 100vh; /* 🔥 garante altura mínima da tela */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 36px;
  align-items: start;
  background: transparent;   /* ← agora transparente, o azul vem da section */
  border-radius: 0;
  min-height: 500px;
  padding: 20px 56px 56px;
}

.hero-redline {
  width: 100%;
  height: 12px;
  background: linear-gradient(90deg, var(--red) 0%, #ff4a55 35%, var(--red) 100%);
  clip-path: polygon(0 35%, 100% 0, 100% 100%, 0 100%);
}

.hero-content{
  position: relative;
  z-index: 2;
}

.hero-model .tag {
/*   background: rgba(255,255,255,.12); */
  color: #ffffff;        /* ← branco puro */
/*   border: 1px solid rgba(255,255,255,.16); */
  backdrop-filter: blur(4px);
}

.hero-model h1{
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.08;
  margin-bottom: 20px;
  color:#fff;
  max-width: none;
}

.hero-model h1 span{
  display:block;
}

.hero-model h1 span:last-child{
  color:#ffffff;
}

.hero-model p{
  color: rgba(255,255,255,.82);
  max-width: 560px;
  margin-bottom: 28px;
  font-size: 16px;
}

.btn-outline-light{
  border-color: rgba(255,255,255,.45);
  color: #fff;
}

.btn-outline-light:hover{
  background: #fff;
  border-color: #fff;
  color: var(--blue);
}

.hero-highlights{
  display:flex;
  flex-wrap:wrap;
  gap:18px 26px;
  margin-top: 24px;
}

.hero-highlight{
  display:flex;
  align-items:center;
  gap:10px;
  color: rgba(255,255,255,.88);
  font-size:14px;
  font-weight:600;
}

.hero-highlight i{
  color:#fff;
  font-size:16px;
  opacity:.9;
}

.hero-media{
  position: relative;
  min-height: 390px;
  display:flex;
  align-items:flex-end;
  justify-content:flex-end;
  z-index:1;
}

/* CARROSSEL DE FOTOS DO HERO */
.hero-photo-carousel {
  position: relative;
  width: 100%;
  max-width: 560px;
  height: 520px;
  border-radius: 18px 18px 0 0;
  overflow: hidden;
}

.hero-photo-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 18px 18px 0 0;
  filter: saturate(1.02) contrast(1.02);
  opacity: 0;
  transition: opacity 1.2s ease-in-out;   /* ← transição suave */
}

.hero-photo-slide:first-child {
  opacity: 0;
  z-index: 1;
}

.hero-photo-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-course-card {
  position: static;               /* ← sai do absolute, entra no fluxo normal */
  width: 100%;                    /* ← ocupa toda a largura da coluna esquerda */
  display: flex;                  /* ← layout horizontal retangular */
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 22px;               /* ← espaço abaixo dos highlights */
  background: rgba(18,45,122,.90);
  color: #fff;
  padding: 18px 22px;
  border-radius: 14px;
  border-left: 4px solid var(--red);
  border-top: 1px solid rgba(255,255,255,.12);
  border-right: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 10px 28px rgba(0,0,0,.20);
  backdrop-filter: blur(8px);
}

/* Agrupa label + título + descrição em uma coluna flexível */
.hero-course-card-body {
  flex: 1;
  min-width: 0;
}

/* Botão fica à direita */
.hero-course-card .btn-small {
  flex-shrink: 0;
  margin-top: 0;                  /* ← remove o margin-top padrão do btn-small */
  white-space: nowrap;
}

.hero-course-label{
  display:inline-block;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.8px;
  color:#ffb8bd;
  margin-bottom:10px;
  font-weight:700;
}

.hero-course-card h3{
  font-size:18px;
  line-height:1.3;
  margin-bottom:10px;
  color:#fff;
}

.hero-course-card p{
  font-size:14px;
  color: rgba(255,255,255,.80);
  line-height:1.6;
  margin-bottom:14px;
}

.hero-course-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px 14px;
  font-size:13px;
  font-weight:700;
  color:#d9e3ff;
  margin-bottom:12px;
}

.hero-course-meta span{
  position:relative;
}

.hero-course-meta span + span::before{
  content:"•";
  position:absolute;
  left:-9px;
  color:#ff9ea6;
}

/* mantém a animação existente */
.floating{
  animation:float 3s ease-in-out infinite;
}

@keyframes float{
  0%,100%{transform:translateY(0);}
  50%{transform:translateY(-10px);}
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap; /* Permite que os botões caiam para a linha de baixo se não couberem */
  gap: 16px; /* Adiciona um espaço de 16px entre os botões, tanto na horizontal quanto na vertical */
}

/* RESPONSIVO */
@media (max-width: 992px){
.hero-panel {
    padding: 20px 20px 40px 20px; /* Padding igual em todos os lados para respiro */
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: visible;
  }

  .hero-model h1{
    max-width: 100%;
  }

.hero-media{
  min-height: 260px; /* 🔥 garante espaço para o carrossel */
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-photo-carousel {
  max-width: 100%;
  height: 420px;
}

.hero-course-card{
right: auto;
bottom: auto;
}
}

@media (max-width: 768px){
.hero.hero-model{
    padding: 0;
    overflow: visible;
    min-height: auto;
  }

.hero-panel {
  padding: 28px 16px 28px 16px;  /* ← padding lateral reduzido e simétrico */
  border-radius: 0;               /* ← sem arredondamento no mobile */
  gap: 22px;
  min-height: auto;
  width: 100%;                    /* ← garante que não ultrapasse a tela */
  box-sizing: border-box;
}

  .hero-model .hero-content{
    text-align: center;
  }

.hero-model h1 {
    font-size: clamp(20px, 8vw, 28px); /* Reduz levemente o tamanho máximo */
    word-wrap: break-word; /* Força a quebra de palavras se necessário */
    width: 100%;
  }
  
  .hero-model h1 span {
    display: inline; 
    white-space: normal;
  }

  .hero-model p{
    margin-left:auto;
    margin-right:auto;
  }

  .hero-buttons{
    justify-content:center;
	flex-wrap: wrap; /* Garante a quebra caso a tela seja muito pequena */
    gap: 12px; /* Espaçamento ligeiramente menor no mobile */
  }
  
  .hero-course-card .btn-small {
  margin-top: 15px; /* Adiciona um espaço acima do botão para ele não colar no texto */
  align-self: center; /* Centraliza o botão horizontalmente no layout de coluna */
  width: auto; /* Garante que o botão tenha apenas a largura necessária (caso tenha colocado 100% antes) */
}

.hero-course-meta {
  justify-content: center;
  width: 100%;
}

  .hero-highlights{
    justify-content:center;
    gap:12px;
  }

  .hero-highlight{
    width:100%;
    justify-content:center;
    text-align:center;
  }

.hero-photo-carousel {
  height: 280px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
}

.hero-photo-slide {
  border-radius: 16px;
}

.hero-course-card {
  width: 100%;
  box-sizing: border-box;
  margin-top: 20px;
  margin-bottom: 20px;
  flex-direction: column;
  align-items: flex-start;
  animation: none;
  position: static;
  right: auto;
  left: auto;
}

.hero-media {
  min-height: 260px;
  display: block;
  width: 100%;
}

.hero-redline {
    clip-path: none;
    height: 8px;
    width: 100%;
    margin: 0;
  }
}


/* .hero-card{
background:var(--white);
padding:30px;
border-radius:var(--radius);
box-shadow:var(--shadow);
border-top:5px solid var(--red);
} */

.floating{
animation:float 3s ease-in-out infinite;
}

@keyframes float{
0%,100%{transform:translateY(0);}
50%{transform:translateY(-12px);}
}

/* BUTTONS */
.btn{
padding:14px 22px;
border-radius:12px;
font-weight:700;
display:inline-block;
transition:.25s;
}

.btn-primary,
.btn-small{
background:var(--red);
color:#fff;
}

.btn-primary:hover{
  transform:translateY(-2px);
  box-shadow:var(--shadow);
}

.btn-small:hover{
  transform:translateY(-2px);
  box-shadow:var(--shadow);
}

.btn-outline{
border:2px solid var(--red);
color:var(--red);
}

.btn-outline:hover{
background:var(--blue);
border-color:var(--blue);
color:#fff;
}

.btn-light{
background:#fff;
color:var(--red);
}

.btn-small{
padding:10px 16px;
margin-top:14px;
}

/* SECTIONS */
.section{
padding:50px 0;
}

.bg-light{
background:var(--light);
}

.section-title{
margin-bottom:35px;
}

.section-title span{
color:var(--red);
font-weight:700;
font-size:14px;
text-transform:uppercase;
}

.section-title h2{
font-size:38px;
margin-top:8px;
position:relative;
padding-bottom:16px;
}

.section-title h2::after{
content:"";
display:block;
width:48px;
height:3px;
background:var(--blue);
border-radius:2px;
margin-top:12px;
}

.center{
text-align:center;
}

.center .section-title h2::after,
.section-title.center h2::after{
margin-left:auto;
margin-right:auto;
}

/* GRID */
.about-grid,
.cards-grid,
.footer-grid{
display:grid;
gap:24px;
}

.about-grid{
grid-template-columns:repeat(3,1fr);
}

.cards-grid{
grid-template-columns:repeat(3,1fr);
}

.courses-grid{
align-items:stretch;
}

.about-box,
.feature-card,
.course-card,
.internal-course{
background:#fff;
padding:28px;
border-radius:var(--radius);
box-shadow:var(--shadow);
}

.about-box{
  border-top:4px solid var(--red);
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  padding:32px 28px;
  min-height:260px;
}

/* .about-box{
border-top:4px solid var(--blue);
} */

.feature-card{
border-left:5px solid var(--red);
font-weight:700;
}

.feature-card:nth-child(n+4) {
  border-left-color: var(--blue);
}

.course-card h3{
margin-bottom:10px;
}

.course-card p{
color:var(--gray);
}

.course-card small{
display:block;
margin-top:10px;
color:var(--red);
font-weight:700;
}

/* CTA */
.cta{
background:var(--blue);
color:#fff;
text-align:center;
padding:70px 0;
}

.cta h2{
font-size:38px;
margin-bottom:20px;
}

/* FOOTER */
.footer{
background:#1d1d1d;
color:#fff;
padding: 50px 0 20px 0;
}

.footer-grid{
grid-template-columns:2fr 1fr 1fr;
}

.footer a{
color:#fff;
}

/* REVEAL */
.reveal{
opacity:0;
transform:translateY(40px);
transition:all .8s ease;
}

.reveal.active{
opacity:1;
transform:translateY(0);
}

/* WHATSAPP */
.whatsapp {
position: fixed;
right: 20px;
bottom: 20px;
width: 60px;
height: 60px;
border-radius: 50%;
background: #25D366;
color: #fff;
display: flex;
align-items: center;
justify-content: center;
font-size: 30px;
box-shadow: 0 4px 16px rgba(37,211,102,.5);
z-index: 999;
animation: whatsapp-pulse 2s ease-in-out infinite;
transition: transform .2s;
}

.whatsapp:hover {
transform: scale(1.12);
animation-play-state: paused;
}

@keyframes whatsapp-pulse {
0%, 100% {
box-shadow: 0 4px 16px rgba(37,211,102,.5), 0 0 0 0 rgba(37,211,102,.5);
}
50% {
box-shadow: 0 4px 16px rgba(37,211,102,.5), 0 0 0 14px rgba(37,211,102,0);
}
}

/* RESPONSIVO PREMIUM */
@media (max-width:992px){
.hero-grid,
.about-grid,
.cards-grid,
.footer-grid{
grid-template-columns:1fr 1fr;
}

.hero h1{
font-size: clamp(22px, 7.5vw, 38px);
}
}

@media (max-width:768px){

.menu{
position:absolute;
top:80px;
right:15px;
background:#fff;
flex-direction:column;
padding:20px;
width:220px;
border-radius:16px;
box-shadow:var(--shadow);
display:none;
}

.menu.show{
display:flex;
}

.hamburger{
display:block;
}

.hero-grid,
.about-grid,
.cards-grid,
.footer-grid{
grid-template-columns:1fr;
}

.hero{
padding:60px 0;
}

.hero-content {
text-align: center;
}

.hero h1{
font-size: clamp(18px, 7vw, 28px);
line-height: 1.1;
margin-bottom: 20px;
width: 100%;
overflow-wrap: break-word;
word-wrap: break-word;
}

.hero h1 span {
display: inline;
white-space: normal;
}

.hero p {
margin-left: auto;
margin-right: auto;
}

.section-title h2,
.cta h2{
font-size:30px;
}

.hero-buttons{
justify-content: center;
}

.btn{
text-align:center;
}

.areas-list {
grid-template-columns: 1fr;
}
}

.center-button{
text-align:center;
margin-top:40px;
}

/* DEPOIMENTOS */
.depoimento-card {
background: #fff;
padding: 28px;
border-radius: var(--radius);
box-shadow: var(--shadow);
border-top: 4px solid var(--blue);
}

.depoimento-card small {
display: block;
margin-top: 6px;
color: var(--gray);
font-weight: 400;
}

.course-description {
font-size: 14px;
line-height: 1.6;
opacity: 0.9;
margin-bottom: 15px;
}

/* ÁREAS DE ATUAÇÃO */
.areas-list {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 14px;
}

.area-item {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  padding: 18px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 5px solid var(--red);
}

.area-icon {
width: 52px;
height: 52px;
min-width: 52px;
border-radius: 50%;
background: var(--blue);
color: #fff;
display: flex;
align-items: center;
justify-content: center;
font-size: 22px;
}

.area-item span {
font-weight: 700;
font-size: 16px;
text-transform: uppercase;
letter-spacing: .5px;
}

.mobile-only {
display: none;
}

@media (max-width: 768px) {
.areas-list {
grid-template-columns: 1fr !important;
}

.mobile-only {
display: block;
}

.feature-card {
    border-left-color: var(--blue);
  }

}

/* ÚLTIMOS EVENTOS — CARROSSEL */
.eventos-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
}

.carousel-viewport {
  overflow: hidden;
  flex: 1;
  border-radius: var(--radius);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.evento-card {
  min-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 5px solid var(--blue);
  overflow: hidden;
}

.evento-img {
  width: 100%;
  height: 400px;
  object-fit: cover; /* cover: A imagem preenche todo o espaço definido, pode cortar a imagem. contain: A imagem tenta caber inteira dentro do espaço, sem cortes. */
  display: block;
}

.evento-info {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.evento-info .btn-small {
  align-self: center;
}

.evento-info h3 {
  font-size: 22px;
  color: var(--dark);
}

.evento-meta {
  display: flex;
  gap: 20px;
  color: var(--blue);
  font-weight: 700;
  font-size: 14px;
}

.evento-desc {
  color: var(--gray);
  font-size: 15px;
  line-height: 1.7;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  box-shadow: var(--shadow);
  transition: background .25s, transform .2s;
}

.carousel-btn:hover {
  background: var(--red);
  transform: scale(1.08);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  cursor: pointer;
  transition: background .3s, transform .2s;
  padding: 0;
}

.dot.active {
  background: var(--blue);
  transform: scale(1.25);
}

@media (max-width: 768px) {
  .evento-card {
    grid-template-columns: 1fr;
  }

  .evento-img {
    min-height: 200px;
    max-height: 220px;
  }

  .evento-info {
    padding: 22px 20px;
  }

  .eventos-wrapper {
    gap: 8px;
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 15px;
	display: none;
  }
}

.footer-dev {
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  margin-top: 15px;
  padding-top: 10px;
}

.footer-dev a {
  color: rgba(255,255,255,0.45);
  font-size: 12px;
  text-decoration: none;
  transition: 0.3s;
}

.footer-dev a:hover {
  color: rgba(255,255,255,0.75);
}

.icon-top{
    width:64px;
    height:64px;
    border-radius:50%;
    background:var(--blue);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:26px;
    margin-bottom:16px;
    box-shadow:var(--shadow);
}

.about-box h3{
  margin-bottom:10px;
  font-size:20px;
}

.about-box p{
  color:var(--gray);
  line-height:1.7;
  font-size:15px;
  max-width:260px;
}

.about-box:hover{
  transform:translateY(-6px);
  transition:.3s;
}