/* ============================================
   ROSALIA - Modern Botanical Salon
   ============================================ */

:root {
    --color-bg: #e8f0e4;
    --color-bg-alt: #dfe8da;
    --color-text: #2a2a28;
    --color-text-light: #6b6b66;
    --color-accent: #5a7a52;
    --color-accent-light: #8aad80;
    --color-warm: #c98b6e;
    --color-warm-light: #e8c4b0;
    --color-cream: #f5f0e8;
    --color-dark: #1a1a18;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --font-accent: 'Caveat', cursive;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --nav-height: 78px;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Basics */
.section-tag {
    display: inline-block;
    font-family: var(--font-accent);
    font-size: 1.25rem;
    color: var(--color-warm);
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--color-dark);
}

.section-title em {
    font-style: italic;
    color: var(--color-accent);
}

.section-header.center {
    text-align: center;
    margin-bottom: 3rem;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.4s var(--ease-out);
}

.navbar.scrolled {
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    box-shadow: 0 1px 20px rgba(0,0,0,0.06);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar.scrolled .nav-container {
    justify-content: space-between;
}

.nav-logo {
    display: none;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-accent);
    font-size: 1.8rem;
    font-weight: 600;
    color: white;
    pointer-events: none;
}

.navbar.scrolled .nav-logo {
    display: flex;
    pointer-events: auto;
}

.navbar.logo-hidden .nav-logo {
    display: none;
}

.navbar.logo-hidden .nav-container {
    justify-content: flex-end;
    gap: 1.5rem;
}

.navbar.scrolled:not(.logo-hidden) .nav-container {
    justify-content: space-between;
}

.navbar.logo-hidden {
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
}

.nav-logo-img {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.navbar.scrolled .nav-logo {
    color: var(--color-dark);
}

.nav-btn {
    background: var(--color-warm);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    color: white !important;
}

.nav-btn:hover {
    background: #b87a5e;
}

.nav-btn.active {
    background: var(--color-accent);
}

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

.nav-menu a {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    transition: color 0.3s;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-warm);
    transition: width 0.3s var(--ease-out);
}

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

.navbar.scrolled .nav-menu a {
    color: var(--color-text-light);
}

.navbar.scrolled .nav-menu a:hover {
    color: var(--color-dark);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: white;
    transition: all 0.3s;
}

.navbar.scrolled .nav-toggle span {
    background: var(--color-dark);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: calc(100vh - 3.8rem);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(135deg, #3a5a32 0%, #2a4a28 30%, #4a6a42 60%, #3a5832 100%);
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(200, 180, 140, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 30%, rgba(90, 122, 82, 0.3) 0%, transparent 50%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 24, 0.15);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 4.5rem 2rem 0;
    max-width: 900px;
}

.hero-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.hero-logo {
    width: 220px;
    height: auto;
    border-radius: 12px;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.25));
    opacity: 0;
    transform: scale(0.8);
    animation: fadeUp 0.8s var(--ease-out) 0.2s forwards;
}

.hero-tag {
    display: inline-block;
    font-family: var(--font-accent);
    font-size: 1.3rem;
    color: var(--color-warm-light);
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s var(--ease-out) 0.3s forwards;
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 400;
    margin-bottom: 0;
    text-align: center;
}

.title-line {
    display: block;
    font-family: var(--font-accent);
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    line-height: 1.1;
    color: var(--color-warm-light);
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 0.8s var(--ease-out) forwards;
}

.title-line:nth-child(1) { animation-delay: 0.4s; }
.title-line:nth-child(2) { animation-delay: 0.55s; }
.title-line:nth-child(3) { animation-delay: 0.7s; }

.amp {
    font-family: var(--font-accent);
    font-style: normal;
    color: var(--color-warm);
}

.title-line.accent {
    font-family: var(--font-accent);
    font-style: normal;
    color: white;
    font-size: clamp(1.4rem, 3.5vw, 2.4rem);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.75);
    max-width: 520px;
    margin: 0 auto 2.5rem;
    font-weight: 300;
    line-height: 1.7;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s var(--ease-out) 0.9s forwards;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s var(--ease-out) 1.1s forwards;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s var(--ease-out);
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: #b87a5e;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 139, 110, 0.35);
}

