
:root {
    --primary-color: #0d47a1;
    --primary-darker-color: #0b3c8a;
    --secondary-color: #1976d2;
    --dark-color: #212121;
    --light-color: #f5f5f5;
    --white-color: #fff;
    --box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    --font-family: 'Roboto', sans-serif;
}

body {
    font-family: var(--font-family);
    margin: 0;
    color: var(--dark-color);
    line-height: 1.6;
    background-color: #f0f2f5;
}

#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background-color: transparent;
    transition: background-color 0.3s ease-in-out;
    box-sizing: border-box;
}

#header.scrolled {
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: var(--box-shadow);
}

.logo img {
    max-width: 150px;
    transition: all 0.3s ease;
}

.lang-selector {
    color: var(--white-color);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

#header.scrolled .lang-selector {
    color: var(--dark-color);
    text-shadow: none;
}

.lang-selector span.active {
    color: var(--secondary-color);
}

.nav {
    display: block !important;
}

.nav__list {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav__item {
    margin: 0 1rem;
}

.nav__link {
    color: var(--white-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
    transition: color 0.3s ease;
}

#header.scrolled .nav__link {
    color: var(--dark-color);
    text-shadow: none;
}

.nav__link:hover {
    color: var(--secondary-color);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

#hero { position: relative; height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 0; overflow: hidden; }
#hero-video { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); min-width: 100%; min-height: 100%; z-index: -1; filter: brightness(1.2) contrast(1.1); }
.hero-text { position: relative; z-index: 1; padding: 0 1rem; }
.hero-text h1 { color: var(--white-color); text-shadow: 0 2px 8px rgba(0,0,0,0.7); font-size: 3rem; margin: 0 0 1rem 0; animation: fadeInUp 1s ease-out forwards; }
.hero-text p { color: #000080; text-shadow: 1px 1px 3px rgba(255,255,255,0.7); font-size: 1.5rem; font-weight: 700; opacity: 0; animation: fadeInUp 1s ease-out 0.5s forwards; }

main > section:not(#hero):not(#about) { padding: 4rem 1rem; margin: 2rem auto; border-radius: 8px; max-width: 1200px; box-shadow: 0 8px 32px 0 rgba(0,0,0,0.1); background-color: var(--white-color); }

#about { position: relative; height: 100vh; padding: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; width: 100%; max-width: 100%; margin: 0; background: #000; }
#about-video { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); min-width: 100%; min-height: 100%; width: auto; height: auto; z-index: 1; filter: brightness(1); opacity: 1 !important; visibility: visible !important; }
.about-video-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); z-index: 2; }
.about-text-content { position: relative; z-index: 3; color: var(--white-color); padding: 3rem; max-width: 1100px; text-align: center; }

#filosofia { padding: 0; background-color: transparent; box-shadow: none; }
.about-flex-container { display: flex; align-items: stretch; gap: 0; border-radius: 8px; overflow: hidden; width: 100%; box-shadow: var(--box-shadow); }
.about-image { flex: 1 1 50%; min-width: 50%; position: relative; }
.about-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-text-content-filosofia { flex: 1 1 50%; box-sizing: border-box; background-color: var(--primary-color); color: var(--white-color); padding: 3rem; display: flex; flex-direction: column; justify-content: center; }

.about-title { text-align: center; font-size: 2.8rem; font-weight: 700; color: white; margin-bottom: 1.5rem; }
h2 { text-align: center; font-size: 2.2rem; margin-bottom: 2.5rem; color: var(--primary-color); }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 12px 20px rgba(0,0,0,0.15); }
.clients-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: flex-start; }

.carousel-container { position: relative; width: 100%; height: 100%; }
.carousel-container img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s ease-in-out; }
.carousel-container img.active { opacity: 1; }

.affiliation-logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; align-items: center; }
.logo-item:hover { transform: translateY(-5px); box-shadow: 0 8px 15px rgba(0,0,0,0.1); }
.logo-item img { filter: grayscale(100%); transition: filter 0.3s ease; }
.logo-item:hover img { filter: grayscale(0%); }

.contact-container { display: flex; gap: 3rem; }

.service-card i {
    font-size: 3rem;
    color: var(--secondary-color);
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-top: 1rem;
}

ul {
    list-style-type: none;
    padding-left: 0;
}

li .fas.fa-check {
    font-size: 1rem;
    margin-right: 0.5rem;
}
