/*
Theme Name: Servulo Innovation Lab
Description: Tema custom para Servulo Innovation Lab
Version: 1.0
Author: YDigitalMedia
*/

html {
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    max-width: 1600px;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

p{
    margin-top: 0;
}

.site-header {
    z-index: 1000;
    position: absolute;
    top: 20px;
    width: 100%;
    max-width: 1440px;
}

.header-container {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-signature {
    height: 80px;
    padding-top: 30px;
}

.page-id-18 .logo-signature { 
    height: 130px;
    padding-top: 30px;
}

.page-id-18 .header-container{
    align-items: start;
}

.page-id-18 .menu-main-menu-container{
    padding-top:40px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    gap: 4px;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: #01054D;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    text-decoration: none;
    color: #01054D;
    font-weight: 500;
    padding: 10px 0;
    transition: color 0.3s ease;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
    color: #00AEEF;
    border-bottom: 2px solid #00AEEF;
}

@media (max-width: 768px) {
    .header-container{
        margin-top:0px;
        padding: 0px 20px;
    }
    
    .page-id-18 .logo-signature { 
        height: 80px;
        padding-top: 0px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-navigation {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #ffffff;
        z-index: 999;
        padding: 20px 20px 20px;
    }
    
    .main-navigation.active {
        display: block;
        margin-top: 140px;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 0;
        height: 100%;
        justify-content: flex-start;
    }
    
    .main-navigation li {
        border-bottom: 1px solid #eee;
    }
    
    .main-navigation a {
        display: block;
        padding: 20px 0;
        font-size: 18px;
        border-bottom: none !important;
    }
    
    .main-navigation a:hover {
        background: #f8f8f8;
        color: #00AEEF;
    }
}



.main-content {
    min-height: 60vh;
    margin: 0 auto;
}


.site-footer {
    background: #01054D;
    color: #fff;
    margin: 40px auto 0px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    padding: 40px;
    padding-bottom: 70px;
    max-width: 1280px;
    box-sizing: border-box;
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
}

.footer-middle {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    color: #f8f8f8;
    align-items: end;
    padding-top: 70px;
}

.footer-middle-contacts{
    margin-right: 30px;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 0px;
    gap:5px;
}

.footer-middle-contacts  a:link{
     color: #00AEEF;
     text-decoration: none;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-branding {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo-signature {
    height: 48px;
    filter: brightness(0) invert(1);
}

.footer-logo-cube {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #00AEEF 0%, #667eea 100%);
    transform: perspective(100px) rotateY(15deg);
    border-radius: 6px;
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.footer-navigation ul {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-navigation a {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

.footer-navigation a:hover,
.footer-navigation .current-menu-item a {
    color: #00AEEF;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    font-size: 8px;
    color: #b3b3b3;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}

.footer-policies a {
    color: #b3b3b3;
    text-decoration: none;
    margin: 0 5px;
}

.footer-policies a:hover {
    color: #00AEEF;
}

@media (max-width: 768px) {
    .site-footer{
        padding-left: 10px ;
        padding-right: 10px;
    }
    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-middle {
        flex-direction: column;
        align-items: center;
        
    }
    
    .footer-middle-contacts{
        margin-right: 0px;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 15px;
    }
    
    .footer-navigation ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}


.custom-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  justify-content: flex-start;
  background: #f6f6f9;
  border-radius: 32px;
  padding: 2px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.custom-tab {
  padding: 12px 32px;
  border-radius: 24px;
  background: transparent;
  color: #888;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-size: 16px;
  transition: background 0.2s, color 0.2s;
  outline: none;
}
.custom-tab.active {
  background: #2647A3;
  color: #fff;
  box-shadow: 0 2px 8px rgba(1,5,77,0.15);
}
.cards-row {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.custom-card {
  border-radius: 20px;
  min-width: 280px;
  min-height: 480px;
  background-size: cover;
  background-position: center;
  position: relative;
  flex: 1 1 320px;
  max-width: 400px;
  /*box-shadow: 0 4px 24px rgba(1,5,77,0.09);*/
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  /*text-shadow: 1px 1px 2px black;*/
  background-clip: content-box;
  -webkit-background-clip: content-box;
  padding: 1px;
  background-color: transparent;
}
.custom-gradient{
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%; 
  background: linear-gradient(to bottom, transparent, #fff);
  border-radius: 0 0 20px 20px;
  border:0;
  z-index:0;
}
.custom-card-gradient {
  width: 100%;
  min-width: 0;
  padding: 32px 24px 24px 24px;
  color: #0e379f;
  z-index: 2;
  
}
.card-date {
  font-size: 15px;
  opacity: 0.8;
  margin-bottom: 12px;
}
.card-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 29px;
   display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}

.card-excerpt {
  margin-bottom: 20px;
  font-size: 13px;
  line-height: 22px;
   display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}


@media (max-width: 900px) {
  .cards-row {
    flex-direction: column;
    gap: 24px;
  }
  .custom-card {
    min-width: 0;
    max-width: 100%;
  }
  .custom-tab {
    padding: 12px 22px;
  }
}

.formacao-single { max-width: 800px; margin: 0 auto; }
.formacao-bloco { margin-bottom: 32px; }
.formacao-link {
  display: block;
  color: #01054d;
  font-weight: 600;
  border-bottom: 1px solid #e0e3ed;
  padding: 18px 0;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color .2s;
}
.formacao-link span { float: right; }
.formacao-link:hover { color: #0052cc; }
.formacao-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
}
.outras-formacoes-lista {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.outra-formacao-card {
  display: flex;
  align-items: center;
  background: #f5f7fa;
  border-radius: 12px;
  padding: 12px 18px;
  text-decoration: none;
  color: #01054d;
  transition: background .2s;
  gap: 18px;
}
.outra-formacao-card:hover { background: #e2e8f8; }
.outra-formacao-thumb {
  width: 48px; height: 48px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  flex-shrink: 0;
}
.outra-formacao-titulo {
  font-weight: 600;
  font-size: 1.05rem;
}
.outra-formacao-arrow {
  font-size: 1.4rem;
  color: #0052cc;
  margin-left: 12px;
}
.botao-inscricao {
  background: #fff;
  color: #01054d;
  border-radius: 24px;
  padding: 10px 32px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  margin-top: 24px;
  transition: background .2s, color .2s;
}
.botao-inscricao:hover {
  background: #01054d;
  color: #fff;
}
@media (max-width: 700px) {
  .formacao-single { padding: 0 8px; }
  .formacao-meta-grid { grid-template-columns: 1fr; }
}

/* Configuração do Swiper academic e corporate */
.servulo-category-swiper {
  width: 100%;
  overflow: hidden;
}

.servulo-category-swiper-container {
  width: 100%;
  height: auto;
}

.swiper-slide {
  height: auto;
  display: flex;
}

/* Ajustes responsivos para cards */
@media (max-width: 768px) {
  .custom-card {
    min-width: 100%;
    max-width: 100%;
  }
  
  .custom-card-gradient {
    padding: 20px 16px 16px 16px; /* Reduz padding em mobile */
  }
  
  .card-title {
    font-size: 18px; /* Reduz tamanho da fonte */
    line-height: 24px;
  }
  
  .card-excerpt {
    font-size: 12px;
    line-height: 18px;
  }
}


.swiper-slide-ghost {
pointer-events: none;
background: transparent;
box-shadow: none;
visibility: hidden; /* não aparece visualmente */
}

/* se precisar ocupar mesmo 1/3 em desktop */
@media (min-width: 900px) {
.swiper-slide-ghost { min-height: 1px; }
}


/* TERMINA AQUI */

.cube-animate {
  animation: cube-spin 15s linear infinite;
}

@keyframes cube-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.page-id-365 .form-disclaimer .wpcf7-list-item > *,
.page-id-365 .form-disclaimer .wpcf7-list-item-label{
    font-size: 12px !important;   /* mesmo tamanho do parágrafo abaixo */
    font-weight: 400 !important;  /* remove o bold */
    color: #666 !important;       /* mesma cor do parágrafo */
    line-height: 1.5 !important;
}

.page-id-365 .form-disclaimer .wpcf7-list-item{
    display: inline-flex;        /* texto + caixa na mesma linha   */
    flex-direction: row-reverse; /* texto primeiro, checkbox depois*/
    align-items: flex-start;     /* topo alinhado ao início de linha*/
    gap: 8px;                    /* espaço entre texto e checkbox  */
}


.page-id-632 h1.entry-title {
    display: none;
}