/* =====================================================
   RESET
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* =====================================================
   BASE
===================================================== */

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    color: #1a1a2e;
    line-height: 1.6;
    background: #f8fafc;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: 70px 0;
}

.section.alt {
    background: #eef6f0;
}


/* =====================================================
   TITRES
===================================================== */

.section-title {
    font-size: 2rem;
    color: #0b6e4f;
    text-align: center;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: #555;
    margin: 0 auto 40px;
    max-width: 850px;
}


/* =====================================================
   HEADER
===================================================== */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #0b6e4f;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #0b6e4f;
    text-transform: uppercase;
}

.logo-slogan {
    font-size: 0.85rem;
    font-style: italic;
    color: #666;
}


/* =====================================================
   NAVIGATION
===================================================== */

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav a {
    color: #1a1a2e;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 4px;
    position: relative;
}

.nav a:hover {
    color: #0b6e4f;
}


/* =====================================================
   LANGUES
===================================================== */

.language-label {
    font-size: 1.1rem;
}

#languageSelect {
    padding: 8px 10px;
    border: 1px solid #ccd8d2;
    border-radius: 8px;
    background: #ffffff;
    cursor: pointer;
}


/* =====================================================
   MENU MOBILE
===================================================== */

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #0b6e4f;
}


/* =====================================================
   HERO
===================================================== */

.hero {
    position: relative;
    height: 90vh;
    min-height: 500px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background: rgba(0, 40, 25, 0.65);
}

.hero-content {
    position: relative;
    z-index: 2;

    color: #ffffff;

    max-width: 850px;
    padding: 20px;
}

.eyebrow {
    display: inline-block;

    margin-bottom: 12px;
    padding: 6px 14px;

    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
}

.hero-content h1 {
    font-size: 2.6rem;
    margin-bottom: 15px;

    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 25px;
}


/* =====================================================
   BOUTONS
===================================================== */

.btn {
    display: inline-block;

    background: #0b6e4f;
    color: #ffffff;

    padding: 12px 30px;

    border-radius: 30px;

    text-decoration: none;
    font-weight: 700;

    border: none;
    cursor: pointer;

    transition: 0.25s;
}

.btn:hover {
    background: #17a56e;
    transform: translateY(-2px);
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
}


/* =====================================================
   TEMOIGNAGES
===================================================== */

.patients-grid {
    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    gap: 22px;
}

.patient-card {
    background: #ffffff;

    border-radius: 14px;

    overflow: hidden;

    box-shadow:
        0 4px 14px rgba(0, 0, 0, 0.1);
}

.patient-card img {
    width: 100%;
    height: 190px;

    object-fit: cover;
}

.patient-body {
    padding: 18px;
}

.patient-body h3 {
    color: #0b6e4f;
    margin-bottom: 8px;
}

.patient-body p {
    font-size: 0.95rem;
    color: #444;
}


/* =====================================================
   AVERTISSEMENT
===================================================== */

.notice {
    margin-top: 35px;

    padding: 18px 20px;

    background: #fff8df;

    border-left: 4px solid #c99600;

    border-radius: 8px;

    color: #594a00;
}


/* =====================================================
   PRODUITS
===================================================== */

.product-gallery {
    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    gap: 22px;
}

.product-card {
    background: #ffffff;

    border-radius: 16px;

    padding: 16px;

    text-align: center;

    box-shadow:
        0 4px 14px rgba(0, 0, 0, 0.08);

    border: 1px solid #dbe8e1;
}

.product-card img {
    width: 100%;
    height: 230px;

    object-fit: cover;

    border-radius: 10px;

    margin-bottom: 15px;

    background: #edf3ef;
}

.product-card h3 {
    color: #0b6e4f;
    margin-bottom: 8px;
}

.product-card p {
    font-size: 0.9rem;
    color: #555;

    min-height: 55px;

    margin-bottom: 15px;
}


/* =====================================================
   CONTACT
===================================================== */

.contact-section {
    background: #ffffff;
}

.contact-form {
    max-width: 720px;

    margin: 0 auto;

    display: flex;
    flex-direction: column;

    gap: 12px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;

    padding: 12px 14px;

    border: 1px solid #cbd8d2;

    border-radius: 8px;

    background: #ffffff;

    color: #1a1a2e;

    font-family: inherit;
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #17a56e;
}


/* =====================================================
   ANTI-SPAM
===================================================== */

.honeypot {
    position: absolute;

    left: -9999px;

    opacity: 0;

    height: 0;
    width: 0;
}


/* =====================================================
   FOOTER
===================================================== */

.footer {
    background: #0d1f1a;

    color: #cfd8d4;

    padding-top: 55px;
}

.footer-grid {
    display: grid;

    grid-template-columns:
        2fr 1fr 1fr;

    gap: 40px;

    padding-bottom: 40px;
}

.footer h3 {
    color: #ffffff;
    margin-bottom: 15px;
}

.footer p {
    margin: 10px 0;
}

.footer ul {
    list-style: none;
}

.footer li {
    margin-bottom: 8px;
}

.footer a {
    color: #cfd8d4;
    text-decoration: none;
}

.footer a:hover {
    color: #17a56e;
}

.footer .logo-name {
    color: #ffffff;
}

.footer .logo-slogan {
    color: #9fb8ad;
}

.footer-bottom {
    border-top: 1px solid #2a4a3e;

    text-align: center;

    padding: 18px 0;

    font-size: 0.9rem;
}


/* =====================================================
   TABLETTE
===================================================== */

@media (max-width: 1100px) {

    .patients-grid,
    .product-gallery {

        grid-template-columns:
            repeat(3, 1fr);
    }
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 768px) {

    .section {
        padding: 50px 0;
    }


    .header-inner {
        position: relative;
    }


    .header-actions {
        gap: 10px;
    }


    .menu-toggle {
        display: block;
    }


    .nav {
        display: none;

        position: absolute;

        top: 100%;
        left: 0;

        width: 100%;

        background: #ffffff;

        box-shadow:
            0 8px 16px rgba(0, 0, 0, 0.1);

        padding: 20px 0;
    }


    .nav.open {
        display: block;
    }


    .nav ul {
        flex-direction: column;

        align-items: center;

        gap: 15px;
    }


    .hero-content h1 {
        font-size: 1.8rem;
    }


    .patients-grid,
    .product-gallery {

        grid-template-columns:
            repeat(2, 1fr);
    }


    .footer-grid {
        grid-template-columns: 1fr;
    }

}


/* =====================================================
   PETIT MOBILE
===================================================== */

@media (max-width: 480px) {

    .patients-grid,
    .product-gallery {

        grid-template-columns: 1fr;
    }


    .logo-name {
        font-size: 1.15rem;
    }


    .logo-slogan {
        font-size: 0.72rem;
    }


    #languageSelect {
        max-width: 100px;
    }

}