/* ==========================================================================
   Cadeaux Originaux — Pixel Étincelle
   Monde : le papier cadeau qu'on déchire. Dégradé du logo (soleil → mandarine
   → corail → framboise → prune), pixels et étincelles en suspension, carte crème
   où l'on habille son cadeau, arc de produits que l'on fait tourner.
   ========================================================================== */

:root {
    --soleil: #ffc21a;
    --mandarine: #ff8a1f;
    --corail: #f2434b;
    --corail-fonce: #d42a35;
    --framboise: #c81e6a;
    --prune: #6b2499;
    --nuit: #2b0f3a;
    --encre: #2b0f3a;
    --encre-2: #5b4766;
    --creme: #fff6ec;
    --creme-2: #ffe8d4;
    --peche: #ffd7bd;
    --blanc: #ffffff;
    --filet: rgba(43, 15, 58, .12);

    --f-titre: "Fredoka", "Nunito", system-ui, sans-serif;
    --f-texte: "Nunito", system-ui, sans-serif;

    --gouttiere: clamp(16px, 4vw, 56px);
    --max: 1240px;
    --r: 18px;
    --r-grand: clamp(28px, 4vw, 48px);
    --ease: cubic-bezier(.16, 1, .3, 1);
    --ease-ressort: cubic-bezier(.22, 1, .36, 1);

    --degrade: linear-gradient(120deg, var(--soleil) 0%, var(--mandarine) 28%, var(--corail) 55%, var(--framboise) 78%, var(--prune) 100%);
    --ombre: 0 24px 60px -28px rgba(70, 12, 50, .55);

    /* Teintes d'usage : états, champs, voiles et ombres (documentées dans DESIGN.md) */
    --corail-clair: #ff7a6b;
    --lavande: #e9d9f2;
    --bord-champ: #e6d6cc;
    --texte-indice: #8a7a92;
    --erreur-fond: #fff6f6;
    --depot-survol: #ffeedd;
    --surligne-fond: #fff1a8;
    --surligne-texte: #4a3a00;
    --succes-fond: #e9f8ee;
    --succes-texte: #165c2e;
    --erreur-texte: #a3121d;
    --voile-blanc-12: rgba(255, 255, 255, .12);
    --voile-blanc-25: rgba(255, 255, 255, .25);
    --voile-blanc-35: rgba(255, 255, 255, .35);
    --voile-blanc-50: rgba(255, 255, 255, .5);
    --voile-blanc-55: rgba(255, 255, 255, .55);
    --voile-blanc-70: rgba(255, 255, 255, .7);
    --lueur-soleil: rgba(255, 210, 63, .45);
    --ombre-carte: rgba(60, 8, 40, .6);
    --ombre-vignette: rgba(40, 0, 30, .5);
    --ombre-photo: rgba(0, 0, 0, .7);
}

