/* Header luxueux minimaliste avec polices Google Fonts */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Montserrat:wght@400;500;700&display=swap');

body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: #f5f2ed;
    padding-top: 112px;
}

/* Header luxueux */
.header-wrapper {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1200px;
    max-width: 95vw;
    z-index: 1000;
    padding: 0;
}

header.lux-header {
    display: grid;
    grid-template-columns: 30% 40% 30%;
    background-color: #fffefc;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border-radius: 20px;
    align-items: center;
    padding: 15px 30px;
    width: 100%;
    box-sizing: border-box;
}


.header-center {
    display: flex;
    justify-content: center;
}


.header-right,
.header-left {
    display: flex;
    justify-content: right;
    gap: 25px;
    align-items: center;
}

/* Items */
.header-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #333;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    transition: color 0.3s ease;
    text-decoration: none;
}

.header-item img {
    height: 24px;
    width: 24px;
    object-fit: contain;
}

.header-item:hover {
    color: #bfa76f;
    text-decoration: none;
}

/* Logo */
header img.logo {
    height: 80px;
    object-fit: contain;
    font-family: 'Playfair Display', serif;
}

/* banner */
.banner-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.banner-image {
    width: 100%;
    display: block;
    filter: grayscale(100%);
    transition: filter 10s ease; /* transition sur 2s */
}

.banner-image.color {
    filter: grayscale(0%);
}

/* Footer luxueux minimaliste */

footer.lux-footer {
background-color: #fffefc; /* blanc crème luxueux */
padding: 25px 40px;
box-shadow: 0 -4px 12px rgba(0,0,0,0.05);
display: flex;
justify-content: center;
align-items: center; /* centrage vertical */
font-family: 'Montserrat', sans-serif;
color: #333;
flex-wrap: wrap;
}


footer .footer-content {
display: flex;
justify-content: space-between;
width: 100%;
max-width: 1200px;
gap: 20px;
align-items: stretch; /* alignement haut-bas uniforme */
}


footer .footer-left, footer .footer-center, footer .footer-right {
display: flex;
flex-direction: column;
justify-content: space-between; /* répartir le contenu verticalement */
gap: 8px;
}


footer .footer-center a {
color: #333;
text-decoration: none;
transition: color 0.3s ease;
}


footer .footer-center a:hover {
color: #bfa76f; /* accent doré luxueux */
}

.lux-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 40px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}

.lux-text {
    flex: 1;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s ease-out;
}

.lux-image {
    flex: 1;
    opacity: 0;
    transform: translateX(50px);
    transition: all 1s ease-out;
}

.lux-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.lux-section .visible {
    opacity: 1;
    transform: translateX(0);
}

/* form */
.contact-section {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 30px 20px 40px;
}

.contact-form-container {
    background-color: #fffefc;
    padding: 20px 50px;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    max-width: 700px;
    width: 100%;
}

.contact-form-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    text-align: center;
    color: #1c1c1c;
    margin : 20px;
}

