/* ==========================================================================
   Mourroz Maïlys — Fleuriste Montpellier
   Design system : doux, lumineux, estival, élégant
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Variables & reset
   -------------------------------------------------------------------------- */
:root {
    /* Palette */
    --c-sky: #b9dcef;
    --c-sky-deep: #7fb8d6;
    --c-sunset: #f4c47a;
    --c-sunset-deep: #e89c4d;
    --c-lavender: #c5b3dc;
    --c-lavender-deep: #9b7fc1;
    --c-cream: #faf6ef;
    --c-sage: #aab98e;
    --c-sage-deep: #7c8b62;

    /* Texte */
    --c-ink: #2b2a2e;
    --c-ink-soft: #5a5760;
    --c-ink-mute: #8a8691;
    --c-line: #ece6dd;

    /* Surfaces */
    --c-bg: #fffdf9;
    --c-surface: #ffffff;
    --c-surface-warm: #fbf6ee;

    /* Ombres */
    --shadow-sm: 0 4px 14px rgba(60, 50, 80, 0.06);
    --shadow-md: 0 12px 32px rgba(60, 50, 80, 0.09);
    --shadow-lg: 0 24px 60px rgba(60, 50, 80, 0.14);

    /* Typo */
    --font-display: "Cormorant Garamond", "Playfair Display", Georgia, serif;
    --font-text: "Inter", "Helvetica Neue", Arial, sans-serif;
    --font-script: "Caveat", "Brush Script MT", cursive;

    /* Layout */
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --radius-pill: 999px;
    --container: 1240px;
    --gap: clamp(1rem, 2vw, 1.6rem);

    /* Transitions */
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --t-fast: 220ms var(--ease);
    --t-med: 420ms var(--ease);
    --t-slow: 700ms var(--ease);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: var(--font-text);
    color: var(--c-ink);
    background: var(--c-bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* Bloque tout débordement latéral d'éléments décoratifs */
.hero, .page-hero, section, .cta-banner, .marquee {
    max-width: 100vw;
}

.scroll-hint { display: none; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* --------------------------------------------------------------------------
   2. Typographie
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.15;
    margin: 0 0 .6em;
    color: var(--c-ink);
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); font-weight: 400; }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1em; color: var(--c-ink-soft); }

.eyebrow {
    font-family: var(--font-script);
    color: var(--c-lavender-deep);
    font-size: 1.6rem;
    line-height: 1;
    display: inline-block;
    margin-bottom: .4rem;
    transform: rotate(-2deg);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}
.section-title h2 { margin-bottom: .4rem; }
.section-title p { max-width: 620px; margin: 0 auto; color: var(--c-ink-soft); }

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.container {
    width: min(100% - 2.4rem, var(--container));
    margin-inline: auto;
}

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

.section-cream { background: var(--c-cream); }
.section-warm  { background: linear-gradient(180deg, var(--c-bg) 0%, var(--c-cream) 100%); }

/* --------------------------------------------------------------------------
   4. Boutons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .95rem 1.7rem;
    border-radius: var(--radius-pill);
    font-weight: 500;
    font-size: .95rem;
    letter-spacing: .02em;
    transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), color var(--t-fast);
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: var(--c-ink);
    color: var(--c-cream);
    box-shadow: var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-2px); background: var(--c-lavender-deep); box-shadow: var(--shadow-md); }

.btn-accent {
    background: linear-gradient(135deg, var(--c-sunset) 0%, var(--c-sunset-deep) 100%);
    color: #fff;
    box-shadow: 0 8px 22px rgba(232, 156, 77, .35);
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(232, 156, 77, .45); }

.btn-ghost {
    background: transparent;
    color: var(--c-ink);
    border: 1.5px solid var(--c-ink);
}
.btn-ghost:hover { background: var(--c-ink); color: var(--c-cream); }

.btn-soft {
    background: var(--c-surface);
    color: var(--c-ink);
    border: 1.5px solid var(--c-line);
}
.btn-soft:hover { background: var(--c-cream); border-color: var(--c-lavender); }

.btn-link {
    display: inline-flex; align-items: center; gap: .35rem;
    color: var(--c-lavender-deep);
    font-weight: 500;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
    transition: gap var(--t-fast), border-color var(--t-fast);
}
.btn-link:hover { gap: .6rem; border-color: var(--c-lavender-deep); }

/* --------------------------------------------------------------------------
   5. Header / nav
   -------------------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 253, 249, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--t-fast), background var(--t-fast);
}
.site-header.scrolled {
    border-bottom-color: var(--c-line);
    background: rgba(255, 253, 249, 0.94);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 0;
    gap: 1rem;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 500;
    letter-spacing: .02em;
    line-height: 1;
    display: flex;
    align-items: center;
    gap: .6rem;
}
.logo-mark {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--c-sunset) 0%, var(--c-lavender) 60%, var(--c-sky) 100%);
    box-shadow: 0 4px 12px rgba(155, 127, 193, 0.25);
    position: relative;
    flex-shrink: 0;
}
.logo-mark::after {
    content: "";
    position: absolute;
    inset: 32%;
    border-radius: 50%;
    background: var(--c-cream);
}
.logo small {
    display: block;
    font-family: var(--font-script);
    font-size: .9rem;
    color: var(--c-lavender-deep);
    line-height: 1;
    margin-top: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0; padding: 0;
    gap: 2rem;
}
.nav-links a {
    font-size: .92rem;
    font-weight: 500;
    color: var(--c-ink-soft);
    position: relative;
    transition: color var(--t-fast);
}
.nav-links a::after {
    content: "";
    position: absolute;
    left: 0; bottom: -6px;
    width: 0; height: 2px;
    background: var(--c-lavender-deep);
    transition: width var(--t-med);
}
.nav-links a:hover, .nav-links a.active { color: var(--c-ink); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: .8rem; }

.cart-btn {
    position: relative;
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--c-cream);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background var(--t-fast), transform var(--t-fast);
}
.cart-btn:hover { background: var(--c-lavender); transform: translateY(-2px); }
.cart-btn svg { width: 20px; height: 20px; stroke: var(--c-ink); }
.cart-count {
    position: absolute;
    top: -4px; right: -4px;
    min-width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--c-sunset-deep);
    color: #fff;
    font-size: .72rem;
    font-weight: 600;
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0 6px;
    box-shadow: 0 2px 8px rgba(232, 156, 77, .5);
}

.menu-toggle {
    display: none;
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--c-cream);
    align-items: center;
    justify-content: center;
}
.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--c-ink);
    position: relative;
    transition: background var(--t-fast);
}
.menu-toggle span::before, .menu-toggle span::after {
    content: ""; position: absolute; left: 0;
    width: 18px; height: 2px; background: var(--c-ink);
    transition: transform var(--t-fast);
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after  { top: 6px; }
.menu-toggle.open span { background: transparent; }
.menu-toggle.open span::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle.open span::after  { transform: translateY(-6px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(4rem, 8vw, 7rem);
    overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}
.hero-content { position: relative; z-index: 2; }
.hero h1 {
    font-size: clamp(2.6rem, 5.4vw, 4.5rem);
    margin-bottom: 1.2rem;
}
.hero h1 em {
    font-style: italic;
    color: var(--c-lavender-deep);
    font-family: var(--font-display);
}
.hero-sub {
    font-size: 1.15rem;
    color: var(--c-ink-soft);
    max-width: 520px;
    margin-bottom: 2rem;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-meta {
    margin-top: 3rem;
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}
.hero-meta .item {
    display: flex; flex-direction: column;
}
.hero-meta strong {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--c-ink);
    line-height: 1;
}
.hero-meta span {
    font-size: .82rem;
    color: var(--c-ink-mute);
    margin-top: 4px;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.hero-visual {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: rotate(1.5deg);
}
.hero-visual img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 1.4s var(--ease);
}
.hero-visual:hover img { transform: scale(1.05); }

.hero-visual::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(43, 42, 46, 0.18) 100%);
}

.hero-badge {
    position: absolute;
    bottom: 1.4rem; left: 1.4rem;
    background: rgba(255, 253, 249, 0.92);
    backdrop-filter: blur(10px);
    padding: .85rem 1.1rem;
    border-radius: var(--radius-md);
    display: flex; align-items: center; gap: .8rem;
    box-shadow: var(--shadow-md);
    z-index: 2;
}
.hero-badge .dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--c-sage);
    box-shadow: 0 0 0 4px rgba(170, 185, 142, .3);
    animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(170, 185, 142, .3); }
    50%      { box-shadow: 0 0 0 9px rgba(170, 185, 142, .12); }
}
.hero-badge p { margin: 0; font-size: .85rem; color: var(--c-ink); font-weight: 500; }
.hero-badge small { color: var(--c-ink-mute); font-size: .72rem; }

.hero-floating-card {
    position: absolute;
    top: 1.4rem; right: -1rem;
    background: var(--c-surface);
    padding: .85rem 1.1rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex; align-items: center; gap: .7rem;
    z-index: 2;
    transform: rotate(-3deg);
}
.hero-floating-card .stars { color: var(--c-sunset-deep); font-size: .85rem; letter-spacing: 1px; }
.hero-floating-card span { font-size: .82rem; color: var(--c-ink-soft); }

/* Décorations hero */
.hero-blob {
    position: absolute;
    width: 460px; height: 460px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .42;
    z-index: 0;
    pointer-events: none;
}
.hero-blob.b1 { background: var(--c-lavender); top: -100px; left: -120px; }
.hero-blob.b2 { background: var(--c-sunset); bottom: -120px; right: -80px; opacity: .32; }
.hero-blob.b3 { background: var(--c-sky); top: 30%; right: 30%; width: 280px; height: 280px; opacity: .28; }

