/* --------------------------------------------------------------
   RESET & VARIÁVEIS RESPONSIVAS
-------------------------------------------------------------- */
:root {
    --blue: #133b7c;
    --green: #104826;
    --green-accent: #42bd00;
    --white: #fff;
    --shadow: 0 2px 4px rgba(0,0,0,0.05);
    --border-radius: 25px;
    --border-radius-sm: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
    font-family: "Acumin Variable Concept", "Segoe UI", sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* ----- TYPOGRAPHY FLUID ----- */
h1, h2, h3, p, a, .nav-link, .btn {
    line-height: 1.2;
}

/* ----- NAVBAR TOTALMENTE RESPONSIVA ----- */
.navbar {
    background-color: white !important;
    box-shadow: var(--shadow);
    padding: 0.5rem 1rem;
    min-height: 80px;
}

.navbar .container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand img {
    height: 60px;
    width: auto;
    transition: height 0.2s;
}

.navbar-collapse {
    flex-grow: 0;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.navbar-nav .nav-link {
    color: var(--blue) !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1.125rem;
    padding: 0.5rem 1rem !important;
    white-space: nowrap;
    transition: 0.15s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: white !important;
    background-color: var(--blue);
    border-radius: var(--border-radius-sm);
}

/* caixa idioma */
.lang-box {
    background: var(--blue);
    padding: 0.4rem 1rem;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 90px;
}

.lang-link {
    color: white;
    font-weight: 600;
    text-decoration: none;
    padding: 0 0.2rem;
    font-size: 1.1rem;
}

.lang-link.active {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.txt-white { color: white; }

/* ----- HERO ----- */
.hero {
    position: relative;
    width: 100%;
    min-height: 87vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    margin-top: 80px;
}

.hero img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.45);
    z-index: -1;
}

.content {
    color: var(--green);
    max-width: 600px;
    padding: 2rem;
    margin-left: 50%;
    background-color: rgba(255,255,255,0.85);
    backdrop-filter: blur(3px);
    border-radius: 20px;
}

#title1, #title2 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    color: var(--blue);
    text-transform: uppercase;
    font-weight: 600;
    line-height: 1;
}

.btnHero {
    background: var(--blue);
    padding: 0.75rem 2rem;
    border-radius: 40px;
    color: white;
    font-size: clamp(1rem, 4vw, 1.5rem);
    border: none;
    width: auto;
    min-width: 200px;
    margin: 0 auto;
    display: inline-block;
    transition: all 0.25s;
}

.btnHero:hover {
    background-color: var(--green-accent);
}

/* ----- SEÇÕES GLOBAIS ----- */
section[id] {
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Secções com background cover e altura total */
#info, #impact, #techPlatform, #services, #contact {
    background-size: cover;
    min-height: 100vh;
    padding: 5% 5%;
}

#info {
    background-image: url("../img/CECOLAB_MockupSite_TestBedLavoisier_v3.2026.02.09-07.png");
    background-color: #373B44;
}
#impact {
    background-image: url("../img/CECOLAB_MockupSite_TestBedLavoisier_v3.2026.02.09-08.png");
    background-color: white;
}
#techPlatform {
    background-image: url("../img/CECOLAB_MockupSite_TestBedLavoisier_v3.2026.02.09-09.png");
    background-color: white;
}
#services {
    background-image: url("../img/CECOLAB_MockupSite_TestBedLavoisier_v3.2026.02.09-10.png");
    background-color: white;
}
#contact {
    background-image: url("../img/CECOLAB_MockupSite_TestBedLavoisier_v3.2026.02.09-11.png");
    background-color: #373B44;
}

/* ----- SECÇÃO #about com imagem completa e sem cortes ----- */
#about {
    background-image: url("../img/CECOLAB_MockupSite_TestBedLavoisier_v2026.02.13-13.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: white;
    width: 100%;
    padding: 0;
    margin: 0;
    padding-bottom: 80.6%;
    height: 0;
    position: relative;
    display: block;
    min-height: 0;
}

/* ----- SECÇÃO ADERENTES ----- */
#aderentes {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
    background-color: white;
}

#aderentes2, #aderentes3, #aderentes5 {
    width: 100%;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 5% 5%;
    position: relative;
}

#aderentes4{
	width: 100%;
    /*min-height: 100vh;*/
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 2% 2%;
    position: relative;
}

#aderentes1 {
  /*  background-image: url("../img/CECOLAB_MockupSite_TestBedLavoisier_v3.2026.02.09-06.png");
    background-color: white;
    justify-content: center;
    align-items: center;*/
}

#aderentes2 {
    background-image: url("../img/CECOLAB_MockupSite_TestBedLavoisier_v3.2026.02.09-15.png");
    /*justify-content: flex-start;
    align-items: flex-start;*/
    padding-top: 4%;
}

