a:visited, a:active, a:focus, a:hover {
	color: inherit !important;
}

h1 {
  font-size: clamp(1.8rem, 2.5vw + 0.5rem, 2.5rem) !important; /* 40px máx */
}

h2 {
  font-size: clamp(1.6rem, 2.2vw + 0.5rem, 2.25rem); /* 36px máx */
}

h3 {
  font-size: clamp(1.5rem, 2vw + 0.5rem, 2rem); /* 32px máx */
}

h4 {
  font-size: clamp(1.3rem, 1.8vw + 0.5rem, 1.75rem); /* 28px máx */
}

h5 {
  font-size: clamp(1.2rem, 1.5vw + 0.5rem, 1.625rem); /* 26px máx */
}
p {
  font-size: 1.1rem !important; /* máx 16px */
}
.wp-block-columns {
	max-width:960px;
	margin:0 auto;
}
@media screen and (max-width:540px) {
	.wp-block-columns {
		padding: 10px 20px;
	}
	.colunas-eventos .gb-layout-column-wrap {
		
    display: flex;
    flex-direction: column-reverse;
	}
}
.wp-block-cover {
    padding: 50px 0 !important;
}
.sobreposicao {
    opacity: 0.38;
    background-color: rgb(11, 57, 165);
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 45vh;
    pointer-events: none;
}
.site-header {
  position: relative;
  background: url('https://pgtfiacombr.wpenginepowered.com/wp-content/uploads/2025/07/bg-header.jpg') center 20% / cover no-repeat;
  font-family: Poppins, sans-serif;
  color: #fff;
  padding: 0;
  overflow: hidden;
}

/* Altura dinâmica */
.home .site-header, .home .sobreposicao {
  height: 100vh;
}
.site-header:not(.home) {
  height: 45vh;
}
.header-links span {
    padding: 0 10px;
}


/* Zonas superiores */
.header-top,
.header-main {
  position: relative;
  z-index: 10;
  background: transparent;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  padding: 10px 0;
  height: fit-content;
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 20px;
  border-top: 1px solid #F5C469;
  height: 100px;
}

.header-top i {
  color: #F5C469;
}

.header-top a,
.header-main a {
  color: #fff;
  text-decoration: none;
}

.header-top a:hover,
.header-main a:hover {
  color: #fff !important;
  font-weight: bold;
}

.header-top .container,
.header-main .container {
  width: 90%;
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Centralização do título */
.header-title {
  position: absolute;
  top: 150px; /* soma de top + main */
  left: 0;
  width: 100%;
  height: calc(100% - 150px);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 5;
}

.header-title h1 {
  padding: 10px;
  margin: 0;
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

/* HOME: pode ajustar padding se quiser mais espaço interno */
.home .header-title {
  top: 150px;
  height: calc(100vh - 150px);
}

/* Responsivo */
@media screen and (max-width: 540px) {
  .header-top .container {
    flex-direction: column;
    gap: 10px;
  }
  .header-main {
    height: auto;
    padding-bottom: 10px;
  }
  .header-title {
    top: 150px;
    height: calc(100% - 150px);
    padding: 0 20px;
  }
}
.logo img {
    max-height: 90px;
}
.primary-nav {
	width: auto !important;
    display: flex;
    align-items: center;
    }
.primary-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}
.primary-nav a, .primary-nav a:visited {
    color: #fff !important;
    text-decoration: none;
    font-weight: 500;
}
.site-main {
	font-family: Lato;
}
p {
    margin: 0.75em 0 !important;
}
#pgt-fia {
	margin: 50px auto;
}
.text-pgt {
	display: flex !important;
    flex-direction: column;
    justify-content: center;
}
.entry-content {
	margin: 0 !important;
    }
.lista-temas {
	margin:10px auto;
	justify-content: center;
}
.lista-temas .wp-block-column {
    border: 2px solid #f5c469;
    border-radius: 20px;
	max-width: 400px;
	margin: 10px;
}
.lista-temas .wp-block-column p {
	text-align:center;
	font-size: 20px;
	margin: 10px;
	color: #072e87;
}