/* --------------------------------------------------------------------------
   7. Marquee / bannière douce
   -------------------------------------------------------------------------- */
.marquee {
    background: var(--c-ink);
    color: var(--c-cream);
    padding: 1rem 0;
    overflow: hidden;
    border-radius: 0;
}
.marquee-track {
    display: flex;
    gap: 3rem;
    white-space: nowrap;
    animation: marquee 40s linear infinite;
    width: max-content;
}
.marquee span {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-style: italic;
    color: var(--c-cream);
    opacity: .85;
}
.marquee i {
    color: var(--c-sunset);
    font-style: normal;
}
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   8. À propos / Maïlys
   -------------------------------------------------------------------------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}
.about-visual { position: relative; }
.about-visual .frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/5;
    box-shadow: var(--shadow-lg);
}
.about-visual .frame img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 1.2s var(--ease);
}
.about-visual:hover .frame img { transform: scale(1.04); }

.about-visual .frame-secondary {
    position: absolute;
    bottom: -2.5rem; right: -2.5rem;
    width: 50%;
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 6px solid var(--c-bg);
}
.about-visual .frame-secondary img { width: 100%; height: 100%; object-fit: cover; }

.about-visual .floating-tag {
    position: absolute;
    top: 1.5rem; left: -1.5rem;
    background: var(--c-cream);
    padding: .8rem 1.2rem;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-md);
    font-family: var(--font-script);
    color: var(--c-lavender-deep);
    font-size: 1.3rem;
    transform: rotate(-6deg);
}

.about-quote {
    background: linear-gradient(135deg, var(--c-cream) 0%, #fff 100%);
    border-left: 3px solid var(--c-lavender-deep);
    padding: 1.4rem 1.6rem;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 1.8rem 0;
    font-style: italic;
    color: var(--c-ink-soft);
    font-size: 1.02rem;
    line-height: 1.7;
}
.about-quote::before {
    content: "“";
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--c-lavender-deep);
    line-height: .5;
    display: block;
    margin-bottom: .4rem;
    opacity: .6;
}
.about-signature {
    font-family: var(--font-script);
    color: var(--c-lavender-deep);
    font-size: 1.7rem;
    margin-top: 1rem;
    display: inline-block;
}

/* --------------------------------------------------------------------------
   9. Avantages / cartes
   -------------------------------------------------------------------------- */
