/*
Theme Name: Encre Noire
Theme URI: https://example.com
Author: SBForge
Author URI: https://sbforge.fr
Description: Thème artistique pour salon de tatouage.
Version: 1.0
Text Domain: encre-noire
*/


/* =============================================
   VARIABLES & RESET
============================================= */
:root {
    --color-primary:   #C8A96E;
    --color-secondary: #1A1A1A;
    --color-accent:    #8B0000;
    --color-text:      #F0EDE8;
    --font-body:       'Cormorant Garamond', serif;
    --font-title:      'Bebas Neue', cursive;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    background: var(--color-secondary);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.7;
    overflow-x: hidden;
}

a { color: var(--color-primary); text-decoration: none; transition: opacity 0.3s; }
a:hover { opacity: 0.75; }

img { max-width: 100%; display: block; }

/* =============================================
   MENU
============================================= */
#site-menu {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    height: 60px;
    background: rgba(10,10,10,0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(200,169,110,0.2);
    transition: background 0.4s;
}

#site-menu .menu-logo {
    font-family: var(--font-title);
    font-size: 1.6rem;
    letter-spacing: 4px;
    color: var(--color-primary);
    text-transform: uppercase;
}

#site-menu nav ul {
    list-style: none;
    display: flex;
    gap: 36px;
}

#site-menu nav ul li a {
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-text);
    transition: color 0.3s;
}

#site-menu nav ul li a:hover { color: var(--color-primary); }

/* Hamburger mobile */
#menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 6px;
}
#menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--color-text);
    transition: all 0.3s;
}

/* =============================================
   SCROLL STACK — principe de superposition
   Chaque section a position:sticky + z-index croissant
   => effet calque qui recouvre le précédent
============================================= */
.stack-section {
    position: sticky;
    top: 0;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    will-change: transform;
}

/* Chaque section recouvre la précédente grâce au z-index */
.stack-section:nth-child(1) { z-index: 1; }
.stack-section:nth-child(2) { z-index: 2; }
.stack-section:nth-child(3) { z-index: 3; }
.stack-section:nth-child(4) { z-index: 4; }
.stack-section:nth-child(5) { z-index: 5; }
.stack-section:nth-child(6) { z-index: 6; }
.stack-section:nth-child(7) { z-index: 7; }

/* Conteneur qui donne la "hauteur de scroll" à chaque section */
.stack-wrapper {
    position: relative;
}

.stack-scene {
    height: 200vh; /* double hauteur = zone de scroll pour chaque effet */
}

/* =============================================
   HERO
============================================= */
#hero {
    background-color: #000;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.3) 0%,
        rgba(0,0,0,0.5) 60%,
        rgba(26,26,26,1) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px;
    opacity: 0;
    transform: translateY(40px);
    animation: heroReveal 1.4s cubic-bezier(0.22,1,0.36,1) 0.3s forwards;
}

@keyframes heroReveal {
    to { opacity: 1; transform: translateY(0); }
}

.hero-tagline {
    font-family: var(--font-body);
    font-size: 1rem;
    letter-spacing: 8px;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 20px;
    opacity: 0.9;
}

.hero-title {
    font-family: var(--font-title);
    font-size: clamp(4rem, 12vw, 10rem);
    line-height: 0.9;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--color-text);
    text-shadow: 0 0 80px rgba(200,169,110,0.3);
    margin-bottom: 30px;
}

.hero-sub {
    font-size: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(240,237,232,0.6);
    margin-bottom: 50px;
}

.hero-cta {
    display: inline-block;
    padding: 14px 44px;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    transition: background 0.3s, color 0.3s;
}
.hero-cta:hover {
    background: var(--color-primary);
    color: #000;
    opacity: 1;
}

.hero-scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.5;
    animation: heroReveal 1s 1.8s forwards, scrollBounce 2s 2.8s infinite;
}
.hero-scroll-hint span {
    font-size: 0.7rem;
    letter-spacing: 4px;
    text-transform: uppercase;
}
.hero-scroll-hint::after {
    content: '';
    display: block;
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--color-primary), transparent);
    animation: lineGrow 1.5s 2s infinite alternate;
}
@keyframes scrollBounce {
    0%,100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(8px); }
}
@keyframes lineGrow {
    from { height: 30px; opacity: 0.3; }
    to   { height: 60px; opacity: 0.9; }
}

