/* =============================
   VARIABLES
   ============================= */
:root {
    --color-jaune:      #fabd15;
    --color-gris:       #394758;
    --color-gris-clair: #505966;  
    --color-bleu:       #3968AD;
}

/* =============================
   TYPOGRAPHIE
   ============================= */
body {
    font-family: "new-science", sans-serif;
    font-weight: 400;
    font-style: normal;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "new-science", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.navbar-nav .nav-item .nav-link,
.btn-devis,
.pourquoi-item p {
    font-family: "new-science-mono", sans-serif;
    font-weight: 700;
}


a {
    color: var(--color-gris);
}



/* =============================
   NAVBAR
   ============================= */
.logo-navbar {
    height: 50px;
    width: auto;
}

.hero-title {
  overflow: hidden;
}

.navbar-nav .nav-item .nav-link {
    color: var(--color-gris);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

.navbar-nav .nav-item .nav-link:hover {
    color: var(--color-bleu);
}

/* =============================
   HERO SECTION
   ============================= */
.hero-section {
    height: 60vh;
    background: linear-gradient(rgba(57, 71, 88, 0.70), rgba(57, 71, 88, 0.70)),
                url('../images/img6.jpg') center/cover no-repeat;
    display: flex;
    position: relative;
    align-items: center;
}



/* décroché oblique gauche */
.hero-section::before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    height: 40px;
    background: #fff;

    clip-path: polygon(
        10% 0,
        100% 0,
        100% 100%,
        0 100%
    );

    z-index: 2;
}


.hero-overlay {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-title {
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.hero-subtitle {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.hero-subtitle p {
    margin: 0;
    color: #ffffff;
}

.btn-devis {
    background-color: var(--color-bleu);
    color: #fff;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 0;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.2s;
}

.btn-devis:hover {
    background-color: #2d569a;
    color: #fff;
}

/* =============================
   SECTION QUI SOMMES-NOUS
   ============================= */
.section-title {
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-gris);
    margin-bottom: 0.5rem;
}

.title-underline {
    width: 100%;
    max-width: 300px;
    height: 3px;
    background-color: var(--color-jaune);
    margin-bottom: 1.5rem;
}

.section-about {
    position: relative;
}

.section-about::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 5px;
    height: 60%;
    background-color: var(--color-jaune);
}

.about-img-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.about-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--color-gris);
    color: #fff;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.badge-number {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.badge-text {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.3;
}

.badge-text small {
    font-size: 0.75rem;
    font-weight: 400;
    text-transform: lowercase;
}

/* =============================
   SECTION NOS DOMAINES
   ============================= */
.section-domaines {
    background-color: #f4f6f8;
}

.domaine-card {
    color: #fff;
    overflow: hidden;
    height: 100%;
    position: relative;
}

.domaine-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.domaine-content {
    background-color: var(--color-gris-clair);
    min-height: 150px;
}

.domaine-content h3 {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    color: #fff;
}

.domaine-content p {
    font-size: 0.85rem;
    color: #fff;
    margin: 0;
}

.domaine-img-wrapper {
    position: relative;
    overflow: hidden;
}

.domaine-img-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to bottom, transparent, var(--color-gris-clair));
}

/* =============================
   SECTION POURQUOI
   ============================= */
.section-pourquoi {
    background-color: var(--color-gris-clair);
}

.section-pourquoi .section-title {
    color: #fff;
}

.section-pourquoi .title-underline {
    background-color: var(--color-jaune);
    max-width: 300px;
}

.pourquoi-item {
    color: #fff;
    padding: 1rem;
}

.pourquoi-icon {
    color: var(--color-jaune);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.pourquoi-item p {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.4;
}

@media (min-width: 992px) {
    .col-lg-2dot4 {
        width: 20%;
        flex: 0 0 20%;
        max-width: 20%;
    }
}

/* =============================
   SECTION CTA
   ============================= */
.section-cta {
    background-color: #fff;
    overflow: hidden;
}

.cta-content {
    padding-right: 3rem;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-gris);
    line-height: 1.3;
    margin-bottom: 1rem;
}

.cta-highlight {
    color: var(--color-jaune);
}

.cta-subtitle {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-gris);
    margin-bottom: 2rem;
}

.cta-img-wrapper {
    padding: 0;
}

.cta-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

/* =============================
   FOOTER
   ============================= */
.site-footer {
    background-color: var(--color-gris-clair);
}

.footer-logo {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-nav-main,
.footer-nav-legal {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 2rem;
    justify-content: flex-end;
}

.footer-nav-main {
    margin-bottom: 0.5rem;
}

.footer-nav-main li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: capitalize;
    transition: color 0.2s;
}

.footer-nav-main li a:hover {
    color: var(--color-jaune);
}

.text-small,
.footer-nav-legal li a {
    color: #a0aab4;
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.2s;
}

.footer-nav-legal li a:hover {
    color: #fff;
}

/* =============================
   RESPONSIVE
   ============================= */
