/* TITRES DE PAGES */
.titre-page {
    font-family: 'Montserrat', sans-serif;
    font-size: 4.5rem; 
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
    margin-top: 1rem !important; 
    margin-bottom: 2rem;
    line-height: 1.1;
}

.confiance-section .titre-page {
    margin-top: 6rem !important; 
} 

.titre-page .gris {
    color: #808080 !important; 
}

.titre-page .bleu {
    color: #365F91 !important; 
}

.sous-titre {
    text-align: center;
    font-size: 1.3rem;
    color: #333;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    line-height: 1.4;
}

/* POLICE DE TEXTE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box !important;
}

html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    font-family: 'Montserrat', sans-serif; 
    background-color: #ffffff;
}

html {
    scroll-behavior: smooth; 
    scroll-padding-top: 50px; 
}

.expertises-page, 
.a-propos-page, 
.contact-page, 
.technologies-page {
    padding-top: 100px !important; 
}

/* HEADER */
.site-header.navbar {
    padding: 0;
    background-color: #808080 !important;
    height: 100px; 
}

.site-header {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
}

body {
    padding-top: 100px;
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.nav-left, .nav-right {
    display: flex;
    gap: 20px; 
    flex: 1;
}

.nav-left {
    display: flex;
    gap: 15px;
    flex: 1; 
    justify-content: flex-start;
}

.nav-right {
    display: flex;
    flex: 1; 
    justify-content: flex-end;
}

/* STYLE DES BOUTONS */
.nav-btn {
    text-decoration: none;
    color: white !important;
    background-color: #365F91;
    padding: 12px 20px; 
    border-radius: 50px;
    font-size: 1rem; 
    font-weight: 700;
    white-space: nowrap;
    transition: 0.3s;
}

.nav-btn:hover {
    background-color: #2a4a72;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* LOGO */
.logo-container {
    flex: 0 0 auto; 
    padding: 0 20px; 
}

.logo {
    background: white;
    padding: 10px 30px;
    border-radius: 60px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo img {
    height: 55px;
    display: block;
}

/* HERO SECTION */

.hero {
    background: linear-gradient(rgba(255,255,255,0.6), rgba(255,255,255,0.6)), 
                url('/fond_image.jpg') center/cover no-repeat;
    background-size: cover;       
    background-position: center;  
    background-repeat: no-repeat;
    height: 100vh;                
    width: 100%;
    display: flex;
    align-items: center;
    padding-left: 10%;
    margin-top: -100px; 
}

.hero-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900; 
    font-size: 5rem; 
    line-height: 0.95;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.titre-gris { 
    color: #808080; 
}

.titre-bleu { 
    color: #365F91; 
}

.hero-content p {
    font-size: 1.5rem;
    font-weight: 400;
    max-width: 700px;
    margin-bottom: 3rem;
}

.contact-hero {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #365F91;
    color: white;
    text-decoration: none;
    padding: 12px 35px;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: bold;
    transition: 0.3s;
}

.contact-hero i { 
    font-size: 1.8rem; 
}

.contact-hero:hover { 
    background-color: #2a4a72; 
}

/* FOOTER */
footer {
    background-color: #808080;
    color: white;
    text-align: center;
    padding: 25px 0;
}

footer p { margin-bottom: 5px; font-size: 0.9rem; }

/* PAGE EXPERTISES */
.expertises-page {
    padding: 4rem 2rem;
    max-width: 1300px;
    margin: 0 auto;
}

.grid-expertises {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 3rem; 
    margin-top: 3rem;
}

.carte {
    background-color: #D9D9D9; 
    border: 1px solid #365F91; 
    border-radius: 25px; 
    padding: 35px;
    text-align: left; 
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.carte:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.carte .icone {
    font-size: 2.2rem;
    color: #365F91;
    margin-bottom: 10px;
}

.carte h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
    margin-bottom: 10px;
}

.carte p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.4;
    margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .grid-expertises {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .grid-expertises {
        grid-template-columns: 1fr;
    }
}

/* PAGE TECHNOLOGIES */
.grid-tech-partenaires {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto 4rem auto;
}

.tech-card {
    background-color: #D9D9D9;
    border: 1px solid #365F91;
    border-radius: 15px;
    padding: 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.tech-card strong { 
    font-size: 1.1rem; 
    color: #000; 
}
.tech-card span { 
    font-size: 0.85rem; 
    color: #444; 
}

.maitrise-container {
    padding: 0 2rem 4rem 2rem;
}

.maitrise-box {
    background-color: #D9D9D9;
    border: 1px solid #365F91;
    border-radius: 30px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px;
    text-align: center;
}

.maitrise-box h3 {
    color: #365F91;
    margin-bottom: 25px;
    font-weight: 700;
}

.maitrise-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.maitrise-grid div {
    display: flex;
    align-items: center;
    background: white;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
}

.maitrise-grid div::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: #365F91;
    border-radius: 50%;
    margin-right: 12px;
    flex-shrink: 0;
}


.maitrise-item {
    background: white;
    padding: 10px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
}

.chiffres-section {
    background-color: #365F91;
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.titre-blanc { 
    color: white; 
    font-size: 4rem; 
    font-weight: 900; 
    margin-bottom: 10px; 
}

.sous-titre-blanc { 
    color: white; 
    margin-bottom: 3rem; 
    opacity: 0.9; 
}

.grid-chiffres {
    display: flex;
    justify-content: center;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.chiffre-card {
    background: #D9D9D9;
    color: #365F91;
    padding: 30px;
    border-radius: 20px;
    width: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.chiffre-card i { 
    font-size: 3rem; 
    margin-bottom: 10px; 
}

.chiffre-card .nombre { 
    font-size: 2.5rem; 
    font-weight: 900; 
}

.chiffre-card .label { 
    font-size: 1.1rem; 
    font-weight: 700; 
}

.chiffre-card .detail { 
    font-size: 0.9rem; 
    color: #666; 
}

/* SECTION CONFIANCE */
.confiance-wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem 5rem 2rem;
}

.logo-box {
    border: 1px solid #365F91;
    border-radius: 5px;
    height: 80px; 
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    padding: 15px;
    width: 100%;
    overflow: hidden; 
    transition: all 0.3s ease;
}

.logo-box img {
    width: auto; 
    height: auto; 
    max-width: 100%; 
    max-height: 100%; 
    object-fit: contain; 
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
}

.logo-box:hover img {
    filter: grayscale(0%); 
    opacity: 1; 
    transform: scale(1.05); 
}

.logo-box:hover {
    border-color: #2a4a72; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); 
}

/* PAGE À PROPOS */

.a-propos-page {
    padding: 2rem 0 5rem 0;
}

.valeurs-titre {
    color: #365F91;
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.valeur-item {
    background-color: #D9D9D9; 
    border: 1px solid #365F91; 
    border-radius: 10px;
    padding: 12px 20px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease;
}

.valeur-item:hover {
    transform: translateX(10px); 
}

.valeur-item i {
    color: #365F91;
    font-size: 1.4rem;
}

.valeur-item span {
    font-weight: 500;
    color: #000;
}

.zone-card {
    background-color: #D9D9D9;
    border: 1px solid #365F91;
    border-radius: 30px;
    padding: 40px;
    max-width: 1000px;
    margin: 4rem auto 0 auto !important;
}

.zone-icon {
    background-color: #365F91;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    font-size: 1.8rem;
}

.zone-card h2 {
    color: #365F91;
    font-weight: 700;
}

.zone-card p {
    max-width: 800px;
    margin: 0 auto 15px auto;
    line-height: 1.6;
}

/* PAGE CONTACT */

.contact-page {
    padding: 3rem 0 5rem 0;
}

.contact-title {
    font-size: 4.5rem;
    font-weight: 900;
    color: #365F91;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.contact-subtitle {
    font-size: 1.3rem;
    font-style: italic;
    color: #333;
    margin-bottom: 3rem;
}

.contact-icon-circle {
    background-color: #365F91;
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.contact-form-wrapper {
    background-color: #D9D9D9; 
    border: 1px solid #365F91; 
    border-radius: 30px;
    padding: 40px;
    max-width: 900px;
}

.contact-page .form-label {
    font-weight: 500;
    color: #000;
    margin-bottom: 5px;
}

.contact-page .form-control {
    border-radius: 10px;
    border: 1px solid #ccc;
    padding: 12px 15px;
}

.contact-btn-submit {
    background-color: #365F91 !important;
    color: white !important;
    font-weight: 700;
    font-size: 1.2rem;
    padding: 12px;
    border-radius: 10px;
    transition: 0.3s;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact-btn-submit:hover {
    background-color: #2a4a72 !important;
    transform: translateY(-2px);
}

.site-header {
    background-color: #808080 !important;
    height: 100px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 2000;
}

.header-wrapper {
    width: 95%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.nav-desktop { 
    display: flex; 
    gap: 15px; 
    flex: 1; 
}

.nav-right { 
    justify-content: flex-end; 
}

.menu-checkbox, .hamburger, .mobile-menu-content { 
    display: none; 
}

/* CONFIGURATION TELEPHONE */
@media (max-width: 991px) {
    .nav-grid-mobile .nav-btn, 
    .nav-contact-mobile .nav-btn {
        display: block !important;  
        text-align: center !important; 
        padding: 12px 10px !important; 
    }
    
    .nav-desktop { 
        display: none; 
    } 

    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        z-index: 2001;
    }

    .hamburger span {
        display: block;
        width: 30px;
        height: 4px;
        background-color: white;
        border-radius: 2px;
        transition: 0.3s;
    }

    .mobile-menu-content {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: #808080;
        padding: 20px;
        border-bottom: 2px solid #365F91;
    }

    .menu-checkbox:checked ~ .mobile-menu-content {
        display: block;
    }

    .menu-checkbox:checked ~ .hamburger span:nth-child(1) { 
        transform: translateY(9px) rotate(45deg); 
    }
    .menu-checkbox:checked ~ .hamburger span:nth-child(2) { 
        opacity: 0; 
    }
    .menu-checkbox:checked ~ .hamburger span:nth-child(3) { 
        transform: translateY(-9px) rotate(-45deg); 
    }

    .nav-grid-mobile {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        margin-bottom: 20px;
    }

    .nav-contact-mobile .nav-btn {
        display: block;
        width: 100%;
        text-align: center;
    }

    .menu-checkbox { display: none; }
}

/* TELEPHONE PAGE ACCUEIL */
@media (max-width: 768px) {
    .hero {
        height: 100vh !important; 
        width: 100% !important;
        padding: 0 5% !important; 
        display: flex;
        flex-direction: column;
        justify-content: center; 
        align-items: center; 
        text-align: center;
        background-attachment: scroll !important; 
    }

    .hero-content h1 {
        font-size: 2.2rem !important; 
        line-height: 1.1;
        margin-bottom: 1.5rem;
    }

    .hero-content p {
        font-size: 1rem !important;
        margin-bottom: 2rem;
    }


    .contact-hero {
        font-size: 1.1rem !important;
        padding: 10px 20px !important;
    }

    html, body {
        overflow-x: hidden !important;
        position: relative;
    }
}

/* TELEPHONE PAGE EXPERTISES */
@media (max-width: 768px) {
    .titre-page {
        font-size: 2.2rem !important; 
        padding: 0 15px !important;    
        word-wrap: break-word !important; 
        margin-top: 2rem !important;  
    }

    .sous-titre {
        font-size: 1.1rem !important; 
        padding: 0 20px !important;
    }
}

/* TELEPHONE PAGE TECHNOLOGIES */
@media (max-width: 768px) {

    .grid-tech-partenaires {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        padding: 0 10px !important;
    }

    .maitrise-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .maitrise-box {
        padding: 20px 15px !important;
        margin: 0 10px !important;
    }

    .grid-chiffres {
        flex-direction: column !important;
        align-items: center !important;
        gap: 20px !important;
    }

    .chiffre-card {
        width: 100% !important;
        max-width: 300px !important;
    }

    .titre-blanc {
        font-size: 2.5rem !important; 
    }
}

/* TELEPHONE PAGE CONTACT TITRE */
@media (max-width: 768px) {
    .contact-title {
        font-size: 2.2rem !important; 
        text-align: center !important;
        width: 100% !important;
        padding: 0 10px !important;
        line-height: 1.1 !important;
    }

    .contact-subtitle {
        font-size: 1.1rem !important;
        text-align: center !important;
        padding: 0 15px !important;
    }

    .contact-icon-circle {
        margin: 0 auto 20px auto !important;
    }

    .contact-form-wrapper {
        padding: 20px !important;
        margin: 0 10px !important;
    }
}