@view-transition { navigation: auto; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body {
    margin: 0;
    background: var(--creme);
    color: var(--encre);
    font-family: var(--f-texte);
    font-size: 1.0625rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 {
    font-family: var(--f-titre);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.01em;
    margin: 0;
    text-wrap: balance;
}
p { margin: 0; }
a { color: var(--framboise); text-underline-offset: 3px; }
a:hover { color: var(--prune); }
:focus-visible { outline: 3px solid var(--prune); outline-offset: 3px; border-radius: 6px; }
.sr, .sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.evitement { position: absolute; left: 16px; top: -80px; z-index: 100; background: var(--nuit); color: var(--blanc); padding: 10px 16px; border-radius: 10px; }
.evitement:focus { top: 16px; color: var(--blanc); }
.icone { width: 1.15em; height: 1.15em; flex: none; }

/* ------------------------------------------------------------------ Boutons */

.bouton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 26px;
    border-radius: 999px;
    border: 0;
    font-family: var(--f-titre);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.1;
    text-decoration: none;
    cursor: pointer;
    transition: transform .3s var(--ease-ressort), box-shadow .3s var(--ease), background-color .2s;
}
.bouton:hover { transform: translateY(-2px); }
.bouton:active { transform: translateY(1px); }
.bouton--cta {
    background: linear-gradient(180deg, var(--corail-clair), var(--corail-fonce));
    color: var(--blanc);
    box-shadow: 0 10px 22px -10px rgba(212, 42, 53, .8), inset 0 1px 0 var(--voile-blanc-35);
}
.bouton--cta:hover { color: var(--blanc); box-shadow: 0 16px 30px -12px rgba(212, 42, 53, .9), inset 0 1px 0 var(--voile-blanc-35); }
.bouton--clair { background: var(--blanc); color: var(--encre); box-shadow: inset 0 0 0 2px var(--filet); }
.bouton--clair:hover { color: var(--encre); box-shadow: inset 0 0 0 2px var(--prune); }
.bouton--nuit { background: var(--nuit); color: var(--blanc); }
.bouton--nuit:hover { color: var(--blanc); background: var(--prune); }
.bouton--grand { min-height: 58px; padding: 14px 32px; font-size: 1.3rem; }
.bouton .icone { transition: transform .3s var(--ease); }
.bouton:hover .icone { transform: translateX(3px); }
.lien-bouton { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ------------------------------------------------------------------ Bandeau de saison */

.saison-bandeau {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 16px;
    padding: 10px var(--gouttiere);
    background: var(--nuit);
    color: var(--blanc);
    font-size: .95rem;
    text-align: center;
}
.saison-bandeau > .icone { color: var(--soleil); }
.saison-compte { display: inline-block; margin-left: 8px; padding: 2px 10px; border-radius: 999px; background: var(--voile-blanc-12); }
.saison-compte strong { color: var(--soleil); }
.saison-bandeau a { display: inline-flex; align-items: center; gap: 6px; color: var(--soleil); font-weight: 800; }
.saison-bandeau a:hover { color: var(--blanc); }

/* ------------------------------------------------------------------ En-tête */

.entete {
    position: relative;
    z-index: 20;
    max-width: calc(var(--max) + 2 * var(--gouttiere));
    margin: 0 auto;
    padding: 14px var(--gouttiere);
    display: flex;
    align-items: center;
    gap: 28px;
}
.entete-logo img { width: auto; height: 64px; }
.entete-nav { margin-left: auto; }
.entete-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.entete-nav li a {
    display: block;
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--encre);
    font-family: var(--f-titre);
    font-weight: 500;
    font-size: 1.05rem;
    text-decoration: none;
    transition: background-color .2s;
}
.entete-nav li a:hover { background: var(--creme-2); color: var(--encre); }
.entete-nav li a[aria-current="page"] { background: var(--nuit); color: var(--blanc); }
.page-saison .entete-nav li a[aria-current="page"] { background: var(--corail-fonce); }
.entete-cta-mobile, .entete-burger { display: none; }

@media (max-width: 1080px) {
    .entete { gap: 12px; }
    .entete-logo img { height: 52px; }
    .entete-cta { display: none; }
    .entete-burger {
        display: grid;
        place-content: center;
        gap: 5px;
        width: 48px;
        height: 48px;
        margin-left: auto;
        border: 0;
        border-radius: 50%;
        background: var(--nuit);
        cursor: pointer;
    }
    .entete-burger i { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--blanc); transition: transform .3s var(--ease), opacity .2s; }
    .entete-burger[aria-expanded="true"] i:nth-of-type(1) { transform: translateY(7px) rotate(45deg); }
    .entete-burger[aria-expanded="true"] i:nth-of-type(2) { opacity: 0; }
    .entete-burger[aria-expanded="true"] i:nth-of-type(3) { transform: translateY(-7px) rotate(-45deg); }
    .entete-nav {
        position: absolute;
        left: var(--gouttiere);
        right: var(--gouttiere);
        top: calc(100% - 4px);
        margin: 0;
        padding: 16px;
        border-radius: 24px;
        background: var(--blanc);
        box-shadow: var(--ombre);
        display: none;
    }
    .js .entete-nav.est-ouvert, .entete-nav:target { display: block; }
    .entete-nav ul { flex-direction: column; }
    .entete-nav li a { padding: 12px 16px; font-size: 1.15rem; }
    .entete-nav .entete-cta-mobile { display: flex; margin-top: 12px; }
    html:not(.js) .entete-nav { position: static; display: block; box-shadow: none; padding: 0; background: none; }
    html:not(.js) .entete-burger { display: none; }
}

/* ------------------------------------------------------------------ Vitrine */

.vitrine { position: relative; }
.vitrine-scene {
    position: relative;
    overflow: hidden;
    min-height: min(100svh, 900px);
    padding: clamp(24px, 4vw, 56px) var(--gouttiere) clamp(56px, 6vw, 80px);
    display: flex;
    align-items: center;
    isolation: isolate;
    border-radius: 0 0 var(--r-grand) var(--r-grand);
}

/* Le défilement pilote l'arc (bureau, mouvement autorisé) */
@media (min-width: 1000px) and (prefers-reduced-motion: no-preference) {
    .js .vitrine--arc { height: calc(100svh + var(--n, 6) * 34svh); }
    .js .vitrine--arc .vitrine-scene { position: sticky; top: 0; height: 100svh; min-height: 640px; border-radius: 0; align-items: flex-start; padding-top: clamp(24px, 4svh, 48px); }
}

.vitrine-fond {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(70% 90% at 0% 0%, var(--soleil) 0%, rgba(255, 194, 26, 0) 60%),
        radial-gradient(60% 80% at 100% 0%, var(--framboise) 0%, rgba(200, 30, 106, 0) 65%),
        radial-gradient(70% 80% at 85% 100%, var(--prune) 0%, rgba(107, 36, 153, 0) 65%),
        radial-gradient(60% 70% at 10% 100%, var(--corail) 0%, rgba(242, 67, 75, 0) 70%),
        linear-gradient(135deg, var(--mandarine), var(--corail));
}
.vitrine-fond::before {
    content: "";
    position: absolute;
    inset: -20%;
    background: radial-gradient(40% 40% at 50% 50%, var(--lueur-soleil), rgba(255, 210, 63, 0) 70%);
    animation: derive 18s var(--ease) infinite alternate;
}
@keyframes derive { from { transform: translate(-18%, -10%); } to { transform: translate(22%, 14%); } }

