/* ============================================================
   styles.css — Boutique Vintage Exemple (Frontend)
   Démo vitrine Xolarix · Thème vintage marron/beige
   ============================================================ */

/* ── Reset & Variables ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --brown:       #8B4513;
    --brown-mid:   #D2691E;
    --brown-light: #CD853F;
    --cream:       #F5F0E8;
    --beige:       #EDE0CE;
    --text:        #2C1810;
    --text-muted:  #7A6255;
    --white:       #FFFDF9;
    --border:      #DDD0BC;
    --shadow-sm:   0 2px 8px rgba(44,24,16,.08);
    --shadow-md:   0 4px 20px rgba(44,24,16,.12);
    --radius:      10px;
    --radius-lg:   16px;
    --container:   1140px;
    --nav-height:  68px;
    --banner-h:    40px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background: var(--cream);
    color: var(--text);
    line-height: 1.65;
    font-size: 1rem;
    /* espace pour le bandeau démo fixé */
    padding-top: var(--banner-h);
}

a { color: var(--brown); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

/* ── Container ──────────────────────────────────────────────────────────── */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ── Utilitaires ────────────────────────────────────────────────────────── */
.mt-sm { margin-top: 0.5rem; }

/* ── Boutons ────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.7rem 1.5rem;
    border-radius: var(--radius);
    font-family: inherit;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}
.btn:hover { text-decoration: none; }

.btn--primary {
    background: var(--brown);
    color: #fff;
    border-color: var(--brown);
}
.btn--primary:hover {
    background: var(--brown-mid);
    border-color: var(--brown-mid);
    color: #fff;
}

.btn--outline {
    background: transparent;
    color: var(--brown);
    border-color: var(--brown);
}
.btn--outline:hover {
    background: var(--brown);
    color: #fff;
}

.btn--sm { padding: 0.45rem 1rem; font-size: 0.85rem; }
.btn--full { width: 100%; justify-content: center; }

/* ── Header ─────────────────────────────────────────────────────────────── */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: var(--banner-h);
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.site-header__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.25rem;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.site-header__brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    min-width: 0;
    flex-shrink: 1;
}
.site-header__brand:hover { text-decoration: none; }

.site-header__icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.site-header__name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--brown);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.site-header__tagline {
    font-size: 0.72rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Navigation desktop ─────────────────────────────────────────────────── */
.site-nav {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.site-nav__link {
    padding: 0.45rem 0.9rem;
    border-radius: var(--radius);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.15s;
    white-space: nowrap;
}
.site-nav__link:hover {
    background: var(--beige);
    color: var(--brown);
    text-decoration: none;
}
.site-nav__link--active {
    background: var(--brown);
    color: #fff;
}
.site-nav__link--active:hover {
    background: var(--brown-mid);
    color: #fff;
}

/* ── Burger mobile ──────────────────────────────────────────────────────── */
.nav-toggle {
    display: none;
    background: none;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 0.4rem 0.7rem;
    font-size: 1.1rem;
    cursor: pointer;
    color: var(--brown);
    flex-shrink: 0;
}

.site-nav--mobile {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem 1.25rem 1rem;
    background: var(--white);
    border-top: 1px solid var(--border);
}
.site-nav--mobile.open { display: flex; }

.site-nav--mobile .site-nav__link {
    padding: 0.65rem 1rem;
    font-size: 0.95rem;
}

/* ── Main ───────────────────────────────────────────────────────────────── */
.page-main {
    min-height: 60vh;
}

/* ── Hero (accueil) ─────────────────────────────────────────────────────── */
.hero {
    background: linear-gradient(135deg, var(--brown) 0%, var(--brown-mid) 60%, var(--brown-light) 100%);
    color: #fff;
    padding: 4rem 0 4.5rem;
    text-align: center;
}

.hero h1 {
    font-size: clamp(1.8rem, 5vw, 3rem);
    line-height: 1.2;
    margin-bottom: 1rem;
}
.hero__highlight { opacity: 0.92; }

.hero__lead {
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto 2rem;
    opacity: 0.9;
    line-height: 1.7;
}

.hero__cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero .btn--outline {
    border-color: rgba(255,255,255,0.7);
    color: #fff;
}
.hero .btn--outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
    color: #fff;
}

/* ── Section title ──────────────────────────────────────────────────────── */
.section-title {
    font-size: 1.8rem;
    color: var(--brown);
    text-align: center;
    margin-bottom: 2.5rem;
}

/* ── Collections (accueil) ──────────────────────────────────────────────── */
.collections {
    padding: 4rem 0;
    background: var(--white);
}

.collections__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.collection-card {
    display: block;
    background: var(--cream);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}
.collection-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    text-decoration: none;
}

