/* LEAVAH PARIS — Styles pages front (hero, quiz-promo, sets, about, contact) */

/* ===== PANNEAUX CATÉGORIES (style Agatha) =====
   Desktop (≥901px) : grille CSS pleine largeur, hauteur fixe 520px, panneaux
   côte à côte — scopée en @media pour ne JAMAIS s'appliquer en mobile.
   Mobile/tablette (≤900px) : layout de base 100% CSS (flex horizontal
   défilable) que Swiper AMÉLIORE ensuite (.is-carousel posée par
   categories-carousel.js). Si Swiper ne s'initialise pas (vieux Safari,
   erreur JS…), le fallback CSS reste visible et défilable — les images ne
   peuvent plus disparaître. AUCUNE animation fade-in.
*/
.agatha-panels-section {
    /* Aération hero → carrousel, préservée même si le conteneur enfant a
       overflow:hidden (Swiper). */
    margin-top: 16px;
}

.agatha-panel {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
}

/* ── Desktop (≥901px) : grille pleine largeur ───────────────────────
   Spécificité (0,3,0) volontaire : la CSS injectée par 'swiper/css' pose
   `.swiper-wrapper { height: 100% }` APRÈS nos styles (style injecté en fin
   de <head>) → à spécificité égale elle gagnerait et la hauteur 520px
   sauterait (panneaux à hauteur 0). */
@media (min-width: 901px) {
    .agatha-panels:not(.is-carousel) > .agatha-panels-track {
        display: flex;
        width: 100%;
        height: 520px;
    }
    .agatha-panels:not(.is-carousel) .agatha-panel {
        flex: 1;
    }
}

/* ── Mobile/tablette (≤900px) — fallback CSS PUIS Swiper ───────────
   Par défaut (avant init JS, ou si Swiper échoue) : track flex horizontale
   défilable au doigt, panneaux 82% + aperçu du suivant. Visuellement proche
   du rendu Swiper final → pas de "flash" de layout desktop.
   Quand categories-carousel.js pose .is-carousel : Swiper prend le relais
   (sa CSS .swiper/.swiper-wrapper + styles inline) et on neutralise
   l'overflow du fallback pour ne pas gêner le drag Swiper.
*/
@media (max-width: 900px) {
    .agatha-panels:not(.is-carousel) .agatha-panels-track {
        display: flex;
        gap: 12px;
        padding: 0 16px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;               /* Firefox : masque la scrollbar */
    }
    .agatha-panels:not(.is-carousel) .agatha-panels-track::-webkit-scrollbar {
        display: none;                        /* WebKit : masque la scrollbar */
    }
    .agatha-panels:not(.is-carousel) .agatha-panel {
        flex: 0 0 82%;                        /* 1 panneau + aperçu du suivant */
    }
    /* Format des panneaux, commun fallback + Swiper. */
    .agatha-panel {
        aspect-ratio: 3 / 4;
        height: auto;
    }
}

/* ── Mode carrousel Swiper actif (.is-carousel) ────────────────────── */
.agatha-panels.is-carousel {
    padding-bottom: 28px;       /* place pour la pagination */
}
.agatha-panels-pagination {
    position: absolute;
    bottom: 4px;
    left: 0; right: 0;
    text-align: center;
    z-index: 10;
    pointer-events: none;
}
.agatha-panels-pagination .swiper-pagination-bullet {
    /* Zone tactile de 24 × 24 px (accessibilité : cible d'au moins 24 px) ; le point visible de 8 px est
       dessiné par ::before, centré. */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px; height: 24px;
    margin: 0;
    background: transparent;
    cursor: pointer;
    pointer-events: auto;
}
.agatha-panels-pagination .swiper-pagination-bullet::before {
    content: '';
    width: 8px; height: 8px;
    background: #aaa;
    opacity: 0.4;
    border-radius: 50%;
    transition: opacity 0.2s ease, background 0.2s ease;
}
.agatha-panels-pagination .swiper-pagination-bullet-active::before {
    background: var(--gold, #d4b06a);
    opacity: 1;
}
/* La pagination ne s'affiche qu'en mode carrousel. */
.agatha-panels:not(.is-carousel) .agatha-panels-pagination {
    display: none;
}

.agatha-panel-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
}

.agatha-panel:hover .agatha-panel-img { transform: scale(1.05); }

.agatha-panel-placeholder {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #c8a96e 0%, #8b6914 100%);
}

