/* ============================================================
   QUE DU BONHEUR — BOUTIQUE DE ROBES DE MARIÉE & DE SOIRÉE
   Vienne (Isère) — Feuille de style principale
   ============================================================ */

/* ----------  1. RESET & VARIABLES  ---------- */

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

:root {
    /* Palette */
    --color-bg:           #FBF8F5;
    --color-bg-alt:       #F5EDE8;
    --color-primary:      #D4A5A5;
    --color-primary-dark: #B88585;
    --color-text:         #2C2422;
    --color-text-soft:    #7A6F6A;
    --color-gold:         #C9A961;
    --color-white:        #FFFFFF;
    --color-overlay:      rgba(44, 36, 34, 0.45);
    --color-shadow:       rgba(44, 36, 34, 0.08);

    /* Typographie */
    --font-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    --font-sans:  'Inter', 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Échelles */
    --container:   1240px;
    --container-narrow: 880px;
    --gutter:      1.5rem;
    --header-h:    88px;
    --header-h-scrolled: 64px;

    /* Transitions */
    --t-fast:  0.2s ease;
    --t-base:  0.35s ease;
    --t-slow:  0.6s cubic-bezier(0.22, 1, 0.36, 1);

    /* Rayons */
    --r-s: 4px;
    --r-m: 10px;
    --r-l: 18px;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img,
picture,
svg,
video {
    display: block;
    max-width: 100%;
    height: auto;
}

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

a:hover {
    color: var(--color-primary-dark);
}

button {
    font: inherit;
    color: inherit;
    background: none;
    border: none;
    cursor: pointer;
}

ul, ol {
    list-style: none;
}

input,
select,
textarea {
    font: inherit;
    color: inherit;
}

/* ----------  2. TYPOGRAPHIE  ---------- */

h1, h2, h3, h4, h5, h6,
.title-serif {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-text);
    letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 300; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 300; }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
h4 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h5 { font-size: 1.15rem; }

p {
    margin-bottom: 1rem;
}

.eyebrow {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-primary-dark);
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.15rem;
    color: var(--color-text-soft);
    line-height: 1.7;
}

.divider {
    display: block;
    width: 60px;
    height: 1px;
    background-color: var(--color-gold);
    margin: 1.5rem auto;
    border: none;
}

/* ----------  3. UTILITAIRES  ---------- */

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

.container-narrow {
    width: 100%;
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

.section {
    padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-alt {
    background-color: var(--color-bg-alt);
}

.text-center { text-align: center; }
.text-uppercase { text-transform: uppercase; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ----------  4. BOUTONS  ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.95rem 2.2rem;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border: 1px solid transparent;
    border-radius: 2px;
    cursor: pointer;
    transition: all var(--t-base);
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(184, 133, 133, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-text);
    border-color: var(--color-text);
}

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

.btn-outline-light {
    background-color: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn-outline-light:hover {
    background-color: var(--color-white);
    color: var(--color-text);
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-primary-dark);
    border-bottom: 1px solid var(--color-primary);
    padding-bottom: 0.25rem;
    transition: gap var(--t-base), border-color var(--t-base);
}

.btn-link:hover {
    gap: 0.9rem;
    border-color: var(--color-primary-dark);
    color: var(--color-primary-dark);
}

.btn-arrow::after {
    content: "→";
    display: inline-block;
    transition: transform var(--t-base);
}

.btn-arrow:hover::after {
    transform: translateX(4px);
}

/* ----------  5. HEADER & NAVIGATION  ---------- */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: rgba(251, 248, 245, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all var(--t-base);
    border-bottom: 1px solid transparent;
}

.site-header.scrolled {
    border-bottom-color: rgba(212, 165, 165, 0.2);
    box-shadow: 0 2px 20px var(--color-shadow);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    transition: height var(--t-base);
}

.site-header.scrolled .container {
    height: var(--header-h-scrolled);
}

.brand {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-name {
    font-family: var(--font-serif);
    font-size: 1.65rem;
    font-weight: 400;
    color: var(--color-text);
    letter-spacing: 0.02em;
}

.brand-tagline {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-text-soft);
    margin-top: 0.3rem;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2.2rem;
}

.main-nav a {
    position: relative;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text);
    padding: 0.5rem 0;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-primary);
    transition: all var(--t-base);
    transform: translateX(-50%);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-white);
    background-color: var(--color-primary);
    border-radius: 2px;
    transition: all var(--t-base);
}

.nav-cta:hover {
    background-color: var(--color-primary-dark);
    color: var(--color-white);
}