#aderentes3 {
    background-color: white;
    min-height: auto;
    padding: 5%;
}

#aderentes4 {
    background-image: url("../img/CECOLAB_MockupSite_TestBedLavoisier_v3.2026.02.09-16.png");
}

#aderentes5 {
    background-color: #f5f5f5;
    min-height: auto;
    padding: 5%;
}

/* Estilo para o texto dentro da secção #about */
#about h2, #about p {
    position: absolute;
    color: #133b7c;
    padding: 1rem 2rem;
}

#promotorsh {
    color: #133b7c;
    position: absolute;
        margin-top: 3%;
    margin-left: 21%;
    font-size: clamp(2.5rem, 7vw, 4rem);
}

#promotorsp {
    color: #133b7c;
    position: absolute;
    margin-top: 5%;
    margin-left: 55%;
    font-size: clamp(1.1rem, 3vw, 1.6rem);
    text-align: justify;
    margin-bottom: 1.2rem;
    width: 35%;
}

#promotorsh2 {
        margin-top: 22%;
    margin-left: 57%;
    width: 20%;
    font-size: clamp(2.5rem, 7vw, 3rem);
}

#promoterslbl {
    color: #133b7c;
    font-weight: 600;
    font-size: clamp(2.5rem, 7vw, 5rem);
	margin-left: 10%;
}

/* Estilo para o título do aderentes2 - agora no topo */
#aderentes2h {
    color: white;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    width: 80%;
    margin: 0 0 2rem 0;
    text-align: left;
    font-weight: 600;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
	    margin-left: 10%;
}

#aderentes3h {
    color: #133b7c;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    width: 80%;
    margin: 0 0 2rem 0;
    text-align: left;
    font-weight: 600;
    line-height: 1.2;
   
	    margin-left: 10%;
}

#aderentes4h {
    color: white;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    width: 80%;
    margin: 0 0 2rem 0;
    text-align: left;
    font-weight: 600;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
	    margin-left: 12%;
}

/* Estilo para a lista - por baixo do título */
#aderentesol {
    color: white;
        font-size: clamp(1.2rem, 3vw, 2.5rem);
    width: 80%;
    margin: 0;
    padding-left: 1.5rem;
    text-align: left;
	    margin-left: 15%;
}

#aderentesol li {
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

/* colunas flexíveis */
.row {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin: 0;
}
.column {
    float: none;
    width: 50%;
    padding: 2rem;
    flex: 0 0 50%;
    max-width: 50%;
}
#info .column, #contact .column {
    width: 100%;
    max-width: 700px;
    margin-left: 0;
}

/* títulos fluidos */
#abouth1, #abouth2, #impacth, #techPlatformh1, #servicesh, #contacth1 {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}
#abouth1, #abouth2, #aboutdesc1, #aboutdesc2 { color: white; }
#impacth { color: var(--blue); }
#impactdesc1, #aboutdesc1, #aboutdesc2 {
    font-size: clamp(1.1rem, 3vw, 1.6rem);
    text-align: justify;
    margin-bottom: 1.2rem;
}
#impactdesc1 { color: var(--blue); }
#techPlatformh1 { color: white; margin-top: 0; }

.imgtechplatform {
    max-width: 90%;
    height: auto;
    margin: 2rem auto 0 5%;
    display: block;
}

/* ----- SERVIÇOS ----- */
.box {
    background: var(--blue);
    border-radius: 40px;
    padding: 1.8rem 0.8rem;
    margin-bottom: 1.5rem;
    width: 100%;
    min-height: 130px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.25s;
}
.box:hover {
    background-color: var(--green-accent);
    transform: scale(1.02);
}
.box p {
    font-size: clamp(1rem, 2.2vw, 1.4rem);
    color: white;
    font-weight: 600;
    margin: 0;
    padding: 0 0.5rem;
    text-align: center;
}

/* modais */
.modal-dialog { max-width: 550px; margin: 1.75rem auto; }
.modal-content { background-color: var(--blue); color: white; border-radius: 20px; }
.modal-header { border-bottom: none; }
.modal-header .btn-close { filter: invert(1); opacity: 1; }
.modal-title { font-size: 1.9rem; font-weight: 600; color: white; }
.modal-body p { font-size: 1.3rem; line-height: 1.4; }

/* contactos */
.dvc {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-top: 2.5rem;
    margin-left: 0;
    flex-wrap: wrap;
}
.icncontact {
    color: white;
    font-size: clamp(2.5rem, 6vw, 4rem);
    min-width: 60px;
    text-align: center;
}
#contactp {
    font-size: clamp(1.1rem, 3vw, 1.8rem);
    color: white;
    font-weight: 600;
    margin: 0;
    word-break: break-word;
}

