@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Manrope:wght@600;700;800&display=swap');


/* =========================================================
   VARIABLES
   ========================================================= */

:root {
    --ink: #132238;
    --blue: #1769aa;
    --blue-dark: #0f4f82;
    --blue-turquoise: #3ab2c3;
    --blue-logo: #004593;

    --light: #f4f7fa;
    --line: #dfe7ee;
    --white: #ffffff;
    --muted: #607085;

    --green: #15945a;

    --radius: 18px;
}


/* =========================================================
   RESET & BASE
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    color: var(--ink);
    line-height: 1.65;
    background: var(--white);
}

h1,
h2,
h3,
h4 {
    font-family: Manrope, Inter, sans-serif;
    line-height: 1.15;
    margin: 0 0 18px;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.8rem);
    letter-spacing: -0.045em;
}

h2 {
    font-size: clamp(2rem, 3vw, 3.1rem);
    letter-spacing: -0.035em;
}

h3 {
    font-size: 1.3rem;
}

p {
    margin: 0 0 18px;
}


/* =========================================================
   LAYOUT
   ========================================================= */

.container {
    width: min(1180px, calc(100% - 40px));
    margin: auto;
}

.narrow {
    width: min(820px, calc(100% - 40px));
	margin: 0 auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;

    background: rgba(255, 255, 255, 0.96);

    border-bottom: 1px solid var(--line);

    backdrop-filter: blur(10px);
}

.nav {
    min-height: 78px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 24px;
}


/* Logo */

.logo {
    color: var(--ink);

    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.05em;

    text-decoration: none;
}

.logo span {
    color: var(--blue-logo);
}


/* Navigation */

.main-nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.main-nav a {
    position: relative;

    color: var(--ink);

    font-size: 0.94rem;
    font-weight: 600;

    text-decoration: none;

    padding: 10px 0;

    transition:
        color 0.2s ease,
        opacity 0.2s ease;
}

.main-nav a:hover {
    color: var(--blue);
}


/* ---------------------------------------------------------
   PAGE COURANTE
   --------------------------------------------------------- */

/*
   Ajouter class="active" au lien correspondant à la page.

   Exemple :

   <a href="solutions.html" class="active">
       Solutions
   </a>
*/

.main-nav a.active {
    color: var(--blue);
    font-weight: 700;
}


/* Petit soulignement animé */

.main-nav a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 0;

    width: 0;
    height: 3px;

    background: var(--blue);

    border-radius: 3px;

    transition: width 0.25s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}


/* Menu mobile */

.menu-toggle {
    display: none;

    border: 0;
    background: none;

    font-size: 1.5rem;

    cursor: pointer;
}

 /* =========================================================
    NAVIGATION ORTHOEXPERT
    ========================================================= */

.product-nav {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 32px;

    padding: 14px 20px;

    background: #ffffff;

    border-bottom: 1px solid var(--line);

    box-shadow: 0 3px 12px rgba(19, 34, 56, 0.05);
}

.product-nav a {
    position: relative;

    padding: 8px 2px;

    color: var(--ink);

    font-size: 0.92rem;
    font-weight: 600;

    text-decoration: none;

    transition:
        color 0.2s ease;
}

.product-nav a:hover {
    color: var(--blue-turquoise);
}


/* Page courante */

.product-nav a.active {
    color: var(--blue-turquoise);

    font-weight: 700;
}


/* Soulignement */

.product-nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 0;
    height: 2px;

    background: var(--blue-turquoise);

    border-radius: 2px;

    transition: width 0.25s ease;
}

.product-nav a:hover::after,
.product-nav a.active::after {
    width: 100%;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 800px) {

    .product-nav {
        justify-content: flex-start;

        gap: 22px;

        padding: 12px 20px;

        overflow-x: auto;

        white-space: nowrap;

        -webkit-overflow-scrolling: touch;
    }

    .product-nav a {
        flex-shrink: 0;

        font-size: 0.88rem;
    }
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
    padding: 110px 0 90px;

    background:
        linear-gradient(
            135deg,
            #f7fafc 0%,
            #eef6fb 100%
        );
}


.hero h1 {
    margin-bottom: 12px;
}

.hero p {
    margin-bottom: 12px;
}

.hero-grid,
.split {
    display: grid;

    grid-template-columns:
        1.05fr
        0.95fr;

    align-items: center;

    gap: 70px;
}

.eyebrow {
    margin-bottom: 16px;

    color: var(--blue);

    font-size: 0.76rem;
    font-weight: 800;

    letter-spacing: 0.12em;
}