.collection-card__img {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--beige);
    position: relative;
}
.collection-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.collection-card:hover .collection-card__img img {
    transform: scale(1.04);
}
.collection-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background: var(--beige);
}

.collection-card__body {
    padding: 1.1rem 1.25rem;
}
.collection-card__body h3 {
    font-size: 1.15rem;
    color: var(--brown);
    margin-bottom: 0.25rem;
}
.collection-card__body p {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.collection-card__count {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    background: var(--beige);
    border-radius: 99px;
    padding: 0.15rem 0.6rem;
}

/* ── About strip (accueil) ──────────────────────────────────────────────── */
.about-strip {
    padding: 3.5rem 0;
    background: var(--cream);
}

.about-strip__content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-strip__content h2 {
    font-size: 1.6rem;
    color: var(--brown);
    margin-bottom: 0.9rem;
}

.about-strip__content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.75;
}

.about-strip__info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.info-item span:first-child { flex-shrink: 0; font-size: 1rem; }

/* ── Page hero (galeries, contact) ─────────────────────────────────────── */
.page-hero {
    background: linear-gradient(135deg, var(--brown) 0%, var(--brown-mid) 100%);
    color: #fff;
    padding: 3rem 0 3.5rem;
    text-align: center;
}
.page-hero--small { padding: 2.25rem 0 2.75rem; }

.page-hero h1 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    margin-bottom: 0.6rem;
}
.page-hero p {
    font-size: 1rem;
    opacity: 0.88;
    max-width: 520px;
    margin: 0 auto;
}

/* ── Galerie section ────────────────────────────────────────────────────── */
.galerie-section {
    padding: 3rem 0 4rem;
}

.galerie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 1.25rem;
}

.galerie-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--beige);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
    aspect-ratio: 4/3;
}
.galerie-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.galerie-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.galerie-empty {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--text-muted);
}
.galerie-empty p:first-child { font-size: 3rem; margin-bottom: 0.5rem; }

.galerie-admin-cta {
    text-align: center;
    margin-top: 2.5rem;
}

/* ── Contact ────────────────────────────────────────────────────────────── */
.contact-section {
    padding: 3rem 0 4rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

.contact-info h2,
.contact-form-wrap h2 {
    font-size: 1.4rem;
    color: var(--brown);
    margin-bottom: 1.25rem;
}

.contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}
.contact-list__icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}
.contact-list a { color: var(--brown); }

