:root {
    --primary-color: #ee1c47;
    --accent-color: orangered;
    --dark-color: #1a1a1a;
    --white: #ffffff;
    --transition: all .42s ease;
    --bg-color: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    /* Évite que le menu cache le titre des sections */
    font-family: 'jost', sans-serif;
}

body {
    color: var(--dark-color);
    background: var(--bg-color);
    font-family: 'Jost', 'Inter', sans-serif;
    font-size: 18px;
    line-height: 1.8;
}

p,
label,
li,
a,
span,
input,
textarea,
button {
    font-family: 'Jost', 'Inter', sans-serif;
    font-size: 1rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'jost', sans-serif;
    color: var(--dark-color);
    line-height: 1.2;
    margin: 0 0 0.75rem;
}

h1 {
    font-size: clamp(42px, 5vw, 64px);
}

h2 {
    font-size: clamp(32px, 4.5vw, 52px);
}

h3 {
    font-size: clamp(26px, 3.8vw, 42px);
}

h4 {
    font-size: clamp(22px, 3.2vw, 30px);
}

h5 {
    font-size: clamp(18px, 2.6vw, 24px);
}

h6 {
    font-size: clamp(16px, 2.2vw, 20px);
}

p {
    color: #111827;
    text-align: left;
    word-spacing: normal;
    letter-spacing: normal;
    line-height: 1.75;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

header {
    position: fixed;
    width: 100%;
    top: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 10%;
    background: #fff;
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
}

.header-phone {
    font-size: 24px;
    color: #1a1a1a;
    margin-left: 15px;
}

/* L'icône de téléphone pousse le menu de navigation vers la droite */
.header-phone:last-of-type {
    margin-right: auto;
}

.header-phone:hover {
    color: var(--primary-color);
}

.navmenu {
    display: flex;
}

.navmenu a {
    color: #1a1a1a;
    font-size: 16px;
    text-transform: capitalize;
    padding: 10px 20px;
    font-weight: bold;
    transition: all .42s ease;
}

.navmenu a:hover {
    color: #ee1c47;
}

.nav-icon {
    display: flex;
    align-items: center;
}

.nav-icon i {
    color: #2c2c2c;
    font-size: 28px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
}

.nav-icon i:hover {
    color: var(--primary-color);
    transform: scale(1.2) rotate(-5deg);
    background: rgba(238, 28, 71, 0.05);
}

@keyframes pulse-soft {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.delivery-btn {
    animation: pulse-soft 3s infinite ease-in-out;
}

.favorites-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: inherit;
    text-decoration: none;
}
.favorites-count {
    position: absolute;
    top: -6px;
    right: -8px;
    background: #e63950;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.favorite-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}
.favorite-item img {
    width: 50px; height: 50px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}
.favorite-item-info { flex: 1; min-width: 0; }
.favorite-item-title {
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.favorite-item-price { margin: 2px 0 0; opacity: 0.75; font-size: 0.85rem; }
.favorite-item-view {
    font-size: 0.8rem;
    color: #2563eb;
    text-decoration: none;
    white-space: nowrap;
}
.favorite-item-remove {
    background: none;
    border: none;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    color: #999;
    padding: 4px;
}
.favorite-item-remove:hover { color: #e63950; }
.favorites-empty { opacity: 0.7; text-align: center; padding: 20px 0; }

/* Modal Design Premium */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.modal:target {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #fff;
    width: 90%;
    max-width: 500px;
    padding: 40px;
    border-radius: 30px;
    position: relative;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: scale(0.8) translateY(20px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal:target .modal-content {
    transform: scale(1) translateY(0);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 32px;
    color: #111827;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.modal-top-nav {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 15px;
}

.back-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: black;
    font-weight: bold;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    padding: 5px 10px;
    border-radius: 8px;
}

.back-link:hover {
    color: blue;
    background: rgba(238, 28, 71, 0.05);
    transform: translateX(-5px);
}

.modal-header h2 {
    margin: 10px 0;
    color: var(--dark-color);
}

.modal-icon-anim {
    font-size: 50px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.delivery-highlight {
    font-weight: 700;
    color: blue;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.guarantee-badge {
    background: #e6f4ea;
    color: #1e7e34;
    padding: 10px 20px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 25px;
    border: 1px solid #1e7e34;
}

.info-grid {
    text-align: left;
    margin-bottom: 25px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.info-item i {
    color: var(--accent-color);
    font-size: 20px;
}

.delivery-estimate {
    background: rgba(0, 0, 0, 0.03);
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.trust-elements {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.trust-badge {
    font-size: 13px;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 5px;
}

.trust-badge i {
    color: #2ecc71;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-order {
    background: linear-gradient(135deg, var(--primary-color), blue);
    color: #fff;
    padding: 18px 30px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 10px 25px rgba(238, 28, 71, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-order i {
    font-size: 24px;
}

/* Effet de balayage lumineux (Premium Shimmer) */
.btn-order::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(30deg);
    animation: button-shimmer 3s infinite;
}

@keyframes button-shimmer {
    0% {
        left: -60%;
    }

    20% {
        left: 120%;
    }

    100% {
        left: 120%;
    }
}

.btn-order:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(238, 28, 71, 0.5);
    color: #fff;
}

.btn-zones {
    color: var(--dark-color);
    text-decoration: underline;
    font-size: 14px;
}

.nav-icon i:active {
    transform: scale(0.9);
}

.products .row img {
    cursor: zoom-in;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.products .row img:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.products .row img:focus-visible {
    outline: 3px solid rgba(238, 28, 71, 0.35);
    outline-offset: 4px;
}

.gallery-modal {
    position: fixed;
    inset: 0;
    background: rgba(10, 12, 19, 0.78);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    padding: 20px;
}

.gallery-modal.active {
    opacity: 1;
    visibility: visible;
}

.gallery-modal-content {
    width: min(920px, 100%);
    background: #fff;
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    position: relative;
}

.gallery-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.06);
    color: #333;
    font-size: 24px;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s ease;
}

.gallery-close:hover {
    background: black;
    color: #fff;
    transform: rotate(90deg);
}

.gallery-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    overflow: hidden;
    background: #f7f7f8;
    min-height: 320px;
}

.gallery-image {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    display: block;
}

.gallery-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}

.gallery-nav button {
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f3f4f6;
    color: #1a1a1a;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-nav button:hover {
    background: blue;
    color: #fff;
    transform: translateY(-2px);
}

.gallery-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-dot.active {
    width: 28px;
    border-radius: 999px;
    background: blue;
}

.gallery-caption {
    text-align: center;
    color: #4b5563;
    font-size: 14px;
    margin-top: 10px;
}

#menu-icon {
    font-size: 35px;
    color: #2c2c2c;
    z-index: 10001;
    cursor: pointer;
    display: none;
    font-weight: bold;

}

section {
    padding: 5% 10%;
}

.search-wrapper {
    margin: 20px auto 30px;
    max-width: 720px;
    padding: 0 10px;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid rgba(238, 28, 71, 0.15);
    border-radius: 999px;
    padding: 14px 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.search-box i {
    color: #1e40af;
    font-size: 22px;
}

.search-box input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 16px;
    color: var(--dark-color);
    background: transparent;
}

.search-box input::placeholder {
    color: #4b5563;
}

.search-empty {
    text-align: center;
    color: #111827;
    margin-top: 16px;
    font-weight: 600;
}

.search-remote-results {
    max-width: 600px;
    margin: 10px auto 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.search-remote-title {
    font-size: 0.9rem;
    opacity: 0.7;
    margin: 4px 0;
}
.search-remote-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border: 1px solid #eee;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
}
.search-remote-item img {
    width: 40px; height: 40px;
    object-fit: cover; border-radius: 6px;
}
.search-remote-name { flex: 1; }
.search-highlight {
    outline: 3px solid #ff9800;
    outline-offset: 4px;
    transition: outline-color 0.3s;
}

.main-home {
    width: 100%;
    min-height: 100vh;
    padding: 100px 10% 120px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.85) 30%, rgba(0, 0, 0, 0.3) 100%),
        url('https://images.unsplash.com/photo-1593642702821-c8da6771f0c6?q=80&w=2064&auto=format&fit=crop') center/cover fixed;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
}

.main-text {
    max-width: 700px;
    z-index: 2;
}

.main-text h3 {
    color: var(--white);
    font-size: clamp(42px, 8vw, 88px);
    /* Taille fluide et plus marquante */
    line-height: 1.05;
    margin-bottom: 18px;
    opacity: 0;
}

.main-text h3 span {
    display: block;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: clamp(28px, 4vw, 36px);
    line-height: 1.08;
    margin-top: 10px;
}

.main-text p {
    color: white;
    /* Blanc cassé pour plus de professionnalisme */
    font-size: clamp(18px, 2.4vw, 22px);
    font-weight: 400;
    margin-bottom: 40px;
    text-align: left;
    line-height: 1.75;
    max-width: 650px;
    opacity: 0;
}

.main-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    padding: 16px 36px;
    background: blue;
    border: 1px solid #1a1a1a;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    opacity: 0;
    width: fit-content;
}

.main-btn i {
    font-size: 22px;
    transition: transform 0.3s ease;
}

.main-btn:hover {
    background: green;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.main-btn:hover i {
    transform: translateX(6px);
}

.reveal-text {
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.main-text p.reveal-text {
    animation-delay: 0.2s;
}

.main-btn.reveal-text {
    animation-delay: 0.4s;
}

/* Design du bouton de défilement premium */
.down-arrow-wrapper {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: heroFadeIn 1.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    opacity: 0;
}

.down {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(34, 197, 94, 0.2); /* Fond vert moderne (Glassmorphism) */
    backdrop-filter: blur(12px);
    border: 1px solid rgba(34, 197, 94, 0.4);
    border-radius: 50%;
    color: var(--white);
    font-size: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(34, 197, 94, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: floatArrow 3s infinite ease-in-out;
}

.down:hover {
    transform: scale(1.15) translateY(-8px);
    background: rgba(34, 197, 94, 0.9);
    box-shadow: 0 15px 45px rgba(34, 197, 94, 0.5), 0 0 30px rgba(34, 197, 94, 0.7);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.down:active {
    transform: scale(0.95);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, 30px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* Animation de flottement et lueur dynamique */
@keyframes floatArrow {
    0%,
    100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(34, 197, 94, 0.3);
    }
    50% {
        transform: translateY(-15px) scale(1.05);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), 0 0 25px rgba(34, 197, 94, 0.5);
    }
}
/* Section À Propos - Design Premium */
.about-section {
    background: #fdfdfd;
    padding: 100px 10%;
}

.about-header {
    text-align: center;
    margin-bottom: 30px;
}

.badge-premium {
    background: orangered;
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.2);
    display: inline-block;
}

.about-header h2 {
    font-size: clamp(36px, 4.2vw, 56px);
    color: blue;
    margin-top: 15px;
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.about-header h2 .highlight {
    display: inline-block;
    font-size: inherit;
}

.highlight {
    color: inherit; /* Hérite du bleu du parent h2 */
    position: relative;
}

.divider {
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 20px auto;
    border-radius: 2px;
}

.about-main {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.bio-content {
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.05);
    text-align: center; /* Centrage pour un look premium */
}

.bio-identity h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.bio-identity p {
    max-width: 850px;
    margin: 0 auto;
    font-size: 1.1rem; /* Plus clair */
    color: #111827; /* Noir profond */
    line-height: 1.8; /* Meilleur espacement */
    font-weight: 500; /* Poids augmenté */
}

.bio-identity span {
    color: black;
    font-weight: 600;
}

.bio-identity strong {
    color: black; /* Mise en valeur du nom et de la filière */
    font-weight: 600;
}

.bio-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centrage parfait des stats */
    gap: 30px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px dashed #eee;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--dark-color);
    transition: transform 0.3s ease;
}

.stat-item i {
    color: orangered; /* Orange moderne */
    font-size: 22px;
    transition: transform 0.3s ease;
}

.stat-item:hover i {
    transform: scale(1.2) rotate(-5deg); /* Effet hover icône */
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Force le 2x2 sur desktop */
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

.about-card {
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    opacity: 0; /* Géré par reveal-text */
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    height: 100%;
}

.about-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: blue;
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.about-card:hover {
    transform: translateY(-12px) scale(1.01);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    border-color: rgba(30, 64, 175, 0.2);
}

.about-card:hover::before {
    transform: scaleX(1);
}

.about-card i {
    font-size: 48px;
    color: orangered; /* Orange moderne */
    margin-bottom: 25px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.about-card:hover i {
    transform: scale(1.1) rotate(5deg);
}

.about-card h4 {
    font-size: 22px;
    margin-bottom: 15px;
    color: blue; /* Bleu moderne */
    font-weight: 700;
}

.about-card p {
    font-size: 16px;
    color: #000000; /* Noir profond */
    line-height: 1.7;
    font-weight: 500; /* Plus lisible */
}

header.sticky {
    background: var(--bg-color);
    padding: 12px 10%;
    /* Harmonisation du padding */
    box-shadow: 0px 0px 10px rgb(0 0 0/ 10%);
}

/*trending-section-css*/
.center-text h5,
.center-text h2 {
    text-align: center;
    color: blue;
    font-size: 45px;
    font-weight: bold;
    text-transform: capitalize;
    margin-bottom: 50px;
}

.products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin: 0 auto;
    border-radius: 16px;
    width: 100%;
}

.row {
    position: relative;
    transition: all .40s;
}

.row img,
.row video {
    width: 100%;
    height: 250px;
    object-fit: contain;
    display: block;
    padding: 15px;
    background: #f9f9f9;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    /* Ombre légère moderne */
    transition: var(--transition, all .42s ease);
    border-radius: 12px;
    margin-bottom: 15px;
    display: block;
}

.row img:hover,
.row video:hover {
    transform: translateY(-8px);
    /* Effet d'élévation premium */
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
    /* Ombre plus profonde au survol */
    border-color: orangered;
    background: #fff;
}

.product-text h6 {
    position: absolute;
    top: 13px;
    left: 13px;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    background-color: blue;
    padding: 3px 10px;
    border-radius: 2px;
}

.heart-icon {
    position: absolute;
    right: 0;
    font-size: 20px;
    top: 13px;
    right: 13px;
     cursor: pointer;
    transition: transform 0.15s;
}

.heart-icon:hover {
    transform: scale(1.15);
}
.heart-icon.active i {
    color: #e63950;
}
.heart-icon.active {
    animation: heart-pop 0.3s ease;
}
@keyframes heart-pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.heart-icon:hover {
    color: red;
}

.rating,
.ratting {
    margin-top: 10px;
    margin-bottom: 5px;
    display: flex;
    justify-content: center;
    gap: 4px;
}

.rating i,
.ratting i {
    color: #ff8c00;
    font-size: 18px;
}

.price p {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-color);
}

.price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    width: 100%;
    flex-wrap: wrap;
}

.whatsapp-order-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #25D366;
    color: #fff;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: background 0.2s, transform 0.15s;
}
.whatsapp-order-btn:hover {
    background: #1ebe5b;
    transform: translateY(-1px);
}
.whatsapp-order-btn i {
    font-size: 1rem;
}

.spec-btn {
    background: #f3f4f6;
    color: #1e40af; /* Bleu moderne */
    border: 1px solid #e5e7eb;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.spec-btn:hover {
    background: #1e40af;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(30, 64, 175, 0.2);
}



/* Modal Caractéristiques */
.modal-specs {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.modal-specs.active {
    display: flex;
}

.modal-specs-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 550px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
    animation: zoomIn 0.3s ease;
    /* Support Firefox */
    scrollbar-width: thin;
    scrollbar-color: #333 #f1f1f1;
}

/* Barre de défilement personnalisée (Chrome, Edge, Safari) */
.modal-specs-content::-webkit-scrollbar {
    width: 8px;
}

.modal-specs-content::-webkit-scrollbar-track {
    background: #f8f9fa;
    border-radius: 4px;
}

.modal-specs-content::-webkit-scrollbar-thumb {
    background: #333333; /* Gris très foncé / Noir */
    border-radius: 4px;
    border: 2px solid #f8f9fa;
}

.modal-specs-content::-webkit-scrollbar-thumb:hover {
    background: #1a1a1a;
}

#specs-body p {
    white-space: pre-line;
    line-height: 1.9;
    color: #111827;
    font-size: 1rem;
    letter-spacing: 0.01em;
    text-align: left;
    margin-bottom: 1rem;
}

#specs-body h3 {
    font-size: clamp(26px, 3vw, 32px);
    color: var(--dark-color);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

#specs-body b {
    font-weight: 700;
}

#specs-body i {
    font-style: italic;
    color: #4b5563;
}