#aderentes5{
	background-color: white;
    min-height: auto;
    padding: 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.form-container {
    background-color: var(--blue); /* #133b7c */
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-title {
    color: white;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: left;
}

.form-group {
    margin-bottom: 1.5rem;
    width: 100%;
}

.form-input {
    width: 100%;
    padding: 1rem 1.2rem;
    background-color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-family: "Acumin Variable Concept", sans-serif;
    color: var(--blue);
    outline: none;
    transition: box-shadow 0.2s;
}

.form-input::placeholder {
    color: var(--blue);
    opacity: 0.8;
    font-weight: 500;
}

.form-input:focus {
    box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
}

.form-button {
    background-color: white;
    color: var(--blue);
    border: none;
    border-radius: 50px;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
    margin-top: 1rem;
    font-family: "Acumin Variable Concept", sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-button:hover {
    background-color: var(--green-accent);
    color: white;
    transform: scale(1.02);
}

/* --------------------------------------------------------------
   MEDIA QUERIES
-------------------------------------------------------------- */
@media (max-width: 1199px) {
    .content { margin-left: 40%; max-width: 500px; }
}

@media (max-width: 991px) {
    .navbar-brand img { height: 55px; }
    .navbar-nav { gap: 0.2rem; width: 100%; justify-content: flex-start; }
    .navbar-nav .nav-link { font-size: 1rem; white-space: normal; }
    .hero { min-height: 100vh; margin-top: 70px; }
    .content { margin-left: 5%; max-width: 90%; background-color: rgba(255,255,255,0.9); }
    .column { width: 100%; max-width: 100%; flex: 0 0 100%; padding: 1.5rem; }
    #info .column, #impact .column, #services .column, #contact .column { width: 100%; flex: 0 0 100%; }
    .imgtechplatform { max-width: 95%; margin-left: 0; }
    .box { min-height: 110px; }
    
    #promotorsp {
        width: 80%;
        right: 5%;
        top: 40%;
    }
    
    #promotorsh2 {
        bottom: 10%;
        right: 5%;
    }
    
    #aderentes2 {
        padding-top: 12%;
    }
    
    #aderentes2h {
        width: 90%;
        font-size: clamp(1.8rem, 4vw, 2.8rem);
    }
	
	#aderentes3h {
        width: 90%;
        font-size: clamp(1.8rem, 4vw, 2.8rem);
    }
	
	#aderentes4h {
        width: 90%;
        font-size: clamp(1.8rem, 4vw, 2.8rem);
    }
    
    #aderentesol {
        width: 90%;
        font-size: clamp(1rem, 2.5vw, 1.4rem);
    }

}

@media (max-width: 768px) {
    .navbar-brand img { height: 48px; }
    .navbar-nav { flex-direction: column; align-items: flex-start; width: 100%; }
    .nav-item { width: 100%; }
    .navbar-nav .nav-link { width: 100%; text-align: left; }
    .lang-box { align-self: flex-start; margin-top: 0.5rem; }
    .hero { justify-content: center; align-items: center; text-align: center; }
    .content { margin: 0 auto; max-width: 95%; text-align: center; background-color: rgba(255,255,255,0.85); }
    .btnHero { min-width: 180px; }
    .column { padding: 1.2rem; }
    
    #about { padding-bottom: 120.6%; }
    
    #promotorsh {
                top: 10%;
        left: -12%;
                font-size: 1.5rem;
        padding: 0.8rem 1.5rem;
    }
    
    #promotorsp {
        width: 90%;
        left: -48%;
        right: auto;
        top: -16%;
        font-size: 1.2rem;
        padding: 0.8rem 1.5rem;
    }
    
    #promotorsh2 {
                bottom: 55%;
        left: -5%;
        right: auto;
        width: 40%;
        font-size: 1.5rem;
        padding: 0.8rem 1.5rem;
    }
    
    #aderentes1, #aderentes2, #aderentes4 {
        min-height: 70vh;
    }
    
    #aderentes2 {
        padding-top: 15%;
        padding-left: 8%;
        padding-right: 8%;
    }
    
    #aderentes2h {
        width: 100%;
        font-size: clamp(1.5rem, 5vw, 2.2rem);
        margin-bottom: 1.5rem;
    }
	
	#aderentes3h {
        width: 100%;
        font-size: clamp(1.5rem, 5vw, 2.2rem);
        margin-bottom: 1.5rem;
    }
	
	#aderentes4h {
        width: 100%;
        font-size: clamp(1.5rem, 5vw, 2.2rem);
        margin-bottom: 1.5rem;
    }
    
    #aderentesol {
        width: 100%;
        font-size: clamp(0.95rem, 3vw, 1.2rem);
        padding-left: 1.2rem;
    }
    
    #aderentesol li {
        margin-bottom: 0.6rem;
    }
	
	.form-container {
        padding: 2rem;
    }
    
    .form-title {
        font-size: 1.8rem;
    }
    
    .form-input {
        padding: 0.9rem 1.2rem;
        font-size: 1rem;
    }
	
	#promoterslbl {
           color: #133b7c;
        font-weight: 600;
        /*font-size: clamp(1.5rem, 5vw, 5rem);*/
		        font-size: 1.5rem;
}
}

