/* switcheyes.com — papier, encre, bleu, citron ; Readex Pro pour le latin et l'arabe. Mobile d'abord. */
:root {
  --papier: #FFFFFF; --blanc: #FFFFFF; --encre: #101114; --texte: #303238; --gris: #555960; --trait: #DDE0E6;
  --doux: #F3F4F6; --bleu: #2854C5; --bleu-f: #1F44A6; --bleu-pale: #F3F4F6; --citron: #DFFF00; --rouge: #B42318;
  --sahara: #FFFFFF; --atlas: #F3F4F6; --andalous: #F3F4F6;
  --f: 'Readex Pro', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
  --gout: 16px; --r: 4px; --large: 1240px; --tete: 64px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--tete) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--papier); color: var(--encre); font: 400 16px/1.6 var(--f); }
[dir="rtl"] body { font-size: 17px; line-height: 1.75; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--bleu); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; top: 8px; inset-inline-start: 16px; z-index: 50; background: var(--encre); color: #fff; padding: 8px 12px; border-radius: 8px; }
.skip:not(:focus) { width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Boutons et liens */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .35em; min-height: 48px; padding: 12px 24px;
  border: 0; border-radius: 999px; font: 600 16px/1.2 var(--f); text-decoration: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent; transition: background-color .15s; }
.btn-bleu { background: var(--bleu); color: #fff; }
.btn-bleu:active { background: var(--bleu-f); }
.btn-bleu:disabled { background: var(--gris); cursor: default; }
.btn-grand { width: 100%; min-height: 54px; font-size: 17px; }
.btn-petit { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.lien { color: var(--bleu); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .btn-bleu:hover:not(:disabled) { background: var(--bleu-f); }
  .btn-ligne:hover { background: var(--doux); }
  .lien:hover { color: var(--bleu-f); }
  .nav a:hover { color: var(--bleu); }
  .langue-m:hover { color: var(--bleu-f); }
  .carte:hover .carte-n { color: var(--bleu); }
  .ch-g:hover:not([aria-pressed="true"]) { border-color: var(--encre); }
  .carte:hover .carte-photo > img:first-child, .carte:hover .carte-pastille img { transform: scale(1.03); }
  summary:hover { color: var(--bleu); }
}

/* Bandeau Maroc : en haut de page, ne suit pas le défilement */
.bandeau { margin: 0; padding: 7px var(--gout); background: var(--encre); color: var(--papier); font-size: 13px; line-height: 1.4; text-align: center; text-wrap: balance; }

/* En-tête */
.tete { position: sticky; top: 0; z-index: 20; background: var(--blanc); border-bottom: 1px solid var(--trait); }
.tete-in { max-width: var(--large); margin: 0 auto; padding: 0 var(--gout); min-height: var(--tete); display: flex; align-items: center; gap: 12px; }
.marque { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-inline-end: auto; min-width: 0; }
.m-symb { width: 46px; height: auto; flex: none; }
.m-txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.m-mot { height: 15px; width: auto; }
.m-ar { font-weight: 600; font-size: 20px; line-height: 1; }
.m-desc { font-size: 11.5px; line-height: 1; color: var(--gris); white-space: nowrap; }
[dir="rtl"] .m-desc { font-size: 12.5px; }
.nav { display: none; }
.nav.ouvert { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--blanc);
  border-bottom: 1px solid var(--trait); padding: 4px var(--gout) 16px; box-shadow: 0 12px 24px rgba(23, 27, 26, .08); }
.nav a { padding: 13px 0; text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--doux); }
.nav a.langue { display: none; border: 0; color: var(--bleu); }
.langue-m { display: inline-flex; align-items: center; justify-content: center; flex: none; min-width: 44px; min-height: 44px; padding: 0 6px;
  color: var(--bleu); font-weight: 600; font-size: 14px; line-height: 1; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.burger { flex: none; width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; padding: 0; margin-inline-end: -10px;
  background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.burger i { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--encre); transition: transform .2s; }
.burger[aria-expanded="true"] i:first-of-type { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] i:last-of-type { transform: translateY(-4px) rotate(-45deg); }
/* Téléphone : marque complète + langue + menu ; « Commander » reste au héros et dans la barre du bas */
@media (max-width: 479px) { .tete .btn-petit { display: none; } }

/* Héros : la teinte portée, le choix, le prix */
.heros { max-width: var(--large); margin: 0 auto; padding: 20px var(--gout) 44px; display: grid; gap: 18px;
  grid-template-areas: "texte" "photo" "choix"; grid-template-columns: minmax(0, 1fr); }
.heros-texte { grid-area: texte; display: flex; flex-direction: column; gap: 6px; }
h1 { font-weight: 700; font-size: clamp(2.1rem, 9vw, 3.75rem); line-height: 1.02; letter-spacing: -.025em; }
[dir="rtl"] h1 { letter-spacing: 0; line-height: 1.3; }
.sous { font-size: 17px; color: var(--gris); max-width: 34ch; }
.heros-photo { grid-area: photo; position: relative; }
.oeil { margin: 0; position: relative; aspect-ratio: 3 / 2; border-radius: var(--r); overflow: hidden; background: var(--doux); }
.oeil img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.oeil-img { transition: opacity .25s; }
.oeil.change .oeil-img { opacity: .4; }
.oeil-nu { opacity: 0; transition: opacity .3s; }
.oeil.nu .oeil-nu { opacity: 1; }
.oeil figcaption { position: absolute; bottom: 10px; inset-inline-end: 10px; font-size: 11px; line-height: 1; color: #fff;
  background: rgba(23, 27, 26, .5); padding: 5px 9px; border-radius: 999px; }
.bascule { position: absolute; top: 10px; inset-inline-start: 10px; display: flex; align-items: center; gap: 10px; min-height: 44px;
  padding-block: 6px; padding-inline: 6px 14px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .94);
  color: var(--encre); font: 500 14px/1 var(--f); cursor: pointer; box-shadow: 0 1px 3px rgba(23, 27, 26, .12);
  -webkit-tap-highlight-color: transparent; }
