@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/Montserrat-Light.ttf') format('truetype');
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/Montserrat-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/Montserrat-Medium.ttf') format('truetype');
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/Montserrat-SemiBold.ttf') format('truetype');
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/Montserrat-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 800;
    /* ExtraBold */
    src: url('../fonts/Montserrat-ExtraBold.ttf') format('truetype');
}

@font-face {
    font-family: 'SourceCodePro';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/SourceCodePro-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'SourceCodePro';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/SourceCodePro-SemiBold.ttf') format('truetype');
}

@font-face {
    font-family: 'SourceCodePro';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/SourceCodePro-Bold.ttf') format('truetype');
}

/* public/css/style.css */
/* Minimal Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --omidev-blue: #005a9a;
    --omidev-light-blue: #0c5d9b;
    --omidev-dark: #2C2E35;
    --omidev-black-text: rgb(0, 0, 64);
    --omidev-bg-light: #f8f9fa;
    --font-family-montserrat: 'Montserrat', sans-serif;
    --font-family-sourcecodepro: 'SourceCodePro', monospace;
    --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html {
    font-family: var(--font-family-sans-serif);
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    scroll-behavior: smooth;
    /* hauteur de l'en-tete collant : sans cela, une ancre amene le titre de section
       sous la barre de navigation */
    scroll-padding-top: 95px;
}

body {
    font-family: var(--font-family-montserrat);
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
    scroll-behavior: smooth;
    background-color: #fff;
    /* Default background */
}

a {
    color: var(--omidev-blue);
    text-decoration: none;
    background-color: transparent;
}

a:hover {}

img {
    vertical-align: middle;
    border-style: none;
    max-width: 100%;
    height: auto;
}

h1, h3, h4, h5, h6 {
    /* Removed h2 from here to apply specific styling */
    margin-top: 0;
    margin-bottom: 14px;
    font-weight: 500;
    font-size: 28px;
    /* Bold */
    line-height: 1.2;
    color: var(--omidev-dark);
    /* Default for titles */
}

h2 {
    /* Specific styling for h2 */
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-weight: 800;
    /* ExtraBold */
    line-height: 1.2;
    color: var(--omidev-dark);
    /* Default for titles */
    font-size: 45px;
    /* Specific font size */
    text-transform: none;
    /* Specific text transform */
    letter-spacing: 0em;
    /* Specific letter spacing */
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

/* Layout Classes (Minimal Bootstrap-like Grid) */
.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }

}

@media (max-width: 576px) {
    #home h1 {
        text-align: center;
    }

    #domaines h2 {
        font-size: 38px;
    }

    #metiers h4 {
        font-size: 18px;
    }

    #metiers p {
        font-size: 14px;
    }

    #features .container {
        flex-direction: column !important;
    }

    #features .features-text {
        width: 80% !important;
    }

    #features .features-text h2 {
        font-size: 26px;
        margin-bottom: 20px;
    }

    #mentions h1 {
        font-size: 40px !important;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }

    #mentions h1 {
        font-size: 55px !important;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }

    #mentions h1 {
        font-size: 65px !important;
    }

}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

.container-fluid {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 992px) {
    .col-lg-2 {
        flex: 0 0 16.666667%;
        max-width: 16.666667%;
    }

    .col-lg-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }

    .col-lg-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .col-lg-5 {
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }

    .col-lg-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    /* Added for Technologies section */
    .col-lg-7 {
        flex: 0 0 58.333333%;
        max-width: 58.333333%;
    }

    .offset-lg-1 {
        margin-left: 8.333333%;
    }
}

