/* ======================================= */
/* Variables de Design (Palette & Polices) */
/* ======================================= */
:root {
    --color-primary: #A0C4FF; /* Bleu pastel */
    --color-background: #FFFFFF; /* Blanc */
    --color-background-light: #F8F9FA; /* Gris très clair */
    --color-text-dark: #212529; /* Presque noir */
    --color-text-medium: #6C757D; /* Gris moyen */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    --border-radius: 12px;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* ======================================= */
/* Styles Généraux & Reset                 */
/* ======================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-margin: 150px;
}

html {
    scroll-behavior: smooth; /* Pour un scroll fluide entre les sections */
    font-size: 16px;
}

body {
    font-family: var(--font-secondary);
    color: var(--color-text-dark);
    background-color: var(--color-background);
    line-height: 1.6;
}

/* ======================================= */
/* Structure & Conteneur                  */
/* ======================================= */
.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.bg-light {
    background-color: var(--color-background-light);
}

/* ======================================= */
/* Typographie                             */
/* ======================================= */
h1, h2, h3 {
    font-family: var(--font-primary);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

h1 { font-size: 3rem; line-height: 1.2; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
p { margin-bottom: 1rem; }

/* ======================================= */
/* Composants Réutilisables (Boutons)     */
/* ======================================= */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px; /* Coins très arrondis pour un look moderne */
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 2px solid transparent;
    margin: 0.5rem;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(160, 196, 255, 0.4);
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-text-dark);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

/* ======================================= */
/* Style des Sections                      */
/* ======================================= */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;

    /* Application de l'image de fond */
    /*background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../images/hero-background.jpg');
    /*background-size: cover; /* L'image couvre toute la zone */
    /*background-position: center center; /* L'image est bien centrée */
    /*background-repeat: no-repeat;*/
}

/* Le texte doit être clair sur l'image, on le passe en blanc */
.hero-section h1,
.hero-section h2 {
    color: #1e1e1e;
    /*text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); /* Ombre pour la lisibilité */
}

.hero-section h2 {
    color: rgb(75 75 75 / 90%); /* On rend le sous-titre légèrement moins brillant */
    font-family: var(--font-secondary);
    font-weight: 400;
    max-width: 600px;
    margin: 1rem auto 2rem;
}

.hero-subtext {
    color: #747474cc;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.content-section, .cta-section {
    padding: 80px 0;
}

.main-footer {
    text-align: center;
    background-color: var(--color-text-dark);
    color: var(--color-background-light);
}

/* ======================================= */
/* Animations à l'apparition              */
/* ======================================= */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ======================================= */
/* Style Spécifique: Section Présentation  */
/* ======================================= */

.presentation-wrapper {
    display: flex; /* Active le mode flexbox pour les colonnes */
    align-items: center; /* Centre les colonnes verticalement */
    gap: 4rem; /* Espace entre la colonne de texte et l'image */
}

.presentation-text {
    flex: 1; /* Prend 50% de la largeur disponible */
}

.presentation-visual {
    flex: 1;
    text-align: center;
    height: -webkit-fill-available;
}

.presentation-visual img, .feature-visual img, .hero-visual img {
    max-width: 100%;
    border-radius: var(--border-radius);
    position: sticky;
    top: 150px;
}

.hero-visual img {
    max-height: 350px;
    width: auto;
    margin-bottom: 30px;
}

.hook-paragraph {
    font-size: 1.1rem;
    color: var(--color-text-medium);
}

.benefits-list {
    list-style: none; /* Retire les puces de la liste */
    padding: 0;
    margin-top: 2rem;
}

.benefits-list li {
    position: relative;
    padding-left: 30px; /* Espace pour l'icône */
    margin-bottom: 1.5rem;
}

/* Ajoute une icône "check" stylisée avant chaque bénéfice */
.benefits-list li::before {
    content: '✔'; /* Vous pouvez utiliser une icône SVG pour un meilleur rendu */
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-primary);
    font-weight: bold;
    font-size: 1.2rem;
}