.close-specs {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    cursor: pointer;
    color: #111827;
}

@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Section "Découvrez Autres" */
#autres {
    background-color: blue;
    padding: 40px 10%;
    text-align: center;
    border-radius: 12px;
    margin: 40px auto;
    max-width: 80%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

#autres:hover {
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

#autres .clic a {
    color: orangered;
    font-size: 24px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

#autres .clic a:hover {
    color: white;
}

#autres .clic a i {
    font-size: 28px;
    transition: transform 0.3s ease;
}

#autres .clic a:hover i {
    transform: translateX(8px);
}


#autres .clic a b {
    display: inline-block;
}

.testimonials-section {
    background: #fdfdfd;
    padding: 100px 10%;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 35px;
}

.testimonials-header h3 {
    font-size: clamp(24px, 4vw, 34px);
    color: blue;
    margin-bottom: 10px;
}

.testimonials-header p {
    color: #111827;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.testimonial-card {
    background: #fff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
}

.testimonial-profile {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(238, 28, 71, 0.2);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.testimonial-author h4 {
    color: var(--dark-color);
    font-size: 17px;
    margin-bottom: 4px;
}

.testimonial-stars {
    color: #f6b800;
    letter-spacing: 2px;
    font-size: 14px;
}

.testimonial-card p {
    color: #111827;
    margin-bottom: 0;
}

.faq-section,
.contact-section {
    background: #f9fbff;
    padding: 100px 10%;
}

.faq-header,
.contact-header {
    text-align: center;
    margin-bottom: 35px;
}

.faq-header h3,
.contact-header h3 {
    font-size: clamp(24px, 4vw, 34px);
    color: blue;
    margin-bottom: 12px;
}

.faq-header p,
.contact-header p {
    color: #111827;
    max-width: 760px;
    margin: 0 auto;
    line-height: 1.7;
}

.faq-grid {
    display: grid;
    gap: 16px;
    max-width: 980px;
    margin: 0 auto;
}

.faq-item {
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.05);
}

