/* Import Bootstrap */
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css');

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

.logo {
    width: 300px;
}

.contact p{
    margin: 0 !important;
}

.bl{
    color: #0787b4; 
}

.nm{
    margin: 0;
}

.contact a{
    text-decoration: none;
    color: #333;
}

.txt-prim{
    color: #0787b4;
    font-weight: 600;  
}

.text-prim {
    color: #0787b4;
    font-weight: 600;
    position: relative;
    text-align: center;
    display: block; /* Changer inline-block en block pour un centrage parfait */
    width: fit-content;
    margin: 0 auto; /* Centrage horizontal */
    padding: 10px 0;
}

.text-prim::before,
.text-prim::after {
    content: "";
    position: absolute;
    width: 0;
    height: 3px;
    background-color: #0787b4;
    transition: width 0.6s ease-out;
    left: 0;
    right: 0;
    margin: auto;
}

.text-prim::before {
    top: 0;
}

.text-prim::after {
    bottom: 0;
}

/* Animation déclenchée au scroll */
.text-prim.animated::before,
.text-prim.animated::after {
    width: 100%;
}



.hero {
    height: 60vh;
    background: url('../img/fond-pannex.png') no-repeat center/cover;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 20px;
}

.brochure-section {
    position: relative;
    background: url('../img/fond-pannex.png') no-repeat center/cover;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-attachment: fixed; /* Active l'effet parallax */
}

.overlay {
    background-color: rgba(7, 135, 180, 0.7); /* Bleu avec opacité */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.brochure-section h2, 
.brochure-section p {
    z-index: 2;
    position: relative;
}


/* Boutons */
.btn-primary {
    background-color: #0787b4;
    border: none;
}

.btn-primary:hover {
    background-color: #0787b4;
}

/* Cartes de solutions */
.card {
    transition: transform 0.3s ease-in-out;
}

.card:hover {
    transform: translateY(-5px);
}

footer{
    background: #0787b4;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in { animation: fadeIn 1s ease-in-out; }
.delay { animation-delay: 0.5s; }
.delay-2 { animation-delay: 1s; }
.delay-3 { animation-delay: 1.5s; }

/* Responsive */
@media (max-width: 768px) {
    .hero {
        height: auto;
        padding: 40px 20px;
    }
    .hero p {
        font-size: 1rem;
    }
    .logo {
        width: 150px;
    }
}
