/* ===================================================================================================
   Socle commun de la série (clooock, randooom…). La DA figée de clooock V1 (version 9, 1/11/2026).
   Chaque site ajoute ses outils dans sa propre feuille ; ici, rien de propre à un outil.
   Règles d'or : deux couleurs (le blanc et la couleur de la page), pas de noir ; un seul « cadre maison »
   pour tout ce qu'on touche ; des glissements, jamais de fondu entre deux états ; tout l'outil tient sur un 13 pouces.
   =================================================================================================== */

/* ---------- Couleurs : déclarées comme couleurs, elles passent de l'une à l'autre en fondu lent ---------- */
@property --bg { syntax: '<color>'; inherits: true; initial-value: #E2462F; }
@property --white { syntax: '<color>'; inherits: true; initial-value: #FFFFFF; }
@property --frame { syntax: '<color>'; inherits: true; initial-value: rgba(255, 255, 255, .17); }
@property --frame-hi { syntax: '<color>'; inherits: true; initial-value: rgba(255, 255, 255, .27); }
:root {
  --fade: .35s cubic-bezier(.4, 0, .2, 1);
  --white: #FFFFFF;
  --f-display: 'Anton', Impact, 'Haettenschweiler', 'Arial Narrow Bold', sans-serif;
  --f-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --swift: cubic-bezier(.7, 0, .2, 1);
  --lift: clamp(14px, 5vh, 60px);
  color-scheme: light;
}
.page {
  /* La couleur du bandeau (celle de l'outil, ou celle choisie par le visiteur) : tout le site en découle.
     --dark : sa version la plus foncée, pour tout ce qui est posé sur le blanc (même teinte, jamais une autre couleur). */
  --page: var(--user, var(--tool, #D4381F));
  --dark: color-mix(in oklab, var(--page) 70%, #000000);
  --bg: var(--page);
  --tint: color-mix(in srgb, var(--bg) 9%, #FFFFFF);
  --tint-2: color-mix(in srgb, var(--bg) 16%, #FFFFFF);
  --line: color-mix(in srgb, var(--bg) 24%, #FFFFFF);
  --shadow: color-mix(in srgb, var(--bg) 38%, transparent);
  /* Le cadre maison : rectangle arrondi, couleur plus claire. Le même pour tout ce qu'on touche. */
  --frame: rgba(255, 255, 255, .17);
  --frame-hi: rgba(255, 255, 255, .27);
  --r: 16px;
  --peek: 0px; /* le bandeau va jusqu'en bas de la fenêtre ; une flèche invite à descendre */
  transition: --bg var(--fade);
}
@supports (color: oklch(from red l c h)) {
  /* Même teinte, assombrie jusqu'à une luminosité de 0,42 ; une couleur déjà foncée (nuit) reste telle quelle. */
  .page { --dark: oklch(from var(--page) min(l, .42) calc(c * min(1, .42 / l)) h); }
}
/* Sur le blanc (partie basse, carte de consentement) : textes, titres et boutons dans la version foncée ; fonds pâles tirés de la couleur du bandeau.
   Le pied de page reprend la couleur du bandeau. */
.below, .consent { --bg: var(--dark); --tint: color-mix(in srgb, var(--page) 9%, #FFFFFF); --tint-2: color-mix(in srgb, var(--page) 16%, #FFFFFF); --line: color-mix(in srgb, var(--page) 24%, #FFFFFF); --shadow: color-mix(in srgb, var(--page) 38%, transparent); }
.site-foot { --bg: var(--page); }
/* Une seule transition par couleur, là où elle est déclarée : les éléments enfants suivent sans à-coups. */
.hero, .cbar { transition: --white var(--fade), --frame var(--fade), --frame-hi var(--fade); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #FFFFFF; font-family: var(--f-body); font-size: 16px; line-height: 1.5; }
[hidden] { display: none !important; }
img, svg { max-width: 100%; }
.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; }
button, input, textarea { font: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
/* Téléphone : deux touchers rapides (« + », « + ») ne zooment plus la page ; un champ ne fait plus zoomer iPhone quand on le touche (16 px au moins). */
button, a, label, summary, [role="button"] { touch-action: manipulation; }
@media (max-width: 720px) { input, textarea, select { font-size: max(16px, 1em); } }
button:disabled { cursor: default; opacity: .5; }
:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }
.below :focus-visible, .dd-menu :focus-visible { outline-color: var(--bg); }
.site-foot :focus-visible { outline-color: var(--white); }

/* Valeurs qui changent sans rien décaler : cases de largeur fixe et « fantômes » invisibles. */
.stack { display: inline-grid; justify-items: center; align-items: center; }
.stack > * { grid-area: 1 / 1; white-space: nowrap; }
.ghost { visibility: hidden; }
.dg { display: inline-block; width: .5em; text-align: center; }
.sep { display: inline-block; }

/* ---------- Bandeau outil : tout l'écran, la même hauteur pour tous les outils ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column;
  background-color: var(--bg); color: var(--white);
  padding-block: 18px 56px;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
  --gap: clamp(22px, 4.8vh, 60px);
}
.hero--tool { min-height: min(calc(100vh - var(--peek)), 1100px); min-height: min(calc(100svh - var(--peek)), 1100px); }
.hero--tool .tool { position: static; } /* la barre des réglages se place par rapport au bandeau */

/* ---------- En-tête : logo | nom de l'outil (même police, sans gras) ; à droite, les outils dans un même cadre ---------- */
.top { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 16px; view-transition-name: top; }
.top-left { display: flex; align-items: center; gap: 18px; min-width: 0; }
.top-left .logo { flex: none; }
.top-title { margin: 0; padding-left: 18px; border-left: 1.5px solid color-mix(in srgb, var(--white) 40%, transparent); font-family: var(--f-body); font-weight: 400; font-size: 30px; letter-spacing: -.035em; text-transform: lowercase; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-right { justify-self: end; display: flex; align-items: center; gap: 8px; }
.logo { display: inline-flex; align-items: center; color: var(--white); text-decoration: none; line-height: 1; }
/* Logo : le nom ; une seule lettre est une petite roue (une au-dessus, une en dessous, estompées). */
.logo-word { --lf: 30px; display: inline-block; padding-block: .72em; font-family: var(--f-body); font-weight: 800; font-size: var(--lf); letter-spacing: -.035em; line-height: 1.1; white-space: nowrap; }
.logo-o { position: relative; display: inline-block; }
.lo-ghost { visibility: hidden; }
.lo-wheel { position: absolute; left: -.16em; right: -.16em; top: 50%; height: 2.5em; margin-top: -1.25em; overflow: hidden; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 34%, #000 66%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 34%, #000 66%, transparent 100%); }
.lo-wheel .wheel-track { position: absolute; inset: 0; }
.lo-wheel .w-item { letter-spacing: 0; }
.logo-static span { position: absolute; left: 0; right: 0; top: 50%; height: 1.1em; margin-top: -.55em; line-height: 1.1em; text-align: center; letter-spacing: 0; }
.logo-static span:nth-child(1) { transform: translateY(-.64em) scale(.84); opacity: .45; }
.logo-static span:nth-child(3) { transform: translateY(.64em) scale(.84); opacity: .45; }
.lo-wheel.ready .logo-static { display: none; }
.lang { color: var(--white); font-weight: 700; font-size: 15px; padding: 12px 8px; text-decoration: none; }
.lang:hover { text-decoration: underline; }
.icon-btn { width: 44px; height: 44px; padding: 0; border: 0; border-radius: 12px; background: var(--frame); color: var(--white); display: inline-flex; align-items: center; justify-content: center; transition: background-color .15s, transform .15s var(--ease); }
.icon-btn:hover { background: var(--frame-hi); }
.icon-btn:active { transform: scale(.94); }
[data-fullscreen] .fs-exit, .hero.is-fs [data-fullscreen] > svg:not(.fs-exit) { display: none; }
.hero.is-fs [data-fullscreen] .fs-exit { display: block; }
/* « More tools » : une roue de noms, comme la lettre du logo. Le cadre maison reste au centre, les noms y passent. */
.nav.mt { position: relative; display: flex; align-items: center; margin-right: 6px; }
.mt-wheel { position: relative; display: grid; height: 88px; font-size: 17px; font-weight: 600; cursor: pointer; touch-action: none; user-select: none; -webkit-user-select: none; outline: none; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 27%, #000 73%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 27%, #000 73%, transparent 100%); }
.mt-wheel::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 40px; margin-top: -20px; border-radius: 12px; background: var(--frame); transition: background-color .15s; }
.mt-wheel:hover::before, .mt-wheel:focus-visible::before { background: var(--frame-hi); }
.mt-wheel:focus-visible::before { box-shadow: 0 0 0 2px var(--white); }
.mt-sizer { display: grid; align-self: center; visibility: hidden; }
.mt-sizer span { grid-area: 1 / 1; height: 0; overflow: hidden; padding: 0 16px; white-space: nowrap; }
.mt-wheel .wheel-track { position: absolute; inset: 0; }
.mt-wheel .w-item:not(.is-center) { font-weight: 500; }
.show-sm { display: none !important; }
@media (min-width: 721px) and (max-width: 1180px) {
  .top-title { font-size: 24px; padding-left: 14px; }
  .top-left { gap: 14px; }
}

/* ---------- L'outil : une phrase en haut, le grand visuel, la phrase des réglages, les boutons ---------- */
.tool { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--gap); padding-top: clamp(16px, 3.2vh, 44px); text-align: center; }
.hero:not(.is-fs) main.tool { padding-bottom: var(--lift); }
.when { display: flex; flex-direction: column; align-items: center; gap: clamp(4px, 1.4vh, 16px); width: 100%; }
.lead { position: relative; z-index: 2; margin: 0; font-size: clamp(21px, 2vw, 28px); line-height: 1.5; font-weight: 500; }
.sentence { margin: 0; font-size: clamp(20px, 1.9vw, 26px); line-height: 1.5; font-weight: 500; max-width: 1040px; text-wrap: balance; }
.hint { margin: 0; font-size: 15px; }
.eyebrow { margin: 0; font-size: 15px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }

/* ---------- Choix au toucher : chaque toucher passe à l'option suivante ; le chevron ouvre la liste en roue ---------- */
.cyc { position: relative; display: inline-flex; align-items: stretch; vertical-align: baseline; line-height: 1.3; border-radius: 14px; background: var(--frame); transition: background-color .15s; }
.cyc:hover, .cyc:has(.cyc-more[aria-expanded="true"]) { background: var(--frame-hi); }
.cyc-btn, .cyc-more { border: 0; background: transparent; color: var(--white); font-weight: inherit; font-size: 1em; }
.cyc-btn { min-height: 0; padding: .1em .42em .14em; border-radius: 14px; text-align: left; white-space: nowrap; overflow: hidden; transition: width .28s var(--ease); }
.cyc-more { display: inline-flex; align-items: center; margin-left: -.15em; padding: 0 .4em 0 .1em; border-radius: 0 14px 14px 0; opacity: .85; }
.cyc-more:hover { opacity: 1; }
.cyc-btn:active { transform: scale(.98); }
.cyc-btn [data-cyc-value] { display: inline-block; }
.cyc-btn.bump [data-cyc-value] { animation: bump .28s var(--ease); }
@keyframes bump { from { transform: translateY(.35em); } }
.cyc-more .chev { width: .55em; height: .55em; min-width: 14px; min-height: 14px; transition: transform .2s var(--ease); }
.cyc-more[aria-expanded="true"] .chev { transform: rotate(180deg); }
.dd-menu { display: block; position: absolute; top: calc(100% + 8px); left: 0; z-index: 30; min-width: 100%; margin: 0; padding: 8px; background: var(--white); color: var(--bg); border-radius: 20px; box-shadow: 0 24px 64px var(--shadow); font-size: 17px; line-height: 1.3; text-align: left; white-space: nowrap; outline: none; }
.dd-opt { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px 0 12px; border-radius: 12px; cursor: pointer; font-weight: 500; }
.dd-opt .check { flex: none; visibility: hidden; }
.dd-opt[aria-selected="true"] { font-weight: 700; }
.dd-opt[aria-selected="true"] .check { visibility: visible; }
.dd-opt:hover, .dd-opt.is-active { background: var(--tint); }
/* La pop-up des outils : la même liste que les sonneries */
.modal-card.dd-card { width: min(360px, 100%); text-align: center; }
.dd-card .modal-title { margin-bottom: 18px; }
.dd-card .dd-menu { position: static; display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 0; background: none; color: var(--bg); border-radius: 0; box-shadow: none; font-size: 19px; text-align: center; }
.dd-card .dd-opt { justify-content: center; min-height: 60px; padding: 0 18px; border-radius: var(--r); background: var(--tint); font-weight: 700; transition: background-color .15s, transform .12s; }
.dd-card .dd-opt:hover, .dd-card .dd-opt.is-active { background: var(--tint-2); }
.dd-card .dd-opt[aria-selected="true"] { background: var(--bg); color: var(--white); }
.dd-card .dd-opt .check { display: none; }
#tools-modal .dd-opt { color: inherit; text-decoration: none; }
#tools-modal .dd-opt[aria-selected="true"] { color: var(--white); }
.tl-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; margin-top: 14px; }
.tl-sm { padding: 8px 4px; border: 0; background: none; color: var(--bg); font: inherit; font-weight: 700; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- Boutons : l'action principale en blanc plein, les autres dans le cadre maison ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.btn-primary, .btn-ghost { min-height: 62px; padding: 0 36px; border: 0; border-radius: var(--r); font-weight: 700; font-size: 19px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; transition: transform .12s, box-shadow .2s, background-color .15s, color .45s; }
.btn-primary { background: var(--white); color: var(--bg); }
.btn-primary:hover { box-shadow: 0 0 0 5px color-mix(in srgb, var(--white) 28%, transparent); }
.btn-ghost { background: var(--frame); color: var(--white); }
.btn-ghost:hover:not(:disabled) { background: var(--frame-hi); }
.btn-primary:active, .btn-ghost:active:not(:disabled) { transform: scale(.97); }
.btn-wide { min-width: 210px; }
/* Une seule police, une seule graisse dans l'outil ; seuls les gros chiffres se distinguent. */
.hero .tool .btn-primary, .hero .tool .btn-ghost { font-weight: 500; }
.chip-btn { min-height: 44px; padding: 0 16px; border: 0; border-radius: 12px; background: var(--frame); color: var(--white); font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; transition: background-color .15s, color .15s; }
.chip-btn:hover { background: var(--frame-hi); }
.chip-btn[aria-pressed="true"] { background: var(--white); color: var(--bg); }
.bar-sep { flex: none; width: 1.5px; height: 24px; margin: 0 4px; background: color-mix(in srgb, var(--white) 40%, transparent); }
/* Réglages : toujours au même endroit, une barre en bas du bandeau, au centre. */
.tbar { display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: 18px; background: var(--frame); transition: opacity .3s var(--ease), transform .2s var(--ease); }
.tbar .chip-btn { flex: none; background: transparent; }
.tbar .chip-btn:hover { background: var(--frame); }
.tbar .chip-btn[aria-pressed="true"] { background: var(--white); color: var(--bg); }
.tbar .chip-btn svg { flex: none; width: 18px; height: 18px; }
.tbar .chip-btn[data-mute][aria-pressed="true"] { background: transparent; color: var(--white); }
.tbar .chip-btn[data-mute][aria-pressed="false"] { opacity: .6; }

/* ---------- La roue : une valeur au centre, une au-dessus, une en dessous, estompées en dégradé ---------- */
.pk-wheel { position: relative; display: flex; align-items: center; font-family: var(--f-display); font-weight: 400; font-size: var(--pkf, 96px); line-height: 1; }
.wheel { position: relative; width: 1.24em; height: 3.4em; overflow: hidden; touch-action: none; cursor: grab; outline: none; user-select: none; -webkit-user-select: none; -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .5) 14%, #000 32%, #000 68%, rgba(0, 0, 0, .5) 86%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .5) 14%, #000 32%, #000 68%, rgba(0, 0, 0, .5) 86%, transparent 100%); }
.wheel::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.12em; margin-top: -.56em; border-radius: .14em; background: var(--frame); pointer-events: none; }
.wheel:hover::before { background: var(--frame-hi); }
.wheel.dragging { cursor: grabbing; }
.wheel:focus-visible .w-item.is-center { text-decoration: underline; text-decoration-thickness: .04em; text-underline-offset: .08em; }
.wheel-track { position: absolute; inset: 0; }
.w-item { position: absolute; left: 0; right: 0; top: 50%; height: 1.1em; margin-top: -.55em; line-height: 1.1em; text-align: center; white-space: nowrap; }
.wheel-sep { width: .32em; text-align: center; }
/* Petite roue dans une phrase (« between [1] and [100] ») */
.iw { position: relative; display: inline-block; width: 1.7em; height: 2.7em; margin: 0 .06em; vertical-align: middle; overflow: hidden; cursor: ns-resize; touch-action: none; outline: none; user-select: none; -webkit-user-select: none; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 30%, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 30%, #000 70%, transparent 100%); }
.iw::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.3em; margin-top: -.65em; border-radius: .3em; background: var(--frame); transition: background-color .15s; }
.iw:hover::before { background: var(--frame-hi); }
.iw:focus-visible { box-shadow: 0 0 0 2px var(--white); }
.iw .wheel-track { position: absolute; inset: 0; }
.iw .w-item { font-variant-numeric: tabular-nums; }

/* ---------- Pop-up : pas de carte blanche. Le contenu est posé sur le fond flouté et teinté de la couleur de la page.
   Dans la carte, les couleurs s'inversent : le blanc devient l'encre, la couleur devient le texte des boutons pleins. ---------- */
.modal { --accent: var(--bg); position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 16px; background: color-mix(in srgb, var(--accent) 44%, transparent); -webkit-backdrop-filter: blur(26px) saturate(1.5); backdrop-filter: blur(26px) saturate(1.5); color: #FFFFFF; }
.modal:not([hidden]) { animation: modal-bg .34s ease both; }
@keyframes modal-bg { from { background-color: transparent; -webkit-backdrop-filter: blur(0) saturate(1); backdrop-filter: blur(0) saturate(1); } }
.modal-x { position: fixed; top: 16px; right: max(var(--gutter, 16px), env(safe-area-inset-right, 0px)); z-index: 1; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .17); color: #FFFFFF; cursor: pointer; transition: background-color .15s, transform .15s var(--ease); }
.modal-x:hover { background: rgba(255, 255, 255, .28); }
.modal-x:active { transform: scale(.94); }
:root[data-light] .modal-x { background: color-mix(in srgb, var(--ink) 12%, transparent); color: var(--ink); }
.modal-card { --bg: #FFFFFF; --white: var(--accent); --tint: rgba(255, 255, 255, .17); --tint-2: rgba(255, 255, 255, .28); --line: rgba(255, 255, 255, .4); width: min(460px, 100%); padding: 0; background: none; color: var(--bg); text-align: left; animation: modal-in .34s var(--swift); }
:root[data-light] .page > .modal { --accent: var(--user, var(--tool)); }
:root[data-light] .modal-card { --bg: var(--ink); --tint: color-mix(in srgb, var(--ink) 12%, transparent); --tint-2: color-mix(in srgb, var(--ink) 20%, transparent); --line: color-mix(in srgb, var(--ink) 35%, transparent); }
@keyframes modal-in { from { transform: scale(.82); opacity: 0; } }
.modal-card--confirm { padding: 28px 24px 24px; text-align: center; }
.modal-title { margin: 0 0 10px; font-family: var(--f-display); font-weight: 400; font-size: clamp(30px, 5vw, 40px); line-height: 1.05; }
.modal-text { margin: 0 0 22px; font-size: 17px; line-height: 1.5; }
.modal-actions { display: flex; flex-direction: column; gap: 10px; }
.modal-actions--two { flex-direction: row; }
.m-primary, .m-ghost { min-height: 56px; padding: 0 20px; border: 0; border-radius: var(--r); font-weight: 700; font-size: 18px; transition: transform .12s, background-color .15s; }
.m-primary { background: var(--bg); color: var(--white); }
.m-ghost { background: var(--tint); color: var(--bg); }
.m-ghost:hover { background: var(--tint-2); }
.m-primary:active, .m-ghost:active { transform: scale(.97); }
.pop-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.pop-grid button, .seg button { min-height: 46px; padding: 0 2px; border: 0; border-radius: 12px; background: var(--tint); color: var(--bg); font-weight: 700; font-size: 17px; font-variant-numeric: tabular-nums; white-space: nowrap; transition: background-color .12s; }
.pop-grid button:hover, .seg button:hover { background: var(--tint-2); }
.pop-grid button[aria-pressed="true"], .seg button[aria-pressed="true"] { background: var(--bg); color: var(--white); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
/* Pastille qui glisse d'un choix à l'autre */
.has-pill:not(.tbar) { position: relative; }
.seg-pill { position: absolute; left: 0; top: 0; z-index: 0; border-radius: 12px; background: var(--pill, var(--white)); pointer-events: none; transition: transform .38s var(--swift), width .38s var(--swift), height .38s var(--swift); }
.has-pill > button { position: relative; z-index: 1; transition: color .25s, background-color .15s; }
.has-pill > button[aria-pressed="true"] { background: transparent !important; color: var(--pill-ink, var(--bg)); }
.modal-card .has-pill { --pill: var(--bg); --pill-ink: var(--white); }
/* Pop-up en roue : le fond flouté, une grande roue au milieu, un toucher au centre choisit */
.modal-card.wp-card { width: auto; min-width: min(300px, 100%); display: flex; flex-direction: column; align-items: center; text-align: center; }
.wp-card .modal-title { margin-bottom: 6px; }
.wp-wheel { position: relative; display: grid; height: 4.3em; font-size: clamp(30px, 4.2vw, 44px); font-weight: 700; letter-spacing: -.02em; line-height: 1; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; outline: none; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 30%, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 30%, #000 70%, transparent 100%); }
.wp-wheel::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.42em; margin-top: -.71em; border-radius: .3em; background: var(--tint); transition: background-color .15s; }
.wp-wheel:hover::before { background: var(--tint-2); }
.wp-wheel:focus-visible::before { box-shadow: 0 0 0 2px var(--bg); }
.wp-sizer { display: grid; align-self: center; visibility: hidden; }
.wp-sizer span { grid-area: 1 / 1; height: 0; overflow: hidden; padding: 0 .75em; white-space: nowrap; }
.wp-wheel .wheel-track { position: absolute; inset: 0; }
.wp-wheel .w-item.is-center { cursor: pointer; }
.wp-card.wp--num .wp-wheel { font-family: var(--f-display); font-weight: 400; letter-spacing: 0; font-size: clamp(60px, 9vw, 104px); }
.wp-card.wp--num .wp-sizer span { padding: 0 .5em; }
.wp-hint { margin: 10px 0 0; font-size: 14px; font-weight: 500; opacity: .72; }
.wp-extra { margin-top: 10px; }
.wp-extra:empty { display: none; }

/* ---------- Couleurs : le bouton rond en bas à droite ; la barre se déroule vers la gauche ---------- */
.theme-fab { position: relative; z-index: 2; flex: none; width: 56px; height: 56px; padding: 0; border: 0; border-radius: 50%; background: conic-gradient(from 20deg, #E2462F, #E44B87, #3359E0, #179160, #F6B92E, #E2462F); box-shadow: 0 10px 28px var(--shadow); display: flex; align-items: center; justify-content: center; transition: transform .2s var(--ease); }
.theme-fab:hover { transform: scale(1.06) rotate(-8deg); }
.theme-fab span { width: 32px; height: 32px; border-radius: 50%; background: var(--bg); border: 3px solid var(--white); transition: background-color .3s; }
.theme-fab[aria-expanded="true"] { transform: scale(.94); }
/* La palette flotte doucement sur place ; toutes les 5 secondes, deux battements de cœur, tant qu'on ne l'a pas ouverte. */
.theme-fab.pulse { animation: fab-beat 5s ease-in-out 1.5s infinite, fab-float 4.2s ease-in-out infinite; }
.theme-fab.pulse[aria-expanded="true"] { animation: none; }
@keyframes fab-beat { 0%, 17%, 100% { scale: 1; } 4% { scale: 1.17; } 8.5% { scale: 1; } 12.5% { scale: 1.12; } }
@keyframes fab-float { 0%, 100% { translate: 0 0; } 30% { translate: 1px -5px; } 65% { translate: -1px -2px; } }
.cbar { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(max(16px, env(safe-area-inset-bottom, 0px)) + var(--peek)); z-index: 60; display: flex; align-items: center; view-transition-name: cbar; pointer-events: none; }
.cbar > .theme-fab, .cbar.is-open .cbar-items { pointer-events: auto; }
/* Pas de fond : chaque pastille a son liseré blanc, les icônes sont blanches sur la couleur de la page. */
.cbar-items { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; margin-right: 12px; clip-path: inset(-12px -12px -12px 100%); visibility: hidden; transition: clip-path .5s var(--ease), visibility 0s linear .5s; }
.cbar.is-open .cbar-items { clip-path: inset(-120px -12px -12px -12px); visibility: visible; transition: clip-path .5s var(--ease), visibility 0s; }
.cb, .cb-hue, .cbar-items > .cb-light { position: relative; flex: none; transform: scale(.2); transition: transform .32s var(--ease), box-shadow .15s; }
.cbar.is-open .cb, .cbar.is-open .cb-hue, .cbar.is-open .cbar-items > .cb-light { transform: none; transition-delay: calc(var(--d, 0) * 50ms), 0s; }
.cb-hue { width: clamp(150px, 26vw, 300px); height: 40px; transform-origin: right center; }
.cb-extra { display: flex; gap: 10px; align-items: center; }
.cbar:not(.show-extra) .cb-extra { display: none; }
.cbar.show-extra .cb-extra > * { animation: pop-in .28s var(--ease) both; }
.cbar.show-extra .cb-extra > :nth-child(2) { animation-delay: 40ms; }
.cbar.show-extra .cb-extra > :first-child { animation-delay: 80ms; }
@keyframes pop-in { from { transform: scale(.2); } }
.cb { width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: var(--sw); color: var(--white); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 0 0 2.5px var(--white), 0 8px 20px var(--shadow); }
.cbar.is-open .cb:hover { transform: scale(1.12); transition-delay: 0s; }
.cb[aria-pressed="true"] { box-shadow: 0 0 0 2.5px var(--bg), 0 0 0 5.5px var(--white), 0 8px 20px var(--shadow); }
.cb--icon { background: var(--bg); }
.cb--icon svg { width: 21px; height: 21px; }
.cb.cb--fold { background: transparent; box-shadow: none; }
.cb.cb--fold svg { width: 22px; height: 22px; }
.cb.cb--more { width: 32px; height: 32px; background: var(--bg); }
.cb--more svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.cbar.show-extra .cb--more svg { transform: rotate(45deg); }
.cb.cb-bw { background: var(--bg); color: var(--white); font-family: var(--f-body); font-weight: 700; font-size: 13px; letter-spacing: .02em; }
.cb-light { flex: none; height: 40px; display: inline-flex; align-items: center; gap: 2px; padding: 0 4px; border-radius: 999px; background: var(--bg); color: var(--white); box-shadow: 0 0 0 2.5px var(--white), 0 8px 20px var(--shadow); }
.cb-light button { width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--white); display: inline-flex; align-items: center; justify-content: center; transition: background-color .15s; }
.cb-light button:hover { background: var(--frame); }
.cb-light button:active { transform: scale(.92); }
/* L'ampoule grossit et rayonne avec la luminosité de la couleur */
.cb-light > svg { opacity: .9; transform: scale(calc(.72 + var(--lum, .45) * .7)); filter: drop-shadow(0 0 calc(var(--lum, .45) * 7px) rgba(255, 255, 255, calc(var(--lum, .45) * 1.1))); transition: transform .3s var(--ease), filter .3s; }
.hex-field { flex: none; display: flex; align-items: center; height: 40px; padding: 0 10px 0 12px; border-radius: 14px; background: var(--bg); color: var(--white); box-shadow: 0 0 0 2.5px var(--white), 0 8px 20px var(--shadow); font-weight: 700; font-size: 17px; font-variant-numeric: tabular-nums; cursor: text; }
.hex-hash { opacity: .7; margin-right: 2px; }
.hex-field input { width: 5.4em; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; letter-spacing: .04em; text-transform: uppercase; outline: none; }
.hex-field:focus-within { box-shadow: 0 0 0 2.5px var(--white), 0 0 0 5.5px var(--bg), 0 8px 20px var(--shadow); }
.hue-track { position: relative; height: 44px; border-radius: 14px; touch-action: none; cursor: pointer; outline: none; box-shadow: 0 0 0 2.5px var(--white), 0 8px 20px var(--shadow); background: linear-gradient(90deg, hsl(0 80% 47%), hsl(30 80% 47%), hsl(60 80% 47%), hsl(90 80% 47%), hsl(120 80% 47%), hsl(150 80% 47%), hsl(180 80% 47%), hsl(210 80% 47%), hsl(240 80% 47%), hsl(270 80% 47%), hsl(300 80% 47%), hsl(330 80% 47%), hsl(360 80% 47%)); }
.hue-track:focus-visible { box-shadow: 0 0 0 2.5px var(--white), 0 0 0 5.5px var(--bg); }
.hue-thumb { position: absolute; top: -5px; bottom: -5px; width: 16px; margin-left: -8px; border-radius: 8px; border: 3px solid #FFFFFF; background: var(--bg); box-shadow: 0 2px 10px var(--shadow); pointer-events: none; }

/* Couleur claire (jaune, code couleur clair) : le blanc devient une encre foncée de la même teinte,
   et le texte sur fond blanc prend une version foncée de la couleur, pour rester lisible. */
:root[data-light] .hero, :root[data-light] .cbar { --white: var(--ink); --frame: color-mix(in srgb, var(--ink) 12%, transparent); --frame-hi: color-mix(in srgb, var(--ink) 20%, transparent); }


/* ---------- Plein écran : seul l'outil reste ; les réglages apparaissent au mouvement, repartent après 1,5 s ---------- */
.hero.is-fs { position: fixed; inset: 0; z-index: 100; min-height: 0; justify-content: center; }
.hero.is-fs .lang, .hero.is-fs .logo, .hero.is-fs .nav, .hero.is-fs .top-title, .hero.is-fs [data-voice], .hero.is-fs .sentence, .hero.is-fs .hint, .hero.is-fs .eyebrow { display: none; }
/* Plein écran : les réglages de l'outil (styles, options) restent à portée, juste au-dessus de la barre taille / citations / son ;
   ils partent avec elle quand la souris ne bouge plus. */
.hero.is-fs .tbar { display: flex; position: absolute; left: 50%; bottom: 86px; z-index: 3; width: max-content; max-width: calc(100vw - 32px); transform: translateX(-50%); transition: transform .2s var(--ease); }
.hero.is-fs.fs-idle .tbar { transform: translate(-50%, calc(100% + 140px)); }
.hero.is-fs .top { position: absolute; top: 16px; right: max(var(--gutter), env(safe-area-inset-right, 0px)); transition: transform .2s var(--ease); }
.hero.is-fs .tool { flex: 0; position: static; }
.fs-bar { display: none; }
.hero.is-fs .fs-bar { display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: 18px; background: var(--frame); position: absolute; left: 50%; bottom: 28px; width: max-content; max-width: calc(100vw - 32px); transform: translateX(-50%); transition: transform .2s var(--ease); }
.fs-bar .chip-btn { background: transparent; }
.fs-bar .chip-btn:hover { background: var(--frame); }
.fs-bar .chip-btn[data-mute] { color: var(--white); }
.fs-bar .chip-btn[data-mute][aria-pressed="false"], .fs-bar .chip-btn[data-quotes-toggle][aria-pressed="false"] { opacity: .6; }
.fs-bar .chip-btn[data-quotes-toggle][aria-pressed="true"] { background: var(--white); color: var(--bg); }
.hero.is-fs.fs-idle .fs-bar { transform: translate(-50%, calc(100% + 48px)); }
.hero.is-fs.fs-idle .top { transform: translateY(calc(-100% - 32px)); }
.hero.is-fs.fs-idle { cursor: none; }
.fs-hint { position: absolute; left: 50%; top: 22px; z-index: 5; margin: 0; padding: 10px 18px; border-radius: 14px; background: var(--white); color: var(--bg); font-weight: 700; font-size: 15px; white-space: nowrap; transform: translate(-50%, -160%); transition: transform .25s var(--ease); pointer-events: none; }
.hero:not(.is-fs) .fs-hint { visibility: hidden; }
.hero.is-fs.fs-hint-on .fs-hint { transform: translate(-50%, 0); }

/* Bulle « Appuyez sur F pour le plein écran » : glisse du haut à l'arrivée sur un outil et reste 4 s (core.js). Ordinateur seulement. */
.key-hint { position: absolute; left: 50%; top: 16px; z-index: 7; display: none; align-items: center; gap: 10px; margin: 0; padding: 8px 16px; border-radius: 16px; background: var(--white); color: var(--bg); font-weight: 700; font-size: 15px; line-height: 1; white-space: nowrap; box-shadow: 0 6px 18px var(--shadow); transform: translate(-50%, calc(-100% - 40px)); transition: transform .5s var(--swift); pointer-events: none; }
.key-hint kbd { display: inline-grid; place-items: center; min-width: 32px; height: 32px; padding: 0 9px; box-sizing: border-box; border-radius: 9px; background: color-mix(in srgb, var(--bg) 12%, transparent); box-shadow: inset 0 -3px 0 color-mix(in srgb, var(--bg) 24%, transparent); color: var(--bg); font: 400 19px/1 var(--f-display); }
@media (hover: hover) and (pointer: fine) { .key-hint { display: inline-flex; } }
.hero.key-hint-on:not(.is-fs) .key-hint { transform: translate(-50%, 0); }

/* Plein écran au repos, outil à l'arrêt : autour du visuel tout s'efface en glissant (fs-gone, posé par core.js), le visuel glisse au milieu. */
.hero.is-fs main.tool .fs-gone { transition: clip-path .45s var(--swift), translate .45s var(--swift), transform .45s var(--swift); }
.hero.is-fs.fs-idle main.tool .fs-gone { clip-path: inset(0 0 100% 0); translate: 0 -12px; pointer-events: none; }
/* Bouton de style (barre du plein écran et barres d'outil) : caché tant que l'outil n'a pas déclaré ses styles (faces) ; le nom du style
   en cours et une petite flèche. Un toucher passe au suivant, la flèche ouvre la liste. */
.fs-bar .face-btn, .tbar [data-face] { display: inline-flex; align-items: center; gap: 2px; }
.fs-bar .face-btn[hidden], .tbar [data-face][hidden] { display: none; }
[data-face] .face-chev { flex: none; width: 14px; height: 14px; margin: 0 -6px 0 2px; padding: 5px; box-sizing: content-box; border-radius: 8px; }
@media (hover: hover) { [data-face] .face-chev:hover { background: var(--frame); } }
.face-menu { position: fixed; z-index: 140; display: flex; flex-direction: column; gap: 2px; min-width: 150px; padding: 6px; box-sizing: border-box; border-radius: 16px; background: var(--bg); color: var(--white); box-shadow: 0 0 0 1px var(--frame), 0 14px 34px var(--shadow); animation: face-menu-in .22s var(--ease); }
.face-menu[hidden] { display: none; }
.face-menu .chip-btn { justify-content: flex-start; width: 100%; }
@keyframes face-menu-in { from { clip-path: inset(100% 0 0 0 round 16px); translate: 0 8px; } to { clip-path: inset(0 round 16px); translate: 0 0; } }
/* Téléphone : la barre du plein écran ne tenait pas dans la largeur : les icônes ne rétrécissent plus, chaque bouton garde 44 px de large,
   le mot « Taille » ne s'affiche pas ; le style garde son nom, sans la flèche. Les barres d'outil n'ont pas le bouton de style au téléphone :
   il est dans la barre du plein écran (une barre de plus ne tenait pas sur une ligne). */
.fs-bar .chip-btn svg { flex: none; }
@media (max-width: 720px) {
  .hero.is-fs .fs-bar { gap: 2px; }
  .fs-bar .chip-btn { min-width: 44px; padding: 0 12px; justify-content: center; }
  .fs-bar .size-lbl, [data-face] .face-chev { display: none; }
  .tbar [data-face] { display: none !important; }
}

/* Citation du plein écran au téléphone : plus large (le seul bouton du haut est à droite), donc moins de lignes. */
@media (max-width: 720px) { .hero.is-fs:not(.hero--clock) .fs-quote { width: calc(100vw - 128px); } }

/* Téléphone en plein écran : pas de bouton des couleurs (il gênait la barre de l'outil). */
@media (max-width: 720px) { .hero.is-fs ~ .cbar:not(.is-open) { display: none; } }
.fs-lock, .fs-lock body { overflow: hidden; }
.hero.is-fs ~ .cbar { z-index: 120; transition: transform .25s var(--ease), opacity .25s; }
.hero.is-fs.fs-idle ~ .cbar:not(.is-open) { transform: translateY(calc(100% + 40px)); opacity: 0; pointer-events: none; }
.page:has(.cbar.is-open) .hero.is-fs .fs-bar { transform: translate(-50%, calc(100% + 48px)); }
.hero.is-fs .zoomable > * { zoom: var(--cs, 1); }
.size-lbl { padding: 0 4px; font-weight: 700; font-size: 14px; white-space: nowrap; }
.chip-btn.bump { animation: nudge .3s var(--ease); }
@keyframes nudge { 30% { transform: translateX(3px); } 60% { transform: translateX(-3px); } }
/* Une citation discrète sous l'outil, en plein écran ; elle glisse vers la suivante. */
.fs-quote { display: none; }
.hero.is-fs .fs-quote { display: block; position: absolute; top: 24px; left: 50%; width: min(720px, calc(100vw - 200px)); min-height: 3.4em; margin: 0; overflow: hidden; text-align: center; opacity: .82; pointer-events: none; transform: translateX(-50%); }
.fs-quote-in { display: block; transition: transform .55s var(--swift); }
.fs-quote-in.is-out { transform: translateY(-130%); }
.fs-quote-in.is-below { transform: translateY(130%); transition: none; }
.fsq-text { display: block; font-size: 16px; font-style: italic; font-weight: 500; line-height: 1.4; text-wrap: balance; }
.fs-quote figcaption { margin-top: 3px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hero.no-quotes .fs-quote { visibility: hidden; }

/* ---------- Mode concentré : l'outil tourne, les réglages s'effacent ; on touche ou on bouge, ils reviennent ---------- */
.hero .top, .hero .tbar, .hero .scroll-down, .cbar { transition: opacity .6s ease, transform .2s var(--ease); }
.hero.live-idle .top, .hero.live-idle .tbar, .hero.live-idle .scroll-down, .page:has(.hero.live-idle) .cbar:not(.is-open) { opacity: 0; pointer-events: none; }
.hero.live-idle { cursor: none; }

/* ---------- Changement d'onglet : toute la page glisse, vite, sans fondu ; l'en-tête ne bouge pas ---------- */
@view-transition { navigation: auto; }
::view-transition { background-color: var(--canvas, transparent); }
::view-transition-old(root), ::view-transition-new(root) { mix-blend-mode: normal; animation-duration: .34s; animation-timing-function: cubic-bezier(.65, 0, .25, 1); animation-fill-mode: both; }
::view-transition-old(root) { animation-name: vt-out; }
::view-transition-new(root) { animation-name: vt-in; }
html:active-view-transition-type(back)::view-transition-old(root) { animation-name: vt-out-back; }
html:active-view-transition-type(back)::view-transition-new(root) { animation-name: vt-in-back; }
::view-transition-group(top), ::view-transition-group(cbar), ::view-transition-new(top), ::view-transition-new(cbar) { animation: none; }
::view-transition-old(top), ::view-transition-old(cbar) { animation: none; opacity: 0; }
@keyframes vt-out { to { transform: translateX(-100%); } }
@keyframes vt-in { from { transform: translateX(100%); } }
@keyframes vt-out-back { to { transform: translateX(100%); } }
@keyframes vt-in-back { from { transform: translateX(-100%); } }

/* Flèche pour descendre vers la suite de la page */
.scroll-down { position: absolute; left: 50%; bottom: 14px; z-index: 3; width: 44px; height: 44px; margin-left: -22px; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--white); opacity: .8; animation: nudge-down 2.6s var(--ease) infinite; transition: opacity .15s; }
.scroll-down:hover { opacity: 1; }
@keyframes nudge-down { 0%, 60%, 100% { transform: none; } 75% { transform: translateY(6px); } }
.hero.is-fs .scroll-down { display: none; }
/* Partager et Widget : en bas à gauche du bandeau, en face de la palette, à la même hauteur qu'elle (pas dans l'en-tête).
   Ordinateur : l'icône et le mot ; téléphone : l'icône seule. Ils s'effacent en plein écran et en mode concentré. */
.hero-acts { position: absolute; left: max(var(--gutter, 24px), env(safe-area-inset-left, 0px)); bottom: calc(max(16px, env(safe-area-inset-bottom, 0px)) + 6px); z-index: 4; display: flex; align-items: center; gap: 8px; }
.act-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; min-width: 44px; padding: 0 14px 0 12px; border: 0; border-radius: 14px; background: var(--frame); color: var(--white); font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; transition: background-color .15s, transform .15s var(--ease), opacity .6s ease; -webkit-tap-highlight-color: transparent; }
.act-btn:hover { background: var(--frame-hi); }
.act-btn:active { transform: scale(.94); }
.act-btn svg { flex: none; }
.hero.is-fs .hero-acts { display: none; }
.hero.live-idle .act-btn { opacity: 0; pointer-events: none; }
@media (max-width: 720px) {
  .hero-acts { left: 12px; bottom: calc(max(16px, env(safe-area-inset-bottom, 0px)) + 3px); gap: 6px; }
  .act-btn { padding: 0; width: 44px; }
  .act-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

/* ---------- Partie basse : le blanc et la couleur de la page ---------- */
.below { background: var(--white); color: var(--bg); transition: color .45s ease; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.narrow { max-width: 900px; }
.band { padding-block: clamp(48px, 7vw, 88px); }
.band--how { padding-bottom: clamp(32px, 4vw, 48px); }
.band--ad { padding-block: 8px; }
.band--content { padding-top: clamp(32px, 4vw, 48px); }
.band--faq { background: var(--tint); }
.section-title { margin: 0 0 28px; font-family: var(--f-display); font-weight: 400; font-size: clamp(38px, 5vw, 60px); line-height: 1.02; text-wrap: balance; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0 0 22px; padding: 0; font-size: 14px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.crumbs a { color: var(--bg); text-underline-offset: 3px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.steps li { padding: 26px 24px 28px; border-radius: 24px; background: var(--tint); }
.steps .num { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; margin-bottom: 18px; border-radius: 50%; background: var(--bg); color: var(--white); font-family: var(--f-display); font-size: 24px; }
.steps h3 { margin: 0 0 8px; font-size: 21px; line-height: 1.25; }
.steps p { margin: 0; font-size: 16px; line-height: 1.55; }
.ad { width: 100%; margin-inline: auto; border: 2px dashed var(--line); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.ad--leader { max-width: 728px; height: 90px; }
.ad--rect { max-width: 300px; height: 250px; }
.ad--sky { max-width: 300px; height: 600px; }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.cols:not(:has(.side)) { grid-template-columns: minmax(0, 1fr); }
.side { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 24px; }
.content { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.content h2 { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(36px, 4.6vw, 54px); line-height: 1.04; text-wrap: balance; }
.content h2:not(:first-child) { margin-top: 34px; }
.content h3 { margin: 22px 0 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(26px, 3vw, 32px); line-height: 1.1; }
.content p, .content ul, .content ol { margin: 0; font-size: 18px; line-height: 1.65; max-width: 68ch; }
.content ul, .content ol { padding-left: 1.2em; display: flex; flex-direction: column; gap: 6px; }
.content li b { font-weight: 700; }
.content a { color: var(--bg); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.content .note { font-size: 15px; }
.table-wrap { max-width: 100%; overflow-x: auto; border-radius: 20px; border: 2px solid var(--line); }
.content table { width: 100%; border-collapse: collapse; font-size: 17px; }
.content th { padding: 14px 20px; background: var(--tint); text-align: left; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.content td { padding: 14px 20px; border-top: 1px solid var(--line); vertical-align: top; }
.content td:first-child { font-weight: 700; }
.faq { border-top: 3px solid var(--bg); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; list-style: none; cursor: pointer; font-size: clamp(18px, 2vw, 21px); font-weight: 700; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.plus { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--bg); }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2.5px; margin: -1.25px 0 0 -7px; border-radius: 2px; background: var(--white); }
.plus::after { transform: rotate(90deg); transition: transform .25s var(--ease); }
.faq details[open] .plus::after { transform: rotate(0deg); }
.faq details p { margin: 0 0 24px; max-width: 68ch; font-size: 17px; line-height: 1.65; }
.tool-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.tool-card { position: relative; display: flex; flex-direction: column; gap: 6px; min-height: 196px; padding: 24px 24px 70px; border-radius: 24px; background: var(--tint); color: var(--bg); text-decoration: none; transition: transform .2s var(--ease), background-color .2s, color .2s; }
.tool-card b { font-family: var(--f-display); font-weight: 400; font-size: clamp(26px, 2.4vw, 32px); line-height: 1.04; }
.tool-card span { font-size: 16px; line-height: 1.4; }
.tool-card svg { position: absolute; left: 24px; bottom: 24px; transition: transform .2s var(--ease); }
.tool-card:hover { transform: translateY(-4px); background: var(--bg); color: var(--white); }
.tool-card:hover svg { transform: translateX(6px); }
.site-foot { background: var(--bg); color: var(--white); padding-block: 64px 28px; }
.site-foot .logo-word { --lf: 48px; padding-block: .3em; }
.foot-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; margin-bottom: 40px; }
.foot-top p { margin: 0; }
.foot-cols { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid color-mix(in srgb, var(--white) 30%, transparent); }
.foot-h { margin: 0 0 14px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.foot-links { display: grid; gap: 4px 16px; }
.foot-links a { padding: 5px 0; color: var(--white); font-size: 15px; text-decoration: none; }
.foot-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 24px; font-size: 14px; }
.foot-bottom p { margin: 0; }
.foot-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot-bottom a { color: var(--white); }
:root[data-light] .site-foot { --white: var(--ink); }
/* Une idée pour améliorer l'outil (ampoule) */
.band--idea { padding-block: 8px clamp(32px, 4vw, 48px); }
.idea { display: flex; align-items: center; gap: 20px; padding: 22px 24px; border-radius: 24px; background: var(--tint); }
.idea-icon { flex: none; width: 56px; height: 56px; border-radius: 16px; background: var(--bg); color: var(--white); display: inline-flex; align-items: center; justify-content: center; }
.idea-body { flex: 1; min-width: 0; }
.idea-title { margin: 0 0 4px; font-family: var(--f-display); font-weight: 400; font-size: clamp(24px, 2.6vw, 30px); line-height: 1.1; }
.idea-body p { margin: 0; font-size: 16px; line-height: 1.5; }
.idea-btn { flex: none; min-height: 50px; padding: 0 20px; border: 0; border-radius: 14px; background: var(--bg); color: var(--white); font-weight: 700; font-size: 16px; transition: transform .12s; }
.idea-btn:active { transform: scale(.97); }
.modal-card .idea-icon { margin: 0 auto 14px; }
.idea-text { display: block; width: 100%; margin: 0 0 14px; padding: 14px 16px; border: 0; border-radius: 14px; background: var(--tint); color: var(--bg); font: inherit; font-size: 17px; line-height: 1.4; resize: vertical; }
.idea-text::placeholder { color: color-mix(in srgb, var(--bg) 65%, transparent); }
.idea-text:focus-visible { outline: 3px solid var(--bg); outline-offset: 2px; }
.idea-thanks { margin: 14px 0 0; font-weight: 700; }
/* Micro : une fenêtre qui écoute */
.modal-card--voice { display: flex; flex-direction: column; align-items: center; }
.voice-orb { position: relative; flex: none; width: 96px; height: 96px; margin: 6px 0 20px; padding: 0; border: 0; border-radius: 50%; background: var(--bg); color: var(--white); display: flex; align-items: center; justify-content: center; transition: transform .15s var(--ease), background-color .2s; }
.voice-orb:active { transform: scale(.95); }
.voice-orb svg { position: relative; width: 40px; height: 40px; }
.voice-rings, .voice-rings i { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; }
.voice-rings i { border: 3px solid var(--bg); opacity: 0; }
.is-listening .voice-rings i { animation: voice-ring 1.8s ease-out infinite; }
.is-listening .voice-rings i:nth-child(2) { animation-delay: .9s; }
@keyframes voice-ring { from { transform: scale(1); opacity: .55; } to { transform: scale(1.75); opacity: 0; } }
.voice-title { margin-bottom: 8px; }
.voice-said { width: 100%; min-height: 2.6em; margin: 0 0 8px; font-size: 21px; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.voice-hint { min-height: 2.9em; margin: 0; font-size: 15px; line-height: 1.45; opacity: .8; }
.voice-orb .voice-ok, .is-ok .voice-orb .voice-mic { display: none; }
.is-ok .voice-orb .voice-ok { display: block; }
.is-typed .voice-said:empty { display: none; }
.is-typed .voice-hint { min-height: 0; }
.voice-form { display: flex; gap: 8px; width: 100%; margin-top: 18px; }
.voice-input { flex: 1; min-width: 0; min-height: 56px; padding: 0 16px; border: 0; border-radius: var(--r); background: var(--tint); color: var(--bg); font: inherit; font-size: 17px; }
.voice-input::placeholder { color: color-mix(in srgb, var(--bg) 60%, transparent); }
.voice-input:focus-visible { outline: 3px solid var(--bg); outline-offset: 2px; }
.voice-form .m-primary { flex: none; min-width: 76px; }
/* Pages simples (mentions légales, confidentialité) */
.hero--page { padding-bottom: 48px; }
.hero--page .tool { justify-content: flex-start; padding-top: clamp(24px, 6vh, 64px); }
.hero--page .page-title { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(48px, 9vw, 96px); line-height: 1; }

/* ---------- Grands écrans : la barre des réglages en bas du bandeau, au centre ---------- */
@media (min-width: 721px) {
  .hero--tool { padding-bottom: 136px; }
  .hero--tool.hero--nobar:not(.is-fs) { padding-bottom: 64px; }
  .hero .tbar { position: absolute; left: 50%; bottom: 66px; z-index: 3; width: max-content; max-width: calc(100vw - 32px); transform: translateX(-50%); }
  .hero.is-fs { padding-block: 18px; }
}
/* Écrans d'ordinateur bas (13 pouces) : tout l'outil tient dans un seul écran. */
@media (min-width: 721px) and (max-height: 900px) {
  .hero { --gap: clamp(18px, 4.2vh, 40px); }
  .hero:not(.hero--tool) { padding-bottom: 28px; }
  .btn-primary, .btn-ghost { min-height: 54px; font-size: 18px; }
}
@media (min-width: 721px) and (max-height: 720px) {
  .hero { --gap: clamp(12px, 3.4vh, 26px); }
  .tool { padding-top: 10px; }
}

/* ---------- Téléphone : une seule ligne d'en-tête ; le logo à gauche, le nom de l'outil au centre ---------- */
@media (max-width: 720px) {
  .hero { padding-bottom: 70px; --gap: clamp(18px, 3.6vh, 34px); }
  .top { grid-template-columns: auto minmax(0, 1fr) auto; gap: 6px 8px; }
  .top-left { display: contents; }
  .top-title { grid-column: 2; justify-self: center; max-width: 100%; padding-left: 0; border-left: 0; font-size: 15px; line-height: 1.12; text-align: center; white-space: normal; text-wrap: balance; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .top-right { grid-column: 3; gap: 6px; }
  .top-right .lang, .hide-sm { display: none !important; }
  .show-sm { display: inline-flex !important; }
  .top-right .icon-btn { width: 38px; height: 38px; }
  .logo-word { --lf: 23px; }
  .nav.mt { margin: 0; overflow: visible; }
  .mt-wheel { font-size: 14px; }
  .mt-sizer span { padding: 0 10px; }
  .tool { padding-top: 20px; }
  .lead { font-size: 21px; }
  .sentence { font-size: 19px; }
  .btn-primary, .btn-ghost { min-height: 56px; padding: 0 22px; font-size: 17px; }
  .actions { width: 100%; }
  .btn-wide { min-width: 0; flex: 1 1 140px; }
  .hero .tbar { flex-wrap: wrap; justify-content: center; row-gap: 2px; max-width: 100%; }
  .tbar .bar-sep { display: none; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .cols { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .side { position: static; }
  .ad--sky { display: none; }
  .foot-cols { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .theme-fab { width: 50px; height: 50px; }
  .theme-fab span { width: 28px; height: 28px; }
  .cb { width: 36px; height: 36px; }
  .cbar-items { gap: 8px; margin-right: 10px; }
  .cb-hue { width: calc(100vw - 260px); min-width: 90px; }
  .cb-light button { width: 28px; height: 28px; }
  .cb-extra { position: absolute; left: 0; bottom: calc(100% + 14px); gap: 9px; }
  .scroll-down { bottom: 8px; }
  .idea { flex-direction: column; align-items: flex-start; }
  .idea-btn { width: 100%; }
  .hero.is-fs main.tool { width: 100%; padding-inline: 16px; }
  .hero.is-fs .fs-hint { display: none; }
  .hero.is-fs ~ .cbar { bottom: calc(max(16px, env(safe-area-inset-bottom, 0px)) + 84px); }
}
@media (max-width: 720px) and (max-height: 720px) {
  .hero { --gap: clamp(12px, 2.6vh, 22px); }
  .hero .tool { padding-top: 8px; }
}
@media (hover: none) { .hero.is-fs .fs-hint { display: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}

/* ---------- Widget (page d'intégration, /embed/…) : seul le bandeau de l'outil, sans en-tête ni partie basse ----------
   La couleur vient de l'adresse (?c=RRGGBB, theme.js). Un petit lien en bas à droite mène à la page de l'outil. */
.is-embed .top, .is-embed .below, .is-embed .cbar, .is-embed .consent, .is-embed .hero-acts, .is-embed .scroll-down, .is-embed .lang-hint { display: none !important; }
.is-embed .hero { min-height: 100vh; min-height: 100svh; padding-top: 14px; padding-bottom: 44px; }
.embed-credit { position: absolute; right: 10px; bottom: 8px; z-index: 5; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 10px; background: var(--frame); color: var(--white); font-family: var(--f-body); font-weight: 700; font-size: 13px; text-decoration: none; transition: background-color .15s; }
.embed-credit:hover { background: var(--frame-hi); }
.hero.is-fs .embed-credit, .hero.live-idle .embed-credit { opacity: 0; pointer-events: none; }
/* Le bloc « Mets n'importe quel outil sur ton site » de l'accueil : même dessin que l'ampoule, le bouton est un lien. */
a.idea-btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
/* Dans un widget, rien ne mène hors du widget : pas de partage. */
.is-embed [data-share] { display: none !important; }