.flotte {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: var(--s);
    height: var(--s);
    background: var(--c);
    opacity: .85;
    animation: flotte var(--d) ease-in-out var(--t) infinite alternate;
}
.flotte--pixel { border-radius: 3px; }
.flotte--etincelle {
    clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
    width: calc(var(--s) * 1.6);
    height: calc(var(--s) * 1.6);
}
@keyframes flotte {
    from { transform: translate3d(0, 0, 0) rotate(0); }
    to { transform: translate3d(14px, -36px, 0) rotate(45deg); }
}
@media (prefers-reduced-motion: reduce) {
    .flotte, .vitrine-fond::before { animation: none; }
}

.vitrine-carte {
    position: relative;
    width: min(1080px, 100%);
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: clamp(16px, 3vw, 40px);
    padding: clamp(24px, 3.5vw, 48px) clamp(24px, 3.5vw, 48px) clamp(40px, 4vw, 56px);
    background: rgba(255, 248, 240, .95);
    border-radius: var(--r-grand);
    box-shadow: 0 40px 90px -36px var(--ombre-carte);
}
.vitrine--arc .vitrine-carte { width: min(1080px, calc(100% - 300px)); }

.vitrine-titre {
    font-size: clamp(2rem, 3.3vw, 3.1rem);
    font-weight: 600;
    line-height: .98;
    color: var(--nuit);
}
.vitrine-produit { margin-top: 18px; padding-top: 14px; border-top: 2px dashed var(--peche); }
.vitrine-nom { font-family: var(--f-titre); font-size: 1.6rem; font-weight: 600; color: var(--framboise); }
.vitrine-accroche { margin-top: 4px; color: var(--encre-2); font-size: 1.05rem; }
.vitrine-prix { margin-top: 10px; font-size: 1rem; color: var(--encre-2); }
.vitrine-prix strong { font-family: var(--f-titre); font-size: 1.7rem; font-weight: 600; color: var(--encre); }

.pastilles { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 16px; min-height: 44px; }
.pastille {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    cursor: pointer;
    background: radial-gradient(circle at 35% 30%, var(--voile-blanc-55), rgba(255, 255, 255, 0) 45%), var(--p);
    box-shadow: inset 0 0 0 1.5px rgba(43, 15, 58, .18), 0 6px 14px -6px rgba(43, 15, 58, .5);
    transition: transform .35s var(--ease-ressort);
}
.pastille:hover { transform: scale(1.1); }
.pastille[aria-checked="true"] { transform: scale(1.12); }
.pastille[aria-checked="true"]::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 3px solid var(--nuit);
}
.pastille-nom { margin-top: 8px; min-height: 1.5em; font-weight: 700; font-size: .95rem; color: var(--encre-2); }
.matieres { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.matieres[hidden] { display: none; }
.matieres button {
    min-height: 40px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 2px solid var(--filet);
    background: var(--blanc);
    font: 700 .9rem var(--f-texte);
    color: var(--encre);
    cursor: pointer;
}
.matieres button[aria-pressed="true"] { border-color: var(--nuit); background: var(--nuit); color: var(--blanc); }

.vitrine-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 18px; }
.essai {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 10px 4px;
    color: var(--prune);
    font-weight: 800;
    cursor: pointer;
}
.essai span { text-decoration: underline; text-decoration-style: wavy; text-decoration-color: var(--mandarine); text-underline-offset: 5px; }
.essai input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.essai:focus-within { outline: 3px solid var(--prune); outline-offset: 2px; border-radius: 8px; }
.essai-note { margin-top: 6px; font-size: .82rem; color: var(--encre-2); max-width: 36ch; }
html:not(.js) .essai, html:not(.js) .essai-note, .essai[hidden], .essai-note[hidden] { display: none; }