.faq-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 28px;
    background: #f5f8ff;
    border: none;
    color: #1a1a1a;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .3s ease;
}

.faq-toggle:hover {
    background: rgba(238, 28, 71, 0.08);
}

.faq-toggle i {
    font-size: 22px;
    transition: transform .3s ease;
}

.faq-item.active .faq-toggle i {
    transform: rotate(180deg);
}

.faq-content {
    display: none;
    padding: 0 28px 24px;
    color: #111827;
    line-height: 1.85;
    font-size: 0.98rem;
    background: #fff;
}

.faq-item.active .faq-content {
    display: block;
}

.contact-form {
    max-width: 760px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.05);
    display: grid;
    gap: 18px;
}

.form-group {
    display: grid;
    gap: 8px;
}

.form-group label {
    color: #1f2937;
    font-weight: 600;
    font-size: 0.96rem;
}

.form-input,
.form-textarea {
    width: 100%;
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 14px;
    padding: 16px 18px;
    background: #f7f9fb;
    color: #111827;
    font-size: 1rem;
    transition: border-color .3s ease, box-shadow .3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(238, 28, 71, 0.12);
    background: #fff;
}

.form-textarea {
    min-height: 180px;
    resize: vertical;
}

.form-btn {
    width: fit-content;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #fff;
    border: none;
    border-radius: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .3s ease, box-shadow .3s ease;
}

