/* =====================================================
   RESET / BASE
===================================================== */
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* =====================================================
   HEADER
===================================================== */
/* header verde:
header {
    position: relative;
    background: linear-gradient(139deg, #b30000, #ff4d4d);
    color: #fff;
    padding: 60px 80px;
    text-align: center;
}
*/


header {
    position: relative;
    background: linear-gradient(139deg, #14532d, #166534);
    color: #fff;
    padding: 60px 80px;
    text-align: center;

}


header h1 {
    font-size: 2.8em;
    margin-bottom: 10px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.95);
}

header p {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);

}

/* Texto acima das logos */
.header-texto {
    position: relative;
    z-index: 1;
}

/* =====================================================
   LOGOS DO HEADER
===================================================== */
.logo-esquerda,
.logo-direita {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 120px;
    max-width: 20vw;
}

.logo-esquerda {
    left: 70px;
}

.logo-direita {
    right: 70px;
}

/* =====================================================
   NAVEGAÇÃO
===================================================== */
nav {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,.1);
    position: sticky;
    top: 0;
    z-index: 10;
}

nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0;
    padding: 10px;
}

nav ul li {
    margin: 5px 15px;
}

nav ul li a {
    text-decoration: none;
    color: #b30000;
    font-weight: bold;
}

nav ul li a:hover {
    text-decoration: underline;
}

/* =====================================================
   SEÇÕES GERAIS
===================================================== */
section {
    padding: 60px 20px;
    max-width: 1100px;
    margin: auto;
}

section h2 {
    color: #b30000;
    text-align: center;
    margin-bottom: 20px;
    font-size: 2.2em;
}

/* =====================================================
   GRID E CARDS BASE
===================================================== */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.card {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

/* =====================================================
   CTA
===================================================== */
.cta {
  padding: 80px 20px;
  text-align: center;
  background: linear-gradient(139deg, #14532d, #166534);
  color: #ffffff;
}

.cta h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  font-weight: 700;
  color: #ffffff !important;
}

.cta p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 35px auto;
  line-height: 1.6;
  color: #ecfdf5;
}

.cta a {
  display: inline-block;
  padding: 16px 38px;
  background: #ffffff;
  color: #14532d;
  font-weight: 600;
  text-decoration: none;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.cta a:hover {
  background: #dcfce7;
  transform: translateY(-2px);
}

/* =====================================================
   FOOTER
===================================================== */
footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 30px 20px;
}

footer a {
    color: #ffb3b3;
    text-decoration: none;
}

/* =====================================================
   DEPOIMENTOS
===================================================== */
#depoimentos .card {
    border: none;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    max-width: 300px;
    margin: auto;
    transition: all 0.3s ease;
}

/* =====================================================
   PADRÃO ÚNICO DE CARDS (DEPOIMENTOS / PALESTRAS)
===================================================== */
#depoimentos .card,
#palestras .card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.10);
    padding: 25px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.3s ease;
}

#depoimentos .grid,
#palestras .grid {
    align-items: stretch;
}

/* =====================================================
   PALESTRAS
===================================================== */
#palestras .card {
    padding: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#palestras .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

.palestra-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #000;
}

.palestra-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

#palestras .card:hover img {
    transform: scale(1.08);
}

/* =====================================================
   IMAGENS GERAIS
===================================================== */
.img-sobre {
    max-height: 250px;
    max-width: 100%;
    width: auto;
    display: block;
    margin: 20px auto;
}

.img-footer {
    max-height: 250px;
    max-width: 100%;
    width: auto;
    display: block;
    margin: 0 auto 20px;
}

/* =====================================================
   CARROSSEL
===================================================== */
#carouselFotos,
#carouselFotos2,
#carouselFotos3{
    background: linear-gradient(135deg, #ffffff, #f4f4f4);
    padding: 20px;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

#carouselFotos .carousel-inner,
#carouselFotos2 .carousel-inner,
#carouselFotos3 .carousel-inner{
    display:flex;
    align-items:center;
}

#carouselFotos img,
#carouselFotos2 img,
#carouselFotos3 img{
    border-radius:14px;
    max-width:100%;
    height:auto;
    max-height:60vh;
    object-fit:contain;
}

.carousel-control-prev-icon,
.carousel-control-next-icon{
    filter:invert(1);
}

/* =====================================================
   SOBRE
===================================================== */
#sobre {
    padding: 60px 20px;
    background: #ffffff;
}

.texto-sobre {
    text-align: center;
    max-width: 900px;
    margin: 20px auto 50px;
    font-size: 16px;
    line-height: 1.7;

}

/* =====================================================
   BLOCO PROFISSIONAL
===================================================== */
.sobre-profissional {
    background: #f2f2f2;
    padding: 60px 20px;
    margin: 60px -20px 20px;
}



.sobre-profissional .perfil-container {
    max-width: 1100px;
    margin: auto;
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.10);
}

.perfil-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: center;
}

.perfil-img img {
    width: 100%;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.perfil-texto h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 4px;
}

.perfil-texto h5 {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
}

.perfil-texto ul {
    list-style: none;
    padding: 0;
}

.perfil-texto ul li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.6;
}

.perfil-texto ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #0d6efd;
}

.diferenciais {
    margin-top: 20px;
}

/* =====================================================
   RESPONSIVO - TABLET
===================================================== */
@media (max-width: 1024px) {

    .logo-esquerda,
    .logo-direita {
        width: 90px;
        opacity: 0.35;
    }

    .logo-esquerda {
        left: 15px;
    }

    .logo-direita {
        right: 15px;
    }

    header {
        padding: 50px 40px;
    }
}

/* =====================================================
   RESPONSIVO - MOBILE
===================================================== */
@media (max-width: 768px) {

    .logo-esquerda,
    .logo-direita {
        display: none;
    }

    header {
        padding: 35px 20px;
    }

    header h1 {
        font-size: 1.9em;
    }

    header p {
        font-size: 1em;
        line-height: 1.5;
    }

    #carouselFotos {
        padding: 12px;
    }

    #carouselFotos img {
        max-height: 50vh;
    }

    .perfil-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .perfil-texto ul li {
        text-align: left;
    }

    .sobre-profissional {
        margin: 40px -20px;
        padding: 40px 15px;
    }
}


.sobre-institucional {
  background: #f6f9f7; /* cinza claro elegante */
  padding: 60px 20px;
}

.texto-sobre {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
  font-size: 18px;
  line-height: 1.9;
  color: #1f2933;
  position: relative;
  padding-left: 24px;
  border-left: 5px solid #0f9d58; /* VERDE CORPORATIVO */
}

.texto-sobre strong {
  color: #0f9d58;
  font-weight: 700;
}


.palestra-video {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  border-radius: 10px;
  overflow: hidden;
}

.palestra-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 vídeos por linha */
  gap: 24px;
}

/* Tablet */
@media (max-width: 1024px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 600px) {
  .grid {
    grid-template-columns: 1fr;
  }
}
