.bg-gradiente{
    background: linear-gradient(90deg,rgb(255, 116, 116) 0%, rgb(247, 156, 158) 50%, rgb(255, 196, 197, 1) 100%);
}

.bg-gradiente_2{
    background-color: transparent !important;
    text-decoration: underline;
}





/* GERAL */
.divBreveHistoria {
  transition: all 0.4s ease;
  width: 100%;

}


#texto-completo {
  transition: all 0.4s ease;
}





/* Div dos 12 anos */


/* Flip Container */
.flip-container {
  perspective: 1000px;
  width: 100%;
  height: 100%;
  position: relative;

}


.flipper {
  transition: transform 0.6s;
  transform-style: preserve-3d;
  position: relative;
  width: 100%;
  height: 100%;
}

/* Flip effect */
.flip-container:hover .flipper {
  transform: rotateY(180deg);

}














/* Frente */
.front {
  backface-visibility: hidden;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 2;
}


/* Verso - CORRIGIDO */
.back {
  backface-visibility: hidden;
  transform: rotateY(180deg);
  z-index: 1;


  /* Aqui está a correção principal */
  position: relative;       /* ← permite crescer conforme conteúdo */
  height: auto;             /* ← altura dinâmica */
  width: 100%;
}



.btn-12anos {
  background-color: #0D426B !important;
  color: #fff !important;
}


.text-12anos {
  color: #0D426B !important;
  /* #08163f */
}

.text-gradient {
     background: linear-gradient(90deg, #ff1a1a 40%, #000000 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}



/* Cronometro */


.timer-section {
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-left: 2rem;
  padding-right: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-top: 100px;
}


  .timer-section h1 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 2.5rem;
  }

  .countdown-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: bold;
    color: white;
  }

  .countdown-box {
    width: 8rem;
    height: 7rem;
    background-color: #0D426B; /* azul escuro */
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .countdown-box span:last-child {
    font-size: 1rem;
    font-weight: normal;
    margin-top: 0.25rem;
  }

  #message {
    font-size: 2rem;
    font-weight: bold;
    margin-top: 2.5rem;
    display: none;
    color: #1e3a8a;
  }


  .project-item {
    width: 280px !important;
  }


  .celebration-text {
    text-align: center;
    color: #fff;
    background: linear-gradient(135deg, #1e90ff, #00fa9a);
    padding: 20px;
    border-radius: 12px;
    font-size: 28px;
    margin-top: 30px;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}



    #message {
      font-size: 2.5rem;
      color: #28a745;
      font-weight: bold;
    }

    .hidden {
      display: none;
    }






    /* Fim do Cronometro */







