@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500;1,600&family=Montserrat:wght@200;300;400;500&display=swap');

/* ==========================================================================
   1. VARIABLES & RESET
   ========================================================================== */
:root {
    /* Couleurs de marque */
    --bleu-atlantique: #0D2F47;
    --bleu-hover: #091E2E;
    --sable-rose: #C8937A;
    --ecume-white: #F8FAFC;
    --text-gray: #4B5563;
    --text-dark: #1F2937;
    
    /* Nouvelles nuances subtiles pour le "peps" */
    --ocean-light: #E9F1F6;
    --sand-light: #F9F5F0;
    --accent-gold: #B8860B;
    --accent-teal: #438A94;

    /* Surfaces â€” utiliser ces variables Ã  la place de tout blanc hardcodÃ© */
    --surface-page: #ffffff;
    /* sections blanches (about, footerâ€¦)       */
    --surface-card: #ffffff;
    /* cartes, formulaires, modales              */
    --surface-subtle: #fafafa;
    /* fonds trÃ¨s discrets (carousel, inputsâ€¦)  */
    --surface-input: #ffffff;
    /* champs de saisie                          */
    --border-color: #e2e8f0;
    /* bordures standard                         */
    --border-subtle: #f1f5f9;
    /* bordures trÃ¨s lÃ©gÃ¨res                     */

    --serif-font: 'Cormorant Garamond', serif;
    --sans-font: 'Montserrat', sans-serif;
    --transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--sans-font);
    background-color: var(--ecume-white);
    color: var(--text-dark);
    line-height: 1.8;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    flex: 1;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
    transition: var(--transition);
}

.serif-title {
    font-family: var(--serif-font);
    color: var(--bleu-atlantique);
    letter-spacing: -0.015em;
    font-weight: 300; /* Plus fin pour plus d'Ã©lÃ©gance */
}

/* ==========================================================================
   2. NAVIGATION
   ========================================================================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: rgba(248, 250, 252, 0.9); /* --ecume-white avec opacité */
    background: linear-gradient(to bottom, var(--ocean-light) 0%, rgba(255, 255, 255, 0.95) 100%);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(13, 47, 71, 0.08);
    border-top: 3px solid var(--bleu-atlantique);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    font-family: var(--serif-font);
    font-size: 1.4rem;
    color: var(--bleu-atlantique);
    font-weight: 500;
}

.nav-logo .logo-light {
    color: var(--sable-rose);
    font-weight: 300;
    font-style: italic;
}

.nav-logo svg {
    color: var(--accent-teal);
    transition: transform 0.4s ease, color 0.4s ease;
}

.nav-logo:hover svg {
    transform: rotate(-10deg) scale(1.15);
    color: var(--sable-rose);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--text-gray);
    text-decoration: none;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -5px;
    left: 0;
    background-color: var(--bleu-atlantique);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--accent-teal);
}

.nav-link.active {
    color: var(--bleu-atlantique);
    font-weight: 600;
}

.nav-link.active::after {
    width: 60%;
    left: 20%;
    height: 2px;
    background-color: var(--sable-rose);
}

.nav-link:hover::after {
    width: 100%;
}

/* Dropdown Menu Styles */
.nav-item-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.dropdown-icon {
    margin-left: 0.6rem;
    transition: transform 0.3s ease;
    opacity: 0.5;
}

.nav-item-dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
    opacity: 1;
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 1rem);
    left: -1rem;
    min-width: 220px;
    background: var(--surface-card);
    border: 1px solid var(--border-subtle);
    list-style: none;
    padding: 1.2rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 15px 45px rgba(20, 40, 60, 0.12);
    z-index: 1000;
}

/* Petit triangle au sommet du dropdown */
.nav-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 2rem;
    width: 10px;
    height: 10px;
    background: var(--surface-card);
    border-top: 1px solid var(--border-subtle);
    border-left: 1px solid var(--border-subtle);
    transform: rotate(45deg);
}

.nav-item-dropdown:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown li a {
    display: block;
    padding: 0.8rem 1.8rem;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-gray);
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-dropdown li a:hover,
.nav-dropdown li a.active {
    color: var(--sable-rose);
    background: var(--surface-subtle);
    padding-left: 2.2rem;
}

.highlight-new {
    font-weight: 600;
}

[data-theme="dark"] .nav-dropdown {
    background: var(--surface-card);
    border-color: var(--border-color);
}
[data-theme="dark"] .nav-dropdown::before {
    background: var(--surface-card);
    border-color: var(--border-color);
}

.nav-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    min-width: 140px;
}

.actions-top {
    display: flex;
    justify-content: center;
    width: 100%;
}

.actions-bottom {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    justify-content: center;
    width: 100%;
}

.nav-icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--bleu-atlantique);
    position: relative;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.nav-icon-btn:hover {
    color: var(--accent-teal);
    transform: translateY(-2px);
}

.nav-icon-btn svg {
    stroke-width: 1.8;
}

.status-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 8px;
    height: 8px;
    background: #ccc;
    border-radius: 50%;
    border: 2px solid white;
}

.status-badge.online {
    background: #2ecc71;
    animation: pulse-green 2s infinite;
}

/* ==========================================================================
   2b. MODE NUIT (ABYSSES)
   Toute la palette est redÃ©finie ici via les variables CSS.
   Aucun override scattered dans les fichiers de page â€” tout est ici.
   ========================================================================== */
