:root {
    --primary-color: #288850;
    --primary-dark: #31bf6c;
    --primary-light: #2ecc71;
    --accent-color: #f59e0b;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --success: #0ede2a;
    --danger: #f80f0f;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Work Sans', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
}
#accueil{
    background-size: cover;        /* Makes image cover entire container */
    background-position: center;   /* Centers the image */
    background-repeat: no-repeat;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    /* Centre verticalement */
    justify-content: center;
    /* Centre horizontalement */
    text-align: center;
    padding: 0 20px;
}
/* ==============================
   BARRE PHARMACIE DE GARDE
   ============================== */

.garde-bar {
    /* position: fixed; */
    top: 0;
    left: 0;
    width: 100%;
    background: #16a34a; /* Vert moderne */
    color: white;

    overflow: hidden;
    z-index: 9999;
    animation: pulseGreen 2.5s ease-in-out infinite;
}

.garde-content {
   width: 100%;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    font-weight: 600;
    font-size: 1rem;
}

.garde-content a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

/* Animation clignotement doux */
@keyframes pulseGreen {
    0% {
        background-color: #0ebb4d;
    }
    50% {
        background-color: #0dd62b;
    }
    100% {
        background-color: #1af81d;
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}


/* Icônes */
.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}


/* MOBILE */
@media (max-width: 768px) {
.garde-marquee {
        overflow: hidden;
        white-space: nowrap;
    }

    .garde-marquee span {
        display: inline-block;
        padding-left: 100%;
        animation: defilement 12s linear infinite;
        font-size: 16px;
        font-weight: 500;
    }

    @keyframes defilement {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-100%);
        }
    }
    /* Affiche le burger */
    .mobile-menu-btn {
        display: flex;
        z-index: 1100;
    }

    /* Menu mobile slide */
    .nav {
        position: fixed;
        left: -100%;
        top: 0;
        width: 260px;
        height: 100vh;
        background: white;
        padding: 100px 25px;
        flex-direction: column;
        gap: 1.5rem;
        transition: 0.3s ease;
        box-shadow: 5px 0 20px rgba(0,0,0,0.1);
    }

    .nav.active {
        left: 0;
    }

    /* Centrer le logo */
    .header-content {
        position: relative;
    }

    .logo {
        position: absolute;
        left: 25%;
        transform: translateX(-50%);
    }

    /* Icônes à droite */
    .header-actions {
        gap: 16px;
    }

    /* Supprimer texte des icônes */
    .action-item span {
        display: none;
    }
}
.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.logo-icon svg {
    width: 24px;
    height: 24px;
}

.logo-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0;
}

.logo-text span {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 400;
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}
.header-right {
    display: flex;
    align-items: center;
    gap: 40px; /* espace entre menu et icônes */
}
.textCompt {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

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

.garde-link {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white !important;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
}

.garde-link::after {
    display: none;
}

.garde-link:hover {
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.3);
}



.action-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #0F172A;
    text-decoration: none;
    transition: 0.3s ease;
}

.action-item i {
    font-size: 18px;
}

.action-item:hover {
    color: #0B5ED7;
}

.btn-link {
    background: none;
    border: none;
    cursor: pointer;
}
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    margin-top: 80px;
    padding: 50px 0;
    position: relative;
    text-align: center;
    overflow: hidden;
    background:url('../Img/banner02.jpg');

    background-image: url('/images/banner02.jpg') center/cover no-repeat;

}


.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    /* background: linear-gradient(
        rgba(0, 31, 63, 0.75),
        rgba(0, 31, 63, 0.65)
    ); */
}
.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    opacity: 0.05;
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero-content {
    align-items: center;
    background: rgba(255, 255, 255, 0.12);
backdrop-filter: blur(12px);
border: 1px solid rgba(255,255,255,0.2);          /* effet flou */
    -webkit-backdrop-filter: blur(10px);  /* support Safari */
    padding: 1rem;
    border-radius: 5px;
}

.hero-label {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #FFFFFF;
    /* color: var(--text-dark); */
}