@media (max-width: 576px) {
    .navbar-brand img { height: 42px; }
    .overlay { display: block; background: rgba(0,0,0,0.6); }
    .content { background-color: transparent; backdrop-filter: none; color: white; }
    #title1, #title2 { color: white; text-shadow: 2px 2px 6px rgba(0,0,0,0.5); }
    section[id] { padding: 15% 5%; }
    .box { padding: 1rem 0.3rem; min-height: 90px; }
    .box p { font-size: 1rem; }
    .dvc { flex-direction: column; align-items: flex-start; }
    #contactp { font-size: 1.2rem; }
    
    #about { padding-bottom: 120.6%; }
    
    #promotorsh {
        font-size: 1.5rem;
        padding: 0.6rem 1.2rem;
    }
    
    #promotorsp {
        font-size: 1rem;
        padding: 0.6rem 1.2rem;
    }
    
    #promotorsh2 {
        font-size: 1.3rem;
        padding: 0.6rem 1.2rem;
    }
    
    #aderentes1, #aderentes2, #aderentes4 {
                min-height: 10vh;
    }
    
    #aderentes2 {
        padding-top: 20%;
        padding-left: 8%;
        padding-right: 8%;
    }
    
    #aderentes2h {
        font-size: clamp(1.3rem, 5vw, 1.8rem);
        margin-bottom: 1.2rem;
    }
	#aderentes3h {
        font-size: clamp(1.3rem, 5vw, 1.8rem);
        margin-bottom: 1.2rem;
    }
	#aderentes4h {
        font-size: clamp(1.3rem, 5vw, 1.8rem);
        margin-bottom: 1.2rem;
    }
    
    #aderentesol {
        font-size: clamp(0.85rem, 3vw, 1rem);
        padding-left: 1rem;
    }
	
	 #aderentes5 {
        padding: 10% 5%;
    }
    
    .form-container {
        padding: 1.5rem;
    }
    
    .form-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .form-input {
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
    }
    
    .form-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

}

:target { scroll-margin-top: 90px; }
@media (max-width: 768px) { :target { scroll-margin-top: 80px; } }

/* ----- ESTILOS PARA MENSAGENS DO FORMULÁRIO ----- */
.form-mensagem {
    width: 100%;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

.form-mensagem.sucesso {
    background-color: #42bd00;
    color: white;
}

.form-mensagem.erro {
    background-color: #dc3545;
    color: white;
}

.form-mensagem.fade-out {
    opacity: 0;
}

/* Desabilitar botão durante o envio */
.form-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-button:disabled:hover {
    background-color: white;
    color: var(--blue);
    transform: none;
}

/* Footer Styles */
        .footer {
            
            color: #fff;
            padding: 40px 20px 20px;
            width: 100%;
        }

        .footer-container {
            max-width: 1200px;
            margin: 0 auto;
        }

        /* Footer content layout */
        .footer-content {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 30px;
            margin-bottom: 30px;
        }

        .footer-section {
            flex: 1 1 200px;
            min-width: 200px;
        }

        .footer-section h3 {
            margin-bottom: 15px;
            font-size: 18px;
        }

        .footer-section p, 
        .footer-section a {
            color: #ccc;
            line-height: 1.6;
            text-decoration: none;
            display: block;
            margin-bottom: 8px;
        }

        .footer-section a:hover {
            color: #fff;
        }

        /* Image styles */
        .imgFooter {
            max-width: 100%;
            height: auto;
            display: block;
            margin: 20px 0;
            border-radius: 4px;
        }

        /* Footer bottom */
        .footer-bottom {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid #555;
            color: #ccc;
            font-size: 14px;
        }

        /* Responsive adjustments */
        @media (max-width: 768px) {
            .footer {
                padding: 30px 15px 15px;
            }

            .footer-content {
                flex-direction: column;
                gap: 25px;
            }

            .footer-section {
                text-align: center;
            }

            .imgFooter {
                margin: 20px auto;
            }
			
			#impact {
				background-image: none;
				background-color: whte;
			}
        }

        @media (max-width: 480px) {
            .footer-section {
                min-width: 100%;
            }
        }