.form-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(238, 28, 71, 0.25);
}

.form-notice {
    color: #111827;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-top: 10px;
    max-width: 760px;
    text-align: center;
}

.form-notice code {
    color: #111827;
    background: rgba(238, 28, 71, 0.08);
    padding: 2px 6px;
    border-radius: 6px;
}

.contact-section {
    padding-top: 60px;
}

@media (max-width: 820px) {
    .faq-grid,
    .contact-form {
        display: grid;
    }
}

@media (max-width: 768px) {
    .faq-toggle {
        flex-direction: column;
        align-items: flex-start;
    }

    .faq-toggle i {
        margin-top: 12px;
    }

    .faq-section,
    .contact-section {
        padding: 60px 6%;
    }
}

.why-choose-section {
    background: #fdfdfd;
    padding: 100px 10%;
}

.why-choose-header {
    text-align: center;
    margin-bottom: 35px;
}

.why-choose-header h3 {
    font-size: clamp(24px, 4vw, 34px);
    color: blue;
    margin-bottom: 10px;
}

.why-choose-header p {
    color: #111827;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.why-card {
    background: #fff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
}

.why-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(30, 64, 175, 0.12);
    color: #1e40af;
    font-size: 24px;
    transition: transform 0.3s ease, background 0.3s ease; 

}

