/* --- VARIABLES --- */
:root {
    --vert: #2ecc71;
    --vert-fonce: #27ae60;
    --insta-rose: #E1306C;
    --fb-blue: #1877F2;
    --google-blue: #4285F4;
    --gris: #f8f9fa;
    --texte: #2c3e50;
    --blanc: #ffffff;
}

/* --- RESET & BASE --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; color: var(--texte); line-height: 1.6; background-color: var(--blanc); scroll-behavior: smooth; }
html { scroll-padding-top: 100px; }

/* --- MENU BURGER ELEMENT --- */
.menu-toggle { display: none; font-size: 1.8rem; cursor: pointer; color: var(--vert); }

/* --- HEADER --- */
header { 
    background: var(--blanc); 
    padding: 20px 5%; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
}
.logo { font-size: 1.5rem; font-weight: 600; }
.logo span { color: var(--vert); }

nav ul { 
    display: flex; 
    list-style: none; 
    align-items: center; 
}

nav ul li { 
    margin-left: 15px; 
    border-right: 1px solid #000; 
    padding: 0 12px; 
    line-height: 1; 
}

nav ul li:last-child { 
    border-right: none; 
    padding-right: 0; 
}

nav ul li a { 
    text-decoration: none; 
    color: var(--texte); 
    transition: 0.3s; 
    font-size: 0.95rem; 
    font-weight: 500;
}
nav ul li a:hover { color: var(--vert); }

/* --- HERO --- */
.hero { 
    height: 60vh; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('devanture_pharma1.jpg'); 
    background-size: cover; 
    background-position: center; 
    color: white; 
    padding: 0 5%;
    border-top: none !important; 
}
.hero-text h1 { color: var(--vert); font-size: 3rem; margin-bottom: 10px; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
.btn { display: inline-block; background: var(--vert); color: white; padding: 12px 35px; text-decoration: none; border-radius: 30px; font-weight: 600; margin-top: 20px; box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3); transition: all 0.3s ease; }
.btn:hover { background: var(--vert-fonce); transform: scale(1.05) translateY(-3px); box-shadow: 0 8px 25px rgba(46, 204, 113, 0.5); }