.bascule-piste { position: relative; flex: none; width: 54px; height: 30px; border-radius: 999px; background: var(--encre); transition: background-color .2s; }
.bascule-iris { position: absolute; top: 4px; inset-inline-start: 28px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--citron); transition: inset-inline-start .2s, background-color .2s; }
.bascule-iris::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--encre); }
.bascule[aria-checked="false"] .bascule-piste { background: #A9B0AC; }
.bascule[aria-checked="false"] .bascule-iris { inset-inline-start: 4px; background: var(--papier); }
.medaillon { position: absolute; bottom: -22px; inset-inline-start: 14px; width: 64px; height: 64px; border-radius: 50%;
  border: 3px solid var(--blanc); background: var(--blanc); box-shadow: 0 2px 10px rgba(23, 27, 26, .2); }
.heros-choix { grid-area: choix; display: flex; flex-direction: column; gap: 16px; padding-top: 14px; min-width: 0; }
.teinte-active { display: flex; flex-direction: column; gap: 2px; }
.teinte-nom { font-size: 24px; font-weight: 600; line-height: 1.25; }
.tn-ar { font-size: 19px; font-weight: 400; color: var(--gris); margin-inline-start: 4px; }
.teinte-gamme { font-size: 14px; color: var(--gris); }
.te { color: var(--bleu); font-weight: 500; }
.chips { border: 0; margin: 0; padding: 0; min-width: 0; }
.ch-gammes { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
@media (max-width: 719px) {
  .ch-gammes { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gout)); padding: 2px var(--gout); scrollbar-width: none; scroll-padding-inline: var(--gout); }
  .ch-gammes::-webkit-scrollbar { display: none; }
  .ch-g { flex: none; }
}
.ch-g { min-height: 36px; padding: 0 13px; border: 1px solid var(--trait); border-radius: 999px; background: var(--blanc); font: 500 14px/1.2 var(--f);
  color: var(--texte); white-space: nowrap; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background-color .15s, border-color .15s; }
.ch-g[aria-pressed="true"] { background: var(--encre); border-color: var(--encre); color: var(--blanc); }
.ch-g:focus-visible { outline: 3px solid var(--bleu); outline-offset: 2px; }
.chips-rail { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px 4px; align-content: start; min-height: 152px; }  /* deux rangées : pas de saut entre collections */
.chips-rail.rail-1, .rg-ts.rail-1 { min-height: 0; }  /* page d'une couleur : une seule collection, pas de saut à prévenir */
.chip[hidden] { display: none; }
.t-bientot { margin-inline-start: 4px; padding: 2px 8px; border-radius: 999px; background: var(--encre); color: var(--papier); font-size: 12px; font-weight: 500; }
.t-bientot[hidden] { display: none; }
.chip { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.chip input { position: absolute; top: 0; opacity: 0; width: 1px; height: 1px; }
.chip-o { width: 100%; max-width: 54px; aspect-ratio: 1; padding: 3px; border: 2px solid transparent; border-radius: 50%; transition: border-color .15s; }
.chip-o img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.chip input:checked + .chip-o { border-color: var(--encre); }
.chip input:focus-visible + .chip-o { outline: 3px solid var(--bleu); outline-offset: 1px; }
.chip-n { font-size: 10.5px; line-height: 1.2; color: var(--gris); white-space: nowrap; letter-spacing: -.01em; }
.chip input:checked ~ .chip-n { color: var(--encre); font-weight: 600; }
[dir="rtl"] .chip-n { font-size: 12px; letter-spacing: 0; }
.heros-cta { display: flex; flex-direction: column; gap: 12px; }
.prix-ligne { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.prix { font-size: 20px; font-weight: 600; }
.cta-note { font-size: 14px; color: var(--gris); }
.liens-heros { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; font-size: 14px; }
.btn-ligne { background: var(--blanc); color: var(--encre); box-shadow: inset 0 0 0 1.5px var(--encre); }
.btn-ligne:active { background: var(--doux); }

/* Essayage (/essayer/) : la vue 4:3 des yeux, ses boutons, l'état de chargement */
.essai-vue { margin: 0; position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--doux); }
.essai-repli, .essai-toile { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.essai-toile { opacity: 0; transition: opacity .25s; }
.essai-vue.pret .essai-toile { opacity: 1; }
.essai-toile.miroir { transform: scaleX(-1); }
.essai-video { position: absolute; top: 0; left: 0; width: 2px; height: 2px; opacity: 0; pointer-events: none; }
.essai-vue figcaption { position: absolute; bottom: 10px; inset-inline-end: 10px; font-size: 11px; line-height: 1; color: #fff;
  background: rgba(23, 27, 26, .5); padding: 5px 9px; border-radius: 999px; }
.essai-etat { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: max-content; max-width: calc(100% - 32px);
  display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 14px; background: rgba(23, 27, 26, .8); color: #fff;
  font-size: 14px; line-height: 1.4; text-align: center; text-wrap: balance; }
.essai-etat[hidden] { display: none; }
.essai-vue.attente .essai-etat::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .35); border-top-color: var(--citron); animation: tourne .8s linear infinite; }
@keyframes tourne { to { transform: rotate(1turn); } }
.essai-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.essai-actions[hidden], .essai-actions [hidden] { display: none; }
.essai-actions .btn { flex: 1 1 180px; }
.essai-actions .btn[aria-disabled="true"] { opacity: .55; cursor: progress; }
.essai-vue.pret.teinte-attente .essai-toile { opacity: .6; transition-delay: .12s; }
.essai-pct { font-variant-numeric: tabular-nums; }
.essai-fichier { position: relative; }
.essai-fichier:focus-within { outline: 3px solid var(--bleu); outline-offset: 2px; }
.essai-cta { display: flex; flex-direction: column; gap: 12px; }
.essai-cta .note { font-size: 13px; text-align: center; margin-inline: auto; }
.essai-conseils .etapes { margin-top: 22px; }