.why-card:hover .why-icon {
    transform: translateY(-4px) scale(1.03);
    background: rgba(238, 28, 71, 0.12);
    color:orangered ;


}

.why-card h4 {
    color: var(--dark-color);
    font-size: 18px;
    margin-bottom: 8px;
}

.why-card p {
    color: #111827;
    margin-bottom: 0;
}

.reveal-card {
    opacity: 0;
    transform: translateY(24px);
    transition: all 0.6s ease;
}

.reveal-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Adaptation de l'afficharge pour les écrans de petite taille */
@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .why-choose-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .search-wrapper {
        padding: 0 5px;
    }

    .testimonials-section {
        padding: 80px 6%;
    }

    .why-choose-section {
        padding: 80px 6%;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
    }

    #autres {
        max-width: 90%;
    }
}

footer {
    background-color: var(--dark-color);
    padding: 36px 10% 20px;
    color: var(--white);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact {
    padding: 0 0 8px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
    text-align: left;
}

.footer-box h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--primary-color);
    position: relative;
}

.footer-box h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background: var(--accent-color);
    bottom: -8px;
    left: 0;
}

.footer-box p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--white);
    margin-bottom: 15px;
}

.footer-box ul li {
    margin-bottom: 12px;
}

.footer-box ul li a {
    color: var(--white);
    transition: var(--transition);
}