.contact-map-placeholder {
    background: var(--beige);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.demo-notice-form {
    background: #FEF3C7;
    border: 1px solid #F59E0B;
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    color: #92400E;
    margin-bottom: 1.25rem;
}

/* ── Formulaire contact ─────────────────────────────────────────────────── */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text);
    background: var(--white);
    transition: border-color 0.15s;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--brown);
}
.form-group textarea { resize: vertical; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer {
    background: var(--brown);
    color: rgba(255,255,255,0.85);
    padding: 2.5rem 0;
    font-size: 0.88rem;
    margin-top: 0;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.site-footer strong { color: #fff; font-size: 0.95rem; }

.site-footer p {
    margin-top: 0.35rem;
    line-height: 1.6;
}

.site-footer__demo {
    text-align: right;
}
.site-footer__demo a {
    color: rgba(255,255,255,0.9);
    text-decoration: underline;
}
.site-footer__demo a:hover { color: #fff; }

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .collections__grid {
        grid-template-columns: 1fr 1fr;
    }
    .about-strip__content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .site-footer__grid {
        grid-template-columns: 1fr;
    }
    .site-footer__demo { text-align: left; }
}

@media (max-width: 640px) {
    :root { --nav-height: 60px; }

    /* Header : masquer tagline, nav desktop et toggles */
    .site-header__tagline { display: none; }
    .site-nav { display: none; }
    .nav-toggle { display: block; }
    .theme-toggle { display: none; }

    .hero { padding: 2.5rem 0 3rem; }
    .hero__lead { font-size: 0.95rem; }
    .hero__cta { flex-direction: column; align-items: center; }
    .hero .btn { width: 100%; max-width: 280px; justify-content: center; }

    .collections { padding: 2.5rem 0; }
    .collections__grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Galerie mobile : 2 colonnes */
    .galerie-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .about-strip { padding: 2.5rem 0; }

    .contact-section { padding: 2rem 0 3rem; }

    .section-title { font-size: 1.5rem; }
}

@media (max-width: 380px) {
    .galerie-grid { grid-template-columns: 1fr; }
}

/* ── Toggles dans le menu mobile ────────────────────────────── */
.mobile-toggles {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem 0 0.25rem;
    border-top: 1px solid var(--border);
    margin-top: 0.25rem;
}
.mobile-toggle-btn {
    flex: 1;
    background: var(--beige);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.5rem;
    font-size: 0.85rem;
    font-family: inherit;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}
.mobile-toggle-btn:hover {
    background: var(--brown);
    color: #fff;
    border-color: var(--brown);
}
/* Desktop : cacher les toggles mobiles */
@media (min-width: 641px) {
    .mobile-toggles { display: none; }
}

/* ── Admin link — mobile/desktop ────────────────────────────── */
/* Dans le menu burger (mobile) */
.site-nav--mobile .admin-link-mobile {
    margin-top: 0.5rem;
    padding-top: 1rem !important;
    border-top: 1px solid var(--border) !important;
    border-bottom: none !important;
    font-size: 0.85rem !important;
    opacity: 0.4;
    color: var(--text-muted) !important;
    background: transparent !important;
}
.site-nav--mobile .admin-link-mobile:hover,
.site-nav--mobile .admin-link-mobile:active {
    opacity: 1;
    background: var(--beige) !important;
    color: var(--brown) !important;
}

/* Desktop : cacher le lien admin du menu burger */
@media (min-width: 641px) {
    .admin-link-mobile { display: none; }
    .admin-link-desktop { opacity: 0.4; transition: opacity 0.2s; }
    .admin-link-desktop:hover { opacity: 1; }
}

/* Mobile : cacher le lien admin du footer */
@media (max-width: 640px) {
    .admin-link-desktop { display: none; }
}

/* ── Bouton toggle light/dark ────────────────────────────────────────────── */
.theme-toggle {
    background: none;
    border: 1.5px solid var(--border);
    border-radius: 99px;
    padding: 0.3rem 0.7rem;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.2s;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
}
.theme-toggle:hover {
    background: var(--beige);
    border-color: var(--brown);
    color: var(--brown);
}

/* ── Dark mode ───────────────────────────────────────────────────────────── */
html[data-theme="dark"] {
    /* Accents éclairés → lisibles sur fonds sombres */
    --brown:       #CD853F;   /* était #8B4513 — illisible sur fond sombre */
    --brown-mid:   #E8924A;   /* était #D2691E */
    --brown-light: #F0B070;   /* était #CD853F */
    --cream:       #1C1208;
    --beige:       #2A1A0E;
    --text:        #F0E0C8;
    --text-muted:  #C9A882;
    --white:       #231510;
    --border:      #3D2A18;
    --shadow-sm:   0 2px 8px rgba(0,0,0,.35);
    --shadow-md:   0 4px 20px rgba(0,0,0,.5);
}

/* Footer : conserver un fond sombre même avec --brown éclairci */
html[data-theme="dark"] .site-footer {
    background: #1A0C04;
}

/* Adapter les éléments hardcodés (non-variables) en dark */
html[data-theme="dark"] .demo-notice-form {
    background: #3B2A00;
    border-color: #8B6914;
    color: #F0C060;
}
html[data-theme="dark"] .galerie-section {
    background: var(--cream);
}

/* ── Thème Moderne — style horeca/services ───────────────────────────────── */
html[data-style="moderne"] {
    /* Palette : noir profond + teal vibrant */
    --brown:       #0D1117;   /* quasi-noir → hero, nav active, boutons */
    --brown-mid:   #0D9488;   /* teal → accents, hover */
    --brown-light: #14B8A6;   /* teal clair */
    --cream:       #FFFFFF;   /* fond principal blanc pur */
    --beige:       #F8FAFC;   /* fond secondaire très léger */
    --text:        #0D1117;
    --text-muted:  #64748B;
    --white:       #FFFFFF;
    --border:      #E2E8F0;
    --shadow-sm:   0 1px 4px rgba(0,0,0,.08);
    --shadow-md:   0 6px 30px rgba(0,0,0,.12);
    --radius:      4px;       /* angles plus droits = look moderne */
    --radius-lg:   8px;
}

/* Polices sans-serif partout */
html[data-style="moderne"] body,
html[data-style="moderne"] h1, html[data-style="moderne"] h2, html[data-style="moderne"] h3,
html[data-style="moderne"] .btn, html[data-style="moderne"] .site-nav__link {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Hero : fond sombre dramatique avec ligne accent */
html[data-style="moderne"] .hero {
    background: linear-gradient(150deg, #0D1117 0%, #0D2B29 60%, #0D3D37 100%);
    border-bottom: 3px solid var(--brown-mid);
}

/* Page hero (galeries) */
html[data-style="moderne"] .page-hero {
    background: linear-gradient(150deg, #0D1117 0%, #0A2B28 100%);
    border-bottom: 3px solid var(--brown-mid);
}

/* Section title : uppercase + accent */
html[data-style="moderne"] .section-title {
    font-size: 1.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text);
}
html[data-style="moderne"] .section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--brown-mid);
    margin: 0.6rem auto 0;
}

/* Boutons rectangulaires, uppercase */
html[data-style="moderne"] .btn {
    border-radius: var(--radius);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.82rem;
    font-weight: 700;
}

/* ── Layout collections : cartes horizontales empilées ── */
html[data-style="moderne"] .collections__grid {
    grid-template-columns: 1fr;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

html[data-style="moderne"] .collection-card {
    display: flex;
    flex-direction: row;
    height: 180px;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--border);
    box-shadow: none;
}
html[data-style="moderne"] .collection-card:last-child {
    border-bottom: none;
}
html[data-style="moderne"] .collection-card:hover {
    background: var(--beige);
    box-shadow: none;
    transform: none;
}
html[data-style="moderne"] .collection-card:hover .collection-card__img img {
    transform: scale(1.06);
}

html[data-style="moderne"] .collection-card__img {
    width: 220px;
    flex-shrink: 0;
    aspect-ratio: unset;
    height: 100%;
    border-radius: 0;
}

html[data-style="moderne"] .collection-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.5rem 2rem;
    gap: 0.4rem;
}
html[data-style="moderne"] .collection-card__body h3 {
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text);
    margin-bottom: 0;
}
html[data-style="moderne"] .collection-card__body p {
    font-size: 0.9rem;
}
html[data-style="moderne"] .collection-card__count {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.7rem;
    margin-top: 0.75rem;
    width: fit-content;
}
/* Flèche →  sur les cartes modernes */
html[data-style="moderne"] .collection-card__body::after {
    content: '→';
    font-size: 1.3rem;
    color: var(--brown-mid);
    margin-top: 0.5rem;
    transition: transform 0.2s;
    width: fit-content;
}
html[data-style="moderne"] .collection-card:hover .collection-card__body::after {
    transform: translateX(6px);
}

/* ── Layout galerie : portfolio 2 colonnes ── */
html[data-style="moderne"] .galerie-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3px;
}
html[data-style="moderne"] .galerie-item {
    border-radius: 0;
    aspect-ratio: 1;
}
html[data-style="moderne"] .galerie-item:first-child {
    grid-column: span 2;
    aspect-ratio: 16/7;
}