.advantages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.4rem;
}
.advantage-card {
    background: var(--c-surface);
    padding: 2rem 1.7rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--c-line);
    transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
    position: relative;
    overflow: hidden;
}
.advantage-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}
.advantage-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, transparent 60%, rgba(197, 179, 220, .15));
    opacity: 0;
    transition: opacity var(--t-med);
}
.advantage-card:hover::before { opacity: 1; }
.advantage-icon {
    width: 56px; height: 56px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.1rem;
    background: linear-gradient(135deg, var(--c-cream), #fff);
    box-shadow: inset 0 0 0 1px var(--c-line);
    font-size: 1.6rem;
}
.advantage-icon.lav { background: linear-gradient(135deg, #efe7f7, #fff); }
.advantage-icon.sky { background: linear-gradient(135deg, #e3f2fa, #fff); }
.advantage-icon.sun { background: linear-gradient(135deg, #fdeed4, #fff); }
.advantage-icon.sage{ background: linear-gradient(135deg, #ebf0e0, #fff); }

.advantage-card h3 { margin-bottom: .5rem; font-size: 1.2rem; }
.advantage-card p { font-size: .94rem; margin: 0; color: var(--c-ink-soft); }

/* --------------------------------------------------------------------------
   10. Catégories (mini-galerie)
   -------------------------------------------------------------------------- */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.4rem;
}
.category-card {
    position: relative;
    aspect-ratio: 3/4;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--t-med), box-shadow var(--t-med);
}
.category-card img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 1s var(--ease);
}
.category-card::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(43, 42, 46, .8) 100%);
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.category-card:hover img { transform: scale(1.07); }
.category-info {
    position: absolute;
    bottom: 1.4rem; left: 1.4rem; right: 1.4rem;
    z-index: 2;
    color: var(--c-cream);
}
.category-info h3 {
    color: #fff;
    font-size: 1.4rem;
    margin: 0 0 .3rem;
}
.category-info span {
    font-size: .82rem;
    opacity: .9;
    letter-spacing: .03em;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

/* --------------------------------------------------------------------------
   11. Filtres boutique
   -------------------------------------------------------------------------- */
.shop-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.4rem;
    padding: 1.2rem 1.4rem;
    background: var(--c-surface);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}
.filter-group {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}
.filter-btn {
    padding: .55rem 1.1rem;
    background: transparent;
    border: 1px solid var(--c-line);
    border-radius: var(--radius-pill);
    font-size: .88rem;
    color: var(--c-ink-soft);
    transition: all var(--t-fast);
}
.filter-btn:hover { border-color: var(--c-lavender-deep); color: var(--c-ink); }
.filter-btn.active {
    background: var(--c-ink);
    color: var(--c-cream);
    border-color: var(--c-ink);
}
.filter-label {
    font-size: .82rem;
    color: var(--c-ink-mute);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-right: .3rem;
    align-self: center;
}

.toolbar-row {
    display: flex;
    align-items: center;
    gap: .8rem;
    flex-wrap: wrap;
}

select.sort-select {
    padding: .55rem 2rem .55rem 1rem;
    border: 1px solid var(--c-line);
    border-radius: var(--radius-pill);
    background: var(--c-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none' viewBox='0 0 10 6'%3E%3Cpath stroke='%235a5760' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M1 1l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 1rem center;
    appearance: none;
    font-size: .88rem;
    color: var(--c-ink-soft);
    cursor: pointer;
}

/* --------------------------------------------------------------------------
   12. Cartes produits
   -------------------------------------------------------------------------- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: clamp(1.2rem, 2.6vw, 2rem);
}

.product-card {
    background: var(--c-surface);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform var(--t-med), box-shadow var(--t-med);
    border: 1px solid transparent;
    position: relative;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--c-line);
}
.product-image {
    aspect-ratio: 4/5;
    overflow: hidden;
    background: var(--c-cream);
    position: relative;
}
.product-image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 1.1s var(--ease);
}
.product-card:hover .product-image img { transform: scale(1.06); }

.product-tag {
    position: absolute;
    top: 1rem; left: 1rem;
    padding: .35rem .8rem;
    background: rgba(255, 253, 249, .92);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-pill);
    font-size: .72rem;
    color: var(--c-ink);
    font-weight: 500;
    letter-spacing: .03em;
    text-transform: uppercase;
}
.product-tag.sun { background: var(--c-sunset); color: #fff; }
.product-tag.lav { background: var(--c-lavender-deep); color: #fff; }

.product-quick {
    position: absolute;
    top: 1rem; right: 1rem;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255, 253, 249, .92);
    backdrop-filter: blur(8px);
    display: inline-flex;
    align-items: center; justify-content: center;
    transition: background var(--t-fast), transform var(--t-fast);
    opacity: 0;
    transform: translateY(-6px);
}
.product-card:hover .product-quick { opacity: 1; transform: translateY(0); }
.product-quick:hover { background: var(--c-sunset); }
.product-quick svg { width: 18px; height: 18px; stroke: var(--c-ink); }
.product-quick:hover svg { stroke: #fff; }

.product-body {
    padding: 1.4rem 1.4rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .7rem;
    flex: 1;
}
.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .76rem;
    color: var(--c-ink-mute);
    text-transform: uppercase;
    letter-spacing: .06em;
}
.product-name {
    font-family: var(--font-display);
    font-size: 1.35rem;
    margin: 0;
    line-height: 1.2;
}
.product-desc {
    font-size: .9rem;
    color: var(--c-ink-soft);
    margin: 0;
    line-height: 1.5;
}
.product-colors {
    display: flex;
    gap: .35rem;
    margin-top: .2rem;
}
.color-dot {
    width: 14px; height: 14px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: .6rem;
    margin-top: auto;
    border-top: 1px dashed var(--c-line);
}
.product-price {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--c-ink);
    font-weight: 500;
}
.product-price small { font-size: .7rem; color: var(--c-ink-mute); display: block; }

.btn-add {
    width: 42px; height: 42px;
    background: var(--c-ink);
    border-radius: 50%;
    color: var(--c-cream);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all var(--t-fast);
}
.btn-add:hover { background: var(--c-sunset-deep); transform: rotate(90deg); }
.btn-add svg { width: 18px; height: 18px; stroke: currentColor; }

/* --------------------------------------------------------------------------
   13. Catégorie titre dans boutique
   -------------------------------------------------------------------------- */
.category-block { margin-bottom: 4rem; }
.category-block:last-child { margin-bottom: 0; }
.category-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 1.6rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.category-header h2 {
    margin: 0;
    font-size: clamp(1.6rem, 2.4vw, 2.2rem);
    display: flex;
    align-items: center;
    gap: .6rem;
}
.category-header .count {
    font-family: var(--font-script);
    color: var(--c-lavender-deep);
    font-size: 1.2rem;
}
.category-header p { margin: .2rem 0 0; color: var(--c-ink-soft); }

/* --------------------------------------------------------------------------
   14. Avis clients
   -------------------------------------------------------------------------- */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.6rem;
}
.review-card {
    background: var(--c-surface);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    position: relative;
    border: 1px solid var(--c-line);
    transition: transform var(--t-med), box-shadow var(--t-med);
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.review-card .stars {
    color: var(--c-sunset-deep);
    font-size: 1.05rem;
    letter-spacing: 2px;
    margin-bottom: .8rem;
}
.review-card p {
    font-style: italic;
    color: var(--c-ink-soft);
    margin: 0 0 1.2rem;
    line-height: 1.65;
}
.review-author {
    display: flex; align-items: center; gap: .8rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--c-line);
}
.review-author .avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--c-lavender), var(--c-sky));
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff;
    font-family: var(--font-display);
    font-weight: 600;
}
.review-author .info strong {
    display: block;
    font-size: .92rem;
    color: var(--c-ink);
}
.review-author .info span {
    font-size: .78rem;
    color: var(--c-ink-mute);
}

/* --------------------------------------------------------------------------
   15. Instagram preview
   -------------------------------------------------------------------------- */
.insta-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: .7rem;
}
.insta-grid a {
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
    display: block;
    transition: transform var(--t-fast);
}
.insta-grid a:hover { transform: translateY(-3px); }
.insta-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.insta-grid a:hover img { transform: scale(1.08); }
.insta-grid a::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(155, 127, 193, .4), rgba(232, 156, 77, .2));
    opacity: 0;
    transition: opacity var(--t-med);
}
.insta-grid a:hover::after { opacity: 1; }