.vitrine-visuels {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    align-items: end;
    perspective: 1200px;
}
.vitrine-visuels.une-vue { grid-template-columns: minmax(0, .8fr); justify-content: center; }
.visuel {
    position: relative;
    display: block;
    text-decoration: none;
    transition: transform .6s var(--ease);
    transform-style: preserve-3d;
}
.visuel:nth-child(2) { margin-left: -12%; }
.visuel .support { width: 100%; height: auto; filter: drop-shadow(0 22px 22px rgba(60, 8, 40, .28)); transition: filter .4s; }
.visuel:hover { transform: translateY(-6px) rotate(-1.5deg); }
.visuel:nth-child(2):hover { transform: translateY(-6px) rotate(1.5deg); }
.visuel-label {
    position: absolute;
    left: 50%;
    bottom: 8%;
    transform: translateX(-50%);
    white-space: nowrap;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(43, 15, 58, .82);
    color: var(--blanc);
    font-weight: 700;
    font-size: .88rem;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.visuel--photo { grid-column: 1 / -1; justify-self: center; width: min(100%, 360px); }
.visuel--photo img { border-radius: 28px; aspect-ratio: 480 / 553; object-fit: cover; box-shadow: var(--ombre); }
.visuel--photo[hidden] { display: none; }

/* Changement de produit : le support « tombe » dans la carte */
@media (prefers-reduced-motion: no-preference) {
    .vitrine-visuels.est-entrant .visuel { animation: entree .7s var(--ease) both; }
    .vitrine-visuels.est-entrant .visuel:nth-child(2) { animation-delay: .07s; }
    .support use:first-child, .support { transition: color .4s; }
}
@keyframes entree {
    from { opacity: 0; transform: translateY(40px) rotate(6deg) scale(.92); }
}

/* Arc de sélection */
.arc {
    --R: min(46svh, 420px);
    --pas: 20deg;
    position: absolute;
    top: 50%;
    left: calc(100% - 200px + var(--R) * .06);
    width: calc(var(--R) * 2);
    height: calc(var(--R) * 2);
    transform: translateY(-50%);
    pointer-events: none;
}
.arc-traits { position: absolute; inset: -6%; width: 112%; height: 112%; fill: none; }
.arc-traits circle:nth-child(1) { stroke: var(--voile-blanc-70); stroke-width: 3; }
.arc-traits circle:nth-child(2) { stroke: var(--peche); stroke-width: 5; }
.arc-traits circle:nth-child(3) { stroke: var(--nuit); stroke-width: 7; }
.arc-liste { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.arc-item {
    --a: calc(180deg + (var(--i) - var(--p, 0)) * var(--pas));
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0;
    height: 0;
    transform: rotate(var(--a)) translateX(calc(var(--R) * 1.06)) rotate(calc(var(--a) * -1));
    opacity: var(--o, 1);
    transition: opacity .3s;
}
.arc-item a {
    position: absolute;
    left: 0;
    top: 0;
    transform: translate(-50%, -50%) scale(var(--sc, .78));
    display: grid;
    justify-items: center;
    gap: 2px;
    width: 150px;
    text-decoration: none;
    color: var(--blanc);
    pointer-events: auto;
    transition: transform .45s var(--ease-ressort);
}
.arc-mini { position: relative; display: block; width: 140px; height: 126px; }
.arc-mini .support--mini { position: absolute; width: 92px; top: 0; filter: drop-shadow(0 8px 10px rgba(40, 0, 30, .35)); }
.arc-mini .support--mini:first-child { left: 44px; top: 8px; }
.arc-mini .support--mini:last-child { left: 8px; }
.arc-mini .support--mini:only-child { left: 24px; top: 4px; }
.arc-mini img { width: 112px; height: 112px; margin: 6px auto 0; border-radius: 50%; object-fit: cover; object-position: 50% 30%; border: 4px solid var(--blanc); box-shadow: 0 8px 16px -6px var(--ombre-vignette); }
.arc-nom {
    padding: 3px 10px;
    border-radius: 999px;
    font-family: var(--f-titre);
    font-weight: 600;
    font-size: .95rem;
    white-space: nowrap;
    background: rgba(43, 15, 58, .55);
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity .3s, transform .3s var(--ease);
}
.arc-item a[aria-current="true"] { --sc: 1.08; }
.arc-item a[aria-current="true"] .arc-nom, .arc-item a:hover .arc-nom, .arc-item a:focus-visible .arc-nom { opacity: 1; transform: none; }
.arc-item a:hover { --sc: .92; }
.arc-item a[aria-current="true"]:hover { --sc: 1.1; }
.arc-aide {
    position: absolute;
    left: calc(var(--R) * -.06);
    bottom: calc(var(--R) * .02);
    transform: translateX(-100%);
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--blanc);
    font-weight: 800;
    font-size: .9rem;
    text-shadow: 0 1px 8px rgba(43, 15, 58, .5);
    white-space: nowrap;
}
.arc-aide .icone { animation: rebond 1.6s var(--ease) infinite; }
@keyframes rebond { 50% { transform: translateY(4px); } }

@media (max-width: 999px), (prefers-reduced-motion: reduce) {
    .vitrine--arc .vitrine-scene { flex-direction: column; align-items: stretch; gap: 20px; }
    .vitrine--arc .vitrine-carte { width: 100%; order: 2; }
    .arc { position: static; transform: none; width: auto; height: auto; pointer-events: auto; order: 1; margin: 0 calc(var(--gouttiere) * -1); }
    .arc-traits, .arc-aide { display: none; }
    .arc-liste {
        position: static;
        display: flex;
        gap: 4px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 4px var(--gouttiere) 8px;
        scrollbar-width: none;
    }
    .arc-liste::-webkit-scrollbar { display: none; }
    .arc-item { position: static; width: auto; height: auto; transform: none; opacity: 1; scroll-snap-align: center; flex: none; }
    .arc-item a { position: static; transform: none; width: 112px; }
    .arc-item a[aria-current="true"] .arc-mini { background: var(--voile-blanc-25); border-radius: 24px; }
    .arc-nom { opacity: 1; transform: none; font-size: .85rem; }
}

@media (max-width: 760px) {
    .vitrine-carte { grid-template-columns: 1fr; padding-bottom: 32px; }
    .vitrine-visuels { order: -1; margin: -8px -8px 0; }
    .vitrine-titre { font-size: clamp(2rem, 9vw, 2.6rem); }
    .visuel-label { font-size: .78rem; padding: 4px 10px; }
    .vitrine-actions .bouton--grand { width: 100%; }
}

/* ------------------------------------------------------------------ Sections */

.bloc { padding: clamp(64px, 9vw, 128px) var(--gouttiere); }
.bloc-centre { max-width: var(--max); margin: 0 auto; }
.bloc--peche { background: var(--creme-2); }
.bloc--nuit { background: var(--nuit); color: var(--blanc); }
.bloc--nuit h2, .bloc--nuit h3 { color: var(--blanc); }
.bloc--degrade { background: var(--degrade); color: var(--blanc); }

.titre-section { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 600; color: var(--nuit); max-width: 18ch; }
.bloc--nuit .titre-section, .bloc--degrade .titre-section { color: var(--blanc); }
.chapo { margin-top: 18px; max-width: 58ch; font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--encre-2); }
.bloc--nuit .chapo { color: var(--lavande); }
.bloc--degrade .chapo { color: var(--blanc); }
.tete-section { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 48px; margin-bottom: clamp(32px, 5vw, 56px); }

