/* ==========================================================================
   Clavhello — feuille de style principale
   ========================================================================== */

:root {
    --plum: #51316B;
    --plum-dark: #3D2253;
    --plum-soft: #7A5F91;
    --pink: #FCE3E6;
    --pink-strong: #FFC7D2;
    --peach: #FFB7C3;
    --mint: #A7EEE0;
    --mint-strong: #8FE8D8;
    --lav: #D6C6F5;
    --lav-strong: #B99AE8;
    --yellow: #FFF0A8;
    --yellow-strong: #F5C451;
    --cream: #FFF9F7;
    --white: #FFFFFF;

    --font-display: 'Fredoka', 'Nunito', system-ui, sans-serif;
    --font-body: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --radius-sm: 12px;
    --radius: 20px;
    --radius-lg: 32px;
    --shadow-sm: 0 2px 10px rgba(81, 49, 107, .06);
    --shadow: 0 12px 40px rgba(81, 49, 107, .10);
    --shadow-lg: 0 24px 60px rgba(81, 49, 107, .16);

    --container: 1240px;
    --gutter: clamp(16px, 4vw, 40px);
    --ease: cubic-bezier(.22, .8, .3, 1);
}

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

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

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--plum);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

/* texte réservé aux lecteurs d'écran */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* l'attribut hidden doit toujours l'emporter sur les display des composants */
[hidden] { display: none !important; }
img { height: auto; }

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

h1, h2, h3 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.05;
    color: var(--plum-dark);
}

p { margin: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

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

:focus-visible { outline: 3px solid var(--lav-strong); outline-offset: 3px; border-radius: 8px; }

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

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 100;
    padding: 10px 18px;
    background: var(--plum);
    color: var(--white);
    border-radius: 999px;
    font-weight: 700;
}
.skip-link:focus { top: 12px; }

/* ---------- Boutons & liens ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 32px;
    border-radius: 999px;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.btn svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(4px); }

.btn--primary {
    background: var(--plum);
    color: var(--white);
    box-shadow: 0 10px 24px rgba(81, 49, 107, .28);
}
.btn--primary:hover { background: var(--plum-dark); box-shadow: 0 14px 30px rgba(81, 49, 107, .34); }

.btn--light { background: var(--white); color: var(--plum-dark); }
.btn--light:hover { box-shadow: 0 12px 28px rgba(0, 0, 0, .18); }

.link-underline {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--plum);
    padding-bottom: 4px;
}
.link-underline::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transform-origin: left;
    transition: transform .3s var(--ease);
}
.link-underline:hover::after { transform: scaleX(.4); }
.link-underline svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ---------- Bandeau ---------- */
.topbar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 16px;
    background: var(--plum);
    color: var(--white);
    font-size: .95rem;
    font-weight: 700;
    text-align: center;
}
.topbar__icon {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linejoin: round;
}

/* ---------- En-tête ---------- */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(252, 227, 230, .82);
    backdrop-filter: saturate(1.4) blur(14px);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    transition: box-shadow .3s, background .3s;
}
.header.is-scrolled { box-shadow: var(--shadow-sm); background: rgba(255, 249, 247, .9); }

.header__inner {
    display: flex;
    align-items: center;
    gap: 32px;
    height: 88px;
}

.logo { display: inline-flex; align-items: center; flex: none; line-height: 0; }
.logo img { width: auto; height: 46px; }
.logo--light img { height: 40px; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 8px; }
.nav__item { position: relative; }
.nav__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--plum);
    transition: background .2s;
}
.nav__link:hover { background: rgba(255, 255, 255, .65); }
.nav__link svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .25s var(--ease);
}

.dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 220px;
    padding: 8px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.dropdown a {
    display: block;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-weight: 600;
}
.dropdown a:hover { background: var(--pink); }

.nav__item--dropdown:hover .dropdown,
.nav__item--dropdown:focus-within .dropdown,
.nav__item--dropdown.is-open .dropdown {
    opacity: 1;
    visibility: visible;
    transform: none;
}
.nav__item--dropdown:hover .nav__link svg,
.nav__item--dropdown.is-open .nav__link svg { transform: rotate(180deg); }

.header__actions { display: flex; align-items: center; gap: 6px; }