[data-theme="dark"] {
    /* Marque */
    --bleu-atlantique: #5BAADC;
    --bleu-hover: #7EC0E8;
    --sable-rose: #5C3828;

    /* Textes */
    --ecume-white: #07111A;
    --text-dark: #E8EDF2;
    --text-gray: #8DA3B4;

    /* Surfaces */
    --surface-page: #0D1B26;
    /* sections de contenu (about, footerâ€¦)     */
    --surface-card: #0F1F2E;
    /* cartes, formulaires, modales              */
    --surface-subtle: #091520;
    /* fonds trÃ¨s discrets (carouselâ€¦)          */
    --surface-input: #0D1B26;
    /* champs de saisie                          */
    --border-color: rgba(255, 255, 255, 0.07);
    --border-subtle: rgba(255, 255, 255, 0.04);
    
    /* Harmonisation des accents */
    --sand-light: #0A1926; /* Fond sombre pour le footer en mode nuit */
}

[data-theme="dark"] body {
    background-color: var(--ecume-white);
    color: var(--text-dark);
}

/* Navbar */
[data-theme="dark"] .navbar {
    background-color: rgba(7, 17, 26, 0.85);
    border-bottom-color: var(--border-color);
}

/* Auth modale */
[data-theme="dark"] .auth-card.atlantique-style {
    background-color: var(--surface-card);
    border-color: var(--border-color);
}

[data-theme="dark"] .horizon-line {
    background-color: #0A1926;
    opacity: 0.9;
}

[data-theme="dark"] .input-atlantique input {
    color: var(--text-dark);
    border-bottom-color: var(--border-color);
}

[data-theme="dark"] .input-atlantique input:focus {
    border-bottom-color: var(--bleu-atlantique);
}

/* Bouton auth en mode nuit */
[data-theme="dark"] .btn-atlantique {
    background-color: var(--bleu-atlantique);
    color: #07111A;
}

[data-theme="dark"] .btn-atlantique:hover {
    background-color: var(--bleu-hover);
}

/* Dashboard */
[data-theme="dark"] .dashboard-intro {
    background: linear-gradient(to bottom, #0A1926, var(--surface-page));
}

[data-theme="dark"] .art-card-owned {
    background-color: var(--surface-card);
    border-color: var(--border-color);
}

/* Overlay quick-view */
[data-theme="dark"] .qv-panel {
    background-color: var(--surface-card);
}

/* Footer */
[data-theme="dark"] .main-footer {
    background-color: var(--surface-page);
    border-top-color: var(--border-color);
}

/* Sections blanches */
[data-theme="dark"] .about-section {
    background-color: var(--surface-page);
}

/* Carousel */
[data-theme="dark"] .carousel-container {
    background: var(--surface-subtle);
    border-color: var(--border-color);
}

[data-theme="dark"] .carousel-item {
    background-color: var(--surface-card);
}

/* Produits */
[data-theme="dark"] .product-image {
    background: var(--surface-card);
}

/* Quick View overlay */
[data-theme="dark"] .overlay-backdrop {
    background: rgba(7, 17, 26, 0.7);
}

/* ==========================================================================
   2c. MODALE AUTH â€” STYLE "HORIZON ATLANTIQUE"
   ========================================================================== */

/* Carte principale â€” version dÃ©finitive fusionnÃ©e */
.auth-card.atlantique-style {
    width: 460px;
    background: var(--surface-card);
    border-radius: 2px;
    padding: 0;
    overflow: hidden;
    position: relative;
    box-shadow: 0 40px 100px rgba(20, 60, 90, 0.1);
    border: 1px solid rgba(20, 60, 90, 0.05);
    transition: var(--transition);
}

/* Cadre intÃ©rieur "passe-partout" */
.auth-card.atlantique-style::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid var(--bleu-atlantique);
    opacity: 0.15;
    pointer-events: none;
    z-index: 3;
}

/* Ligne d'horizon â€” version dÃ©finitive fusionnÃ©e */
.horizon-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 140px;
    background-color: var(--ecume-white);
    clip-path: polygon(0 0, 100% 0, 100% 70%, 0 95%);
    z-index: 1;
    border-bottom: 1px solid rgba(20, 60, 90, 0.03);
}

.auth-content-atlantique {
    padding: 10rem 3.5rem 4rem;
    position: relative;
    z-index: 2;
    text-align: center;
}

.auth-header-minimal {
    margin-bottom: 3.5rem;
}

.auth-header-minimal .serif-title {
    font-size: 2.4rem;
    font-weight: 400;
    color: var(--bleu-atlantique);
    margin-bottom: 0.8rem;
    letter-spacing: -0.01em;
}

.auth-tagline {
    display: block;
    font-family: var(--sans-font);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: #bbb;
}

.atlantique-form {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.input-atlantique {
    text-align: left;
    position: relative;
}

.input-atlantique label {
    display: block;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-gray);
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.input-atlantique input {
    width: 100%;
    padding: 15px 0;
    border: none;
    border-bottom: 1px solid #eee;
    font-family: var(--sans-font);
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--text-dark);
    background: transparent;
    outline: none;
    transition: border-color 0.3s;
}