/* Sections */
.bloc { max-width: var(--large); margin: 0 auto; padding: 56px var(--gout); }
.bloc h2 { font-size: clamp(1.7rem, 6.5vw, 2.5rem); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; }
[dir="rtl"] .bloc h2 { letter-spacing: 0; line-height: 1.35; }
.bloc-tete { display: flex; flex-direction: column; gap: 6px; margin-bottom: 22px; }
.bloc-tete p { color: var(--gris); }
.plein { box-shadow: 0 0 0 100vmax var(--fond); clip-path: inset(0 -100vmax); background: var(--fond); }

/* Collections */
.colls { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.coll { background: var(--blanc); border-top: 2px solid var(--encre); border-radius: 0; padding: 22px 0; min-width: 0; }
.coll-tete { padding: 0 20px 18px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.coll-tete h3 { font-size: 24px; font-weight: 700; line-height: 1.1; }
.coll-nom { font-weight: 400; color: var(--gris); }
.coll-tete p { color: var(--texte); }
.coll-tete h3 a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 5px; }
/* Page d'une couleur : la collection seule, toutes ses teintes visibles ; puis les autres couleurs en pastilles */
.colls-1 .cartes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; row-gap: 16px; }
.coul-l { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.coul-a { display: flex; align-items: center; gap: 10px; padding-block: 6px; padding-inline: 6px 18px; border-radius: 999px;
  background: var(--fond-c, var(--sahara)); color: var(--encre); text-decoration: none; font-weight: 600; }
.coul-a img { width: 44px; height: 44px; border-radius: 50%; }
.coul-a:focus-visible { outline: 3px solid var(--bleu); outline-offset: 2px; }
.cartes { list-style: none; margin: 0; padding: 0 20px 18px; display: flex; gap: 12px; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-padding-inline: 20px; scrollbar-width: none; }
.cartes::-webkit-scrollbar { display: none; }
.cartes li { flex: 0 0 66%; scroll-snap-align: start; min-width: 0; }
.carte { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; padding: 0; border: 0; background: none;
  font: inherit; color: inherit; text-align: start; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.carte:active { opacity: .85; }
.carte:focus-visible { outline-offset: 4px; border-radius: 16px; }
.carte-photo { position: relative; display: block; width: 100%; }
.carte-photo > img:first-child { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; transition: transform .3s; }
.carte-photo { border-radius: 16px; }
.carte-pastille { display: grid; place-items: center; width: 100%; aspect-ratio: 3 / 2; border-radius: 16px; background: rgba(255, 255, 255, .6); }
.carte-pastille img { width: 56%; max-width: 160px; height: auto; aspect-ratio: 1; transition: transform .3s; }
.carte-pastille ~ .carte-iris { display: none; }  /* la grande pastille suffit */
.carte-bientot { position: absolute; top: 10px; inset-inline-end: 10px; padding: 4px 10px; border-radius: 999px; background: var(--encre); color: var(--papier);
  font-size: 12px; font-weight: 500; line-height: 1.3; }
.carte-iris { position: absolute; bottom: -16px; inset-inline-start: 10px; width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--blanc); background: var(--blanc); box-shadow: 0 1px 6px rgba(23, 27, 26, .2); }
.carte-n { margin-top: 22px; font-size: 18px; font-weight: 600; line-height: 1.2; transition: color .15s; }
.carte-s { font-size: 13px; color: var(--gris); }

/* Regards : douze visages × les teintes de la série, comparateur sans / avec à barre verticale dans un portrait carré.
   Téléphone : visages, portrait, teinte, collection, teintes, bouton. Grand écran : portrait d'un côté, choix de l'autre. */
.rg { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); grid-template-areas: "visages" "photo" "choix"; }
.rg-visages { grid-area: visages; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.rg-genres { display: flex; gap: 8px; }
.rg-g { min-height: 36px; padding: 0 16px; border: 1px solid var(--trait); border-radius: 999px; background: var(--blanc); font: 500 14px/1.2 var(--f);
  color: var(--texte); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background-color .15s, border-color .15s; }
.rg-g[aria-pressed="true"] { background: var(--encre); border-color: var(--encre); color: var(--blanc); }
.rg-g:focus-visible, .rg-v:focus-visible, .rg-t:focus-visible { outline: 3px solid var(--bleu); outline-offset: 2px; }
.rg-rail { display: flex; gap: 6px; overflow-x: auto; margin-inline: calc(-1 * var(--gout)); padding: 2px var(--gout); scrollbar-width: none;
  scroll-padding-inline: var(--gout); }
.rg-rail::-webkit-scrollbar { display: none; }
.rg-v { flex: none; width: 60px; height: 60px; padding: 3px; border: 2px solid transparent; border-radius: 50%; background: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent; transition: border-color .15s; }
.rg-v[hidden] { display: none; }
.rg-v img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.rg-v[aria-pressed="true"] { border-color: var(--encre); }
.rg-v:active { opacity: .8; }
.rg-photo { grid-area: photo; min-width: 0; margin: 0; }
.rg-note { margin-top: 8px; font-size: 12px; line-height: 1.4; color: var(--gris); text-align: center; }

/* Comparateur : l'image « avec » est découpée à droite de la barre ; un curseur natif invisible couvre le cadre (clavier, toucher, souris) */
.compare { --v: 50; --x: calc(22px + (100% - 44px) * var(--v) / 100); position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--r);
  background: var(--doux); -webkit-user-select: none; user-select: none; touch-action: pan-y; }
