/* ========== RESET & BASE ========== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* SEO: visually hidden but readable by search engines and screen readers */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:root {
    --pink: #eb73a1;
    --purple: #9b59b6;
    --cyan: #1cc3cb;
    --gold: #D4A574;
    --dark: #1a1a1a;
    --light: #fdf6f0;
    --white: #ffffff;
    --gray-100: #f7f7f7;
    --gray-200: #e5e5e5;
    --gray-400: #999;
    --gray-600: #666;
    --gradient: linear-gradient(135deg, var(--pink) 0%, var(--purple) 50%, var(--cyan) 100%);
    --gradient-h: linear-gradient(90deg, var(--pink) 0%, var(--purple) 50%, var(--cyan) 100%);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
    --radius: 16px;
    --radius-sm: 8px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

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

/* ========== LOGO IMAGE ========== */
.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    display: block;
}

.footer-logo-img {
    height: 56px;
    filter: brightness(0) invert(1);
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    gap: 2px;
}

.logo-bikini {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 6px;
    color: var(--purple);
}

.logo-tahiti {
    font-size: 10px;
    letter-spacing: 8px;
    color: var(--purple);
    font-weight: 500;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gray-600);
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-h);
    transition: var(--transition);
}

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

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

.nav-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    color: var(--dark);
}

.icon-btn:hover {
    background: var(--gray-100);
}

.cart-btn {
    position: relative;
}

.cart-count {
    position: absolute;
    top: 4px;
    right: 2px;
    width: 16px;
    height: 16px;
    background: var(--pink);
    color: white;
    font-size: 10px;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0);
    transition: var(--transition);
}

.cart-count.visible {
    opacity: 1;
    transform: scale(1);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 24px;
    padding: 0;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--dark);
    transition: var(--transition);
    border-radius: 2px;
}

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

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

.hero-gradient {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(235,115,161,0.08) 0%, transparent 70%);
    animation: floatBg 15s ease-in-out infinite;
}

@keyframes floatBg {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-30px, 20px) rotate(2deg); }
    66% { transform: translate(20px, -30px) rotate(-2deg); }
}

.hero-content {
    text-align: center;
    z-index: 2;
    padding: 0 20px;
}

.hero-tag {
    font-size: 12px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--pink);
    font-weight: 600;
    margin-bottom: 24px;
    animation: fadeUp 0.8s ease both;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 24px;
    animation: fadeUp 0.8s ease 0.15s both;
}

.title-dark {
    display: block;
    color: var(--dark);
    animation: fadeUp 0.8s ease 0.15s both, elegance-letters 1.2s ease 0.5s both;
}

.title-gradient {
    display: block;
    background: linear-gradient(90deg, var(--pink) 0%, var(--purple) 30%, var(--cyan) 50%, var(--purple) 70%, var(--pink) 100%);
    background-size: 250% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeUp 0.8s ease 0.15s both, shimmer 4s linear 1s infinite;
}

@keyframes elegance-letters {
    from { letter-spacing: -0.05em; opacity: 0.6; }
    to   { letter-spacing: normal; opacity: 1; }
}

@keyframes shimmer {
    0%   { background-position: 0% center; }
    100% { background-position: 250% center; }
}

.hero-subtitle {
    font-size: 18px;
    color: var(--gray-600);
    margin-bottom: 40px;
    font-weight: 300;
    animation: fadeUp 0.8s ease 0.3s both;
}

.btn-primary {
    display: inline-block;
    padding: 16px 48px;
    background: var(--gradient-h);
    color: white;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition);
    animation: fadeUp 0.8s ease 0.45s both;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(235,115,161,0.3);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    gap: 8px;
    animation: fadeUp 0.8s ease 0.6s both;
}
.hero-scroll:hover span { color: var(--pink); }

.hero-scroll span {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray-400);
}

.scroll-line {
    width: 1px;
    height: 40px;
    margin: 0 auto;
    background: var(--gray-200);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 50%;
    background: var(--pink);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { top: -50%; }
    100% { top: 150%; }
}

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

/* ========== MARQUEE BANNER ========== */
.marquee-banner {
    background: #1a1a1a;
    padding: 14px 0;
    overflow: hidden;
    white-space: nowrap;
}
html[data-theme="dark"] .marquee-banner {
    background: #181b22;
    border-top: 1px solid #2a2e37;
    border-bottom: 1px solid #2a2e37;
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 40px;
    animation: marquee 20s linear infinite;
}

.marquee-track span {
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: white;
    font-weight: 500;
    flex-shrink: 0;
}

.marquee-dot {
    width: 4px !important;
    height: 4px;
    background: var(--pink) !important;
    border-radius: 50%;
    display: inline-block;
}

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

/* ========== SECTIONS COMMON ========== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    font-size: 12px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--pink);
    font-weight: 600;
    margin-bottom: 12px;
}

.section-tag.light {
    color: rgba(255,255,255,0.7);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
}

.section-title.left-align {
    text-align: left;
}

.section-subtitle {
    font-size: 16px;
    color: var(--gray-600);
    font-weight: 300;
}

.gradient-text {
    background: var(--gradient-h);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== COLLECTIONS / PRODUCTS ========== */