.input-atlantique input:focus {
    border-bottom-color: var(--bleu-atlantique);
}

.forgot-link-minimal {
    position: absolute;
    bottom: 15px;
    right: 0;
    font-size: 0.6rem;
    text-transform: uppercase;
    color: #bbb;
    text-decoration: none;
}

.forgot-link-minimal:hover {
    color: var(--bleu-atlantique);
}

.btn-atlantique {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    padding: 1.2rem;
    background-color: var(--bleu-atlantique);
    color: white;
    border: none;
    border-radius: 2px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 1.5rem;
}

.btn-atlantique:hover {
    background-color: var(--bleu-hover);
    letter-spacing: 0.25em;
}

.btn-atlantique svg {
    transition: transform 0.3s ease;
}

.btn-atlantique:hover svg {
    transform: translateX(5px);
}

.close-btn-minimal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #ddd;
    z-index: 10;
    transition: color 0.3s;
}

.close-btn-minimal:hover {
    color: var(--text-dark);
}

.atlantique-footer {
    margin-top: 3.5rem;
    font-size: 0.7rem;
    color: #bbb;
}

.atlantique-footer a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid var(--sable-rose);
}

/* ==========================================================================
   3. BOUTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.8rem;
    text-transform: uppercase;
    font-size: 0.65rem;
    letter-spacing: 0.35em;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--bleu-atlantique) 0%, #1A4A70 100%);
    color: white;
}

.btn-primary:hover {
    background-color: var(--bleu-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(20, 60, 90, 0.1);
}

.btn-outline {
    background: transparent;
    color: var(--bleu-atlantique);
    border: 1.5px solid var(--bleu-atlantique);
}

.btn-outline:hover {
    background-color: var(--bleu-atlantique);
    color: white;
}

/* Lien texte signature flÃ©chÃ© */
.btn-text {
    font-family: var(--serif-font);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--bleu-atlantique);
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    line-height: 1; /* Aligne le texte et l'icône sur la même base */
    transition: var(--transition);
}

.btn-text::after {
    content: '→';
    font-style: normal;
    transition: transform 0.4s ease;
}

.btn-text:hover {
    color: var(--sable-rose);
}

.btn-text:hover::after {
    transform: translateX(6px);
}

/* ==========================================================================
   4. HERO & ABOUT
   ========================================================================== */
.hero {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    max-width: 1500px;
    margin: 0 auto;
    padding: 4rem 5% 8rem;
    min-height: 90vh;
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, var(--ocean-light) 100%);
}

.hero-content {
    z-index: 10;
    padding-right: 4rem;
    animation: fadeInText 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-tagline {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.45em;
    color: var(--sable-rose);
    margin-bottom: 2rem;
    font-weight: 500;
}

.hero-content h1 {
    font-family: var(--serif-font);
    font-size: clamp(3rem, 6.5vw, 5.2rem);
    line-height: 0.95;
    margin-bottom: 2.5rem;
    color: var(--bleu-atlantique);
}

.hero-content h1 span {
    display: block;
    font-style: italic;
    padding-left: 2rem;
    color: var(--text-dark);
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-gray);
    max-width: 480px;
    border-left: 1px solid var(--sable-rose);
    padding-left: 2rem;
}

.art-frame {
    position: relative;
    z-index: 5;
    margin-left: -2rem;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    box-shadow: 40px 40px 80px rgba(13, 47, 71, 0.12);
    border: 1px solid rgba(13, 47, 71, 0.06);
}

.art-frame img {
    width: 100%;
    max-height: 520px;
    object-fit: contain;
    display: block;
}

.art-label {
    position: absolute;
    bottom: -30px;
    left: -20px;
    background: var(--surface-card);
    padding: 1.5rem;
    min-width: 200px;
    box-shadow: 15px 15px 40px rgba(0, 0, 0, 0.05);
    border-left: 2px solid var(--bleu-atlantique);
}

/* ==========================================================================
   4b. SCROLL INDICATOR & VAGUE DÃ‰CORATIVE DU HERO
   ========================================================================== */
.scroll-indicator {
    position: absolute;
    bottom: 5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-gray);
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    text-decoration: none;
    z-index: 25;
    opacity: 0.6;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.scroll-indicator:hover {
    opacity: 1;
    color: var(--bleu-atlantique);
}

.scroll-indicator svg {
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(8px);
    }
}

.hero-wave-separator {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 3;
    pointer-events: none;
}

.hero-wave-separator svg {
    width: 100%;
    height: 70px;
    display: block;
}

.hero-wave-separator path {
    fill: var(--surface-page);
    transition: fill 0.4s ease;
}

.about-section {
    padding: 10rem 5%;
    background-color: var(--ocean-light);
    position: relative;
    overflow: hidden;
}

.about-section .content-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
}

.about-text p:first-child {
    color: var(--text-dark);
    font-size: 1.4rem;
}

.about-text p:last-child {
    padding-left: 3rem;
    position: relative;
}

.about-text p:last-child::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15px;
    width: 1.5rem;
    height: 1px;
    background-color: var(--bleu-atlantique);
}

/* ==========================================================================
   5. CARROUSEL & FILTRES
   ========================================================================== */
.carousel-section {
    width: 100%;
    padding: 6rem 0;
    display: flex;
    justify-content: center;
}