/* --------------------------------------------------------------------------
   16. CTA banner
   -------------------------------------------------------------------------- */
.cta-banner {
    background: linear-gradient(135deg, var(--c-lavender) 0%, var(--c-sky) 100%);
    border-radius: var(--radius-lg);
    padding: clamp(2.5rem, 5vw, 4rem);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-banner::before, .cta-banner::after {
    content: "";
    position: absolute;
    width: 280px; height: 280px;
    border-radius: 50%;
    filter: blur(50px);
    opacity: .55;
}
.cta-banner::before { background: var(--c-sunset); top: -100px; left: -80px; }
.cta-banner::after  { background: #fff; bottom: -120px; right: -60px; opacity: .35; }
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { color: #fff; margin-bottom: .8rem; }
.cta-banner p { color: rgba(255, 255, 255, .92); max-width: 540px; margin: 0 auto 1.8rem; font-size: 1.05rem; }
.cta-banner .btn-primary { background: #fff; color: var(--c-ink); }
.cta-banner .btn-primary:hover { background: var(--c-ink); color: #fff; }

/* --------------------------------------------------------------------------
   17. Footer
   -------------------------------------------------------------------------- */
.site-footer {
    background: var(--c-ink);
    color: var(--c-cream);
    padding: 4.5rem 0 2rem;
    margin-top: 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 2.6rem;
    margin-bottom: 3rem;
}
.site-footer h4 {
    color: #fff;
    margin-bottom: 1.1rem;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: .03em;
}
.site-footer p {
    color: rgba(250, 246, 239, .65);
    font-size: .92rem;
    line-height: 1.7;
}
.footer-brand .logo { color: var(--c-cream); }
.footer-brand .logo small { color: var(--c-sunset); }
.footer-brand p { max-width: 280px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a {
    color: rgba(250, 246, 239, .7);
    font-size: .92rem;
    transition: color var(--t-fast);
}
.footer-links a:hover { color: var(--c-sunset); }

.newsletter form {
    display: flex;
    background: rgba(255, 255, 255, .06);
    border-radius: var(--radius-pill);
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, .1);
    margin-top: 1rem;
}
.newsletter input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--c-cream);
    padding: .65rem 1rem;
    font-size: .88rem;
    outline: none;
}
.newsletter input::placeholder { color: rgba(250, 246, 239, .45); }
.newsletter button {
    background: var(--c-sunset);
    color: #fff;
    padding: .55rem 1.1rem;
    border-radius: var(--radius-pill);
    font-weight: 500;
    font-size: .85rem;
    transition: background var(--t-fast);
}
.newsletter button:hover { background: var(--c-sunset-deep); }

.footer-socials { display: flex; gap: .6rem; margin-top: 1rem; }
.footer-socials a {
    width: 40px; height: 40px;
    background: rgba(255, 255, 255, .06);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background var(--t-fast), transform var(--t-fast);
}
.footer-socials a:hover { background: var(--c-sunset); transform: translateY(-3px); }
.footer-socials svg { width: 18px; height: 18px; }

.footer-bottom {
    padding-top: 1.8rem;
    border-top: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: .82rem;
    color: rgba(250, 246, 239, .5);
}

/* --------------------------------------------------------------------------
   18. Formulaires
   -------------------------------------------------------------------------- */
.form-card {
    background: var(--c-surface);
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 4vw, 3rem);
    box-shadow: var(--shadow-md);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}
.form-group { display: flex; flex-direction: column; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
    font-size: .82rem;
    color: var(--c-ink-soft);
    margin-bottom: .4rem;
    font-weight: 500;
    letter-spacing: .02em;
}
.form-group input,
.form-group select,
.form-group textarea {
    padding: .85rem 1rem;
    border: 1.5px solid var(--c-line);
    border-radius: var(--radius-sm);
    font-family: var(--font-text);
    font-size: .94rem;
    background: var(--c-bg);
    color: var(--c-ink);
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--c-lavender-deep);
    box-shadow: 0 0 0 4px rgba(155, 127, 193, .15);
}
.form-group textarea { resize: vertical; min-height: 130px; font-family: var(--font-text); }

.radio-row { display: flex; gap: .6rem; flex-wrap: wrap; }
.radio-row label {
    flex: 1;
    min-width: 140px;
    background: var(--c-bg);
    border: 1.5px solid var(--c-line);
    border-radius: var(--radius-sm);
    padding: .85rem 1rem;
    cursor: pointer;
    text-align: center;
    transition: all var(--t-fast);
    margin: 0;
}
.radio-row input { display: none; }
.radio-row input:checked + span { color: var(--c-ink); font-weight: 500; }
.radio-row label:has(input:checked) {
    background: linear-gradient(135deg, #efe7f7, #fff);
    border-color: var(--c-lavender-deep);
}

/* Loader spinner */
@keyframes spin { to { transform: rotate(360deg); } }

/* --------------------------------------------------------------------------
   Badge "Site démo" — pill clignotante dans le header
   -------------------------------------------------------------------------- */
.demo-badge {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .35rem .8rem .35rem .65rem;
    background: linear-gradient(135deg, var(--c-sunset) 0%, var(--c-sunset-deep) 100%);
    color: #fff;
    border-radius: var(--radius-pill);
    font-size: .76rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(232, 156, 77, .35);
    animation: demoBlink 1.6s ease-in-out infinite;
    user-select: none;
    white-space: nowrap;
}
.demo-badge .demo-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, .85);
    animation: demoDotPulse 1.6s ease-in-out infinite;
}

