/* ============================================
   O'DOUBLE K — habillage « net » (APERÇU : ?style=net)
   La version en ligne, retravaillée à la demande de Marwan (12/10/2026) :
   plus de panneaux transparents ni de lueurs dans le fond. Fond rouge uni
   (celui de la page de connexion du tableau de bord), cartes opaques blanc
   cassé / beige avec texte sombre, titres dans la police du flyer.

   Principe : dans une carte claire, les variables de couleur sont RETOURNÉES
   (--creme devient l'encre sombre, --encre le papier). Tout ce que style.css
   écrit avec ces variables suit sans être recopié ici.
   ============================================ */

/* Obviously (flyer) : version Demo installée sur ce poste, PAS embarquée. Elle n'a ni
   accents, ni €, ni + : limitée aux caractères simples, le reste retombe sur Archivo. */

html[data-style="net"] {
    --fond: #4a0810;
    --rouge: #c21f2b;
    --rouge-vif: #d8232e;
    --creme: #fff7df;
    --creme-2: rgba(255, 247, 223, .84);
    --creme-3: rgba(255, 247, 223, .62);
    --encre: #1c0506;
    --trait: rgba(255, 247, 223, .16);
    --papier: #fffaf0;
    --beige: #f3e6cc;
    --titre: 'obviously', 'Archivo', system-ui, sans-serif;
    --ombre-carte: 0 16px 30px -20px rgba(0, 0, 0, .65);
}