.collections {
    padding: 100px 40px;
    max-width: none;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 28px;
    max-width: 1500px;
    margin: 0 auto;
}

.product-card {
    border-radius: var(--radius);
    overflow: hidden;
    background: white;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-image-wrapper {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--gray-100);
    border-radius: var(--radius);
}

/* ========== CAROUSEL ========== */
.carousel {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.42s cubic-bezier(0.25, 0.1, 0.25, 1);
    will-change: transform;
}

.carousel-slide {
    min-width: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.92);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    opacity: 1;
    transition: background 0.2s, transform 0.2s;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    box-shadow: 0 2px 10px rgba(0,0,0,0.18);
}

.carousel-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.08);
}

.carousel-prev { left: 10px; }
.carousel-next { right: 10px; }

.carousel-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
    z-index: 4;
    background: rgba(0,0,0,0.32);
    padding: 7px 11px;
    border-radius: 999px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.carousel-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.55);
    transition: background 0.25s, transform 0.25s, width 0.25s;
    cursor: pointer;
}

.carousel-dot.active {
    background: white;
    width: 22px;
    border-radius: 4px;
}

.carousel-counter {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 4;
    background: rgba(0,0,0,0.55);
    color: white;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 5px 11px;
    border-radius: 999px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    gap: 5px;
    pointer-events: none;
    letter-spacing: 0.3px;
}

.carousel-counter::before {
    content: "";
    display: inline-block;
    width: 11px;
    height: 11px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='3' width='18' height='18' rx='2'/><circle cx='8.5' cy='8.5' r='1.5'/><polyline points='21,15 16,10 5,21'/></svg>");
    background-size: contain;
    background-repeat: no-repeat;
}

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 16px;
    background: var(--dark);
    color: white;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 50px;
    z-index: 2;
}

.product-badge.best {
    background: var(--gradient-h);
}

.product-actions {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 2;
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateY(0);
}

.quick-view-btn {
    width: 100%;
    padding: 12px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--dark);
    transition: var(--transition);
}

.quick-view-btn:hover {
    background: var(--dark);
    color: white;
}

.product-info {
    padding: 20px 8px;
}

.product-name {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
}

.product-name-link { color: inherit; transition: color 0.2s var(--ease-out, ease); }
.product-name-link:hover { color: var(--pink); }

.product-desc {
    font-size: 13px;
    color: var(--gray-600);
    margin-bottom: 12px;
}

.product-colors {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.color-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 0 0 2px #D4A574;
}

.color-dot:hover {
    transform: scale(1.2);
}

.color-dot.active {
    transform: scale(1.25);
    box-shadow: 0 0 0 2px var(--bg, #fff), 0 0 0 4px #D4A574;
}

.color-dot[data-img] {
    cursor: pointer;
}

html[data-theme="dark"] .color-dot.active { box-shadow: 0 0 0 2px #15171e, 0 0 0 4px #D4A574; }

/* === Précommande === */
.product-badge.preorder-badge {
    background: linear-gradient(135deg, #ec4899, #f472b6);
    color: white;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
}

.order-fb-btn.preorder-btn,
.modal-add-btn.preorder-btn {
    background: linear-gradient(135deg, #ec4899, #f472b6);
    color: white;
    border: none;
    position: relative;
    overflow: hidden;
}
.order-fb-btn.preorder-btn::before,
.modal-add-btn.preorder-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
    animation: preorderShine 2.4s infinite;
}
@keyframes preorderShine {
    to { left: 100%; }
}
.order-fb-btn.preorder-btn:hover,
.modal-add-btn.preorder-btn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-price {
    font-size: 18px;
    font-weight: 600;
    color: var(--pink);
}

.order-fb-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: linear-gradient(135deg, var(--pink) 0%, var(--purple) 50%, var(--cyan) 100%);
    background-size: 200% auto;
    color: white;
    border: none;
    cursor: pointer;
    font-family: inherit;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(236, 72, 153, 0.28);
    transition: all 0.35s ease;
}

.order-fb-btn:hover {
    background-position: right center;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 22px rgba(236, 72, 153, 0.4);
}

.order-fb-btn:active {
    transform: translateY(0) scale(1);
}

/* ========== PARALLAXE ========== */
.parallaxe-section {
    position: relative;
    height: 65vh;
    min-height: 480px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallaxe-section.parallaxe-slim {
    height: 45vh;
    min-height: 320px;
}

.parallaxe-bg {
    position: absolute;
    /* Dépasse en haut et en bas pour laisser de la marge au translateY */
    top: -30%;
    left: 0;
    right: 0;
    bottom: -30%;
    background-size: cover;
    background-position: center top;
    filter: brightness(0.45);
    will-change: transform;
}

.parallaxe-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 0 24px;
}

.parallaxe-tag {
    font-size: 11px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--pink);
    font-weight: 600;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.parallaxe-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 5.5vw, 72px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 36px;
    color: white;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease 0.15s, transform 0.8s ease 0.15s;
}

.parallaxe-content .btn-primary {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease 0.3s, transform 0.7s ease 0.3s;
}

.parallaxe-section.in-view .parallaxe-tag,
.parallaxe-section.in-view .parallaxe-title,
.parallaxe-section.in-view .btn-primary {
    opacity: 1;
    transform: translateY(0);
}

.parallaxe-title span {
    background: var(--gradient-h);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 768px) {
    .parallaxe-section       { height: 50vh; min-height: 360px; }
    .parallaxe-section.parallaxe-slim { height: 35vh; min-height: 240px; }
    /* Sur mobile translateY via JS est suffisant, pas besoin d'override */
}

/* ========== LOOKBOOK ========== */
.lookbook {
    padding: 100px 40px;
    background: var(--gray-100);
}

.lookbook-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 280px);
    gap: 16px;
}