/* ======================================= */
/* Adaptation pour Mobile (Responsive)     */
/* ======================================= */

@media (max-width: 768px) {
    .presentation-wrapper {
        flex-direction: column; /* Passe les colonnes en mode vertical */
        gap: 2rem; /* Réduit l'espace sur mobile */
    }

    /* Le texte passera au-dessus de l'image sur les petits écrans */
}



/* ======================================= */
/* Style Spécifique: Feature Section       */
/* ======================================= */

.feature-wrapper {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.feature-text, .feature-visual {
    flex: 1; /* Chaque colonne prend 50% de l'espace */
    height: -webkit-fill-available;
}

/* Modificateur pour inverser les colonnes */
.feature-wrapper.is-reversed {
    flex-direction: row-reverse;
}

.advantage-text {
    margin-top: 2rem;
    padding: 1rem;
    background-color: #eef4ff; /* Couleur de fond bleu très clair */
    border-left: 4px solid var(--color-primary);
    border-radius: 4px;
}



/* ======================================= */
/* Style Spécifique: Section Intégration   */
/* ======================================= */
.integration-text-block {
    max-width: 750px; /* Limite la largeur du texte pour une meilleure lisibilité */
    margin: 0 auto 3rem auto; /* Centre le bloc de texte */
}

.logo-wall {
    margin-bottom: 3rem;
}

.logo-wall p {
    font-size: 0.9rem;
    color: var(--color-text-medium);
    margin-bottom: 1.5rem;
}

.logo-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2.5rem; /* Espace entre les logos */
}

.logo-grid img {
    width: 100px;
    height: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    border-radius: 18px;
    box-shadow: 0px 0px 15px #eaeaea;
}

.logo-grid img:hover {
    opacity: 1;
}

.central-mockup img {
    max-width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.caption-text {
    max-width: 600px;
    margin: 0 auto;
    color: var(--color-text-medium);
}




/* ======================================= */
/* Adaptation Mobile (Responsive)          */
/* ======================================= */

@media (max-width: 768px) {
    .feature-wrapper,
    .feature-wrapper.is-reversed {
        flex-direction: column; /* On repasse en mode vertical */
        gap: 2rem;
    }
    .logo-grid img {
        width: 45px;
        border-radius: 5px;
    }
}





/* ======================================= */
/* Styles du Blog & Articles               */
/* ======================================= */

/* --- En-tête de la page Blog --- */
.page-header {
    padding: 60px 0;
    background-color: var(--color-background-light);
    border-bottom: 1px solid #ddd;
    margin-top: 80px; /* Espace pour le header flottant */
}

/* --- Grille des articles --- */
.article-grid-section {
    padding: 80px 0;
}
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}
.article-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.article-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.card-content {
    padding: 1.5rem;
}
.card-title a {
    text-decoration: none;
    color: var(--color-text-dark);
    font-size: 1.25rem;
}
.card-excerpt {
    color: var(--color-text-medium);
    font-size: 0.95rem;
    margin-top: 0.5rem;
}
.read-more {
    display: inline-block;
    margin-top: 1rem;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
}

/* --- Page d'article individuelle --- */
.article-page {
    margin-top: 80px; /* Espace pour header flottant */
}
.article-header {
    padding: 60px 0;
    background-color: var(--color-background-light);
}
.article-meta {
    color: var(--color-text-medium);
}
.article-featured-image {
    padding: 40px 0;
}
.article-featured-image img {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: var(--border-radius);
}
.article-content {
    max-width: 750px;
    padding-bottom: 80px;
}
.article-content h2 {
    margin-top: 2.5rem;
}
.article-content h3 {
    margin-top: 1.5rem;
}
.article-content .lead {
    font-size: 1.2rem;
    color: var(--color-text-medium);
    border-left: 3px solid var(--color-primary);
    padding-left: 1.5rem;
}
.article-cta {
    background-color: var(--color-background-light);
    padding: 2rem;
    margin-top: 3rem;
    border-radius: var(--border-radius);
    text-align: center;
}


