:root {
    --bg-body: #fdf8f6;
    --bg-section: #ffffff;
    --bg-soft-pink: #fdeff4;

    --text-main: #251824;
    --text-light: #4a3a46;

    --accent-pink: #d98aa0;
    --accent-gold: #c9a666;

    --shadow-soft: 0 14px 40px rgba(217, 138, 160, 0.22);
    --shadow-card: 0 8px 25px rgba(0, 0, 0, 0.05);

    /* NEW LOADER VARIABLES */
    --loader-size: 40px;
    --loader-color: var(--accent-pink);

    --font-title: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

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

body {
    background:
        radial-gradient(circle at 0% 0%, #ffe9f1 0%, transparent 55%),
        radial-gradient(circle at 100% 0%, #e8f8ff 0%, transparent 55%),
        radial-gradient(circle at 50% 100%, #fff6e0 0%, transparent 60%),
        var(--bg-body);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    font-size: 0.95rem;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* HEADER */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    position: fixed;
    width: 100%;
    top: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.9), transparent);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid rgba(201, 166, 102, 0.22);
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 50%;
    padding: 3px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    background: radial-gradient(circle at 0 0, #ffe4f0, #ffffff);
    transition: transform 0.3s ease;
    width: 65px;
    height: 65px;
}

.logo-wrapper:hover {
    transform: translateY(-2px);
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.logo-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent 0%, rgba(255, 255, 255, 0.85) 50%, transparent 100%);
    transform: skewX(-25deg);
    animation: shineLogo 5s infinite;
}

@keyframes shineLogo {
    0% {
        left: -150%;
    }

    20% {
        left: 150%;
    }

    100% {
        left: 150%;
    }
}

nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-main);
    position: relative;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: '';
    display: block;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-pink));
    transition: width 0.3s;
    margin: 0 auto;
}

.nav-links a:hover {
    color: var(--accent-pink);
}

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

/* CLOSE BUTTON (Mobile) */
.close-menu-btn {
    display: none;
    /* Hidden by default */
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-main);
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1002;
    padding: 10px;
    transition: transform 0.3s;
}

.close-menu-btn:hover {
    color: var(--accent-pink);
    transform: rotate(90deg);
}

/* --- CORRECTION 1 : Z-INDEX AJOUTÉ POUR L'ICÔNE --- */
.header-icons {
    display: flex;
    align-items: center;
    gap: 25px;
    color: var(--text-main);
    position: relative;
    z-index: 10;
}

.icon-bag {
    font-size: 1.3rem;
    cursor: pointer;
    transition: 0.3s;
    color: var(--accent-pink);
    position: relative;
    z-index: 5;
    /* Assure que le lien est au-dessus */
}

.icon-bag::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 999px;
    border: 1px solid rgba(217, 138, 160, 0.45);
    opacity: 0;
    transform: scale(0.7);
    transition: 0.3s;
    z-index: -1;
    /* L'effet passe derrière l'icône */
}

.icon-bag:hover {
    transform: translateY(-2px);
    color: var(--accent-gold);
}

.icon-bag:hover::after {
    opacity: 1;
    transform: scale(1);
}

.burger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.burger div {
    width: 25px;
    height: 2px;
    background-color: var(--text-main);
    margin: 5px;
    transition: all 0.3s ease;
}

.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 5px);
    background-color: var(--accent-pink);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -5px);
    background-color: var(--accent-pink);
}

/* HERO SECTION */
.hero {
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    background:
        radial-gradient(circle at 0% 0%, rgba(246, 216, 229, 0.9), transparent 65%),
        radial-gradient(circle at 100% 10%, rgba(221, 234, 252, 0.9), transparent 60%),
        linear-gradient(rgba(255, 255, 255, 0.6), rgba(253, 251, 247, 0.92)),
        url('../img/creation-vitrail-suncatcher-lumiere-reims.webp');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    /* Important for video containment */
}

/* HERO VIDEO BACKGROUND */
.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