.agatha-panel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.58) 0%, rgba(0,0,0,0.08) 55%, transparent 100%);
    transition: background 0.4s ease;
}

.agatha-panel:hover .agatha-panel-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.15) 55%, transparent 100%);
}

.agatha-panel-content {
    position: absolute;
    bottom: 28px;
    left: 0; right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 0 12px;
}

.agatha-panel-title {
    font-family: 'Lusitana', Georgia, serif;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
    letter-spacing: 3px;
    text-align: center;
}

.agatha-panel-btn {
    display: inline-block;
    font-family: 'Lusitana', Georgia, serif;
    font-size: 0.52rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.75);
    padding: 8px 18px;
    text-decoration: none;
    transition: background 0.3s ease, border-color 0.3s ease;
    white-space: nowrap;
}

.agatha-panel:hover .agatha-panel-btn {
    background: rgba(255,255,255,0.15);
    border-color: #ffffff;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    padding-top: 110px;
    overflow: hidden;
    line-height: 0;
}

.hero img {
    width: 100%;
    display: block;
}

/* <picture> (AVIF/WebP) sans boîte propre : l'<img> se dimensionne par rapport à .hero comme avant
   (indispensable en mobile pour height: 100% + object-fit: cover). */
.hero picture {
    display: contents;
}

.btn-discover {
    position: absolute;
    bottom: 22%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: block;
    font-family: 'Lusitana', Georgia, serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #ffffff;
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
    width: fit-content;
    border: 1px solid rgba(255,255,255,0.8);
    padding: 16px 56px;
    transition: background 0.35s ease, letter-spacing 0.35s ease;
}

.btn-discover:hover {
    background: rgba(255,255,255,0.15);
    letter-spacing: 9px;
}

/* ===== BTN GOLD ===== */
.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 40px;
    background: transparent;
    border: 1.5px solid var(--gold);
    color: var(--gold);
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
}

.btn-gold:hover {
    background: var(--gold);
    color: var(--bg-dark);
}

/* ===== SECTIONS COMMUNES ===== */
.section {
    padding: 100px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-body);
    font-size: 1.6rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 12px;
    color: var(--text-primary);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 50px;
}
.section-subtitle--natural { text-transform: none; letter-spacing: 0.03em; font-size: 1rem; }

.gold-line {
    width: 40px;
    height: 1.5px;
    background: var(--text-primary);
    margin: 14px auto 18px;
}

/* ===== QUIZ PROMO (pleine hauteur, fond crème) ===== */
.quiz-promo-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.quiz-promo-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #fdfbf8 60%, #f5ede0 100%);
}

.quiz-promo-content {
    position: relative;
    text-align: center;
    max-width: 680px;
    padding: 60px 40px;
}

.quiz-promo-eyebrow {
    font-family: var(--font-body);
    font-size: 0.65rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-style: italic;
    color: var(--gold);
    margin-bottom: 28px;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

#quiz.quiz-anim .quiz-promo-eyebrow:not(.visible) { opacity: 0; transform: translateY(16px); }
.quiz-promo-eyebrow.visible { opacity: 1; transform: translateY(0); }

.quiz-promo-title {
    font-family: var(--font-title);
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    font-weight: 700;
    font-style: italic;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #1a1a1a;
    line-height: 1.4;
    margin-bottom: 24px;
    transition: opacity 0.8s ease 0.15s, transform 0.8s ease 0.15s;
}

#quiz.quiz-anim .quiz-promo-title:not(.visible) { opacity: 0; transform: translateY(20px); }
.quiz-promo-title.visible { opacity: 1; transform: translateY(0); }

.quiz-promo-line {
    height: 1px;
    background: var(--gold);
    margin: 0 auto 28px;
    transition: width 0.7s ease 0.35s;
}

#quiz.quiz-anim .quiz-promo-line:not(.visible) { width: 0; }
.quiz-promo-line.visible { width: 60px; }

.quiz-promo-sub {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: #888;
    line-height: 1.9;
    margin-bottom: 44px;
    transition: opacity 0.7s ease 0.5s, transform 0.7s ease 0.5s;
}

#quiz.quiz-anim .quiz-promo-sub:not(.visible) { opacity: 0; transform: translateY(12px); }
.quiz-promo-sub.visible { opacity: 1; transform: translateY(0); }

.quiz-promo-btn {
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 14px 48px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: opacity 0.7s ease 0.7s, transform 0.7s ease 0.7s, background 0.2s, letter-spacing 0.35s;
}

#quiz.quiz-anim .quiz-promo-btn:not(.visible) { opacity: 0; transform: translateY(12px); }
.quiz-promo-btn.visible { opacity: 1; transform: translateY(0); }
.quiz-promo-btn:hover { background: rgba(212,176,106,0.1); letter-spacing: 4px; }

/* ===== VEDETTES ===== */
.vedettes-section { background: #fdfbf8; }

/* ===== SETS — page liste (fidèle DA overlay) ===== */
.sets-list-page-bg {
    background: #fdfbf8;
    padding-top: 80px; /* compense la navbar fixe */
}

.sets-list-page {
    min-height: calc(100vh - 80px);
    padding: 60px 6vw 80px;
    max-width: 1100px;
    margin: 0 auto;
    box-sizing: content-box;
}

.sets-list-subtitle {
    font-family: var(--font-body);
    font-size: 0.6rem;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #c8b89a;
    text-align: center;
    margin-bottom: 10px;
}

.sets-list-title {
    font-family: var(--font-title);
    font-size: 2.4rem;
    font-weight: 400;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 52px;
}

.sets-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 0;
}

/* ===== SETS — grille page (home section) ===== */
.sets-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.set-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.set-card {
    cursor: pointer;
    position: relative;
    overflow: hidden;
    background: #f7f7f7;
}

.set-card-img {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    position: relative;
    background: #f7f7f7;
}

.set-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.set-card:hover .set-card-img img { transform: scale(1.04); }

.set-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    transition: background 0.3s ease;
}