/* ── Hero : pleine hauteur dramatique ── */
html[data-style="moderne"] .hero {
    min-height: 72vh;
    display: flex;
    align-items: center;
    text-align: center;
}
html[data-style="moderne"] .hero .container {
    width: 100%;
}
html[data-style="moderne"] .hero h1 {
    font-size: clamp(2.2rem, 6vw, 3.8rem);
    font-weight: 900;
    letter-spacing: -0.02em;
}
html[data-style="moderne"] .hero__lead {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
    opacity: 0.8;
}
html[data-style="moderne"] .hero__cta {
    justify-content: center;
    margin-top: 2.5rem;
}

/* ── About strip inversée : fond sombre, texte clair ── */
html[data-style="moderne"] .about-strip {
    background: #0D1117;
    color: rgba(255,255,255,0.85);
}
html[data-style="moderne"] .about-strip__content h2 {
    color: var(--brown-mid);
}
html[data-style="moderne"] .about-strip__content p {
    color: rgba(255,255,255,0.65);
}
html[data-style="moderne"] .about-strip__info {
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.12);
}
html[data-style="moderne"] .info-item {
    color: rgba(255,255,255,.6);
}

/* Header : ligne de fond plus visible */
html[data-style="moderne"] .site-header {
    border-bottom: 2px solid var(--border);
}
html[data-style="moderne"] .site-header__name {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* ── Page hero galerie : plus haute ── */
html[data-style="moderne"] .page-hero {
    padding: 4.5rem 0 5rem;
}
html[data-style="moderne"] .page-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.02em;
}