.lead {
    max-width: 850px;

    color: var(--muted);

    font-size: 1.18rem;
}

.lead_header {
    max-width: 850px;

    color: var(--muted);

    font-size: 1rem; /*18px*/
    text-align: justify;
    hyphens: auto; /*espace en Frx*/
}



/* =========================================================
   BOUTONS
   ========================================================= */

.actions {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 14px 23px;

    background: var(--blue);
    color: var(--white) !important;

    border: 1px solid var(--blue);
    border-radius: 10px;

    font-weight: 700;

    text-decoration: none;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.btn:hover {
    background: var(--blue-dark);
    border-color: var(--blue-dark);

    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--white);
    color: var(--ink) !important;
    border-color: var(--line);
}

.btn-light {
    background: var(--white);
    color: var(--blue) !important;
    border-color: var(--white);
}

.btn-small {
    padding: 10px 16px;
    border-radius: 8px;
}

.main-nav .btn-small {
    padding: 11px 20px;
    min-height: 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    line-height: 1.2;
    white-space: nowrap;
}

/* =========================================================
   HERO VISUAL
   ========================================================= */

.hero-visual_OLD {
    position: relative;

    min-height: 430px;

    overflow: hidden;

    border-radius: 28px;

    background:
        radial-gradient(
            circle at 70% 20%,
            #78b8e5,
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #16476d,
            #0c2e4c
        );
}

.hero-visual {
    position: relative;

    min-height: 430px;

    overflow: hidden;

    border-radius: 28px;

    background:
        radial-gradient(
            circle at 80% 15%,
            rgba(255, 255, 255, 0.25),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #3AB2C3 0%,
            #45B5BB 50%,
            #5CB7B0 100%
        );

    box-shadow:
        0 25px 70px rgba(19, 34, 56, 0.16);
}

.visual-card {
    position: absolute;

    left: 9%;
    right: 9%;
    bottom: 9%;

    padding: 26px;

    background: rgba(255, 255, 255, 0.95);

    border-radius: 16px;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.2);
}

.visual-card span {
    color: #1b9a5a;
    font-size: 1.5rem;
}


/* =========================================================
   SECTIONS
   ========================================================= */

.section {
    padding: 100px 0;
}

.section-alt {
    background: var(--light);
}

.section-heading {
    max-width: 760px;

    margin: 0 auto 45px;

    text-align: center;
}


/* =========================================================
   CARTES
   ========================================================= */

.cards {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}

.card {
    padding: 30px;

    background: var(--white);

    border: 1px solid var(--line);
    border-radius: var(--radius);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

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

    box-shadow:
        0 15px 40px rgba(19, 34, 56, 0.08);
}

.card p {
    color: var(--muted);
}

.card a,
.text-link {
    color: var(--blue);

    font-weight: 700;

    text-decoration: none;
}

/*=========================
	PRODUITS
	========== */
	
	.products-section {
    padding-top: 90px;
}

.products-cards {
    align-items: stretch;
}

.product-card {
    display: flex;
    flex-direction: column;

    min-height: 380px;
}

.product-card h2 {
    font-size: 1.55rem;
}

.product-card p {
    color: var(--muted);
}

.product-card .text-link {
    margin-top: auto;

    display: inline-flex;
    align-items: center;

    gap: 8px;
}
	

/* =========================================================
   ICONES
   ========================================================= */

.icon {
    width: 45px;
    height: 45px;

    display: grid;
    place-items: center;

    margin-bottom: 20px;

    color: var(--blue);

    background: #e8f3fb;

    border-radius: 12px;
}


/* =========================================================
   IMAGE PLACEHOLDER
   ========================================================= */

.image-placeholder {
    min-height: 340px;

    display: grid;
    place-items: center;

    padding: 30px;

    text-align: center;

    color: #4e687b;

    font-weight: 700;

    background:
        linear-gradient(
            135deg,
            #dcecf6,
            #bdd9ea
        );

    border-radius: var(--radius);
}

/* =========================================================
   IMAGE 50%
   ========================================================= */
.image-half {
    width: 50%;
    margin: 40px auto;

}

.image-half img {
    display: block;
    max-height: 450px;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
}

/* =========================================================
   LISTES
   ========================================================= */

.check-list {
    list-style: none;

    padding: 0;
    margin: 25px 0;
}

.check-list li {
    position: relative;

    margin: 12px 0;

    padding-left: 30px;
}

.check-list li::before {
    content: "✓";

    position: absolute;
    left: 0;

    color: var(--green);

    font-weight: 800;
}


/* =========================================================
   CTA
   ========================================================= */