.icon-btn {
    position: relative;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: var(--plum);
    transition: background .2s;
}
.icon-btn:hover { background: rgba(255, 255, 255, .65); }
.icon-btn svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.icon-btn__badge {
    position: absolute;
    top: 4px;
    right: 2px;
    display: grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--lav-strong);
    color: var(--white);
    font-size: .72rem;
    font-weight: 800;
    border: 2px solid var(--pink);
}

.burger { display: none; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(40px, 6vw, 72px) 0 clamp(110px, 12vw, 150px);
    background:
        radial-gradient(circle at 85% 20%, rgba(255, 255, 255, .55), transparent 40%),
        linear-gradient(180deg, var(--pink) 0%, #FADADF 100%);
}

.hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    align-items: center;
    gap: 24px;
}

.hero__title {
    position: relative;
    display: inline-block;
    font-size: clamp(3rem, 7vw, 6rem);
    letter-spacing: -.03em;
    line-height: .98;
}
.hero__heart {
    position: absolute;
    right: -.75em;
    bottom: .3em;
    width: .55em;
    transform: rotate(10deg);
    animation: beat 2.8s ease-in-out infinite;
}
.hero__spark {
    position: absolute;
    right: -.2em;
    top: -.35em;
    width: .45em;
}

.hero__lead {
    margin-top: 18px;
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    color: var(--plum-soft);
    font-weight: 600;
}

.hero__ctas {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px 36px;
    margin-top: 40px;
}

.hero__visual {
    position: relative;
    aspect-ratio: 1 / .82;
}
.hero__mat {
    position: absolute;
    inset: 12% -10% 8% 6%;
    background: linear-gradient(135deg, #F7C9D2, #F3BBC7);
    border-radius: 48% 52% 44% 56% / 58% 46% 54% 42%;
    transform: rotate(-8deg);
    box-shadow: inset 0 -20px 40px rgba(255, 255, 255, .25);
}
.hero__keyboard {
    position: absolute;
    inset: -6% -4% auto 0;
    width: 104%;
    filter: drop-shadow(0 30px 40px rgba(81, 49, 107, .22));
    animation: float 7s ease-in-out infinite;
}
.hero__keycaps {
    position: absolute;
    left: -2%;
    bottom: -6%;
    width: 30%;
    filter: drop-shadow(0 18px 24px rgba(81, 49, 107, .22));
    animation: float 6s ease-in-out -2s infinite;
}
.hero__star {
    position: absolute;
    right: 4%;
    top: -2%;
    width: 9%;
    z-index: 1;
    animation: spin 14s linear infinite;
}

.hero__blob {
    position: absolute;
    z-index: 1;
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none;
}
.hero__blob--mint {
    left: -120px;
    bottom: -60px;
    width: 460px;
    height: 220px;
    background: linear-gradient(90deg, var(--mint), var(--yellow));
    border-radius: 60% 40% 50% 50% / 60% 60% 40% 40%;
    opacity: .85;
}
.hero__blob--lav {
    left: 300px;
    bottom: -40px;
    width: 200px;
    height: 130px;
    background: var(--lav);
    border-radius: 50% 60% 40% 50%;
    opacity: .8;
}
.hero__blob--yellow {
    left: -40px;
    top: 48%;
    width: 70px;
    height: 70px;
    background: var(--yellow);
    opacity: .9;
}
.hero__deco--wave {
    position: absolute;
    z-index: 1;
    right: -40px;
    top: 120px;
    width: 340px;
    opacity: .9;
    pointer-events: none;
}

/* ---------- Réassurance ---------- */
.perks {
    position: relative;
    z-index: 3;
    margin-top: -64px;
}
.perks__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 26px 32px;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.perk {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    font-weight: 700;
    font-size: 1.05rem;
}
.perk + .perk { border-left: 2px solid #EEE4F3; }
.perk__icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 64px;
    height: 64px;
    border-radius: 50%;
}
.perk__icon svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: var(--plum);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.perk__icon--mint { background: var(--mint); }
.perk__icon--yellow { background: var(--yellow); }
.perk__icon--lav { background: var(--lav); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--tinted {
    background: linear-gradient(180deg, #F6F0FD 0%, var(--cream) 100%);
}

.section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-bottom: 40px;
}
.section__title {
    position: relative;
    display: inline-block;
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    letter-spacing: -.02em;
}
.section__spark {
    position: absolute;
    right: -30px;
    top: -12px;
    width: 26px;
    height: 26px;
    background:
        linear-gradient(var(--yellow-strong), var(--yellow-strong)) 4px 0 / 5px 14px no-repeat,
        linear-gradient(var(--yellow-strong), var(--yellow-strong)) 10px 18px / 14px 5px no-repeat;
    border-radius: 3px;
    transform: rotate(18deg);
}
.section__sub { color: var(--plum-soft); font-size: 1.1rem; font-weight: 600; }

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--white);
    color: var(--plum-soft);
    font-size: .85rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    box-shadow: var(--shadow-sm);
}

