/* Tawla : feuille de style commune des nouvelles pages du site.
   Même langage visuel que la maquette de l'appli : un seul accent orange, clair par défaut,
   sombre au choix, cartes très arrondies, grille de 8 px.
   Les couleurs portent le nom commun de l'appli (--tw-…) avec une valeur de secours. */

/* ---------- police : Plus Jakarta Sans (licence OFL, voir /fonts/OFL.txt) ---------- */
@font-face{font-family:"Plus Jakarta Sans";font-weight:600;font-style:normal;font-display:swap;src:url(/fonts/jakarta-600.woff2) format("woff2")}
@font-face{font-family:"Plus Jakarta Sans";font-weight:800;font-style:normal;font-display:swap;src:url(/fonts/jakarta-800.woff2) format("woff2")}

/* ---------- jetons : thème clair (par défaut) ---------- */
:root{
  --accent:var(--tw-accent,#C4470F);
  --on-accent:var(--tw-on-accent,#fff);
  --accent-text:var(--tw-accent-text,#B53E08);
  --accent-soft:var(--tw-accent-soft,rgba(196,71,15,.12));
  --bg:var(--tw-bg,#F6F4F2);
  --card:var(--tw-card,#fff);
  --card2:var(--tw-card2,#EFEBE7);
  --text:var(--tw-text,#1B1410);
  --mut:var(--tw-mut,#6B635D);
  --line:var(--tw-line,rgba(0,0,0,.09));
  --shadow:var(--tw-shadow,0 1px 2px rgba(0,0,0,.05),0 8px 24px rgba(0,0,0,.06));
  --radius-card:var(--tw-radius-card,24px);

  --font:"Plus Jakarta Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;

  /* 3 tailles de texte + le grand titre de page */
  --fs-xl:clamp(36px,4.4vw,56px);
  --fs-titre:clamp(28px,3.4vw,40px);
  --fs-texte:18px;
  --fs-legende:16px;

  /* grille de 8 px */
  --s1:8px; --s2:16px; --s3:24px; --s4:32px; --s5:40px; --s6:48px; --s8:64px; --s12:96px;
  --r-grande:28px; --r-bouton:18px;
}

/* ---------- jetons : thème sombre ---------- */
html[data-theme="dark"]{
  --accent:var(--tw-accent,#FF6B2C);
  --on-accent:var(--tw-on-accent,#0A0B0D);
  --accent-text:var(--tw-accent-text,#FF6B2C);
  --accent-soft:var(--tw-accent-soft,rgba(255,107,44,.2));
  --bg:var(--tw-bg,#120A05);
  --card:var(--tw-card,#1E140D);
  --card2:var(--tw-card2,#2B1E15);
  --text:var(--tw-text,#F7F2EE);
  --mut:var(--tw-mut,#A39A92);
  --line:var(--tw-line,rgba(255,235,220,.12));
  --shadow:var(--tw-shadow,0 1px 2px rgba(0,0,0,.5));
}

/* ---------- base ---------- */
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%;color-scheme:light}
html[data-theme="dark"]{color-scheme:dark}
[hidden]{display:none}
body{background:var(--bg);color:var(--text);font:600 var(--fs-texte)/1.55 var(--font);-webkit-font-smoothing:antialiased;min-height:100vh;overflow-wrap:break-word}
img,svg{display:block;max-width:100%}
a{color:inherit}
h1,h2,h3,h4{font-weight:800;letter-spacing:-.02em;line-height:1.15}
h1{font-size:var(--fs-xl)}
h2{font-size:var(--fs-titre)}
h3{font-size:var(--fs-texte);letter-spacing:-.01em;line-height:1.3}
p{max-width:62ch}
.legende{font-size:var(--fs-legende);color:var(--mut);line-height:1.5}
.accent{color:var(--accent-text)}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
svg.i{width:24px;height:24px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
p a,li a{color:var(--accent-text);text-underline-offset:3px;display:inline-block;padding-block:8px}

/* ---------- focus visible ---------- */
:focus-visible{outline:3px solid var(--accent-text);outline-offset:3px;border-radius:8px}

/* ---------- lien d'évitement ---------- */
.evitement{position:absolute;left:var(--s2);top:-80px;z-index:50;display:inline-flex;align-items:center;min-height:52px;padding:0 var(--s3);border-radius:var(--r-bouton);background:var(--accent);color:var(--on-accent);font-weight:800;text-decoration:none}
.evitement:focus{top:var(--s2)}

/* ---------- conteneur ---------- */
.conteneur{width:min(1200px,calc(100% - 40px));margin-inline:auto}

/* ---------- en-tête collant ---------- */
.entete{position:sticky;top:0;z-index:30;background:color-mix(in srgb,var(--bg) 90%,transparent);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}
.entete .conteneur{display:flex;align-items:center;gap:var(--s2);min-height:80px}
.logo{display:inline-flex;align-items:center;min-height:44px;margin-right:auto;border-radius:8px}
.logo img{height:40px;width:auto}
.logo-sombre{display:none}
html[data-theme="dark"] .logo-clair{display:none}
html[data-theme="dark"] .logo-sombre{display:block}
.nav{display:none}
.nav a{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:52px;padding:0 var(--s2);border-radius:16px;text-decoration:none;font-weight:600;color:var(--mut)}
.nav a:hover{color:var(--text)}
.nav a[aria-current="page"]{color:var(--text);background:var(--card2)}
.icone-btn{width:52px;height:52px;border-radius:50%;border:0;background:var(--card);box-shadow:var(--shadow);color:var(--text);display:grid;place-items:center;cursor:pointer;flex:none}
.i-lune{display:none}
html[data-theme="dark"] .i-lune{display:block}
html[data-theme="dark"] .i-soleil{display:none}
.menu-btn .i-x{display:none}
.entete.ouvert .menu-btn .i-x{display:block}
.entete.ouvert .menu-btn .i-barres{display:none}
.actions-entete{display:none}
/* Bouton « Essai gratuit » de l'en-tête : une seule ligne, marges réduites sur téléphone */
.entete .btn.actions-entete{white-space:nowrap;flex:none;padding:0 12px;font-size:var(--fs-legende)}
/* Sur petit téléphone il n'y a pas la place : le bouton est dans le menu (même texte, même lien) */
@media (max-width:449px){.entete .btn.actions-entete{display:none}}
.menu-mobile{display:none;border-top:1px solid var(--line);background:var(--bg);padding:var(--s2) 0 var(--s3)}
.entete.ouvert .menu-mobile{display:block}
.menu-mobile .conteneur{display:flex;flex-direction:column;gap:var(--s1);min-height:0}
.menu-mobile a.lien{display:flex;align-items:center;min-width:44px;min-height:56px;padding:0 var(--s2);border-radius:var(--r-bouton);background:var(--card);box-shadow:var(--shadow);text-decoration:none;font-weight:800}
.menu-mobile a.lien[aria-current="page"]{box-shadow:inset 0 0 0 2px var(--accent),var(--shadow)}

/* ---------- boutons (hauteur d'au moins 52 px) ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:var(--s1);min-height:56px;padding:0 var(--s3);border-radius:var(--r-bouton);border:0;font:800 var(--fs-texte)/1.2 var(--font);cursor:pointer;text-decoration:none;color:var(--text);background:var(--card2);text-align:center}
.btn svg.i{width:22px;height:22px}
.btn-p{background:var(--accent);color:var(--on-accent)}
.btn-s{background:var(--card);color:var(--text);box-shadow:var(--shadow)}
.btn-wa{background:var(--card);color:var(--text);box-shadow:inset 0 0 0 2px var(--accent),var(--shadow)}
.btn-wa svg.i{color:var(--accent-text)}
.btn.sm{min-height:52px;font-size:var(--fs-legende);border-radius:16px;padding:0 var(--s2)}
.btn.bloc{width:100%}
.btn[disabled]{opacity:.6;cursor:not-allowed}
.groupe-boutons{display:flex;flex-direction:column;gap:var(--s2);width:100%}

/* ---------- sections, titre de section avec sous-titre ---------- */
section{padding:var(--s8) 0}
.page-tete{padding:var(--s6) 0 var(--s3)}
.tete-section{display:flex;flex-direction:column;gap:var(--s2);margin-bottom:var(--s5)}
.tete-section.centre{align-items:center;text-align:center}
.tete-section p{color:var(--mut)}
.page-tete .tete-section{margin-bottom:0}

/* ---------- carte et grille de cartes ---------- */
.carte{background:var(--card);border-radius:var(--r-grande);box-shadow:var(--shadow);padding:var(--s4);display:flex;flex-direction:column;gap:var(--s2);align-items:flex-start}
.carte p{color:var(--mut)}
.grille-cartes{display:grid;gap:var(--s3);grid-template-columns:1fr}
.pastille-icone{width:56px;height:56px;border-radius:18px;background:var(--accent-soft);color:var(--accent-text);display:grid;place-items:center;flex:none}
.pastille-icone svg.i{width:28px;height:28px}

/* ---------- étiquette « À venir » ---------- */
.a-venir{display:inline-flex;align-items:center;font-size:var(--fs-legende);font-weight:800;padding:2px 12px;border-radius:999px;background:var(--accent-soft);color:#9E3606;box-shadow:inset 0 0 0 1.5px var(--accent-text);white-space:nowrap;line-height:1.5;vertical-align:middle;letter-spacing:0}

html[data-theme="dark"] .a-venir{color:var(--accent-text)}

/* ---------- bandeau d'essai (14 jours gratuits) ---------- */
.bandeau{background:var(--accent);color:var(--on-accent);border-radius:var(--r-grande);padding:var(--s5) var(--s3);display:flex;flex-direction:column;gap:var(--s3);align-items:flex-start}
.bandeau p{max-width:48ch}
.bandeau .btn{background:var(--on-accent);color:var(--accent-text)}
html[data-theme="dark"] .bandeau .btn{background:var(--bg)}

/* ---------- questions-réponses dépliables ---------- */
.groupe-faq{display:flex;flex-direction:column;gap:var(--s2);margin-top:var(--s6)}
.groupe-faq:first-child{margin-top:0}
.groupe-titre{font-size:var(--fs-texte);color:var(--accent-text);letter-spacing:0;text-transform:uppercase}
.faq{display:flex;flex-direction:column;gap:var(--s2)}
.qr{background:var(--card);border-radius:var(--radius-card);box-shadow:var(--shadow);scroll-margin-top:96px}
.qr h3{font-size:var(--fs-texte)}
.qr-bouton{display:flex;align-items:center;justify-content:space-between;gap:var(--s2);width:100%;min-height:72px;padding:var(--s2) var(--s3);border:0;background:transparent;color:var(--text);font:800 var(--fs-texte)/1.35 var(--font);text-align:left;cursor:pointer;border-radius:var(--radius-card)}
.qr-texte{display:flex;flex-wrap:wrap;align-items:center;gap:var(--s1);min-width:0}
.qr-bouton .i{color:var(--accent-text)}
.qr-bouton .i-moins{display:none}
.qr.ouvert .qr-bouton .i-moins{display:block}
.qr.ouvert .qr-bouton .i-plus{display:none}
.qr-reponse{padding:0 var(--s3) var(--s3)}
.qr-reponse p{color:var(--mut)}
.qr-reponse p+p{margin-top:var(--s2)}
.js .qr-reponse{display:none}
.js .qr.ouvert .qr-reponse{display:block}
html:not(.js) .qr-bouton{cursor:default}
html:not(.js) .qr-bouton .i{display:none}

/* ---------- liste à coches ---------- */
.liste-coches{list-style:none;display:flex;flex-direction:column;gap:12px}
.liste-coches li{display:flex;gap:12px;align-items:flex-start}
.liste-coches svg.i{width:22px;height:22px;color:var(--accent-text);margin-top:3px}

/* ---------- formulaire ---------- */
.formulaire{display:flex;flex-direction:column;gap:var(--s3)}
.champ{display:flex;flex-direction:column;gap:6px}
.champ label{font-weight:800;font-size:var(--fs-legende)}
.champ input,.champ select,.champ textarea{min-height:56px;width:100%;border-radius:16px;border:2px solid var(--line);border-color:var(--mut);background:var(--card);color:var(--text);padding:0 var(--s2);font:600 var(--fs-texte) var(--font)}
.champ textarea{min-height:128px;padding:var(--s2);resize:vertical}
.champ input::placeholder,.champ textarea::placeholder{color:var(--mut);opacity:1}
.champ input:focus-visible,.champ select:focus-visible,.champ textarea:focus-visible{outline-offset:2px;border-color:var(--accent-text)}
.champ input[aria-invalid="true"],.champ select[aria-invalid="true"],.champ textarea[aria-invalid="true"]{border-color:var(--accent-text)}
.message-erreur{padding:var(--s2) var(--s3);border-radius:16px;background:var(--accent-soft);color:var(--text);box-shadow:inset 4px 0 0 var(--accent-text);font-size:var(--fs-legende)}
.form-reussite{display:none;padding:var(--s3);border-radius:var(--radius-card);background:var(--card);box-shadow:inset 0 0 0 2px var(--accent),var(--shadow);font-weight:800}
.form-reussite:focus-visible{outline-offset:4px}
.actions-contact{display:flex;flex-direction:column;gap:var(--s2);margin-top:var(--s3)}

/* ---------- pied de page ---------- */
.pied{border-top:1px solid var(--line);padding:var(--s6) 0 var(--s8);margin-top:var(--s6)}
.pied .conteneur{display:grid;gap:var(--s4)}
.pied nav,.pied .pied-contact{display:flex;flex-direction:column;gap:var(--s1);align-items:flex-start}
.pied nav a,.pied .pied-contact a{display:inline-flex;align-items:center;min-width:44px;min-height:52px;text-decoration:none;font-weight:600;color:var(--mut)}
.pied nav a:hover,.pied .pied-contact a:hover{color:var(--text)}
.pied-marque{display:flex;flex-direction:column;gap:var(--s2);align-items:flex-start}
.pied .logo{margin-right:0}
.pied-note{color:var(--mut);font-size:var(--fs-legende)}

/* ---------- masquage utilisé par le script du formulaire ---------- */
.hidden{display:none}

/* ---------- page FAQ : carte du bas ---------- */
.carte-contact{align-items:flex-start}
.carte-contact h2{font-size:var(--fs-titre)}
.carte-contact .groupe-boutons{margin-top:var(--s1)}

/* ---------- grand écran ---------- */
@media (min-width:960px){
  .logo img{height:44px}
  .logo{margin-right:0}
  .nav{display:flex;gap:var(--s1);margin-inline:auto}
  .actions-entete{display:inline-flex}
  .entete .menu-btn,.entete .menu-mobile,.entete.ouvert .menu-mobile{display:none}
  section{padding:var(--s12) 0}
  .page-tete{padding:var(--s8) 0 var(--s4)}
  .grille-cartes.trois{grid-template-columns:repeat(3,1fr)}
  .grille-cartes.deux{grid-template-columns:repeat(2,1fr)}
  .bandeau{flex-direction:row;align-items:center;justify-content:space-between;padding:var(--s6)}
  .groupe-boutons{flex-direction:row;flex-wrap:wrap;width:auto}
  .actions-contact{flex-direction:row;flex-wrap:wrap}
  .pied .conteneur{grid-template-columns:2fr 1fr 1fr}
  .carte-contact{padding:var(--s6)}
}

/* ---------- mouvement : seulement si l'utilisateur ne le refuse pas ---------- */
@media (prefers-reduced-motion:no-preference){
  html{scroll-behavior:smooth}
  .btn,.icone-btn,.nav a,.qr-bouton{transition:background-color .15s ease,color .15s ease,box-shadow .15s ease}
}

/* ---------- Page tarifs ---------- */
/* Les 3 cartes de formules : empilées sur téléphone (Essentiel en premier), côte à côte sur ordinateur */
.formules{display:grid;gap:var(--s3);grid-template-columns:1fr;align-items:stretch}
.formule{background:var(--card);border-radius:var(--r-grande);box-shadow:var(--shadow);padding:var(--s4);display:flex;flex-direction:column;gap:var(--s3);min-width:0}
.formule.vedette{box-shadow:0 0 0 3px var(--accent),var(--shadow);order:-1}
.formule-nom{display:flex;flex-direction:column;gap:var(--s1);align-items:flex-start}
.formule-etiquettes{display:flex;flex-wrap:wrap;gap:var(--s1);align-items:center;min-height:36px}
.etiquette{display:inline-flex;align-items:center;font-size:var(--fs-legende);font-weight:800;padding:2px 14px;border-radius:999px;background:var(--card2);color:var(--text);line-height:1.5}
.etiquette.forte{background:var(--accent);color:var(--on-accent)}
.formule-prix{display:flex;align-items:baseline;gap:var(--s1);flex-wrap:wrap}
.formule-prix b{font-size:var(--fs-titre);font-weight:800;letter-spacing:-.02em;line-height:1.1}
.formule .liste-coches{flex:1}
.formule .liste-coches li>span{min-width:0}
.formule .btn{margin-top:auto}
.note-formules{margin:var(--s4) auto 0;text-align:center;font-weight:800}

/* Petit comparatif : tableau qui défile dans son cadre sur téléphone (la page, elle, ne défile pas) */
.indice-defilement{display:none;margin-bottom:var(--s2);color:var(--mut);font-size:var(--fs-legende)}
.tableau-defile{position:relative;overflow-x:auto;border-radius:var(--r-grande);box-shadow:var(--shadow);background:var(--card);-webkit-overflow-scrolling:touch}
table.compar{width:100%;min-width:640px;border-collapse:separate;border-spacing:0;background:var(--card)}
.compar th,.compar td{padding:var(--s2);text-align:left;border-bottom:1px solid var(--line);font-size:var(--fs-legende);font-weight:600;vertical-align:middle}
.compar thead th{font-weight:800;font-size:var(--fs-texte);background:var(--card2)}
.compar tbody th{font-weight:800;background:var(--card);position:sticky;left:0}
.compar thead th:first-child{position:sticky;left:0}
.compar tr:last-child th,.compar tr:last-child td{border-bottom:0}
.compar .oui{color:var(--accent-text);font-weight:800}
.compar .non,.compar .apercu{color:var(--mut)}
.compar td .a-venir{padding:0 8px;margin-left:4px}
.legende-tableau{margin-top:var(--s2)}

/* Calculateur d'économies */
.calc-comparatif{margin-bottom:var(--s3)}
.liste-prix{list-style:none;width:100%;display:flex;flex-direction:column}
.liste-prix li{display:flex;justify-content:space-between;align-items:baseline;gap:var(--s2);padding:12px 0;border-bottom:1px solid var(--line)}
.liste-prix .prix{font-weight:800;white-space:nowrap;text-align:right}
.liste-prix .prix.inclus{color:var(--accent-text)}
.total-ligne{width:100%;display:flex;flex-direction:column;gap:6px;padding:var(--s2);border-radius:16px;background:var(--card2)}
.total-ligne .total-prix{font-size:var(--fs-titre);font-weight:800;line-height:1.15;letter-spacing:-.02em}
.total-ligne.tawla{background:var(--accent-soft)}
.carte .total-ligne p{color:var(--mut)}
.carte-calcul{align-items:stretch}
.calc-champs{display:grid;gap:var(--s3);grid-template-columns:1fr}
.calc-resultats{display:flex;flex-direction:column;gap:var(--s1)}
.calc-ligne{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:var(--s1) var(--s2);padding:var(--s2);border-radius:16px;background:var(--card2)}
.calc-ligne dd{font-weight:800;white-space:nowrap}
.calc-ligne.economie{background:var(--accent);color:var(--on-accent)}
.calc-ligne.economie dd{font-size:var(--fs-titre);line-height:1.15}
.calc-note{color:var(--mut)}

@media (max-width:959px){
  .indice-defilement{display:block}
}
@media (min-width:960px){
  .formules{grid-template-columns:repeat(3,1fr)}
  .formule.vedette{order:0}
  .calc-champs{grid-template-columns:1fr 1fr}
  .carte-calcul{padding:var(--s5)}
}

/* ---------- Page d'accueil ---------- */
/* Couleurs d'état des écrans dessinés (clair, puis sombre) */
:root{--new:#9A4507;--prep:#075985;--ready:#0F766E;--ready-text:#0B5F59;--bezel:#2A211B}
html[data-theme="dark"]{--new:#FBBF24;--prep:#5AA2FF;--ready:#34D399;--ready-text:#34D399;--bezel:#0A0603}

/* Les ancres ne passent pas sous l'en-tête collant */
section[id]{scroll-margin-top:96px}

/* Héros : texte, boutons, dessin de l'appli */
.hero{padding:var(--s6) 0 var(--s8)}
.hero .conteneur{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--s6)}
.hero-texte{display:flex;flex-direction:column;gap:var(--s3);align-items:flex-start;min-width:0}
.hero-texte p{color:var(--mut)}
.hero-boutons{display:flex;flex-direction:column;gap:var(--s2);width:100%}
.visuel{display:flex;flex-direction:column;gap:var(--s3);min-width:0}
.visuel .legende{text-align:center}
.dessin{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--s3)}
.dessin>*{min-width:0}

/* Écrans dessinés (décoratifs, cachés aux lecteurs d'écran) */
.dev{background:var(--bezel);border-radius:32px;padding:10px;box-shadow:0 20px 48px rgba(27,20,16,.16)}
html[data-theme="dark"] .dev{box-shadow:0 0 0 1px rgba(255,235,220,.12)}
.scr{background:var(--bg);border-radius:24px;overflow:hidden;display:flex;flex-direction:column;gap:var(--s2);padding:var(--s2);color:var(--text);font-size:var(--fs-legende);line-height:1.4;text-align:left}
.dev.tel{border-radius:40px;width:100%;max-width:300px;margin-inline:auto}
.dev.tel .scr{border-radius:32px;padding:0;gap:0}
.c-titre{font-size:var(--fs-texte);font-weight:800;letter-spacing:-.01em;line-height:1.3}
.scr-haut{display:flex;align-items:center;justify-content:space-between;gap:var(--s1);flex-wrap:wrap}
.puce{display:inline-flex;align-items:center;gap:var(--s1);border-radius:999px;padding:4px 12px;background:var(--card);box-shadow:var(--shadow);font-size:var(--fs-legende);font-weight:600}
.led{width:10px;height:10px;border-radius:50%;background:var(--ready);flex:none}
.onglets{display:flex;background:var(--card2);border-radius:16px;padding:4px;gap:4px}
.onglets span{flex:1;text-align:center;padding:8px 4px;border-radius:12px;font-weight:800;color:var(--mut);font-size:var(--fs-legende)}
.onglets .on{background:var(--card);color:var(--text)}
.c-carte{background:var(--card);border-radius:20px;box-shadow:var(--shadow);padding:var(--s2);display:flex;flex-direction:column;gap:var(--s1)}
.c-carte.alerte{box-shadow:0 0 0 2px var(--accent),var(--shadow)}
.c-ligne{display:flex;align-items:center;gap:var(--s1);flex-wrap:wrap}
.c-ligne .fin{margin-left:auto}
.c-cloche{display:inline-flex;color:var(--accent-text)}
.c-num{font-size:var(--fs-texte);font-weight:800}
.c-art{font-size:var(--fs-legende)}
.badge{display:inline-flex;align-items:center;gap:4px;font-size:var(--fs-legende);font-weight:800;padding:2px 12px;border-radius:999px;background:var(--card2);color:var(--mut);white-space:nowrap}
.badge.warn{background:color-mix(in srgb,var(--new) 15%,transparent);color:var(--new)}
.badge.ok{background:color-mix(in srgb,var(--ready) 15%,transparent);color:var(--ready-text)}
.badge.info{background:color-mix(in srgb,var(--prep) 15%,transparent);color:var(--prep)}
.chrono{font-variant-numeric:tabular-nums;font-weight:800}
.chrono.ok{color:var(--ready)}
.boutons-2{display:flex;gap:var(--s1)}
.boutons-2 .btn{flex:1}
.tickets{display:grid;gap:var(--s2)}
/* téléphone du client */
.t-bandeau{display:flex;align-items:center;gap:12px;padding:var(--s2);background:var(--accent);color:var(--on-accent)}
.rond-logo{width:48px;height:48px;border-radius:50%;background:var(--card);color:var(--accent-text);display:grid;place-items:center;font-weight:800;font-size:var(--fs-texte);flex:none}
.t-bandeau b{font-size:var(--fs-texte);line-height:1.2;font-weight:800}
.t-corps{padding:var(--s2);display:flex;flex-direction:column;gap:12px;container-type:inline-size}
/* Dans un téléphone dessiné très étroit, la photo du plat disparaît pour laisser la place au nom (aucun mot coupé) */
@container (max-width:230px){.plat-m img{display:none}}
.cats{display:flex;flex-wrap:wrap;gap:var(--s1)}
.cat{background:var(--card);box-shadow:var(--shadow);border-radius:999px;padding:0 var(--s2);min-height:44px;display:inline-flex;align-items:center;font-weight:800;font-size:var(--fs-legende);line-height:1}
.cat.on{background:var(--text);color:var(--bg)}
.plat-m{display:flex;gap:8px;align-items:center;background:var(--card);border-radius:20px;box-shadow:var(--shadow);padding:8px 8px 8px 10px}
.plat-m img{width:48px;height:48px;border-radius:12px;object-fit:cover;flex:none}
.plat-m .nom{font-weight:800;line-height:1.25;font-size:var(--fs-legende);flex:1;min-width:0;overflow-wrap:normal}
.plus{width:40px;height:40px;border-radius:14px;background:var(--accent);color:var(--on-accent);display:grid;place-items:center;flex:none}
.plus svg.i{stroke-width:2}
.t-pied{padding:0 var(--s2) var(--s2)}
.barre-panier{display:flex;align-items:center;justify-content:space-between;gap:var(--s1);min-height:56px;padding:0 var(--s2);border-radius:18px;background:var(--accent);color:var(--on-accent);font-weight:800;font-size:var(--fs-legende)}

/* Les 4 bénéfices */
.benefices{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--s3)}
.benefice{gap:var(--s2)}

/* Bandeau d'essai : le titre porte la taille d'un titre de section */
.bandeau h2,.bandeau h3{font-size:var(--fs-titre)}
.bandeau-tarifs{margin-top:var(--s6)}
.bandeau-titre>div{display:flex;flex-direction:column;gap:var(--s1)}

/* QR codes */
.carte-qr{gap:var(--s3)}
.carte-qr strong{font-weight:800;color:var(--text)}
.carte-qr .liste-coches li{color:var(--mut)}

/* Pour tous les styles : petites cartes */
.types-grille{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--s2)}
.carte.type{padding:var(--s3);gap:var(--s1)}
.note-menu{margin-top:var(--s4);font-weight:800}

/* Démo : 3 cartes */
.carte-demo{gap:var(--s2)}
.carte-demo .btn{margin-top:auto}
.note-demo{margin-top:var(--s3)}
.actions-section{display:flex;flex-direction:column;gap:var(--s2);margin-top:var(--s4);align-items:stretch}

/* Tarifs : résumé des trois formules */
.formules-resume .formule-prix b{white-space:nowrap}
.formules-resume .formule{gap:var(--s2)}

/* Contact : texte à côté du formulaire */
.contact-grille{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--s5)}
.contact-grille .tete-section{margin-bottom:0}
.carte-formulaire{align-items:stretch}
.carte-formulaire .formulaire{width:100%}
.carte .message-erreur{color:var(--text)}
.note-champs{color:var(--mut)}

@media (min-width:600px){
  .hero-boutons{flex-direction:row;flex-wrap:wrap;width:auto}
  .dessin{grid-template-columns:minmax(0,1fr) 240px}
  .dessin .v-caisse{grid-column:1;grid-row:1}
  .dessin .v-cuisine{grid-column:1;grid-row:2}
  .dessin .v-tel{grid-column:2;grid-row:1 / span 2;align-self:center}
  .benefices{grid-template-columns:repeat(2,minmax(0,1fr))}
  .types-grille{grid-template-columns:repeat(2,minmax(0,1fr))}
  .actions-section{flex-direction:row;flex-wrap:wrap;align-items:center}
}
@media (min-width:960px){
  .hero{padding:var(--s8) 0 var(--s12)}
  .hero .conteneur{grid-template-columns:minmax(0,4.5fr) minmax(0,7.5fr);align-items:center}
  .dessin{grid-template-columns:minmax(0,1fr) 280px}
  .benefices{grid-template-columns:repeat(4,minmax(0,1fr))}
  .types-grille{grid-template-columns:repeat(4,minmax(0,1fr))}
  .contact-grille{grid-template-columns:minmax(0,5fr) minmax(0,7fr);align-items:start;gap:var(--s8)}
  .carte-formulaire{padding:var(--s5)}
}

/* ---------- Page comment ça marche ---------- */
/* Les 4 étapes : texte à côté d'un petit écran dessiné (empilés sur téléphone) */
.etapes{display:grid;gap:var(--s6)}
.etape{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--s3);align-items:center}
.etape-texte{display:flex;flex-direction:column;gap:var(--s2);align-items:flex-start;min-width:0}
.etape-texte p{color:var(--mut)}
.pastille-num{width:72px;height:72px;border-radius:50%;background:var(--accent);color:var(--on-accent);display:grid;place-items:center;font-size:var(--fs-titre);font-weight:800;line-height:1;flex:none}
.etape-visuel{background:var(--card2);border-radius:var(--r-grande);padding:var(--s4) var(--s2);display:flex;justify-content:center;min-width:0}
.etape-visuel .dev{width:100%;max-width:380px}
.etape-visuel .dev.tel{max-width:280px}
/* Petit suivi de commande dessiné */
.etapes-petit{display:flex;flex-direction:column;gap:var(--s1);padding-bottom:var(--s1)}
.etape-ligne{display:flex;align-items:center;gap:var(--s2);font-weight:800}
.etape-ligne .rond{width:32px;height:32px;border-radius:50%;background:var(--card2);color:var(--mut);display:grid;place-items:center;flex:none}
.etape-ligne .rond svg.i{width:18px;height:18px;stroke-width:2}
.etape-ligne.fait .rond,.etape-ligne.cours .rond{background:var(--accent);color:var(--on-accent)}
.etape-ligne.suite{color:var(--mut)}
.t-corps .c-carte .c-ligne svg.i{color:var(--accent-text)}
/* Mise en route : 4 petites cartes numérotées */
.grille-cartes.quatre{grid-template-columns:minmax(0,1fr)}
.carte-etape{gap:var(--s2)}
.carte-etape .pastille-num{width:56px;height:56px;font-size:var(--fs-texte)}
/* Toutes les fonctionnalités */
.fx-intro{display:flex;flex-direction:column;gap:var(--s3);margin-bottom:var(--s5)}
.fx-note{font-weight:800;color:var(--text);max-width:62ch}
.fx-index{display:flex;flex-direction:column;gap:var(--s1)}
.fx-groupe{margin-top:var(--s8);display:flex;flex-direction:column;gap:var(--s2)}
.fx-groupe .groupe-titre{font-size:var(--fs-texte)}
.fx-groupe-note{max-width:70ch}
.fx-grille{display:grid;gap:var(--s3);grid-template-columns:minmax(0,1fr);margin-top:var(--s1)}
.fx-carte{gap:var(--s2);min-width:0;scroll-margin-top:96px}
.fx-tete{display:flex;flex-wrap:wrap;align-items:center;gap:var(--s1)}
.fx-carte h4{font-size:var(--fs-texte);line-height:1.3;letter-spacing:-.01em;font-weight:800}
.fx-carte .fx-sert{color:var(--text)}
.fx-etiq{display:block;font-weight:800;color:var(--accent-text)}
.fx-lien{display:inline-flex;align-items:center;gap:var(--s1);min-height:52px;margin-top:auto;color:var(--accent-text);font-weight:800;text-decoration:none;border-radius:12px}
.fx-lien:hover{text-decoration:underline;text-underline-offset:3px}
.fx-lien svg.i{width:20px;height:20px}
@media (min-width:600px){
  .grille-cartes.quatre{grid-template-columns:repeat(2,minmax(0,1fr))}
  .fx-index{flex-direction:row;flex-wrap:wrap}
  .fx-grille{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (min-width:960px){
  .etape{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:var(--s8)}
  .etape:nth-child(even) .etape-visuel{order:-1}
  .grille-cartes.quatre{grid-template-columns:repeat(4,minmax(0,1fr))}
  .fx-grille{grid-template-columns:repeat(3,minmax(0,1fr))}
}

/* ---------- Page démo ---------- */
/* 3 cartes avec un aperçu dessiné, un titre, une phrase et le bouton « Ouvrir » */
.cartes-demo{display:grid;gap:var(--s3);grid-template-columns:minmax(0,1fr)}
.carte-demo{min-width:0}
.carte-demo h2{font-size:var(--fs-texte);letter-spacing:-.01em;line-height:1.3}
.apercu-demo{align-self:stretch;width:100%;flex:1;background:var(--card2);border-radius:var(--radius-card);padding:var(--s3) var(--s2);display:flex;justify-content:center;align-items:center;min-width:0}
.apercu-demo .dev{width:100%;max-width:340px;box-shadow:none}
.apercu-demo .dev.tel{max-width:240px}
/* Dans les dessins, les boutons restent dans la carte, à l'écart du bord du téléphone */
.apercu-demo .boutons-2{gap:6px;min-width:0}
.apercu-demo .boutons-2 .btn{min-width:0;padding:0 6px;min-height:44px;font-size:var(--fs-legende)}
.carte-demo .btn{align-self:stretch}
.ligne-demo{display:flex;align-items:center;justify-content:center;gap:var(--s1);margin-top:var(--s4);text-align:center;flex-wrap:wrap}
.ligne-demo svg.i{color:var(--accent-text)}
.tuiles{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:var(--s1)}
.tuile{background:var(--card);box-shadow:var(--shadow);border-radius:16px;padding:12px;display:flex;flex-direction:column;gap:4px;font-weight:800;min-width:0}
.tuile svg.i{color:var(--accent-text)}
.tuile span{color:var(--mut);font-weight:600;font-size:var(--fs-legende)}
/* Petits dessins de la page démo : aucun mot coupé au milieu.
   Le plat tient sur une ligne (points de suspension), sans image ; les tuiles passent en 1 colonne, icône à gauche. */
.apercu-demo .plat-m img{display:none}
.apercu-demo .plat-m .nom{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.apercu-demo .tuiles{grid-template-columns:minmax(0,1fr)}
.apercu-demo .tuile{flex-direction:row;align-items:center;gap:12px}
.apercu-demo .tuile span{overflow-wrap:normal}
@media (min-width:600px) and (max-width:959px){
  /* carte large : il y a la place pour 2 colonnes de tuiles */
  .apercu-demo .tuiles{grid-template-columns:repeat(2,minmax(0,1fr))}
  .apercu-demo .tuile{flex-direction:column;align-items:flex-start;gap:4px}
}
.barres{display:flex;align-items:flex-end;gap:var(--s1);height:96px}
.barres i{flex:1;background:var(--accent-soft);border-radius:8px 8px 4px 4px;display:block}
.barres i:nth-child(1){height:40%}
.barres i:nth-child(2){height:62%}
.barres i:nth-child(3){height:48%}
.barres i:nth-child(4){height:80%}
.barres i:nth-child(5){height:100%;background:var(--accent)}
.barres i:nth-child(6){height:70%}
.barres i:nth-child(7){height:55%}
@media (min-width:960px){
  .cartes-demo{grid-template-columns:repeat(3,minmax(0,1fr))}
}

/* ---------- Page 404 ---------- */
.page-introuvable{padding-bottom:var(--s8)}
.page-introuvable .groupe-boutons{margin-top:var(--s4)}
@media (min-width:960px){.page-introuvable{padding-bottom:var(--s12)}}

/* ---------- Texte long (confidentialité) : largeur de lecture de 62 caractères ---------- */
.texte-legal{display:flex;flex-direction:column;gap:var(--s2);max-width:62ch}
.texte-legal h2{font-size:24px;line-height:1.25;margin-top:var(--s4)}
.texte-legal h2:first-child{margin-top:0}
.texte-legal p{max-width:none}
.texte-legal a{overflow-wrap:break-word}
.liste-prix .prix.devis{color:var(--mut);font-weight:400;white-space:normal}
.liste-prix small.legende{display:inline-block;margin-top:2px}