.nav-cta::after {
    display: none !important;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 8px 0;
    z-index: 102;
}

.burger span {
    display: block;
    width: 100%;
    height: 1.5px;
    background-color: var(--color-text);
    transition: all var(--t-base);
    transform-origin: center;
}

.burger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger.open span:nth-child(2) {
    opacity: 0;
}

.burger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ----------  6. HERO  ---------- */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--color-white);
    margin-top: 0;
}

.hero-image {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-image img,
.hero-image .placeholder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(44, 36, 34, 0.25) 0%, rgba(44, 36, 34, 0.55) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 820px;
    padding: 6rem var(--gutter) 2rem;
    text-align: center;
}

.hero-content h1 {
    color: var(--color-white);
    font-size: clamp(2.5rem, 6vw, 4.8rem);
    font-weight: 300;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-content .lead {
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    margin-bottom: 2.5rem;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

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

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: var(--color-white);
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    opacity: 0.8;
    animation: float 2.5s ease-in-out infinite;
}

.hero-scroll::after {
    content: "";
    display: block;
    width: 1px;
    height: 30px;
    background-color: var(--color-white);
    margin: 0.75rem auto 0;
}

@keyframes float {
    0%, 100% { transform: translate(-50%, 0); }
    50%      { transform: translate(-50%, 8px); }
}

/* Hero compact (pages internes) */
.hero-compact {
    min-height: 55vh;
    padding-top: var(--header-h);
}

.hero-compact .hero-content {
    padding-top: 3rem;
}

.hero-compact h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
}

/* ----------  7. PLACEHOLDER IMAGES (SVG)  ---------- */

.placeholder-img {
    background: linear-gradient(135deg, #F5EDE8 0%, #EAD9D2 50%, #D4A5A5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-family: var(--font-serif);
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    position: relative;
    overflow: hidden;
}

.placeholder-img::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 30% 30%, rgba(255,255,255,0.2) 0%, transparent 60%),
        radial-gradient(circle at 70% 70%, rgba(201, 169, 97, 0.15) 0%, transparent 50%);
}

.placeholder-img span {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 1rem 1.5rem;
    text-shadow: 0 1px 8px rgba(0,0,0,0.2);
}

/* ----------  8. SECTION BIENVENUE (split)  ---------- */

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
}

.split-image {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

.split-image::before {
    content: "";
    position: absolute;
    inset: -20px;
    border: 1px solid var(--color-primary);
    z-index: -1;
    transform: translate(20px, 20px);
}

.split-image img,
.split-image .placeholder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.split-content h2 {
    margin-bottom: 1.5rem;
}

/* ----------  9. CARTES "NOS UNIVERS"  ---------- */

.universes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.universe-card {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    cursor: pointer;
    display: block;
}

.universe-card .placeholder-img,
.universe-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.universe-card:hover .placeholder-img,
.universe-card:hover img {
    transform: scale(1.06);
}

.universe-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(44, 36, 34, 0.7) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.75rem;
    color: var(--color-white);
    transition: background var(--t-base);
}

.universe-card:hover .universe-card-overlay {
    background: linear-gradient(180deg, rgba(44, 36, 34, 0.2) 0%, rgba(44, 36, 34, 0.8) 100%);
}

.universe-card-overlay h3 {
    color: var(--color-white);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.universe-card-overlay span {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.85;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap var(--t-base);
}

.universe-card:hover .universe-card-overlay span {
    gap: 0.9rem;
}

/* ----------  10. SAVOIR-FAIRE (3 colonnes)  ---------- */

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.feature {
    text-align: center;
    padding: 1rem;
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

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

/* ----------  11. CARROUSEL STYLES  ---------- */

.carousel {
    position: relative;
    margin-top: 3rem;
}

.carousel-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 1rem 0 2rem;
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary) transparent;
}

.carousel-track::-webkit-scrollbar {
    height: 4px;
}

.carousel-track::-webkit-scrollbar-track {
    background: var(--color-bg-alt);
}

.carousel-track::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 2px;
}

.carousel-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
    text-align: center;
}

.carousel-card .placeholder-img,
.carousel-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    margin-bottom: 1rem;
}

.carousel-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.carousel-card p {
    font-size: 0.9rem;
    color: var(--color-text-soft);
    margin: 0;
}

/* ----------  12. TÉMOIGNAGES  ---------- */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3.5rem;
}

.testimonial {
    background-color: var(--color-white);
    padding: 2.5rem 2rem;
    border-radius: var(--r-s);
    box-shadow: 0 4px 30px var(--color-shadow);
    position: relative;
}