.more {
			color: #907733;
			background: #fec017;
			border: 0px solid var(--success_d);
			opacity: 0.8;
			cursor: pointer;
			text-decoration: none;
			border-radius: 20px;
			display: block;
			text-align: center;
			padding: 8px 0px;
			margin: 32px auto 0;
			max-width: 170px;
			font-size: 14px;
		}

		.more:hover {
			opacity: 1;
		}

		.success {
			color: #795a05;
			background: #fec017;
		}

		form.full select {
			height: 26px;
			border: 1px solid #fac941;
			margin-top: 0.5px;
		}




















    :root {
    --success_d: green;
    --success_l: #8bc34a7a;
    --error_d: #e90008;
    --error_l: #ff572226;
    --warn_d: #ff9800;
    --warn_l: #ffeb3b29;
}
* {
	margin: 0;
	box-sizing: border-box;
}
html {
    font-family: Arial, Helvetica, sans-serif;
}
body {
	overflow: hidden;
}
.vc_separator h4 {
	margin: 0px 0px;
}
h4.track {
	font-size: 19px !important;
	line-height: 25px;
	margin-bottom: 1px;
}
input.home {
	display: inline-block;
	float: right;
}
h4 span a {
	background: #84c584;
	border-radius:7px;
	padding:2px 8px;
	font-weight:100 !important;
}
h4 span a:hover {
	background: #72ad72;
}
a.download {
	background: #84c584;
	border-radius:7px;
	padding:2px 8px;
	font-weight:100 !important;
	color: #fff;
	text-decoration: none;
	font-size: 13px;
}
a.download:hover {
	background: #72ad72;
}
.action {
	margin-top: 0px;
	font-size: 13px;
}
form.bottom {
	display: inline !important;
}
.wider {
	min-width: 160px;
}
.success {
    color: var(--success_d);
    background: var(--success_l);
    border: 0px solid var(--success_d);
    opacity: 0.8;
	cursor: pointer;
}
.success:hover {
    opacity: 1;
}
.row {
	border-bottom: 1px solid #ccc;
	font-size: 14px;
}
th,td {
	font-size: 13px;
	border: 1px solid #e7e7e7;
	text-align: center;
	padding: 15px 6px;
}
table {
	border-collapse: collapse;
	cursor: pointer;
	margin-top: 10px;
}
.container {
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(auto-fill, 17.5rem);
    gap: 1.4rem;
    isolation: isolate;
}
.container h4 {
	margin: 0 auto;
	grid-column: 1/-1;
	isolation: isolate;
}
.ad_card {
	box-shadow: 0 5px 8px rgb(0 0 0 / 20%), 0 2px 3px rgb(0 0 0 / 20%) !important;
	text-align: center;
	border-radius: 12px;
 	overflow: hidden;
	display: grid;
	align-items: center;
	position: relative;
	background: #0006;
 	transition: top 400ms;
	top: 0;
}
.ad_card:hover {
	top: -6px;
}
.ad_card .fa-bookmark {
	z-index: 10;
	position: absolute;
	top: -4px;
	color: #e11b22;
	font-size: 30px;
	left: 5px;
	text-shadow: 1px 0px 3px #fff3;
	display: none;
}
.ribbon {
	position: absolute;
	left: -5px;
	top: -5px;
	z-index: 1;
	overflow: hidden;
	width: 75px;
	height: 75px;
	text-align: right;
	background: none !important;
}
.ribbon span {
	font-size: 10px;
	font-weight: bold;
	color: #FFF;
	text-transform: uppercase;
	text-align: center;
	line-height: 20px;
	-webkit-transform: rotate(-45deg);
	width: 100px;
	display: block;
	box-shadow: 0 3px 10px -5px black;
	position: absolute;
	top: 19px;
	left: -21px;
	background: linear-gradient(#ec1b23 0%, #cc181f 100%);
}
.ribbon span::before {
	content: "";
	position: absolute;
	left: 0px;
	top: 100%;
	z-index: -1;
	border-right: 3px solid transparent;
	border-bottom: 3px solid transparent;
	border-left: 3px solid #cc181f;
	border-top: 3px solid #9c0006;
}
.ribbon span::after {
	content: "";
	position: absolute;
	right: 0px;
	top: 100%;
	z-index: -1;
	border-left: 3px solid transparent;
	border-bottom: 3px solid transparent;
	border-right: 3px solid #cc181f;
	border-top: 3px solid #9c0006;
}
.wpb_wrapper h2 {
	text-align: center !important;
}

.ad_card {
	box-shadow: 0 2px 5px rgb(0 0 0 / 20%), 0 2px 3px rgb(0 0 0 / 20%) !important;
	text-align: center;
	border-radius: 5px;
 	overflow: hidden;
	display: grid;
	align-items: center;
	position: relative;
	background: transparent;
 	transition: top 400ms;
	top: 0;
}
.ad_card:hover {
	top: -6px;
}
.ad_card .fa-bookmark {
	z-index: 10;
	position: absolute;
	top: -4px;
	color: #e11b22;
	font-size: 30px;
	left: 5px;
	text-shadow: 1px 0px 3px #fff3;
	display: none;
}

.ad_card img {
	grid-column: 1/-1;
	grid-row: 1/-1;
	z-index: -1;
	width: 100%;
}
.ad_card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1b1b1b;
    padding: 7px 10px 2px;
    background: #fff;
    text-align: left;
    margin: 0;
    /* border-bottom: 0px solid #f5f5f5; */
    border-top: 1px solid #f5f5f5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ad_card h5 {
    grid-column: 1 / -1;
    grid-row: 1 / -1;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    background: #0009;
    padding: 4px 8px;
    margin: 0 0 4px 6px;
    border-radius: 4px;
    text-shadow: 1px 1px 1px #000;
    box-shadow: 0 0 4px #c7c7c777;
    width: 97%;
    justify-self: left;
    align-self: end;
    margin-bottom: 7px;
}
.ad_card p {
    font-size: 14px;
    min-height: 40px;
    text-align: left;
    padding: 0px 10px;
    color: #6b6b6b;
    display: flex;
    flex-direction: column;
    line-height: 1.3;
    background: #fff;
    border: 0 !important;
}
.ad_card div {
	display: flex;
	justify-content: space-between;
	background: #fff;
	padding: 20px 10px;
}
.ad_card a, .ad_card a:visited {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 1px 14px 2px;
    border-radius: 8px;
    background: #e11b22;
    color: #fff !important;
    font-size: 13px;
    display: inline-block;
    text-decoration: none;
}
.ad_card a:hover {
	background: #c80a11;
}