/* ---------- Collection ---------- */
.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.card__media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3.4;
    overflow: hidden;
}
.card__media::before {
    content: '';
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    pointer-events: none;
}
.card__media img {
    position: relative;
    width: 115%;
    max-width: none;
    margin: -4% 0 0 -7%;
    filter: drop-shadow(0 18px 18px rgba(81, 49, 107, .2));
    transition: transform .5s var(--ease);
}
.card:hover .card__media img { transform: scale(1.05) rotate(-2deg); }

.card__media--sakura { background: linear-gradient(160deg, #FFE1E8, #FBC6D3); }
.card__media--sakura::before {
    background-image:
        radial-gradient(circle, #FFB3C6 0 9px, transparent 10px),
        radial-gradient(circle, #FFF 0 5px, transparent 6px),
        radial-gradient(circle, #FFB3C6 0 7px, transparent 8px),
        radial-gradient(circle, #FFD1DC 0 12px, transparent 13px);
    background-size: 30px 30px;
    background-position: 8% 10%, 12% 14%, 88% 12%, 80% 88%;
}
.card__media--mint { background: linear-gradient(160deg, #D8F7F0, #A9EBDD); }
.card__media--mint::before {
    background-image:
        radial-gradient(ellipse 30px 14px, #7FD6A8 0 98%, transparent),
        radial-gradient(ellipse 26px 12px, #96E0B8 0 98%, transparent);
    background-size: 60px 30px, 52px 26px;
    background-position: 6% 8%, 92% 90%;
}
.card__media--night { background: linear-gradient(160deg, #6B4A8C, #3D2253); }
.card__media--night::before {
    background-image:
        radial-gradient(circle at 64% 38%, #634386 0 13px, transparent 14px),
        radial-gradient(circle, #FFF0A8 0 15px, transparent 16px),
        radial-gradient(circle, #FFF0A8 0 2px, transparent 3px),
        radial-gradient(circle, #FFF 0 1.5px, transparent 2.5px);
    background-size: 44px 44px, 44px 44px, 46px 46px, 70px 70px;
    background-position: 10% 10%, 10% 10%, 0 0, 20px 30px;
    background-repeat: no-repeat, no-repeat, repeat, repeat;
    opacity: .9;
}
.card__media--candy { background: linear-gradient(135deg, #FFF0A8, #FFC7D2 55%, #D6C6F5); }
.card__media--candy::before {
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, .8) 0 6px, transparent 7px),
        radial-gradient(circle, rgba(255, 255, 255, .6) 0 4px, transparent 5px);
    background-size: 54px 54px, 38px 38px;
    background-position: 0 0, 18px 22px;
    background-repeat: repeat;
    -webkit-mask: linear-gradient(180deg, #000 0 25%, transparent 50%);
    mask: linear-gradient(180deg, #000 0 25%, transparent 50%);
}

.card__body {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 22px 24px;
}
.card__title { font-size: 1.35rem; }
.card__title a::after { content: ''; position: absolute; inset: 0; }
.card { position: relative; }
.card__desc { margin-top: 4px; color: var(--plum-soft); font-size: .95rem; }
.card__price { flex: none; color: var(--plum-soft); font-size: .9rem; white-space: nowrap; }
.card__price strong { color: var(--plum-dark); font-family: var(--font-display); font-size: 1.25rem; }

/* ---------- Personnaliser ---------- */
.custom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(32px, 6vw, 96px);
}
.custom__visual { position: relative; padding: 6%; }
.custom__halo {
    position: absolute;
    inset: 4%;
    background:
        radial-gradient(circle at 30% 30%, var(--pink-strong), transparent 55%),
        radial-gradient(circle at 70% 70%, var(--mint), transparent 55%),
        var(--lav);
    border-radius: 42% 58% 55% 45% / 50% 44% 56% 50%;
    animation: morph 12s ease-in-out infinite;
}
.custom__visual img {
    position: relative;
    filter: drop-shadow(0 24px 30px rgba(81, 49, 107, .25));
    animation: float 7s ease-in-out infinite;
}
.custom__text .section__title { margin-bottom: 32px; }

.steps { display: grid; gap: 22px; margin-bottom: 40px; counter-reset: none; }
.step {
    display: flex;
    gap: 18px;
    padding: 20px 22px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.step:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.step h3 { font-size: 1.25rem; margin-bottom: 4px; }
.step p { color: var(--plum-soft); }
.step__num {
    display: grid;
    place-items: center;
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--plum-dark);
    box-shadow: inset 0 -4px 0 rgba(81, 49, 107, .12);
}
.step__num--mint { background: var(--mint); }
.step__num--peach { background: var(--pink-strong); }
.step__num--lav { background: var(--lav); }

/* ---------- Accessoires ---------- */
.accessories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.accessory {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 380px;
    padding: 32px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.accessory:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.accessory img {
    width: 78%;
    margin: 0 auto;
    filter: drop-shadow(0 18px 20px rgba(81, 49, 107, .2));
    transition: transform .5s var(--ease);
}
.accessory:hover img { transform: scale(1.06) rotate(3deg); }
.accessory--peach { background: linear-gradient(160deg, #FFEAEE, var(--pink-strong)); }
.accessory--mint { background: linear-gradient(160deg, #E4FAF5, var(--mint)); }
.accessory--lav { background: linear-gradient(160deg, #F1EBFC, var(--lav)); }

.accessory__info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 24px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, .78);
    backdrop-filter: blur(8px);
    border-radius: 999px;
}
.accessory__name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--plum-dark); }
.accessory__price { font-weight: 800; }

/* ---------- CTA ---------- */
.cta { padding: 0 0 clamp(64px, 9vw, 112px); }
.cta__box {
    position: relative;
    overflow: hidden;
    padding: clamp(48px, 7vw, 80px) clamp(24px, 6vw, 64px);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 10% 110%, rgba(167, 238, 224, .45), transparent 45%),
        radial-gradient(circle at 95% -10%, rgba(255, 183, 195, .4), transparent 40%),
        var(--plum);
    color: var(--white);
    text-align: center;
}
.cta__box h2 {
    position: relative;
    max-width: 680px;
    margin: 0 auto;
    color: var(--white);
    font-size: clamp(2rem, 4.5vw, 3rem);
    letter-spacing: -.02em;
}
.cta__box p {
    position: relative;
    max-width: 520px;
    margin: 16px auto 32px;
    color: rgba(255, 255, 255, .82);
    font-size: 1.1rem;
}
.cta__deco {
    position: absolute;
    right: -60px;
    bottom: 10px;
    width: 420px;
    pointer-events: none;
}

/* ---------- Pied de page ---------- */
.footer {
    padding: 72px 0 28px;
    background: var(--plum-dark);
    color: rgba(255, 255, 255, .78);
}
.footer__inner {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 40px;
}
.footer__brand p { max-width: 340px; margin-top: 18px; }
.footer__col h3 {
    margin-bottom: 16px;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
}
.footer__col ul { display: grid; gap: 10px; }
.footer__col a { transition: color .2s; }
.footer__col a:hover { color: var(--mint); }
.footer__bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin-top: 56px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: .9rem;
}
.footer__bottom span { color: var(--peach); }

/* ---------- Animations ---------- */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
@keyframes beat {
    0%, 100% { transform: rotate(10deg) scale(1); }
    50% { transform: rotate(10deg) scale(1.1); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes morph {
    0%, 100% { border-radius: 42% 58% 55% 45% / 50% 44% 56% 50%; }
    50% { border-radius: 55% 45% 42% 58% / 44% 56% 46% 54%; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .cards { grid-template-columns: repeat(2, 1fr); }
    .footer__inner { grid-template-columns: 1fr 1fr 1fr; }
    .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
    .header__inner { height: 72px; gap: 12px; }
    .logo img { height: 36px; }

    .burger { display: grid; }
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        margin: 0;
        padding: 12px var(--gutter) 24px;
        background: var(--cream);
        box-shadow: var(--shadow);
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity .25s, transform .25s var(--ease), visibility .25s;
    }
    .nav.is-open { opacity: 1; visibility: visible; transform: none; }
    .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
    .nav__link { width: 100%; justify-content: space-between; padding: 14px 16px; font-size: 1.15rem; }
    .dropdown {
        position: static;
        display: none;
        min-width: 0;
        padding: 0 0 6px 12px;
        background: none;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    .nav__item--dropdown.is-open .dropdown { display: block; }
    .header__actions { margin-left: auto; }

    .hero__inner { grid-template-columns: 1fr; text-align: center; }
    .hero__text { display: flex; flex-direction: column; align-items: center; }
    .hero__ctas { justify-content: center; }
    .hero__visual { width: min(100%, 640px); margin: 16px auto 0; }
    .hero__deco--wave { top: auto; bottom: 120px; width: 240px; }

    .perks__list { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
    .perk { justify-content: flex-start; }
    .perk + .perk { border-left: 0; border-top: 2px solid #EEE4F3; padding-top: 16px; }

    .custom { grid-template-columns: 1fr; }
    .custom__visual { width: min(100%, 460px); margin-inline: auto; }

    .accessories { grid-template-columns: 1fr; }
    .accessory { min-height: 0; }
    .accessory img { width: min(70%, 320px); }
}

@media (max-width: 600px) {
    .topbar { font-size: .85rem; }
    .header__actions .icon-btn:nth-child(2) { display: none; }
    .icon-btn { width: 42px; height: 42px; }
    .btn { padding: 16px 26px; font-size: 1.05rem; }
    .cards { grid-template-columns: 1fr; }
    .card__media { aspect-ratio: 4 / 3; }
    .card__media img { width: 100%; margin: -2% 0 0; }
    .section__head { align-items: flex-start; flex-direction: column; }
    .section__spark { right: -26px; }
    .footer__inner { grid-template-columns: 1fr 1fr; }
    .footer__brand { grid-column: 1 / -1; }
}

/* ==========================================================================
   Composants partagés : pastilles, formulaires, alertes
   ========================================================================== */
.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    border-radius: 999px;
    background: var(--cream);
    box-shadow: inset 0 0 0 2px #F1E6EE;
    font-size: .9rem;
    font-weight: 700;
    color: var(--plum);
    transition: background .2s, box-shadow .2s, transform .2s var(--ease);
}
.pill:hover { background: #F7F1FE; box-shadow: inset 0 0 0 2px var(--lav-strong); transform: translateY(-1px); }
.pill--ghost { background: var(--yellow); box-shadow: none; }
.pill--ghost:hover { background: #FFE98A; box-shadow: none; }
.pill svg {
    width: 16px;
    height: 16px;
    fill: var(--white);
    stroke: var(--plum);
    stroke-width: 2;
    stroke-linejoin: round;
}

.btn--block { width: 100%; justify-content: center; }
.btn:disabled { opacity: .7; cursor: wait; transform: none; }
.btn.is-busy svg { animation: nudge .8s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(5px); } }

.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field__label { font-weight: 700; font-size: .92rem; color: var(--plum-dark); }
.input {
    width: 100%;
    padding: 13px 16px;
    border: 0;
    border-radius: var(--radius-sm);
    background: var(--cream);
    box-shadow: inset 0 0 0 2px #F1E6EE;
    font: inherit;
    color: var(--plum-dark);
    transition: box-shadow .2s, background .2s;
}
.input::placeholder { color: #A893B8; }
.input:focus { outline: none; background: var(--white); box-shadow: inset 0 0 0 2.5px var(--lav-strong); }
.field--error .input { box-shadow: inset 0 0 0 2.5px #E86A8A; background: #FFF5F7; }
.field__hint { font-size: .82rem; color: var(--plum-soft); }
.field--error .field__hint { display: none; }
.field__error { font-size: .85rem; font-weight: 700; color: #B3264B; }

.form__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 16px;
}
.form__link { font-size: .9rem; font-weight: 700; color: var(--plum); text-decoration: underline; text-underline-offset: 3px; }
.form__legal { font-size: .8rem; color: var(--plum-soft); text-align: center; }

.checkbox { display: inline-flex; align-items: center; gap: 10px; font-size: .92rem; font-weight: 600; cursor: pointer; }
.checkbox input { width: 20px; height: 20px; accent-color: var(--plum); }

.alert {
    margin-bottom: 20px;
    padding: 14px 18px;
    border-radius: var(--radius);
    font-weight: 700;
}
.alert--success { background: #DDF7EF; color: #1E6B55; }
.alert--big { display: grid; gap: 4px; padding: 20px 24px; }
.alert--big span { font-weight: 600; }

/* ---------- Pages de connexion ---------- */
.auth {
    display: grid;
    place-items: center;
    min-height: calc(100vh - 140px);
    padding: clamp(32px, 6vw, 72px) 16px;
    background:
        radial-gradient(circle at 15% 20%, rgba(167, 238, 224, .5), transparent 35%),
        radial-gradient(circle at 85% 80%, rgba(214, 198, 245, .6), transparent 35%),
        linear-gradient(180deg, var(--pink), var(--cream));
}
.auth__card {
    width: 100%;
    max-width: 440px;
    padding: clamp(28px, 5vw, 44px);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-lg);
}
.auth__icon { width: 64px; height: 64px; margin: 0 auto 14px; }
.auth__card h1 { font-size: clamp(1.8rem, 5vw, 2.2rem); text-align: center; letter-spacing: -.02em; }
.auth__lead { margin: 10px 0 26px; color: var(--plum-soft); text-align: center; font-weight: 600; }
.auth__switch { margin-top: 22px; text-align: center; color: var(--plum-soft); font-weight: 600; }
.auth__switch a { color: var(--plum); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Mon compte ---------- */
.account {
    padding: clamp(32px, 5vw, 56px) 0 clamp(64px, 9vw, 112px);
    background: linear-gradient(180deg, var(--pink) 0, var(--cream) 320px);
    min-height: calc(100vh - 140px);
}
.account__inner { max-width: 960px; }
.account__inner--narrow { max-width: 860px; }
.account__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}
.account__head h1 { font-size: clamp(2.2rem, 5vw, 3rem); letter-spacing: -.02em; }
.account__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.account__email { margin-top: 4px; color: var(--plum-soft); font-weight: 600; }
.account__section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 18px;
}
.account__section-head h2 { font-size: 1.6rem; }
.account__section-head .btn { padding: 12px 22px; font-size: 1rem; }

.quote-row {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 8px 20px;
    margin-bottom: 12px;
    padding: 18px 22px;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.quote-row:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.quote-row__ref { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--plum-dark); }
.quote-row__desc { display: grid; font-weight: 600; }
.quote-row__date { font-size: .85rem; color: var(--plum-soft); font-weight: 600; }
.quote-row__price { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--plum-dark); }

.badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 800;
    white-space: nowrap;
    background: var(--lilac, #EEE6FB);
    color: var(--plum);
}
.badge--submitted { background: #FFF0B8; color: #7A5A00; }
.badge--quoted { background: #E3D6FA; color: #4B2A7A; }
.badge--paid, .badge--shipped { background: #D4F5EA; color: #1E6B55; }
.badge--in_production { background: #D8ECFB; color: #1F5A85; }
.badge--cancelled { background: #F1E6EE; color: #7A5F91; }

.empty {
    display: grid;
    justify-items: center;
    gap: 14px;
    padding: 40px 20px;
    border-radius: var(--radius-lg);
    background: var(--white);
    text-align: center;
    color: var(--plum-soft);
    font-weight: 600;
}
.empty img { width: 160px; }

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--plum);
}
.back-link svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.quote-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.quote-head h1 { font-size: clamp(2rem, 5vw, 2.8rem); letter-spacing: -.02em; }
.quote-head__date { margin-top: 6px; color: var(--plum-soft); font-weight: 600; }
.quote-status { margin: 16px 0 28px; font-size: 1.05rem; font-weight: 600; }

.quote-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; align-items: start; }
.quote-card {
    padding: 26px;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}
.quote-card h2 { font-size: 1.35rem; margin-bottom: 16px; }
.quote-card h3 { margin: 22px 0 8px; font-size: 1.05rem; }
.quote-list { display: grid; gap: 10px; margin: 0 0 20px; }
.quote-list div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 10px; border-bottom: 1px solid #F1E6EE; }
.quote-list dt { color: var(--plum-soft); }
.quote-list dd { margin: 0; font-weight: 700; text-align: right; }
.quote-motif { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; font-weight: 600; color: var(--plum-soft); }
.quote-motif img { width: 72px; height: 72px; object-fit: contain; padding: 8px; border-radius: 16px; background: var(--cream); box-shadow: inset 0 0 0 2px #F1E6EE; }
.quote-card--price { background: var(--plum); color: var(--white); }
.quote-card--price h2, .quote-card--price h3 { color: var(--white); }
.quote-price { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; line-height: 1; }
.quote-price__note { margin-top: 8px; color: rgba(255, 255, 255, .75); font-size: .9rem; }
.quote-message { color: rgba(255, 255, 255, .88); white-space: pre-line; }

@media (max-width: 720px) {
    .quote-row { grid-template-columns: 1fr auto; }
    .quote-row__desc { grid-column: 1 / -1; grid-row: 2; }
    .quote-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Langues, pages de contenu, boutique
   ========================================================================== */

/* Sélecteur de langue */
.lang { position: relative; }
.lang summary { list-style: none; }
.lang summary::-webkit-details-marker { display: none; }
.lang__toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 44px;
    padding: 0 12px;
    border-radius: 999px;
    font-weight: 800;
    font-size: .88rem;
    color: var(--plum);
    cursor: pointer;
    transition: background .2s;
}
.lang__toggle:hover, .lang[open] .lang__toggle { background: rgba(255, 255, 255, .7); }
.lang__toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.lang__menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 60;
    min-width: 190px;
    padding: 8px;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}
.lang__menu a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-sm); font-weight: 600; }
.lang__menu a:hover { background: var(--pink); }
.lang__menu a[aria-current] { background: #F7F1FE; font-weight: 800; }
.lang__code {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 22px;
    border-radius: 6px;
    background: var(--cream);
    font-size: .72rem;
    font-weight: 800;
    color: var(--plum-soft);
}
.nav__langs { display: none; }
.footer__langs { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.footer__langs a[aria-current] { color: var(--white); font-weight: 800; }

/* En-tête des pages de contenu */
.page-hero {
    padding: clamp(32px, 5vw, 64px) 0 clamp(28px, 4vw, 48px);
    background: linear-gradient(180deg, var(--pink) 0%, var(--cream) 100%);
}
.page-hero h1 { max-width: 820px; font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.02em; }
.page-hero__lead { max-width: 720px; margin-top: 16px; color: var(--plum-soft); font-size: 1.15rem; font-weight: 600; line-height: 1.6; }
.breadcrumb { margin-bottom: 18px; color: var(--plum-soft); font-size: .9rem; font-weight: 600; }
.breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }

/* Guides et FAQ */
.article__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: clamp(32px, 5vw, 72px);
    align-items: start;
    padding-bottom: clamp(64px, 9vw, 112px);
}
.article__section { margin-bottom: 40px; }
.article__section h2 { margin-bottom: 14px; font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -.01em; }
.article__section p { margin-bottom: 14px; font-size: 1.08rem; line-height: 1.75; }
.article__section ul { display: grid; gap: 10px; margin: 0 0 14px; }
.article__section li { position: relative; padding-left: 28px; font-size: 1.05rem; line-height: 1.6; }
.article__section li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: .55em;
    width: 12px;
    height: 12px;
    border-radius: 4px;
    background: var(--lav);
    box-shadow: inset 0 -2px 0 rgba(81, 49, 107, .15);
}
.article__aside { position: sticky; top: 112px; display: grid; gap: 20px; }
.article__cta {
    padding: 24px;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}
.article__cta img { width: 100%; margin: -8px 0 8px; }
.article__cta-title { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; color: var(--plum-dark); }
.article__cta p:not(.article__cta-title) { margin: 6px 0 18px; color: var(--plum-soft); }
.article__related { display: grid; gap: 4px; padding: 20px 24px; border-radius: var(--radius-lg); background: #F6F0FD; }
.article__related-title { margin-bottom: 6px; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--plum-soft); }
.article__related a { padding: 6px 0; font-weight: 700; line-height: 1.35; }
.article__related a:hover { text-decoration: underline; text-underline-offset: 3px; }

.faq { display: grid; gap: 10px; }
.faq__item { border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); }
.faq__item summary {
    position: relative;
    padding: 18px 56px 18px 22px;
    font-family: var(--font-display);
    font-size: 1.12rem;
    font-weight: 600;
    color: var(--plum-dark);
    list-style: none;
    cursor: pointer;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
    content: '+';
    position: absolute;
    top: 50%;
    right: 20px;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--pink);
    transform: translateY(-50%);
    transition: transform .2s;
}
.faq__item[open] summary::after { content: '–'; background: var(--lav); }
.faq__item p { padding: 0 22px 20px; margin: 0; }

/* Accueil : étapes et guides */
.section__head--center { flex-direction: column; align-items: center; text-align: center; }
.section--tight { padding: clamp(32px, 5vw, 56px) 0 clamp(64px, 9vw, 96px); }
.section__title--small { margin: 56px 0 24px; font-size: 1.8rem; }
.journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: none; }
.journey__step {
    position: relative;
    padding: 26px 24px;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}
.journey__num {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 16px;
    border-radius: 14px;
    background: var(--yellow);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: inset 0 -3px 0 rgba(81, 49, 107, .12);
}
.journey__step:nth-child(2) .journey__num { background: var(--mint); }
.journey__step:nth-child(3) .journey__num { background: var(--pink-strong); }
.journey__step:nth-child(4) .journey__num { background: var(--lav); }
.journey__step h3 { margin-bottom: 6px; font-size: 1.25rem; }
.journey__step p { color: var(--plum-soft); }

.guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 16px; }
.guide-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 24px;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.guide-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.guide-card__eyebrow { font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--plum-soft); }
.guide-card__title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; line-height: 1.25; color: var(--plum-dark); }
.guide-card__more { margin-top: auto; font-weight: 800; color: var(--plum); }

/* Boutique */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.product-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.product-card__media { display: block; aspect-ratio: 1; background: linear-gradient(160deg, #FFE1E8, #F6EEFD); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; }
.product-card__media img.is-placeholder { object-fit: contain; padding: 12%; opacity: .7; }
.product-card__body { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 18px 20px 22px; }
.product-card__name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--plum-dark); }
.product-card__price { flex: none; font-weight: 800; color: var(--plum-soft); }

.shop-empty {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(24px, 5vw, 64px);
    padding: clamp(28px, 5vw, 56px);
    border-radius: var(--radius-lg);
    background: linear-gradient(160deg, #FFF0F3, #F4EEFD);
}
.shop-empty h2 { margin-bottom: 12px; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.shop-empty p { margin-bottom: 26px; color: var(--plum-soft); font-size: 1.1rem; line-height: 1.6; }
.shop-custom { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 24px; margin-top: 48px; font-weight: 700; }

.product { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.product__media { overflow: hidden; border-radius: var(--radius-lg); background: linear-gradient(160deg, #FFE1E8, #F6EEFD); }
.product__media img { width: 100%; }
.product__info h1 { font-size: clamp(2rem, 4.5vw, 3rem); letter-spacing: -.02em; }
.product__price { margin: 12px 0 20px; font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--plum); }
.product__description { margin-bottom: 28px; }
.product__description p { margin-bottom: 12px; line-height: 1.7; }
.product__note { margin-top: 14px; color: var(--plum-soft); font-size: .9rem; }

.alert { background: var(--yellow); color: var(--plum-dark); }
.alert--error { background: #FFE4E8; color: #9B1C3C; }

@media (max-width: 960px) {
    .lang__toggle span { display: none; }
    .lang__toggle { padding: 0 10px; }
    .article__layout, .product, .shop-empty { grid-template-columns: 1fr; }
    .article__aside { position: static; }
    .journey { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .journey { grid-template-columns: 1fr; }
    .lang { display: none; }
    .nav__langs {
        display: flex;
        gap: 8px;
        margin-top: 12px;
        padding: 12px 16px 0;
        border-top: 1px solid #F1E6EE;
    }
    .nav__langs a { padding: 8px 12px; border-radius: 999px; background: var(--white); font-weight: 800; font-size: .9rem; }
    .nav__langs a[aria-current] { background: var(--plum); color: var(--white); }
}