.compare.pret { cursor: ew-resize; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; }
.compare.pret .rg-avec { clip-path: inset(0 0 0 var(--x)); }
.compare.pret[data-bout="0"] .rg-avec { clip-path: none; }
.compare.pret[data-bout="100"] .rg-avec { clip-path: inset(0 0 0 100%); }
.compare.change img { opacity: .85; transition: opacity .2s; }
.compare-curseur { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0;
  opacity: 0; background: transparent; pointer-events: none; -webkit-appearance: none; appearance: none; }
.compare-curseur::-webkit-slider-thumb { -webkit-appearance: none; width: 44px; height: 44px; }
.compare-curseur::-moz-range-thumb { width: 44px; height: 44px; border: 0; }
.compare-poignee { position: absolute; top: 0; bottom: 0; left: var(--x); z-index: 1; width: 2px; margin-left: -1px; background: #fff;
  box-shadow: 0 0 8px rgba(23, 27, 26, .35); pointer-events: none; }
.compare-poignee::before { content: ""; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border-radius: 50%; box-shadow: 0 2px 10px rgba(23, 27, 26, .3); transition: transform .15s;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 44'%3E%3Cpath d='M17 15l-7 7 7 7M27 15l7 7-7 7' fill='none' stroke='%23171B1A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 44px no-repeat; }
.compare.glisse .compare-poignee::before { transform: scale(.92); }
.compare-curseur:focus-visible ~ .compare-poignee::before { outline: 3px solid var(--bleu); outline-offset: 2px; }
.compare-lib { position: absolute; bottom: 12px; z-index: 1; max-width: calc(50% - 34px); padding: 6px 12px; border-radius: 999px; background: rgba(23, 27, 26, .78);
  color: #fff; font-size: 13px; font-weight: 500; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; }
.compare-lib-sans { left: 12px; }
.compare-lib-avec { right: 12px; }
.compare:not(.pret) .compare-curseur, .compare:not(.pret) .compare-poignee, .compare:not(.pret) .compare-lib-sans, .compare:not(.pret) .rg-sans { display: none; }

.rg-choix { grid-area: choix; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.rg-actif { font-size: 22px; font-weight: 600; line-height: 1.25; }
.rg-nu { color: var(--gris); font-weight: 400; }
.rg-coll { display: block; }
.rg-ts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 6px; align-content: start; min-height: 184px; }  /* deux rangées réservées : pas de saut entre collections */
.rg-t { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; padding: 0; border: 0; background: none;
  font: inherit; color: var(--gris); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.rg-t[hidden] { display: none; }
.rg-t .chip-o { max-width: 64px; }
.rg-t[aria-pressed="true"] .chip-o { border-color: var(--encre); }
.rg-t[aria-pressed="true"] .rg-tn { color: var(--encre); font-weight: 600; }
.rg-tn { max-width: 100%; font-size: 13px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.regards-cta { display: flex; }
@media (hover: hover) and (pointer: fine) {
  .rg-t:hover .rg-tn { color: var(--encre); }
  .rg-v:hover:not([aria-pressed="true"]) { border-color: var(--trait); }
  .rg-g:hover:not([aria-pressed="true"]) { border-color: var(--encre); }
}
@media (min-width: 720px) {
  .rg { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); grid-template-rows: auto 1fr; grid-template-areas: "photo visages" "photo choix";
    column-gap: clamp(28px, 4vw, 56px); row-gap: 24px; align-items: start; }
  .rg-rail { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding: 2px 0; }
  .regards-cta .btn { width: auto; min-width: 280px; }
}

/* Correction */
.correction { --fond: var(--blanc); display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); }
.corr-texte { display: flex; flex-direction: column; gap: 14px; }
.grand-p { font-size: 18px; max-width: 40ch; }
.note { font-size: 14px; color: var(--gris); max-width: 62ch; }
.regle { background: var(--papier); border: 1px solid var(--trait); border-radius: var(--r); padding: 22px 18px 18px; }
.regle-l { display: flex; justify-content: space-between; font-size: 13px; font-weight: 500; margin-bottom: 10px; }
.regle-l span:first-child { color: var(--bleu); }
.regle ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); border-top: 2px solid var(--encre); }
.regle li { position: relative; padding-top: 14px; text-align: center; font-size: 12px; font-variant-numeric: tabular-nums; }
.regle li::before { content: ""; position: absolute; top: 0; left: 50%; width: 1.5px; height: 8px; background: var(--encre); }
.regle li.plan span { display: inline-block; background: var(--bleu); color: #fff; font-weight: 600; border-radius: 999px; padding: 1px 7px; }

/* Commande */
.commander { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); align-items: start; }
.cmd-intro { display: flex; flex-direction: column; gap: 18px; }
.etapes { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: e; }
.etapes li { counter-increment: e; display: flex; align-items: center; gap: 12px; font-weight: 500; }
.etapes li::before { content: counter(e); flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--citron);
  display: grid; place-items: center; font-weight: 700; font-size: 15px; }