.set-card:hover .set-card-overlay { background: rgba(0,0,0,0.08); }

.set-card-info {
    padding: 14px 4px 8px;
    text-align: center;
}

.set-card-label {
    font-family: var(--font-body);
    font-size: 0.65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted); /* #666 : 5,4:1 sur le fond #f7f7f7 (#999 : 2,65:1, insuffisant — WCAG AA 4,5:1) */
    margin-bottom: 6px;
}

.set-card-name {
    font-family: var(--font-title);
    font-size: 1.1rem;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.set-card-count {
    font-family: var(--font-body);
    font-size: 0.78rem;
    color: #6e6e6e; /* 4,8:1 sur #f7f7f7 (#aaa : 2,16:1) ; un ton sous le libellé, comme avant */
    letter-spacing: 1px;
}

/* ===== SETS — page hero ===== */
.set-page-hero {
    position: relative;
    height: 60vh;
    min-height: 360px;
    overflow: hidden;
}

.set-page-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.set-page-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
}

.set-page-hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.set-page-eyebrow {
    font-family: var(--font-body);
    font-size: 0.6rem;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #c8b89a;
    margin-bottom: 16px;
}

.set-page-title {
    font-family: var(--font-title);
    font-size: 2.8rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 16px;
}

.set-page-desc {
    font-family: var(--font-body);
    font-size: 1rem;
    color: rgba(255,255,255,0.85);
    max-width: 500px;
    line-height: 1.7;
}

/* ===== PAGES DE CONTENU ===== */
.page-content {
    max-width: 800px;
    margin: 40px auto 80px;
    color: var(--text-muted);
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.9;
    text-align: left;
}

.page-content h2, .page-content h3 {
    font-family: var(--font-title);
    color: #1a1a1a;
    font-weight: 400;
    margin: 40px 0 16px;
    text-align: left;
}

.page-content .values-grid,
.page-content .value-item,
.page-content .value-item h3,
.page-content .value-item p {
    text-align: center;
}

.page-content .value-item h3 {
    margin-top: 8px;
}

.page-content h2 { font-size: 1.6rem; }
.page-content h3 { font-size: 1.1rem; letter-spacing: 0.5px; }

.page-content p { margin-bottom: 20px; }

.page-content ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.page-content ul li { margin-bottom: 8px; }

.page-content a { color: var(--gold); text-decoration: underline; }

/* ===== À PROPOS ===== */
.about-text {
    max-width: 700px;
    margin: 0 auto 60px;
    text-align: center;
    color: var(--text-muted);
    font-weight: 300;
    font-size: 1.05rem;
    line-height: 1.9;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    text-align: center;
}

.value-item {
    padding: 10px 20px;
}

.value-icon {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 400;
    color: #1a1a1a;
    letter-spacing: 4px;
    margin-bottom: 8px;
}