/* Correction sélecteur video */
#hero-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    opacity: 0;
    /* Hidden until loaded */
    transition: opacity 1.5s ease;
}

#hero-bg-video.loaded {
    opacity: 1;
}

/* BLUR FILL ASTUCE (PC uniquement) */
@media screen and (min-width: 1024px) {
    .hero-video-wrapper::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /* On utilise l'image poster pour le flou d'arrière plan */
        background-image: url('../img/creation-vitrail-suncatcher-lumiere-reims.webp');
        background-size: cover;
        background-position: center;
        filter: blur(25px);
        transform: scale(1.1);
        /* Evite les bords blancs du blur */
        opacity: 0.6;
        z-index: -1;
    }
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    /* Leger voile pour contraste */
    z-index: 1;
}

.hero-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    transition: opacity 0.5s;
}

.spinner-border {
    width: var(--loader-size);
    height: var(--loader-size);
    border: 3px solid rgba(255, 255, 255, 0.5);
    border-top-color: var(--loader-color);
    border-radius: 50%;
    animation: spinHero 1s infinite linear;
}

@keyframes spinHero {
    to {
        transform: rotate(360deg);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    /* Au-dessus de la vidéo */
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (prefers-reduced-motion: reduce) {
    .hero-video-wrapper {
        display: none;
    }
}

.hero h1 {
    font-family: var(--font-title);
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    margin-top: 60px;
    color: #2b1727;
    text-shadow: 0 8px 30px rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 1;
}

.hero h1 .highlight {
    color: var(--accent-pink);
    font-style: italic;
    font-weight: 400;
}

.hero p {
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 40px;
    color: var(--text-main);
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.btn-main {
    padding: 16px 50px;
    background-image: linear-gradient(120deg, var(--accent-pink), var(--accent-gold));
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 16px 32px rgba(217, 138, 160, 0.45);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.2);
    position: relative;
    z-index: 1;
    text-decoration: none;
    display: inline-block;
}

.btn-main:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 40px rgba(201, 166, 102, 0.45);
}

/* BIO SECTION */
.bio-section {
    padding: 120px 10%;
    background: var(--bg-section);
    position: relative;
}

.bio-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background:
        radial-gradient(circle at 0 0, rgba(250, 224, 233, 0.85), transparent 60%),
        radial-gradient(circle at 100% 100%, rgba(230, 243, 255, 0.7), transparent 60%);
    opacity: 0.9;
    z-index: 0;
}

.bio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.scan-container {
    position: relative;
    width: 100%;
    padding-bottom: 125%;
    border-radius: 150px 150px 0 0;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
    background: radial-gradient(circle at top, #ffe3f0, #ffeef6);
}

.scan-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-bw {
    filter: grayscale(100%) contrast(1.1);
    z-index: 1;
}

.img-color {
    z-index: 2;
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    animation: balayage 6s ease-in-out infinite alternate;
}

.scan-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 2px;
    background: white;
    box-shadow: 0 0 10px white, 0 0 20px var(--accent-pink);
    z-index: 3;
    animation: balayageLine 6s ease-in-out infinite alternate;
    opacity: 0.8;
}

@keyframes balayage {
    0% {
        clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    }

    45% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    55% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    100% {
        clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    }
}

@keyframes balayageLine {
    0% {
        left: 0;
        opacity: 1;
    }

    45% {
        left: 100%;
        opacity: 0;
    }

    55% {
        left: 100%;
        opacity: 0;
    }

    100% {
        left: 0;
        opacity: 1;
    }
}

.bio-text h2 {
    font-family: var(--font-title);
    font-size: 2.8rem;
    margin-bottom: 30px;
    line-height: 1.2;
    color: #281824;
}

.bio-text h2 span {
    color: var(--accent-pink);
    font-style: italic;
}

.bio-text p {
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: var(--text-light);
}

.uzb-link {
    color: var(--accent-gold);
    font-weight: 600;
    border-bottom: 1px dotted var(--accent-gold);
}

.uzb-link:hover {
    color: var(--accent-pink);
    border-bottom-color: var(--accent-pink);
}

