:root {
    --preto: #000000;
    --branco: #FFFFFF;
    --cinza-escuro: #222222;
    --cinza-medio: #666666;
    --cinza-claro: #F5F5F5;
    --fonte-principal: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.html, body {
    overflow-x: hidden;
    width="100%";
}
/* Vídeo Hero em tela cheia */
.hero-video-container {
    position: relative;
    width: 100%;
    height: 100vh; /* altura total do ecrã */
    overflow: hidden;
    background: #000000; /* fundo preto para as áreas vazias do ecrã */
    padding-top: 10px; /* compensar a altura do header fixo - valor anterior 250px */
    margin-top: 0;
    border-radius: 0 0 20px 20px;
}

.hero-video-container video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover; /* corta para preencher em desktop */
}

/* comportamento mobile: mostrar o vídeo inteiro sem cortes */
/* Responsivo */
@media (max-width: 768px) {
    .hero-video-container {
        height: 100vh; /* altura mais compacta, ajustável, valor anterior 50vh */
    }
    .hero-video-container video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: scale-down; /* preserva todo o vídeo, sem cortes */
    }
	.hero-content {
	padding: 100px 20px 40px;/* primeiro campo valor inicial (100px) mais espaço no topo */
		}
	.hero-title {
	font-size: 2rem;
		}
	.hero-logo {
	width: 120px;	
		}
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.11); /* valor inicial 0.55) */
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 5; /* assegurar que fica visível (valor anterior 3) */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%; /* valor determinado anteriormente 80% */
    color: var(--branco);
    text-align: center;
    padding: 20px;
    width: 100%; /* força a largura total para acomodar o carroussel */
}

.hero-logo {
    width: 300px;
    margin-bottom: 30px;
    filter: brightness(0) invert(1); /* Transforma o logotipo preto em branco */
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 300;
    letter-spacing: -1px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin: 15px 0 40px;
    color: #CCCCCC;
}

/* ajuste do texto no mobile */
@media (max-width: 768px) {
    .hero-title {
    font-size: 2rem;
    }
    .hero-subtitle {
    font-size: 1rem;
    margin: 15px 0 30px;
    }
    .hero-logo {
    width: 120px;
    }
}
/* ==================== SECÇÃO EMPRESA ==================== */
.sobre {
    padding: 80px 5%;
    background-color: var(--cinza-claro);
}
.sobre-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}
.sobre-texto {
    flex: 1 1 50%;
}
.sobre-texto h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 30px;
    color: var(--preto);
}
.sobre-texto p {
    color: var(--cinza-medio);
    line-height: 1.7;
    margin-bottom: 15px;
}
.sobre-imagem {
    flex: 1 1 40%;
}
.sobre-imagem img {
    width: 100%;
    border: 4px solid var(--branco);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    filter: grayscale(0.3);
}



/* ==================== SECÇÃO CONTACTO ==================== */
.contacto {
    padding: 80px 5%;
    background-color: var(--cinza-claro);
    text-align: center;
}
.contacto h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    font-weight: 300;
}
.contacto-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}
.info-contacto {
    flex: 1;
    min-width: 280px;
    background: #fff;
    padding: 30px;
    border: 1px solid #ddd;
}
.info-contacto a {
    color: var(--preto);
    text-decoration: none;
    transition: color 0.3s;
}
.info-contacto h3 {
    margin-top: 0;
    font-weight: 600;
    color: var(--preto);
}
.info-contacto address {
    font-style: normal;
    margin: 15px 0;
    color: var(--cinza-medio);
}
.social-contacto {
    margin-top: 20px;
}
.social-contacto a {
    color: var(--preto);
    text-decoration: none;
    font-weight: bold;
}
.form-contacto {
    flex: 2;
    background: #fff;
    padding: 30px;
    border: 1px solid #ddd;
}
.form-contacto input,
.form-contacto textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
}
.form-contacto button {
    background-color: var(--preto);
    color: var(--branco);
    padding: 14px 30px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.form-contacto button:hover {
    background-color: var(--cinza-escuro);
}
.sucesso {
    color: green;
    background: #e6ffe6;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
}
.erro {
    color: red;
    background: #ffe6e6;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
}

/* ==================== PARCEIROS ==================== */
.parceiros {
    padding: 80px 5%;
    background-color: var(--branco);
    text-align: center;
}
.parceiros h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 50px;
    color: var(--preto);
}
.parceiros-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}
.parceiro-item {
    display: block;
    transition: transform 0.3s, filter 0.3s;
}
.parceiro-item img {
    height: 90px;              /* altura uniforme para logotipos */
    width: auto;
    filter: grayscale(100%) opacity(0.7);  /* efeito "colour-in" como na publicidade */
    transition: filter 0.3s;
}
.parceiro-item:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}



        .section-title {
            border-left: 4px solid #017a6ea2;
            padding-left: 15px;
            margin: 30px 0;
        }
        .card {
            transition: transform 0.3s;
            margin-bottom: 20px;
        }
        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        }
        .gallery-img {
            height: 250px;
            object-fit: cover;
        }

	/* Publicidade */