/* Étapes : un ruban, pas des cartes */
.etapes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: etape; position: relative; }
.etapes::before {
    content: "";
    position: absolute;
    left: 28px;
    right: 28px;
    top: 28px;
    height: 4px;
    border-radius: 4px;
    background: var(--degrade);
}
.etapes li { position: relative; padding: 0 24px 0 0; }
.etape-pastille {
    position: relative;
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--blanc);
    color: var(--framboise);
    box-shadow: 0 0 0 4px var(--creme), var(--ombre);
}
.bloc--peche .etape-pastille { box-shadow: 0 0 0 4px var(--creme-2), var(--ombre); }
.etape-pastille .icone { width: 26px; height: 26px; }
.etapes h3 { margin-top: 20px; font-size: 1.45rem; }
.etapes p { margin-top: 8px; color: var(--encre-2); font-size: .98rem; }
@media (max-width: 860px) {
    .etapes { grid-template-columns: 1fr; gap: 28px; }
    .etapes::before { left: 28px; right: auto; top: 28px; bottom: 28px; width: 4px; height: auto; background: linear-gradient(180deg, var(--soleil), var(--corail), var(--prune)); }
    .etapes li { display: grid; grid-template-columns: 60px 1fr; column-gap: 20px; padding: 0; }
    .etapes li > :not(.etape-pastille) { grid-column: 2; }
    .etapes h3 { margin-top: 12px; }
}

/* Famille en manga : la vedette */
.manga {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(32px, 6vw, 96px);
    align-items: center;
}
.manga-visuel { position: relative; }
.manga-visuel picture img { border-radius: var(--r-grand); box-shadow: 0 40px 80px -30px var(--ombre-photo); transform: rotate(-2.5deg); }
.manga-visuel .manga-second { position: absolute; right: -6%; bottom: -10%; width: 44%; }
.manga-visuel .manga-second img { border-radius: 24px; border: 6px solid var(--blanc); transform: rotate(5deg); box-shadow: var(--ombre); }
.manga-points { list-style: none; margin: 28px 0 32px; padding: 0; display: grid; gap: 14px; }
.manga-points li { display: flex; gap: 12px; align-items: flex-start; }
.manga-points .icone { color: var(--soleil); margin-top: 3px; }
@media (max-width: 860px) {
    .manga { grid-template-columns: 1fr; }
    .manga-visuel { max-width: 420px; margin: 0 auto 32px; }
}

/* Produits */
.produits-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.produit-tuile {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 20px 20px 22px;
    border-radius: var(--r);
    background: var(--blanc);
    color: var(--encre);
    text-decoration: none;
    box-shadow: 0 1px 0 var(--filet);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
    overflow: hidden;
}
.produit-tuile::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 58%;
    background: var(--tuile, var(--creme-2));
    transform-origin: top;
    transition: transform .5s var(--ease);
}
.produit-tuile:hover { transform: translateY(-4px); box-shadow: var(--ombre); color: var(--encre); }
.produit-tuile:hover::before { transform: scaleY(1.1); }
.produit-tuile .support, .produit-tuile .tuile-photo { position: relative; width: 70%; margin: 0 auto 8px; transition: transform .5s var(--ease); }
.produit-tuile:hover .support { transform: rotate(-4deg) scale(1.04); }
.produit-tuile .tuile-photo img { border-radius: 16px; aspect-ratio: 1; object-fit: cover; object-position: 50% 25%; }
.produit-tuile h3 { position: relative; font-size: 1.45rem; margin-top: 8px; }
.produit-tuile p { position: relative; color: var(--encre-2); font-size: .95rem; margin-top: 4px; }
.produit-tuile .tuile-prix { margin-top: auto; padding-top: 12px; font-weight: 700; color: var(--encre-2); }
.produit-tuile .tuile-prix strong { font-family: var(--f-titre); font-size: 1.4rem; font-weight: 600; color: var(--framboise); }
.produit-tuile--vedette { grid-column: span 2; --tuile: var(--degrade); color: var(--blanc); }
.produit-tuile--vedette::before { height: 100%; }
.produit-tuile--vedette:hover { color: var(--blanc); }
.produit-tuile--vedette:hover::before { transform: none; }
.produit-tuile--vedette h3, .produit-tuile--vedette p, .produit-tuile--vedette .tuile-prix, .produit-tuile--vedette .tuile-prix strong { color: var(--blanc); }
.produit-tuile--vedette .tuile-photo { width: 56%; }
@media (max-width: 560px) { .produit-tuile--vedette { grid-column: auto; } }
.gamme-titre { font-size: 1.8rem; margin: 48px 0 16px; }