.carousel-viewport {
    width: 85%;
    max-width: 1100px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.section-subtitle {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.2rem;
    font-size: 0.8rem;
    letter-spacing: 0.6em;
    text-transform: uppercase;
    color: var(--bleu-atlantique);
    margin: 4rem auto;
}

.section-subtitle::before {
    content: '';
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--sable-rose));
}

.section-subtitle::after {
    content: '';
    width: 120px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--bleu-atlantique), transparent);
    opacity: 0.6;
}

.carousel-container {
    width: 100%;
    padding: 3rem 1rem;
    border: 1px solid var(--border-subtle);
    background: linear-gradient(to right, var(--ocean-light), #ffffff, var(--ocean-light));
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.carousel-track {
    display: flex;
    gap: 40px;
    animation: scrollInfinite 50s linear infinite;
    align-items: flex-start;
}

.carousel-item {
    width: 240px;
    flex-shrink: 0;
    background-color: var(--surface-card);
    padding-bottom: 1.5rem;
    transition: var(--transition);
}

.carousel-item img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    margin-bottom: 1rem;
}

.carousel-caption {
    display: flex;
    justify-content: space-between;
    padding: 0 0.5rem;
    opacity: 0.7;
    transition: opacity 0.4s ease;
}

.item-number {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--bleu-atlantique);
    border-bottom: 1px solid var(--sable-rose);
}

.item-title {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-style: italic;
}

.filter-bar {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 4rem auto;
}

.filter-btn {
    background: none;
    border: none;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    cursor: pointer;
    position: relative;
    padding: 10px 0;
}

.filter-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background-color: var(--sable-rose);
    transform: translateX(-50%);
    transition: var(--transition);
}

.filter-btn.active::after {
    width: 100%;
    background-color: var(--bleu-atlantique);
}

/* ==========================================================================
   6. PRODUITS (GALERIE MURALE)
   ========================================================================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 100px 50px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 6rem 5%;
}

.product-grid-container {
    background-color: #ffffff;
    padding: 6rem 0;
    position: relative;
}

.product-grid-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--sable-rose), transparent);
    opacity: 0.3;
}

.product-card {
    position: relative;
    transition: var(--transition);
}

.product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    background: var(--surface-card);
    outline: 1px solid rgba(20, 60, 90, 0.15);
    outline-offset: 10px;
    box-shadow: 20px 20px 40px rgba(13, 74, 84, 0.08);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(10%);
    transition: transform 2.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-info {
    margin-top: 2rem;
    border-left: 2px solid transparent;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.product-info h4 {
    font-family: var(--serif-font);
    color: var(--bleu-atlantique);
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.product-info p {
    font-size: 0.75rem;
    color: var(--text-gray);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 0.8;
}

.price {
    color: var(--accent-teal);
    font-family: var(--serif-font);
    font-size: 1.3rem;
    font-weight: 500;
}

.product-card:hover {
    transform: translateY(-15px);
}

.product-card:hover .product-image {
    outline-color: var(--accent-teal);
    outline-offset: 15px;
    box-shadow: 0 30px 60px rgba(13, 74, 84, 0.15);
}

.product-card:hover .product-info {
    border-left: 2px solid var(--sable-rose);
    padding-left: 25px;
    background: rgba(255, 255, 255, 0.5);
}

.product-card:hover .price {
    color: var(--bleu-atlantique);
}

.product-card:hover img {
    transform: scale(1.08);
    filter: sepia(0%) brightness(1.02);
}

[data-theme="dark"] .product-image {
    outline-color: rgba(91, 170, 220, 0.22);
}

/* ==========================================================================
   6b. PRODUCT ACTIONS â€” Overlay au hover
   ========================================================================== */
.product-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 1.5rem 1rem;
    background: linear-gradient(to top,
            rgba(15, 45, 68, 0.8) 0%,
            rgba(15, 45, 68, 0.3) 60%,
            transparent 100%);
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.product-card:hover .product-actions {
    transform: translateY(0);
}

.add-to-cart-btn {
    width: 100%;
    padding: 0.85rem 1.5rem;
    background: white;
    color: var(--bleu-atlantique);
    border: none;
    font-family: var(--sans-font);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

.add-to-cart-btn:hover {
    background: var(--bleu-atlantique);
    color: white;
}

.qv-trigger-btn {
    width: 100%;
    padding: 0.6rem 1.5rem;
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.35);
    font-family: var(--sans-font);
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.qv-trigger-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.7);
    color: white;
}

[data-theme="dark"] .add-to-cart-btn {
    background: var(--ecume-white);
    color: var(--bleu-atlantique);
}

[data-theme="dark"] .add-to-cart-btn:hover {
    background: var(--bleu-atlantique);
    color: var(--ecume-white);
}

/* ==========================================================================
   7. MODALES & OVERLAYS
   ========================================================================== */
.overlay-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.overlay-backdrop.active {
    display: flex;
    opacity: 1;
}

.auth-card,
.qv-panel {
    background: var(--surface-card);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
    transform: translateY(30px);
    transition: var(--transition);
}

.overlay-backdrop.active .auth-card,
.overlay-backdrop.active .qv-panel {
    transform: translateY(0);
}

/* Quick-View â€” carte compacte */
.qv-panel {
    width: 90vw;
    max-width: 680px;
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.qv-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.qv-image {
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--surface-subtle);
}