/* ======================================= */
/* Styles pour les boutons et popup de démo*/
/* ======================================= */

/* Style pour le bouton secondaire "Voir la démo" */
.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    box-shadow: none; /* Pas d'ombre pour le bouton secondaire */
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-text-dark);
    box-shadow: 0 8px 25px rgba(160, 196, 255, 0.4);
}

/* Ajustement pour que le texte de la nouvelle popup soit centré */
#live-demo-modal .modal-content p {
    margin-bottom: 1.5rem;
}



/* ======================================= */
/* Styles de la Section Contact            */
/* ======================================= */
.contact-section {
    padding: 80px 0;
    background-color: var(--color-background);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.contact-card {
    border: 1px solid #e9ecef;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
}

.contact-card h4 {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: var(--color-text-medium);
    margin-bottom: 1.5rem;
}

.contact-card a {
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    word-break: break-all;
}


/* ======================================= */
/* Styles de la Section Résumé             */
/* ======================================= */
.summary-section {
    padding: 80px 0;
    background-color: var(--color-background-light);
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: #fff;
    padding: 2.5rem 2rem;
    text-align: center;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
}

.feature-card .card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--color-text-medium);
    margin-bottom: 1.5rem;
    flex-grow: 1; /* Permet d'aligner les boutons en bas */
}

.feature-card .learn-more {
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s;
}

.feature-card .learn-more:hover {
    color: var(--color-text-dark);
}


/* ======================================= */
/* Styles de la Page Légale                */
/* ======================================= */
.legal-content-section {
    padding: 60px 0;
}

.legal-article {
    max-width: 800px; /* Limite la largeur pour une meilleure lisibilité */
    margin: 0 auto 4rem auto; /* Centre le contenu et espace les sections */
    line-height: 1.7;
}

.legal-article h2 {
    font-size: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-background-light);
    margin-bottom: 1.5rem;
}