.cod { color: var(--gris); font-size: 15px; }
.form { background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--r); padding: 20px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.recap { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 14px; background: var(--doux); }
.recap-iris { width: 56px; height: 56px; border-radius: 50%; flex: none; }
.recap-k { font-size: 12px; color: var(--gris); }
.recap-n { font-size: 18px; font-weight: 600; line-height: 1.25; }
.recap-g { font-size: 13px; color: var(--gris); }
.ligne { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.champ { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.champ label { font-size: 14px; font-weight: 500; }
input, select, textarea { width: 100%; min-height: 48px; padding: 11px 14px; font: inherit; font-size: 16px; color: var(--encre);
  background: var(--blanc); border: 1px solid #C5CCC8; border-radius: 12px; }
textarea { resize: vertical; }
select { appearance: none; -webkit-appearance: none; padding-inline-end: 38px; background-repeat: no-repeat; background-position: right 14px center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23171B1A' stroke-width='1.6'/%3E%3C/svg%3E"); }
[dir="rtl"] select { background-position: left 14px center; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; border-color: var(--bleu); box-shadow: 0 0 0 3px rgba(40, 84, 197, .22); }
[aria-invalid="true"] { border-color: var(--rouge); }
.erreur { color: var(--rouge); font-size: 13px; }
.choix { border: 0; margin: 0; padding: 0; min-width: 0; }
.choix legend { padding: 0; margin-bottom: 6px; font-size: 14px; font-weight: 500; }
.choix-l { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
.choix-o { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 14px; font-size: 15px; background: var(--blanc);
  border: 1px solid #C5CCC8; border-radius: 12px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.choix-o input { width: 20px; height: 20px; min-height: 0; margin: 0; flex: none; accent-color: var(--bleu); }
.choix-o:has(input:checked) { border-color: var(--bleu); background: var(--bleu-pale); }
.choix-o:has(input:focus-visible) { border-color: var(--bleu); box-shadow: 0 0 0 3px rgba(40, 84, 197, .22); }
.choix-o:has([aria-invalid="true"]) { border-color: var(--rouge); }
.choix .erreur { margin-top: 6px; }
.merci { background: var(--andalous); padding: 12px 14px; border-radius: 12px; font-weight: 500; }
.confid { font-size: 13px; color: var(--gris); }
#c-yeux .confid { margin-bottom: 12px; }
.alerte:empty { display: none; }
.total { padding: 12px 14px; border-radius: 12px; background: var(--bleu-pale); font-size: 15px; line-height: 1.5; }
.total-l { font-weight: 600; }
.total-i { display: block; font-size: 13px; color: var(--gris); }
.total-i[hidden] { display: none; }

/* Ville et quartier : liste sous le champ (ordinateur) ou feuille plein écran (téléphone), voir app.js */
.cb { position: relative; }
.cb > input[role="combobox"] { padding-inline-end: 38px; background-repeat: no-repeat; background-position: right 14px center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23171B1A' stroke-width='1.6'/%3E%3C/svg%3E"); }
[dir="rtl"] .cb > input[role="combobox"] { background-position: left 14px center; }
.cb > input[readonly] { cursor: pointer; text-overflow: ellipsis; }
.cb-panneau { position: absolute; z-index: 10; top: calc(100% + 4px); inset-inline: 0; background: var(--blanc); border: 1px solid #C5CCC8; border-radius: 12px;
  box-shadow: 0 12px 28px rgba(23, 27, 26, .14); overflow: hidden; }
.cb-tete { display: none; }
.cb-liste { position: relative; list-style: none; margin: 0; padding: 4px; max-height: min(320px, 50vh); overflow-y: auto; overscroll-behavior: contain; }
.cb-liste li { display: flex; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: 8px; line-height: 1.35; cursor: pointer;
  -webkit-tap-highlight-color: transparent; }
.cb-liste li.actif, .cb-liste li:active { background: var(--bleu-pale); }
.cb-autre { color: var(--bleu); font-weight: 500; }
.cb-fermer { flex: none; width: 48px; height: 48px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: none;
  color: var(--encre); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.cb-fermer svg { width: 22px; height: 22px; }
.cb-fermer:active { background: var(--doux); }
@media (hover: hover) and (pointer: fine) {
  .cb-liste li:hover { background: var(--bleu-pale); }
  .cb-fermer:hover { background: var(--doux); }
}
/* Feuille plein écran : le panneau est déplacé dans <body> par app.js ; sa hauteur et sa position suivent la partie visible de l'écran (clavier) */
.cb-panneau.feuille { position: fixed; z-index: 60; top: 0; inset-inline: 0; height: 100%; display: flex; flex-direction: column;
  border: 0; border-radius: 0; box-shadow: none; padding-top: env(safe-area-inset-top, 0px); }
.feuille .cb-tete { display: flex; align-items: center; gap: 8px; padding: 8px var(--gout); border-bottom: 1px solid var(--trait); }
.feuille .cb-q { flex: 1; min-width: 0; }
.feuille .cb-liste { flex: 1; max-height: none; padding: 4px var(--gout) calc(12px + env(safe-area-inset-bottom, 0px)); }
.feuille .cb-liste li { min-height: 52px; font-size: 17px; padding-inline: 8px; }
html.cb-bloque { overflow: hidden; }
.cb-panneau[hidden] { display: none; }
.e404 { min-height: 100vh; display: grid; align-content: center; gap: 40px; padding: 48px var(--gout); max-width: var(--large); margin: 0 auto; }
.e404 div { display: grid; gap: 16px; justify-items: start; }

/* Soins */
.soins-l { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
.soins-l li { background: var(--blanc); border: 1px solid var(--trait); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.soins-l h3 { font-size: 17px; font-weight: 600; }
.soins-l p { font-size: 15px; color: var(--texte); }

/* Opticiens */
.opticiens { --fond: var(--bleu-pale); display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); align-items: start; }
.opt-texte { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.opt-texte > p { max-width: 46ch; }
.opt-l { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.opt-l li { position: relative; padding-inline-start: 30px; }
.opt-l li::before { content: ""; position: absolute; inset-inline-start: 0; top: .5em; width: 20px; height: 11px; border-radius: 999px;
  background: radial-gradient(circle at 14px 50%, var(--encre) 0 1.5px, var(--citron) 2px 3.6px, transparent 4px) var(--encre); }
[dir="rtl"] .opt-l li::before { background: radial-gradient(circle at 6px 50%, var(--encre) 0 1.5px, var(--citron) 2px 3.6px, transparent 4px) var(--encre); }

/* Questions */
.faq-l { max-width: 880px; margin-top: 18px; border-top: 1px solid var(--trait); }
details { border-bottom: 1px solid var(--trait); }
summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0;
  font-size: 17px; font-weight: 500; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: color .15s; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; color: var(--bleu); font-size: 26px; font-weight: 400; line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding-bottom: 18px; color: var(--texte); max-width: 65ch; }

/* Pied */
.pied { background: var(--encre); color: #C6CDC9; display: flex; flex-direction: column; gap: 16px;
  padding: 44px max(var(--gout), calc((100% - var(--large)) / 2 + var(--gout))) calc(96px + env(safe-area-inset-bottom, 0px)); }
.marque-pied { margin: 0; align-self: flex-start; }
.marque-pied .m-symb { width: 56px; }
.marque-pied .m-mot { height: 18px; }
.marque-pied .m-ar { color: var(--papier); font-size: 23px; }
.marque-pied .m-desc { color: #A3ABA7; }
.pied-sens { max-width: 50ch; }
.pied a { color: #fff; }
.pied-liens { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.pied-pages { display: flex; flex-wrap: wrap; gap: 0 22px; }
.pied-pages a { padding-block: 6px; text-decoration: none; font-weight: 500; }
.pied-couleurs span { padding-block: 6px; color: #A3ABA7; }
.pied-bas { display: flex; flex-wrap: wrap; gap: 8px 22px; padding-top: 16px; border-top: 1px solid #2E3532; font-size: 13px; }

/* Pages de service : une colonne de lecture */
.page-s { max-width: var(--large); margin: 0 auto; padding: 36px var(--gout) 72px; }
.lecture { max-width: 60ch; display: flex; flex-direction: column; gap: 16px; }
.lecture h1 { font-size: clamp(1.7rem, 6.5vw, 2.5rem); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; }
[dir="rtl"] .lecture h1 { letter-spacing: 0; line-height: 1.35; }
.lecture h2 { margin-top: 14px; font-size: 1.3rem; font-weight: 600; line-height: 1.25; }
[dir="rtl"] .lecture h2 { line-height: 1.5; }
.lecture p { color: var(--texte); }
.lecture ul, .lecture ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.lecture ul li { position: relative; padding-inline-start: 30px; color: var(--texte); }
.lecture ul li::before { content: ""; position: absolute; inset-inline-start: 0; top: .5em; width: 20px; height: 11px; border-radius: 999px;
  background: radial-gradient(circle at 14px 50%, var(--encre) 0 1.5px, var(--citron) 2px 3.6px, transparent 4px) var(--encre); }
[dir="rtl"] .lecture ul li::before { background: radial-gradient(circle at 6px 50%, var(--encre) 0 1.5px, var(--citron) 2px 3.6px, transparent 4px) var(--encre); }
.lecture .etapes li { align-items: flex-start; font-weight: 400; color: var(--texte); }
.lecture .etapes li::before { margin-top: -2px; color: var(--encre); }
.lecture .form { margin-block: 4px; }
.lecture-cta { margin-top: 8px; }
.lecture-cta .btn { width: 100%; }
.infos { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--trait); }
.infos dt { padding-top: 12px; font-size: 13px; color: var(--gris); }
.infos dd { margin: 0; padding-bottom: 12px; border-bottom: 1px solid var(--trait); font-weight: 500; overflow-wrap: anywhere; }

/* Bouton WhatsApp flottant (seulement quand le numéro est connu) : monte au-dessus de la barre « Choisir » quand elle est affichée */
.wa { position: fixed; z-index: 24; inset-inline-end: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: 52px; height: 52px;
  display: grid; place-items: center; border-radius: 50%; background: var(--encre); color: #fff; box-shadow: 0 2px 10px rgba(23, 27, 26, .3);
  -webkit-tap-highlight-color: transparent; transition: bottom .25s, background-color .15s, opacity .2s; }
.wa svg { width: 28px; height: 28px; }
.wa:active { background: var(--bleu); }
@media (hover: hover) and (pointer: fine) { .wa:hover { background: var(--bleu); } }
@media (max-width: 959px) {
  .barre-cmd.visible ~ .wa { bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
  .wa.cache { opacity: 0; visibility: hidden; pointer-events: none; }  /* le bouton « Choisir » du héros est à l'écran : le flottant le recouvrirait */
}

/* Barre « Choisir » sur mobile */
.barre-cmd { position: fixed; inset-inline: 0; bottom: 0; z-index: 25; background: rgba(255, 255, 255, .96); border-top: 1px solid var(--trait);
  padding: 10px var(--gout) calc(10px + env(safe-area-inset-bottom, 0px)); transform: translateY(110%); visibility: hidden;
  transition: transform .25s, visibility 0s .25s; }
.barre-cmd.visible { transform: none; visibility: visible; transition: transform .25s; }
.barre-cmd .btn { width: 100%; }

@media (min-width: 640px) {
  :root { --gout: 24px; }
  .cartes li { flex-basis: 40%; }
  .choix-l { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .soins-l { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .soins-l li { grid-column: span 2; }
  .soins-l li:nth-child(n+4) { grid-column: span 3; }
  .chip-n { font-size: 12px; }
  .lecture-cta .btn { width: auto; }
  .infos { grid-template-columns: fit-content(13rem) minmax(0, 1fr); column-gap: 24px; }
  .infos dt, .infos dd { padding-block: 12px; border-bottom: 1px solid var(--trait); }
  .infos dt { font-size: 15px; }
}
@media (min-width: 960px) {
  :root { --tete: 72px; }
  .burger, .langue-m { display: none; }
  .nav a.langue { display: inline; }
  .nav, .nav.ouvert { display: flex; flex-direction: row; position: static; gap: 26px; padding: 0; border: 0; box-shadow: none; background: none; margin-inline-end: 8px; }
  .nav a { padding: 6px 0; border: 0; font-size: 15px; color: var(--texte); transition: color .15s; }
  .m-symb { width: 52px; }
  .m-mot { height: 17px; }
  .heros { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); grid-template-rows: 1fr auto; grid-template-areas: "photo texte" "photo choix";
    column-gap: 56px; row-gap: 26px; padding-top: 40px; padding-bottom: 16px; }
  .heros-texte { align-self: end; }
  .heros-photo { align-self: start; }  /* le médaillon et l'interrupteur restent sur la photo quand la colonne de droite est plus haute */
  .oeil { aspect-ratio: 5 / 4; }
  .medaillon { width: 84px; height: 84px; bottom: 20px; inset-inline-start: 20px; }
  .bascule { top: 18px; inset-inline-start: 18px; }
  .oeil figcaption { bottom: 16px; inset-inline-end: 16px; }
  .heros-choix { padding-top: 0; }
  .essai-vue figcaption { bottom: 16px; inset-inline-end: 16px; }
  .essai-conseils .etapes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .bloc { padding-block: 88px; }
  .colls { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .cartes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; padding-bottom: 22px; row-gap: 18px; }
  .carte-n { font-size: 16px; }
  .carte-s { font-size: 12px; }
  .carte-bientot { top: 6px; inset-inline-end: 6px; padding: 2px 8px; font-size: 11px; }
  .carte-pastille img { width: 46%; }
  .coll { padding: 28px 0 8px; }
  .coll-tete { padding-inline: 24px; }
  .cartes { padding-inline: 24px; }
  .colls-1 { grid-template-columns: minmax(0, 1fr); }
  .colls-1 .cartes { grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); }
  .correction { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 56px; }
  .commander { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; }
  .cmd-intro { position: sticky; top: calc(var(--tete) + 24px); }
  .form { padding: 28px; }
  .opticiens { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
  .soins-l { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .soins-l li, .soins-l li:nth-child(n+4) { grid-column: auto; }
  .pied { padding-bottom: 44px; }
  .barre-cmd { display: none; }
}

/* Galerie de présentation : mouvement et médias à la demande. */
.insp-tete { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.insp-tete .bloc-tete { margin: 0; }
.insp-nav { display: flex; gap: 8px; }
.insp-nav[hidden] { display: none; }
.insp-nav button { width: 46px; height: 46px; border: 1px solid var(--trait); border-radius: 50%; background: var(--papier); color: var(--bleu); font-size: 23px; cursor: pointer; }
.insp-vitrine { min-width: 0; }
.insp-grille { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 18px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 12px; min-width: 0; }
.insp-carte { margin: 0; min-width: 0; scroll-snap-align: start; }
.insp-carte > img { width: 100%; height: auto; border-radius: 16px; }
.insp-carte figcaption { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; align-items: baseline; padding-top: 12px; }
.insp-carte figcaption > span { min-width: 0; }
.insp-carte figcaption a { display: inline-block; padding-block: 8px; }
.insp-film { margin: 28px 0 0; }
.insp-film video { display: block; width: min(100%, 300px); height: auto; aspect-ratio: 9 / 16; background: var(--papier); border-radius: 16px; }
.insp-film figcaption { margin-top: 12px; }
.insp-film h3 { font-size: 18px; }
.insp-entree { animation: insp-arrive .55s ease-out both; }
@keyframes insp-arrive { from { opacity: .2; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .insp-carte > img { transition: filter .25s; } .insp-carte:hover > img { filter: brightness(1.035); } }
@media (min-width: 640px) { .insp-grille { grid-auto-columns: calc((100% - 18px) / 2); } }
@media (min-width: 960px) { .insp-vitrine { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; } .insp-film { margin: 0; } }

/* Studio des 43 couleurs : photographie, noir, blanc et accents SwitchEyes. */
.studio { scroll-margin-top: 90px; }
.studio-ancre { display: block; scroll-margin-top: 90px; }
.studio-scene { display: grid; background: var(--encre); color: white; overflow: hidden; }
.studio-photo { position: relative; min-width: 0; overflow: hidden; }
.studio-photo > img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.studio-repere { position: absolute; bottom: 14px; inset-inline-start: 18px; background: var(--encre); color: var(--citron); padding: 5px 10px; font-size: 12px; font-weight: 600; }
.studio-fiche { padding: 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; }
.studio-index { color: var(--citron); font-size: 14px; font-variant-numeric: tabular-nums; }
.studio-invite { font-size: 15px; }
.studio-fiche h3 { font-size: clamp(42px, 7vw, 88px); line-height: 1.12; overflow-wrap: anywhere; font-weight: 600; }
.studio-prix { margin-top: 14px; font-size: 28px; font-weight: 600; }
.studio-prix span { font-size: 14px; font-weight: 400; }
.studio-acheter { background: var(--citron); color: var(--encre); border-radius: 4px; gap: 28px; }
.studio-fiche .sr + .studio-acheter { margin-top: 14px; }  /* sans ligne de prix (PRIX = None) : le bouton garde l'air qu'elle lui donnait */
.studio-essai { margin-top: 4px; font-size: 14px; text-underline-offset: 4px; }
.studio-filtres { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.studio-filtres[hidden], .studio-carte[hidden], .studio-plus[hidden] { display: none; }
.studio-filtres button { min-height: 44px; border: 1px solid var(--encre); background: white; color: var(--encre); padding: 8px 12px; font: 500 14px/1.4 var(--f); cursor: pointer; }
.studio-filtres button span { font-size: 11px; margin-inline-start: 6px; }
.studio-filtres button[aria-pressed="true"] { background: var(--bleu); color: white; border-color: var(--bleu); }
.studio-compte { margin: 18px 0 12px; color: var(--gris); font-size: 14px; }
.studio-grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
.studio-carte { min-width: 0; border-bottom: 1px solid var(--trait); padding-bottom: 10px; }
.studio-apercu { border: 0; background: transparent; padding: 0; width: 100%; text-align: start; color: var(--encre); font: inherit; cursor: pointer; }
.studio-apercu img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border: 2px solid transparent; }
.studio-apercu[aria-pressed="true"] img { border-color: var(--bleu); }
.studio-carte-nom { display: flex; flex-direction: column; gap: 2px; padding-top: 9px; overflow-wrap: anywhere; }
.studio-carte-nom strong { font-size: 17px; font-weight: 600; }
.studio-carte-nom > span { color: var(--gris); font-size: 13px; }
.studio-essayer { display: flex; justify-content: space-between; align-items: center; gap: 4px; padding-top: 10px; min-height: 44px; color: var(--bleu); font-size: 13px; font-weight: 500; text-underline-offset: 3px; }
.studio-plus { margin-top: 28px; border: 1px solid var(--encre); border-radius: 4px; background: white; color: var(--encre); gap: 24px; }
.insp-affiche { margin-top: 60px; margin-bottom: 24px; font-size: clamp(24px, 4vw, 42px); }
.inspirations .bloc-tete h2 { font-size: clamp(32px, 5vw, 64px); line-height: 1.15; }
.inspirations .insp-tete { margin-bottom: 28px; }
.inspirations .insp-nav { margin-bottom: 20px; }
.coul-a { background: white; border: 1px solid var(--trait); }
.oeil, .form, .compare { border-radius: 4px; }
.heros h1 { font-size: clamp(42px, 7.5vw, 100px); line-height: 1.04; letter-spacing: -.045em; }
.heros { background: var(--bleu); color: white; box-shadow: 0 0 0 100vmax var(--bleu); clip-path: inset(0 -100vmax); padding-top: 32px; padding-bottom: 48px; }
.heros .sous, .heros .tn-ar, .heros .teinte-gamme, .heros .chip-n, .heros .cta-note, .heros .note { color: white; }  /* la note de l'essayage (gris sur bleu) était illisible */
.heros .chip input:checked ~ .chip-n { color: white; }
.heros .lien, .heros .te { color: var(--citron); }
.heros .ch-g { background: transparent; color: white; border-color: #A7BAF1; }
.heros .ch-g[aria-pressed="true"] { background: var(--citron); color: var(--encre); border-color: var(--citron); }
.heros .btn-bleu { background: var(--citron); color: var(--encre); border-radius: 4px; }
.heros .chip input:checked + .chip-o { border-color: var(--citron); }
[dir="rtl"] .heros h1 { letter-spacing: 0; line-height: 1.25; }
.heros.essai h1 { font-size: clamp(42px, 4.8vw, 68px); }
.bandeau { background: var(--bleu); }
.btn, .ch-g, .rg-g { border-radius: 4px; }
.bloc-tete h2 { letter-spacing: -.025em; }
[dir="rtl"] .bloc-tete h2 { letter-spacing: 0; }
@media (min-width: 640px) { .studio-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; } }
@media (min-width: 960px) { .studio-scene { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); } .studio-fiche { padding: 32px; justify-content: center; } .studio-photo > img { min-height: 100%; } .studio-grille { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 960px) { .heros { grid-template-areas: "texte texte" "photo choix"; grid-template-rows: auto auto; gap: 32px 40px; } .heros-texte { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, .45fr); align-items: end; gap: 32px; padding-bottom: 12px; } .heros h1 { max-width: 14ch; } .heros .sous { padding-bottom: 6px; } }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .studio-apercu img { transition: filter .2s; } .studio-apercu:hover img { filter: contrast(1.06); } }
@media (min-width: 1100px) {
  .studio { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 0 32px; align-items: start; }
  .studio-scene { grid-column: 1; grid-row: 1 / span 4; display: flex; flex-direction: column; position: sticky; top: 84px; }
  .studio-filtres, .studio-compte, .studio-grille, .studio-plus { grid-column: 2; }
  .studio-filtres { margin-top: 0; }
  .studio-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .studio-fiche { padding: 20px 24px; gap: 6px; }
  .studio-fiche h3 { font-size: 48px; }
  .studio-invite { display: none; }
  .studio-prix { margin-top: 4px; }
  .studio-fiche .sr + .studio-acheter { margin-top: 4px; }
  .studio-acheter { min-height: 44px; }
  .studio-photo > img { min-height: 0; }
  .studio-plus { justify-self: start; }
}
@media (min-width: 1100px) and (max-height: 850px) { .studio-photo > img { max-height: 280px; object-position: center 40%; } .studio-fiche h3 { font-size: 40px; } }