.footer-box ul li a:hover {
    color: var(--accent-color);
    padding-left: 8px;
}

.footer-box i {
    color: var(--white);
    margin-right: 10px;
    font-size: 18px;
    vertical-align: middle;
}

.social-icons {
    display: inline-flex;
    gap: 16px;
    margin-top: 8px;
    background-color: orangered;
    padding: 10px 18px;
    border-radius: 50px;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
}

.social-icons a i {
    background: transparent;
    color: var(--white);
    font-size: 20px;
    width: auto;
    height: auto;
    transition: var(--transition);
}

.social-icons a i:hover {
    background: transparent;
    color: var(--dark-color);
    transform: translateY(-3px);
}

.footer-contact-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-section-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 18px;
    color: #1e40af;
    text-align: center;
    width: 100%;
}

.footer-middle-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
}

.footer-contact-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 0;
    align-items: center;
    text-align: center;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-size: 15px;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--accent-color);
    transform: translateX(4px);
}

.contact-link i {
    color: var(--white);
    margin-right: 0;
    font-size: 18px;
}

.contact-link:hover i {
    color: var(--accent-color);
}

.footer-hours {
    margin-top: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    text-align: center;
}

.footer-hours p {
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
}

.footer-hours i {
    color: var(--accent-color);
    margin-right: 0;
}

.end-text {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    text-align: center;
}

.end-text p {
    color: var(--white);
    font-size: 14px;
    letter-spacing: 1px;
}

.end-text span {
    color: orangered;
    font-weight: 500;
}

/* Styles pour la Navbar de catalogue.html */
.catalogue-header {
    position: sticky;
    top: 0;
    width: 100%;
    background: var(--bg-color);
    padding: 16px 6%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    z-index: 1000;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}

.catalogue-header h1 {
    font-size: clamp(16px, 2.2vw, 22px);
    margin: 0;
    flex: 1;
    line-height: 1.3;
}

.catalogue-header .favorites-btn {
    flex-shrink: 0;
    margin-left: auto;
}

.back-btn {
    font-size: 32px;
    color: var(--dark-color);
    margin-right: 20px;
    transition: var(--transition);
}

.back-btn:hover {
    color: var(--primary-color);
    transform: translateX(-5px);
}

/*Responsive-css*/
@media(max-width:890px) {
    header {
        padding: 20px 3%;
        transition: .4s;
    }

    .main-text h3 {
        font-size: 50px;
    }

    .footer-container {
        text-align: center;
        justify-content: center;
    }

    .footer-box h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-icons {
        justify-content: center;
    }
}

@media(max-width:640px) {
    footer {
        padding: 28px 6% 16px;
    }

    .footer-contact-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .social-icons {
        width: 100%;
        justify-content: center;
        padding: 9px 14px;
    }

    .social-icons-inline {
        justify-content: center;
    }
}

@media(max-width:630px) {
    .main-text h3 {
        font-size: 35px;
        transition: .4s;
    }

    .main-btn {
        padding: 10px 20px;
        transition: .4s;
    }
}

@media(max-width:768px) {
    #menu-icon {
        display: block;
    }

    .navmenu {
        position: absolute;
        top: 100%;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--white);
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 80px 30px;
        transition: all .4s;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    .navmenu a {
        display: block;
        margin: 10px 0;
        font-weight: bold;
    }

    .navmenu-open {
        right: 0;
    }

    p {
        font-size: 15px;
    }

    .main-home {
        justify-content: center;
        text-align: center;
    }

    .main-text p {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .main-text h3 {
        margin-bottom: 25px;
    }

    .main-btn {
        margin: 0 auto;
        justify-content: center;
    }

    .about-grid {
        grid-template-columns: 1fr; /* Passage en 1 colonne sur mobile */
        gap: 25px;
    }
    .products {
    grid-template-columns: 1fr;
}

    .about-section {
        padding: 60px 5%;
    }
}