/* =============================================
   SECTION — CARROUSEL ARTICLES
============================================= */
#carousel-section {
    background: var(--color-secondary);
    flex-direction: column;
    padding-top: 80px;
    clip-path: polygon(0 4vw, 100% 0, 100% 100%, 0 100%);
}

#carousel-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 10% 50%, rgba(200,169,110,0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 90% 50%, rgba(139,0,0,0.06) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.section-label {
    font-family: var(--font-title);
    font-size: 0.7rem;
    letter-spacing: 8px;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.section-title {
    font-family: var(--font-title);
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-text);
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.section-title span {
    color: var(--color-primary);
}

.carousel-wrap {
    width: 100%;
    position: relative;
    z-index: 1;
}

/* SLICK OVERRIDES */
.slick-carousel { padding: 0 !important; }

.carousel-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    margin: 0 8px !important;
    height: 420px;
    filter: grayscale(30%);
    transition: filter 0.5s, transform 0.5s;
}
.carousel-card:hover {
    filter: grayscale(0%);
    transform: scale(1.02);
    z-index: 2;
}

.card-thumb-link { display: block; width: 100%; height: 100%; }
.card-thumb-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s;
}
.carousel-card:hover .card-thumb-link img { transform: scale(1.06); }

.card-no-thumb {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #111 0%, #222 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    opacity: 0.3;
}
.card-no-thumb::after { content: '✦'; }

.card-title {
    position: absolute;
    top: 0; left: 0; right: 0;
    z-index: 5;
    padding: 16px 18px 40px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, transparent 100%);
}
.card-title a {
    color: var(--color-text);
    font-family: var(--font-title);
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

.card-body {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    z-index: 5;
    padding: 30px 18px 14px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
}
.card-body small {
    font-size: 0.72rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-primary);
    opacity: 0.8;
}

/* Slick arrows */
.slick-prev, .slick-next {
    width: 44px; height: 44px;
    background: rgba(200,169,110,0.15) !important;
    border: 1px solid rgba(200,169,110,0.4) !important;
    z-index: 10;
    transition: background 0.3s;
}
.slick-prev { left: 10px !important; }
.slick-next { right: 10px !important; }
.slick-prev:hover, .slick-next:hover { background: rgba(200,169,110,0.4) !important; }
.slick-prev::before, .slick-next::before { color: var(--color-primary) !important; font-size: 18px !important; }

/* =============================================
   SECTION — À PROPOS
============================================= */
#apropos {
    background: #0D0D0D;
    clip-path: polygon(0 0, 100% 4vw, 100% 100%, 0 calc(100% - 4vw));
    padding: 12vw 10%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

#apropos.no-image {
    grid-template-columns: 1fr;
}
#apropos.no-image .apropos-text {
    max-width: 820px;
    margin: 0 auto;
}

.apropos-text .section-label { text-align: left; }
.apropos-text .section-title { text-align: left; margin-bottom: 30px; }

.apropos-text p {
    color: rgba(240,237,232,0.75);
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 20px;
}

.apropos-text .btn-outline {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 36px;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    font-size: 0.8rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    transition: background 0.3s, color 0.3s;
}
.apropos-text .btn-outline:hover {
    background: var(--color-primary);
    color: #000;
    opacity: 1;
}

.apropos-image {
    position: relative;
}
.apropos-image img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    filter: grayscale(20%) contrast(1.05);
    transition: filter 0.6s;
}
.apropos-image:hover img { filter: grayscale(0%) contrast(1); }

.apropos-image::before {
    content: '';
    position: absolute;
    top: -16px; left: -16px;
    width: 100%; height: 100%;
    border: 1px solid rgba(200,169,110,0.3);
    z-index: -1;
    transition: transform 0.4s;
}
.apropos-image:hover::before { transform: translate(6px, 6px); }