.publicidade {
    padding: 50px 5%;
    background-color: var(--branco);
    text-align: center;
}
.pub-slider {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}
.pub-item {
    max-width: 728px;
    transition: transform 0.3s ease;
}
.pub-item:hover {
    transform: scale(1.02);
}
.pub-item img {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
    filter: grayscale(0.5);
    transition: filter 0.3s ease;
}
.pub-item:hover img {
    filter: grayscale(0);
}
.sem-anuncios, .sem-eventos {
    color: var(--cinza-medio);
    font-style: italic;
}

	/* Footer */
.site-footer {
    background: #00416A; /* cor anterior rgba(0, 0, 0, 0.8) */
    color: var(--branco);
    padding: 60px 5% 30px;
    box-shadow: inset 0 0.5em 1.5em #0000001a, inset 0 0.125em 0.5em #00000026;
}
.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
}
.footer-col {
    flex: 1;
    min-width: 250px; /* garante que a coluna não desapareça */
    margin-bottom: 20px;
}
.footer-col h4 {
    font-weight: 600;
    margin-bottom: 15px;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer-col p,
.footer-col address {
    font-style: normal;
    color: #ccc;
    line-height: 1.8;
}
.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #888;
    font-size: 0.9rem;
}
.footer-bottom a {
    color: #888;
    text-decoration: none;
}
.footer-bottom a:hover {
    color: #fff;
}



        .social-icon {
            font-size: 24px;
            color: white;
            margin-right: 15px;
            transition: color 0.3s;
        }
        .social-icon:hover {
            color: cornflowerblue;
        }
        .required-label:after {
            content: " *";
            color: red;
        }
        p.vignette {
            position: relative;
        }
        p.vignette img {
            display: block;
        }
        p.vignette:after {
            -moz-box-shadow: inset 0 0 10em #666;  
            -webkit-box-shadow: inset 0 0 10em #666;   
        box-shadow: inset 0 0 10em #666;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 2;
        content: "";
        }
        .b-divider {
        width: 100%;
        height: 3rem;
        background-color: #0000001a;
        border: solid rgba(0, 0, 0, 0.15);
        border-width: 1px 0;
        box-shadow: inset 0 0.5em 1.5em #0000001a, inset 0 0.125em 0.5em #00000026;
        }
      
        .lamp-image:hover {
        transition: box-shadow 0.9s ease-in-out;
        box-shadow: 0 0 10px 2px rgba(255, 255, 0, 0.9);
        }
.hover-underline {
 font-size: 2rem;
 color: #ffffff;
 position: relative;
 display: inline-block;
}

.hover-underline::after, .hover-underline::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, #f1f502ff, #ecae01af);
  bottom: -5px;
  left: 0;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease-out;
}

.hover-underline::before {
  top: -5px;
  transform-origin: left;
}

.hover-underline:hover::after, .hover-underline:hover::before {
  transform: scaleX(1);
}




.form-control-dark {
  border-color: var(--bs-gray);
}
.form-control-dark:focus {
  border-color: #fff;
  box-shadow: 0 0 0 .25rem rgba(255, 255, 255, .25);
}

.text-small {
  font-size: 85%;
}

.dropdown-toggle:not(:focus) {
  outline: 0;
}


.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    border-radius: 50%;
    padding: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 999;
    transition: transform 0.3s;
}
.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Configuração do Carrossel Interno do Hero */
.hero-inner-carousel {
    width: 100vw; /* viewport width - estende o fundo do carroussel */
    margin-top: 25px;
    background: rgba(0, 0, 0, 0.4); /* Fundo semi-transparente para dar leitura às frases */
    border-radius: 8px;
    padding: 15px 0;
}

/* Customização dos textos internos dos slides */
.carousel-caption-custom {
    padding: 10px 60px; /* Margem lateral para não bater nas setas */
    min-height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}