@keyframes demoBlink {
    0%, 100% { opacity: 1;   transform: scale(1); }
    50%      { opacity: .72; transform: scale(.96); }
}
@keyframes demoDotPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .85); }
    50%      { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); }
}

@media (max-width: 720px) {
    .demo-badge .demo-text-long { display: none; }
    .demo-badge { padding: .35rem .6rem .35rem .55rem; }
}

/* --------------------------------------------------------------------------
   Pages légales — layout lisible avec table des matières latérale
   -------------------------------------------------------------------------- */
.legal-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 3rem;
    align-items: start;
}
.legal-toc {
    position: sticky;
    top: 100px;
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    border-radius: var(--radius-md);
    padding: 1.4rem;
}
.legal-toc h4 {
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--c-ink-mute);
    margin-bottom: .8rem;
    font-family: var(--font-text);
    font-weight: 600;
}
.legal-toc ul { list-style: none; padding: 0; margin: 0; }
.legal-toc li { margin-bottom: .55rem; }
.legal-toc a {
    color: var(--c-ink-soft);
    font-size: .88rem;
    line-height: 1.4;
    display: block;
    border-left: 2px solid transparent;
    padding-left: .8rem;
    transition: color var(--t-fast), border-color var(--t-fast);
}
.legal-toc a:hover {
    color: var(--c-lavender-deep);
    border-left-color: var(--c-lavender-deep);
}

.legal-content {
    background: var(--c-surface);
    border-radius: var(--radius-md);
    padding: clamp(2rem, 4vw, 3rem);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--c-line);
}
.legal-content h2 {
    font-size: 1.6rem;
    margin: 2.5rem 0 1rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--c-line);
    scroll-margin-top: 100px;
}
.legal-content h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}
.legal-content h3 {
    font-size: 1.15rem;
    margin: 1.6rem 0 .6rem;
    color: var(--c-ink);
    font-family: var(--font-display);
    font-weight: 500;
}
.legal-content p {
    color: var(--c-ink-soft);
    line-height: 1.75;
    font-size: .95rem;
}
.legal-content ul, .legal-content ol {
    color: var(--c-ink-soft);
    padding-left: 1.4rem;
    line-height: 1.75;
    font-size: .95rem;
}
.legal-content li { margin-bottom: .35rem; }
.legal-content strong { color: var(--c-ink); font-weight: 600; }
.legal-content a {
    color: var(--c-lavender-deep);
    border-bottom: 1px solid transparent;
    transition: border-color var(--t-fast);
}
.legal-content a:hover { border-bottom-color: var(--c-lavender-deep); }

.legal-notice {
    background: linear-gradient(135deg, #fdeed4 0%, #fff 100%);
    border-left: 3px solid var(--c-sunset-deep);
    padding: 1.2rem 1.4rem;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 1.5rem 0;
}
.legal-notice strong { color: var(--c-sunset-deep); }
.legal-notice p:last-child { margin-bottom: 0; }

.legal-meta {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px dashed var(--c-line);
    font-size: .85rem;
    color: var(--c-ink-mute);
}

@media (max-width: 880px) {
    .legal-layout { grid-template-columns: 1fr; }
    .legal-toc { position: static; }
}

/* --------------------------------------------------------------------------
   19. Page intérieure (livraison, contact, etc.)
   -------------------------------------------------------------------------- */
.page-hero {
    padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
    text-align: center;
    background: linear-gradient(180deg, var(--c-cream) 0%, var(--c-bg) 100%);
    position: relative;
    overflow: hidden;
}
.page-hero h1 { margin-bottom: .8rem; }
.page-hero p { max-width: 620px; margin: 0 auto; color: var(--c-ink-soft); font-size: 1.05rem; }
.page-hero .breadcrumb {
    font-size: .82rem;
    color: var(--c-ink-mute);
    margin-bottom: 1rem;
    letter-spacing: .04em;
}
.page-hero .breadcrumb a:hover { color: var(--c-lavender-deep); }

/* --------------------------------------------------------------------------
   20. Livraison zones
   -------------------------------------------------------------------------- */
.zones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
    margin-top: 2.5rem;
}
.zone-card {
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    padding: 1.6rem 1.4rem;
    border-radius: var(--radius-md);
    transition: all var(--t-med);
}
.zone-card:hover {
    border-color: var(--c-lavender-deep);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.zone-card .km {
    font-size: .82rem;
    color: var(--c-ink-mute);
    text-transform: uppercase;
    letter-spacing: .06em;
}
.zone-card .price {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--c-ink);
    margin: .2rem 0;
}
.zone-card h4 { font-size: 1rem; margin-bottom: .2rem; }
.zone-card p { font-size: .88rem; color: var(--c-ink-soft); margin: 0; }

.delivery-map {
    margin-top: 3rem;
    aspect-ratio: 16/9;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--c-cream);
    position: relative;
}
.delivery-map iframe {
    width: 100%; height: 100%; border: 0;
    filter: saturate(.85) hue-rotate(-8deg);
}

/* --------------------------------------------------------------------------
   21. Panier
   -------------------------------------------------------------------------- */