.temas-title {
  position: relative;
  display: inline-block;
  font-family: Arial, sans-serif;
  font-weight: bold;
  color: #13346A;
  line-height: 1.2;
  font-size:32px;
  padding: 20px 0 20px 40px; /* espaço interno para sobreposição */
  z-index: 1;
}

.temas-title::before {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  background-color: #f6c263;
  border-radius: 50%;
  top: 50%;
  left: 0;
  transform: translate(0%, -50%); /* centraliza círculo verticalmente e move para esquerda */
  z-index: -1;
}

.wp-block-uagb-icon-list-child {
    background: #ffffff;
    padding: 10px !important;
    border-radius: 10px;
    border: 1px solid #ccc;
    width: 100%;
}

.wp-block-separator {
    border-top: 3px dotted rgb(112, 140, 203) !important;
    background: none !important;
}

@media screen and (max-width:760px) {
	.wp-block-image .alignright {
		margin: 0 !important;
	}
	#servicos .solution {
    gap: 0 !important;
		padding: 5px;
	}
}

.solution .wp-block-column img, #cursos img, #eventos img, .rounded-border img {
	border-radius: 20px;
}
.wp-block-uagb-faq-child {
    background: #FFF;
    border-radius: 10px !important;
}

.linha-equipe {
	margin: 20px auto;
}
.img-equipe {
    margin: 0 !important;
    position: absolute !important;
    bottom: 0 !important;
    right: 0 !important;
}

.img-equipe img {
    height: 250px !important;
    max-width: fit-content !important;
}
.jose img {
	height: 280px !important;
}
    
.gb-background-contain {
	width: 171px !important;
    height: 267px !important;
}


#eventos h3 {
    margin: 0 !important;
}

#equipe .wp-block-genesis-blocks-gb-column.gb-block-layout-column {
    min-width: 190px;
}

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

	#equipe .wp-block-genesis-blocks-gb-column.gb-block-layout-column {
    display: flex;
    justify-content: center;
    text-align: center;
	}
}

.cf7-form.contato-basico label {
  display:block;
  font-size:14px;
  color:#5f6b7a;
  margin:14px 0 6px;
}
.cf7-form.contato-basico input[type="text"],
.cf7-form.contato-basico input[type="email"],
.cf7-form.contato-basico textarea {
  width:100%;
  border:1px solid #c9d6e2;
  border-radius:8px;
  padding:10px 12px;
  font-size:15px;
  line-height:1.4;
  outline:none;
  transition:border-color .15s ease, box-shadow .15s ease;
  background:#fff;
}
.cf7-form.contato-basico textarea { min-height:140px; resize:vertical; }
.cf7-form.contato-basico input:focus,
.cf7-form.contato-basico textarea:focus {
  border-color:#7fb0e8;
  box-shadow:0 0 0 3px rgba(47,128,237,.15);
}
.cf7-form.contato-basico .consent {
  display:flex;
  align-items:flex-start;
  font-size:14px;
  color:#4a5663;
}
.wpcf7-list-item {
	margin: 0 !important;
}
.cf7-form.contato-basico .wpcf7-acceptance input[type="checkbox"] {
  width:18px; height:18px; margin-top:2px;
}

.btn.btn-primary.btn-full {
  display:block;
  width:100%;
  background:#1e7be9;
  color:#fff;
  border:none;
  border-radius:12px;
  padding:14px 18px;
  font-size:16px;
  cursor:pointer;
  transition:filter .15s ease, transform .02s ease;
}
.btn.btn-primary.btn-full:hover { filter:brightness(1.05); }
.btn.btn-primary.btn-full:active { transform:translateY(1px); }

.btn-rota .wp-block-uagb-icon-list-child {
    margin-top: 5px;
    border: none;
    background: #1e7be9;
    color: #fff;
    width: auto !important;
}

/* Fade simples para h2 */
h2 {
  opacity: 0;
  transition: opacity 0.8s ease;
}
.fade-in {
  opacity: 1 !important;
}
#servicos h3 {
	margin-top: 0;
}
/* Da esquerda (#servicos e #cursos) */
#servicos .wp-block-image,
#servicos h3,
#cursos .wp-block-image,
#cursos h3,
#equipe .equipe-esquerda {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
#equipe .equipe-direita {
    margin-top: 70px;
    margin-bottom: 70px;
}