/* --- GLOBAL --- */
.container { padding: 60px 10%; }
.title-left { text-align: left; margin-bottom: 30px; border-left: 5px solid var(--vert); padding-left: 15px; font-size: 2rem; }
.section-subtitle { margin-bottom: 30px; font-size: 1.1rem; color: #444; }

section { border-top: 1px solid #e0e0e0; }

/* --- SERVICES --- */
.grid-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.service-item { display: flex; align-items: center; background: var(--gris); padding: 25px; border-radius: 12px; transition: 0.3s; }
.service-item:hover { transform: translateX(5px); background: white; border-color: var(--vert); box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.service-item i { font-size: 2rem; color: var(--vert); margin-right: 20px; width: 40px; text-align: center; }
.service-content h3 { font-size: 1.1rem; margin-bottom: 5px; }
.service-content p { font-size: 0.9rem; color: #444; margin: 0; overflow-wrap: break-word; }

a.service-item { text-decoration: none; color: var(--texte); }
.link-card { border: 1px solid transparent; }
.link-card:hover { border-color: var(--vert); cursor: pointer; }
.catalog-link { display: block; margin-top: 10px; color: var(--vert-fonce); font-weight: 600; font-size: 0.85rem; text-decoration: underline; }
.catalog-link i { font-size: 0.8rem; width: auto; margin-left: 5px; }

/* --- MARQUES --- */
.marques-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 20px; }
/* gestion de l ouverture et fermeture de la liste */
.marques-wrapper {
    position: relative;
    overflow: hidden;
    max-height: 15000px; /* on met 15000px pour accueillir toutes les nouvelles marques sur mobile */
    transition: max-height 0.5s ease-in-out;
    padding: 10px; 
    margin: -10px; 
}

.marques-wrapper.collapsed {
    max-height: 160px; /* ajustement pour integrer le nouveau padding */
}
/* les points de suspension en degrade */
.marques-fade {
    display: none;
}

.marques-wrapper.collapsed .marques-fade {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1) 85%);
    font-size: 2.5rem;
    color: #999;
    padding-bottom: 5px;
    pointer-events: none;
}

/* le design du bouton voir plus */
.btn-more-marques {
    background: transparent;
    color: var(--vert);
    border: 2px solid var(--vert);
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-more-marques:hover {
    background: var(--vert);
    color: white;
    transform: translateY(-2px);
}

.btn-more-marques i {
    margin-right: 8px;
}

/* couleurs des marques */
.marque-item.kreme:hover { border-color: #87ceeb; box-shadow: 0 4px 8px rgba(135, 206, 235, 0.3); } /* bleu ciel kreme */
.marque-item.granions:hover { border-color: #0056b3; box-shadow: 0 4px 8px rgba(0, 86, 179, 0.3); } 
.marque-item.upsa:hover { border-color: #2ecc71; box-shadow: 0 4px 8px rgba(46, 204, 113, 0.3); } /* vert upsa */
.marque-item.bonjour:hover { border-color: #f39c12; box-shadow: 0 4px 8px rgba(243, 156, 18, 0.3); }

/* mise en forme des cases avec bordure */
.marque-item {
    background: white; 
    border: 1px solid #e0e0e0; 
    border-radius: 8px; 
    padding: 15px; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    height: 120px; 
    transition: all 0.3s ease; 
    cursor: pointer; 
    overflow: hidden; 
}

/* effet par defaut (si pas de couleur specifique) */
.marque-item:hover { 
    border-color: var(--vert); 
    box-shadow: 0 4px 8px rgba(46, 204, 113, 0.2); 
    transform: translateY(-3px); 
}

/* couleurs specifiques au survol pour chaque marque */
.marque-item.avene:hover { border-color: #ffb6b9; box-shadow: 0 4px 8px rgba(255, 182, 185, 0.3); }
.marque-item.biocanina:hover { border-color: #e30613; box-shadow: 0 4px 8px rgba(227, 6, 19, 0.3); }
.marque-item.boiron:hover { border-color: #0056b3; box-shadow: 0 4px 8px rgba(0, 86, 179, 0.3); }
.marque-item.caudalie:hover { border-color: #8a2be2; box-shadow: 0 4px 8px rgba(138, 43, 226, 0.3); }
.marque-item.cizeta:hover { border-color: #003366; box-shadow: 0 4px 8px rgba(0, 51, 102, 0.3); }
.marque-item.dexeryl:hover { border-color: #009ee0; box-shadow: 0 4px 8px rgba(0, 158, 224, 0.3); }
.marque-item.gallia:hover { border-color: #003366; box-shadow: 0 4px 8px rgba(0, 51, 102, 0.3); }
.marque-item.hydralin:hover { border-color: #003366; box-shadow: 0 4px 8px rgba(0, 51, 102, 0.3); }
.marque-item.laroche:hover { border-color: #007bff; box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3); }
.marque-item.larosee:hover { border-color: #a2c4c9; box-shadow: 0 4px 8px rgba(162, 196, 201, 0.3); }
.marque-item.mkl:hover { border-color: #2ecc71; box-shadow: 0 4px 8px rgba(46, 204, 113, 0.3); }
.marque-item.modilac:hover { border-color: #005f8c; box-shadow: 0 4px 8px rgba(0, 95, 140, 0.3); }
.marque-item.nhco:hover { border-color: #000000; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); }
.marque-item.nutricia:hover { border-color: #005f8c; box-shadow: 0 4px 8px rgba(0, 95, 140, 0.3); }
.marque-item.nuxe:hover { border-color: #5c8a47; box-shadow: 0 4px 8px rgba(92, 138, 71, 0.3); }
.marque-item.orliman:hover { border-color: #e30613; box-shadow: 0 4px 8px rgba(227, 6, 19, 0.3); }
.marque-item.pileje:hover { border-color: #0056b3; box-shadow: 0 4px 8px rgba(0, 86, 179, 0.3); }
.marque-item.saforelle:hover { border-color: #e40046; box-shadow: 0 4px 8px rgba(228, 0, 70, 0.3); }
.marque-item.santeverte:hover { border-color: #4caf50; box-shadow: 0 4px 8px rgba(76, 175, 80, 0.3); }
.marque-item.sigvaris:hover { border-color: #003366; box-shadow: 0 4px 8px rgba(0, 51, 102, 0.3); }
.marque-item.svr:hover { border-color: #333333; box-shadow: 0 4px 8px rgba(51, 51, 51, 0.3); }
/* nouvelles couleurs de marques au survol */
.marque-item.vicks:hover { border-color: #008751; box-shadow: 0 4px 8px rgba(0, 135, 81, 0.3); }
.marque-item.pranarom:hover { border-color: #62a43e; box-shadow: 0 4px 8px rgba(98, 164, 62, 0.3); }
.marque-item.ibsa:hover { border-color: #004990; box-shadow: 0 4px 8px rgba(0, 73, 144, 0.3); }
.marque-item.thuasne:hover { border-color: #00529c; box-shadow: 0 4px 8px rgba(0, 82, 156, 0.3); }
.marque-item.bepanthen:hover { border-color: #005baa; box-shadow: 0 4px 8px rgba(0, 91, 170, 0.3); }
.marque-item.calmosine:hover { border-color: #d0266b; box-shadow: 0 4px 8px rgba(208, 38, 107, 0.3); }
.marque-item.mam:hover { border-color: #00a6ce; box-shadow: 0 4px 8px rgba(0, 166, 206, 0.3); }
.marque-item.waterwipes:hover { border-color: #009ee0; box-shadow: 0 4px 8px rgba(0, 158, 224, 0.3); }
.marque-item.prorhinel:hover { border-color: #f39200; box-shadow: 0 4px 8px rgba(243, 146, 0, 0.3); }
.marque-item.neutraderm:hover { border-color: #003a70; box-shadow: 0 4px 8px rgba(0, 58, 112, 0.3); }
.marque-item.bodyguard:hover { border-color: #007bff; box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3); }
.marque-item.cooper:hover { border-color: #00539f; box-shadow: 0 4px 8px rgba(0, 83, 159, 0.3); }
.marque-item.parakito:hover { border-color: #e30613; box-shadow: 0 4px 8px rgba(227, 6, 19, 0.3); }
.marque-item.aromaker:hover { border-color: #4caf50; box-shadow: 0 4px 8px rgba(76, 175, 80, 0.3); }
.marque-item.respire:hover { border-color: #85c4b9; box-shadow: 0 4px 8px rgba(133, 196, 185, 0.3); }
.marque-item.exode:hover { border-color: #333333; box-shadow: 0 4px 8px rgba(51, 51, 51, 0.3); }
.marque-item.hydratis:hover { border-color: #00a5df; box-shadow: 0 4px 8px rgba(0, 165, 223, 0.3); }
.marque-item.pukka:hover { border-color: #7b9d33; box-shadow: 0 4px 8px rgba(123, 157, 51, 0.3); }
.marque-item.bion3:hover { border-color: #007bff; box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3); }
.marque-item.gum:hover { border-color: #1e8449; box-shadow: 0 4px 8px rgba(30, 132, 73, 0.3); }
.marque-item.inava:hover { border-color: #004a8f; box-shadow: 0 4px 8px rgba(0, 74, 143, 0.3); }
.marque-item.alvadiem:hover { border-color: #e6a817; box-shadow: 0 4px 8px rgba(230, 168, 23, 0.3); }
.marque-item.clearblue:hover { border-color: #005a9c; box-shadow: 0 4px 8px rgba(0, 90, 156, 0.3); }
.marque-item.elastoplast:hover { border-color: #e30613; box-shadow: 0 4px 8px rgba(227, 6, 19, 0.3); }
.marque-item.durex:hover { border-color: #002878; box-shadow: 0 4px 8px rgba(0, 40, 120, 0.3); }
.marque-item.fluocaril:hover { border-color: #82e0aa; box-shadow: 0 4px 8px rgba(130, 224, 170, 0.3); }
.marque-item.oralb:hover { border-color: #0032a0; box-shadow: 0 4px 8px rgba(0, 50, 160, 0.3); }
.marque-item.listerine:hover { border-color: #000000; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); }
.marque-item.sidnutrition:hover { border-color: #3a8c34; box-shadow: 0 4px 8px rgba(58, 140, 52, 0.3); }
.marque-item.manhae:hover { border-color: #d50065; box-shadow: 0 4px 8px rgba(213, 0, 101, 0.3); }
.marque-item.sanofi:hover { border-color: #5e35b1; box-shadow: 0 4px 8px rgba(94, 53, 177, 0.3); }
.marque-item.biocodex:hover { border-color: #a1144d; box-shadow: 0 4px 8px rgba(161, 20, 77, 0.3); }
.marque-item.biosynex:hover { border-color: #f39c12; box-shadow: 0 4px 8px rgba(243, 156, 18, 0.3); }
.marque-item.grimberg:hover { border-color: #004c97; box-shadow: 0 4px 8px rgba(0, 76, 151, 0.3); }
.marque-item.vitry:hover { border-color: #003153; box-shadow: 0 4px 8px rgba(0, 49, 83, 0.3); }
.marque-item.renu:hover { border-color: #000000; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); }
.marque-item.parodontax:hover { border-color: #007bff; box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3); }
/* image a l interieur des cases */
.marque-item img { 
    max-width: 100%; 
    height: auto; 
    object-fit: contain; 
    transition: 0.3s; 
}
.marque-item:hover img { transform: scale(1.05); }

/* --- RECHERCHE & PROMOS --- */
.header-promos { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; margin-bottom: 20px; gap: 15px; }
.search-promo-box { position: relative; max-width: 400px; width: 100%; }
.search-promo-box input { width: 100%; padding: 10px 15px 10px 40px; border: 1px solid #ddd; border-radius: 25px; font-size: 0.95rem; outline: none; transition: 0.3s; }
.search-promo-box input:focus { border-color: var(--vert); box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.1); }
.search-icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #aaa; }

.promo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 25px; }
.promo-card { 
    position: relative; 
    background: white; 
    border: 1px solid #eee; 
    border-radius: 15px; 
    padding: 20px; 
    text-align: center; 
    transition: 0.3s; 
    overflow: hidden; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.promo-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); border-color: var(--vert); }

.promo-img { 
    width: 100%;
    height: 220px; 
    background: white; 
    border-radius: 10px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin-bottom: 15px; 
    overflow: hidden;
}
.promo-img img { 
    width: 100%; 
    height: 100%; 
    object-fit: contain; 
    transition: 0.3s; 
    cursor: zoom-in;
}

.promo-card h3 { font-size: 1.1rem; margin-bottom: 15px; color: var(--texte); }
.promo-price { font-size: 1.2rem; font-weight: bold; color: var(--vert-fonce); background: #f0fdf4; padding: 5px 15px; border-radius: 20px; display: inline-block; }
.old-price { text-decoration: line-through; color: #444; font-size: 0.9em; margin-right: 8px; font-weight: normal; }
.promo-badge { position: absolute; top: 10px; left: 10px; width: 50px; height: 50px; background-color: #e74c3c; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 0.9rem; box-shadow: 0 2px 5px rgba(0,0,0,0.2); z-index: 10; }

/* gestion de l ouverture et fermeture des promos */
.promos-wrapper {
    position: relative;
    overflow: hidden;
    max-height: 15000px; /* hauteur max pour tout afficher (assez grand pour 30+ produits) */
    transition: max-height 0.5s ease-in-out;
    padding: 15px 10px; /* evite de couper les bordures et ombres */
    margin: -15px -10px;
}

.promos-wrapper.collapsed {
    max-height: 430px; /* hauteur calculee pour afficher juste la premiere ligne de cartes */
}
/* --- FIDELITE --- */
.fidelite-card { background: white; border: 2px solid var(--vert); border-radius: 20px; padding: 40px; display: flex; align-items: center; gap: 50px; box-shadow: 0 10px 30px rgba(46, 204, 113, 0.15); }
.fidelite-image { flex: 1; }
.fidelite-image img { width: 100%; height: auto; border-radius: 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.fidelite-content { flex: 1.5; }
.fidelite-content h3 { color: var(--vert-fonce); margin-bottom: 15px; font-size: 1.5rem; }
.fidelite-info-box { background: var(--gris); padding: 25px; border-radius: 15px; display: flex; gap: 20px; align-items: flex-start; margin-top: 25px; }
.fidelite-info-box i { font-size: 2rem; color: var(--vert); margin-top: 5px; }
.fidelite-info-box strong { display: block; margin-bottom: 5px; color: var(--texte); }
.fidelite-info-box p { margin: 0; font-size: 0.95rem; color: #333; }

/* --- ORDONNANCE --- */
.ordo-card { background: #f0fdf4; border: 2px dashed var(--vert); border-radius: 20px; padding: 40px; display: flex; align-items: center; gap: 40px; box-shadow: 0 10px 30px rgba(46, 204, 113, 0.1); }
.ordo-icon { font-size: 4rem; color: white; background: var(--vert); width: 100px; height: 100px; display: flex; align-items: center; justify-content: center; border-radius: 50%; flex-shrink: 0; }
.ordo-content h3 { color: var(--vert-fonce); margin-bottom: 15px; }
.ordo-steps { margin: 15px 0 25px 20px; color: #333; }
.ordo-steps li { margin-bottom: 8px; }
.btn-ordo { display: inline-block; background: var(--texte); color: white; padding: 12px 30px; text-decoration: none; border-radius: 30px; font-weight: 600; transition: 0.3s; }
.btn-ordo:hover { background: black; transform: translateY(-3px); }
.btn-ordo i { margin-right: 10px; }
.ordo-note { font-size: 0.85rem; color: #333; margin-top: 15px; font-style: italic; }

/* --- GARDE --- */
.garde-card { background: white; border: 2px solid var(--vert); border-radius: 20px; padding: 40px; display: flex; align-items: center; gap: 40px; box-shadow: 0 10px 30px rgba(46, 204, 113, 0.15); }
.garde-icon { font-size: 4rem; color: var(--vert); background: var(--gris); width: 100px; height: 100px; display: flex; align-items: center; justify-content: center; border-radius: 50%; flex-shrink: 0; }
.garde-content h3 { margin-bottom: 10px; color: var(--vert-fonce); }
.search-box { display: flex; gap: 10px; margin-top: 20px; margin-bottom: 15px; flex-wrap: wrap; }
.search-box input { padding: 12px 20px; border: 1px solid #ddd; border-radius: 30px; flex: 1; font-family: 'Poppins', sans-serif; font-size: 1rem; outline: none; min-width: 200px; }
.search-box input:focus { border-color: var(--vert); box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.2); }
.btn-search { background: var(--vert); color: white; border: none; padding: 12px 30px; border-radius: 30px; font-weight: 600; cursor: pointer; transition: 0.3s; font-size: 1rem; }
.btn-search:hover { background: var(--vert-fonce); transform: translateY(-2px); }
.gdpr-note { font-size: 0.8rem; color: #444; margin-top: 10px; }

/* --- MEDADOM --- */
.medadom-flex { display: flex; align-items: center; gap: 40px; background: var(--gris); padding: 40px; border-radius: 20px; margin-top: 20px; text-align: left; }
.medadom-image img { max-width: 250px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.medadom-text h2 { color: var(--vert); margin-bottom: 15px; }
.services-list { list-style: none; margin-top: 15px; }
.services-list i { color: var(--vert); margin-right: 10px; }

/* --- FAQ --- */
.faq-container { max-width: 800px; margin: 0 auto 0 0; }
.faq-item { background: var(--gris); border-radius: 10px; margin-bottom: 15px; padding: 15px 25px; border: 1px solid transparent; transition: 0.3s; }
.faq-item[open] { background: white; border-color: var(--vert); box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.faq-item summary { font-weight: 600; cursor: pointer; color: var(--texte); list-style: none; font-size: 1.1rem; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::after { content: '+'; color: var(--vert); font-weight: bold; font-size: 1.5rem; }
.faq-item[open] summary::after { content: '-'; }
.faq-item summary:hover { color: var(--vert); }
.faq-item p { margin-top: 15px; font-size: 0.95rem; color: #333; padding-top: 10px; border-top: 1px solid #eee; }

/* --- INFOS --- */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card { background: var(--gris); padding: 35px; border-radius: 15px; border: 1px solid #eee; transition: 0.4s; text-align: left; position: relative; }
.icon-card { font-size: 1.8rem; color: var(--vert); margin-bottom: 20px; display: block; }
.card:hover { transform: translateY(-10px); border-color: var(--vert); background: white; box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.horaires-list { list-style: none; margin: 15px 0; }
.urgence-box { color: #e74c3c; font-weight: 600; margin-top: 15px; padding-top: 15px; border-top: 1px solid #ddd; }
.phone-link, .email-link { color: var(--vert-fonce); font-weight: 600; text-decoration: none; transition: 0.3s; word-break: break-all; }
.phone-link:hover, .email-link:hover { color: var(--vert); text-decoration: underline; }

/* --- AVIS GOOGLE --- */
.avis-card { background: var(--gris); padding: 40px; border-radius: 20px; max-width: 700px; margin: 0 auto; text-align: center; border: 1px solid #eee; }
.rating-stars { color: #f1c40f; font-size: 2rem; margin-bottom: 15px; }
.btn-google { display: inline-block; background: var(--google-blue); color: white; padding: 12px 30px; text-decoration: none; border-radius: 5px; font-weight: 600; margin-top: 20px; transition: 0.3s; }
.btn-google:hover { background: #357ae8; transform: translateY(-3px); }

/* --- RESEAUX SOCIAUX --- */
.social-section { background: var(--blanc); padding-bottom: 60px; }
.social-links { display: flex; gap: 20px; flex-wrap: wrap; } 
.instagram-card, .facebook-card { display: inline-flex; align-items: center; background: var(--gris); padding: 15px 35px; border-radius: 50px; text-decoration: none; color: var(--texte); transition: all 0.4s ease; border: 2px solid transparent; }
.instagram-card i { font-size: 2rem; color: var(--insta-rose); margin-right: 15px; }
.instagram-card span { font-weight: 600; font-size: 1.1rem; }
.instagram-card:hover { transform: translateY(-5px); border-color: var(--insta-rose); box-shadow: 0 10px 25px rgba(225, 48, 108, 0.25); background: white; }
.facebook-card i { font-size: 2rem; color: var(--fb-blue); margin-right: 15px; }
.facebook-card span { font-weight: 600; font-size: 1.1rem; }
.facebook-card:hover { transform: translateY(-5px); border-color: var(--fb-blue); box-shadow: 0 10px 25px rgba(24, 119, 242, 0.25); background: white; }

/* --- FOOTER --- */
footer { text-align: center; padding: 40px; background: var(--gris); border-top: 1px solid #eee; margin-top: 60px; font-size: 0.9rem; }
footer strong { color: var(--vert); }
.legal-link { color: #444; text-decoration: none; font-size: 0.8rem; margin-top: 10px; display: inline-block; }
.legal-link:hover { color: var(--vert); text-decoration: underline; }

/* --- LIGHTBOX --- */
.lightbox { display: none; position: fixed; z-index: 3000; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.8); justify-content: center; align-items: center; animation: fadeIn 0.3s; }
.lightbox-content { margin: auto; display: block; max-width: 90%; max-height: 90%; border-radius: 5px; box-shadow: 0 0 20px rgba(255,255,255,0.2); animation: zoomIn 0.3s; }
.close-lightbox { position: absolute; top: 20px; right: 35px; color: #f1f1f1; font-size: 40px; font-weight: bold; transition: 0.3s; cursor: pointer; }
.close-lightbox:hover { color: var(--vert); text-decoration: none; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes zoomIn { from { transform: scale(0.8); } to { transform: scale(1); } }

/* --- MODALES --- */
.modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.6); backdrop-filter: blur(5px); }
.modal-content { background-color: #fefefe; margin: 5% auto; padding: 40px; border: 1px solid #888; width: 80%; max-width: 800px; border-radius: 15px; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); text-align: left; }
.close { color: #aaa; float: right; font-size: 28px; font-weight: bold; cursor: pointer; }
.close:hover { color: var(--vert); }
.modal-content h2 { color: var(--vert); margin-bottom: 20px; border-bottom: 2px solid #eee; padding-bottom: 10px; }
.modal-content h3 { font-size: 1.1rem; color: var(--texte); margin-top: 20px; margin-bottom: 10px; }
.modal-content p { font-size: 0.9rem; color: #333; line-height: 1.6; }

/* --- BANNIERE COOKIES --- */
.cookie-banner { display: none; position: fixed; bottom: 20px; left: 20px; right: 20px; background: white; z-index: 9999; padding: 25px; border-radius: 15px; box-shadow: 0 10px 40px rgba(0,0,0,0.2); border-left: 5px solid var(--vert); animation: slideUp 0.5s ease-out; max-width: 900px; margin: 0 auto; }
.cookie-content { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.cookie-text h3 { color: var(--texte); margin-bottom: 5px; font-size: 1.1rem; }
.cookie-text p { font-size: 0.9rem; color: #333; margin: 0; }
.cookie-buttons { display: flex; gap: 10px; min-width: 300px; justify-content: flex-end; }
.btn-cookie { padding: 10px 20px; border-radius: 5px; font-weight: 600; cursor: pointer; font-size: 0.9rem; transition: 0.3s; border: none; }
.btn-cookie.accept { background: var(--vert); color: white; }
.btn-cookie.accept:hover { background: var(--vert-fonce); }
.btn-cookie.refuse { background: #eee; color: #555; }
.btn-cookie.refuse:hover { background: #ddd; }
@keyframes slideUp { from { transform: translateY(100px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    .hero-text h1 { font-size: 2rem; }
    .medadom-flex { flex-direction: column; text-align: center; }
    .service-item, .link-card { flex-direction: column; text-align: center; }
    .service-item i, .link-card i { margin-right: 0; margin-bottom: 10px; }
    .title-left { text-align: center; border-left: none; border-bottom: 3px solid var(--vert); padding-left: 0; padding-bottom: 10px; display: inline-block; }
    #services-rapides, #reseaux, #avis, #faq, #promotions, #fidelite { text-align: center; }
    .faq-container { margin: 0 auto; }
    .modal-content { width: 95%; margin: 10% auto; padding: 20px; }
    .garde-card, .ordo-card, .fidelite-card { flex-direction: column; text-align: center; padding: 30px; }
    .fidelite-info-box { flex-direction: column; align-items: center; text-align: center; }
    .search-box { flex-direction: column; }
    .search-box input { width: 100%; }
    .btn-search { width: 100%; }
    .social-links { justify-content: center; }
    .cookie-banner { bottom: 0; left: 0; right: 0; border-radius: 15px 15px 0 0; border-left: none; border-top: 5px solid var(--vert); }
    .cookie-content { flex-direction: column; text-align: center; }
    .cookie-buttons { flex-direction: column; width: 100%; }
    .btn-cookie { width: 100%; }
    
    /* MODIFICATIONS DU MENU SUR MOBILE */
    nav { flex-wrap: wrap; justify-content: space-between; }
    .menu-toggle { display: block; }
    
    nav ul { 
        display: none; 
        position: absolute; 
        top: 100%; 
        left: 0; 
        right: 0; 
        background: var(--blanc); 
        flex-direction: column; 
        align-items: center; 
        padding-top: 0;
        box-shadow: 0 15px 20px rgba(0,0,0,0.1); 
        z-index: 999;
    }
    nav ul.active { display: flex; animation: fadeIn 0.3s ease-in-out; }
    
    nav ul li { border-right: none; padding: 15px 0; margin-left: 0; width: 100%; text-align: center; border-bottom: 1px solid #f0f0f0; }
    nav ul li:last-child { border-bottom: none; }
    
    .header-promos { flex-direction: column; align-items: center; }
}
/* agrandissement du logo biocanina */
.marque-item.biocanina img {
    transform: scale(2);
}

/* pour garder le petit effet de zoom quand on passe la souris dessus */
.marque-item.biocanina:hover img {
    transform: scale(2.1);
}