@media (max-width: 991.98px) {
    .d-lg-block {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .col-md-4, .col-md-6 {
        position: relative;
        width: 100%;
        padding-right: 15px;
        padding-left: 15px;
    }

    .col-md-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (min-width: 576px) {
    .col-sm-6 {
        position: relative;
        width: 100%;
        padding-right: 15px;
        padding-left: 15px;
        flex: 0 0 50%;
        max-width: 50%;
    }
}

.col-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

.col-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

/* Display & Flex utilities */
.d-flex {
    display: flex !important;
}

.justify-content-between {
    justify-content: space-between !important;
}

.align-items-center {
    padding-top: 33px;
    align-items: center !important;
}

.align-items-center img {
    padding: 0 3px 0px 37px;
}

.ml-auto {
    margin-left: auto !important;
}

.text-center {
    text-align: center !important;
}

.text-right {
    text-align: right !important;
}

/* Spacing */
.p-0 {
    padding: 0 !important;
}

.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

.pt-3 {
    padding-top: 1rem !important;
}

.pb-4 {
    padding-bottom: 1.5rem !important;
}

.pt-5 {
    padding-top: 3rem !important;
}

.mt-3 {
    margin-top: 1rem !important;
}

.mt-4 {
    margin-top: 1.5rem !important;
}

.mt-5 {
    margin-top: 3rem !important;
}

.mb-2 {
    margin-bottom: 0.5rem !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

.mx-2 {
    margin-right: 0.5rem !important;
    margin-left: 0.5rem !important;
}


/* Components */
/* Navbar */
.navbar {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    /* For small screen navigation toggler */
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    background-color: #fff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.navbar .container {
    display: flex;
}

.sticky-top {
    position: sticky;
    top: 0;
    z-index: 1020;
}

.navbar-brand {
    display: inline-block;
    padding-top: 0.3125rem;
    padding-bottom: 0.3125rem;
    margin-right: 1rem;
    font-size: 1.25rem;
    line-height: inherit;
    white-space: nowrap;
}

.navbar-toggler {
    padding: 0.25rem 0.75rem;
    font-size: 1.25rem;
    line-height: 1;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    outline: none;
    cursor: pointer;
}

.navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    content: "";
    background: no-repeat center center;
    background-size: 100% 100%;
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(0,0,0,.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-collapse {
    flex-basis: 100%;
    flex-grow: 1;
    align-items: center;
}

@media (max-width: 991.98px) {
    .navbar .container {
        display: flex;
        justify-content: space-between;
        /* Default: space between brand and toggler */
        align-items: center;
        flex-wrap: nowrap;
        /* Prevent wrapping on mobile */
    }

    .navbar-brand {
        flex-grow: 1;
        /* Allow brand to take available space */
        text-align: center;
        /* Center the brand */
        margin-right: 0;
        /* Remove default margin */
        position: absolute;
        /* Take out of flow to center */
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        /* Occupy full width to allow centering */
        padding-top: 0;
        padding-bottom: 0;
    }

    .navbar-toggler {
        order: -1;
        /* Move toggler to the left */
        margin-right: auto;
        /* Push toggler to far left */
        position: relative;
        /* Ensure it respects z-index if needed */
        z-index: 1040;
        /* Above brand for clickability */
    }

    /* Hide the default desktop menu links on mobile */
    .navbar-collapse {
        display: none !important;
    }
}


@media (max-width: 991.98px) {
    .navbar .container {
        display: flex;
        justify-content: space-between;
        /* Default: space between brand and toggler */
        align-items: center;
        flex-wrap: nowrap;
        /* Prevent wrapping on mobile */
    }

    .navbar-brand {
        flex-grow: 1;
        /* Allow brand to take available space */
        text-align: center;
        /* Center the brand */
        margin-right: 0;
        /* Remove default margin */
        position: absolute;
        /* Take out of flow to center */
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        /* Occupy full width to allow centering */
        padding-top: 0;
        padding-bottom: 0;
    }

    .navbar-toggler {
        order: -1;
        /* Move toggler to the left */
        margin-right: auto;
        /* Push toggler to far left */
        position: relative;
        /* Ensure it respects z-index if needed */
        z-index: 1040;
        /* Above brand for clickability */
    }

    /* Hide the default desktop menu links on mobile */
    .navbar-collapse {
        display: none !important;
    }

    #home {
        padding: 50px 0;
    }

    #home a {
        align-self: center;
    }

    #home .col-lg-6 {
        display: flex;
        flex-direction: column;
    }

    #metiers .col-lg-4, #Nos_atouts .col-lg-4 {
        width: 50%;
    }

    #Technologies .row {
        height: unset !important;
    }

    #Technologies .row .divimg {
        flex: unset !important;
        width: 33% !important;
    }

    .rowFoot {
        flex-direction: column;
    }
}