.qv-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
}

.qv-panel:hover .qv-image img {
    transform: scale(1.04);
}

.qv-details {
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    border-left: 1px solid var(--border-subtle);
}

.qv-meta {
    font-size: 0.58rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--text-gray);
    opacity: 0.7;
}

.qv-details .serif-title {
    font-size: 1.6rem;
    line-height: 1.15;
    font-weight: 400;
}

.qv-price {
    font-family: var(--serif-font);
    font-size: 1.2rem;
    color: var(--bleu-atlantique);
    font-weight: 400;
}

.qv-guarantees {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border-subtle);
}

.qv-guarantees li {
    font-size: 0.72rem;
    color: var(--text-gray);
    line-height: 1.4;
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--surface-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-gray);
    z-index: 10;
    transition: color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.close-btn:hover {
    color: var(--bleu-atlantique);
    border-color: var(--bleu-atlantique);
    transform: rotate(90deg);
}

.btn-full {
    width: 100%;
}

[data-theme="dark"] .qv-panel {
    background: var(--surface-card);
}

[data-theme="dark"] .qv-details {
    border-left-color: var(--border-color);
}

@media (max-width: 600px) {
    .qv-content {
        grid-template-columns: 1fr;
    }

    .qv-image {
        aspect-ratio: 4/3;
    }

    .qv-details {
        border-left: none;
        border-top: 1px solid var(--border-subtle);
        padding: 1.5rem;
    }
}

/* ==========================================================================
   8. FOOTER
   ========================================================================== */
.main-footer {
    background-color: var(--sand-light);
    padding: 4rem 5% 2rem;
    border-top: 1px solid var(--border-subtle);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1300px;
    margin: 0 auto;
    align-items: flex-start;
}

.footer-brand h3 {
    font-family: var(--serif-font);
    font-size: 1.2rem;
    color: var(--bleu-atlantique);
    margin-bottom: 0.4rem;
    line-height: 1;
}

.footer-brand p {
    color: var(--text-gray);
    font-size: 0.75rem;
    line-height: 1.4;
    max-width: 220px;
}

.footer-links h4 {
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #B8860B;
    margin-bottom: 0.8rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.3rem;
}

.footer-links a,
.footer-links p {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.75rem;
    transition: var(--transition);
    white-space: nowrap;
}

.footer-links a:hover {
    color: var(--bleu-atlantique);
    opacity: 0.7;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #fafafa;
    text-align: center;
    font-size: 0.6rem;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ==========================================================================
   9. ANIMATIONS & MEDIA QUERIES
   ========================================================================== */
@keyframes scrollInfinite {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes fadeInText {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(46, 204, 113, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
    }
}

@media (max-width: 1100px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .art-frame {
        margin-left: 0;
    }

    .hero-content {
        padding-right: 0;
    }

    .hero-content p {
        margin: 0 auto 3rem;
        border-left: none;
        border-top: 1px solid var(--sable-rose);
        padding-top: 2rem;
    }
}

@media (max-width: 992px) {
    .about-section .content-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem 1rem;
    }
}

@media (max-width: 768px) {
    .filter-bar {
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .carousel-item {
        width: 200px;
    }

    .auth-visual {
        display: none;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        margin: 0 auto;
    }

    .footer-links li {
        margin-bottom: 0.5rem;
    }
}

/* ==========================================================================
   DARK MODE â€” overrides page-spÃ©cifiques
   ComplÃ¨te les variables redÃ©finies dans [data-theme="dark"].
   ========================================================================== */

/* Formulaires et inputs */
[data-theme="dark"] input,
[data-theme="dark"] textarea,
[data-theme="dark"] select {
    background-color: var(--surface-input);
    color: var(--text-dark);
    border-color: var(--border-color);
}

[data-theme="dark"] input::placeholder,
[data-theme="dark"] textarea::placeholder {
    color: var(--text-gray);
}

/* Cartes produit */
[data-theme="dark"] .product-card:hover .product-info {
    border-left-color: var(--bleu-atlantique);
}

/* Art label (Ã©tiquette flottante sur le hero) */
[data-theme="dark"] .art-label {
    background: var(--surface-card);
    color: var(--text-dark);
}

/* Section "About" */
[data-theme="dark"] .about-section {
    background-color: var(--surface-page);
}

/* Footer */
[data-theme="dark"] .footer-bottom {
    border-top-color: var(--border-subtle);
    color: var(--text-gray);
}

/* RÃ©sumÃ© checkout */
[data-theme="dark"] .summary-row.total {
    color: var(--text-dark);
}

/* Formulaire contact */
[data-theme="dark"] .contact-form-section {
    background: var(--surface-card);
    border-color: var(--border-color);
}

/* Manifesto atelier */
[data-theme="dark"] .atelier-manifesto {
    background-color: var(--surface-page);
}

/* CTA box atelier */
/* ==========================================================================
   10. WISHLIST / FAVORIS (CARNET DE DÃ‰SIRS)
   ========================================================================== */

.wishlist-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    color: var(--text-gray);
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 4px 12px rgba(20, 40, 60, 0.08);
}

.wishlist-btn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), fill 0.3s ease;
}

.wishlist-btn:hover {
    transform: scale(1.1);
    background: white;
    color: var(--sable-rose);
}