.lookbook-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
}

.lookbook-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s ease;
}

.lookbook-item:hover img {
    transform: scale(1.08);
}

.lookbook-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.5) 100%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: var(--transition);
}

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

.lookbook-overlay span {
    color: white;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
}

.lookbook-large {
    grid-column: span 2;
    grid-row: span 2;
}

.lookbook-tall {
    grid-row: span 2;
}

/* ========== ABOUT ========== */
.about {
    padding: 120px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

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

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius);
    position: relative;
    z-index: 2;
}

.about-image-accent {
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 2px solid var(--pink);
    border-radius: var(--radius);
    opacity: 0.3;
}

.about-text {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
}

.feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(235,115,161,0.1), rgba(28,195,203,0.1));
    border-radius: 12px;
    color: var(--pink);
    flex-shrink: 0;
}

.feature strong {
    font-size: 14px;
    font-weight: 600;
    display: block;
    margin-bottom: 2px;
}

.feature p {
    font-size: 13px;
    color: var(--gray-600);
}

/* ========== NEWSLETTER ========== */
.newsletter {
    padding: 100px 40px;
    background: var(--dark);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(235,115,161,0.08) 0%, transparent 60%);
}

/* ===== SOCIAL FOLLOW ===== */
.social-follow {
    padding: 110px 24px;
    background: var(--dark);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.social-follow::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 40% at 20% 30%, rgba(235,115,161,0.18) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 70%, rgba(155,89,182,0.18) 0%, transparent 60%);
    pointer-events: none;
}

.social-follow-container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.social-follow .section-tag {
    color: var(--pink);
    margin-bottom: 14px;
}

.social-follow-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    color: white;
    line-height: 1.15;
    margin-bottom: 18px;
}

.social-follow-title .gradient-text {
    background: var(--gradient-h);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.social-follow-text {
    color: rgba(255,255,255,0.65);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 50px;
}

.social-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    max-width: 820px;
    margin: 0 auto;
}

.social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 38px 28px 32px;
    border-radius: 22px;
    text-decoration: none;
    color: white;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.25,0.1,0.25,1), box-shadow 0.35s;
    border: 1px solid rgba(255,255,255,0.08);
}

.social-card-fb {
    background: linear-gradient(135deg, #1877F2 0%, #0d5fc7 100%);
    box-shadow: 0 12px 40px rgba(24,119,242,0.25);
}

.social-card-ig {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 12px 40px rgba(220,39,67,0.28);
}

.social-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.social-card-icon {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.social-card-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    line-height: 1.3;
}

.social-card-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.75);
    font-weight: 500;
}

.social-card-network {
    font-family: 'Playfair Display', serif;
    font-size: 1.85rem;
    font-weight: 700;
    color: white;
}

.social-card-handle {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
}

.social-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 11px 24px;
    background: white;
    color: var(--dark);
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    transition: gap 0.25s;
}

.social-card:hover .social-card-cta {
    gap: 12px;
}

.social-card-fb .social-card-cta { color: #1877F2; }
.social-card-ig .social-card-cta { color: #dc2743; }

@media (max-width: 720px) {
    .social-follow { padding: 80px 16px; }
    .social-cards { grid-template-columns: 1fr; gap: 20px; max-width: 420px; }
    .social-card { padding: 32px 22px 28px; }
    .social-card-icon { width: 64px; height: 64px; }
    .social-card-network { font-size: 1.55rem; }
}

.newsletter-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.newsletter-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    color: white;
    margin-bottom: 16px;
}

.newsletter-text {
    color: rgba(255,255,255,0.6);
    font-size: 16px;
    margin-bottom: 40px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 16px 24px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50px;
    background: rgba(255,255,255,0.08);
    color: white;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.4);
}

.newsletter-form input:focus {
    border-color: var(--pink);
    background: rgba(255,255,255,0.12);
}

.newsletter-form button {
    padding: 16px 32px;
    background: var(--gradient-h);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(235,115,161,0.3);
}

.btn-facebook {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: #1877F2;
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
    margin-top: 8px;
}

.btn-facebook:hover {
    background: #0d65d9;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(24,119,242,0.4);
}