.collapsing {
    position: relative;
    height: 0;
    overflow: hidden;
    transition: height 0.35s ease;
}

.navbar-nav {
    display: flex;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav {
        flex-direction: row;
    }

    .navbar-expand-lg .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
    }

    .navbar-expand-lg .navbar-toggler {
        display: none;
    }
}

.nav-item {
    margin-bottom: 0;
}

.nav-link {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--omidev-dark) !important;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--omidev-blue) !important;
}

.nav-item.active .nav-link {
    color: var(--omidev-blue) !important;
}

/* Buttons */
.btn {
    display: inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    cursor: pointer;
}

.btn-primary {
    color: #fff;
    background-color: var(--omidev-blue);
    border-color: var(--omidev-blue);
    border-radius: 30px;
    padding: 12px 35px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary:hover {
    color: #fff;
    background-color: var(--omidev-light-blue);
    border-color: var(--omidev-light-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 90, 154, 0.3);
}

.btn.mt-3 {
    background-color: #005A9A;
    border-color: #2C2E36;
    border-style: solid;
    font-size: 1.25rem;
    font-weight: 400;
    padding: 10px 40px 10px 40px;
    border-radius: 0px 0px 0px 0px;
}


/* Forms */
.form-group {
    margin-bottom: 1rem;
}

.form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    /* Default Bootstrap focus blue */
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

textarea.form-control {
    /* 4 à 6 lignes : line-height 1.5 + padding vertical 0.75rem + bordures 2px. */
    height: auto;
    min-height: calc(6em + 0.75rem + 2px);
    max-height: calc(9em + 0.75rem + 2px);
    field-sizing: content;
    overflow-y: auto;
    resize: vertical;
}

/* Omidev Specific Styles */
#home {
    text-align: right;
    background-color: #f8f9fa;

}

#home h1 {
    font-family: var(--font-family-sourcecodepro);
    font-size: 30px;
    font-weight: 400;
    line-height: 37px;
}

#home h1 strong {
    font-family: var(--font-family-sourcecodepro);
    font-weight: 700;
    font-size: 30px;
    line-height: 37px;
}

#home .mt-4 {
    font-size: 1.25rem;
    color: var(--omidev-black-text);
    font-size: 16px;
}

/* Section Domaines (Typing Effect) */
#domaines {
    background-color: var(--omidev-blue);
    color: #fff;
    padding: 50px 0 40px;
}

#domaines h2 {
    color: #fff;
    /* Title color should be white on blue background */
    font-size: 45px;
    font-family: Montserrat, Arial, Helvetica, sans-serif;
    font-weight: 800;
    margin-bottom: 0;
}

#metiers {
    background-color: #fff;
}

#metiers h2 {
    margin-bottom: 0;
}

#Nos_atouts {
    background-color: rgb(248, 249, 250);
}


#Nos_atouts .item {
    flex: 1;
    margin: 0 30px;
}


#Nos_atouts .item img {
    width: 70%;
}

#Nos_atouts .item .img-content {
    height: 198px;
    display: flex;
    justify-content: center;
}

#Nos_atouts .item h3 {
    flex: 1;
    font-size: 36px;
    font-weight: 600;
}

#Nos_atouts .item p {
    flex: 1;
    font-size: 16px;
}

#header, #header2 {
    font-weight: 600;
    min-height: 1.5em;
    color: #fff;
    /* Ensure text is white on blue background */
}

#features .container {
    padding-top: 100px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
}

#features .container div {
    flex: 1;
}

#features .features-img {
    display: flex;
    justify-content: end;
}

#features .features-img img {
    height: 350px;
}

#features .features-text {
    width: 50%;
}

#features .features-heading {
    color: var(--omidev-blue);
}

#features p {
    color: var(--omidev-black-text);
}

/* Generic Section styling */
section {
    padding: 0 0;
    /* Default padding for sections */
}