/* =============================================
   SECTION — GALERIE ÉDITORIALE
============================================= */
#galerie {
    background: #111;
    flex-direction: column;
    padding: 10vw 5%;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 4vw), 0 100%);
}

.galerie-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 360px 240px;
    gap: 3px;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* Grande image en vedette — colonne 1, 2 rangées */
.galerie-item:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

/* Rangée 1 — 3 petites à droite */
.galerie-item:nth-child(2) { grid-column: 3; grid-row: 1; }
.galerie-item:nth-child(3) { grid-column: 4; grid-row: 1; }

/* Rangée 2 — 4 petites en bas */
.galerie-item:nth-child(4) { grid-column: 3; grid-row: 2; }
.galerie-item:nth-child(5) { grid-column: 4; grid-row: 2; }
.galerie-item:nth-child(6) { grid-column: 1; grid-row: 3; }
.galerie-item:nth-child(7) { grid-column: 2; grid-row: 3; }
.galerie-item:nth-child(8) { grid-column: 3 / 5; grid-row: 3; }

/* Ajoute une 3ème rangée auto pour les items 6-8 */
.galerie-grid {
    grid-template-rows: 360px 240px 240px;
}

.galerie-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    min-height: 0;
}

.galerie-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(40%);
    transition: filter 0.6s, transform 0.7s;
    display: block;
}
.galerie-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.06);
}

/* Overlay sombre au hover */
.galerie-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    transition: background 0.4s;
    z-index: 2;
}
.galerie-item:hover .galerie-item-overlay {
    background: rgba(0,0,0,0.5);
}

/* Label au hover */
.galerie-item-label {
    font-family: var(--font-title);
    font-size: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-primary);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s, transform 0.4s;
}
.galerie-item:hover .galerie-item-label {
    opacity: 1;
    transform: translateY(0);
}

/* Trait doré sur la grande image */
.galerie-item:nth-child(1)::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--color-primary);
    transition: width 0.6s cubic-bezier(0.4,0,0.2,1);
    z-index: 3;
}
.galerie-item:nth-child(1):hover::after { width: 100%; }

/* Label plus grand sur la vedette */
.galerie-item:nth-child(1) .galerie-item-label {
    font-size: 1.6rem;
    letter-spacing: 5px;
}

/* Placeholder si pas d'image */
.galerie-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #222 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    opacity: 0.25;
}

/* =============================================
   RESPONSIVE GALERIE
============================================= */
@media (max-width: 1100px) {
    .galerie-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: 300px 220px 220px 220px;
    }
    .galerie-item:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
    .galerie-item:nth-child(2) { grid-column: 1;     grid-row: 2; }
    .galerie-item:nth-child(3) { grid-column: 2;     grid-row: 2; }
    .galerie-item:nth-child(4) { grid-column: 1;     grid-row: 3; }
    .galerie-item:nth-child(5) { grid-column: 2;     grid-row: 3; }
    .galerie-item:nth-child(6) { grid-column: 1;     grid-row: 4; }
    .galerie-item:nth-child(7) { grid-column: 2;     grid-row: 4; }
    .galerie-item:nth-child(8) { grid-column: 1 / 3; grid-row: 5; }
}

@media (max-width: 600px) {
    .galerie-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(8, 240px);
    }
    .galerie-item:nth-child(1),
    .galerie-item:nth-child(8) { grid-column: 1; grid-row: auto; }
    .galerie-item { grid-column: 1 !important; grid-row: auto !important; }
}


/* =============================================
   SECTION — SERVICES (STYLES DE TATOUAGE)
============================================= */
#services {
    background: var(--color-secondary);
    flex-direction: column;
    padding: 10vw 8%;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    width: 100%;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(200,169,110,0.1);
}

.service-card {
    padding: 50px 36px;
    border: 1px solid rgba(200,169,110,0.08);
    transition: background 0.4s, border-color 0.4s;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.service-card::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 1px;
    background: var(--color-primary);
    transition: width 0.5s;
}
.service-card:hover::before { width: 100%; }
.service-card:hover {
    background: rgba(200,169,110,0.05);
    border-color: rgba(200,169,110,0.3);
}