.testimonial::before {
    content: "“";
    position: absolute;
    top: -10px;
    left: 1.5rem;
    font-family: var(--font-serif);
    font-size: 5rem;
    color: var(--color-primary);
    line-height: 1;
    opacity: 0.5;
}

.stars {
    color: var(--color-gold);
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
}

.testimonial p {
    font-style: italic;
    color: var(--color-text-soft);
    margin-bottom: 1.5rem;
}

.testimonial cite {
    display: block;
    font-style: normal;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--color-text);
    letter-spacing: 0.05em;
}

.testimonial cite span {
    display: block;
    font-weight: 300;
    font-size: 0.8rem;
    color: var(--color-text-soft);
    margin-top: 0.2rem;
}

/* ----------  13. VISITEZ LA BOUTIQUE  ---------- */

.visit-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background-color: var(--color-white);
    padding: clamp(2rem, 4vw, 4rem);
    box-shadow: 0 10px 40px var(--color-shadow);
}

.visit-info h2 { margin-bottom: 1.5rem; }

.visit-detail {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.visit-detail-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    color: var(--color-primary);
    margin-top: 2px;
}

.visit-detail strong {
    display: block;
    font-weight: 500;
    margin-bottom: 0.25rem;
    color: var(--color-text);
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.visit-detail p {
    color: var(--color-text-soft);
    margin: 0;
    line-height: 1.6;
}

.visit-map {
    aspect-ratio: 1 / 1;
    background-color: var(--color-bg-alt);
    overflow: hidden;
}

.visit-map iframe,
.visit-map .placeholder-img {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ----------  14. CTA FINAL  ---------- */

.cta-band {
    position: relative;
    padding: clamp(4rem, 8vw, 7rem) 0;
    background-color: var(--color-bg-alt);
    text-align: center;
    overflow: hidden;
}

.cta-band::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1px;
    height: 100px;
    background-color: var(--color-gold);
    opacity: 0.4;
}

.cta-band h2 {
    margin-bottom: 1.5rem;
}

.cta-band p {
    color: var(--color-text-soft);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ----------  15. FOOTER  ---------- */

.site-footer {
    background-color: var(--color-text);
    color: rgba(255, 255, 255, 0.75);
    padding: 4rem 0 2rem;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .brand-name {
    color: var(--color-white);
    font-size: 1.8rem;
    display: block;
    margin-bottom: 0.3rem;
}

.footer-brand .brand-tagline {
    color: rgba(255, 255, 255, 0.5);
}

.footer-brand p {
    margin-top: 1.5rem;
    line-height: 1.7;
    max-width: 400px;
}

.footer-col h5 {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--t-fast);
}

.footer-col a:hover {
    color: var(--color-primary);
}

.socials {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all var(--t-base);
}

.socials a:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
}

.socials svg {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom a:hover {
    color: var(--color-primary);
}

/* ----------  16. GALERIE FILTRABLE (robes-mariee)  ---------- */

.filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3.5rem;
}

.filter-btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text);
    background-color: transparent;
    border: 1px solid var(--color-text-soft);
    border-radius: 2px;
    cursor: pointer;
    transition: all var(--t-base);
}

.filter-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary-dark);
}

.filter-btn.active {
    background-color: var(--color-text);
    color: var(--color-white);
    border-color: var(--color-text);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    cursor: pointer;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.gallery-item.hidden {
    display: none;
}

.gallery-item .placeholder-img,
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.gallery-item:hover .placeholder-img,
.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(44, 36, 34, 0.75) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.25rem;
    color: var(--color-white);
    opacity: 0;
    transition: opacity var(--t-base);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    color: var(--color-white);
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
}

.gallery-overlay span {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.85;
}

/* ----------  17. LIGHTBOX  ---------- */

.lightbox {
    position: fixed;
    inset: 0;
    background-color: rgba(20, 15, 14, 0.95);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity var(--t-base);
}

.lightbox.open {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 600px;
    max-height: 90vh;
    aspect-ratio: 3 / 4;
    width: 100%;
}

.lightbox-content .placeholder-img,
.lightbox-content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color var(--t-fast);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

.lightbox-close {
    top: 2rem;
    right: 2rem;
}

.lightbox-prev { left: 2rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 2rem; top: 50%; transform: translateY(-50%); }

.lightbox-caption {
    position: absolute;
    bottom: -3rem;
    left: 0;
    right: 0;
    text-align: center;
    color: var(--color-white);
    font-family: var(--font-serif);
    font-size: 1.1rem;
    letter-spacing: 0.05em;
}