.award-box {
    margin-top: 30px;
    padding: 20px 25px;
    border: 1px solid rgba(201, 166, 102, 0.35);
    background: linear-gradient(90deg, #fff7e7, #ffe9f2);
    border-left: 4px solid var(--accent-gold);
    border-radius: 0 12px 12px 0;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.award-box:hover {
    transform: translateX(5px);
    background: rgba(255, 247, 231, 0.9);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.08);
    border-color: rgba(201, 166, 102, 0.7);
}

.award-icon {
    font-size: 2.2rem;
    color: var(--accent-gold);
    text-shadow: 0 0 12px rgba(201, 166, 102, 0.4);
}

.award-content h4 {
    font-family: var(--font-title);
    font-size: 1.1rem;
    color: #2a1a25;
    margin-bottom: 5px;
    font-weight: 700;
}

.award-content p {
    font-size: 0.85rem;
    margin: 0;
    color: var(--text-light);
    line-height: 1.4;
}

.award-year {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-pink);
    font-weight: 600;
    display: block;
    margin-bottom: 2px;
}

/* PHILOSOPHY */
.philosophy {
    padding: 80px 10%;
    text-align: center;
    background: linear-gradient(180deg, #fff8f3 0%, #fef4ff 50%, #fff9f3 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.8);
}

.philosophy h3 {
    font-family: var(--font-title);
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: #2d1727;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.philo-item {
    padding: 40px 20px;
    background: linear-gradient(145deg, #ffffff, #fff5f8);
    border-radius: 18px;
    box-shadow: var(--shadow-card);
    transition: 0.3s;
    border: 1px solid rgba(217, 204, 226, 0.6);
    position: relative;
    overflow: hidden;
}

.philo-item::after {
    content: '';
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle, rgba(217, 138, 160, 0.15), transparent 60%);
    opacity: 0;
    transition: 0.4s;
}

.philo-item:hover {
    transform: translateY(-10px);
    border-color: rgba(217, 138, 160, 0.7);
    box-shadow: 0 20px 40px rgba(217, 138, 160, 0.25);
}

.philo-item:hover::after {
    opacity: 1;
}

.philo-icon {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--accent-gold);
}

.philo-item h4 {
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
}

.philo-item p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* RESTAURATION (Refonte) */
.restauration {
    padding: 100px 5%;
    background-color: #fff9f5;
}

.restauration-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.resto-text h2 {
    font-family: var(--font-title);
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #2a1824;
}

.resto-text h2 span {
    color: var(--accent-gold);
    display: block;
    font-size: 0.7em;
    margin-top: 10px;
}

.resto-text p {
    font-size: 0.95rem;
    color: var(--text-light);
}

.zone-intervention {
    margin-top: 30px;
    padding: 20px;
    background: white;
    border-left: 3px solid var(--accent-pink);
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-radius: 0 12px 12px 0;
}

.zone-icon {
    font-size: 1.5rem;
    color: var(--accent-pink);
}

.zone-text h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-main);
    text-transform: uppercase;
    margin-bottom: 3px;
}

.zone-text p {
    font-size: 0.85rem;
    margin: 0;
    color: var(--text-light);
}

.slideshow-wrapper {
    padding: 15px;
    border: 1px solid var(--accent-gold);
    border-radius: 12px;
    background: white;
    box-shadow: var(--shadow-card);
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
    background: #f4f2f9;
    border-radius: 10px;
}

.slideshow-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 5s ease-out;
    filter: saturate(1.08);
    transform: scale(1.02);
}

.slideshow-container img.active {
    opacity: 1;
    transform: scale(1.06);
}

.slideshow-container img:first-child {
    opacity: 1;
}

/* STYLES SPÉCIFIQUES NOUVELLE RESTAURATION */
.artist-quote {
    font-family: var(--font-title);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--accent-pink);
    border-left: 3px solid var(--accent-gold);
    padding-left: 20px;
    margin: 20px 0;
    line-height: 1.4;
}