section h2 {
    color: var(--omidev-dark);
    /* Changed from omidev-blue to omidev-dark for gray titles */
    font-weight: 800;
    /* ExtraBold */
    font-size: 45px;
    /* Specific font size */
    text-transform: none;
    /* Specific text transform */
    letter-spacing: 0em;
    /* Specific letter spacing */
    margin-bottom: 40px;
    /* text-transform: uppercase; (Removed as per original) */
}

/* Metiers & Atouts cards */
.col-lg-4 img, .col-lg-3 img {
    transition: transform 0.3s;
    height: 80px;
    /* Standardize height for these images */
    width: auto;
    object-fit: contain;
}

.col-lg-4:hover img, .col-lg-3:hover img {
    transform: scale(1.1);
}

/* Supports Section */
#supports {
    background-color: var(--omidev-bg-light);
    padding: 80px 0;
}

#supports h2 {
    font-size: 28px;
}

#Technologies p {
    margin: 16px 0 70px;
}

#Technologies .row {
    height: 112px;
}

#Technologies .row .divimg {
    flex: 1;
}

#Technologies .row .divimg .img-fluid {
    flex: 1;
    max-width: unset;
    height: 112px;
}

#mentions {

    background-color: var(--omidev-blue) !important;
    background-image: url('../img/footer-bg.png');
    background-repeat: no-repeat;
    background-position: right top;
    background-position: center;
    background-size: cover;
    width: 100%;
}

#mentions h1 {
    color: #fff;
    font-weight: 800;
    text-transform: none;
    font-size: 65px;
    letter-spacing: 0em;
    line-height: 1.2em;
    font-family: Montserrat, Arial, Helvetica, sans-serif;
    padding: 80px 0;

}

#textmention p {
    text-align: center;
}

#textoffre iframe {
    border: 0;
    width: 100%;
    display: block;
    min-height: 701px;
}

#textvaleurs, #textalliance, #textmention, #textoffre {
    background-color: #fff;
    padding: 50px 0;

}

#textvaleurs p {
    text-align: left;
}

#textvaleurs img {
    width: 100%;
}

#textmention .container {
    flex-direction: column;
    display: flex;
    align-items: center;
}

#textmention hr {
    margin-top: 1rem;
    margin-bottom: 1rem;
    border: 0;
    width: 100%;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}


/* Contact & Footer */
footer {
    background-color: var(--omidev-blue) !important;
    background-image: url('../img/footer-bg.png');
    background-repeat: no-repeat;
    background-position: right top;
    color: #F1EFEF !important;
    padding-top: 60px;
}

footer h3 {
    color: #F1EFEF !important;
    font-size: 1.25rem;
    margin-bottom: 25px;
    font-weight: 700;
}

footer p, footer li, footer div {
    color: #F1EFEF !important;
}

footer a {
    color: #fff !important;
    opacity: 0.9;
    transition: opacity 0.3s;
}

footer a:hover {
    color: #fff !important;
    opacity: 1;
}

/* Presence Page specific */
.button1 {
    border-radius: 30px;
    background-color: var(--omidev-blue);
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-weight: 600;
}

.section1_icon img {
    margin: 0 10px;
}


/* Particles */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #fff;
    /* Default background, particles color will draw on it */
    z-index: -1;
    top: 0;
    left: 0;
}

/* Back to Top Button */
/* Masqué par défaut, révélé par main.js au-delà de 400 px de défilement. Sans
   `pointer-events`, le bouton restait invisible mais interceptait les clics dans le
   coin bas-droit de la page. */
#back-to-top {
    pointer-events: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--omidev-blue);
    /* Couleur bleue définie précédemment */
    color: #fff;
    /* Couleur de la flèche */
    width: 52px;
    height: 56px;
    /* Bouton rond */
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s, opacity 0.3s;
    z-index: 1000;
    /* Assure que le bouton est au-dessus des autres contenus */
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    opacity: 0;
    transition: ease-out 0.3s opacity;
}

#back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

#back-to-top:hover {
    background-color: var(--omidev-light-blue);
    /* Couleur plus claire au survol */
    opacity: 0.8;
    text-decoration: none;
}

#back-to-top svg {
    width: 24px;
    /* Taille de l'icône SVG */
    height: 24px;
}