/* ========== FOOTER ========== */
.footer {
    padding: 80px 40px 0;
    background: #111;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    margin-bottom: 16px;
}

.footer-logo .logo-bikini {
    font-size: 20px;
}

.footer-logo .logo-tahiti {
    font-size: 9px;
}

.footer-tagline {
    color: rgba(255,255,255,0.4);
    font-size: 14px;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--pink);
    border-color: var(--pink);
    color: white;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: white;
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 12px;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding: 24px 0;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.3);
}

/* ========== MODAL ========== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: white;
    border-radius: var(--radius);
    max-width: 1600px;
    width: 100%;
    max-height: 95vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(20px) scale(0.98);
    transition: var(--transition);
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gray-100);
    font-size: 24px;
    color: var(--dark);
    z-index: 10;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--dark);
    color: white;
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.modal-gallery {
    aspect-ratio: 3/4;
    background: var(--gray-100);
    border-radius: var(--radius) 0 0 var(--radius);
    overflow: hidden;
}

.modal-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Carousel de la modale (plusieurs photos par couleur) */
.modal-carousel { position: relative; width: 100%; height: 100%; }
.modal-car-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 40px; height: 40px; border-radius: 50%; border: none;
    background: rgba(255,255,255,0.92); color: #333; font-size: 1.6rem; line-height: 1;
    cursor: pointer; z-index: 3; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.18); transition: background 0.15s;
}
.modal-car-btn:hover { background: #fff; }
.modal-car-prev { left: 12px; }
.modal-car-next { right: 12px; }
.modal-car-counter {
    position: absolute; top: 14px; right: 14px; z-index: 3;
    background: rgba(0,0,0,0.55); color: #fff; font-size: 0.78rem; font-weight: 600;
    padding: 5px 11px; border-radius: 999px; backdrop-filter: blur(6px);
}
.modal-car-dots {
    position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
    z-index: 3; display: flex; gap: 7px;
}
.modal-car-dot {
    width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.6);
    cursor: pointer; transition: background 0.15s, transform 0.15s; box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.modal-car-dot.active { background: #fff; transform: scale(1.25); }

.modal-info {
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-product-name {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    margin-bottom: 8px;
}

.modal-price {
    font-size: 24px;
    font-weight: 600;
    color: var(--pink);
    margin-bottom: 24px;
}

.modal-colors {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
}

.size-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.size-options {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.size-stock {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 18px;
}
.size-stock .stock-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.size-stock.stock-ok    { color: #16a34a; }
.size-stock.stock-ok    .stock-dot { background: #16a34a; box-shadow: 0 0 0 3px rgba(22,163,74,0.15); }
.size-stock.stock-low   { color: #d97706; }
.size-stock.stock-low   .stock-dot { background: #f59e0b; box-shadow: 0 0 0 3px rgba(245,158,11,0.15); }
.size-stock.stock-out   { color: #be185d; }
.size-stock.stock-out   .stock-dot { background: #ec4899; box-shadow: 0 0 0 3px rgba(236,72,153,0.15); }

.size-btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.size-btn:hover, .size-btn.active {
    border-color: var(--dark);
    background: var(--dark);
    color: white;
}

.full-width {
    width: 100%;
    text-align: center;
}

/* ========== SCROLL ANIMATIONS ========== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 760px;
    }
}

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

    .lookbook-large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .lookbook-tall {
        grid-row: span 1;
    }

    .about-container {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 20px;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 32px 20px;
        gap: 24px;
        box-shadow: var(--shadow-md);
    }

    .nav-links.open {
        display: flex;
    }

    /* Menu mobile en mode sombre : fond sombre + liens lisibles */
    html[data-theme="dark"] .nav-links {
        background: #15171e;
        border-top: 1px solid #262b34;
        box-shadow: 0 12px 30px rgba(0,0,0,0.5);
    }
    html[data-theme="dark"] .nav-links a { color: #e7e9ee; }
    html[data-theme="dark"] .nav-links a:hover { color: var(--pink); }

    .hamburger {
        display: flex;
    }

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

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

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

    .collections {
        padding: 60px 20px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .lookbook {
        padding: 60px 20px;
    }

    .lookbook-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .lookbook-large {
        grid-column: span 1;
    }

    .lookbook-item {
        height: 240px;
    }

    .about {
        padding: 60px 20px;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .section-title.left-align {
        text-align: center;
    }

    .about-content {
        text-align: center;
    }

    .about-content .section-tag {
        text-align: center;
    }

    .about-features {
        align-items: center;
    }

    .feature {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .newsletter {
        padding: 60px 20px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer {
        padding: 60px 20px 0;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
    }

    .modal-body {
        grid-template-columns: 1fr;
    }

    .modal-gallery {
        aspect-ratio: 1;
        border-radius: var(--radius) var(--radius) 0 0;
    }

    .modal-info {
        padding: 32px 24px;
    }
}

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

    .hero-title {
        font-size: 40px;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   DARK MODE (toggle .theme-toggle, data-theme="dark")
   ============================================ */
.theme-toggle {
    position: fixed; bottom: 20px; left: 20px; z-index: 9998;
    width: 48px; height: 48px; border-radius: 50%; border: none; cursor: pointer;
    background: rgba(255,255,255,0.9); box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    font-size: 1.3rem; display: flex; align-items: center; justify-content: center;
    backdrop-filter: blur(8px); transition: transform 0.2s, background 0.2s;
}
.theme-toggle:hover { transform: scale(1.1); }
/* Variante intégrée dans la barre de navigation (à gauche du panier) */
.theme-toggle.in-nav {
    position: static; width: 40px; height: 40px; border-radius: 50%;
    background: transparent; box-shadow: none; backdrop-filter: none;
    font-size: 1.15rem; order: -1;
}
.theme-toggle.in-nav:hover { transform: scale(1.12); background: rgba(0,0,0,0.05); }
html[data-theme="dark"] .theme-toggle.in-nav { background: transparent; }
html[data-theme="dark"] .theme-toggle.in-nav:hover { background: rgba(255,255,255,0.08); }
/* Dans le menu hamburger (mobile) : ligne avec libellé */
.theme-toggle.in-menu {
    position: static; width: auto; height: auto; border-radius: 10px; box-shadow: none; backdrop-filter: none;
    display: flex; align-items: center; gap: 8px; padding: 10px 4px; font-size: 0.95rem; font-weight: 600;
    background: transparent; color: inherit;
}

html[data-theme="dark"] {
    --dark: #e8eaed;
    --light: #1b1e26;
    --white: #15171e;
    --gray-100: #1f232c;
    --gray-200: #2c313c;
    --gray-300: #7c828d;
    --gray-400: #9aa1ac;
    --gray-500: #aab0ba;
    --gray-600: #c4c9d2;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.5);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.55);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.6);
}
html[data-theme="dark"] body { background: #0f1115; color: var(--dark); }
html[data-theme="dark"] .theme-toggle { background: rgba(40,44,52,0.92); }

/* Surfaces génériques */
html[data-theme="dark"] .navbar,
html[data-theme="dark"] .navbar.scrolled { background: rgba(18,20,26,0.92) !important; border-bottom: 1px solid #262b34; }
html[data-theme="dark"] .nav-links a,
html[data-theme="dark"] .logo,
html[data-theme="dark"] .icon-btn { color: var(--dark); }
html[data-theme="dark"] .footer { background: #0b0d11; color: #b9bec7; }
html[data-theme="dark"] .footer a, html[data-theme="dark"] .footer h4 { color: #d2d6dd; }

/* Cartes / sections claires -> sombres */
html[data-theme="dark"] .section-title,
html[data-theme="dark"] h1, html[data-theme="dark"] h2, html[data-theme="dark"] h3 { color: var(--dark); }
html[data-theme="dark"] .about,
html[data-theme="dark"] .collections,
html[data-theme="dark"] .lookbook,
html[data-theme="dark"] .social-follow { background: #0f1115; }
html[data-theme="dark"] .product-card,
html[data-theme="dark"] .modal-content,
html[data-theme="dark"] .auth-card,
html[data-theme="dark"] .summary-card,
html[data-theme="dark"] .step-card { background: #181b22; color: var(--dark); border-color: #2a2e37; }

/* Champs de formulaire */
html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea {
    background: #1f232c; color: var(--dark); border-color: #2c313c;
}
html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder { color: #6b7280; }

/* Modale produit */
html[data-theme="dark"] .modal-info { background: #181b22; }
html[data-theme="dark"] .size-btn { background: #1f232c; color: var(--dark); border-color: #2c313c; }
html[data-theme="dark"] .size-btn.active { background: var(--dark); color: #15171e; }

/* ===== Prochainement (coming soon) ===== */
.soon-card .product-image-wrapper { position: relative; }
.soon-badge {
    position: absolute; top: 12px; left: 12px; z-index: 3;
    background: linear-gradient(135deg, #f59e0b, #ec4899); color: #fff;
    font-size: 0.74rem; font-weight: 700; padding: 5px 11px; border-radius: 999px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18); letter-spacing: 0.2px;
}
.soon-label {
    font-size: 0.85rem; font-weight: 700; color: #b45309;
    background: #fef3c7; border-radius: 999px; padding: 6px 14px;
}
.soon-card { position: relative; }

/* Photos "Prochainement" : flou léger (on voit sans voir) */
.soon-card .carousel-slide,
.soon-card .product-image-wrapper img { filter: blur(6px); transform: scale(1.08); }
.soon-card .product-image-wrapper { overflow: hidden; }

/* Formulaire "M'avertir" (Prochainement) */
.notify-form { max-width: 460px; margin: 28px auto 0; text-align: center; }
.notify-text { font-weight: 600; color: var(--dark, #1f2937); margin: 0 0 12px; }
.notify-row { display: flex; gap: 8px; }
.notify-row input {
    flex: 1; min-width: 0; padding: 13px 16px; border: 1px solid #e5e5e5; border-radius: 12px;
    font-size: 0.95rem; font-family: inherit;
}
.notify-row input:focus { outline: none; border-color: #ec4899; }
.notify-row button {
    border: none; border-radius: 12px; padding: 0 22px; cursor: pointer; white-space: nowrap;
    background: linear-gradient(135deg, #f59e0b, #ec4899); color: #fff; font-weight: 700; font-family: inherit; font-size: 0.95rem;
}
.notify-row button:disabled { opacity: 0.6; cursor: default; }
.notify-msg { font-size: 0.88rem; font-weight: 600; margin: 10px 0 0; min-height: 18px; }

/* Taille en rupture de stock : grisée (le message "rupture de stock" suffit) */
.size-btn.size-out {
    color: #9ca3af; opacity: 0.6; cursor: not-allowed;
}
/* Bouton "Ajouter au panier" désactivé (rupture) */
#modalAddToCart:disabled, #modalAddToCart.is-disabled {
    opacity: 0.5; cursor: not-allowed; filter: grayscale(0.4);
}
/* Message rupture dans le panier */
.cart-item-oos {
    margin-top: 5px; font-size: 0.74rem; font-weight: 600; color: #b91c1c;
    background: #fef2f2; border-radius: 6px; padding: 3px 8px; display: inline-block;
}

/* Clic sur la photo produit = ouvre l'aperçu rapide (curseur main, pas la loupe) */
.product-image-wrapper.zoomable { cursor: pointer; }
.soon-card .product-image-wrapper.zoomable { cursor: default; }

/* Clic sur la photo de l'aperçu rapide → plein écran */
.modal-main-img.fs-trigger { cursor: zoom-in; }
.bk-lightbox {
    position: fixed; inset: 0; z-index: 100000; display: none;
    align-items: center; justify-content: center; padding: 24px;
    background: rgba(0,0,0,0.92); backdrop-filter: blur(4px);
}
.bk-lightbox.open { display: flex; }
.bk-lightbox img { max-width: 96vw; max-height: 94vh; object-fit: contain; border-radius: 6px; box-shadow: 0 10px 50px rgba(0,0,0,0.6); cursor: zoom-in; transition: transform 0.18s ease-out; }
.bk-lightbox img.zoomed { transform: scale(2.4); cursor: zoom-out; }
.bk-lightbox-close {
    position: fixed; top: 18px; right: 22px; width: 46px; height: 46px; border-radius: 50%;
    background: rgba(255,255,255,0.15); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; border: none;
}
.bk-lightbox-close:hover { background: rgba(255,255,255,0.3); }
/* Plein écran : flèches photos, compteur, pastilles couleur */
.bk-lb-nav { position: fixed; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: none; background: rgba(255,255,255,0.15); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 2; }
.bk-lb-nav:hover { background: rgba(255,255,255,0.3); }
.bk-lb-prev { left: 18px; }
.bk-lb-next { right: 18px; }
.bk-lb-counter { position: fixed; top: 22px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 0.9rem; font-weight: 600; background: rgba(0,0,0,0.4); padding: 4px 14px; border-radius: 999px; z-index: 2; }
.bk-lb-colors { position: fixed; bottom: 86px; left: 50%; transform: translateX(-50%); display: flex; gap: 14px; z-index: 2; }
.bk-lb-order-btn { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 3; border: none; border-radius: 50px; padding: 13px 32px; font-size: 0.98rem; font-weight: 600; color: #fff; cursor: pointer; background: var(--gradient-h, linear-gradient(90deg,#eb73a1 0%,#a06cd5 50%,#5ec5d6 100%)); box-shadow: 0 6px 22px rgba(0,0,0,0.35); }
.bk-lb-order-btn:hover { transform: translateX(-50%) translateY(-2px); }
.bk-lb-order { position: fixed; inset: 0; z-index: 5; background: rgba(0,0,0,0.55); display: none; align-items: center; justify-content: center; padding: 20px; }
.bk-lb-order-box { background: #fff; border-radius: 16px; padding: 26px 28px; max-width: 360px; width: 100%; text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,0.45); }
.bk-lb-order-box h3 { font-family: 'Playfair Display', serif; font-size: 1.3rem; margin: 0 0 4px; color: #1a1a1a; }
.bk-lb-order-sub { color: #777; font-size: 0.9rem; margin: 0 0 18px; }
.bk-lb-order-sizes { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 18px; }
.bk-lb-size { min-width: 50px; padding: 12px 14px; border: 1.5px solid #e5e7eb; border-radius: 10px; background: #fff; font-weight: 600; font-size: 1rem; cursor: pointer; color: #1a1a1a; transition: border-color .15s, color .15s; }
.bk-lb-size:hover:not(.out) { border-color: var(--pink, #eb73a1); color: var(--pink, #eb73a1); }
.bk-lb-size.out { opacity: 0.4; cursor: not-allowed; text-decoration: line-through; }
.bk-lb-order-cancel { background: none; border: none; color: #999; cursor: pointer; font-size: 0.88rem; }
.bk-lb-order-cancel:hover { color: #555; }
.bk-lb-dot { width: 28px; height: 28px; border-radius: 50%; cursor: pointer; box-shadow: 0 0 0 2px rgba(255,255,255,0.3); transition: transform 0.15s; }
.bk-lb-dot:hover { transform: scale(1.12); }
.bk-lb-dot.active { box-shadow: 0 0 0 3px #fff; }
@media (max-width: 600px) {
    .bk-lb-nav { width: 44px; height: 44px; font-size: 1.6rem; }
    .bk-lb-prev { left: 6px; } .bk-lb-next { right: 6px; }
    .bk-lb-dot { width: 24px; height: 24px; }
}

/* ============================================
   DARK MODE — Pages blog / articles
   ============================================ */
html[data-theme="dark"] .page-hero,
html[data-theme="dark"] .article-hero {
    background: linear-gradient(135deg, #1a1d25 0%, #14161c 100%);
}
html[data-theme="dark"] .article-card,
html[data-theme="dark"] .morpho-card {
    background: #181b22;
    border-color: #2a2e37;
}
html[data-theme="dark"] .article-card-image { background: #2a2e37; }
html[data-theme="dark"] .article-card h2,
html[data-theme="dark"] .article-card-body { color: var(--dark); }
html[data-theme="dark"] .page-hero p,
html[data-theme="dark"] .article-hero .article-meta,
html[data-theme="dark"] .article-card p,
html[data-theme="dark"] .article-card-meta,
html[data-theme="dark"] .article-content { color: var(--gray-600); }
html[data-theme="dark"] .article-cta {
    background: linear-gradient(135deg, #1a1d25, #14161c);
}
html[data-theme="dark"] .morpho-card figcaption p { color: var(--gray-600); }

/* ============================================
   Galerie photos dans les articles
   ============================================ */
.article-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 34px 0; }
.article-gallery figure { margin: 0; }
.article-gallery img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 14px; box-shadow: var(--shadow-md); transition: transform 0.4s; }
.article-gallery figure:hover img { transform: scale(1.03); }
.article-gallery figcaption { font-size: 0.8rem; color: var(--gray-500); margin-top: 8px; text-align: center; line-height: 1.4; }
@media (max-width: 600px) { .article-gallery { grid-template-columns: 1fr 1fr; gap: 10px; } }
html[data-theme="dark"] .article-gallery figcaption { color: var(--gray-500); }

/* Avoir client (espace compte) */
.account-credit { margin: 6px 0 0; font-weight: 600; color: #15803d; background: #f0fdf4; display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 0.9rem; }
html[data-theme="dark"] .account-credit { background: #0f2e1c; color: #86efac; }

/* ============================================================
   PREMIUM UI/UX POLISH — page d'accueil (v1, réversible)
   Micro-interactions, profondeur, reveal au scroll, accessibilité.
   ============================================================ */
:root {
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-card: 0 1px 2px rgba(16,24,40,0.04), 0 6px 18px rgba(16,24,40,0.07);
    --shadow-card-hover: 0 10px 28px rgba(16,24,40,0.10), 0 26px 52px rgba(235,115,161,0.14);
}

/* --- Cartes produits : élévation douce + zoom image au survol --- */
.product-card {
    box-shadow: var(--shadow-card);
    transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
    position: relative;
}
.product-card:hover {
    box-shadow: var(--shadow-card-hover);
}
.product-image-wrapper { will-change: transform; }
.product-image-wrapper .carousel-slide,
.product-image-wrapper img { transition: transform 0.55s var(--ease-out); }
/* Survol desktop/souris : toute la carte grandit + zoom de la photo */
@media (hover: hover) and (pointer: fine) {
    .product-card:not(.soon-card):hover {
        transform: scale(1.05);
        z-index: 3;
    }
    .product-card:not(.soon-card):hover .product-image-wrapper .carousel-slide,
    .product-card:not(.soon-card):hover .product-image-wrapper img { transform: scale(1.06); }
}
html[data-theme="dark"] .product-card { box-shadow: 0 1px 2px rgba(0,0,0,0.4), 0 8px 22px rgba(0,0,0,0.45); }
html[data-theme="dark"] .product-card:hover { box-shadow: 0 12px 30px rgba(0,0,0,0.55), 0 26px 52px rgba(235,115,161,0.18); }

/* --- Reveal échelonné des cartes au scroll --- */
.bk-reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.bk-reveal.bk-in { opacity: 1; transform: none; }

/* --- Boutons : retour tactile + balayage de dégradé --- */
.btn-primary { transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out); }
.btn-primary:active { transform: translateY(0) scale(0.97); }
.order-fb-btn { background-position: 0% center; transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background-position 0.6s ease, filter 0.3s ease; }
.order-fb-btn:hover { background-position: 100% center; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(235,115,161,0.32); }
.order-fb-btn:active { transform: translateY(0) scale(0.97); }

/* --- Pastilles couleur : transition plus fluide --- */
.color-dot { transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out); }

/* --- Accessibilité : focus visible cohérent --- */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
    outline: 2px solid var(--pink);
    outline-offset: 3px;
    border-radius: 6px;
}

/* --- Respect de prefers-reduced-motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    .bk-reveal { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   MICRO-ANIMATIONS GLOBALES — toutes les pages (CSS pur, v1)
   Note : pas de transform sur <body> (casserait la navbar fixe) → opacité seule.
   ============================================================ */

/* 1. Entrée de page : fondu doux à l'ouverture de chaque page */
@keyframes bkPageIn { from { opacity: 0; } to { opacity: 1; } }
body { animation: bkPageIn 0.45s ease both; }

/* 2. Liens : transition de couleur douce partout */
a { transition: color 0.25s var(--ease-out, ease); }

/* 3. Boutons : retour tactile au clic + survol fluide */
button, .btn-secondary, .auth-btn, .btn-danger, input[type="submit"], .profile-form button[type="submit"] {
    transition: transform 0.25s var(--ease-out, ease), box-shadow 0.25s var(--ease-out, ease), background-color 0.25s ease, filter 0.25s ease, opacity 0.25s ease;
}
button:not(:disabled):active,
.btn-secondary:active,
.auth-btn:not(:disabled):active,
.btn-danger:not(:disabled):active { transform: scale(0.97); }

/* 4. Champs de formulaire : halo rose au focus */
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), select, textarea {
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):focus, select:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(235,115,161,0.16);
}

/* 5. Liens de pied de page : léger glissement au survol */
.footer-col a { transition: color 0.25s ease, transform 0.25s var(--ease-out, ease); }
.footer-col a:hover { transform: translateX(4px); }

/* 6. Icônes de la barre de nav : petit zoom au survol */
.nav-icons button, .nav-icons a { transition: transform 0.25s var(--ease-out, ease), color 0.25s ease; }
.nav-icons button:hover, .nav-icons a:hover { transform: scale(1.12); }

/* 7. Titres de section : soulignement animé du tag */
.section-tag { position: relative; display: inline-block; }

/* 8. Reveal au scroll natif (navigateurs récents) — SANS JavaScript.
      Hors @supports, aucune opacité:0 n'est posée → contenu visible par défaut
      (zéro risque de masquage). Exclut les éléments déjà animés en JS sur l'accueil. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    @keyframes bkRevealUp { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }
    .article-card,
    .bk-reveal-up,
    .legal-card,
    .article-content > h2,
    .article-content > p,
    .article-content > figure,
    .order-card {
        animation: bkRevealUp linear both;
        animation-timeline: view();
        animation-range: entry 0% entry 60%;
    }
  }
}

/* ============================================================
   MICRO-ANIMATIONS — modale « aperçu produit »
   ============================================================ */
/* Entrée échelonnée du panneau d'infos (nom, prix, couleurs, tailles, bouton) */
@keyframes bkModalUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.modal-overlay.active .modal-info > * { animation: bkModalUp 0.5s var(--ease-out, ease) both; }
.modal-overlay.active .modal-info > *:nth-child(1) { animation-delay: 0.06s; }
.modal-overlay.active .modal-info > *:nth-child(2) { animation-delay: 0.12s; }
.modal-overlay.active .modal-info > *:nth-child(3) { animation-delay: 0.18s; }
.modal-overlay.active .modal-info > *:nth-child(4) { animation-delay: 0.24s; }
.modal-overlay.active .modal-info > *:nth-child(5) { animation-delay: 0.30s; }

/* Image : léger fondu-zoom à l'ouverture */
@keyframes bkModalImg { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
.modal-overlay.active .modal-gallery { animation: bkModalImg 0.6s var(--ease-out, ease) both; }

/* Boutons taille : pression + pop sur l'actif */
.size-btn { transition: border-color .2s, color .2s, background-color .2s, transform .2s var(--ease-out, ease); }
.size-btn:active { transform: scale(0.94); }
.size-btn.active { transform: scale(1.05); }

/* Pastilles couleur de la modale : zoom au survol */
.modal-colors .color-dot { transition: transform .2s var(--ease-out, ease), box-shadow .2s ease; }

/* Flèches du carrousel : zoom au survol + pression */
.modal-car-btn { transition: background .15s, transform .2s var(--ease-out, ease); }
.modal-car-btn:hover { transform: translateY(-50%) scale(1.12); }
.modal-car-btn:active { transform: translateY(-50%) scale(0.95); }

/* « Ajouter au panier » : balayage lumineux du dégradé au survol */
.modal-add-btn { background-size: 200% auto; background-position: 0% center; transition: transform .3s var(--ease-out, ease), box-shadow .3s ease, background-position .6s ease; }
.modal-add-btn:hover { background-position: 100% center; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(235,115,161,0.35); }
.modal-add-btn:active { transform: translateY(0) scale(0.98); }

@media (prefers-reduced-motion: reduce) {
    .modal-overlay.active .modal-info > *,
    .modal-overlay.active .modal-gallery { animation: none !important; }
}