.legal-article h3 {
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-article p, .legal-article li {
    color: var(--color-text-medium);
}


/* --- Section Logos Clients --- */
.clients-section { padding: 60px 0; }
.section-subtitle { font-family: var(--font-secondary); font-weight: 500; color: var(--color-text-medium); margin-bottom: 3rem; }
.logo-wall { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 3rem; }
.logo-wall img {
    height: 110px;
    max-width: 150px;
    transition: all 0.3s ease;
    border-radius: 10px;
}

/* --- Section Témoignages --- */
.testimonials-section { padding: 80px 0; }
.testimonial-grid { margin-top: 4rem; }
.testimonial-card { background-color: var(--color-background-light); padding: 2.5rem; border-radius: var(--border-radius); border-left: 5px solid var(--color-primary); }
.testimonial-quote { font-size: 1.2rem; font-style: italic; color: var(--color-text-dark); margin-bottom: 2rem; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.testimonial-author img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
.testimonial-author strong { display: block; font-family: var(--font-primary); }
.testimonial-author span { color: var(--color-text-medium); font-size: 0.9rem; }


/* ======================================= */
/* Styles de la Section Tarifs (MISE À JOUR) */
/* ======================================= */
.pricing-section { 
    padding: 80px 0; 
}

.launch-title {
    color: var(--color-primary);
}

.pricing-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 2rem; 
    margin-top: 4rem; 
    align-items: stretch; /* Fait en sorte que les cartes aient la même hauteur */
}

.pricing-card { 
    background-color: #fff; 
    border-radius: var(--border-radius); 
    padding: 2.5rem; 
    text-align: center; 
    border: 1px solid #e9ecef; 
    position: relative; 
    display: flex;
    flex-direction: column;
}

.pricing-card.recommended { 
    border: 2px solid var(--color-primary); 
    transform: scale(1.02);
}

.pricing-card .badge { 
    position: absolute; 
    top: -15px; 
    left: 50%; 
    transform: translateX(-50%); 
    background-color: var(--color-primary); 
    color: var(--color-text-dark); 
    padding: 5px 15px; 
    border-radius: 50px; 
    font-size: 0.8rem; 
    font-weight: 600; 
}

.pricing-card .launch-badge {
    color: #e63946; /* Rouge pour attirer l'oeil */
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.pricing-card h3 { 
    font-size: 1.5rem; 
    margin-bottom: 0.5rem;
}

.card-description {
    color: var(--color-text-medium);
    font-size: 0.9rem;
    min-height: 50px; /* Assure un alignement même si les textes varient */
}

.price { 
    font-size: 3rem; 
    font-family: var(--font-primary); 
    font-weight: 700;
    margin: 1.5rem 0; 
}

.price del {
    font-size: 1.5rem;
    color: var(--color-text-medium);
    font-weight: 400;
    margin-right: 0.5rem;
}

.price span { 
    font-size: 1rem; 
    color: var(--color-text-medium); 
    font-family: var(--font-secondary); 
    font-weight: 400;
}

.pricing-card ul { 
    list-style: none; 
    padding: 0; 
    margin-bottom: 2.5rem; 
    text-align: left; 
    flex-grow: 1; /* Pousse le bouton vers le bas */
}

.pricing-card li { 
    margin-bottom: 0.75rem; 
}

.pricing-footer-note {
    margin-top: 3rem;
    color: var(--color-text-medium);
    font-size: 0.9rem;
}

/* CSS à ajouter */
.video-demo-section { padding: 80px 0; }
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* Ratio 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 800px;
    margin: 2rem auto 0 auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
}
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* ======================================= */
/* Styles des Mockups d'Interface (Stripe) */
/* ======================================= */

.feature-visual {
    /* On s'assure que le visuel a de l'espace */
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mockup-card {
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    border-radius: 16px;
    padding: 24px;
    width: 320px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04), 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.4s ease;
}

.mockup-card h4 {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

/* Styles pour le mockup "Panier" */
.mockup-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}
.mockup-item.total {
    font-weight: bold;
    font-size: 1rem;
}
.mockup-divider {
    height: 1px;
    background-color: #e9ecef;
    margin: 1rem 0;
}

/* Styles pour le mockup "Réservation" */
.mockup-field {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 10px 15px;
    margin-bottom: 1rem;
    text-align: left;
}
.mockup-field label {
    display: block;
    font-size: 0.75rem;
    color: var(--color-text-medium);
    margin-bottom: 2px;
}
.mockup-field span {
    font-weight: 500;
}

/* Styles pour les boutons des mockups */
.mockup-btn {
    display: block;
    width: 100%;
    background-color: #000;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 1.5rem;
    cursor: pointer;
}
.mockup-btn.primary {
    background-color: var(--color-primary);
    color: var(--color-text-dark);
}
/* ======================================= */
/* Styles du Mockup App Serveur            */
/* ======================================= */

/* Le cadre du téléphone */
.mockup-phone {
    width: 340px;
    height: 680px;
    background-color: #1a1a1a;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2), 0 0 0 1px #333;
    transition: transform 0.4s ease;
}

/* L'écran blanc à l'intérieur du cadre */
.mockup-screen {
    background-color: #f8f9fa;
    width: 100%;
    height: 100%;
    border-radius: 28px;
    overflow: hidden;
}

/* Le layout principal de l'app */
.server-app-layout {
    display: flex;
    height: 100%;
    background-color: #fff;
}

/* La grille de produits (partie gauche) */
.product-grid {
    flex-grow: 1;
    padding: 15px;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 colonnes de produits */
    gap: 8px;
    align-content: start;
}

.product-category {
    grid-column: 1 / -1; /* Prend toute la largeur */
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-text-medium);
    margin-top: 10px;
    margin-bottom: 2px;
}

.product-tile {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 5px;
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-tile:hover {
    background-color: #f1f3f5;
}

.product-tile.active {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-text-dark);
}

/* Le résumé de commande (partie droite) */
.order-summary {
    width: 140px;
    flex-shrink: 0;
    background-color: #f8f9fa;
    padding: 15px;
    display: flex;
    flex-direction: column;
}