.btn-outline {
    border: 1.5px solid rgba(255,255,255,0.5);
    color: white;
    background: transparent;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
}

.hero-scroll {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    position: relative;
}

.hero-scroll::before {
    content: '';
    position: absolute;
    left: 50%;
    top: -8px;
    bottom: -8px;
    width: 3px;
    transform: translateX(-50%);
    background: repeating-linear-gradient(
        to bottom,
        rgba(232,196,176,0.4) 0px,
        rgba(232,196,176,0.4) 3px,
        transparent 3px,
        transparent 8px
    );
    border-radius: 2px;
    z-index: -1;
    animation: dotsScroll 2.5s ease-in-out infinite;
}

@keyframes dotsScroll {
    0%, 100% { top: -8px; bottom: -8px; opacity: 0.4; }
    50% { top: -14px; bottom: -2px; opacity: 0.8; }
}

.scroll-flower {
    width: 32px;
    height: 32px;
    animation: flowerFloat 2.5s ease-in-out infinite;
}

.flower-spin {
    transform-origin: 16px 16px;
    animation: flowerSpin 12s linear infinite;
}

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

@keyframes flowerFloat {
    0% { transform: translateY(-12px) scale(0.9); opacity: 0.5; }
    30% { transform: translateY(10px) scale(1.05); opacity: 1; }
    50% { transform: translateY(16px) scale(1); opacity: 0.9; }
    70% { transform: translateY(10px) scale(1.05); opacity: 1; }
    100% { transform: translateY(-12px) scale(0.9); opacity: 0.5; }
}

.scroll-bounce {
    display: none;
}

/* Petals Canvas */
#petalsCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   MARQUEE
   ============================================ */
.marquee {
    background: var(--color-dark);
    padding: 1.1rem 0;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 2rem;
    animation: marquee 25s linear infinite;
    width: max-content;
}

.marquee-track span {
    font-family: var(--font-display);
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}

.marquee-highlight {
    color: var(--color-warm) !important;
    font-weight: 600;
}

.marquee-track .dot {
    width: 6px;
    height: 6px;
    background: var(--color-warm);
    border-radius: 50%;
    flex-shrink: 0;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    padding: 8rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.about-visual {
    position: relative;
    margin: 0 auto;
}

.about-image-wrapper {
    position: relative;
    border-radius: 300px 300px 20px 20px;
    aspect-ratio: 3/4;
    clip-path: inset(0 round 300px 300px 20px 20px);
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-boutique {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.about-boutique-img {
    width: 130px;
    height: 130px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.about-boutique-info strong {
    font-family: var(--font-display);
    font-size: 0.95rem;
    color: var(--color-dark);
}

.about-boutique-info p {
    font-size: 0.8rem !important;
    color: var(--color-text-light);
    margin: 0 !important;
    line-height: 1.4;
}

.about-accent-text {
    position: absolute;
    bottom: -1rem;
    right: -1rem;
    font-family: var(--font-accent);
    font-size: 1.95rem;
    color: var(--color-warm);
    transform: rotate(-5deg);
}

.about-text p {
    color: var(--color-text-light);
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(0,0,0,0.08);
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================
   UNIVERS - CATEGORIES + CARROUSEL
   ============================================ */
.univers {
    padding: 6rem 0 5rem;
    background: var(--color-bg-alt);
}

/* Catégories */
.univers-categories {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
    margin-bottom: 3.5rem;
}

.cat-card {
    background: white;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.4s var(--ease-out);
    border: 1px solid transparent;
}

.cat-card {
    position: relative;
    overflow: hidden;
}

.cat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.07);
    border-color: var(--color-accent-light);
}

.cat-card-preview {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.5s var(--ease-out);
    z-index: 1;
}

.cat-card-preview::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(26,26,24,0.35);
    border-radius: 16px;
}

.cat-card.previewing .cat-card-preview {
    opacity: 1;
}

.cat-card.previewing .cat-icon,
.cat-card.previewing p {
    opacity: 0;
    transition: opacity 0.3s;
}

.cat-card.previewing h3 {
    position: relative;
    z-index: 2;
    color: white;
    transition: color 0.3s;
}

.cat-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    color: var(--color-accent);
}

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

.cat-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: var(--color-dark);
}