/* ----------  18. TABS (robes-soiree)  ---------- */

.tabs {
    margin-top: 2rem;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3.5rem;
    border-bottom: 1px solid rgba(212, 165, 165, 0.3);
    flex-wrap: wrap;
}

.tab-btn {
    padding: 1rem 2rem;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-soft);
    background-color: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: all var(--t-base);
    margin-bottom: -1px;
}

.tab-btn:hover {
    color: var(--color-primary-dark);
}

.tab-btn.active {
    color: var(--color-text);
    border-bottom-color: var(--color-primary);
}

.tab-panel {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-panel.active {
    display: block;
}

.tab-intro {
    max-width: 720px;
    margin: 0 auto 3rem;
    text-align: center;
}

.tab-intro h2 {
    margin-bottom: 1rem;
}

.gallery-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ----------  19. TIMELINE (boutique.html)  ---------- */

.timeline {
    position: relative;
    max-width: 700px;
    margin: 4rem auto 0;
    padding-left: 3rem;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 0.5rem;
    bottom: 0.5rem;
    width: 1px;
    background: linear-gradient(180deg, var(--color-primary) 0%, transparent 100%);
}

.timeline-item {
    position: relative;
    padding-bottom: 2.5rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -3rem;
    top: 0.4rem;
    width: 25px;
    height: 25px;
    background-color: var(--color-bg);
    border: 2px solid var(--color-primary);
    border-radius: 50%;
}

.timeline-item::after {
    content: counter(step);
    counter-increment: step;
    position: absolute;
    left: -3rem;
    top: 0.4rem;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--color-primary-dark);
}

.timeline {
    counter-reset: step;
}

.timeline-item h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.timeline-item p {
    color: var(--color-text-soft);
    margin: 0;
}

/* ----------  20. ACCESSOIRES (grille 6)  ---------- */

.accessories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.accessory-card {
    text-align: center;
    background-color: var(--color-white);
    padding: 2rem 1.5rem;
    transition: transform var(--t-base), box-shadow var(--t-base);
}

.accessory-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px var(--color-shadow);
}

.accessory-card .placeholder-img {
    aspect-ratio: 1 / 1;
    margin-bottom: 1.25rem;
}

.accessory-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.accessory-card p {
    font-size: 0.9rem;
    color: var(--color-text-soft);
    margin: 0;
}

/* ----------  21. FORMULAIRE CONTACT  ---------- */

.contact-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 3rem;
}