/* Masquer sur les petits écrans (similaire à 'hideonsm hideonxs' de l'original) */
@media (max-width: 767.98px) {

    /* Pour les écrans de moins de 768px (sm et xs de Bootstrap) */
    #back-to-top {
        display: none !important;
    }
}

#contact-section {
    color: #fff;
    padding: 40px 0 20px;

}

#contact-section .container .rowTop {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
    padding: 5px 20px;
}

#contact-section .container .rowTop div:last-child {
    flex: 2;
}

#contact-section .container .rowTop div:first-child {
    flex: 3;
}

#contact-section .rowTop h3 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 0;
}

#contact-section p {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 0;
}

#contactForm .form-group {
    flex: 0 0 45% !important;
}

#contactForm .form-group.area {
    flex: 0 0 95% !important;
}

#contactForm input, #contactForm textarea {
    font-family: var(--font-family-montserrat);
}

#contactForm {
    display: flex;
    flex-wrap: wrap;
    column-gap: 24px;
    row-gap: 0;
    align-content: center;
}

#contactForm .btn-primary {
    color: var(--omidev-blue);
    background-color: #fff;
    border-color: #fff;
    border-radius: 5px;
    padding: 12px 48px;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 20px;
}

#contactForm .btn-primary:hover {
    color: var(--omidev-light-blue);
    background-color: #fff;
    border-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 90, 154, 0.3);
}

.rowFoot {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}

.rowFoot .col {
    flex: 1;
}

.rowFoot .col2 {
    flex: 2;
}

.rowFoot .rowLink {
    display: flex;
    flex-wrap: wrap;
}

#contact-section .rowFoot h3 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 0;
}

.rowFoot ul {
    list-style-type: none;
    margin: 15px 0;
    padding: 10px 0;
}

.rowFoot li {
    font-size: 16px;
    padding: 0 0 5px;
}

.copy {
    color: #ffffff !important;
    text-align: right;
}

#contact-section .copy p {
    font-weight: 300;
    font-size: 16px;
    margin-right: 45px;
}

/* Offcanvas Mobile Navigation */
.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1030;
    /* Above navbar */
    top: 0;
    left: 0;
    background-color: #fff;
    /* White background for the menu */
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    padding-left: 0;
    /* Reset default padding */
}

.sidenav a {
    padding: 15px 8px 15px 32px;
    /* Increased padding for better tap target */
    text-decoration: none;
    font-size: 20px;
    /* Slightly smaller font size */
    color: var(--omidev-dark);
    /* Dark color for links */
    display: block;
    transition: 0.3s;
    border-bottom: 1px solid #eee;
    /* Separator */
}

.sidenav a:hover {
    color: var(--omidev-blue);
    background-color: var(--omidev-bg-light);
    /* Light background on hover */
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0 32px !important;
    font-size: 36px;
    /* Smaller close button */
    margin-left: 0;
    /* Adjust margin */
    color: var(--omidev-dark);
    width: 100%;
    text-align: right;
    /* Dark color for close button */
}

/* Semi-transparent overlay behind the offcanvas menu */
.menu-overlay {
    height: 100%;
    width: 100%;
    position: fixed;
    z-index: 1025;
    /* Between content and sidenav */
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.7);
    /* Semi-transparent black, darker */
    display: none;
    /* Hidden by default */
    transition: background-color 0.5s;
}

/* Hide desktop menu on small screens */
@media (max-width: 991.98px) {
    .navbar-collapse {
        display: none !important;
    }
}

/* Hide offcanvas and overlay on larger screens */
@media screen and (min-width: 992px) {
    .sidenav, .menu-overlay {
        display: none;
    }
}

/* ---- Plan sans appel à un tiers (voir MAPS-SANS-TIERS.md) --------------- */
.carte {
    position: relative;
    display: flex;
    overflow: hidden;
    height: 300px;
}
/* Le cadre Google se pose PAR-DESSUS l'image, qui reste dans le flux : c'est elle qui
   dicte la hauteur du bloc, laquelle ne bouge donc pas au clic. Ne pas retirer l'image. */