#servicos h3,
#cursos h3 {
  transition: opacity 1.2s ease, transform 1.2s ease;
  transition-delay: 1s;
	margin: 0 !important;
}
#cursos .wp-block-image {
	margin-top: 0 !important;
}
@media screen and (max-width:760px) {
		#servicos h3, #cursos h3 {
	  transition-delay: 0s !important;
	}
	#equipe .equipe-direita {
		margin: 0 !important;
	}
	.linha-equipe {
		gap: 30px !important;
	}
}

.fade-in-left {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

/* Da direita (#eventos) */
#eventos h3, #eventos .wp-block-image, #eventos p, #equipe .equipe-direita {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
	transition-delay: 0.3s;
}
.fade-in-right {
  opacity: 1 !important;
  transform: translateX(0) !important;
}


#servicos .solution {
	margin: 10px 0 20px 0;
}

.contato p {
	margin: 25px 0 !important;
}


.site-footer {
  background-color: #05263b; /* fundo escuro igual à imagem */
  color: #fff;
  padding: 40px 20px;
  font-size: 15px;
}

.site-footer a {
  color: #fff;
  text-decoration: underline;
}

.site-footer a:hover {
  text-decoration: none;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-logo img {
  max-width: 200px;
  height: auto;
}

.footer-info,
.footer-contact {
  max-width: 430px;
  line-height: 1.6;
}

.page {
	margin: 0 !Important;
    }


#scrollTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: #f6c263;
  color: #072e87;
  font-size: 16px;
  cursor: pointer;
  z-index: 999;
	padding: 0;
}
#scrollTopBtn:hover {
  background: #072e87;
	color: #f6c263;
}


/* Primary menu */
.primary-nav > ul{
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.primary-nav a{
  color: var(--nav-link);
  text-decoration: none;
  font-weight: 500;
  line-height: 1;
  padding: 10px 2px;
}
.primary-nav .current-menu-item > a,
.primary-nav a:hover,
.primary-nav a:focus{ color: var(--nav-link-active); }

/* Language menu to the far right */
.lang-nav{ margin-left: auto; }
.lang-nav > ul{ display:flex; gap:12px; list-style:none; margin:0; padding:0; }
.lang-nav a{ color:#fff; font-weight:700; text-decoration:none; }

/* Content offset to avoid jump under fixed bar */

/* Mobile */
.menu-toggle{
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.menu-toggle__bar {
  display:block;
  width:24px;
  height:2px;
  margin:4px 0;
  background:#fff;
  transition: all 0.3s ease;
}

/* estado X */
.menu-toggle.open .menu-toggle__bar:nth-child(1) {
  transform: rotate(45deg) translate(2px, 3px);
}
.menu-toggle.open .menu-toggle__bar:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open .menu-toggle__bar:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -7px);
}

@media (max-width: 992px){
  .menu-toggle{ display:inline-flex !important; align-items:center; flex-direction: column; justify-content:center; z-index: 999; padding-top:0; }
  .primary-nav{
    position: absolute;
    left: 0; right: 0;
	  background: rgba(0, 0, 0, 0.65);
	  padding: 200px 20px 16px;
	  height: 100vh;
	  margin-top: -73px;
    display: none;
  }
  .primary-nav > ul{ flex-direction: column; gap: 20px; }
	.primary-nav a { font-size: 20px; }
  .site-header.menu-open .primary-nav{ display:block; }
  .lang-nav{ display:none; }
}

/* Submenus (desktop hover) */
.primary-nav li{ position: relative; }
.primary-nav li .sub-menu{
  display:none; position:absolute; top:100%; left:0; min-width:220px;
  background: var(--nav-bg); padding:10px 0; border-radius:8px;
  box-shadow:0 8px 20px rgba(0,0,0,.25);
  list-style: none;
}
.primary-nav li:hover > .sub-menu{ display:block; }
.primary-nav .sub-menu a{ display:block; padding:10px 14px; }