.cat-card p {
    font-size: 0.85rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* Carrousel */
.carousel {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s var(--ease-out);
    cursor: grab;
}

.carousel-track.grabbing {
    cursor: grabbing;
    transition: none;
}

.carousel-slide {
    min-width: 70%;
    padding: 0 0.75rem;
    flex-shrink: 0;
}

.carousel-slide img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

/* Boutons prev/next */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s var(--ease-out);
}

.carousel-btn:hover {
    background: var(--color-accent);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn svg {
    width: 22px;
    height: 22px;
}

.carousel-prev {
    left: 1.5rem;
}

.carousel-next {
    right: 1.5rem;
}

/* Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.15);
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    padding: 0;
}

.carousel-dot.active {
    background: var(--color-accent);
    width: 28px;
    border-radius: 5px;
}

/* ============================================
   CREATIONS - CARROUSELS PRODUITS
   ============================================ */
.creations {
    padding: 8rem 0;
}

.gallery-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Section par catégorie */
.product-section {
    margin-bottom: 1.5rem;
}

.product-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.product-section-header h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--color-dark);
}

.carousel-navs {
    display: flex;
    gap: 0.5rem;
}

.product-section-credit {
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin: -0.25rem 0 0.75rem;
    font-style: italic;
}

.product-section-credit a {
    color: var(--color-warm);
    font-weight: 500;
    font-style: normal;
    transition: color 0.3s;
}

.product-section-credit a:hover {
    color: var(--color-accent);
}

.car-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid rgba(0,0,0,0.12);
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease-out);
}

.car-btn:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: white;
}

.car-btn svg {
    width: 15px;
    height: 15px;
}

/* Track horizontal */
.product-carousel {
    overflow: hidden;
}

.product-track {
    display: flex;
    gap: 1rem;
    transition: transform 0.5s var(--ease-out);
    cursor: grab;
}

.product-track.grabbing {
    cursor: grabbing;
    transition: none;
}

/* Product card inside carousel */
.p-card {
    flex-shrink: 0;
    width: calc(25% - 0.75rem);
    text-decoration: none;
    color: inherit;
    display: block;
}

.p-card img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 14px;
    display: block;
    transition: transform 0.4s var(--ease-out);
    background: var(--color-bg-alt);
}

.p-card:hover img {
    transform: scale(1.04);
}

.p-name {
    display: block;
    font-family: var(--font-display);
    font-size: 0.95rem;
    color: var(--color-dark);
    margin-top: 0.65rem;
    line-height: 1.3;
}

.p-price {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-top: 0.2rem;
}

/* Photo cards (no price) */
.photo-card {
    flex-shrink: 0;
    width: calc(20% - 0.8rem);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.photo-card img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: contain;
    display: block;
    border-radius: 8px;
    transition: transform 0.5s var(--ease-out);
    background: var(--color-bg-alt);
}

.photo-card.portrait {
    width: calc(25% - 0.75rem);
    cursor: pointer;
}

.photo-card.portrait img {
    aspect-ratio: 4/5;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0,0,0,0.88);
    align-items: center;
    justify-content: center;
    padding: 2rem;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.lightbox.open {
    display: flex;
}

.lightbox-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    animation: lbZoom 0.3s var(--ease-out);
    cursor: default;
}

.lightbox-content img {
    max-width: 90vw;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    background: rgba(255,255,255,0.04);
}

.lightbox-insta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: white;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    padding: 0.65rem 1.5rem;
    border-radius: 50px;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border: none;
    transition: all 0.3s var(--ease-out);
    cursor: pointer;
}

.lightbox-insta svg {
    width: 20px;
    height: 20px;
}

.lightbox-insta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(225, 48, 108, 0.4);
}

.lb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: none;
    background: rgba(255,255,255,0.12);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10001;
}

.lb-nav svg {
    width: 24px;
    height: 24px;
}

.lb-nav:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-50%) scale(1.1);
}

.lb-prev { left: 1.5rem; }
.lb-next { right: 1.5rem; }

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    border: none;
    background: rgba(255,255,255,0.12);
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.25);
    transform: scale(1.1);
}