/* Réalisations : une mosaïque */
.mosaique { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 120px; gap: 12px; }
.mosaique figure { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; background: var(--creme-2); }
.mosaique figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mosaique figure picture { height: 100%; }
.mosaique figure:hover img { transform: scale(1.05); }
.mosaique figcaption {
    position: absolute;
    left: 10px;
    bottom: 10px;
    right: 10px;
    width: fit-content;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(43, 15, 58, .8);
    color: var(--blanc);
    font-weight: 700;
    font-size: .85rem;
}
.mosaique .m-a { grid-column: span 3; grid-row: span 4; }
.mosaique .m-b { grid-column: span 3; grid-row: span 2; }
.mosaique .m-c { grid-column: span 2; grid-row: span 2; }
.mosaique .m-d { grid-column: span 1; grid-row: span 2; }
.mosaique .m-tasse { background: var(--degrade); }
.mosaique .m-tasse img { object-fit: contain; padding: 8%; }
@media (max-width: 760px) {
    .mosaique { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }
    .mosaique .m-a { grid-column: span 2; grid-row: span 3; }
    .mosaique .m-b, .mosaique .m-c, .mosaique .m-d { grid-column: span 1; grid-row: span 2; }
}

/* Livraison et paiement */
.infos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.info h3 { display: flex; align-items: center; gap: 10px; font-size: 1.5rem; }
.info h3 .icone { color: var(--mandarine); width: 28px; height: 28px; }
.info p, .info li { color: var(--encre-2); margin-top: 8px; }
.info ul { padding-left: 18px; margin: 8px 0 0; }
.bloc--nuit .info p, .bloc--nuit .info li { color: var(--lavande); }
.bloc--nuit .info h3 .icone { color: var(--soleil); }
@media (max-width: 860px) { .infos { grid-template-columns: 1fr; } }

.villes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding: 0; list-style: none; }
.villes li { padding: 6px 14px; border-radius: 999px; background: var(--voile-blanc-12); font-weight: 700; font-size: .92rem; }
.bloc--peche .villes li, .bloc .villes li { background: var(--blanc); color: var(--encre); }
.bloc--nuit .villes li { background: var(--voile-blanc-12); color: var(--blanc); }

/* Appel final */
.appel {
    position: relative;
    overflow: hidden;
    max-width: var(--max);
    margin: 0 auto;
    padding: clamp(40px, 6vw, 80px);
    border-radius: var(--r-grand);
    background: var(--degrade);
    color: var(--blanc);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px 48px;
    align-items: center;
}
.appel h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); color: var(--blanc); max-width: 16ch; }
.appel p { margin-top: 12px; color: var(--blanc); font-size: 1.1rem; max-width: 48ch; }
.appel .bouton--nuit { min-height: 58px; padding: 14px 32px; font-size: 1.25rem; }
@media (max-width: 760px) { .appel { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ Page simple */

.page-tete {
    position: relative;
    overflow: hidden;
    padding: clamp(48px, 7vw, 96px) var(--gouttiere) clamp(48px, 6vw, 80px);
    background: var(--degrade);
    color: var(--blanc);
    border-radius: 0 0 var(--r-grand) var(--r-grand);
}
.page-tete .bloc-centre { position: relative; }
.page-tete h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); color: var(--blanc); max-width: 18ch; }
.page-tete p { margin-top: 16px; max-width: 58ch; font-size: clamp(1.08rem, 1.5vw, 1.25rem); }
.page-tete::after {
    content: "";
    position: absolute;
    right: -40px;
    top: -40px;
    width: 320px;
    height: 320px;
    background: url("../img/icone-512.png") center / contain no-repeat;
    opacity: .18;
    transform: rotate(12deg);
}
.fil { display: flex; gap: 8px; margin-bottom: 18px; font-weight: 700; font-size: .92rem; }
.fil a { color: var(--blanc); }