/* ── Mobile : revenir aux cartes verticales sous 500px ── */
@media (max-width: 500px) {
    html[data-style="moderne"] .collection-card {
        flex-direction: column;
        height: auto;
    }
    html[data-style="moderne"] .collection-card__img {
        width: 100%;
        height: 160px;
    }
    html[data-style="moderne"] .galerie-item:first-child {
        grid-column: span 1;
        aspect-ratio: 1;
    }
}

/* Boutons sur fonds sombres (hero + about-strip) en thème moderne */
html[data-style="moderne"] .hero .btn--primary,
html[data-style="moderne"] .about-strip .btn--primary {
    background: var(--brown-mid);
    border-color: var(--brown-mid);
    color: #fff;
}
html[data-style="moderne"] .hero .btn--primary:hover,
html[data-style="moderne"] .about-strip .btn--primary:hover {
    background: var(--brown-light);
    border-color: var(--brown-light);
    color: #fff;
}
/* Bouton outline dans le hero sombre */
html[data-style="moderne"] .hero .btn--outline {
    border-color: rgba(255,255,255,.55);
    color: #fff;
}
html[data-style="moderne"] .hero .btn--outline:hover {
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.8);
    color: #fff;
}

/* ── Dark + Moderne ──────────────────────────────────────────────────────── */
html[data-style="moderne"][data-theme="dark"] {
    /* Corriger la cascade : --brown/#0D1117 de [data-style] gagnerait sinon */
    --brown:       #0D9488;   /* teal visible sur fond sombre */
    --brown-mid:   #14B8A6;   /* teal clair */
    --brown-light: #2DD4BF;
    --cream:       #0D1117;
    --beige:       #161B22;
    --text:        #E6EDF3;
    --text-muted:  #8B949E;
    --white:       #161B22;
    --border:      #30363D;
    --shadow-sm:   0 1px 4px rgba(0,0,0,.4);
    --shadow-md:   0 6px 30px rgba(0,0,0,.5);
}

/* About-strip déjà sombre : ajuster en dark moderne */
html[data-style="moderne"][data-theme="dark"] .about-strip {
    background: #010409;
}
html[data-style="moderne"][data-theme="dark"] .collection-card {
    background: #161B22;
    box-shadow: 0 4px 16px rgba(0,0,0,.4);
}
html[data-style="moderne"][data-theme="dark"] .collection-card:hover {
    box-shadow: 0 8px 32px rgba(13,148,136,.25);
}