.value-item h3 {
    font-family: var(--font-title);
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.value-item p {
    color: var(--text-muted);
    font-weight: 300;
    font-size: 0.9rem;
}

/* ===== CONTACT ===== */
.contact-section {
    background: #faf8f5;
    padding-top: 120px;
}

/* ===== PAGE CONTENU STATIQUE ===== */
.page-full {
    min-height: 60vh;
    padding-top: 120px;
}

/* ===== ÉTAT VIDE (listes sans contenu) ===== */
.empty-state {
    text-align: center;
    color: var(--text-muted);
    margin-top: 40px;
}

/* ===== SET CARD — placeholder sans image ===== */
.set-card-img-placeholder {
    width: 100%;
    height: 100%;
    background: #f0ece6;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-form input,
.contact-form textarea {
    padding: 14px 18px;
    background: #f5f0e8;
    border: 1px solid #e5ddd0;
    border-radius: 4px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: border-color var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--gold);
}

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

.contact-form .btn-gold {
    align-self: flex-start;
}

.form-success {
    display: none;
    padding: 16px;
    border: 1px solid var(--gold);
    color: var(--gold);
    border-radius: 4px;
    font-size: 0.9rem;
    text-align: center;
}

.form-success.show { display: block; }

.form-error {
    padding: 16px;
    border: 1px solid #c0392b;
    color: #c0392b;
    border-radius: 4px;
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 16px;
}

.contact-info h3 {
    font-family: var(--font-title);
    font-size: 1.3rem;
    margin-bottom: 24px;
    color: var(--gold);
}

.contact-info p {
    color: var(--text-muted);
    font-weight: 300;
    margin-bottom: 14px;
    font-size: 0.92rem;
}

.contact-info p strong {
    color: var(--text-primary);
    font-weight: 500;
}

.contact-info a {
    color: inherit;
    text-decoration: none;
}

/* ===== FOOTER ===== */
.footer {
    border-top: 1px solid #e5ddd0;
    background: #f5f0e8;
    padding: 60px 40px 30px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo { margin-bottom: 16px; }

.footer-logo-img { height: 60px; object-fit: contain; }

.footer-logo-text {
    font-family: var(--font-logo);
    font-weight: 400;
    font-size: 2rem;
    letter-spacing: .03em;
    color: var(--text-primary);
    line-height: 1;
}

.footer p {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 300;
}

/* Titres de colonnes du pied de page en <h2> (1.37.328) : un <h4> sans <h3> avant lui cassait l'ordre des titres
   (accessibilité). Même rendu qu'avant (taille et graisse fixées ici). */
.footer h2 {
    font-family: var(--font-title);
    font-size: 1rem;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.footer ul { list-style: none; padding: 0; margin: 0; }

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

.footer ul li a {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 300;
    text-decoration: none;
    transition: color var(--transition);
}

.footer ul li a:hover { color: var(--gold); }

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.footer-social a { color: var(--text-muted); text-decoration: none; transition: color var(--transition); }
.footer-social a:hover { color: var(--gold); }

.insta-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.9rem;
    font-style: italic;
    letter-spacing: 1px;
    color: #999;
    position: relative;
    padding-bottom: 2px;
    transition: color 0.3s;
}

.insta-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 1px;
    background: var(--gold);
    transition: width 0.35s ease;
}

.insta-link:hover { color: var(--gold); }
.insta-link:hover::after { width: 100%; }

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #e5ddd0;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 300;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== MOBILE ===== */
@media (max-width: 900px) {
    .sets-page-grid { grid-template-columns: repeat(2, 1fr); }
    .sets-list-grid  { grid-template-columns: repeat(2, 1fr); }
    .sets-list-page  { padding: 80px 5vw 60px; }
    .contact-wrapper { grid-template-columns: 1fr; gap: 40px; }
    .about-values { grid-template-columns: 1fr; gap: 16px; }

    /* Catégories home : le layout carrousel est géré par Swiper (.is-carousel).
       On n'ajuste ici que le styling interne des panneaux (titre, bouton). */
    .agatha-panel-content {
        bottom: 18px;
        gap: 10px;
    }
    .agatha-panel-title {
        font-size: 0.8rem;
        letter-spacing: 2.5px;
    }
    .agatha-panel-btn {
        font-size: 0.55rem;
        padding: 7px 14px;
        letter-spacing: 2px;
    }
}

@media (max-width: 600px) {
    .section { padding: 60px 20px; }
    /* Pages contenu (À propos, CGV, CGU, etc.) : la navbar mobile fixe
       mesure 70px et le padding-top de .section (60px) ne suffit pas
       à dégager le titre. On force un padding-top compatible navbar. */
    .page-full { padding-top: 100px; }
    .sets-page-grid  { grid-template-columns: 1fr; }
    .sets-list-grid  { grid-template-columns: 1fr; }
    .sets-list-title { font-size: 1.8rem; }
    .btn-discover { left: 50%; font-size: 0.6rem; padding: 12px 36px; }

    /* Hero plein écran mobile : l'image est croppée (object-fit: cover)
       pour remplir 100vh sans déformation. La navbar fixe (~70px) couvre
       le haut, donc on enlève le padding-top et on étend l'image en
       hauteur réelle 100vh. Centre l'image sur le sujet principal. */
    .hero {
        padding-top: 0;
        height: 100vh;
        height: 100svh;
    }
    .hero img {
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    /* Très petit écran : panneau un peu plus carré (fallback CSS + Swiper) + typo. */
    .agatha-panel {
        aspect-ratio: 4 / 5;
    }
    .agatha-panel-title { font-size: 0.85rem; }
}

/* ===== COMMANDE CONFIRMÉE ===== */
.order-confirmed-section {
    padding-top: 140px;
    padding-bottom: 100px;
}

.order-confirmed-wrap {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.order-confirmed-icon {
    font-size: 4rem;
    color: var(--gold);
    margin-bottom: 2rem;
}
.order-confirmed-icon--failure { color: #dc3545; }

.order-confirmed-title-sub {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.15rem;
    margin: 2rem 0 1rem;
    color: #1a1a1a;
}

.order-confirmed-ref {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.order-confirmed-ref strong {
    color: var(--gold);
    letter-spacing: 0.05em;
}

.order-confirmed-body {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.order-confirmed-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== SET — fallback sans cover ===== */
.set-page-no-cover {
    padding-top: 60px;
}

/* ===== SET — grille articles ===== */
.set-page-items-grid {
    margin-top: 40px;
}

/* ===== SET — titre section pièces ===== */
.set-page-section-title {
    font-size: 1rem;
    letter-spacing: 2px;
}

/* ===== SET — CTA retour sets ===== */
.set-page-cta {
    text-align: center;
    padding: 40px 0 60px;
}

.set-page-cta a {
    text-decoration: none;
}

/* ===== PRODUCT CARD LINK ===== */
.product-card-link {
    text-decoration: none;
    color: inherit;
}

/* ===== PRODUCT IMAGE PLACEHOLDER ===== */
.product-img-placeholder {
    background: var(--cream, #f8f4ef);
    height: 200px;
}

/* ===== FAVORIS COMPTE — actions carte ===== */
/* Carte retirée des favoris : fondu avant suppression (favorites.js) */
.fav-card--removing { transition: opacity .3s; opacity: 0; }

.fav-card-actions {
    padding: 0 1rem 1rem;
    text-align: center;
}

.fav-card-actions .btn-gold {
    width: 100%;
}

/* ===== PAGE PRODUIT ===== */
.product-page-wrap--padded {
    padding-top: 80px;
}

/* ===== PAGE MAINTENANCE (HTTP 503) ===== */
.maintenance-body {
    background: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.maintenance-page {
    width: 100%;
    max-width: 560px;
}
.maintenance-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 56px 40px;
    text-align: center;
    box-shadow: var(--shadow);
}
.maintenance-brand {
    font-family: var(--font-title);
    font-size: 2.4rem;
    font-weight: 400;
    color: var(--text-primary);
    margin: 0 0 8px;
    letter-spacing: .03em;
}
.maintenance-divider {
    width: 60px;
    height: 1px;
    background: var(--gold);
    margin: 16px auto 28px;
}
.maintenance-title {
    font-family: var(--font-title);
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 16px;
    color: var(--text-primary);
}
.maintenance-message {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0 0 28px;
}
.maintenance-footnote {
    font-size: .85rem;
    color: var(--text-light);
    letter-spacing: .08em;
    text-transform: uppercase;
    margin: 0;
}

/* Texte masqué à l'écran mais lu par les lecteurs d'écran et les moteurs (ex. H1 de l'accueil). */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