.ad_card img {
    grid-column: 1/-1;
    grid-row: 1/-1;
    z-index: -1;
    width: 100%;
    height: 230px;            /* mantém proporção fixa */
    object-fit: cover;        /* preenche sem distorcer */
    object-position: top;     /* mostra a parte de cima (rostos) */
    border-bottom: 1px solid #f5f5f5;
}


.date {
    font-size: 12px;
    padding: 0px 10px;
    border-radius: 9px;
    color: #4c4c4c;
    font-weight: 400;
    background-color: #cccccc29;
    display: flex;
    align-items: center;
}
.date img {
	width: 10px;
	margin: 0px 5px -2px 0px;
	display: none;
}
form.full {
	padding-top: 10px;
	grid-column: 1/-1;
	text-align: center;
}
form.full select {
	width: unset;
	height: 26px;
	padding: 3px;
	border-radius: 0 15px 15px 0 !important;
	font-size: 14px;
	border: 1px solid #8bc34a7a;
	float: right;
}
form.full input {
	height: 26px;
	border-radius: 15px 0 0 15px !important;
	padding: 4px 4px 5px 18px;
	font-size: 14px;
	margin-right: 0px;
}
form.full div {
	display: inline-block;
}
.warn {
    margin: 10px auto 10px;
    color: #fff;
    background: #c99e3d4d;
    font-weight: 100;
    padding: 10px 25px;
    border-radius: 9px;
    text-shadow: 1px 1px 2px #6b6b6b;
}



a .decorationNone {
	text-decoration:  none !important;
}




.collapse-contentt {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: scaleY(0.9);
  transform-origin: top;
  transition: all 0.5s ease-in-out;
}

.collapse-contentt.show {
  max-height: 2000px;
  opacity: 1;
  transform: scaleY(1);
}













/* #######################################  NOVOS ESTILOS ################################################ */



.project-item {
    width: 280px !important;
  }



/* Passar o mouse na imagem evento 12 anos e mostrar o olho */

  .image-container {
    position: relative;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5); /* opcional: fundo leve ao passar o mouse */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 0.3s ease;
}


.image-container:hover .project-overlay {
    opacity: 1;
}



.project-overlayy {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Cobre apenas a imagem */
    background-color: rgba(0, 0, 0, 1); /* fundo escuro translúcido */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 0.3s ease;
}

.image-container:hover .project-overlayy {
    opacity: 1;
}



@media only screen and (width: 786px) {

  .titlo_estati{
    font-size: 18pt !important;
  }
}
@media only screen and (width: 512px) {

  .titlo_estati{
    font-size: 14pt !important;
  }
}




/* Botao voltar com outoline da cor dos 12 anos */


   .btn-outline-custom {
    color: #0D426B;
    border: 2px solid #0D426B !important;
    background-color: transparent;
    transition: all 0.3s ease;
  }

  .btn-outline-custom:hover {
    background-color: #0D426B;
    color: #fff !important;
  }













  /* Galeria página home */
/* Reset e configurações base */
/* Reset e configurações base */
/* Reset e configurações base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--background);
  overflow-x: hidden; 

}

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




/* Main content */
.main {
  padding: 4rem 0;
  background: var(--surface);
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  animation: fadeIn 1s ease-out 0.5s both;
  grid-auto-rows: 250px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}












/* Gallery Items */
.gallery-item {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  background: white;
  box-shadow: 0 4px 6px var(--shadow);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  min-height: 250px;
}

.gallery-item > div > div > i {
  font-size: 30px;
}

.gallery-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px var(--shadow-hover);
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 520px;
}

.gallery-item.wide {
  grid-column: span 2;
  min-height: 250px;
}