.service-icon {
    font-size: 2.2rem;
    margin-bottom: 24px;
    display: block;
    filter: grayscale(30%);
    transition: filter 0.3s, transform 0.3s;
}
.service-card:hover .service-icon {
    filter: grayscale(0%);
    transform: scale(1.1) rotate(-5deg);
}

.service-card h3 {
    font-family: var(--font-title);
    font-size: 1.6rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-text);
    margin-bottom: 16px;
}

.service-card p {
    font-size: 0.95rem;
    color: rgba(240,237,232,0.6);
    line-height: 1.8;
    margin-bottom: 24px;
}

.service-link {
    font-size: 0.75rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-primary);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}
.service-link:hover { border-color: var(--color-primary); opacity: 1; }

/* =============================================
   SECTION — CONTACT
============================================= */
#contact {
    background: #080808;
    flex-direction: column;
    padding: 10vw 8%;
    clip-path: polygon(0 4vw, 100% 0, 100% 100%, 0 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    width: 100%;
    max-width: 1200px;
    position: relative;
    z-index: 1;
}

.contact-info .section-label { text-align: left; }
.contact-info .section-title { text-align: left; margin-bottom: 30px; }

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 28px;
}
.contact-detail-icon {
    font-size: 1.2rem;
    margin-top: 2px;
    color: var(--color-primary);
    min-width: 22px;
}
.contact-detail-text {
    font-size: 0.95rem;
    color: rgba(240,237,232,0.7);
    line-height: 1.7;
}
.contact-detail-text strong {
    display: block;
    color: var(--color-text);
    font-family: var(--font-title);
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: none;
    border-bottom: 1px solid rgba(200,169,110,0.3);
    padding: 14px 4px;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    margin-bottom: 28px;
    outline: none;
    transition: border-color 0.3s;
    -webkit-appearance: none;
}
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--color-primary);
    background: rgba(200,169,110,0.04);
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(240,237,232,0.3); font-size: 0.85rem; letter-spacing: 2px; }

.contact-form label {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(240,237,232,0.45);
    margin-bottom: 6px;
}

.contact-form .btn-submit {
    width: 100%;
    padding: 16px;
    background: transparent;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    font-family: var(--font-title);
    font-size: 1.1rem;
    letter-spacing: 6px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
    margin-top: 10px;
}
.contact-form .btn-submit:hover {
    background: var(--color-primary);
    color: #000;
}

/* =============================================
   FOOTER
============================================= */
#site-footer {
    background: #000;
    padding: 60px 8% 30px;
    position: relative;
    z-index: 10;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(200,169,110,0.1);
    margin-bottom: 30px;
}

.footer-brand .footer-logo {
    font-family: var(--font-title);
    font-size: 2rem;
    letter-spacing: 6px;
    color: var(--color-primary);
    text-transform: uppercase;
    display: block;
    margin-bottom: 16px;
}
.footer-brand p {
    font-size: 0.9rem;
    color: rgba(240,237,232,0.4);
    line-height: 1.7;
    max-width: 280px;
}

.footer-col h4 {
    font-family: var(--font-title);
    font-size: 0.75rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
    font-size: 0.9rem;
    color: rgba(240,237,232,0.5);
    transition: color 0.3s;
}
.footer-col ul li a:hover { color: var(--color-primary); opacity: 1; }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    color: rgba(240,237,232,0.25);
    letter-spacing: 2px;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-credits {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(240,237,232,0.25);
}

.footer-credits a {
    color: rgba(240,237,232,0.35);
    text-decoration: none;
    transition: color 0.3s;
    letter-spacing: 1px;
}

.footer-credits a:hover {
    color: var(--color-primary);
    opacity: 1;
}

/* Petite étincelle sur SBForge au hover */
.footer-credits a[href*="sbforge"]::before {
    content: '⚡ ';
    font-size: 0.7rem;
    opacity: 0;
    transition: opacity 0.3s;
}
.footer-credits a[href*="sbforge"]:hover::before {
    opacity: 1;
}