.text-link {
    color: var(--text-main);
    text-decoration: underline;
    text-decoration-color: var(--accent-gold);
    font-weight: 600;
}

.text-link:hover {
    color: var(--accent-pink);
    text-decoration-color: var(--accent-pink);
}

.skills-list {
    background: #fff;
    padding: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    margin: 25px 0;
    box-shadow: var(--shadow-card);
}

.skills-list h3 {
    font-size: 1rem;
    margin-bottom: 15px;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.skills-list ul li {
    list-style: none;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    font-size: 0.9rem;
    color: var(--text-light);
}

.skills-list ul li::before {
    content: '•';
    color: var(--accent-pink);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.project-highlight {
    background: var(--bg-soft-pink);
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 30px;
    border-left: 4px solid var(--text-main);
}

.project-highlight h4 {
    font-family: var(--font-title);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.project-highlight p {
    font-size: 0.9rem;
    margin: 0;
}

.slideshow-col {
    position: relative;
}

.img-caption {
    text-align: center;
    font-size: 0.8rem;
    color: #888;
    margin-top: 10px;
    font-style: italic;
}

/* SHOP VITRINE */
.shop {
    padding: 100px 5%;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header span {
    color: var(--accent-gold);
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.section-header h2 {
    font-family: var(--font-title);
    font-size: 3rem;
    margin-top: 10px;
    color: #2a1824;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.product-card {
    background: linear-gradient(145deg, #ffffff, #fff4f9);
    border-radius: 18px;
    overflow: hidden;
    transition: 0.4s ease;
    border: 1px solid rgba(233, 218, 240, 0.9);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at top, rgba(217, 138, 160, 0.18), transparent 70%);
    opacity: 0;
    transition: 0.4s;
    /* Pas de z-index ici, donc ça reste en fond */
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 45px rgba(217, 138, 160, 0.25);
}

.product-card:hover::before {
    opacity: 1;
}

.img-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background-color: #f9f4fb;
}

.img-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.product-card:hover .img-container img {
    transform: scale(1.05);
}

.img-back {
    opacity: 0;
    z-index: 2;
    transition: opacity 0.5s ease;
}

.img-front {
    opacity: 1;
    z-index: 1;
}

.img-container:hover .img-back {
    opacity: 1;
}

/* --- CORRECTION 2 : Z-INDEX AJOUTÉ POUR LES BOUTONS SHOP --- */
.product-info {
    padding: 30px 20px;
    text-align: center;
    position: relative;
    /* Nécessaire pour le z-index */
    z-index: 5;
    /* Place le texte et les boutons au-dessus du fond décoratif */
}

.category {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--accent-pink);
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: block;
}

.product-info h3 {
    font-family: var(--font-title);
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #271624;
}

.description {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.btn-add {
    padding: 12px 25px;
    background: transparent;
    border: 1px solid #271624;
    color: #271624;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 2px;
    border-radius: 30px;
    display: inline-block;
}

.btn-add:hover {
    background: linear-gradient(120deg, var(--accent-pink), var(--accent-gold));
    border-color: transparent;
    color: white;
}

.sub-link {
    display: block;
    font-size: 0.7rem;
    color: #999;
    margin-top: 10px;
    text-decoration: underline;
}

.sub-link:hover {
    color: var(--accent-pink);
}

/* SECTION CONTACT & FORMULAIRE */
.contact-section {
    padding: 100px 5%;
    background-color: var(--bg-soft-pink);
    position: relative;
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(197, 160, 89, 0.2);
}

.contact-intro {
    text-align: center;
    margin-bottom: 40px;
}

.contact-intro h2 {
    font-family: var(--font-title);
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #2a1824;
}

.contact-intro p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    color: #2a1824;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    background: #fdfbf7;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #2a1824;
    transition: 0.3s;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: white;
    box-shadow: 0 0 0 1px rgba(197, 160, 89, 0.35);
}

.file-upload-wrapper {
    position: relative;
    overflow: hidden;
    display: inline-block;
    cursor: pointer;
}

.file-upload-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border: 1px dashed var(--accent-gold);
    border-radius: 999px;
    color: var(--text-light);
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.3s;
    background: rgba(197, 160, 89, 0.08);
}

.file-upload-label span:first-child {
    font-size: 1.1rem;
}

.file-upload-label:hover {
    background: rgba(197, 160, 89, 0.18);
    color: #2a1824;
}

.file-upload-input {
    display: none;
}

.captcha-group {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    border-left: 3px solid var(--accent-pink);
}

.captcha-question {
    font-family: var(--font-title);
    font-size: 1.2rem;
    color: #2a1824;
    font-weight: 700;
}

.captcha-input {
    width: 80px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
    font-family: var(--font-body);
    color: #2a1824;
    background: white;
}

.btn-submit {
    width: 100%;
    padding: 18px;
    background-image: linear-gradient(120deg, #2a1b24, #4a2b3e);
    color: white;
    border: none;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 20px;
    border-radius: 999px;
    box-shadow: 0 16px 32px rgba(74, 43, 62, 0.35);
}

.btn-submit:hover {
    background-image: linear-gradient(120deg, var(--accent-pink), var(--accent-gold));
    transform: translateY(-2px);
}

.success-message {
    display: none;
    text-align: center;
    padding: 30px;
    background: rgba(212, 136, 158, 0.12);
    border-radius: 10px;
    margin-top: 20px;
}

.success-message h4 {
    font-family: var(--font-title);
    font-size: 1.5rem;
    color: var(--accent-pink);
    margin-bottom: 10px;
}

.success-message p {
    color: #2a1824;
}

/* FOOTER */
footer {
    background: #fcfcfc;
    padding: 80px 5% 40px 5%;
    text-align: center;
    border-top: 1px solid #eee;
}

.social-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.social-link {
    font-size: 1.8rem;
    color: #2a1824;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: white;
}

.social-link:hover {
    border-color: var(--accent-pink);
    color: var(--accent-pink);
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.footer-info {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 2;
}

/* RESPONSIVE */
@media (max-width: 900px) {

    .bio-grid,
    .restauration-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .scan-container {
        padding-bottom: 110%;
        border-radius: 130px 130px 0 0;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 2.5rem;
        margin-top: 80px;
    }

    .bio-section,
    .restauration,
    .shop,
    .contact-section {
        padding: 60px 5%;
    }

    .philosophy-grid {
        grid-template-columns: 1fr;
    }

    .form-container {
        padding: 30px 20px;
    }

    .contact-intro h2 {
        font-size: 2rem;
    }

    .burger {
        display: block;
        z-index: 1002;
    }

    .nav-links {
        position: fixed;
        right: 0;
        top: 0;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        justify-content: center;
        width: 80%;
        transform: translateX(100%);
        transition: transform 0.4s ease-in-out;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.05);
        z-index: 1001;
    }

    .close-menu-btn {
        display: block;
    }

    /* Visible on mobile inside nav-links */

    .nav-links.nav-active {
        transform: translateX(0%);
    }

    .nav-links li {
        opacity: 0;
        transform: translateX(50px);
        transition: 0.5s ease;
        margin: 20px 0;
    }

    .nav-links.nav-active li {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-links.nav-active li:nth-child(1) {
        transition-delay: 0.2s;
    }

    .nav-links.nav-active li:nth-child(2) {
        transition-delay: 0.3s;
    }

    .nav-links.nav-active li:nth-child(3) {
        transition-delay: 0.4s;
    }

    .nav-links.nav-active li:nth-child(4) {
        transition-delay: 0.5s;
    }

    .nav-links.nav-active li:nth-child(5) {
        transition-delay: 0.6s;
    }

    .nav-links.nav-active li:nth-child(6) {
        transition-delay: 0.7s;
    }

    .nav-links a {
        font-size: 1.3rem;
        color: #2a1824;
    }

    .logo-wrapper {
        width: 50px;
        height: 50px;
    }

    .award-box {
        flex-direction: column;
        text-align: center;
        border-left: 1px solid var(--accent-gold);
        border-top: 4px solid var(--accent-gold);
    }

    .award-icon {
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .btn-main {
        width: 100%;
        max-width: 320px;
        padding: 15px 15px;
        font-size: 0.8rem;
        white-space: normal;
        line-height: 1.4;
        display: block;
        margin: 0 auto;
    }

    .bio-text h2 {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .img-container {
        height: 320px;
    }

    .logo-wrapper {
        width: 45px;
        height: 45px;
    }

    .header-icons {
        gap: 15px;
    }
}

/* --- PORTFOLIO MODAL (POPUP) --- */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(253, 251, 247, 0.90);
    backdrop-filter: blur(8px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modal-overlay.show {
    display: flex;
    opacity: 1;
}

.modal-container {
    position: relative;
    width: 95%;
    max-width: 1200px;
    height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* CROIX DE FERMETURE */
.modal-close {
    position: absolute;
    top: -45px;
    right: 0;
    width: 40px;
    height: 40px;
    font-size: 2rem;
    background: white;
    border: 1px solid var(--text-light);
    border-radius: 50%;
    cursor: pointer;
    color: var(--text-main);
    transition: 0.3s;
    line-height: 38px;
    text-align: center;
    z-index: 10000;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.modal-close:hover {
    color: white;
    background: var(--accent-pink);
    border-color: var(--accent-pink);
    transform: rotate(90deg);
}

/* Zone d'affichage PDF */
.pdf-viewer-area {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

#pdf-render {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 2px;
}

/* Spinner de chargement + Texte */
#pdf-loader {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    z-index: 10;
    color: var(--accent-gold);
    font-family: var(--font-title);
    font-weight: 600;
}

.spinner-icon {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(197, 160, 89, 0.2);
    border-top: 3px solid var(--accent-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Navigation (Flèches) */
.pdf-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 1px solid #eee;
    color: var(--text-main);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
}

.pdf-nav:hover {
    background: var(--accent-pink);
    color: white;
    border-color: var(--accent-pink);
    transform: scale(1.1);
}

.pdf-prev {
    left: -25px;
}

.pdf-next {
    right: -25px;
}

/* Indicateurs bas de page */
.pdf-controls-bottom {
    margin-top: 15px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-light);
    display: flex;
    gap: 20px;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    padding: 8px 20px;
    border-radius: 30px;
}

.swipe-hint {
    display: none;
    font-size: 0.8rem;
    opacity: 0.7;
    font-style: italic;
}

/* Responsive Mobile */
@media (max-width: 900px) {
    .pdf-nav {
        display: none;
    }

    .swipe-hint {
        display: block;
    }

    .modal-container {
        width: 100%;
        height: 85vh;
        padding: 0 10px;
    }

    .pdf-prev {
        left: 10px;
    }

    .pdf-next {
        right: 10px;
    }

    .modal-close {
        top: -50px;
        right: 20px;
    }
}

/* NOUVEAUX AJOUTS POUR LA RESTAURATION */
.btn-portfolio-highlight {
    background-color: var(--accent-gold);
    color: white;
    border: none;
    padding: 15px 35px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    animation: pulseGold 3s infinite;
    cursor: pointer;
}

.btn-portfolio-highlight:hover {
    background-color: #000;
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
    color: white;
}

@keyframes pulseGold {
    0% {
        box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(197, 160, 89, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(197, 160, 89, 0);
    }
}

/* Ajustement de la grille des compétences techniques */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 25px 0;
}

.tech-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    border-left: 3px solid var(--accent-gold);
    box-shadow: var(--shadow-card);
}

.tech-item h5 {
    font-family: var(--font-title);
    font-size: 1rem;
    margin-bottom: 5px;
    color: #2a1824;
}

.tech-item p {
    font-size: 0.85rem;
    margin: 0;
    color: var(--text-light);
}

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

    /* FORCE LA CROIX A ETRE VISIBLE */
    .modal-close {
        position: fixed !important;
        top: 20px !important;
        right: 20px !important;
        z-index: 999999 !important;
        background-color: rgba(0, 0, 0, 0.6);
        color: #ffffff !important;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        text-align: center;
        line-height: 44px;
        font-size: 24px;
        cursor: pointer;
        text-decoration: none;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    }

    .modal-close:hover {
        background-color: rgba(0, 0, 0, 0.8);
    }
}

/* --- DIAPORAMAS PRODUITS (Effet Ken Burns) --- */
.img-container {
    overflow: hidden;
    position: relative;
    background-color: #f0f0f0;
}

.product-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1);
    transition: opacity 0.8s ease-in-out, transform 6s linear;
    z-index: 1;
    will-change: opacity, transform;
}

.product-slide.active {
    opacity: 1;
    transform: scale(1.1);
    z-index: 2;
}

/* Slide vertical pour images hautes */
.product-slide.vertical-pan {
    object-position: top center;
    transition: opacity 0.8s ease-in-out, object-position 3.5s linear;
    transform: scale(1) !important;
}

.product-slide.vertical-pan.active {
    opacity: 1;
    object-position: bottom center;
}

/* KEN BURNS (Zoom + Pan) subtil pour Déco & Sur-Mesure */
.slideshow-container.kenburns img {
    will-change: transform;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slideshow-container.kenburns img.active {
    opacity: 1;
    animation: kenburnsEffect 8s ease-in-out alternate infinite;
}

@keyframes kenburnsEffect {
    0% {
        transform: scale(1) translate(0, 0);
    }

    100% {
        transform: scale(1.12) translate(-10px, -5px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .slideshow-container.kenburns img.active {
        animation: none;
        transform: none;
    }
}

/* ========================================
   PAGE ERREUR 404 - EFFET LUMIÈRE VITRAIL QUI SUIT LA SOURIS
   ======================================== */

/* Page 404 - Layout général */
body.error-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--bg-body);
    /* Cohérence fond */
    color: var(--text-main);
    font-family: var(--font-body);
}

/* Header simplifié pour la 404 */
.simple-header {
    padding: 20px 0;
    text-align: center;
    background: transparent;
    /* Suppression fond blanc */
    box-shadow: none;
    /* Suppression ombre pour look épuré */
}

.simple-header img {
    height: 80px;
    /* Un peu plus grand */
    width: auto;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Conteneur principal de l'erreur */
.error-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    text-align: center;
}

/* Container de l'image avec effet de lumière */
.error-img-container {
    max-width: 500px;
    /* Un poil plus petit pour l'harmonie */
    width: 100%;
    margin-bottom: 2rem;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border: 3px solid #fff;
    position: relative;
    cursor: pointer;
    --mouse-x: 50%;
    --mouse-y: 50%;
}

/* Image de base - assombrie par défaut */
.error-img-container img {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    filter: brightness(0.75) saturate(0.8);
    transition: filter 0.3s ease;
}

/* Quand la souris est sur le container, l'image devient plus lumineuse */
.error-img-container.active img {
    filter: brightness(1.1) saturate(1.3) contrast(1.1);
}

/* Effet de lumière qui suit la souris */
.light-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    background:
        radial-gradient(circle 180px at var(--mouse-x) var(--mouse-y),
            rgba(255, 250, 230, 0.9) 0%,
            rgba(255, 235, 180, 0.7) 15%,
            rgba(255, 220, 150, 0.5) 30%,
            rgba(255, 200, 120, 0.3) 45%,
            transparent 70%),
        radial-gradient(circle 120px at var(--mouse-x) var(--mouse-y),
            rgba(255, 255, 255, 0.6) 0%,
            rgba(255, 240, 200, 0.4) 20%,
            transparent 60%);
    mix-blend-mode: screen;
}

/* Halo externe plus large */
.error-img-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    background: radial-gradient(circle 250px at var(--mouse-x) var(--mouse-y),
            rgba(255, 200, 100, 0.25) 0%,
            rgba(255, 180, 80, 0.15) 40%,
            transparent 70%);
}

.error-img-container.active::before {
    opacity: 1;
}

/* Effet de brillance/reflet qui suit aussi la souris */
.error-img-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
    background: radial-gradient(ellipse 100px 150px at var(--mouse-x) var(--mouse-y),
            rgba(255, 255, 255, 0.5) 0%,
            rgba(255, 255, 255, 0.2) 30%,
            transparent 60%);
    mix-blend-mode: overlay;
}

.error-img-container.active::after {
    opacity: 1;
}

/* Titre de l'erreur */
.error-title {
    font-family: var(--font-title);
    font-size: 2.5rem;
    color: #222;
    margin-bottom: 1rem;
}

.accent-color {
    color: var(--accent-gold);
}

/* Texte descriptif */
.error-text {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    max-width: 500px;
    margin-bottom: 2.5rem;
}

/* Bouton de retour */
.btn-retour {
    display: inline-block;
    padding: 12px 35px;
    background-color: #222;
    color: #fff;
    text-decoration: none;
    font-family: var(--font-body);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid #222;
    border-radius: 3px;
}

.btn-retour:hover {
    background-color: transparent;
    color: #222;
}

.btn-retour i {
    margin-right: 8px;
}

/* Footer simplifié */
.simple-footer {
    padding: 15px;
    text-align: center;
    font-family: var(--font-body);
    color: var(--text-light);
    background: transparent;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* RESPONSIVE 404 */
@media (max-width: 768px) {
    .error-title {
        font-size: 1.8rem;
    }

    .error-text {
        font-size: 1rem;
    }

    .error-img-container {
        max-width: 90%;
    }

    .simple-header img {
        height: 50px;
    }

    /* Réduction du rayon lumineux sur mobile pour meilleures perfs */
    .light-effect {
        background:
            radial-gradient(circle 120px at var(--mouse-x) var(--mouse-y),
                rgba(255, 250, 230, 0.9) 0%,
                rgba(255, 235, 180, 0.6) 20%,
                transparent 60%);
    }
}


/* =========================================
   SECTION UNIVERS (LE DECK)
========================================= */
.univers-section {
    padding: 80px 5%;
    background: #fff;
    /* Petit dégradé subtil pour séparer du Hero */
    background: linear-gradient(to bottom, #ffffff 0%, #fdf8f6 100%);
}

.univers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 colonnes sur grand écran */
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.univers-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow-card);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    text-align: center;
    border: 1px solid rgba(201, 166, 102, 0.15);
    /* Accent Gold très léger */
    display: flex;
    flex-direction: column;
    text-decoration: none;
    /* Force le reset du lien */
    height: 100%;
}

.univers-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(217, 138, 160, 0.25);
    /* Accent Pink shadow */
    border-color: var(--accent-pink);
}

/* Image */
.card-img-wrap {
    height: 220px;
    overflow: hidden;
    position: relative;
}

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

.univers-card:hover .card-img-wrap img {
    transform: scale(1.1);
}

/* Contenu texte */
.card-content {
    padding: 20px 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.univers-card h3 {
    font-family: var(--font-title);
    font-size: 1.3rem;
    color: var(--text-main);
    margin-bottom: 5px;
}

.card-sub {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-light);
    /* Gris/Rose foncé */
    letter-spacing: 1px;
    margin-bottom: 20px;
    font-weight: 500;
}

/* Le faux bouton 'Découvrir' */
.btn-discover {
    margin-top: auto;
    border: 1px solid var(--text-main);
    color: var(--text-main);
    padding: 8px 25px;
    border-radius: 30px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    transition: 0.3s;
}

.univers-card:hover .btn-discover {
    background: var(--text-main);
    color: #fff;
    border-color: var(--text-main);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .univers-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 colonnes sur tablette */
    }
}

@media (max-width: 600px) {
    .univers-grid {
        grid-template-columns: 1fr;
        /* 1 colonne sur mobile */
        max-width: 350px;
    }

    .card-img-wrap {
        height: 180px;
    }
}