@keyframes lbZoom {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Carousel progress bar */
.carousel-progress {
    height: 2px;
    background: rgba(0,0,0,0.06);
    border-radius: 2px;
    margin-top: 0.6rem;
    overflow: hidden;
}

.carousel-progress-bar {
    height: 100%;
    background: var(--color-accent);
    border-radius: 3px;
    transition: width 0.4s var(--ease-out);
    min-width: 15%;
}

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

/* ============================================
   QUOTE
   ============================================ */
.quote-section {
    position: relative;
    padding: 8rem 0;
    background: var(--color-accent);
    overflow: hidden;
}

.quote-bg {
    position: absolute;
    inset: 0;
}

.quote-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

.quote-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(90, 122, 82, 0.85);
    z-index: 0;
}

.quote-section .container {
    position: relative;
    z-index: 1;
}

.big-quote {
    text-align: center;
    position: relative;
}

.quote-mark {
    font-family: var(--font-display);
    font-size: 8rem;
    color: rgba(255,255,255,0.2);
    line-height: 0;
    display: block;
    margin-bottom: -1rem;
}

.big-quote p {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-style: italic;
    color: white;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.4;
}

/* ============================================
   AGENDA
   ============================================ */
.agenda {
    padding: 8rem 0;
    background: var(--color-bg-alt);
}

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

.agenda-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    gap: 1.5rem;
    transition: all 0.4s var(--ease-out);
    border: 1px solid transparent;
}

.agenda-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    border-color: var(--color-warm-light);
}

.agenda-date {
    flex-shrink: 0;
    text-align: center;
    padding: 1rem;
    background: var(--color-cream);
    border-radius: 12px;
    min-width: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.agenda-date .day {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1;
}

.agenda-date .month {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-light);
    margin-top: 0.25rem;
}

.agenda-info h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--color-dark);
}

.agenda-info p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.agenda-tag {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    background: rgba(90,122,82,0.1);
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
}

/* ============================================
   NEWS / INSTAGRAM
   ============================================ */
.news {
    padding: 6rem 0;
    background: var(--color-bg-alt);
}


/* ============================================
   REVIEWS
   ============================================ */
.reviews {
    padding: 6rem 0;
}

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

.review-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.4s var(--ease-out);
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.06);
}

.review-stars {
    color: #f0b429;
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
}

.review-text {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 1rem;
}

.review-author {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--color-dark);
}

.review-source {
    font-size: 0.75rem;
    color: var(--color-text-light);
}

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    background: white;
    box-shadow: 0 -4px 30px rgba(0,0,0,0.1);
    padding: 1.25rem 2rem;
    transform: translateY(100%);
    transition: transform 0.5s var(--ease-out);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.cookie-flower {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    animation: flowerSpin 20s linear infinite;
}

.cookie-content p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.5;
    flex: 1;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    flex-shrink: 0;
}

.cookie-text p {
    font-size: 0.85rem;
    color: var(--color-text-light);
    line-height: 1.5;
    flex: 1;
}

.cookie-text a {
    color: var(--color-accent);
    text-decoration: underline;
}

.cookie-accept,
.cookie-decline,
.cookie-settings,
.cookie-save {
    padding: 0.55rem 1.25rem;
    font-size: 0.8rem;
}

.cookie-details {
    width: 100%;
    max-width: 600px;
    margin: 1rem auto 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(0,0,0,0.08);
}

.cookie-option {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    margin-bottom: 0.75rem;
}

.cookie-option label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    cursor: pointer;
}

.cookie-option input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--color-accent);
}

.cookie-option p {
    font-size: 0.75rem;
    color: var(--color-text-light);
    margin-left: 1.6rem;
    line-height: 1.4;
}

.cookie-save {
    margin-top: 0.5rem;
    width: 100%;
}

/* ============================================
   MENTIONS LEGALES
   ============================================ */
.mentions-hero {
    padding: 10rem 0 3rem;
    text-align: center;
    background: var(--color-bg-alt);
}

.mentions-body {
    padding: 4rem 0 6rem;
}

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

.mention-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.4s var(--ease-out);
}

.mention-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.06);
}