@media (max-width: 600px) {
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* =============================================
   ARTICLE READER OVERLAY
============================================= */
#article-reader {
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: #0A0A0A;
    display: flex;
    flex-direction: column;
    transition: opacity 0.5s cubic-bezier(0.4,0,0.2,1),
                transform 0.5s cubic-bezier(0.4,0,0.2,1);
    overflow: hidden;
}
#article-reader.reader-closed {
    opacity: 0;
    transform: translateY(60px);
    pointer-events: none;
}
#article-reader.reader-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.reader-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    height: 60px;
    background: rgba(0,0,0,0.9);
    border-bottom: 1px solid rgba(200,169,110,0.2);
    position: sticky;
    top: 0;
    z-index: 2;
    flex-shrink: 0;
}
.reader-bar button {
    background: none;
    border: 1px solid rgba(200,169,110,0.3);
    color: var(--color-primary);
    padding: 8px 20px;
    font-family: var(--font-title);
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s;
}
.reader-bar button:hover { background: rgba(200,169,110,0.15); border-color: var(--color-primary); }
.reader-bar button:disabled { opacity: 0.2; cursor: default; }

.reader-content {
    overflow-y: auto;
    flex: 1;
    padding: 0 0 80px;
}

.reader-header {
    position: relative;
    height: 55vh;
    overflow: hidden;
}
#reader-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5) grayscale(20%);
    display: block;
}
.reader-header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #0A0A0A 0%, transparent 50%);
}
.reader-header-meta {
    position: absolute;
    bottom: 40px;
    left: 8%;
    right: 8%;
    z-index: 2;
}
#reader-titre {
    font-family: var(--font-title);
    font-size: clamp(2rem, 5vw, 4rem);
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-text);
    line-height: 1.1;
    margin-bottom: 12px;
}
#reader-date {
    font-size: 0.78rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-primary);
}

#reader-body {
    padding: 50px 8%;
    max-width: 820px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.9;
    color: rgba(240,237,232,0.8);
}
#reader-body h1,
#reader-body h2,
#reader-body h3 {
    font-family: var(--font-title);
    color: var(--color-text);
    letter-spacing: 2px;
    margin: 40px 0 16px;
}
#reader-body p { margin-bottom: 20px; }
#reader-body img { width: 100%; margin: 30px 0; }

/* =============================================
   ANIMATIONS AU SCROLL (reveal)
============================================= */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.22,1,0.36,1),
                transform 0.8s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left  { opacity: 0; transform: translateX(-60px); transition: opacity 0.8s, transform 0.8s; }
.reveal-right { opacity: 0; transform: translateX(60px);  transition: opacity 0.8s, transform 0.8s; }
.reveal-left.visible,
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* Délais en cascade */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* =============================================
   NOISE TEXTURE OVERLAY (artistique)
============================================= */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 200px 200px;
}

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1100px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .galerie-grid  { grid-template-columns: repeat(2, 1fr); }
    .galerie-item:nth-child(1) { grid-column: span 2; min-height: 400px; }
    .galerie-item:nth-child(5) { grid-column: span 2; }
}

@media (max-width: 900px) {
    #apropos        { grid-template-columns: 1fr; gap: 40px; padding: 15vw 8%; }
    .contact-grid   { grid-template-columns: 1fr; gap: 50px; }
    .footer-top     { grid-template-columns: 1fr; gap: 40px; }
    .hero-title     { font-size: clamp(3rem, 14vw, 6rem); }
}

@media (max-width: 600px) {
    #site-menu nav ul { display: none; }
    #menu-toggle      { display: flex; }
    #site-menu nav.open ul {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 60px; left: 0; right: 0;
        background: rgba(0,0,0,0.97);
        padding: 30px 5%;
        gap: 20px;
        border-bottom: 1px solid rgba(200,169,110,0.2);
    }
    .services-grid { grid-template-columns: 1fr; }
    .galerie-grid  { grid-template-columns: 1fr; }
    .galerie-item:nth-child(1) { grid-column: span 1; min-height: 280px; }
    .galerie-item:nth-child(5) { grid-column: span 1; }
    #carousel-section { padding-left: 30px; padding-right: 30px; }
    .slick-prev { left: -25px !important; }
    .slick-next { right: -25px !important; }
}