.contact-form {
    background-color: var(--color-white);
    padding: clamp(1.5rem, 3vw, 3rem);
    box-shadow: 0 10px 40px var(--color-shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.form-group {
    margin-bottom: 1.25rem;
    position: relative;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.form-group label .required {
    color: var(--color-primary-dark);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    color: var(--color-text);
    background-color: var(--color-bg);
    border: 1px solid transparent;
    border-radius: 2px;
    transition: all var(--t-fast);
    font-family: var(--font-sans);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: var(--color-white);
    box-shadow: 0 0 0 3px rgba(212, 165, 165, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%237A6F6A' fill='none' stroke-width='1.5'/></svg>");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.char-counter {
    text-align: right;
    font-size: 0.78rem;
    color: var(--color-text-soft);
    margin-top: 0.4rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
    flex-shrink: 0;
    margin-top: 0.2rem;
    width: 18px;
    height: 18px;
    accent-color: var(--color-primary);
    cursor: pointer;
}

.checkbox-group label {
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.5;
    text-transform: none;
    letter-spacing: 0;
    color: var(--color-text-soft);
    margin: 0;
    cursor: pointer;
}

.form-error {
    display: none;
    color: #c0392b;
    font-size: 0.78rem;
    margin-top: 0.4rem;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #c0392b;
}

.form-group.error .form-error {
    display: block;
}

.form-success {
    display: none;
    background-color: #e8f5e9;
    color: #2d6a4f;
    padding: 1.5rem;
    border-radius: var(--r-s);
    border-left: 3px solid #4caf50;
    margin-top: 1rem;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

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

.form-success svg {
    width: 40px;
    height: 40px;
    margin: 0 auto 0.5rem;
    color: #4caf50;
}

.contact-info {
    background-color: var(--color-bg-alt);
    padding: 2.5rem 2rem;
    align-self: start;
}

.contact-info h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.contact-info .visit-detail strong {
    font-size: 0.78rem;
}

.contact-info .visit-detail p a {
    color: var(--color-text);
    border-bottom: 1px solid transparent;
    transition: border-color var(--t-fast);
}

.contact-info .visit-detail p a:hover {
    border-bottom-color: var(--color-primary);
    color: var(--color-primary-dark);
}

.contact-socials {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(212, 165, 165, 0.3);
}

.contact-socials .socials a {
    border-color: var(--color-text-soft);
    color: var(--color-text);
}

.contact-socials .socials a:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

.contact-map {
    margin-top: 4rem;
    height: 450px;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--color-shadow);
}

.contact-map iframe,
.contact-map .placeholder-img {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ----------  22. PAGE MENTIONS LÉGALES  ---------- */

.legal-content {
    max-width: 820px;
    margin: 0 auto;
}

.legal-content h2 {
    margin-top: 3rem;
    margin-bottom: 1rem;
    font-size: 1.6rem;
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.legal-content p,
.legal-content li {
    color: var(--color-text-soft);
    line-height: 1.8;
}

.legal-content ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content ul li {
    margin-bottom: 0.5rem;
}

.legal-content a {
    color: var(--color-primary-dark);
    border-bottom: 1px solid var(--color-primary);
}

/* ----------  23. MATIÈRES (page robes-mariee)  ---------- */

.materials-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-top: 3rem;
}

.material-card {
    text-align: center;
}

.material-card .placeholder-img {
    aspect-ratio: 1 / 1;
    margin-bottom: 1rem;
    border-radius: 50%;
}

.material-card h5 {
    font-size: 1.1rem;
    font-weight: 400;
}

/* ----------  24. ANIMATIONS DE SCROLL  ---------- */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ----------  25. RESPONSIVE — TABLETTE  ---------- */

@media (max-width: 1024px) {
    .universes-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
    .testimonials-grid { grid-template-columns: 1fr; max-width: 600px; margin-left: auto; margin-right: auto; }
    .gallery { grid-template-columns: repeat(3, 1fr); }
    .gallery-3 { grid-template-columns: repeat(2, 1fr); }
    .accessories-grid { grid-template-columns: repeat(2, 1fr); }
    .materials-grid { grid-template-columns: repeat(3, 1fr); }
    .visit-block { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

/* ----------  26. RESPONSIVE — MOBILE  ---------- */

@media (max-width: 768px) {
    :root {
        --header-h: 70px;
        --header-h-scrolled: 56px;
    }

    .brand-name { font-size: 1.35rem; }
    .brand-tagline { font-size: 0.55rem; letter-spacing: 0.25em; }

    .burger { display: flex; }

    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(85%, 360px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 6rem 2rem 2rem;
        background-color: var(--color-bg);
        box-shadow: -10px 0 40px var(--color-shadow);
        gap: 1.5rem;
        transform: translateX(100%);
        transition: transform var(--t-base);
        z-index: 101;
        overflow-y: auto;
    }

    .main-nav.open { transform: translateX(0); }

    .main-nav a { font-size: 1rem; padding: 0.5rem 0; }

    .nav-cta { width: 100%; justify-content: center; padding: 1rem; }

    .hero { min-height: 90vh; }

    .split { grid-template-columns: 1fr; }
    .split-image { max-width: 480px; margin: 0 auto; }

    .universes-grid { grid-template-columns: 1fr; gap: 1rem; }
    .universe-card { aspect-ratio: 4 / 3; }

    .features-grid { grid-template-columns: 1fr; gap: 2.5rem; }

    .visit-block { padding: 1.5rem; }

    .gallery { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
    .gallery-3 { grid-template-columns: 1fr; }

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

    .materials-grid { grid-template-columns: repeat(2, 1fr); }

    .form-row { grid-template-columns: 1fr; gap: 0; }

    .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }

    .filters { gap: 0.4rem; }
    .filter-btn { padding: 0.5rem 1rem; font-size: 0.7rem; }

    .tabs-nav { gap: 0; }
    .tab-btn { padding: 0.85rem 1.2rem; font-size: 0.78rem; }

    .lightbox-prev, .lightbox-next { width: 40px; height: 40px; }
    .lightbox-prev { left: 1rem; }
    .lightbox-next { right: 1rem; }
    .lightbox-close { top: 1rem; right: 1rem; }

    .timeline { padding-left: 2.5rem; }
    .timeline-item::before, .timeline-item::after { left: -2.5rem; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; }

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

/* ----------  27. PRINT  ---------- */

@media print {
    .site-header, .site-footer, .hero-scroll, .nav-cta, .burger { display: none; }
    body { background: white; color: black; }
    .hero { min-height: auto; padding: 2rem 0; }
}

/* ----------  28. RÉDUCTION DE MOUVEMENT  ---------- */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