/* ---------- Fond : un rouge uni et sa trame, sans lumière ---------- */
html[data-style="net"] body { background: var(--fond); }
html[data-style="net"] .fond { background: linear-gradient(180deg, #5a0b14 0%, #47080f 100%); }
html[data-style="net"] .fond::after { opacity: .3; }
html[data-style="net"] .hero-compo::before,
html[data-style="net"] .ecran-logo-ombre { display: none; }
html[data-style="net"] * { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }

/* ---------- Cartes claires : couleurs retournées ---------- */
html[data-style="net"] :is(.plat, .pl, .onglets, .avis-carte, .infos-bloc, .formule, .supplements, .fiche-boite, .recap,
    .entete-pilule, .barre-onglets, .barre-panier, .plus-carte li, .rubrique-notes li, .appel-menu, .jour, .creneau, .mode-choix,
    .t-info, .t-estimation, .service-fini, .hero-bas, .cadeau-boite, .ticket, .fin-carte, .infos-tel a, .infos-livraison, .suivi-bandeau button) {
    --creme: #1c0506;
    --creme-2: rgba(28, 5, 6, .76);
    --creme-3: rgba(28, 5, 6, .56);
    --encre: #fff7df;
    --trait: rgba(28, 5, 6, .13);
    --or: #b3261e;
    --vert: #1f7a45;
    background: var(--papier);
    color: #1c0506;
    border-color: transparent;
    box-shadow: var(--ombre-carte);
}
/* le beige pour ce qui est posé DANS ou À CÔTÉ d'une carte blanche */
html[data-style="net"] :is(.onglets, .formule, .supplements, .rubrique-notes li, .plus-carte li, .hero-bas, .entete-pilule, .barre-onglets,
    .jour, .creneau, .mode-choix, .infos-tel a, .infos-livraison, .service-fini) { background: var(--beige); }
html[data-style="net"] :is(.formule, .supplements) { border: 0; }
html[data-style="net"] :is(.infos-bloc, .recap, .fiche-boite, .pl) :is(.jour, .creneau, .mode-choix, .infos-tel a, .infos-livraison, .plus-carte li) { box-shadow: none; }

/* Ce que style.css écrit en crème « en dur » dans ces cartes */
html[data-style="net"] .plat:hover { background: var(--papier); border-color: transparent; }
html[data-style="net"] .plat { border: 0; }
html[data-style="net"] .plat-plus,
html[data-style="net"] .ajout-rapide { background: #1c0506; color: #fff7df; border-color: #1c0506; }
html[data-style="net"] .stepper { background: rgba(28, 5, 6, .07); border-color: rgba(28, 5, 6, .12); }
html[data-style="net"] .stepper button:hover:not(:disabled) { background: rgba(28, 5, 6, .12); }
html[data-style="net"] .badge-epuise { background: rgba(28, 5, 6, .1); }
html[data-style="net"] .avis-photo { background: var(--beige); }
html[data-style="net"] .btn-contour { box-shadow: inset 0 0 0 1.5px currentColor; }
html[data-style="net"] .btn-contour:hover:not(:disabled) { background: rgba(127, 127, 127, .12); }
html[data-style="net"] .entete-nav a:hover,
html[data-style="net"] .appel-menu a:hover,
html[data-style="net"] .cadeau-plat:hover,
html[data-style="net"] .appel summary:hover, html[data-style="net"] .appel[open] summary { background: rgba(28, 5, 6, .08); }
html[data-style="net"] .entete-pilule .appel summary { background: transparent; border-color: rgba(28, 5, 6, .2); }
html[data-style="net"] .hero-note,
html[data-style="net"] .hero-bas .hero-note:hover { background: transparent; box-shadow: none; }
html[data-style="net"] .hero-sur { background: var(--beige); color: #1c0506; border-color: transparent; }
html[data-style="net"] .hero-defiler svg { background: transparent; }
html[data-style="net"] .pause-bandeau,
html[data-style="net"] .t-erreur { background: #fff7df; color: #8a1a12; border-color: transparent; }
html[data-style="net"] .tag-offert,
html[data-style="net"] .fin-sur { background: #dff2e5; color: #1f7a45; }

/* Onglets des rubriques : l'actif en sombre plein */
html[data-style="net"] .onglets a.actif, html[data-style="net"] .onglets button.actif { background: #1c0506; color: #fff7df; }

/* ---------- Fiche d'un plat ---------- */
html[data-style="net"] .fiche-fond { background: rgba(20, 2, 4, .78); }
html[data-style="net"] .fiche-photo { background: var(--beige); }
html[data-style="net"] .fiche-fermer { background: #1c0506; color: #fff7df; }
html[data-style="net"] .fiche-pied { background: var(--papier); }
html[data-style="net"] .option-formule { background: var(--beige); border-color: transparent; }
html[data-style="net"] .option-formule:has(input:checked) { background: var(--beige); border-color: #1c0506; }
html[data-style="net"] .coche span { border-color: rgba(28, 5, 6, .4); background: var(--beige); }
html[data-style="net"] .coche input:not(:checked) + span { background: transparent; }
html[data-style="net"] .coche input:not(:checked) + span::before { box-shadow: inset 0 0 0 1.5px rgba(28, 5, 6, .35); }

/* ---------- Tunnel de commande : fond rouge uni, panneaux clairs ---------- */
html[data-style="net"] .tunnel { background: #4f0911; }
html[data-style="net"] .tunnel-pied { background: #3d060c; }
html[data-style="net"] .tunnel-quitter:hover { background: rgba(255, 247, 223, .14); }
html[data-style="net"] :is(.saisie, .champ input, .champ textarea, .champ select) { background: #fff; color: #1c0506; border-color: transparent; }
html[data-style="net"] :is(.saisie, .champ input, .champ textarea, .champ select):focus { background: #fff; border-color: #1c0506; box-shadow: 0 0 0 4px rgba(255, 247, 223, .25); }
html[data-style="net"] :is(.saisie, .champ input, .champ textarea)::placeholder { color: rgba(28, 5, 6, .45); }
html[data-style="net"] :is(.jour, .creneau):is(.actif, [aria-pressed="true"], [aria-checked="true"]),
html[data-style="net"] .mode-choix:has(input:checked) { background: #1c0506; color: #fff7df; --creme: #fff7df; --creme-2: rgba(255, 247, 223, .84); --creme-3: rgba(255, 247, 223, .62); }
html[data-style="net"] .suivi li::before { background: rgba(28, 5, 6, .15); }
html[data-style="net"] .cadeau { background: rgba(20, 2, 4, .82); }

/* ---------- Typo du flyer ---------- */
html[data-style="net"] .hero h1,
html[data-style="net"] .plat-nom,
html[data-style="net"] .groupe-titre,
html[data-style="net"] #ficheNom,
html[data-style="net"] .une-titre,
html[data-style="net"] .pl h2,
html[data-style="net"] .infos-bloc h2,
html[data-style="net"] .tunnel h2,
html[data-style="net"] .supplements-titre-board {
    font-family: var(--titre); font-weight: 800; font-stretch: normal; font-style: normal;
    text-transform: uppercase; letter-spacing: -.015em;
}
html[data-style="net"] .hero h1 { font-size: clamp(34px, 4.6vw, 62px); line-height: 1.02; }
html[data-style="net"] .plat-nom { font-size: clamp(15px, 1.25vw, 18px); line-height: 1.12; }
html[data-style="net"] .plat-nom .portion { font-family: var(--police); }
html[data-style="net"] #ficheNom { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.08; }
html[data-style="net"] .groupe-titre { font-size: clamp(22px, 2.4vw, 32px); }

/* ---------- Téléphone : barres pleines ---------- */
@media (max-width: 760px) {
    html[data-style="net"] .barre-onglets { box-shadow: 0 -10px 30px -16px rgba(0, 0, 0, .7); }
    html[data-style="net"] .barre-onglets a, html[data-style="net"] .barre-onglets button { color: rgba(28, 5, 6, .6); }
    html[data-style="net"] .barre-onglets .actif, html[data-style="net"] .barre-onglets a[aria-current] { color: #1c0506; }
}

/* ---------- Ajustements après premier aperçu ---------- */
html[data-style="net"] .pl h2 { font-size: 19px; white-space: nowrap; }
html[data-style="net"] .plat-photo img { transform: scale(1.14); }
/* choix retenu (jour, heure, retrait ou livraison) : sombre plein, texte clair */
html[data-style="net"] :is(.jour, .creneau, .mode-choix).choisi { background: #1c0506; color: #fff7df; border-color: #1c0506; }
html[data-style="net"] .jour.choisi :is(.jour-date, .jour-etat),
html[data-style="net"] .mode-choix.choisi span { color: rgba(255, 247, 223, .72); }
html[data-style="net"] .creneau.choisi span { color: #ffb4a8; }
html[data-style="net"] .tunnel h2 { font-size: clamp(24px, 3vw, 38px); margin-bottom: 14px; }

/* ---------- Étiquettes de prix : celles du flyer ----------
   Petit papier rectangulaire à peine incliné, coins découpés à la main, gros chiffre en
   italique, « € » en petit remonté. Papier crème sur le rouge, papier sombre sur une carte claire. */
html[data-style="net"] .prix { transform: rotate(4deg); filter: drop-shadow(3px 4px 0 rgba(18, 0, 2, .32)); }
html[data-style="net"] .prix > span[aria-hidden] {
    padding: 8px 12px 5px 12px; background: #f4e6c4; color: #1c0506;
    clip-path: polygon(0 7%, 98% 0, 100% 93%, 3% 100%);
    font-family: 'obviously', 'Archivo', sans-serif; font-weight: 800; font-style: italic; font-stretch: 100%;
    font-size: 28px; line-height: 1; letter-spacing: -.01em;
}
html[data-style="net"] .prix sup { font-family: 'Archivo', sans-serif; font-style: normal; font-stretch: 100%; font-weight: 800; }
html[data-style="net"] :is(.prix-petit, .plats-petits .prix) > span[aria-hidden] { font-size: 21px; padding: 7px 10px 4px 9px; }
html[data-style="net"] :is(.plat, .pl, .fiche-boite, .formule, .supplements, .plus-carte li, .recap, .infos-bloc, .cadeau-boite) .prix { filter: drop-shadow(3px 4px 0 rgba(18, 0, 2, .2)); }
html[data-style="net"] :is(.plat, .pl, .fiche-boite, .formule, .supplements, .plus-carte li, .recap, .infos-bloc, .cadeau-boite) .prix > span[aria-hidden] { background: #1c0506; color: #fff7df; }
@media (max-width: 640px) { html[data-style="net"] .prix > span[aria-hidden] { font-size: 23px; } }

/* ---------- Accueil : pas de photo, le titre au centre avec ses emojis ---------- */
html[data-style="net"] .hero { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
html[data-style="net"] .hero-visuel { display: none; }
html[data-style="net"] .hero-texte { max-width: 1100px; text-align: center; }
html[data-style="net"] .hero h1 { font-size: clamp(36px, 7.2vw, 104px); line-height: 1.04; margin-bottom: 22px; }
html[data-style="net"] .hero h1 .titre-ligne { display: block; white-space: nowrap; }
html[data-style="net"] .hero-lead { margin-inline: auto; font-size: clamp(16px, 1.5vw, 21px); }
html[data-style="net"] .hero-actions, html[data-style="net"] .hero-bas { justify-content: center; }
html[data-style="net"] .hero-bas { margin-inline: auto; width: fit-content; }
/* chaque emoji est posé un peu de travers, et se redresse au survol */
html[data-style="net"] .emoji {
    display: inline-block; width: 1.02em; height: 1.02em; margin: 0 .04em; vertical-align: -.2em;
    transform: rotate(var(--angle, 0deg)); filter: drop-shadow(0 .08em .12em rgba(0, 0, 0, .45));
    transition: transform .45s var(--ressort);
}
html[data-style="net"] .emoji:hover { transform: translateY(-.08em) rotate(0deg) scale(1.16); }
/* prix du menu et titre des suppléments : plus de vignettes de l'ancien style */
html[data-style="net"] .formule-prix-board { flex: none; margin-left: auto; }
html[data-style="net"] .formule-prix-board .prix > span[aria-hidden] { font-size: 34px; }
html[data-style="net"] .supplements-titre-board { font-size: clamp(22px, 2.4vw, 32px); margin: 0 0 6px; }
html[data-style="net"] .hero h1 { font-size: clamp(30px, 5.7vw, 84px); }
@media (min-width: 861px) { html[data-style="net"] .hero-defiler { left: 0; right: 0; margin-inline: auto; width: fit-content; justify-self: center; } }
@media (max-width: 520px) { html[data-style="net"] .hero h1 .titre-ligne { white-space: normal; } }

/* ---------- Accueil, 2e passe : bloc centré dans l'écran, plus d'air entre les éléments ---------- */
html[data-style="net"] .hero { padding-block: clamp(36px, 6vh, 72px) clamp(36px, 6vh, 72px); row-gap: 0; }
html[data-style="net"] .hero h1 { font-size: clamp(30px, 5.4vw, 96px); line-height: 1.12; margin: 0 0 clamp(22px, 3.4vh, 38px); }
html[data-style="net"] .hero h1 .emoji { margin: 0 .1em; }
html[data-style="net"] .hero-lead { font-size: clamp(17px, 1.35vw, 23px); max-width: none; }
html[data-style="net"] .hero-actions { margin-top: clamp(28px, 4.4vh, 46px); gap: 14px; }
html[data-style="net"] .hero-actions .btn { --h: 58px; padding: 0 32px; font-size: 17px; }
html[data-style="net"] .hero-bas { margin-top: clamp(28px, 4.4vh, 46px); }
@media (min-width: 861px) {
    /* le bloc de texte est centré dans la hauteur de l'écran ; le repère « La carte » reste collé en bas */
    html[data-style="net"] .hero { align-content: center; padding-bottom: clamp(36px, 6vh, 72px); }
    html[data-style="net"] .hero-texte { transform: translateY(-3vh); }
    html[data-style="net"] .hero-defiler { position: absolute !important; left: 50%; right: auto; bottom: 26px; margin: 0; width: auto; transform: translateX(-50%); }
}

/* ---------- Accueil, 3e passe ---------- */
html[data-style="net"] .hero h1 .emoji { width: 1.16em; height: 1.16em; vertical-align: -.26em; }

/* Avis Google et premier retrait : une simple ligne posée sur le rouge, plus de pastille beige */
html[data-style="net"] .hero-bas {
    --creme: #fff7df; --creme-2: rgba(255, 247, 223, .84); --creme-3: rgba(255, 247, 223, .62); --trait: rgba(255, 247, 223, .22); --or: #f2b33d; --vert: #5fd38a;
    background: none; box-shadow: none; border-radius: 0; overflow: visible; color: var(--creme);
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 26px;
}
html[data-style="net"] .hero-bas .hero-note,
html[data-style="net"] .hero-bas .hero-etat { min-height: 0; padding: 0; border: 0; font-size: 16px; color: var(--creme-2); }
html[data-style="net"] .hero-bas .hero-note { text-decoration: none; }
html[data-style="net"] .hero-bas .hero-note:hover > span:last-child { text-decoration: underline; text-underline-offset: 3px; }
html[data-style="net"] .hero-bas .hero-note strong { font-size: 19px; }
html[data-style="net"] .hero-bas .hero-etat::before { content: ""; align-self: center; width: 4px; height: 4px; border-radius: 50%; background: var(--creme-3); margin-right: 16px; }
html[data-style="net"] .hero-note .etoiles-fond { color: rgba(255, 247, 223, .25); }
@media (max-width: 640px) { html[data-style="net"] .hero-bas .hero-etat::before { display: none; } }

/* Repère vers la carte, façon « swipe up » : deux chevrons qui montent, le mot dessous */
@media (min-width: 861px) {
    html[data-style="net"] .hero-defiler { gap: 0; color: var(--creme); }
    html[data-style="net"] .hero-defiler::before,
    html[data-style="net"] .hero-defiler svg { order: 0; animation: odk-swipe 1.5s ease-in-out infinite; }
    html[data-style="net"] .hero-defiler::before {
        content: ""; width: 13px; height: 13px; margin-bottom: -6px;
        border-top: 2.6px solid currentColor; border-left: 2.6px solid currentColor; border-radius: 2px;
        transform: rotate(45deg); opacity: .45; animation-name: odk-swipe-2; animation-delay: .12s;
    }
    html[data-style="net"] .hero-defiler svg,
    html[data-style="net"] .hero-defiler:hover svg { width: 30px; height: 30px; padding: 0; border: 0; border-radius: 0; background: none; transform: rotate(180deg); }
    html[data-style="net"] .hero-defiler span { order: 1; margin-top: 6px; }
}
@keyframes odk-swipe { 0%, 100% { translate: 0 5px; opacity: .55; } 50% { translate: 0 -5px; opacity: 1; } }
@keyframes odk-swipe-2 { 0%, 100% { translate: 0 5px; opacity: .2; } 50% { translate: 0 -5px; opacity: .6; } }
@media (prefers-reduced-motion: reduce) { html[data-style="net"] .hero-defiler::before, html[data-style="net"] .hero-defiler svg { animation: none; } }

/* ---------- Accueil, 4e passe : la construction de l'accueil de Dishop ----------
   Une ligne de preuve au-dessus du titre (la note Google), le titre sur deux lignes avec un mot
   dans une pastille, deux petits dessins du flyer de part et d'autre, un bouton plein + un lien,
   et l'heure du premier retrait en dernière ligne. */
html[data-style="net"] .hero-texte { display: flex; flex-direction: column; align-items: center; }
html[data-style="net"] .hero-bas { display: contents; }
html[data-style="net"] .hero-bas .hero-note { order: -1; margin: 0 0 clamp(18px, 2.6vh, 28px); font-size: 16px; font-weight: 700; color: #fff7df; }
html[data-style="net"] .hero-bas .hero-note > span:last-child { color: rgba(255, 247, 223, .84); }
html[data-style="net"] .hero-bas .hero-etat { order: 5; margin: clamp(22px, 3.4vh, 34px) 0 0; font-size: 15px; color: rgba(255, 247, 223, .8); }
html[data-style="net"] .hero-bas .hero-etat strong { color: #fff7df; }
html[data-style="net"] .hero-bas .hero-etat::before { display: none; }

html[data-style="net"] .hero h1 { position: relative; }
html[data-style="net"] .titre-pastille {
    display: inline-flex; align-items: center; gap: .12em; padding: .02em .32em .02em .2em; margin-left: .06em;
    border-radius: .32em; background: #7d1420; color: #fff7df;
}
html[data-style="net"] .titre-pastille .emoji { margin: 0; }
html[data-style="net"] .hero h1::before,
html[data-style="net"] .hero h1::after {
    content: ""; position: absolute; width: clamp(54px, 6vw, 104px); aspect-ratio: 1; pointer-events: none;
    background: center / contain no-repeat;
}
html[data-style="net"] .hero h1::before { right: calc(100% + 1.5vw); top: -8%; background-image: url(../assets/board/dessin-b08.webp); transform: rotate(-12deg); }
html[data-style="net"] .hero h1::after { left: calc(100% + 1vw); bottom: 2%; background-image: url(../assets/board/dessin-b12.webp); transform: rotate(16deg); }
@media (max-width: 1100px) { html[data-style="net"] .hero h1::before, html[data-style="net"] .hero h1::after { display: none; } }

/* second bouton : un simple lien, comme le « Nos restaurateurs partenaires » de Dishop */
html[data-style="net"] .hero-actions { align-items: center; gap: 26px; }
html[data-style="net"] .hero-actions .btn-contour { box-shadow: none; padding: 0; background: none; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
html[data-style="net"] .hero-actions .btn-contour:hover { background: none; text-decoration-color: rgba(255, 247, 223, .5); }
/* (la liste des cartes claires est plus précise que « .hero-bas » seul : on repasse devant) */
html[data-style="net"] .hero .hero-texte .hero-bas { --creme: #fff7df; --creme-2: rgba(255, 247, 223, .84); --creme-3: rgba(255, 247, 223, .62); --trait: rgba(255, 247, 223, .22); --or: #f2b33d; --vert: #5fd38a; --encre: #1c0506; color: #fff7df; }
html[data-style="net"] .hero .hero-bas .hero-note strong { color: #fff7df; font-size: 18px; }

/* ---------- Accueil, 5e passe : titre moins gros, pastille recalée, plus de petits dessins ---------- */
html[data-style="net"] .hero h1 { font-size: clamp(28px, 4.1vw, 66px); line-height: 1.22; }
html[data-style="net"] .hero h1::before, html[data-style="net"] .hero h1::after { display: none; }
html[data-style="net"] .titre-pastille {
    display: inline-flex; align-items: center; gap: .16em; vertical-align: middle;
    line-height: 1; padding: .12em .34em .12em .2em; margin: 0 0 0 .08em; border-radius: .3em;
}
html[data-style="net"] .titre-pastille .emoji { width: .95em; height: .95em; vertical-align: 0; flex: none; }

/* ---------- 6e passe : plus de pastille dans le titre ; plus aucun fond blanc, tout en beige ---------- */
html[data-style="net"] { --papier: #f3e6cc; --beige: #e6d5b3; }
html[data-style="net"] :is(.saisie, .champ input, .champ textarea, .champ select),
html[data-style="net"] :is(.saisie, .champ input, .champ textarea, .champ select):focus { background: #f3e6cc; }
html[data-style="net"] :is(.recap, .infos-bloc, .fiche-boite, .pl) :is(.saisie, .champ input, .champ textarea, .champ select) { background: #e6d5b3; }
html[data-style="net"] .pause-bandeau, html[data-style="net"] .t-erreur { background: #f3e6cc; }
html[data-style="net"] .tag-offert, html[data-style="net"] .fin-sur { background: #d3e3c3; }
/* Bouton sombre d'une carte claire : au survol il reste sombre (style.css le passait en crème, texte crème dessus) */
html[data-style="net"] :is(.plat, .pl, .onglets, .avis-carte, .infos-bloc, .formule, .supplements, .fiche-boite, .recap, .entete-pilule,
    .barre-onglets, .barre-panier, .cadeau-boite, .ticket, .fin-carte) .btn-primaire:hover:not(:disabled) { background: #3d0d13; color: #fff7df; }
html[data-style="net"] .gps-bouton { background: #e6d5b3; box-shadow: none; }

/* ---------- Titres de rubrique : le papier déchiré du flyer, plus les vignettes de l'ancien style ---------- */
html[data-style="net"] .rubrique-titre { justify-content: center; align-items: center; margin-bottom: 30px; }
html[data-style="net"] .rubrique-titre img { display: none; }
html[data-style="net"] .rubrique-titre::before {
    content: attr(data-nom);
    padding: .62em 1.2em; text-box: trim-both cap alphabetic;
    background: url(../assets/board/papier-noir.webp) center / 100% 100% no-repeat;
    font-family: var(--titre); font-size: clamp(32px, 4.4vw, 62px); font-weight: 800; line-height: 1; letter-spacing: -.01em;
    text-transform: uppercase; color: #fff7df;
    rotate: -2deg; filter: drop-shadow(6px 8px 0 rgba(18, 0, 2, .3));
}
html[data-style="net"] .rubrique-titre-petit::before { font-size: clamp(26px, 3.4vw, 44px); }
/* « Suppléments », dans sa carte beige : papier rouge, comme les rubriques du flyer */
html[data-style="net"] .supplements-titre-board {
    display: table; margin: 0 0 14px; padding: .8em 1.4em; text-box: trim-both cap alphabetic;
    background: url(../assets/board/papier-rouge.webp) center / 100% 100% no-repeat;
    font-size: 20px; color: #fff7df; rotate: -2deg;
}

/* Papier des titres : il était étiré en entier sur chaque mot, donc trop grand et déformé différemment
   d'un titre à l'autre. Maintenant ses deux bouts déchirés gardent leur forme (découpe en 3 tranches)
   et seul le milieu s'allonge à la longueur du mot ; marges plus serrées, identiques partout. */
html[data-style="net"] .rubrique-titre::before {
    background: none; padding: .44em .1em .46em;
    border-style: solid; border-color: transparent; border-width: 0 .56em;
    border-image: url(../assets/board/papier-noir.webp) 0 110 fill / 0 .56em stretch;
}
html[data-style="net"] .supplements-titre-board {
    background: none; padding: .56em .1em .58em;
    border-style: solid; border-color: transparent; border-width: 0 .66em;
    border-image: url(../assets/board/papier-rouge.webp) 0 90 fill / 0 .66em stretch;
}

/* ---------- Rubriques : titre plus grand ; les notes (version poulet, 11e offert…) passent
   en bas de la rubrique, en petit texte discret, sans pastille ---------- */
html[data-style="net"] .rubrique { display: flex; flex-direction: column; }
html[data-style="net"] .rubrique-titre::before { font-size: clamp(38px, 5.8vw, 86px); }
html[data-style="net"] .rubrique-titre-petit::before { font-size: clamp(30px, 4.2vw, 58px); }
html[data-style="net"] .rubrique-notes { order: 99; margin: 22px 0 0; gap: 2px 0; justify-content: center; }
html[data-style="net"] .rubrique-notes li,
html[data-style="net"] .rubrique-notes li:first-child {
    --creme: #fff7df; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none;
    font-size: 13.5px; font-weight: 500; color: rgba(255, 247, 223, .62);
}
html[data-style="net"] .rubrique-notes li + li::before { content: "·"; margin: 0 10px; color: rgba(255, 247, 223, .4); }

/* ==========================================================================================
   VERSION 2 (12/10, soir) — la construction du site Dishop, à nos couleurs :
   un accueil sombre au titre animé, puis la carte dans un grand panneau beige aux coins très
   arrondis ; dedans, des cartes à plat (plus d'ombres) et deux blocs sombres (rubriques, commande)
   pour alterner clair et foncé ; puis retour au rouge pour les avis et les infos.
   ========================================================================================== */

/* ---------- Titre animé : « UNE ENVIE DE [🍔 BURGER] ? » ---------- */
html[data-style="net"] .hero h1 { font-size: clamp(34px, 5.6vw, 92px); line-height: 1.24; }
html[data-style="net"] .titre-mot {
    display: inline-grid; overflow: hidden; vertical-align: baseline;
    padding: .2em .34em .2em .26em; border-radius: .26em;
    background: #f3e6cc; color: #1c0506;
    transition: width .5s cubic-bezier(.3, .9, .3, 1);
}
html[data-style="net"] .titre-mot .mot {
    grid-area: 1 / 1; justify-self: start; white-space: nowrap; line-height: 1;
    text-box: trim-both cap alphabetic;
}
html[data-style="net"] .titre-mot .emoji { width: .95em; height: .95em; margin: 0 .16em 0 0; vertical-align: -.09em; filter: none; }
html[data-style="net"] .titre-mot .mot.entre { animation: odk-mot-entre .5s cubic-bezier(.3, .9, .3, 1) both; }
html[data-style="net"] .titre-mot .mot.sort { animation: odk-mot-sort .42s cubic-bezier(.5, 0, .8, .4) both; }
@keyframes odk-mot-entre { from { translate: 0 130%; opacity: 0; } to { translate: 0 0; opacity: 1; } }
@keyframes odk-mot-sort { from { translate: 0 0; opacity: 1; } to { translate: 0 -130%; opacity: 0; } }

/* ---------- Le grand panneau beige : « À la une » + toute la carte ---------- */
html[data-style="net"] :is(.une, .carte-grille) {
    position: relative; isolation: isolate;
    --creme: #1c0506; --creme-2: rgba(28, 5, 6, .76); --creme-3: rgba(28, 5, 6, .56); --encre: #fff7df;
    --trait: rgba(28, 5, 6, .13); --or: #b3261e; --vert: #1f7a45;
    --papier: #e9dbbd; --beige: #decda9;
    color: #1c0506;
}
html[data-style="net"] :is(.une, .carte-grille)::before {
    content: ""; position: absolute; z-index: -1; top: 0; bottom: 0;
    left: calc(50% - 50vw + var(--sb, 0px) / 2 + 10px); right: calc(50% - 50vw + var(--sb, 0px) / 2 + 10px);
    background: #f3e6cc; border-radius: clamp(26px, 3.4vw, 48px);
}
html[data-style="net"] .une { margin-bottom: 0; padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(26px, 3vw, 40px); }
html[data-style="net"] .une::before { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
html[data-style="net"] .une:not([hidden]) + .carte-grille::before { border-top-left-radius: 0; border-top-right-radius: 0; }
html[data-style="net"] .carte-grille { padding-top: clamp(20px, 3vw, 40px); padding-bottom: clamp(40px, 5vw, 72px); }
html[data-style="net"] .une-titre { color: #1c0506; }

/* dans le panneau : tout est à plat, coins bien ronds, pas d'ombre */
html[data-style="net"] :is(.une, .carte-grille) :is(.plat, .formule, .supplements, .plus-carte li) { box-shadow: none; border-radius: 26px; }
html[data-style="net"] :is(.une, .carte-grille) .plat { transition: translate .3s var(--ressort), background .2s; }
html[data-style="net"] :is(.une, .carte-grille) .plat:hover { background: #e2d2b0; transform: none; translate: 0 -4px; }
html[data-style="net"] :is(.une, .carte-grille) .rubrique-notes li,
html[data-style="net"] :is(.une, .carte-grille) .rubrique-notes li:first-child { color: rgba(28, 5, 6, .6); }
html[data-style="net"] :is(.une, .carte-grille) .rubrique-notes li + li::before { color: rgba(28, 5, 6, .35); }
html[data-style="net"] :is(.une, .carte-grille) .groupe-titre { color: #1c0506; border-color: rgba(28, 5, 6, .18); }

/* les deux blocs sombres du panneau : la liste des rubriques et « Votre commande » */
html[data-style="net"] .carte-grille :is(.onglets, .pl) {
    --creme: #fff7df; --creme-2: rgba(255, 247, 223, .82); --creme-3: rgba(255, 247, 223, .58); --encre: #1c0506;
    --trait: rgba(255, 247, 223, .16); --or: #f2b33d; --vert: #5fd38a;
    background: #1c0506; color: #fff7df; box-shadow: none; border-radius: 26px;
}
html[data-style="net"] .carte-grille .onglets a.actif, html[data-style="net"] .carte-grille .onglets button.actif { background: #f3e6cc; color: #1c0506; }
html[data-style="net"] .carte-grille .pl .btn-primaire:hover:not(:disabled) { background: #fff7df; color: #1c0506; }
html[data-style="net"] .carte-grille .pl .stepper { background: rgba(255, 247, 223, .1); border-color: rgba(255, 247, 223, .16); }
html[data-style="net"] .carte-grille .pl .stepper button:hover:not(:disabled) { background: rgba(255, 247, 223, .16); }
html[data-style="net"] .carte-grille .pl .prix > span[aria-hidden] { background: #f3e6cc; color: #1c0506; }

/* après le panneau, on revient sur le rouge : un peu d'air avant les avis */
html[data-style="net"] .avis { margin-top: clamp(64px, 8vw, 120px); }

/* Mot surligné du titre : il prenait la largeur du mot précédent (« SALADE » et « BURGER » coupés), et son
   emoji gardait la grande taille des emojis libres (il dépassait du rectangle, décentré). */
html[data-style="net"] .titre-mot .mot { width: max-content; }
html[data-style="net"] .hero h1 .titre-mot .emoji { width: .9em; height: .9em; margin: 0 .16em 0 0; vertical-align: -.065em; filter: none; }

/* ---------- Mot surligné, 2e version : le mouvement de Dishop ----------
   Les trois mots sont empilés dans un rectangle de largeur fixe (celle du plus long), chacun centré.
   Celui qui attend est rangé juste sous le rectangle ; au changement, l'un monte et sort par le haut
   pendant que l'autre arrive par le bas : tout droit, même vitesse, sans fondu ni glissement de côté. */
html[data-style="net"] .titre-mot { transition: none; }
html[data-style="net"] .titre-mot .mot,
html[data-style="net"] .titre-mot .mot.entre,
html[data-style="net"] .titre-mot .mot.sort {
    grid-area: 1 / 1; justify-self: center; width: max-content; animation: none; opacity: 1;
    translate: 0 150%; transition: translate .7s cubic-bezier(.76, 0, .24, 1);
}
html[data-style="net"] .titre-mot .mot.actif { translate: 0 0; }
html[data-style="net"] .titre-mot .mot.sort { translate: 0 -150%; }
html[data-style="net"] .titre-mot .mot.range { transition: none; }
html[data-style="net"] .hero h1 .titre-mot .emoji { transform: none; }
html[data-style="net"] .titre-mot { padding-left: .3em; padding-right: .3em; }
/* Le rectangle s'adapte de nouveau à chaque mot : sa largeur change en même temps que le mot, même durée, même courbe. */
html[data-style="net"] .titre-mot { width: auto; transition: width .7s cubic-bezier(.76, 0, .24, 1); }
/* la colonne suit la largeur du rectangle (sinon elle gardait celle du mot le plus long et décentrait les autres) */
html[data-style="net"] .titre-mot { grid-template-columns: minmax(0, 1fr); }

/* Le logo n'a plus d'ombre portée (en-tête, tunnel de commande, pied de page, écran de chargement) */
html[data-style="net"] :is(.entete-logo, .tunnel-logo, .pied, .ecran-logo, .ecran-logo-in) img,
html[data-style="net"] img:is(.entete-logo, .tunnel-logo, .ecran-logo-in) { filter: none; }

/* ==========================================================================================
   TÉLÉPHONE — même habillage, ajusté à l'écran étroit
   ========================================================================================== */
/* Les deux barres du bas flottent tantôt sur le rouge, tantôt sur le panneau beige : en beige elles s'y
   perdaient. La barre d'onglets est sombre pleine, « Voir ma commande » est rouge. */
html[data-style="net"] .barre-onglets, html[data-style="net"] .barre-panier {
    --creme: #fff7df; --creme-2: rgba(255, 247, 223, .84); --creme-3: rgba(255, 247, 223, .58); --encre: #1c0506; --trait: rgba(255, 247, 223, .16);
}
html[data-style="net"] .barre-onglets { background: #1c0506; color: #fff7df; border: 0; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .7); }
html[data-style="net"] .barre-panier { background: #c21f2b; color: #fff7df; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .6); }
html[data-style="net"] .barre-panier .bp-nb { background: #fff7df; color: #1c0506; }
@media (max-width: 760px) {
    html[data-style="net"] .barre-onglets a, html[data-style="net"] .barre-onglets button { color: rgba(255, 247, 223, .58); }
    html[data-style="net"] .barre-onglets .actif, html[data-style="net"] .barre-onglets a[aria-current] { color: #fff7df; }
    html[data-style="net"] .onglet-icone { background: #f3e6cc; color: #1c0506; }
    html[data-style="net"] .onglet-icone .pastille-nb { box-shadow: 0 0 0 2px #1c0506; }
}
@media (max-width: 860px) {
    /* accueil : titre plus présent, boutons resserrés */
    html[data-style="net"] .hero { padding-block: 34px 44px; }
    html[data-style="net"] .hero h1 { font-size: clamp(36px, 12.4vw, 64px); line-height: 1.22; margin-bottom: 20px; }
    html[data-style="net"] .hero-bas .hero-note { margin-bottom: 18px; font-size: 15px; }
    html[data-style="net"] .hero-lead { font-size: 17px; max-width: 30ch; }
    html[data-style="net"] .hero-actions { flex-direction: column; gap: 14px; margin-top: 26px; }
    html[data-style="net"] .hero-actions .btn { --h: 54px; }
    html[data-style="net"] .hero-actions .btn-primaire { min-width: min(280px, 100%); }
    html[data-style="net"] .hero-bas .hero-etat { margin-top: 22px; }
    /* le panneau beige colle presque aux bords, coins un peu moins ronds */
    html[data-style="net"] :is(.une, .carte-grille)::before { left: calc(50% - 50vw + var(--sb, 0px) / 2 + 6px); right: calc(50% - 50vw + var(--sb, 0px) / 2 + 6px); border-radius: 28px; }
    html[data-style="net"] .une { padding-top: 34px; }
    html[data-style="net"] .une-titre { text-align: center; }
    html[data-style="net"] :is(.une, .carte-grille) :is(.plat, .formule, .supplements, .plus-carte li) { border-radius: 22px; }
    html[data-style="net"] .rubrique-titre::before { font-size: clamp(34px, 10.5vw, 54px); }
    html[data-style="net"] .rubrique-titre-petit::before { font-size: clamp(28px, 8.4vw, 44px); }
    html[data-style="net"] .rubrique-notes { flex-direction: column; align-items: center; text-align: center; }
    html[data-style="net"] .rubrique-notes li + li::before { display: none; }
    html[data-style="net"] .carte-grille .onglets { border-radius: 22px; }
}
/* (ces deux barres sont aussi dans la liste des cartes claires, plus précise : on repasse devant) */
html[data-style="net"] body .barre-onglets { background: #1c0506; color: #fff7df; border: 0; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .7); }
html[data-style="net"] body .barre-panier { background: #c21f2b; color: #fff7df; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .6); }
html[data-style="net"] body .barre-panier .bp-nb { background: #fff7df; color: #1c0506; }
@media (max-width: 860px) {
    html[data-style="net"] .hero h1 { font-size: clamp(30px, 10.2vw, 60px); }
    html[data-style="net"] .hero h1 .titre-ligne { white-space: nowrap; }
}
@media (max-width: 760px) { html[data-style="net"] body .barre-onglets .onglet-commande { color: #fff7df !important; } }

/* ==========================================================================================
   TYPO : Obviously PARTOUT (demande du 12/10), la graisse varie selon le rôle du texte.
   Famille « ObvT » = les graisses Light à Black de la version Demo installée sur ce poste, réduites
   à 86 % (size-adjust) : la fonte est très large, à taille égale elle déborderait de partout.
   La Demo n'a QUE les lettres, les chiffres, la virgule et le point : accents, apostrophe, €, +, ?,
   tirets… retombent sur Archivo, lettre par lettre. La version sous licence les a tous.
   ========================================================================================== */
html[data-style="net"] { --police: 'obviously-narrow', 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif; }
html[data-style="net"] body, html[data-style="net"] :is(button, input, textarea, select) { font-family: var(--police); }
/* plus d'italique étroit hérité d'Archivo : les titres sont droits, dans la graisse la plus forte */
html[data-style="net"] :is(h1, h2, h3, .rubrique-sous) { font-style: normal; font-stretch: normal; }
html[data-style="net"] :is(.avis-tete h2, .infos h2, .rubrique-sous, .t-intro h2, .fin h2) { font-family: var(--titre); font-weight: 800; text-transform: uppercase; letter-spacing: -.015em; line-height: 1.04; }
html[data-style="net"] .avis-tete h2 { font-size: clamp(30px, 4vw, 54px); }
html[data-style="net"] .infos h2 { font-size: clamp(26px, 2.9vw, 40px); }
/* texte courant : graisse normale ; ce qui doit ressortir (noms, boutons, onglets) en demi-gras ou gras */
html[data-style="net"] body { font-weight: 400; letter-spacing: -.005em; }
html[data-style="net"] :is(.plat-desc, .hero-lead, .avis-carte p, .infos-note, .rubrique-notes li) { font-weight: 400; }
html[data-style="net"] :is(.btn, .onglets a, .onglets button, .entete-nav a) { font-weight: 700; letter-spacing: -.01em; }

/* ---------- Avis : sur fond clair, dans leur propre panneau beige arrondi (plus sur le rouge) ---------- */
html[data-style="net"] .avis {
    position: relative; isolation: isolate;
    --creme: #1c0506; --creme-2: rgba(28, 5, 6, .76); --creme-3: rgba(28, 5, 6, .56); --encre: #fff7df;
    --trait: rgba(28, 5, 6, .13); --or: #e09a00; --vert: #1f7a45; --papier: #e9dbbd; --beige: #decda9;
    color: #1c0506; margin-top: 14px; padding-top: clamp(44px, 5.4vw, 80px); padding-bottom: clamp(36px, 4.4vw, 64px);
}
html[data-style="net"] .avis::before {
    content: ""; position: absolute; z-index: -1; top: 0; bottom: 0;
    left: calc(50% - 50vw + var(--sb, 0px) / 2 + 10px); right: calc(50% - 50vw + var(--sb, 0px) / 2 + 10px);
    background: #f3e6cc; border-radius: clamp(26px, 3.4vw, 48px);
}
html[data-style="net"] .avis .avis-carte { box-shadow: none; border-radius: 22px; }
html[data-style="net"] .avis .avis-tete h2 { color: #1c0506; }
html[data-style="net"] .avis .note-google { background: #e9dbbd; color: #1c0506; box-shadow: none; }
html[data-style="net"] .avis .note-google strong { color: #1c0506; }
html[data-style="net"] .avis .note-google > span:last-child { color: rgba(28, 5, 6, .7); }
html[data-style="net"] .avis .etoiles-fond { color: rgba(28, 5, 6, .18); }
html[data-style="net"] .avis-pied, html[data-style="net"] .avis-pied a { color: rgba(28, 5, 6, .62); }
html[data-style="net"] .avis-pied a { color: #1c0506; }
html[data-style="net"] .infos { margin-top: clamp(40px, 5vw, 72px); }
@media (max-width: 860px) {
    html[data-style="net"] .avis { margin-top: 10px; }
    html[data-style="net"] .avis::before { left: calc(50% - 50vw + var(--sb, 0px) / 2 + 6px); right: calc(50% - 50vw + var(--sb, 0px) / 2 + 6px); border-radius: 28px; }
}

/* La carte et les avis ne font plus qu'un seul panneau beige : plus de liseré rouge ni de coins entre les deux */
html[data-style="net"] .avis, html[data-style="net"] .avis { margin-top: 0; }
html[data-style="net"] .carte-grille::before,
html[data-style="net"] .une:not([hidden]) + .carte-grille::before { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
html[data-style="net"] .avis::before { border-top-left-radius: 0; border-top-right-radius: 0; top: -1px; }
html[data-style="net"] .carte-grille { padding-bottom: clamp(24px, 3vw, 40px); }
html[data-style="net"] .avis { padding-top: clamp(32px, 4vw, 56px); }
@media (max-width: 860px) { html[data-style="net"] .avis { margin-top: 0; } }

/* Prix : le chiffre était collé au bas de l'étiquette (la fonte est dessinée bas dans sa ligne). La boîte est
   maintenant rognée à la hauteur exacte des chiffres, avec la même marge au-dessus et en dessous. */
html[data-style="net"] body .prix > span[aria-hidden],
html[data-style="net"] body :is(.prix-petit, .plats-petits .prix, .formule-prix-board .prix) > span[aria-hidden] {
    line-height: 1; text-box: trim-both cap alphabetic; padding: .36em .42em .36em .4em;
}
html[data-style="net"] body .prix sup { top: -.5em; line-height: 0; }

/* Suppléments : une petite photo de l'ingrédient dans chaque pastille de choix */
html[data-style="net"] .puce.puce-photo span { display: inline-flex; align-items: center; gap: 8px; padding: 5px 16px 5px 6px; }
html[data-style="net"] .puce.puce-photo img { flex: none; width: 40px; height: 40px; object-fit: contain; }
html[data-style="net"] .fiche-boite .puce span { border-color: rgba(28, 5, 6, .18); background: #e9dbbd; }
html[data-style="net"] .fiche-boite .puce input:checked + span { background: #1c0506; color: #fff7df; border-color: #1c0506; }

/* Visiteurs SANS Obviously (tout le monde sauf ce poste tant que la licence web n'est pas achetée) : les titres
   retombent sur Archivo. On le met alors dans sa largeur la plus étendue, c'est ce qui s'en rapproche le plus
   (Obviously, elle, n'a qu'une largeur : ce réglage ne la change pas). */
html[data-style="net"] :is(.hero h1, .plat-nom, .groupe-titre, #ficheNom, .une-titre, .pl h2, .infos-bloc h2, .tunnel h2, .supplements-titre-board,
    .avis-tete h2, .infos h2, .rubrique-sous, .rubrique-titre::before, .prix > span[aria-hidden]) { font-stretch: 125%; }
html[data-style="net"] .rubrique-titre::before { font-stretch: 125%; }

/* Navigateurs sans « text-box » (Safari avant iOS 18.2, vieux Android) : les boîtes ne sont pas rognées à la hauteur
   des capitales, donc étiquettes de prix, mot surligné et papiers des titres sortaient trop hauts et mal calés.
   Une ligne resserrée à la hauteur des capitales donne le même calage (réglé pour Archivo, la police qu'ils voient). */
@supports not (text-box: trim-both cap alphabetic) {
    html[data-style="net"] .titre-mot .mot,
    html[data-style="net"] .prix > span[aria-hidden],
    html[data-style="net"] .rubrique-titre::before,
    html[data-style="net"] .supplements-titre-board { line-height: .72 !important; }
}

/* Téléphone : le réglage des coins du panneau (28 px partout) réarrondissait les jonctions. Résultat : deux encoches
   rouges entre « À la une » et la carte, et entre la carte et les avis. Le panneau n'est arrondi qu'à ses deux bouts. */
@media (max-width: 860px) {
    html[data-style="net"] .une::before { border-radius: 28px 28px 0 0; }
    html[data-style="net"] .carte-grille::before,
    html[data-style="net"] .une:not([hidden]) + .carte-grille::before { border-radius: 0; }
    html[data-style="net"] .une[hidden] + .carte-grille::before { border-radius: 28px 28px 0 0; }
    html[data-style="net"] .avis::before { border-radius: 0 0 28px 28px; }
    /* un pixel de recouvrement : pas de filet rouge entre deux morceaux du panneau quand l'écran arrondit les hauteurs */
    html[data-style="net"] .carte-grille::before { top: -1px; }
}
html[data-style="net"] .une[hidden] + .carte-grille::before { border-top-left-radius: clamp(26px, 3.4vw, 48px); border-top-right-radius: clamp(26px, 3.4vw, 48px); }

/* ==========================================================================================
   POLICE : la vraie Obviously, servie par Adobe Fonts (projet web « claude » de Marwan, kit zeo4vsu,
   lien dans index.html et admin.html). Tout le monde la voit, avec ses accents, son € et son ?.
   Le kit contient Regular (400) et Bold (700), droit et italique, dans 6 largeurs. Les titres demandent
   900 : tant que le Black n'est pas ajouté au projet Adobe, c'est le Bold qui répond ; dès qu'il y sera,
   il prendra sa place sans rien changer ici. Texte courant en « obviously-narrow » (la largeur normale
   est trop étendue pour des paragraphes), titres et prix en « obviously ».
   Plus de version Demo : les anciennes règles local('ObviouslyDemo-…') sont retirées.
   ========================================================================================== */
html[data-style="net"] body { letter-spacing: 0; }
html[data-style="net"] :is(.btn, .onglets a, .onglets button, .entete-nav a) { letter-spacing: 0; }

/* Choix retenu dans le tunnel (retrait/livraison, carte/sur place) : un liseré clair, sinon le sombre se perd sur le fond */
html[data-style="net"] .tunnel .mode-choix.choisi { box-shadow: inset 0 0 0 2px #fff7df; }