.order-summary h5 {
    font-family: var(--font-primary);
    margin: 0 0 1rem 0;
    text-align: center;
}

.order-item-list {
    flex-grow: 1;
    font-size: 0.75rem;
}

.order-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}
.order-item span:first-child {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 5px;
}

.order-total {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid #e9ecef;
}

/* ========================================================== */
/* Styles des Mockups App Serveur & Livreur (MISE À JOUR)     */
/* ========================================================== */

/* Le cadre du téléphone (inchangé) */
.mockup-phone {
    width: 340px; height: 680px; background-color: #1a1a1a; border-radius: 40px;
    padding: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.2), 0 0 0 1px #333;
    transition: transform 0.4s ease;
}

/* L'écran (inchangé) */
.mockup-screen {
    background-color: #fff; width: 100%; height: 100%;
    border-radius: 28px; overflow: hidden; position: relative;
    display: flex; flex-direction: column;
}

/* --- Styles spécifiques au Mockup App Serveur V2 --- */
.server-order-summary {
    height: 35%; /* Prend 35% de la hauteur */
    background-color: #f8f9fa;
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
    display: flex; flex-direction: column;
}
.summary-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.summary-header h5 { font-family: var(--font-primary); margin: 0; }
.summary-header .summary-total { font-family: var(--font-primary); font-size: 1.2rem; font-weight: 700; }
.summary-item-list { flex-grow: 1; overflow-y: auto; font-size: 0.8rem; }
.summary-item { display: flex; justify-content: space-between; padding: 4px 0; }
.server-product-grid { flex-grow: 1; padding: 15px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; align-content: start; }
.server-app-footer { padding: 15px; background-color: #fff; box-shadow: 0 -5px 15px rgba(0,0,0,0.05); }

/* --- Styles spécifiques au Mockup App Livreur --- */
.delivery-app-map { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.delivery-app-map img {
    width: 100%;
    height: 53%;
    object-fit: cover;
    top: 0;
}
.delivery-app-details {
    position: absolute; bottom: 0; left: 0; right: 0;
    background-color: #fff;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    padding: 15px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    z-index: 2;
}
.drag-handle { width: 40px; height: 5px; background-color: #dbe1e8; border-radius: 3px; margin: 0 auto 15px; }
.delivery-info-header { text-align: center; margin-bottom: 15px; }
.delivery-info-header h3 { font-size: 1.2rem; margin: 0; }
.delivery-info-header span { font-size: 0.8rem; color: var(--color-text-medium); }
.delivery-info-line { display: flex; align-items: center; text-align: left; font-size: 0.9rem; margin-bottom: 10px; }
.info-icon { margin-right: 10px; }

/* ======================================= */
/* Styles pour le bouton "Mon Etablissement" */
/* ======================================= */

/* Conteneur pour les éléments de droite du header */
.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem; /* Espace entre la navigation et le bouton de login */
}

/* Bouton de login dans le header pour la vue ordinateur */
.btn-header-login {
    padding: 8px 20px; /* Un peu plus petit pour être plus discret */
}

/* Le bouton de login dans la sidebar mobile */
.nav-mobile-login {
    display: none; /* Caché par défaut, visible seulement dans la sidebar */
    margin-top: 2rem;
    padding: 0 30px;
    width: 100%;
}
.nav-mobile-login .btn {
    width: 100%;
    text-align: center;
}


/* --- Modifications pour Mobile (dans la media query) --- */
@media (max-width: 768px) {
    /* On cache le bouton de login de la vue ordinateur */
    .btn-header-login {
        display: none;
    }

    /* On affiche le bouton de login dans la liste de la sidebar */
    .nav-mobile-login {
        display: block;
    }
}

/* --- Modifications pour Ordinateur (dans la media query) --- */
@media (min-width: 769px) {
    /* Le conteneur nav-wrapper n'est plus nécessaire sur ordinateur, on le "neutralise" */
    /* C'est une correction pour s'assurer que seul l'UL est pris en compte */
    .nav-wrapper {
        display: contents;
    }
}