.hero-description {
    text-align: center;
    /* Aligne le texte au milieu */
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    /* color: var(--text-light); */
    margin-bottom: 2rem;

    /* Ces deux lignes sont cruciales pour centrer le bloc lui-même */
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* style search champ */
/* 1. Conteneur principal pour le centrage global */
.hero-search-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

/* 2. Le Wrapper : Définit la largeur (50% de l'écran) et sert de référence */
.search-wrapper {
    position: relative;
    width: 50%;
    min-width: 300px;
    margin: 0 auto;
}

/* 3. L'Input : Remplit 100% du wrapper */
.search-input {
    width: 100%;
    padding: 15px 55px 15px 25px; /* 55px à droite pour l'icône */
    font-size: 1.1rem;
    border: 2px solid #ddd;
    border-radius: 50px;
    outline: none;
    transition: border-color 0.3s ease;
    box-sizing: border-box; /* Garde le padding à l'intérieur */
}

.search-input:focus {
    border-color: var(--primary-light);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 4. L'Icône : Positionnée à l'extrémité droite INTERNE */
.search-icon-btn {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--primary-light);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 5px;
    padding-right: 15px;
    z-index: 2;
    transition: color 0.3s;
}

.search-icon-btn:hover {
    color:var(--primary-light);
}

/* 5. Liste de résultats (Dropdown) */
.search-results-dropdown {
    position: absolute;
    top: 110%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 100;
    max-height: 250px;
    overflow-y: auto;
    text-align: left;
}

.result-item {
    padding: 12px 20px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    color: #333;
}

.result-item:hover {
    background-color: #f8f9fa;
    color: var(--primary-light);
}

/* 6. Adaptation Mobile */
@media (max-width: 768px) {
    /* .search-wrapper {
        width: 90%;
    } */
}
/* END STYLE SEARCH */

.hero-buttons {
    /* display: flex; */
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.9rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    box-shadow: 0 4px 15px rgba(15, 118, 110, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 118, 110, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.hero-image {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.hero-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    animation: fadeInUp 0.8s ease;
}

.hero-card:nth-child(2) {
    animation-delay: 0.2s;
}

.hero-card:hover {
    transform: translateY(-5px);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: white;
}

.card-icon svg {
    width: 30px;
    height: 30px;
}

.hero-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.hero-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-label {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    color: white;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Services Section */
.services {
    background: var(--bg-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    cursor: pointer;
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center; 
}
.service-link {
    
    text-decoration: none; 
}
.service-card:active {
    transform: scale(0.98);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-light);
    box-shadow: 0 10px 30px rgba(15, 118, 110, 0.15);
    background: white;
}

.service-icon {
    margin: 0 auto 1.5rem auto; 
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
}


.service-icon svg {
    width: 35px;
    height: 35px;
}

.service-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Produits Section */
.produits {
    background: linear-gradient(to bottom, var(--bg-light), white);
}

.produits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.produit-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.produit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.produit-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.produit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* L’image remplit le bloc sans déformation */
    display: block;
}


/* .produit-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
} */

.produit-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-color);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

.produit-content {
    padding: 1.8rem;
}

.produit-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.produit-content p {
    color: var(--text-light);
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}

.produit-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.produit-link:hover {
    gap: 0.8rem;
}

/* Conseil Section */
.conseil {
    background: var(--bg-white);
}

.conseil-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.conseil-image {
    position: relative;
    height: 500px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 20px;
}

.conseil-decoration {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

.conseil-decoration::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 80px;
    background: rgba(255, 255, 255, 0.4);
    clip-path: polygon(50% 0%, 100% 30%, 100% 70%, 50% 100%, 0% 70%, 0% 30%);
}

.conseil-text {
    animation: fadeInRight 0.8s ease;
}

.conseil-list {
    list-style: none;
    margin: 2rem 0;
}

.conseil-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

.conseil-list svg {
    width: 24px;
    height: 24px;
    color: var(--success);
    flex-shrink: 0;
}

/* Contact Section */
.contact {
    background: linear-gradient(to bottom, var(--bg-light), white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: grid;
    gap: 1.5rem;
}

.info-card {
    background: white;
    padding: 1.8rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.info-icon svg {
    width: 24px;
    height: 24px;
}

.info-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.info-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.garde-info {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
}

.garde-info h3,
.garde-info p {
    color: white;
}

.garde-info .info-icon {
    background: rgba(255, 255, 255, 0.2);
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.contact-form h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Work Sans', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1);
}

.btn-full {
    width: 100%;
}

/* Garde Section */
.garde-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    text-align: center;
}

.garde-content {
    max-width: 600px;
    margin: 0 auto;
}

.garde-icon-large {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.garde-icon-large svg {
    width: 50px;
    height: 50px;
}

.garde-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.garde-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.garde-section .btn-primary {
    background: white;
    color: var(--primary-color);
}

.garde-section .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo .logo-icon {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
}

.footer-logo h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: white;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-col h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-light);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Page Header Styles */
.page-header {
    margin-top: 80px;
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #f0fdfa 0%, #ecfeff 100%);
    text-align: center;
}

.page-header-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.page-description {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* Services Detail Page */
.services-detail {
    padding: 80px 0;
    background: white;
}

.service-detail-card {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    padding: 3rem;
    background: var(--bg-light);
    border-radius: 20px;
    align-items: start;
}

.service-detail-card.reverse {
    grid-template-columns: 1fr 150px;
}

.service-detail-card.reverse .service-detail-content {
    order: -1;
}

.service-detail-icon {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.service-detail-icon svg {
    width: 70px;
    height: 70px;
}

.service-detail-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-detail-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    display: grid;
    gap: 0.8rem;
}

.service-features li {
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Products Detail Page */
.produits-categories {
    padding: 80px 0;
}

.category-section {
    margin-bottom: 5rem;
}

.category-header {
    text-align: center;
    margin-bottom: 3rem;
}

.category-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.category-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.produit-card-detailed {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.produit-card-detailed:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.produit-features {
    list-style: none;
    display: grid;
    gap: 0.5rem;
    margin-top: 1rem;
}

.produit-features li {
    padding-left: 1.2rem;
    position: relative;
    color: var(--text-light);
    font-size: 0.9rem;
}

.produit-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Garanties Section */
.garanties-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.garanties-section h2 {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.garanties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.garantie-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 16px;
}

.garantie-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
}

.garantie-icon svg {
    width: 40px;
    height: 40px;
}

.garantie-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.garantie-card p {
    color: var(--text-light);
}

/* Conseil Page Styles */
.conseil-hero {
    padding: 80px 0;
    background: white;
}

.conseil-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.conseil-hero-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.conseil-hero-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.conseil-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
}

.stat-label {
    display: block;
    color: var(--text-light);
    font-size: 0.9rem;
}

.conseil-hero-image {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 20px;
}

.conseil-domaines {
    padding: 80px 0;
    background: var(--bg-light);
}

.domaines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.domaine-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.domaine-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
}

.domaine-icon svg {
    width: 35px;
    height: 35px;
}

.domaine-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.domaine-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.domaine-points {
    list-style: none;
}

.domaine-points li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.domaine-points li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.conseil-process {
    padding: 80px 0;
    background: white;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.process-card {
    text-align: center;
    position: relative;
}

.process-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0 auto 1.5rem;
}

.process-card .step-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
}

.process-card .step-icon svg {
    width: 40px;
    height: 40px;
}

.process-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.process-info {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.conseils-blog {
    padding: 80px 0;
    background: var(--bg-light);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.blog-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    position: relative;
}

.blog-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: white;
    color: var(--primary-color);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

.blog-content {
    padding: 1.8rem;
}

.blog-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.blog-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.faq-section {
    padding: 80px 0;
    background: white;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--text-dark);
    margin: 0;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* Contact Page Styles */
.contact-main {
    padding: 80px 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}

.contact-info-side h2,
.contact-form-side h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-intro,
.form-intro {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.info-card-full {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    margin-bottom: 1.5rem;
    display: flex;
    gap: 1.5rem;
}

.info-card-full h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.info-card-full a {
    color: var(--primary-color);
    text-decoration: none;
}

.info-note {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

.garde-note {
    color: var(--primary-color);
    font-weight: 600;
}

.info-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 0.5rem;
}

.social-links {
    margin-top: 2rem;
}

.social-links h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    transform: translateY(-3px);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.contact-form-side {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.contact-form-main .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.checkbox-group {
    margin: 1.5rem 0;
}

.checkbox-label {
    display: flex;
    align-items: start;
    gap: 0.8rem;
    cursor: pointer;
}

.checkbox-label input {
    margin-top: 0.2rem;
}

.form-note {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 1rem;
}

.btn svg {
    width: 20px;
    height: 20px;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.map-section {
    height: 400px;
}

.map-container {
    height: 100%;
    position: relative;
}

.map-placeholder {
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    position: relative;
}

.map-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
}

.map-info {
    text-align: center;
    color: white;
}

.map-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.urgence-banner {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
}

.urgence-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    color: white;
}

.urgence-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.urgence-icon svg {
    width: 40px;
    height: 40px;
}

.urgence-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.urgence-text p {
    opacity: 0.9;
}

.urgence-banner .btn-primary {
    background: white;
    color: var(--primary-color);
}

/* Garde Page Styles */
.garde-hero {
    margin-top: 80px;
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    text-align: center;
}

.garde-badge-large {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.garde-badge-large svg {
    width: 60px;
    height: 60px;
}

.garde-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.garde-subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

.garde-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-dot {
    width: 12px;
    height: 12px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.status-text {
    font-weight: 600;
}

.current-time {
    font-size: 1.5rem;
    font-weight: 700;
}

.garde-action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

.garde-fonctionnement {
    padding: 80px 0;
    background: white;
}

.fonctionnement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.fonctionnement-step {
    text-align: center;
    position: relative;
}

.step-icon {
    width: 90px;
    height: 90px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
}

.step-icon svg {
    width: 45px;
    height: 45px;
}

.fonctionnement-step h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.garde-horaires {
    padding: 80px 0;
    background: var(--bg-light);
}

.horaires-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.info-card-garde {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.info-card-garde h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.garde-details {
    margin-top: 2rem;
}

.detail-item {
    margin-bottom: 1.5rem;
}

.detail-item strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.detail-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.calendar-garde {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.calendar-garde h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

.calendar-table {
    width: 100%;
    border-collapse: collapse;
}

.calendar-table th,
.calendar-table td {
    padding: 1rem;
    text-align: center;
    border: 1px solid var(--border-color);
}

.calendar-table th {
    background: var(--bg-light);
    font-weight: 600;
}

.calendar-table td.garde-day {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    color: white;
    font-weight: 700;
}

.calendar-legend {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-dot {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.legend-dot.garde {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
}

.garde-medicaments {
    padding: 80px 0;
    background: white;
}

.medicaments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.medicament-category {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 16px;
}

.category-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
}

.category-icon svg {
    width: 35px;
    height: 35px;
}

.medicament-category h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.medicament-category ul {
    list-style: none;
}

.medicament-category li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.medicament-category li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.garde-conseils {
    padding: 80px 0;
    background: var(--bg-light);
}

.garde-conseils h2 {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.conseils-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.conseil-card-garde {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
}

.conseil-icon-garde {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.conseil-card-garde h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.autres-gardes {
    padding: 80px 0;
    background: white;
}

.pharmacies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.pharmacie-garde-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 16px;
}

.pharmacie-garde-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.pharmacie-garde-card p {
    margin: 0.5rem 0;
    color: var(--text-dark);
}

.distance {
    color: var(--primary-color);
    font-weight: 600;
}

.info-note-center {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
}

.garde-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
}

.cta-urgence-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.cta-urgence-icon svg {
    width: 50px;
    height: 50px;
    color: white;
}

.urgence-note {
    text-align: center;
    margin-top: 1rem;
    opacity: 0.9;
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0fdfa, #ecfeff);
    text-align: center;
}

.cta-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        padding: 2rem;
        gap: 0;
        transition: left 0.3s ease;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .nav.active {
        left: 0;
    }

    .nav-link {
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-color);
    }

    .garde-link {
        margin-top: 1rem;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.5rem;
    }

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

    .produits-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .conseil-content {
        grid-template-columns: 1fr;
    }

    .conseil-image {
        height: 300px;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

.service-detail-card {
    grid-template-columns: 1fr;
}

.service-detail-card.reverse {
    grid-template-columns: 1fr;
}

.service-detail-card.reverse .service-detail-content {
    order: 0;
}

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

.conseil-hero-content {
    grid-template-columns: 1fr;
}

.conseil-stats {
    grid-template-columns: repeat(3, 1fr);
}

.horaires-content {
    grid-template-columns: 1fr;
}

.contact-form-main .form-row {
    grid-template-columns: 1fr;
}

.urgence-content {
    flex-direction: column;
    text-align: center;
}


@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .conseil-stats {
        grid-template-columns: 1fr;
    }

    .garde-hero h1 {
        font-size: 2rem;
    }

    .garde-action-buttons {
        flex-direction: column;
    }

    .btn-large {
        width: 100%;
    }
}