@media (max-width: 991px) {
    .cta-img {
        height: 250px;
    }

    .cta-content {
        padding-right: 1rem;
    }

    .footer-nav-main,
    .footer-nav-legal {
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }

    .footer-logo {
        display: block;
        margin: 0 auto;
    }

    .section-about::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-section {
        height: 60vh;
    }

    .about-badge {
        right: 0;
        bottom: 0;
    }
}


/* =============================
   PAGE CONTACT
   ============================= */
.section-contact .container {
    max-width: 800px;
}

.wpforms-custom-style .wpforms-field input[type="text"],
.wpforms-custom-style .wpforms-field input[type="email"],
.wpforms-custom-style .wpforms-field input[type="tel"],
.wpforms-custom-style .wpforms-field input[type="url"],
.wpforms-custom-style .wpforms-field input[type="number"],
.wpforms-custom-style .wpforms-field textarea,
.wpforms-custom-style .wpforms-field select {
    background-color: #e8f0fb !important;
    border: 1px solid #d0d5db;
    border-radius: 0;
    padding: 0.6rem 1rem;
    font-family: "new-science", sans-serif;
    color: var(--color-gris);
    width: 100%;
}


.wpforms-custom-style .wpforms-field input:focus,
.wpforms-custom-style .wpforms-field textarea:focus {
    border-color: var(--color-bleu);
    outline: none;
    box-shadow: none;
    background-color: #dce8f8;
}

/* Centrer le bouton envoyer */
.wpforms-custom-style .wpforms-submit-container {
    text-align: center !important;
}

.wpforms-custom-style .wpforms-submit {
    background-color: var(--color-bleu) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0.75rem 2rem !important;
    font-family: "new-science-mono", sans-serif !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    cursor: pointer;
    transition: background-color 0.2s;
}

.wpforms-custom-style .wpforms-submit:hover {
    background-color: #2d569a !important;
}

.wpforms-custom-style .wpforms-field input::placeholder,
.wpforms-custom-style .wpforms-field textarea::placeholder {
    color: var(--color-gris-clair) !important;
   
}

.wpforms-custom-style .wpforms-field-label,
.wpforms-custom-style .wpforms-field-sublabel {
     color: var(--color-gris-clair) !important;
}


/* =============================
   PAGE SERVICES
   ============================= */
.hero-services {
    height: 50vh;
    background: linear-gradient(rgba(57, 71, 88, 0.70), rgba(57, 71, 88, 0.70)),
                url('../images/img6.jpg') center/cover no-repeat;
}

.hero-services-subtitle {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.services-intro-text {
    font-size: 1rem;
    color: var(--color-gris);
    line-height: 1.8;
}

.service-block {
    position: relative;
}

.service-dark {
    background-color: var(--color-gris-clair);
    color: #fff;
}

.service-dark .service-title,
.service-dark p,
.service-dark .service-list li {
    color: #fff;
}

.service-dark .title-underline {
    background-color: var(--color-jaune);
}

.service-light {
    background-color: #fff;
}

.service-light .service-title {
    color: var(--color-gris);
}

.service-title {
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.service-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.service-list li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.service-list li::before {
    content: '▪';
    position: absolute;
    left: 0;
    color: var(--color-jaune);
    font-size: 1.2rem;
    line-height: 1.2;
}

/* CTA Services */
.section-cta-services {
    background-color: #fff;
}

.cta-services-title {
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-gris-clair);
    line-height: 1.3;
    margin-bottom: 1rem;
}

.cta-services-subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-gris-clair);
    margin-bottom: 2rem;
}

/* =============================
   RESPONSIVE SERVICES
   ============================= */
@media (max-width: 991px) {
    .service-img {
        height: 220px;
    }

    .hero-services {
        height: 40vh;
    }
}

.title-underline {
  transform-origin: left center;
}
.navbar-nav .nav-link {
    position: relative;
}

.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--color-jaune);
    transition: width .25s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .current-menu-item > .nav-link::after,
.navbar-nav .current_page_item > .nav-link::after {
    width: 100%;
}

.domaine-img-wrapper {
    position: relative;
    overflow: hidden;

    clip-path: polygon(
        8% 0,
        100% 0,
        100% 100%,
        0 100%,
        0 18%
    );
}

.service-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;

    clip-path: polygon(
        8% 0,
        100% 0,
        100% 100%,
        0 100%,
        0 18%
    );
}


```css
.contact-layout {
    row-gap: 30px;
}

.contact-info-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    padding: 22px;
    background: #f4f7fb;
    border-left: 4px solid #f5b400;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.contact-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 50%;
    font-size: 22px;
}

.contact-info-item h2 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    color: #2f4358;
}

.contact-info-item p {
    margin: 0 0 10px;
    font-size: 17px;
    line-height: 1.45;
    color: #111111;
}

.contact-info-item a {
    color: #2f4358;
    text-decoration: none;
    font-weight: 600;
}

.contact-info-item a:hover {
    text-decoration: underline;
}

.contact-link {
    display: inline-block;
    margin-top: 4px;
    font-size: 15px;
    color: #f5a800 !important;
}
```