.mention-icon {
    width: 40px;
    height: 40px;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

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

.mention-card h2 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--color-dark);
    margin-bottom: 0.75rem;
}

.mention-card p,
.mention-card li {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 0.4rem;
}

.mention-card ul {
    padding-left: 1.25rem;
    margin-top: 0.5rem;
}

.mention-card a {
    color: var(--color-warm);
    transition: color 0.3s;
}

.mention-card a:hover {
    color: var(--color-accent);
}

.mention-card-wide {
    grid-column: 1 / -1;
}

.mention-card h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--color-dark);
    margin: 1.25rem 0 0.4rem;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0.75rem 0;
    font-size: 0.8rem;
}

.cookie-table th {
    background: var(--color-bg-alt);
    padding: 0.5rem 0.75rem;
    text-align: left;
    font-weight: 600;
    color: var(--color-dark);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.cookie-table td {
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    color: var(--color-text-light);
}

.cookie-table code {
    font-size: 0.8rem;
    color: var(--color-accent);
}

@media (max-width: 1024px) {
    .mentions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .mentions-hero {
        padding: 8rem 0 2rem;
    }
}

/* ============================================
   ATELIERS
   ============================================ */
.ateliers {
    padding: 6rem 0;
    background: var(--color-bg-alt);
}

.ateliers-intro {
    font-size: 1rem;
    color: var(--color-text-light);
    max-width: 500px;
    margin: -0.5rem auto 0;
}

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

.atelier-card {
    background: white;
    border-radius: 16px;
    padding: 1.75rem 1.25rem;
    text-align: center;
    border: 1px solid transparent;
    transition: all 0.4s var(--ease-out);
    position: relative;
}

.atelier-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.07);
    border-color: var(--color-accent-light);
}

.atelier-card.confirmed {
    border-color: var(--color-accent);
    background: linear-gradient(to bottom, rgba(90,122,82,0.05), white);
}

.atelier-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 0.75rem;
    color: var(--color-accent);
}

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

.atelier-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--color-dark);
    margin-bottom: 0.4rem;
}

.atelier-card p {
    font-size: 0.8rem;
    color: var(--color-text-light);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.atelier-gauge {
    margin-bottom: 1rem;
}

.gauge-bar {
    height: 6px;
    background: rgba(0,0,0,0.06);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 0.35rem;
}

.gauge-fill {
    height: 100%;
    border-radius: 6px;
    background: var(--color-warm);
    transition: width 0.5s var(--ease-out);
    width: 0%;
}

.atelier-card.confirmed .gauge-fill {
    background: var(--color-accent);
}

.gauge-label {
    font-size: 0.75rem;
    color: var(--color-text-light);
}

.atelier-count {
    font-weight: 600;
    color: var(--color-dark);
}

.atelier-btn {
    width: 100%;
    padding: 0.55rem 1rem;
    font-size: 0.8rem;
}

.atelier-card.registered .atelier-btn {
    background: var(--color-accent);
    pointer-events: none;
}

/* Modal */
.atelier-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.atelier-modal.open {
    display: flex;
}

.atelier-modal-content {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 420px;
    width: 100%;
    position: relative;
    animation: lbZoom 0.3s var(--ease-out);
}

.atelier-modal-content h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
}

.atelier-modal-content h3 em {
    color: var(--color-accent);
}

#atelierForm input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid rgba(0,0,0,0.1);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    transition: border-color 0.3s;
    background: var(--color-bg);
}

#atelierForm input:focus {
    outline: none;
    border-color: var(--color-accent);
}

#atelierForm button {
    width: 100%;
    margin-top: 0.5rem;
}

.atelier-modal-info {
    font-size: 0.8rem;
    color: var(--color-text-light);
    text-align: center;
    margin-top: 1rem;
    font-style: italic;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    padding: 8rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-grid .contact-info {
    order: 1;
}

.contact-grid .contact-right {
    order: 2;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    color: var(--color-accent);
    padding: 8px;
    background: rgba(90,122,82,0.08);
    border-radius: 10px;
}

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

.contact-item strong {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.15rem;
}

.contact-item p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

.contact-item a {
    color: var(--color-accent);
    transition: color 0.3s;
}

.contact-item a:hover {
    color: var(--color-warm);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--color-cream);
    color: var(--color-text);
    transition: all 0.3s var(--ease-out);
}