.wishlist-btn.active {
    background: white;
    color: var(--sable-rose);
    border-color: var(--sable-rose);
}

.wishlist-btn.active svg {
    fill: var(--sable-rose);
    transform: scale(1.2);
    animation: heartPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes heartPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1.2); }
}

/* IntÃ©gration dans les cartes existantes */
.product-image, .art-visual {
    position: relative;
    overflow: hidden;
}

/* Support Dark Mode pour les boutons favoris */
[data-theme="dark"] .wishlist-btn {
    background: rgba(20, 25, 35, 0.7);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-gray);
}

[data-theme="dark"] .wishlist-btn:hover,
[data-theme="dark"] .wishlist-btn.active {
    background: var(--surface-card);
    color: var(--sable-rose);
}

/* Sidebar dashboard */
[data-theme="dark"] .dashboard-sidebar {
    border-right-color: var(--border-color);
}

/* Boutons outline */
[data-theme="dark"] .btn-outline {
    color: var(--bleu-atlantique);
    border-color: var(--bleu-atlantique);
}

/* ==========================================================================
   SIDE-CART â€” Panier glissant global
   ========================================================================== */

.side-cart {
    position: fixed;
    top: 0;
    right: 0;
    width: 420px;
    max-width: 100vw;
    height: 100vh;
    background: var(--surface-card);
    border-left: 1px solid var(--border-color);
    z-index: 3000;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: -20px 0 60px rgba(20, 60, 90, 0.08);
}

.side-cart.open {
    transform: translateX(0);
}

/* Fond semi-transparent */
.cart-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(20, 40, 60, 0.25);
    backdrop-filter: blur(4px);
    z-index: 2999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.cart-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

/* --- En-tÃªte --- */
.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
}

.cart-title {
    font-family: var(--serif-font);
    font-size: 1.3rem;
    color: var(--bleu-atlantique);
    font-weight: 400;
}

.cart-close-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-gray);
    padding: 0.3rem;
    transition: color 0.3s, transform 0.3s;
}

.cart-close-btn:hover {
    color: var(--bleu-atlantique);
    transform: rotate(90deg);
}

/* --- Liste des articles --- */
.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cart-items::-webkit-scrollbar {
    width: 3px;
}

.cart-items::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 2px;
}

.empty-msg {
    color: var(--text-gray);
    font-size: 0.85rem;
    font-style: italic;
    text-align: center;
    margin-top: 3rem;
}

/* --- Carte article --- */
.cart-item {
    display: grid;
    grid-template-columns: 70px 1fr auto;
    gap: 1rem;
    align-items: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
    animation: fadeInText 0.4s ease forwards;
}

.cart-item img {
    width: 70px;
    height: 90px;
    object-fit: cover;
    filter: sepia(5%);
}

.cart-item-info h4 {
    font-family: var(--serif-font);
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
    font-weight: 400;
}

.cart-item-price {
    font-size: 0.8rem;
    color: var(--bleu-atlantique);
    display: block;
    margin-bottom: 0.6rem;
}

/* ContrÃ´les quantitÃ© */
.qty-controls {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.qty-btn {
    width: 22px;
    height: 22px;
    background: none;
    border: 1px solid var(--border-color);
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1;
    color: var(--text-gray);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    border-color: var(--bleu-atlantique);
    color: var(--bleu-atlantique);
}

.qty-val {
    font-size: 0.85rem;
    min-width: 20px;
    text-align: center;
    color: var(--text-dark);
}

.remove-item {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--border-color);
    transition: color 0.2s;
    line-height: 1;
    padding: 0 0.2rem;
}

.remove-item:hover {
    color: #c0392b;
}

/* --- Pied du panier --- */
.cart-footer {
    padding: 1.5rem 2rem 2rem;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 0.85rem;
    color: var(--text-gray);
}

.cart-total-row .total-amount {
    font-family: var(--serif-font);
    font-size: 1.4rem;
    color: var(--bleu-atlantique);
}

.cart-continue {
    background: none;
    border: none;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-gray);
    cursor: pointer;
    text-align: center;
    transition: color 0.3s;
}

.cart-continue:hover {
    color: var(--bleu-atlantique);
}

.cart-clear-btn {
    background: none;
    border: none;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--border-color);
    cursor: pointer;
    text-align: center;
    transition: color 0.3s;
}

.cart-clear-btn:hover {
    color: #c0392b;
}

/* --- Badge panier dans la navbar --- */
.cart-badge {
    position: absolute;
    top: -4px;
    right: -6px;
    width: 18px;
    height: 18px;
    background: var(--sable-rose);
    color: white;
    border-radius: 50%;
    font-size: 0.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    transition: transform 0.2s ease;
    opacity: 0;
    box-shadow: 0 2px 5px rgba(200, 147, 122, 0.3);
}