.cart-page {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 2.4rem;
    align-items: start;
}
.cart-items {
    background: var(--c-surface);
    border-radius: var(--radius-md);
    padding: 1.6rem;
    box-shadow: var(--shadow-sm);
}
.cart-item {
    display: grid;
    grid-template-columns: 90px 1fr auto;
    gap: 1.2rem;
    padding: 1.2rem 0;
    border-bottom: 1px dashed var(--c-line);
    align-items: center;
}
.cart-item:last-child { border-bottom: none; }
.cart-item-img {
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--c-cream);
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item h4 { font-size: 1.05rem; margin: 0 0 .25rem; }
.cart-item p { margin: 0; font-size: .85rem; color: var(--c-ink-mute); }
.qty-control {
    display: inline-flex;
    align-items: center;
    background: var(--c-cream);
    border-radius: var(--radius-pill);
    margin-top: .5rem;
}
.qty-control button {
    width: 30px; height: 30px;
    color: var(--c-ink);
    font-size: 1rem;
    border-radius: 50%;
}
.qty-control button:hover { background: var(--c-lavender); color: #fff; }
.qty-control span { padding: 0 .8rem; font-weight: 500; min-width: 36px; text-align: center; }

.cart-line-price { text-align: right; }
.cart-line-price .price { font-family: var(--font-display); font-size: 1.3rem; }
.cart-line-price button {
    font-size: .8rem;
    color: var(--c-ink-mute);
    margin-top: .2rem;
    transition: color var(--t-fast);
}
.cart-line-price button:hover { color: var(--c-sunset-deep); }

.cart-summary {
    background: var(--c-cream);
    border-radius: var(--radius-md);
    padding: 1.8rem;
    position: sticky;
    top: 100px;
}
.cart-summary h3 { margin: 0 0 1rem; }
.summary-row {
    display: flex;
    justify-content: space-between;
    padding: .55rem 0;
    font-size: .94rem;
    color: var(--c-ink-soft);
}
.summary-row.total {
    border-top: 1px solid var(--c-line);
    margin-top: .6rem;
    padding-top: 1rem;
    font-size: 1.1rem;
    color: var(--c-ink);
    font-weight: 500;
}
.summary-row.total .price {
    font-family: var(--font-display);
    font-size: 1.7rem;
}

.empty-cart {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--c-ink-soft);
}
.empty-cart svg { width: 70px; height: 70px; stroke: var(--c-lavender); margin-bottom: 1.2rem; }

/* --------------------------------------------------------------------------
   22. Toast notification
   -------------------------------------------------------------------------- */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--c-ink);
    color: var(--c-cream);
    padding: 1rem 1.4rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    transform: translateY(120%);
    transition: transform 420ms var(--ease);
    z-index: 100;
    display: flex;
    align-items: center;
    gap: .7rem;
    font-size: .92rem;
    max-width: 340px;
}
.toast.show { transform: translateY(0); }
.toast .icon {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--c-sage);
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   23. Animations on scroll
   -------------------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 800ms var(--ease), transform 800ms var(--ease);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal.delay-1 { transition-delay: 100ms; }
.reveal.delay-2 { transition-delay: 200ms; }
.reveal.delay-3 { transition-delay: 300ms; }
.reveal.delay-4 { transition-delay: 400ms; }

/* Float animation */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50%      { transform: translateY(-10px) rotate(-3deg); }
}
.float-anim { animation: float 6s ease-in-out infinite; }

/* --------------------------------------------------------------------------
   24. Responsive — version simplifiée + scroll horizontal
   -------------------------------------------------------------------------- */

/* Désactiver les hovers de zoom sur touch (sinon collés au tap mobile) */
@media (hover: none) {
    .product-card:hover { transform: none !important; box-shadow: none !important; border-color: transparent !important; }
    .product-card:hover .product-image img { transform: none !important; }
    .category-card:hover { transform: none !important; }
    .category-card:hover img { transform: none !important; }
    .hero-visual:hover img { transform: none !important; }
    .about-visual:hover .frame img { transform: none !important; }
    .insta-grid a:hover { transform: none !important; }
    .insta-grid a:hover img { transform: none !important; }
    .review-card:hover { transform: none !important; }
    .zone-card:hover { transform: none !important; }
    .advantage-card:hover { transform: none !important; }
}