.social-link svg {
    width: 22px;
    height: 22px;
}

.social-link:hover {
    background: var(--color-accent);
    color: white;
    transform: translateY(-3px);
}

.contact-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.contact-photo {
    border-radius: 20px;
    overflow: hidden;
}

.facade-img {
    width: 100%;
    border-radius: 20px;
    display: block;
    object-fit: contain;
}

.contact-guide {
    text-align: center;
}

.guide-text {
    display: block;
    font-family: var(--font-accent);
    font-size: 1.4rem;
    color: var(--color-warm);
    margin-bottom: 0.75rem;
}

.guide-btn {
    display: inline-flex;
    align-items: center;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--color-dark);
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    max-width: 200px;
    opacity: 0.9;
    object-fit: contain;
    display: block;
}

.footer-artisan-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    display: block;
    border-radius: 4px;
}

.footer-badges {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    transition: all 0.3s;
}

.footer-social-link svg {
    width: 20px;
    height: 20px;
}

.footer-social-link:hover {
    background: var(--color-warm);
    color: white;
}

.footer-artisan-img {
    height: 42px;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
    opacity: 0.85;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-copy {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-out);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

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

    .ateliers-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .p-card {
        width: calc(33.333% - 0.67rem);
    }

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

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

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

    /* Anti-zoom iOS : inputs >= 16px au focus */
    #atelierForm input,
    .atelier-modal input,
    .atelier-modal textarea,
    .atelier-modal select {
        font-size: 16px;
    }

    /* Cibles tactiles >= 40-44px en mobile */
    .car-btn {
        width: 42px;
        height: 42px;
    }

    .carousel-dot {
        box-sizing: content-box;
        padding: 8px;
        background-clip: content-box;
        background-color: rgba(0,0,0,0.15);
    }

    .carousel-dot.active {
        box-sizing: content-box;
        background-clip: content-box;
        background-color: var(--color-accent);
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        justify-content: center;
    }

    .univers-categories {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

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

    .hero-main {
        flex-direction: column;
        gap: 1.5rem;
    }

    .hero-logo {
        width: 160px;
        height: auto;
    }

    .hero-title {
        text-align: center;
    }

    .cat-card {
        padding: 1.5rem 1rem;
    }

    .p-card {
        width: calc(50% - 0.5rem);
    }

    .photo-card {
        width: calc(50% - 0.5rem);
    }

    .photo-card.portrait {
        width: calc(50% - 0.5rem);
    }

    .nav-container {
        justify-content: space-between !important;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        gap: 1.5rem;
        transition: right 0.4s var(--ease-out);
        box-shadow: -10px 0 40px rgba(0,0,0,0.1);
    }

    .nav-menu.open {
        right: 0;
    }

    body.menu-open {
        overflow: hidden;
    }

    .nav-menu a {
        color: var(--color-text) !important;
        font-size: 1rem;
    }

    .nav-toggle.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

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

    .nav-toggle.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-visual {
        max-width: 500px;
        margin: 0 auto;
    }

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

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

    .gallery-item.large {
        grid-column: span 1;
        aspect-ratio: 16/9;
    }

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

    .contact-grid .contact-right {
        order: -1;
    }

    .facade-img {
        max-height: 300px;
    }



    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .about-stats {
        gap: 2rem;
    }

    .gallery-caption {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }

    .about {
        padding: 5rem 0;
    }

    .univers,
    .creations,
    .agenda,
    .contact {
        padding: 5rem 0;
    }

    .quote-section {
        padding: 5rem 0;
    }

    .agenda-card {
        flex-direction: column;
        text-align: center;
    }

    .agenda-date {
        flex-direction: row;
        gap: 0.25rem;
        justify-content: center;
    }
}

/* ============================================
   ACCESSIBILITÉ - Réduction des animations
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }

    /* Stoppe le marquee défilant */
    .marquee-track {
        animation: none !important;
        transform: none !important;
    }

    /* Neutralise les animations d'entrée (reveal) : contenu visible d'emblée */
    [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
    }
}