.cart-badge.has-items {
    opacity: 1;
    animation: pop 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

@keyframes pop {
    0% {
        transform: scale(0.5);
    }

    70% {
        transform: scale(1.2);
    }

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

/* --- Dark mode --- */
[data-theme="dark"] .side-cart {
    background: var(--surface-card);
    border-left-color: var(--border-color);
}

[data-theme="dark"] .cart-backdrop {
    background: rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .cart-badge {
    border-color: var(--ecume-white);
}

/* --- Responsive Globale --- */
@media (max-width: 1024px) {
    .nav-links { gap: 1.5rem; }
    .nav-logo span { display: none; } /* On garde juste le logo SVG sur tablette/mobile */
}

@media (max-width: 768px) {
    .navbar { padding: 0.5rem 5%; height: 60px; }
    .nav-links { display: none; } /* En attendant un menu burger, on les cache pour Ã©viter le chevauchement */
    .actions-bottom { gap: 1rem; }
}

@media (max-width: 480px) {
    .side-cart { width: 100vw; }
    .nav-user-pill { min-width: auto; padding: 0.35rem 0.6rem; }
    .pill-email { display: none; } /* On cache l'email sur mobile, on garde juste le point vert */
}

/* ==========================================================================
   NAV USER PILL â€” AffichÃ© sur toutes les pages pour l'utilisateur connectÃ©
   ========================================================================== */
.nav-user-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--surface-card);
    animation: fadeInText 0.6s ease forwards;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    overflow: hidden;
    min-width: 140px; /* Ã‰vite les sauts de largeur */
}

.nav-user-pill:hover {
    background: #c0392b;
    border-color: #c0392b;
    box-shadow: 0 4px 12px rgba(192, 57, 43, 0.2);
}

.pill-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #2ecc71;
    animation: pulse-green 2s infinite;
    flex-shrink: 0;
    transition: background 0.3s ease;
    z-index: 2;
}

.nav-user-pill:hover .pill-dot {
    background: white;
    animation: none;
}

.pill-email {
    font-size: 0.65rem;
    letter-spacing: 0.05em;
    color: var(--text-gray);
    white-space: nowrap;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.3s ease-in-out;
}

.pill-logout {
    position: absolute;
    left: 2.1rem;
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: white;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    white-space: nowrap;
}

.nav-user-pill:hover .pill-email {
    opacity: 0;
    transform: translateY(-10px);
}

.nav-user-pill:hover .pill-logout {
    opacity: 1;
    transform: translateY(0);
}

[data-theme="dark"] .nav-user-pill {
    background: var(--surface-card);
    border-color: var(--border-color);
}

/* ==========================================================================
   SECTION CTA â€” IsolÃ©e / supprimable sans impact sur le reste
   ========================================================================== */
.cta-strip {
    background-color: var(--bleu-atlantique);
    padding: 8rem 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-strip-inner {
    max-width: 680px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-eyebrow {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 2rem;
}

.cta-title {
    font-family: var(--serif-font);
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    color: white;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.cta-title em {
    font-style: italic;
    color: var(--sable-rose);
}

.cta-subtitle {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 460px;
    margin: 0 auto 3rem;
}

.cta-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-light {
    background: white;
    color: var(--bleu-atlantique);
    border-color: white;
}

.btn-light:hover {
    background: var(--sable-rose);
    border-color: var(--sable-rose);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
    border-color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

/* Dark mode : CTA reste bleu profond */
[data-theme="dark"] .cta-strip {
    background-color: #0F2D44;
}

[data-theme="dark"] .hero-wave-separator path {
    fill: var(--surface-page);
}
/* ==========================================================================
   EDITION PICKER MODAL
   ========================================================================== */

#edition-picker-overlay {
    z-index: 2100;
}

.ep-panel {
    background: var(--surface-card);
    width: 100%;
    max-width: 520px;
    border-radius: 3px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 40px 80px rgba(0,0,0,0.18);
    animation: epSlideIn 0.4s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

@keyframes epSlideIn {
    from { opacity: 0; transform: translateY(24px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.ep-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-gray);
    opacity: 0.5;
    transition: opacity 0.2s;
    z-index: 2;
    padding: 4px;
}
.ep-close-btn:hover { opacity: 1; }

/* --- AperÃ§u de l'Å“uvre --- */
.ep-artwork-preview {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.6rem 1.8rem;
    background: var(--surface-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.ep-artwork-preview img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
    filter: sepia(6%);
    outline: 1px solid rgba(20,60,90,0.12);
    outline-offset: 3px;
}

.ep-collection {
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--text-gray);
    opacity: 0.5;
    margin-bottom: 0.3rem;
}

.ep-title {
    font-family: var(--serif-font);
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 0.2rem;
}

.ep-specs {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-gray);
    opacity: 0.5;
}

/* --- SÃ©parateur --- */
.ep-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.8rem 0.6rem;
}

.ep-divider span {
    font-size: 0.58rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--text-gray);
    opacity: 0.45;
    white-space: nowrap;
}

.ep-divider::before,
.ep-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-subtle);
}

/* --- Options --- */
.ep-options {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 0.6rem 1.8rem 1.4rem;
}

.ep-option {
    cursor: pointer;
    display: block;
}

.ep-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ep-option__body {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--border-subtle);
    border-radius: 3px;
    background: var(--surface-card);
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

/* IcÃ´ne de sÃ©lection */
.ep-option__check {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: var(--border-color);
    transition: color 0.2s ease;
    margin-left: auto;
}

.ep-option__check svg { width: 100%; height: 100%; }