.prose { max-width: 72ch; }
.prose h2 { font-size: 1.9rem; margin: 48px 0 12px; color: var(--nuit); }
.prose h3 { font-size: 1.35rem; margin: 28px 0 8px; }
.prose p, .prose li { color: var(--encre-2); }
.prose p + p { margin-top: 12px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.a-completer { background: var(--surligne-fond); color: var(--surligne-texte); padding: 0 6px; border-radius: 4px; font-weight: 700; }

/* Produit : configurateur dans la page */
.produit-config { padding: clamp(24px, 4vw, 56px) var(--gouttiere); background: var(--degrade); border-radius: 0 0 var(--r-grand) var(--r-grand); }
.produit-config .vitrine-scene { min-height: 0; padding: 0; background: none; border-radius: 0; }
.produit-config .vitrine-fond { display: none; }
.produit-config .vitrine-carte { margin: 0 auto; }

.tarifs { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; background: var(--blanc); border-radius: var(--r); overflow: hidden; }
.tarifs th, .tarifs td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--filet); }
.tarifs thead th { background: var(--nuit); color: var(--blanc); font-family: var(--f-titre); font-weight: 600; font-size: 1.05rem; }
.tarifs td.prix { text-align: right; font-family: var(--f-titre); font-weight: 600; font-size: 1.2rem; color: var(--framboise); white-space: nowrap; }
.tarifs th.prix { text-align: right; }
.tarifs tbody tr:last-child td { border-bottom: 0; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--blanc); border-radius: var(--r); padding: 0 22px; box-shadow: 0 1px 0 var(--filet); }
.faq summary {
    cursor: pointer;
    list-style: none;
    padding: 18px 36px 18px 0;
    position: relative;
    font-family: var(--f-titre);
    font-weight: 600;
    font-size: 1.2rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 22px;
    height: 22px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c81e6a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
    transform: translateY(-50%);
    transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(180deg); }
.faq details > div { padding: 0 0 20px; color: var(--encre-2); }

/* Noël : budgets */
.budgets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.budget { padding: 28px; border-radius: var(--r-grand); background: var(--blanc); }
.budget h3 { font-size: 2rem; color: var(--framboise); }
.budget ul { list-style: none; margin: 16px 0 0; padding: 0; }
.budget li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px dashed var(--peche); }
.budget li a { color: var(--encre); font-weight: 700; text-decoration: none; }
.budget li a:hover { color: var(--framboise); }
.budget li span { font-family: var(--f-titre); font-weight: 600; color: var(--framboise); white-space: nowrap; }
@media (max-width: 860px) { .budgets { grid-template-columns: 1fr; } }

.compte-a-rebours {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
    margin-top: 24px;
    padding: 12px 22px;
    border-radius: 999px;
    background: var(--nuit);
    color: var(--blanc);
    font-weight: 700;
}
.compte-a-rebours strong { font-family: var(--f-titre); font-size: 2rem; color: var(--soleil); line-height: 1; }

/* ------------------------------------------------------------------ Formulaire */