.cta {
    padding: 90px 0;

    color: var(--white);

    text-align: center;

    background: var(--ink);
}

.cta .eyebrow {
    color: #8dccf1;
}

.cta p:not(.eyebrow) {
    color: #c6d1dc;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    padding: 60px 0 20px;

    color: #b9c4cf;

    background: #0e1927;
}

.footer-grid {
    display: grid;

    grid-template-columns:
        2fr
        repeat(3, 1fr);

    gap: 35px;
}

.site-footer h4 {
    color: var(--white);
    font-size: 1rem;
}

.site-footer a {
    display: block;

    margin: 8px 0;

    color: #b9c4cf;

    text-decoration: none;
}

.site-footer a:hover {
    color: var(--white);
}

.copyright {
    margin-top: 40px;
    padding-top: 20px;

    font-size: 0.85rem;

    border-top:
        1px solid rgba(255, 255, 255, 0.1);
}


/* =========================================================
   PAGE INTERNE
   ========================================================= */

.page-hero {
    background: var(--light);
    padding-top: 40px;
    padding-bottom: 30px;
    padding-left: 0px;
    padding-right: 0px;

}

.page-hero + .section {
    padding-top: 40px;
}



.page-hero h1 {
    margin-bottom: 12px;
}

.page-hero p {
    margin-bottom: 12px;
}

.content {
    font-size: 1.05rem;
}


/* =========================================================
   FORMULAIRE
   ========================================================= */

.contact-form {
    display: grid;

    gap: 18px;
}

.contact-form label {
    font-weight: 700;
}

.contact-form input,
.contact-form textarea {
    display: block;

    width: 100%;

    margin-top: 7px;

    padding: 14px;

    font: inherit;

    border: 1px solid var(--line);
    border-radius: 10px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;

    border-color: var(--blue);

    box-shadow:
        0 0 0 3px rgba(23, 105, 170, 0.12);
}

.form-note {
    color: var(--muted);

    font-size: 0.9rem;
}


/* =========================================================
   RESPONSIVE — TABLETTE
   ========================================================= */

@media (max-width: 800px) {

    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;

        position: absolute;

        left: 0;
        right: 0;
        top: 78px;

        padding: 20px;

        background: var(--white);

        border-bottom: 1px solid var(--line);

        flex-direction: column;
        align-items: stretch;
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        padding: 12px 0;
    }

    /*
       Sur mobile, on conserve l'indication
       de la page courante.
    */

    .main-nav a.active {
        padding-left: 12px;

        background: #eef6fb;

        border-radius: 7px;
    }

    .main-nav a.active::after {
        display: none;
    }

    .hero {
        padding: 70px 0;
    }

    .hero-grid,
    .split {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .hero-visual {
        min-height: 300px;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 70px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .main-nav .btn {
        margin-top: 8px;
    }
    
    .image-half {
        width: 100%;
    }
}


/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 500px) {

    .container,
    .narrow {
        width: min(
            calc(100% - 28px),
            1180px
        );
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .actions {
        flex-direction: column;
    }

    .actions .btn {
        width: 100%;
    }
}


/* =========================
   PAGE CONTACT
========================= */

.contact-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 70px;
    align-items: start;
}


/* Informations */

.contact-info h2 {
    margin-bottom: 20px;
}

.contact-info > p {
    max-width: 520px;
}


.contact-details {
    margin-top: 40px;
}


.contact-item {
    display: flex;
    gap: 18px;
    margin-bottom: 28px;
    align-items: flex-start;
}


.contact-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--blue);
    color: white;
    font-size: 18px;
}


.contact-item strong {
    display: block;
    margin-bottom: 5px;
}


.contact-item a {
    color: inherit;
    text-decoration: none;
}


.contact-item a:hover {
    color: var(--blue);
}


.contact-item address {
    font-style: normal;
    line-height: 1.6;
}


/* =========================
   FORMULAIRE
========================= */

.contact-card {
    padding: 40px;
    background: #f7f9fc;
    border-radius: 14px;
}


.contact-card h2 {
    margin-bottom: 8px;
}


.form-intro {
    margin-bottom: 30px;
}


.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}


.contact-form label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-weight: 600;
}


.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d8dee8;
    border-radius: 7px;
    background: white;
    font: inherit;
    box-sizing: border-box;
}


.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--blue);
}


.contact-form textarea {
    resize: vertical;
}


.contact-form .btn {
    align-self: flex-start;
    border: none;
    cursor: pointer;
}


.form-note {
    margin-top: 20px;
    font-size: 0.85rem;
    opacity: 0.7;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 800px) {

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .contact-card {
        padding: 25px;
    }

}