body {
    margin: 0;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    background: linear-gradient(135deg, #f8f8fa 60%, #e9eaf3 100%);
    color: #222;
    min-height: 100vh;
}

header {
    background: linear-gradient(90deg, #002654 0%, #fff 50%, #e2001a 100%);
    padding: 1rem 0 1rem 0;
    text-align: center;
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.06);
    border-bottom: 1.5px solid #eaeaea;
}

.header-content {
    position: relative;
    display: inline-block;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 12px 0 rgba(0,0,0,0.07), 0 1.5px 0 #f5f5f5 inset;
    padding: 1.2rem 2.5rem 1.2rem 3.5rem;
}

.header-flex {
    display: flex;
    align-items: center;
    gap: 1.2em;
}

.flag {
    border-radius: 8px;
    box-shadow: 0 2px 8px 0 rgba(0,0,0,0.10), 0 0.5px 0 #fff inset;
    border: 1.5px solid #eaeaea;
    background: #f8f8fa;
    margin-right: 0;
    height: 4em;
    width: auto;
    vertical-align: middle;
    flex-shrink: 0;
}

.header-titles {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

h1, h2, h3 {
    font-family: 'Playfair Display', 'Georgia', serif;
}

h1 {
    font-size: 1.8rem;
    margin: 0;
    letter-spacing: 2px;
    font-weight: 700;
    text-shadow: 0 2px 8px #eaeaea, 0 1px 0 #fff;
}

.subtitle {
    font-size: 1rem;
    color: #555;
    margin-top: 0.5rem;
    font-style: italic;
    text-shadow: 0 1px 0 #fff;
}

.presentation {
    max-width: 600px;
    margin: 1.2rem auto 1.2rem auto;
    text-align: center;
    background: linear-gradient(120deg, #fff 80%, #f6f7fa 100%);
    border-radius: 18px;
    box-shadow:
        0 2px 12px 0 rgba(0,0,0,0.06),
        0 1px 0 #fff inset;
    padding: 1.2rem 1.2rem 1rem 1.2rem;
    border: 1px solid #e5e5e5;
    position: relative;
    overflow: hidden;
}

.presentation::before {
    content: "";
    position: absolute;
    top: -40px;
    left: -40px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle at 40% 40%, #e2001a22 0%, transparent 80%);
    z-index: 0;
}

.presentation::after {
    content: "";
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle at 60% 60%, #00265422 0%, transparent 80%);
    z-index: 0;
}

.presentation h2, .presentation p {
    position: relative;
    z-index: 1;
}

.presentation h2 {
    font-size: 1.3rem;
    color: #002654;
    margin-bottom: 0.7rem;
    text-shadow: 0 1px 0 #fff, 0 2px 8px #eaeaea;
    letter-spacing: 1px;
}

.presentation p {
    font-size: 1rem;
    color: #333;
    line-height: 1.5;
    margin-bottom: 0;
    text-shadow: 0 1px 0 #fff;
}

.products {
    background: #f6f7fa;
    padding: 2rem 0;
    box-shadow: 0 2px 12px 0 rgba(0,0,0,0.03) inset;
}

.products h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #002654;
    text-shadow: 0 1px 0 #fff;
}

.product-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.2rem;
}

.product-card {
    background: linear-gradient(145deg, #f4f4f8 80%, #e9eaf3 100%);
    border-radius: 20px;
    box-shadow:
        0 4px 24px 0 rgba(0,0,0,0.10),
        0 1.5px 0 #fff inset,
        0 0.5px 0 #eaeaea inset;
    width: 320px;
    padding: 1.5rem 1.2rem 1.2rem 1.2rem;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    border: 1.5px solid #ececec;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.035);
    box-shadow:
        0 8px 32px 0 rgba(0,0,0,0.16),
        0 2px 0 #fff inset;
    background: linear-gradient(145deg, #f9f9fb 80%, #ececf3 100%);
}

.product-card img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 1rem;
    background: #eaeaea;
    box-shadow: 0 2px 10px 0 rgba(0,0,0,0.07), 0 1.5px 0 #fff inset;
    border: 1.5px solid #e5e5e5;
}

.product-card h3 {
    margin: 0.5rem 0 0.5rem 0;
    font-size: 1.1rem;
    color: #e2001a;
    text-shadow: 0 1px 0 #fff;
}

.product-card p, .product-desc-main {
    font-size: 1.01rem;
    color: #333;
    margin-bottom: 0.7rem;
    margin-top: 0.2rem;
    text-shadow: 0 1px 0 #fff;
}

.product-info {
    font-size: 0.97rem;
    color: #555;
    margin-top: 0.3rem;
    margin-bottom: 0.2rem;
    letter-spacing: 0.2px;
    background: #f8f8fa;
    border-radius: 8px;
    box-shadow: 0 1.5px 0 #fff inset;
    padding: 0.35rem 0.7rem;
    display: inline-block;
    border: 1px solid #ececec;
}

footer {
    background: linear-gradient(90deg, #002654 0%, #e2001a 100%);
    color: #fff;
    text-align: center;
    padding: 0.5rem 0;
    font-size: 0.97rem;
    letter-spacing: 1px;
    box-shadow: 0 -2px 12px 0 rgba(0,0,0,0.07);
}

.carousel {
    position: relative;
    width: 100%;
    max-width: 393px;
    height: 550px;
    margin: 0 auto 1rem auto;
    overflow: hidden;
    background: linear-gradient(135deg, #f7f7fa 70%, #e9eaf3 100%);
    border-radius: 14px;
    box-shadow: 0 2px 10px 0 rgba(0,0,0,0.07), 0 1.5px 0 #fff inset;
    border: 1.5px solid #e5e5e5;
}
.carousel-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 1;
    padding: 10px;
    box-sizing: border-box;
    filter: drop-shadow(0 2px 8px #eaeaea);
}
.carousel-img.active {
    opacity: 1;
    z-index: 2;
}

.color-switch {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 0.7rem;
    margin-top: 0.2rem;
}

.color-btn {
    width: 22px;
    height: 22px;
    border-radius: 5px;
    border: 1.5px solid #bbb;
    background: #f5cfa0;
    cursor: pointer;
    padding: 0;
    outline: none;
    transition: border 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 6px 0 #eaeaea, 0 1.5px 0 #fff inset;
    position: relative;
}
.color-btn[data-version="argent"] {
    background: linear-gradient(135deg, #e0e0e0 60%, #b0b0b0 100%);
    box-shadow: 0 2px 8px 0 #d0d0d0, 0 1.5px 0 #fff inset;
}
.color-btn[data-version="or"] {
    background: linear-gradient(135deg, #ffe082 60%, #ffd700 100%);
    box-shadow: 0 2px 8px 0 #ffe082, 0 1.5px 0 #fff inset;
}
.color-btn.active, .color-btn:focus {
    border: 2px solid #002654;
    box-shadow: 0 2px 12px 0 #b0b0b0, 0 1.5px 0 #fff inset;
}

.product-detail-card {
    background: linear-gradient(145deg, #f4f4f8 80%, #e9eaf3 100%);
    border-radius: 20px;
    box-shadow:
        0 4px 24px 0 rgba(0,0,0,0.10),
        0 1.5px 0 #fff inset,
        0 0.5px 0 #eaeaea inset;
    width: 750px;
    max-width: 98vw;
    margin: 2rem auto 2rem auto;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    text-align: center;
    border: 1.5px solid #ececec;
    position: relative;
}

.product-detail-card h2 {
    font-size: 1.5rem;
    color: #e2001a;
    margin: 1.2rem 0 0.7rem 0;
    text-shadow: 0 1px 0 #fff;
}

.product-detail-card .product-desc-main {
    font-size: 1.08rem;
    color: #333;
    margin-bottom: 1.1rem;
    margin-top: 0.2rem;
    text-shadow: 0 1px 0 #fff;
}

.miniatures {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 0.7rem 0 0.7rem 0;
}

.miniature-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 7px;
    border: 2px solid #ececec;
    background: #f8f8fa;
    box-shadow: 0 1.5px 0 #fff inset;
    cursor: pointer;
    opacity: 0.7;
    transition: border 0.2s, opacity 0.2s, box-shadow 0.2s;
}

.miniature-img.active, .miniature-img:focus {
    border: 2px solid #002654;
    opacity: 1;
    box-shadow: 0 2px 8px 0 #b0b0b0, 0 1.5px 0 #fff inset;
}

.other-products-links {
    margin-top: 1.2rem;
    font-size: 1rem;
    color: #555;
    text-align: center;
    padding: 0.7em 1.2em 0.7em 1.2em;
}

.other-products-links span {
    font-size: 0.97em;
    color: #888;
    font-style: italic;
    margin-right: 0.5em;
    letter-spacing: 0.2px;
}

.other-products-links a {
    color: #002654;
    text-decoration: none;
    margin: 0.3em 0.3em;
    transition: color 0.18s, background 0.18s, box-shadow 0.18s;
    display: inline-flex;
    align-items: center;
    gap: 0.3em;
    padding: 0.25em 0.7em 0.25em 0.4em;
    border-radius: 8px;
    background: #f8f8fa;
    box-shadow: 0 1px 4px #eaeaea;
    border: 1px solid #ececec;
    font-weight: 500;
    font-size: 0.98em;
    position: relative;
}

.other-products-links a:hover, .other-products-links a:focus {
    color: #e2001a;
    background: #f3f3f9;
    box-shadow: 0 2px 8px #eaeaea, 0 1.5px 0 #fff inset;
    outline: none;
    text-decoration: none;
}

.other-products-links .mini-link-img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    border-radius: 6px;
    border: 1.5px solid #eaeaea;
    margin-right: 0.2em;
    background: #fff;
    box-shadow: 0 1px 3px #eaeaea;
    vertical-align: middle;
    transition: border 0.18s, box-shadow 0.18s;
}

.other-products-links a:hover .mini-link-img,
.other-products-links a:focus .mini-link-img {
    border: 1.5px solid #e2001a;
    box-shadow: 0 2px 8px #eaeaea;
}

.product-card-link {
    display: inline-block;
    text-decoration: none;
    color: inherit;
    /* Pour éviter que le lien ne prenne pas toute la largeur sur mobile */
    width: auto;
}

.no-underline, .no-underline * {
    text-decoration: none !important;
}

@media (max-width: 900px) {
    .product-list {
        flex-direction: column;
        align-items: center;
    }
    .product-card {
        width: 95vw;
        max-width: 380px;
    }
    .carousel {
        max-width: 95vw;
        height: 48vw;
        min-height: 220px;
    }
    .product-detail-card {
        width: 90vw;
        max-width: 90vw;
    }
}

@media (max-width: 600px) {
    body {
        padding: 0;
    }
    header {
        padding: 1.2rem 0 0.7rem 0;
    }
    .header-content {
        padding: 1rem 1.2rem 1rem 2.5rem;
        border-radius: 14px;
        margin: 0 2vw;
        box-sizing: border-box;
    }
    .presentation {
        max-width: 98vw;
        margin: 1rem 1vw 1rem 1vw;
        padding: 1rem 4vw 0.8rem 4vw;
        border-radius: 14px;
    }
    .products {
        padding: 1.2rem 0 1rem 0;
    }
    .product-card {
        width: 98vw;
        max-width: 99vw;
        padding: 1.1rem 0.5rem 1rem 0.5rem;
        border-radius: 14px;
        margin: 0 1vw;
        box-sizing: border-box;
    }
    .carousel {
        max-width: 96vw;
        min-width: 0;
        height: 54vw;
        min-height: 160px;
        border-radius: 10px;
    }
    .product-info {
        font-size: 0.95rem;
        padding: 0.3rem 0.3rem;
    }
    .color-switch {
        gap: 7px;
    }
    footer {
        border-top-left-radius: 18px;
        border-top-right-radius: 18px;
        font-size: 0.93rem;
        padding: 0.7rem 0;
        margin-top: 1.5rem;
    }
    .product-detail-card {
        width: 98vw;
        max-width: 98vw;
        padding: 1.1rem 0.5rem 1rem 0.5rem;
        border-radius: 14px;
        margin: 1rem 1vw 1rem 1vw;
        box-sizing: border-box;
    }
    .miniature-img {
        width: 38px;
        height: 38px;
    }
}