.devis-grille { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 960px) { .devis-grille { grid-template-columns: 1fr; } }
.formulaire { padding: clamp(20px, 3vw, 40px); background: var(--blanc); border-radius: var(--r-grand); box-shadow: var(--ombre); }
.formulaire fieldset { border: 0; margin: 0 0 28px; padding: 0; min-width: 0; }
.formulaire legend { padding: 0; margin-bottom: 14px; font-family: var(--f-titre); font-weight: 600; font-size: 1.5rem; color: var(--nuit); }
.champs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.champs .plein { grid-column: 1 / -1; }
@media (max-width: 560px) { .champs { grid-template-columns: 1fr; } }
.champ label, .champ .label { display: block; margin-bottom: 6px; font-weight: 800; font-size: .95rem; }
.champ .obligatoire { color: var(--corail-fonce); }
.champ input[type="text"], .champ input[type="email"], .champ input[type="tel"], .champ input[type="number"], .champ select, .champ textarea {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    border: 2px solid var(--bord-champ);
    border-radius: 14px;
    background: var(--blanc);
    color: var(--encre);
    font: 600 1rem/1.4 var(--f-texte);
    transition: border-color .2s, box-shadow .2s;
}
.champ textarea { min-height: 120px; resize: vertical; }
.champ select { appearance: none; padding-right: 44px; background: var(--blanc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23c81e6a' stroke-width='2.4'/%3E%3C/svg%3E") no-repeat right 16px center; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--prune); box-shadow: 0 0 0 4px rgba(107, 36, 153, .15); }
.champ input::placeholder, .champ textarea::placeholder { color: var(--texte-indice); }
.champ .aide { margin-top: 6px; font-size: .85rem; color: var(--encre-2); }
.champ .erreur-champ { margin-top: 6px; font-size: .88rem; font-weight: 800; color: var(--corail-fonce); }
.champ.a-erreur input, .champ.a-erreur select, .champ.a-erreur textarea { border-color: var(--corail-fonce); background: var(--erreur-fond); }

.choix { display: flex; flex-wrap: wrap; gap: 8px; }
.choix label {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 8px 16px;
    margin: 0;
    border: 2px solid var(--bord-champ);
    border-radius: 999px;
    font-weight: 700;
    cursor: pointer;
    transition: border-color .2s, background-color .2s;
}
.choix input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choix label:has(input:checked) { border-color: var(--nuit); background: var(--nuit); color: var(--blanc); }
.choix label:has(input:focus-visible) { outline: 3px solid var(--prune); outline-offset: 2px; }
.choix .pastille-mini { width: 20px; height: 20px; border-radius: 50%; background: var(--p); box-shadow: inset 0 0 0 1.5px rgba(43, 15, 58, .25); }

.depot {
    position: relative;
    display: grid;
    place-items: center;
    gap: 6px;
    min-height: 140px;
    padding: 20px;
    border: 2.5px dashed var(--mandarine);
    border-radius: var(--r);
    background: #fff8f1;
    text-align: center;
    cursor: pointer;
    transition: background-color .2s, border-color .2s;
}
.depot:hover, .depot.est-survole { background: var(--depot-survol); border-color: var(--framboise); }
.depot:focus-within { outline: 3px solid var(--prune); outline-offset: 2px; }
.depot input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.depot .icone { width: 34px; height: 34px; color: var(--framboise); }
.depot strong { font-family: var(--f-titre); font-weight: 600; font-size: 1.2rem; color: var(--nuit); }
.depot small { color: var(--encre-2); }
.depot.est-plein { display: none; }
.fichiers { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.fichiers li { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 12px; padding: 8px; border-radius: 14px; background: #fff8f1; }
.fichiers img, .fichiers .fichier-vignette { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: var(--creme-2); }
.fichiers .fichier-nom { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; font-size: .92rem; }
.fichiers .fichier-poids { display: block; font-weight: 600; font-size: .8rem; color: var(--encre-2); }
.fichiers button { border: 0; background: none; color: var(--corail-fonce); font: 800 .88rem var(--f-texte); text-decoration: underline; cursor: pointer; padding: 6px; }
.fichiers .est-conversion { color: var(--encre-2); font-size: .82rem; }

.case { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; font-size: .95rem; }
.case input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--prune); flex: none; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alerte { padding: 16px 20px; border-radius: var(--r); font-weight: 700; margin-bottom: 20px; }
.alerte:focus { outline: 3px solid currentColor; outline-offset: 2px; }
.alerte--ok { background: var(--succes-fond); color: var(--succes-texte); }
.alerte--erreur { background: #fff0f0; color: var(--erreur-texte); }
.alerte ul { margin: 8px 0 0; padding-left: 20px; font-weight: 600; }

.recap {
    position: sticky;
    top: 20px;
    padding: 24px;
    border-radius: var(--r-grand);
    background: var(--degrade);
    color: var(--blanc);
}
.recap h2 { font-size: 1.6rem; color: var(--blanc); }
.recap .support { width: min(100%, 280px); margin: 12px auto 4px; filter: drop-shadow(0 20px 22px rgba(40, 0, 30, .35)); }
.recap .recap-photo img { width: min(100%, 260px); margin: 12px auto; border-radius: 22px; }
.recap dl { margin: 12px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; font-size: .95rem; }
.recap dt { font-weight: 800; opacity: .9; }
.recap dd { margin: 0; text-align: right; }
.recap .recap-prix { margin-top: 14px; padding-top: 14px; border-top: 2px dashed var(--voile-blanc-50); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.recap .recap-prix strong { font-family: var(--f-titre); font-size: 2rem; font-weight: 600; }
.recap .recap-note { margin-top: 10px; font-size: .85rem; }
@media (max-width: 960px) { .recap { position: static; } }

/* ------------------------------------------------------------------ Pied */

.pied { margin-top: clamp(64px, 9vw, 120px); background: var(--nuit); color: var(--lavande); border-radius: var(--r-grand) var(--r-grand) 0 0; }
.pied-grille {
    max-width: calc(var(--max) + 2 * var(--gouttiere));
    margin: 0 auto;
    padding: clamp(48px, 6vw, 80px) var(--gouttiere) 32px;
    display: grid;
    grid-template-columns: 1.2fr 1fr .8fr 1.1fr;
    gap: 32px;
}
.pied h2 { font-size: 1.25rem; color: var(--blanc); margin-bottom: 12px; }
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pied a { color: var(--blanc); text-decoration: none; }
.pied a:hover { color: var(--soleil); text-decoration: underline; }
.pied-marque img { width: 120px; background: var(--creme); border-radius: 24px; padding: 10px; }
.pied-marque p { margin-top: 14px; font-size: .95rem; }
.pied-contact a { display: inline-flex; align-items: center; gap: 10px; overflow-wrap: anywhere; }
.pied-contact .icone { color: var(--soleil); }
.pied-pro { margin-top: 14px; font-size: .92rem; }
.pied-pro a { text-decoration: underline; }
.pied-bas {
    max-width: calc(var(--max) + 2 * var(--gouttiere));
    margin: 0 auto;
    padding: 20px var(--gouttiere) 28px;
    border-top: 1px solid var(--voile-blanc-12);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px 24px;
    font-size: .88rem;
}
.pied-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
@media (max-width: 960px) { .pied-grille { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pied-grille { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ Cookies */

.cookies {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 50;
    width: min(420px, calc(100% - 32px));
    padding: 20px 22px;
    border-radius: 24px;
    background: var(--blanc);
    box-shadow: 0 30px 60px -20px rgba(43, 15, 58, .5);
}
.cookies[hidden] { display: none; }
.cookies-titre { font-family: var(--f-titre); font-weight: 600; font-size: 1.25rem; }
.cookies p + p { margin-top: 6px; font-size: .92rem; color: var(--encre-2); }
.cookies-actions { display: flex; gap: 10px; margin-top: 16px; }
.cookies-actions .bouton { flex: 1; min-height: 44px; padding: 8px 16px; font-size: 1rem; }

/* ------------------------------------------------------------------ Apparition au défilement */

@media (prefers-reduced-motion: no-preference) {
    .js [data-apparait] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
    .js [data-apparait].est-visible { opacity: 1; transform: none; }
}