.ep-option__left {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.ep-option__badge {
    display: inline-block;
    font-size: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    padding: 2px 8px;
    border-radius: 2px;
    width: fit-content;
    background: linear-gradient(135deg, #FFF8E7, #FFF3D0);
    color: #B8860B;
    border: 1px solid rgba(184,134,11,0.2);
}

.ep-option__badge--copie {
    background: rgba(20,60,90,0.05);
    color: var(--bleu-atlantique);
    border-color: rgba(20,60,90,0.12);
}

.ep-option__title {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-dark);
    font-weight: 600;
}

.ep-option__sub {
    font-size: 0.58rem;
    color: var(--text-gray);
    opacity: 0.6;
    letter-spacing: 0.04em;
}

.ep-option__right { flex-shrink: 0; }

.ep-option__price {
    font-family: var(--serif-font);
    font-size: 1.15rem;
    color: var(--text-gray);
    transition: color 0.2s ease;
}

/* --- SÃ‰LECTIONNÃ‰ : original --- */
.ep-option--original input:checked ~ .ep-option__body {
    border-color: rgba(184,134,11,0.4);
    background: linear-gradient(135deg, #FFFDF5, #FFF9E8);
    box-shadow: 0 4px 16px rgba(184,134,11,0.08), inset 3px 0 0 #D4AF37;
}

.ep-option--original input:checked ~ .ep-option__body .ep-option__price {
    color: #B8860B;
}

.ep-option--original input:checked ~ .ep-option__body .ep-option__check {
    color: #B8860B;
}

/* --- SÃ‰LECTIONNÃ‰ : copie --- */
.ep-option--copie input:checked ~ .ep-option__body {
    border-color: rgba(20,60,90,0.3);
    background: rgba(20,60,90,0.03);
    box-shadow: inset 3px 0 0 var(--bleu-atlantique);
}

.ep-option--copie input:checked ~ .ep-option__body .ep-option__price {
    color: var(--bleu-atlantique);
}

.ep-option--copie input:checked ~ .ep-option__body .ep-option__check {
    color: var(--bleu-atlantique);
}

/* Survol */
.ep-option--original:hover .ep-option__body { border-color: rgba(184,134,11,0.25); }
.ep-option--copie:hover    .ep-option__body { border-color: rgba(20,60,90,0.2); }

/* --- Bouton confirmer --- */
.ep-confirm-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    width: calc(100% - 3.6rem);
    margin: 0 1.8rem 1.8rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #1A4A70 0%, #143C5A 100%);
    color: white;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    font-family: var(--sans-font);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 20px rgba(20,60,90,0.25);
}

.ep-confirm-btn:hover {
    background: linear-gradient(135deg, #1F5580 0%, #1A4A70 100%);
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(20,60,90,0.35);
}

/* Variante copie â€” moins d'emphase */
.ep-confirm-btn--copie {
    background: linear-gradient(135deg, #4A6070 0%, #3A4E5A 100%);
    box-shadow: 0 6px 20px rgba(20,60,90,0.12);
}

.ep-confirm-btn--copie:hover {
    background: linear-gradient(135deg, #5A7080 0%, #4A6070 100%);
}

/* --- Dark mode --- */
[data-theme="dark"] .ep-panel {
    background: var(--surface-card);
}

[data-theme="dark"] .ep-artwork-preview {
    background: var(--surface-subtle);
    border-bottom-color: var(--border-color);
}

[data-theme="dark"] .ep-option__body {
    background: var(--surface-card);
    border-color: var(--border-color);
}

[data-theme="dark"] .ep-option--original input:checked ~ .ep-option__body {
    background: rgba(212,175,55,0.07);
}

[data-theme="dark"] .ep-option--copie input:checked ~ .ep-option__body {
    background: rgba(91,170,220,0.07);
}

/* ==========================================================================
   PRIX "Ã€ PARTIR DE" â€” partagÃ© index + oeuvres
   ========================================================================== */
.art-price-row {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    margin-top: 0.4rem;
    flex-wrap: wrap;
}

.art-price-from {
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-gray);
    opacity: 0.5;
}

.art-price-original-hint {
    font-size: 0.6rem;
    color: #B8860B;
    opacity: 0.7;
    letter-spacing: 0.05em;
    font-style: italic;
    margin-left: auto;
}
/* ==========================================================================
   FOOTER — DESIGN SIGNATURE COMPACT
   ========================================================================== */
.main-footer {
    background-color: var(--sand-light);
    padding: 3rem 5% 2rem;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
    color: var(--text-dark);
}

[data-theme="dark"] .main-footer {
    background-color: var(--sand-light); 
    border-top-color: var(--bleu-atlantique);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-brand h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    font-weight: 300;
    letter-spacing: -0.02em;
    color: var(--bleu-atlantique);
}

.footer-brand p {
    font-family: var(--serif-font);
    font-style: italic;
    font-size: 0.95rem;
    color: var(--text-gray);
    max-width: 280px;
    line-height: 1.5;
}

.footer-links h4 {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    color: var(--bleu-atlantique);
    margin-bottom: 1.5rem;
    font-weight: 600;
    opacity: 0.5;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a, .social-icons a {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 4px;
    transition: var(--transition);
}

.footer-links a::after, .social-icons a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--sable-rose);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--bleu-atlantique);
    padding-left: 8px;
}

.footer-links a:hover::after, .social-icons a:hover::after {
    width: 100%;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-gray);
    opacity: 0.5;
}