/* Tablette : grilles en 1 colonne, 3 colonnes Instagram, etc. */
@media (max-width: 980px) {
    .hero-grid, .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero-content { text-align: center; max-width: 600px; margin: 0 auto; }
    .hero-cta { justify-content: center; }
    .hero-meta { justify-content: center; }
    .about-visual .frame-secondary { width: 35%; bottom: -1.5rem; right: -1rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .insta-grid { grid-template-columns: repeat(3, 1fr); }
    .cart-page { grid-template-columns: 1fr; }
    .cart-summary { position: static; }
}

/* Mobile large : 720px */
@media (max-width: 720px) {
    /* --- Container : moins de padding latéral pour gagner de la place --- */
    .container { width: min(100% - 2rem, var(--container)); }

    /* --- Sections : padding vertical réduit --- */
    section { padding: clamp(2rem, 7vw, 3rem) 0; }

    /* --- Header / Nav : fond solide + hauteur garantie --- */
    .site-header {
        background: var(--c-bg);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-bottom: 1px solid var(--c-line);
    }
    .site-header.scrolled { background: var(--c-bg); }
    .nav {
        padding: .65rem 0;
        gap: .5rem;
        align-items: center;
        min-height: 56px;
    }
    .logo {
        font-size: 1rem;
        gap: .5rem;
        min-width: 0;
        line-height: 1.5;
        align-self: center;
    }
    .logo > span:not(.logo-mark) {
        white-space: nowrap;
        min-width: 0;
        line-height: 1.5;
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
    }
    .logo-mark { width: 30px; height: 30px; flex-shrink: 0; }
    .logo small { font-size: .66rem; line-height: 1.1; margin-top: 1px; }
    .nav-actions { gap: .4rem; flex-shrink: 0; align-self: center; }
    .cart-btn { width: 38px; height: 38px; }
    .cart-btn svg { width: 18px; height: 18px; }
    .menu-toggle { display: inline-flex; width: 38px; height: 38px; }

    /* Démo badge compact : pill réduite sur mobile large */
    .demo-badge { padding: .3rem .55rem .3rem .5rem; font-size: .68rem; }
    .demo-badge .demo-dot { width: 7px; height: 7px; }

    .nav-links {
        position: fixed;
        top: 56px; left: 0; right: 0;
        background: var(--c-bg);
        padding: 1.4rem 1.6rem 1.8rem;
        border-bottom: 1px solid var(--c-line);
        flex-direction: column;
        gap: 1.2rem;
        /* -100vh garantit que le menu est totalement hors écran,
           quelle que soit sa hauteur. Sinon translateY(-110%) laissait
           dépasser le bas du menu par-dessus le header. */
        transform: translateY(-100vh);
        visibility: hidden;
        transition: transform var(--t-med), visibility 0s linear var(--t-med);
        box-shadow: var(--shadow-md);
        z-index: 50;
    }
    .nav-links.open {
        transform: translateY(0);
        visibility: visible;
        transition: transform var(--t-med), visibility 0s;
    }
    .nav-links a { font-size: 1.05rem; }

    /* --- Typo : titres plus compacts --- */
    h1 { font-size: clamp(2rem, 8vw, 2.6rem); line-height: 1.18; }
    h2 { font-size: clamp(1.4rem, 5.5vw, 1.8rem); line-height: 1.2; margin-bottom: .4em; }
    h3 { font-size: 1.18rem; }
    .eyebrow { font-size: 1.1rem; margin-bottom: .25rem; }

    /* Section title plus compact (eyebrow + h2 + paragraphe) */
    .section-title { margin-bottom: 1.5rem; }
    .section-title h2 { margin-bottom: .35rem; }
    .section-title p {
        font-size: .9rem;
        line-height: 1.5;
        max-width: 480px;
    }

    /* --- Hero --- */
    .hero { padding: 1.5rem 0 3rem; }
    .hero-content { padding: 0 .25rem; }
    .hero h1 { font-size: clamp(2.1rem, 8.5vw, 2.8rem); margin-bottom: 1rem; }
    .hero-sub { font-size: 1rem; margin-bottom: 1.6rem; }
    .hero-visual {
        aspect-ratio: 5/6;
        max-width: 480px;
        margin: 0 auto;
        transform: rotate(0deg);
        border-radius: var(--radius-md);
    }
    .hero-floating-card { display: none; }
    .hero-badge {
        bottom: 1rem; left: 1rem;
        padding: .6rem .85rem;
    }
    .hero-badge p { font-size: .78rem; }
    .hero-badge small { font-size: .68rem; }
    .hero-meta {
        margin-top: 2rem;
        gap: 1.6rem;
        justify-content: space-around;
    }
    .hero-meta strong { font-size: 1.6rem; }
    .hero-meta span { font-size: .72rem; }
    /* Blobs : très atténués pour éviter débordement et rendu plus propre */
    .hero-blob { opacity: .25 !important; filter: blur(60px); }
    .hero-blob.b1 { width: 280px; height: 280px; }
    .hero-blob.b2 { width: 280px; height: 280px; }
    .hero-blob.b3 { display: none; }

    /* --- Marquee --- */
    .marquee { padding: .75rem 0; }
    .marquee span { font-size: .9rem; }

    /* --- About / Maïlys --- */
    .about-visual .frame { aspect-ratio: 4/5; max-width: 420px; margin: 0 auto; }
    .about-visual .frame-secondary {
        width: 38%; aspect-ratio: 1;
        bottom: -1.2rem; right: 1rem;
        border-width: 4px;
    }
    .about-visual .floating-tag { top: 1rem; left: 1rem; font-size: 1.15rem; }
    .about-quote { padding: 1.1rem 1.2rem; font-size: .95rem; margin: 1.4rem 0; }
    .about-quote::before { font-size: 2.4rem; }

    /* --- Cartes avantages --- */
    .advantages { gap: 1rem; }
    .advantage-card { padding: 1.6rem 1.4rem; }
    .advantage-icon { width: 50px; height: 50px; font-size: 1.4rem; }

    /* --- Cartes produits (réduites pour mobile) --- */
    .product-image { aspect-ratio: 1/1; }
    .product-body { padding: 1rem 1rem 1.2rem; }
    .product-name { font-size: 1.1rem; }
    .product-desc { font-size: .85rem; }
    .product-meta { font-size: .68rem; }
    .product-price { font-size: 1.2rem; }
    .product-price small { font-size: .65rem; }
    .btn-add { width: 40px; height: 40px; }
    .product-quick { opacity: 1; transform: none; width: 34px; height: 34px; }
    .product-quick svg { width: 14px; height: 14px; }
    .product-tag { font-size: .68rem; padding: .25rem .6rem; }

    /* --- SCROLL HORIZONTAL : catégories, avis, produits du home / panier --- */
    .categories-grid,
    .reviews-grid,
    .products-grid.mobile-scroll,
    .advantages.mobile-scroll {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-padding-left: 1rem;
        gap: .9rem;
        padding: .25rem 1rem 1.2rem;
        margin-left: -1rem;
        margin-right: -1rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        scroll-behavior: smooth;
    }
    .categories-grid::-webkit-scrollbar,
    .reviews-grid::-webkit-scrollbar,
    .products-grid.mobile-scroll::-webkit-scrollbar,
    .advantages.mobile-scroll::-webkit-scrollbar { display: none; }

    .categories-grid > *,
    .reviews-grid > *,
    .products-grid.mobile-scroll > *,
    .advantages.mobile-scroll > * {
        flex: 0 0 78%;
        max-width: 320px;
        scroll-snap-align: start;
    }
    .categories-grid > .category-card { aspect-ratio: 3/4; }
    .reviews-grid > .review-card { padding: 1.6rem 1.4rem; }

    /* Scroll-hint visuel : un indice "→" visible sous chaque carrousel */
    .scroll-hint {
        display: block !important;
        text-align: center;
        font-size: .72rem;
        color: var(--c-ink-mute);
        margin-top: .4rem;
        letter-spacing: .1em;
    }
    .scroll-hint::before {
        content: "← faire défiler →";
        opacity: .6;
    }

    /* --- Boutique : produits restent en grille 2 colonnes --- */
    .products-grid:not(.mobile-scroll) {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    /* --- Instagram : 3 colonnes lisibles --- */
    .insta-grid { grid-template-columns: repeat(3, 1fr); gap: .5rem; }

    /* --- CTA banner --- */
    .cta-banner { padding: 2.2rem 1.4rem; }
    .cta-banner .btn { width: 100%; justify-content: center; max-width: 320px; }

    /* --- Page hero (pages intérieures) --- */
    .page-hero { padding: 2rem 0 1.5rem; }
    .page-hero p { font-size: .95rem; }
    .page-hero .hero-blob { display: none; }

    /* --- Toolbar boutique : layout en colonne, tags qui wrappent --- */
    .shop-toolbar {
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        gap: 1.1rem;
    }
    .toolbar-row {
        flex-direction: column;
        align-items: stretch;
        gap: .5rem;
    }
    /* Label à gauche (override align-self: center du base) */
    .filter-label {
        align-self: flex-start !important;
        margin-right: 0;
        margin-bottom: .25rem;
        font-size: .72rem;
    }
    /* Boutons : wrap multi-lignes, tout visible d'un coup */
    .filter-group {
        display: flex;
        flex-wrap: wrap;
        gap: .4rem;
        overflow: visible;
        padding: 0;
    }
    .filter-btn {
        flex-shrink: 0;
        padding: .5rem .85rem;
        font-size: .8rem;
    }
    .sort-select { width: 100%; margin-top: .3rem; }

    /* Row d'occasion (séparée du toolbar card) : stylisée comme une carte */
    section > .container > .toolbar-row {
        background: var(--c-surface);
        border-radius: var(--radius-md);
        padding: 1rem;
        box-shadow: var(--shadow-sm);
        margin-bottom: 1.5rem !important;
        justify-content: flex-start !important;
    }

    /* --- Catégorie titre dans boutique --- */
    .category-header { flex-direction: column; align-items: flex-start; gap: .5rem; }

    /* --- Forms --- */
    .form-grid { grid-template-columns: 1fr; gap: 1rem; }
    .form-card { padding: 1.6rem 1.4rem; }
    /* font-size: 16px obligatoire pour empêcher iOS de zoomer au focus */
    .form-group input,
    .form-group select,
    .form-group textarea { padding: .85rem .95rem; font-size: 16px; }
    .radio-row { flex-direction: column; gap: .5rem; }
    .radio-row label { min-width: auto; padding: .85rem 1rem; }
    .newsletter input { font-size: 16px; }

    /* --- Zones livraison --- */
    .zones-grid { gap: 1rem; }
    .zone-card { padding: 1.4rem 1.2rem; }
    .zone-card .price { font-size: 1.6rem; }
    .delivery-map { aspect-ratio: 1/1; margin-top: 2rem; }

    /* --- Panier --- */
    .cart-item { grid-template-columns: 70px 1fr; column-gap: .9rem; }
    .cart-line-price { grid-column: 2; text-align: left; margin-top: .5rem; }
    .cart-line-price .price { font-size: 1.1rem; }
    .cart-items { padding: 1.2rem; }
    .cart-summary { padding: 1.4rem; }

    /* --- Footer --- */
    .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
    .site-footer { padding: 3rem 0 1.5rem; }
    .footer-bottom { flex-direction: column; gap: .5rem; text-align: center; align-items: center; }

    /* --- Pages légales --- */
    .legal-layout { gap: 1.4rem; }
    .legal-content { padding: 1.6rem 1.4rem; }
    .legal-content h2 { font-size: 1.3rem; margin: 2rem 0 .8rem; padding-top: 1rem; }
    .legal-content h3 { font-size: 1.05rem; }

    /* --- Toast plus discret --- */
    .toast {
        bottom: 16px;
        left: 16px;
        right: 16px;
        max-width: none;
        font-size: .88rem;
        padding: .85rem 1.1rem;
    }
}

/* Petits écrans : 480px */
@media (max-width: 480px) {
    /* Container encore plus serré */
    .container { width: min(100% - 1.6rem, var(--container)); }

    /* Hero CTA en colonne pleine largeur */
    .hero-cta { flex-direction: column; align-items: stretch; }
    .hero-cta .btn { width: 100%; justify-content: center; }

    .hero-meta { gap: 1rem; }
    .hero-meta strong { font-size: 1.4rem; }

    /* Garder 2 colonnes produits mais plus serrées */
    .products-grid { gap: .8rem; }

    /* Instagram passe à 3 colonnes serrées */
    .insta-grid { gap: .4rem; }

    /* Marquee encore plus discret */
    .marquee span { font-size: .82rem; }

    /* Logo encore plus compact : on cache le sous-titre */
    .logo small { display: none; }
    .logo > span:not(.logo-mark) { font-size: .95rem; }

    /* Démo badge réduit à un simple point pulsant pour libérer la place */
    .demo-badge {
        padding: 0;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        font-size: 0;
        gap: 0;
        justify-content: center;
        background: linear-gradient(135deg, var(--c-sunset) 0%, var(--c-sunset-deep) 100%);
    }
    .demo-badge > span:last-child { display: none; }
    .demo-badge .demo-dot { width: 8px; height: 8px; }

    /* Cacher éléments décoratifs cosmétiques */
    .about-visual .frame-secondary { display: none; }
    .about-visual .floating-tag { font-size: 1rem; padding: .55rem .9rem; top: .8rem; }

    /* Sections title encore plus compactes */
    .section-title { margin-bottom: 1.2rem; }
    .section-title p { font-size: .88rem; line-height: 1.5; }
    .section-title h2 { font-size: 1.45rem; }
    .eyebrow { font-size: 1rem; }

    /* Cartes avis plus compactes */
    .review-card { padding: 1.4rem 1.2rem; }
    .review-card p { font-size: .92rem; }

    /* CTA banner */
    .cta-banner { padding: 1.8rem 1.2rem; border-radius: var(--radius-md); }

    /* Newsletter compacte */
    .newsletter form { flex-direction: column; padding: 0; background: transparent; border: none; }
    .newsletter input {
        background: rgba(255, 255, 255, .06);
        border-radius: var(--radius-pill);
        padding: .8rem 1rem;
        margin-bottom: .5rem;
        border: 1px solid rgba(255, 255, 255, .1);
    }
    .newsletter button { width: 100%; padding: .75rem 1rem; }

    /* Légales : TOC en haut, pas en sticky */
    .legal-toc { padding: 1.1rem; }
    .legal-toc ul {
        display: flex;
        flex-wrap: wrap;
        gap: .3rem .6rem;
    }
    .legal-toc li { margin-bottom: 0; }
    .legal-toc a {
        padding: .25rem .6rem;
        border-left: none;
        background: var(--c-cream);
        border-radius: var(--radius-pill);
        font-size: .8rem;
    }
    .legal-toc a:hover { border-left: none; background: var(--c-lavender); color: #fff; }
}

/* Très petits écrans : 380px (iPhone SE, écrans étroits) */
@media (max-width: 380px) {
    h1 { font-size: 1.85rem; }
    .hero h1 { font-size: 1.95rem; }
    .nav-actions { gap: .3rem; }
    .demo-badge { width: 24px; height: 24px; }
    .demo-badge .demo-dot { width: 6px; height: 6px; }
    .cart-btn, .menu-toggle { width: 34px; height: 34px; }
    /* On cache le nom textuel : le logo-mark reste comme repère visuel */
    .logo > span:not(.logo-mark) { display: none; }
    .logo-mark { width: 32px; height: 32px; }
    .hero-meta { flex-direction: row; flex-wrap: wrap; gap: .8rem; }
    .hero-meta .item { flex: 1; min-width: 80px; }
}

/* Réduction des animations si l'utilisateur le préfère */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}