.gallery-item.tall {
  grid-row: span 2;
  min-height: 520px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Overlay */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: ltrasparent;
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.overlay-content {
  text-align: center;
  color: white;
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover .overlay-content {
  transform: translateY(0);
}

.overlay-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.overlay-content p {
  font-size: 1rem;
  opacity: 0.9;
  font-weight: 300;
}

/* Animações de entrada escalonadas */
.gallery-item:nth-child(1) {
  animation: slideInScale 0.6s ease-out 0.1s both;
}
.gallery-item:nth-child(2) {
  animation: slideInScale 0.6s ease-out 0.2s both;
}
.gallery-item:nth-child(3) {
  animation: slideInScale 0.6s ease-out 0.3s both;
}
.gallery-item:nth-child(4) {
  animation: slideInScale 0.6s ease-out 0.4s both;
}
.gallery-item:nth-child(5) {
  animation: slideInScale 0.6s ease-out 0.5s both;
}
.gallery-item:nth-child(6) {
  animation: slideInScale 0.6s ease-out 0.6s both;
}
.gallery-item:nth-child(7) {
  animation: slideInScale 0.6s ease-out 0.7s both;
}
.gallery-item:nth-child(8) {
  animation: slideInScale 0.6s ease-out 0.8s both;
}
.gallery-item:nth-child(9) {
  animation: slideInScale 0.6s ease-out 0.9s both;
}

@keyframes slideInScale {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Footer */
.footer {
  background: var(--text-primary);
  color: white;
  text-align: center;
  padding: 2rem 0;
}

.footer p {
  opacity: 0.8;
  font-weight: 300;
}

/* Responsividade */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .title {
    font-size: 2.5rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    grid-auto-rows: 200px;
  }

  .gallery-item.large,
  .gallery-item.wide {
    grid-column: span 1;
    min-height: 200px;
  }

  .gallery-item.large {
    grid-row: span 1;
  }

  .gallery-item.tall {
    grid-row: span 1;
    min-height: 200px;
  }

  .gallery-item {
    min-height: 200px;
  }

  .main {
    padding: 2rem 0;
  }

  .header {
    padding: 3rem 0;
  }
}

@media (max-width: 480px) {
  .title {
    font-size: 2rem;
  }

  .gallery-grid {
    gap: 1rem;
    grid-auto-rows: 180px;
  }

  .gallery-item,
  .gallery-item.large,
  .gallery-item.wide,
  .gallery-item.tall {
    min-height: 180px;
  }

  .overlay-content h3 {
    font-size: 1.25rem;
  }

  .overlay-content p {
    font-size: 0.9rem;
  }
}

/* Animações adicionais para elementos que entram na viewport */
@media (prefers-reduced-motion: no-preference) {
  .gallery-item {
    animation-play-state: running;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Efeitos de brilho sutil */
.gallery-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s;
  z-index: 1;
}

.gallery-item:hover::before {
  left: 100%;
}








/* Contacto */


.titulo-contacto {
  font-size: 40px;
  font-weight: normal;
  margin-left: -80px;
}

.sub-contacto {
  font-size: 16px;
  font-weight: normal;
  color: gray;
}

.item-contacto{
  display: flex;
  font-weight: 600;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  border-radius: 10px;
  border: #acacac solid 1px;
  padding: 8px 10px;
}

.item-contacto i {
  font-size: 20px;
  margin-right: 10px;

}
.item-contacto p {
  font-size: 16px;
  margin: 0;
}
.item-contacto:hover {
   background: linear-gradient(to right, #0D426B, #000333);
  color:white;
  transition: 0.6s;
  cursor: pointer;
  margin-left: 20px;
  transform: translateX(20px);
}

.form-control:hover {
  border: #0D426B solid 3px;

}

.container-contacto-item {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}









/* Carroucel Ver Mais Noticias */

.carousel-img-wrapper {
    position: relative;
    overflow: hidden;
}

.carousel-img-wrapper img {
    transition: transform 0.5s ease;
}

.carousel-img-wrapper:hover img {
    transform: scale(1.05); /* zoom suave */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.carousel-img-wrapper:hover .overlay {
    opacity: 1;
}

.overlay i {
    color: #fff;
    font-size: 2rem;
}




/* ============================================= Animações do carrousell Zoom =========================================== */



@keyframes backgroundZoom {
    0% {
        background-size: 100%;
    }
    50% {
        background-size: 120%;
    }
    100% {
        background-size: 100%;
    }
}

.ispirit-slider-item {
    width: 100vw;
    position: relative;
}

.ispirit-slider-box {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.ispirit-slider-img {
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Só animação no computador (largura mínima 1024px) */
@media (min-width: 1024px) {
    .ispirit-slider-img {
        animation: backgroundZoom 20s ease-in-out infinite;
    }
}

.ispirit-slide-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    padding: 2rem;
}

.ispirit-slide-content-inner {
    max-width: 600px;
    text-align: left;
}

.ispirit-slide-title {
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.ispirit-slide-title:first-child {
    font-size: clamp(1.5rem, 4vw, 3rem);
    color: #ffffff;
    letter-spacing: 2px;
}

.ispirit-slide-title.text-white {
    font-size: clamp(1rem, 2.5vw, 1.8rem);
    color: #f0f0f0;
    font-weight: 300;
}

/* Responsividade */
@media (max-width: 768px) {
    .ispirit-slide-content {
        padding: 1rem;
        justify-content: center;
        text-align: center;
    }

    .ispirit-slide-content-inner {
        max-width: 90%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .ispirit-slide-content {
        padding: 0.5rem;
    }
}

/* Imagens do carousel */
.carousel-img-wrapper img {
    height: 300px !important;
    object-fit: cover;
}

@media (max-width: 767px) {
    .carousel-img-wrapper img {
        height: 200px !important;
    }
}