.contact-form-group, .contact-form-group-name, .contact-captcha-container {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.contact-form-group-name {
    flex-direction: row;
    gap: 20px;
}

.contact-div-name {
    flex: 1;
}

.contact-form-label {
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.95rem;
    color: #555;
}

.contact-input, .contact-input-message, .contact-form-select {
    width: 100%;
    padding: 12px 16px;
    box-sizing: border-box;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 1rem;
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

.contact-input:focus, .contact-input-message:focus, .contact-form-select:focus {
    outline: none;
    border-color: #bfa76f;
    box-shadow: 0 0 8px rgba(191, 167, 111, 0.3);
}

.contact-input-message {
    min-height: 60px;
    resize: vertical;
}

.contact-captcha-container {
    flex-direction: column;
    gap: 10px;
}

.contact-captcha-container label {
    font-weight: 500;
}

.contact-captcha-color {
    font-weight: 700;
    transition: color 0.3s ease;
}

.contact-div-btn {
    text-align: center;
}

.contact-btn {
    padding: 14px 30px;
    background-color: #bfa76f;
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background-color: #a68d5f;
    transform: translateY(-2px);
}

.contact-success, .contact-error {
    text-align: center;
    padding: 14px 20px;
    margin-bottom: 20px;
    border-radius: 12px;
    font-weight: 600;
}

.contact-success {
    background-color: #d4edda;
    color: #155724;
}

.contact-error {
    background-color: #f8d7da;
    color: #721c24;
}

/* ===== PRODUCTS SECTION ===== */
.pu-products-section {
    padding: 60px 40px;
    background-color: #f6f7f9;
}

/* ===== GRID ===== */
.pu-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
}

/* ===== PRODUCT CARD ===== */
.pu-product-card {
    background-color: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pu-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

/* ===== IMAGE ===== */
.pu-product-card__image-wrapper {
    width: 100%;
    height: 220px;
    background-color: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.pu-product-card__image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.35s ease;
}

.pu-product-card:hover .pu-product-card__image {
    transform: scale(1.08);
}

/* ===== CONTENT ===== */
.pu-product-card__content {
    padding: 20px;
    flex-grow: 1;
}

.pu-product-card__title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 10px;
    color: #111;
}

.pu-product-card__description {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

/* ===== FOOTER ===== */
.pu-product-card__footer {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #eee;
}

.pu-product-card__price {
    font-size: 18px;
    font-weight: 700;
    color: #000;
}

/* ===== ADD TO CART BUTTON ===== */
.pu-add-to-cart-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.25s ease;
}

.pu-add-to-cart-btn:hover {
    background-color: #111;
}

/* icon */
.pu-add-to-cart-btn__icon {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #fff;
    stroke-width: 2;
}

/* text */
.pu-add-to-cart-btn__text {
    position: relative;
    transition: color 0.25s ease;
}

/* switch text → price */
.pu-add-to-cart-btn:hover .pu-add-to-cart-btn__text {
    color: transparent;
}

.pu-add-to-cart-btn:hover .pu-add-to-cart-btn__text::after {
    content: attr(data-price);
    position: absolute;
    left: 0;
    top: 0;
    color: #fff;
}

/* Curseur cliquable sur toutes les cartes */
.pu-product-card {
    cursor: pointer;
}

/* Ajout léger hover pour confirmer que c'est cliquable */
.pu-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}


/* Form account */
/* ---------- GLOBAL ---------- */
.mc-container {
    max-width: 900px; /* plus large pour 2 colonnes */
    margin: 90px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #111;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* ---------- FORM CARD ---------- */
.mc-form-box {
    display: none;
    background: #fff;
    padding: 40px;
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    flex: 1;
    min-width: 300px;
}

.mc-form-box.mc-active {
    display: block;
}

/* ---------- TITLES ---------- */
.mc-title {
    font-size: 1.8em;
    font-weight: 500;
    margin-bottom: 30px;
}

/* ---------- FORM ---------- */
.mc-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

/* ---------- FIELD ---------- */
.mc-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mc-field label {
    font-size: 0.85em;
    color: #555;
}

/* ---------- INPUT ---------- */
.mc-input {
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #ddd;
    font-size: 0.95em;
    background: #fafafa;
    transition: all 0.2s ease;
}

.mc-input:focus {
    outline: none;
    background: #fff;
    border-color: #111;
    box-shadow: 0 0 0 4px rgba(0,0,0,0.05);
}

/* ---------- BUTTON ---------- */
.mc-btn {
    margin-top: 10px;
    padding: 14px;
    border-radius: 14px;
    border: none;
    background: #111;
    color: #fff;
    font-size: 0.95em;
    font-weight: 500;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
}

.mc-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.18);
}

/* ---------- SWITCH ---------- */
.mc-switch-btn {
    margin-top: 24px;
    background: none;
    border: none;
    color: #777;
    font-size: 0.85em;
    cursor: pointer;
}

.mc-switch-btn:hover {
    color: #000;
}

/* ---------- MESSAGE ---------- */
.mc-message {
    margin-bottom: 20px;
    padding: 14px;
    border-radius: 12px;
    background: #fef2f2;
    color: #991b1b;
    font-size: 0.85em;
}

/* ---------- ADDRESS LIST ---------- */
.mc-address-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.mc-address-list li {
    padding: 18px;
    border-radius: 14px;
    background: #fafafa;
    margin-bottom: 14px;
}

/* ---------- ADDRESSES & FORM ---------- */
#showAddressFormBtn {
    margin-top: 10px;
}

#addressFormContainer {
    display: none;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 14px;
    background: #fafafa;
    margin-top: 10px;
}

#addressFormContainer .mc-field input {
    background: #fff;
}