.carte iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.carte__plan {
    /* « cover » depuis le centre : l'adresse est au centre de l'image, elle reste
       visible quelle que soit la forme du conteneur. */
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.carte__epingle {
    position: absolute;
    top: 50%;
    left: 50%;
    /* la pointe de l'épingle sur le point, pas son centre */
    transform: translate(-50%, -100%);
    fill: var(--omidev-blue);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .45));
    pointer-events: none;
}
.carte__credit {
    position: absolute;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 2px 6px;
    font-size: 10px;
    color: #000;
    background: rgba(255, 255, 255, .75);
}
.carte__credit a { color: inherit; }
.carte__voile {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 22px 18px;
    text-align: center;
    background: rgba(247, 252, 255, .72);
    opacity: 0;
    transition: opacity .25s ease;
}
/* Au survol ET au clavier : sans `focus-within`, le bouton serait atteignable en
   tabulation mais invisible. */
.carte:hover .carte__voile,
.carte:focus-within .carte__voile { opacity: 1; }
/* Sur écran tactile il n'y a pas de survol : le voile reste affiché, sinon ni le
   bouton ni la mention Google ne seraient jamais visibles. */
@media (hover: none) {
    .carte__voile { opacity: 1; }
}
.carte__adresse {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 700;
    color: #2b2b2b;
}
.carte__bouton {
    padding: 9px 20px;
    border: 0;
    border-radius: 30px;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: var(--omidev-blue);
    cursor: pointer;
}
.carte__bouton:hover { background: var(--omidev-light-blue); }
.carte__mention {
    margin: 0;
    max-width: 34em;
    font-size: 11px;
    line-height: 1.4;
    color: #444;
}

/* Le bloc est pose dans le pied de page, dont les regles sont ecrites pour du texte
   clair sur fond bleu : `footer p, footer li, footer div { color: #F1EFEF !important }`,
   `footer a { color: #fff !important }` et `#contact-section p { font-size: 16px;
   font-weight: 700 }`. Sur les fonds clairs de la carte, ce texte blanc est invisible.
   Le `!important` ne se surcharge qu'a specificite superieure, d'ou les selecteurs
   d'ID ci-dessous. */
#contact-section .carte__voile,
#contact-section .carte__adresse,
#contact-section .carte__mention,
#contact-section .carte__credit,
#contact-section .carte__credit a {
    color: #000 !important;
}
#contact-section .carte__credit {
    font-size: 10px;
    font-weight: 400;
}
#contact-section .carte__adresse {
    font-size: 14px;
    font-weight: 700;
}
#contact-section .carte__mention {
    font-size: 11px;
    font-weight: 400;
}

/* ---- Piège à robots du formulaire de contact --------------------------- */
/* Hors flux plutôt que display:none : certains robots ignorent les champs masqués. */
.pot-de-miel {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ---- Bloc contact sur ecran etroit ------------------------------------- */
/* Les deux colonnes du bloc contact partent d'une base de largeur nulle
   (`flex: 3` / `flex: 2`) : elles ne passent donc jamais a la ligne et se reduisent
   jusqu'a l'illisible sur mobile. `display: contents` fait remonter leurs enfants
   comme items directs de .rowTop, ce qui permet de les empiler dans l'ordre voulu :
   coordonnees, formulaire, puis la carte sur toute la largeur.
   `align-items` repasse a stretch : en colonne, la valeur `center` empecherait la
   carte de s'etendre. */
@media (max-width: 991.98px) {
    #contact-section .container .rowTop {
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        padding: 5px 0;
    }

    #contact-section .container .rowTop > div {
        display: contents;
    }

    #contact-section .rowTop h3 {
        order: 1;
    }

    #contact-section .rowTop p.text-white {
        order: 2;
    }

    #contact-section .rowTop .contact-form-container {
        order: 3;
    }

    #contact-section .rowTop .carte {
        order: 4;
    }
}

/* Sous 576 px, deux champs par ligne tombent sous 160 px de large : le formulaire
   passe a une colonne. */
@media (max-width: 575.98px) {
    #contactForm .form-group,
    #contactForm .form-group.area {
        flex: 0 0 100% !important;
    }
}
