/* Krone Médical — site du magasin, en relief doux (néomorphisme).
   Une seule matière : le fond bleu-gris calme. Tout sort du fond (relevé) ou s'y enfonce (creux),
   avec deux ombres : une claire en haut à gauche, une sombre en bas à droite.
   Couleurs de la carte du magasin : le noir du disque et le corail du monogramme, pour le logo et les boutons d'action.
   Une couleur calme en plus : le bleu-vert, pour les pictogrammes et le voyant « ouvert ». */

@font-face { font-family: "Inter"; font-weight: 100 900; font-display: swap; src: url("polices/inter-latin.woff2") format("woff2"); }

:root {
  --base: #dfe8ed;
  --clair: #ffffff;
  --sombre: #b6c4cd;
  --encre: #131c24;
  --doux: #4d5b66;
  --corail: #ee8153;
  --corail-ombre: #c9623a;
  --corail-reflet: #ffa57e;
  --sur-corail: #1b0e07;
  --calme: #1a6a70;
  --vert: #1f9d7f;
  --ecran: #16222b;
  --sur-ecran: #dff3f0;

  --releve-petit: 4px 4px 9px var(--sombre), -4px -4px 9px var(--clair);
  --releve: 8px 8px 18px var(--sombre), -8px -8px 18px var(--clair);
  --releve-haut: 12px 12px 26px var(--sombre), -12px -12px 26px var(--clair);
  --releve-fort: 18px 18px 40px var(--sombre), -18px -18px 40px var(--clair);
  --creux-petit: inset 3px 3px 6px var(--sombre), inset -3px -3px 6px var(--clair);
  --creux: inset 5px 5px 11px var(--sombre), inset -5px -5px 11px var(--clair);
  --creux-fort: inset 9px 9px 20px var(--sombre), inset -9px -9px 20px var(--clair);

  --marge: clamp(18px, 4.4vw, 64px);
  --large: 1240px;
  --sortie: cubic-bezier(0.23, 1, 0.32, 1);
  --va-et-vient: cubic-bezier(0.77, 0, 0.175, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 104px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--base); color: var(--encre); font: 400 1.0625rem/1.55 "Inter", system-ui, sans-serif; overflow-x: clip; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--calme); outline-offset: 3px; }
::selection { background: var(--corail); color: var(--sur-corail); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.evitement { position: fixed; left: 16px; top: -80px; z-index: 50; padding: 12px 18px; border-radius: 999px; background: var(--encre); color: var(--base); font-weight: 700; text-decoration: none; }
.evitement:focus { top: 16px; }

/* ---------- Le voyant ---------- */
.voyant { position: relative; flex: none; width: 10px; height: 10px; border-radius: 50%; background: #9dabb5; box-shadow: inset 1px 1px 2px rgba(19, 28, 36, 0.35); }
.voyant.allume { background: var(--vert); box-shadow: 0 0 8px rgba(31, 157, 127, 0.7); }
.voyant.allume::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--vert); animation: bat 2.6s var(--sortie) infinite; }
@keyframes bat { from { scale: 1; opacity: 0.55; } to { scale: 3.2; opacity: 0; } }

/* ---------- Les boutons : relevés, ils s'enfoncent quand on appuie ---------- */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 24px; border-radius: 999px; background: var(--base); box-shadow: var(--releve); font-weight: 700; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: box-shadow 0.2s ease, scale 0.14s var(--sortie); }
.bouton svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.bouton:active { box-shadow: var(--creux); scale: 0.98; }
.bouton-corail { background: var(--corail); color: var(--sur-corail); box-shadow: 8px 8px 18px var(--sombre), -8px -8px 18px var(--clair), inset 1px 1px 1px rgba(255, 255, 255, 0.5); }
.bouton-corail:active { box-shadow: inset 5px 5px 11px var(--corail-ombre), inset -5px -5px 11px var(--corail-reflet); }
.bouton-petit { min-height: 44px; padding: 11px 18px; font-size: 0.95rem; box-shadow: var(--releve-petit); }
.bouton-grand { width: 100%; padding: 20px 28px; font-size: 1.125rem; }
@media (hover: hover) and (pointer: fine) {
  .bouton:hover { box-shadow: var(--releve-haut); }
  .bouton-corail:hover { box-shadow: 12px 12px 26px var(--sombre), -12px -12px 26px var(--clair), inset 1px 1px 1px rgba(255, 255, 255, 0.5); }
  .bouton:active { box-shadow: var(--creux); }
  .bouton-corail:active { box-shadow: inset 5px 5px 11px var(--corail-ombre), inset -5px -5px 11px var(--corail-reflet); }
}
.actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- En-tête : une barre relevée qui reste en haut ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; z-index: 19; height: 52px; background: linear-gradient(var(--base) 55%, rgba(223, 232, 237, 0)); pointer-events: none; }
.tete { position: sticky; top: 12px; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; width: min(var(--large), 100% - 2 * var(--marge)); margin: 12px auto 0; padding: 9px 10px 9px 12px; border-radius: 999px; background: var(--base); box-shadow: var(--releve); }
.marque { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; border-radius: 999px; }
.marque img { width: 46px; height: 46px; border-radius: 50%; box-shadow: var(--releve-petit); }
.marque span { font-weight: 900; font-size: 1.2rem; letter-spacing: -0.035em; line-height: 1; }
.tete nav { display: flex; gap: 4px; }
.tete nav a { padding: 10px 15px; border-radius: 999px; color: var(--doux); font-size: 0.95rem; font-weight: 600; text-decoration: none; transition: box-shadow 0.2s ease, color 0.2s ease; }
.tete nav a:active { box-shadow: var(--creux-petit); color: var(--encre); }
@media (hover: hover) and (pointer: fine) { .tete nav a:hover { box-shadow: var(--creux-petit); color: var(--encre); } }
.tel { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 11px 18px; border-radius: 999px; box-shadow: var(--creux-petit); font-weight: 700; font-variant-numeric: tabular-nums; text-decoration: none; white-space: nowrap; }

/* ---------- Première vue : le nom, les trois gestes, le cadran des horaires ---------- */
main { width: min(var(--large), 100% - 2 * var(--marge)); margin: 0 auto; }
.hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); align-items: center; gap: clamp(28px, 5vw, 84px); min-height: calc(100svh - 86px); padding: clamp(36px, 7vh, 88px) 0; }
h1 { font-weight: 900; font-size: clamp(3.4rem, 9.2vw, 8.4rem); line-height: 0.9; letter-spacing: -0.055em; }
h1 span { display: block; }
.chapeau { max-width: 34ch; margin-top: clamp(20px, 2.6vw, 34px); font-size: clamp(1.2rem, 1.65vw, 1.5rem); line-height: 1.4; color: var(--doux); }
.chapeau strong { color: var(--encre); font-weight: 700; }
.medaillon { display: block; width: clamp(92px, 8.4vw, 132px); height: auto; aspect-ratio: 1; margin-bottom: clamp(18px, 2.2vw, 30px); border-radius: 50%; box-shadow: var(--releve-haut); }
.hero .actions { margin-top: clamp(26px, 3.2vw, 42px); }
.gages { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(24px, 3vw, 38px); }
.gages li { display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px; border-radius: 999px; box-shadow: var(--creux-petit); color: var(--doux); font-size: 0.92rem; font-weight: 600; }

.cadran-bloc { display: grid; justify-items: center; gap: 22px; }
.creuset { width: min(100%, 480px); aspect-ratio: 1; padding: 6.5%; border-radius: 50%; box-shadow: var(--creux-fort); perspective: 1000px; }
.cadran { position: relative; width: 100%; height: 100%; overflow: clip; border-radius: 50%; background: var(--base); box-shadow: var(--releve-fort); transform: rotateX(calc(var(--ry, 0) * -9deg)) rotateY(calc(var(--rx, 0) * 9deg)); transition: transform 0.7s var(--sortie); }
.cadran.suit { transition-duration: 0.12s; }
.cadran > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cadran-marques circle { fill: none; }
.cadran-marques .heures { stroke: #9dabb5; stroke-width: 7; stroke-dasharray: 2 47.218; stroke-dashoffset: 1; }
.cadran-marques .quarts { stroke: var(--doux); stroke-width: 12; stroke-dasharray: 3.500 291.810; stroke-dashoffset: 1.750; }
.cadran-marques text { fill: var(--doux); font-size: 13px; font-weight: 600; text-anchor: middle; }
.gorge { position: absolute; inset: 12%; border-radius: 50%; box-shadow: var(--creux); }
.cadran-arc path { fill: none; stroke: var(--corail); stroke-width: 15; stroke-linecap: round; stroke-dasharray: 1; animation: trace 1.5s 0.25s var(--va-et-vient) both; }
@keyframes trace { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.cadran.clos .cadran-arc path { stroke: #d8a995; }
.perle { position: absolute; inset: 0; rotate: -52.500deg; opacity: 0; transition: rotate 1.7s 0.5s var(--va-et-vient), opacity 0.4s 0.5s ease; }
.js .perle { opacity: 1; }
.perle i { position: absolute; left: 50%; top: 17.500%; width: 9.500%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: var(--base); box-shadow: 3px 3px 8px rgba(19, 28, 36, 0.32), -2px -2px 6px var(--clair); }
.perle i::after { content: ""; position: absolute; inset: 34%; border-radius: 50%; background: var(--encre); }
.cadran-centre { position: absolute; inset: 23%; display: grid; align-content: center; justify-items: center; gap: 3px; border-radius: 50%; background: var(--base); box-shadow: var(--releve); text-align: center; }
.lecture { display: inline-flex; align-items: center; gap: 10px; }
.lecture strong { font-weight: 800; font-size: clamp(1.5rem, 2.7vw, 2.4rem); letter-spacing: -0.04em; line-height: 1.1; }
.lecture-suite { font-weight: 600; font-size: clamp(0.88rem, 1.15vw, 1.02rem); }
.lecture-heure { color: var(--doux); font-size: 0.875rem; font-variant-numeric: tabular-nums; }
.jours { display: flex; gap: clamp(7px, 1vw, 12px); }
.jours li { position: relative; display: grid; place-items: center; width: clamp(36px, 3.4vw, 44px); aspect-ratio: 1; border-radius: 50%; box-shadow: var(--releve-petit); color: var(--doux); font-size: 0.9rem; font-weight: 700; }
.jours abbr { text-decoration: none; }
.jours .ferme { box-shadow: none; color: #8997a1; }
.jours .aujourdhui { box-shadow: var(--creux-petit); color: var(--encre); }
.jours .aujourdhui::after { content: ""; position: absolute; bottom: -9px; width: 6px; height: 6px; border-radius: 50%; background: var(--corail); }
.cadran-note { color: var(--doux); font-size: 0.92rem; text-align: center; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 9vw, 128px) 0 0; }
.section-tete { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); align-items: end; gap: 12px clamp(28px, 5vw, 84px); margin-bottom: clamp(28px, 4vw, 52px); }
h2 { font-weight: 800; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1; letter-spacing: -0.045em; }
.section-tete p { max-width: 38ch; color: var(--doux); font-size: clamp(1.05rem, 1.3vw, 1.2rem); }
h3 { font-weight: 700; font-size: 1.125rem; line-height: 1.25; letter-spacing: -0.015em; }


/* ---------- Les autres rayons : des touches, une vitrine en creux ---------- */
.selecteur { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: stretch; }
.touches { display: grid; gap: 16px; align-content: start; }
.touche { position: relative; display: flex; align-items: center; gap: 16px; width: 100%; padding: 17px 20px; border-radius: 24px; background: var(--base); box-shadow: var(--releve); color: var(--doux); font-weight: 700; text-align: left; transition: box-shadow 0.22s ease, color 0.22s ease, scale 0.14s var(--sortie); }
.touche svg { flex: none; width: 38px; height: 38px; fill: none; stroke: var(--calme); stroke-width: 2.300; stroke-linecap: round; stroke-linejoin: round; }
.touche::after { content: ""; flex: none; width: 9px; height: 9px; margin-left: auto; border-radius: 50%; background: #9dabb5; box-shadow: inset 1px 1px 2px rgba(19, 28, 36, 0.35); transition: background-color 0.22s ease, box-shadow 0.22s ease; }
.touche:active { scale: 0.98; }
.touche[aria-selected="true"] { box-shadow: var(--creux); color: var(--encre); }
.touche[aria-selected="true"]::after { background: var(--corail); box-shadow: 0 0 9px rgba(238, 129, 83, 0.8); }
.vitrine { display: grid; gap: 28px; padding: clamp(22px, 3.4vw, 48px); border-radius: clamp(28px, 3vw, 44px); box-shadow: var(--creux-fort); }
.rayon { display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); align-items: center; gap: clamp(22px, 3.4vw, 52px); }
.js .rayon:not(.actif) { display: none; }
.js .rayon.actif .rayon-texte > * { animation: arrive 0.5s var(--sortie) both; }
.js .rayon.actif .rayon-texte > :nth-child(2) { animation-delay: 0.06s; }
.js .rayon.actif .rayon-texte > :nth-child(3) { animation-delay: 0.12s; }
.js .rayon.actif .rayon-texte > :nth-child(4) { animation-delay: 0.18s; }
.js .rayon.actif .socle { animation: pose 0.6s var(--sortie) both; }
@keyframes arrive { from { opacity: 0; translate: 0 12px; } }
@keyframes pose { from { opacity: 0; scale: 0.94; } }
.socle { position: relative; display: grid; place-items: center; width: min(100%, 280px); aspect-ratio: 1; justify-self: center; border-radius: 50%; background: var(--base); box-shadow: var(--releve-fort); }
.socle::before { content: ""; position: absolute; inset: 12%; border-radius: 50%; box-shadow: var(--creux); }
.socle svg { position: relative; width: 44%; fill: none; stroke: var(--calme); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rayon-texte h3 { font-weight: 800; font-size: clamp(1.5rem, 2.3vw, 2.1rem); letter-spacing: -0.035em; line-height: 1.1; }
.rayon-texte p { max-width: 44ch; margin-top: 12px; color: var(--doux); }
.puces { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 26px; }
.rayon-texte .bouton { background: var(--corail); color: var(--sur-corail); box-shadow: 4px 4px 9px var(--sombre), -4px -4px 9px var(--clair), inset 1px 1px 1px rgba(255, 255, 255, 0.5); }
.rayon-texte .bouton:active { box-shadow: inset 4px 4px 9px var(--corail-ombre), inset -4px -4px 9px var(--corail-reflet); }
.puces li { padding: 9px 15px; border-radius: 999px; background: var(--base); box-shadow: var(--releve-petit); font-size: 0.95rem; font-weight: 600; }

.medaille { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 22px; border-radius: 50%; box-shadow: var(--creux); }
.medaille svg { width: 28px; height: 28px; fill: none; stroke: var(--calme); stroke-width: 1.800; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Votre demande : un pupitre, des touches, un écran ---------- */
.pupitre { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 60px); padding: clamp(22px, 3.6vw, 52px); border-radius: clamp(30px, 3.4vw, 48px); background: var(--base); box-shadow: var(--releve-fort); }
.pupitre-commandes { display: grid; gap: 26px; align-content: start; }
legend { margin-bottom: 12px; padding: 0; color: var(--doux); font-size: 0.95rem; font-weight: 600; }
.bascule { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; padding: 6px; border-radius: 999px; box-shadow: var(--creux); }
.bascule label, .pastilles label { position: relative; cursor: pointer; }
.bascule input, .pastilles input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.bascule span { display: block; padding: 12px 14px; border-radius: 999px; color: var(--doux); font-weight: 700; font-size: 0.98rem; text-align: center; transition: box-shadow 0.22s ease, color 0.22s ease; }
.bascule input:checked + span { background: var(--base); box-shadow: var(--releve-petit); color: var(--encre); }
.pastilles { display: flex; flex-wrap: wrap; gap: 12px; }
.pastilles span { display: inline-flex; align-items: center; gap: 10px; padding: 13px 18px; border-radius: 999px; background: var(--base); box-shadow: var(--releve); color: var(--doux); font-weight: 700; font-size: 0.98rem; transition: box-shadow 0.22s ease, color 0.22s ease; }
.pastilles input:checked + span { box-shadow: var(--creux); color: var(--encre); }
.pastilles input:checked + span .voyant { background: var(--corail); box-shadow: 0 0 9px rgba(238, 129, 83, 0.8); }
.bascule input:focus-visible + span, .pastilles input:focus-visible + span { outline: 3px solid var(--calme); outline-offset: 3px; }
.pupitre-ecran { display: grid; grid-template-rows: 1fr auto; gap: 24px; }
.ecran { min-height: 210px; padding: clamp(20px, 2.4vw, 30px); border-radius: 26px; background: var(--ecran); box-shadow: inset 6px 6px 16px rgba(0, 0, 0, 0.55), 5px 5px 12px var(--clair), -5px -5px 12px var(--sombre); color: var(--sur-ecran); font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.45; }
.curseur { display: inline-block; width: 0.55em; height: 1.05em; margin-left: 4px; border-radius: 2px; background: var(--corail); vertical-align: -0.15em; animation: clignote 1.1s steps(2, jump-none) infinite; }
@keyframes clignote { from { opacity: 1; } to { opacity: 0; } }

/* ---------- Vos questions : une barre relevée, qui s'enfonce quand elle est ouverte ---------- */
.questions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 18px clamp(18px, 2vw, 28px); }
.questions details { border-radius: 26px; background: var(--base); box-shadow: var(--releve); transition: box-shadow 0.25s ease; }
.questions details[open] { box-shadow: var(--creux); }
.questions summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 68px; padding: 14px 16px 14px 26px; border-radius: 26px; font-size: clamp(1.08rem, 1.4vw, 1.25rem); font-weight: 700; letter-spacing: -0.02em; cursor: pointer; list-style: none; -webkit-tap-highlight-color: transparent; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: ""; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--base) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a6a70' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 18px no-repeat; box-shadow: var(--releve-petit); transition: rotate 0.3s var(--sortie), box-shadow 0.25s ease; }
.questions details[open] summary::after { rotate: 45deg; box-shadow: var(--creux-petit); }
.questions summary:focus-visible { outline: 3px solid var(--calme); outline-offset: 3px; }
.questions details p { max-width: 62ch; padding: 0 26px 24px; color: var(--doux); font-size: 1.05rem; animation: reponse 0.35s var(--sortie); }
@keyframes reponse { from { opacity: 0; translate: 0 -6px; } }

/* ---------- Nous trouver ---------- */
.trouver { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: stretch; }
.adresse { display: grid; align-content: space-between; gap: 30px; padding: clamp(24px, 3.4vw, 48px); border-radius: clamp(28px, 3vw, 44px); box-shadow: var(--creux-fort); }
.adresse dl { display: grid; gap: 20px; }
.adresse dt { color: var(--doux); font-size: 0.95rem; font-weight: 600; }
.adresse dd { margin-top: 2px; font-size: clamp(1.2rem, 1.8vw, 1.6rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.25; font-variant-numeric: tabular-nums; }
.adresse dd a { text-decoration-color: var(--corail); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.plan { display: grid; grid-template-rows: 1fr auto; gap: 12px; padding: 16px 16px 14px; border-radius: clamp(28px, 3vw, 44px); background: var(--base); box-shadow: var(--releve-fort); }
.plan-cadre { position: relative; min-height: 300px; overflow: hidden; border-radius: clamp(18px, 2vw, 30px); background: #d6e2e9; }
.plan-cadre img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.2) brightness(1.16); mix-blend-mode: multiply; opacity: 0.8; }
.plan-cadre::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 6px 6px 14px rgba(19, 28, 36, 0.3), inset -4px -4px 10px rgba(255, 255, 255, 0.6); }
.plan figcaption { padding: 0 8px; color: var(--doux); font-size: 0.9rem; }

/* ---------- Pied ---------- */
.pied { display: grid; justify-items: center; gap: 16px; width: min(var(--large), 100% - 2 * var(--marge)); margin: clamp(64px, 9vw, 128px) auto 0; padding: clamp(30px, 4vw, 52px) 20px clamp(30px, 4vw, 44px); border-radius: clamp(28px, 3vw, 44px) clamp(28px, 3vw, 44px) 0 0; box-shadow: var(--creux-fort); text-align: center; }
.pied .marque { flex-direction: column; gap: 16px; }
.pied .marque img { width: clamp(120px, 14vw, 168px); height: auto; aspect-ratio: 1; box-shadow: var(--releve-haut); }
.pied .marque span { font-size: 1.7rem; }
.pied p { color: var(--doux); }
.pied-legal { max-width: 70ch; font-size: 0.88rem; }

/* ---------- La barre du téléphone ---------- */
.barre { display: none; }

/* ---------- Entrées : chaque partie monte doucement à sa place ---------- */
.js [data-entre] { opacity: 0; translate: 0 24px; transition: opacity 0.7s var(--sortie), translate 0.7s var(--sortie); }
.js [data-entre].vu { opacity: 1; translate: 0 0; }
.hors-champ, .hors-champ * { animation-play-state: paused !important; }
.pause *, .pause *::before, .pause *::after { animation-play-state: paused !important; }

/* ---------- Très grands écrans : la page grandit avec l'écran au lieu de laisser deux grands vides ---------- */
@media (min-width: 1600px) { :root { --large: 1440px; } html { font-size: 112.5%; } }
@media (min-width: 2200px) { :root { --large: 1680px; } html { font-size: 131.25%; } }

/* ---------- Écrans moyens ---------- */
@media (max-width: 1080px) {
  .tete nav a { padding: 10px 11px; font-size: 0.9rem; }
  .questions { grid-template-columns: 1fr; max-width: 820px; }
  .selecteur { grid-template-columns: 1fr; }
  .touches { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .touche { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px; }
  .touche::after { position: absolute; top: 18px; right: 18px; }
}
@media (max-width: 900px) {
  .tete nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  h1 { font-size: clamp(3.4rem, min(19vw, 24svh), 8.4rem); }
  .cadran-bloc { order: 2; }
  .creuset { width: min(100%, 420px); }
  .section-tete { grid-template-columns: 1fr; }
  .pupitre, .trouver { grid-template-columns: 1fr; }
  .plan-cadre { min-height: 0; aspect-ratio: 4 / 3; }
}

/* ---------- Téléphone ---------- */
@media (max-width: 640px) {
  html { scroll-padding-top: 88px; }
  body { padding-bottom: 92px; }
  .tete { top: 8px; margin-top: 8px; padding: 7px 8px 7px 9px; }
  .marque img { width: 44px; height: 44px; }
  .pied .marque img { width: 128px; height: 128px; }
  .marque span { font-size: 1.05rem; }
  .tel { padding: 10px 14px; font-size: 0.92rem; }
  .hero { padding-top: 36px; }
  .hero .actions { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .hero .actions .bouton-corail { grid-column: 1 / -1; padding-block: 18px; }
  .gages { display: none; }
  .touches { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .rayon { grid-template-columns: 1fr; }
  .socle { width: min(62%, 220px); }
  .bascule span { padding: 12px 8px; font-size: 0.92rem; }
  .ecran { min-height: 170px; }
  .adresse .actions { display: grid; }
  .barre { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 30; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 8px; padding: 8px; border-radius: 999px; background: var(--base); box-shadow: 8px 8px 20px rgba(19, 28, 36, 0.22), -6px -6px 16px var(--clair); }
  .barre .bouton { padding: 14px 8px; box-shadow: var(--releve-petit); }
  .barre .bouton-corail { box-shadow: 4px 4px 9px var(--sombre), -4px -4px 9px var(--clair), inset 1px 1px 1px rgba(255, 255, 255, 0.5); }
  .barre .bouton:active { box-shadow: var(--creux-petit); }
  .barre { transition: translate 0.35s var(--sortie), opacity 0.25s ease, visibility 0s; }
  .barre.rangee { translate: 0 130%; opacity: 0; visibility: hidden; transition: translate 0.3s var(--sortie), opacity 0.25s ease, visibility 0s 0.3s; }
}

/* ====================================================================================================
   Site à plusieurs pages (14/11) : menu, pages intérieures, dessins d'appareils en relief, photos encadrées
   ==================================================================================================== */

/* ---------- Menu : « Assistance respiratoire » se déroule, la page ouverte est en creux ---------- */
.tete nav { align-items: center; }
.tete nav a[aria-current="page"], .sous-menu[data-ici] > summary { color: var(--encre); box-shadow: var(--creux-petit); }
.sous-menu { position: relative; }
.sous-menu > summary { display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px 10px 15px; border-radius: 999px; color: var(--doux); font-size: 0.95rem; font-weight: 600; cursor: pointer; list-style: none; -webkit-tap-highlight-color: transparent; transition: box-shadow 0.2s ease, color 0.2s ease; }
.sous-menu > summary::-webkit-details-marker, .menu-tel > summary::-webkit-details-marker { display: none; }
.sous-menu > summary svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.200; stroke-linecap: round; stroke-linejoin: round; transition: rotate 0.25s var(--sortie); }
.sous-menu[open] > summary { color: var(--encre); box-shadow: var(--creux-petit); }
.sous-menu[open] > summary svg { rotate: 180deg; }
@media (hover: hover) and (pointer: fine) { .sous-menu > summary:hover { color: var(--encre); box-shadow: var(--creux-petit); } }
.sous-menu ul { position: absolute; top: calc(100% + 18px); left: -10px; z-index: 5; display: grid; gap: 2px; min-width: 250px; padding: 10px; border-radius: 26px; background: var(--base); box-shadow: 12px 12px 28px rgba(19, 28, 36, 0.2), -8px -8px 20px var(--clair); transform-origin: 40px 0; animation: deroule 0.22s var(--sortie); }
.sous-menu ul a { display: block; padding: 12px 16px; border-radius: 18px; }
@keyframes deroule { from { opacity: 0; scale: 0.96; translate: 0 -6px; } }
.menu-tel { display: none; position: relative; }
.menu-tel > summary { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; box-shadow: var(--releve-petit); cursor: pointer; list-style: none; -webkit-tap-highlight-color: transparent; transition: box-shadow 0.2s ease; }
.menu-tel > summary svg { width: 22px; height: 22px; fill: none; stroke: var(--encre); stroke-width: 2; stroke-linecap: round; }
.menu-tel[open] > summary { box-shadow: var(--creux-petit); }
.menu-tel ul { position: absolute; top: calc(100% + 18px); right: -8px; display: grid; gap: 2px; width: min(340px, 100vw - 2 * var(--marge)); max-height: calc(100dvh - 120px); overflow-y: auto; overscroll-behavior: contain; padding: 12px; border-radius: 28px; background: var(--base); box-shadow: 12px 12px 30px rgba(19, 28, 36, 0.24), -8px -8px 20px var(--clair); transform-origin: calc(100% - 30px) 0; animation: deroule 0.22s var(--sortie); }
.menu-tel li a { display: flex; align-items: center; min-height: 48px; padding: 10px 16px; border-radius: 18px; font-weight: 700; text-decoration: none; }
.menu-tel li a[aria-current="page"] { box-shadow: var(--creux-petit); }
.menu-tel li a:active { box-shadow: var(--creux-petit); }
.menu-titre { padding: 10px 16px 4px; color: var(--doux); font-size: 0.875rem; font-weight: 600; }
.menu-tel .menu-appel { justify-content: center; margin-top: 8px; background: var(--corail); color: var(--sur-corail); }

/* ---------- Liens dans le texte ---------- */
.lien { color: var(--encre); font-weight: 700; text-decoration-color: var(--corail); text-decoration-thickness: 3px; text-underline-offset: 5px; white-space: nowrap; }

/* ---------- En-tête d'une page intérieure : fil d'Ariane, titre, deux phrases, image encadrée ---------- */
.page-tete { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); align-items: center; gap: clamp(28px, 5vw, 84px); padding-top: clamp(40px, 7vh, 84px); }
.page-tete-courte { grid-template-columns: minmax(0, 1fr); }
.ariane { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(16px, 2vw, 26px); color: var(--doux); font-size: 0.92rem; font-weight: 600; }
.ariane a { text-decoration: none; }
.ariane [aria-current] { color: var(--encre); }
@media (hover: hover) and (pointer: fine) { .ariane a:hover { text-decoration: underline; text-decoration-color: var(--corail); text-decoration-thickness: 2px; text-underline-offset: 4px; } }
.titre-page { font-size: clamp(2.5rem, 5.2vw, 4.4rem); line-height: 0.98; letter-spacing: -0.05em; text-wrap: balance; }
.page-tete .chapeau { max-width: 40ch; }
.page-tete .actions { margin-top: clamp(24px, 3vw, 38px); }
.cadre-photo { padding: clamp(10px, 1.1vw, 16px); border-radius: clamp(28px, 3vw, 44px); background: var(--base); box-shadow: var(--releve-fort); }
.cadre-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: clamp(20px, 2.2vw, 32px); }
.cadre-dessin { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: clamp(28px, 3vw, 44px); box-shadow: var(--creux-fort); }
.cadre-dessin .dessin { width: min(60%, 340px); }
.sommaire { display: flex; flex-wrap: wrap; gap: 6px; width: fit-content; max-width: 100%; margin-top: clamp(30px, 4vw, 52px); padding: 7px; border-radius: 32px; box-shadow: var(--creux); }
.sommaire a { padding: 11px 18px; border-radius: 999px; color: var(--doux); font-size: 0.95rem; font-weight: 700; text-decoration: none; white-space: nowrap; transition: box-shadow 0.2s ease, color 0.2s ease; }
.sommaire a:active { background: var(--base); box-shadow: var(--releve-petit); color: var(--encre); }
@media (hover: hover) and (pointer: fine) { .sommaire a:hover { background: var(--base); box-shadow: var(--releve-petit); color: var(--encre); } }

/* ---------- Dessins d'appareils : moulés dans la matière du site ---------- */
.dessin { overflow: visible; }
.d-ombre { filter: drop-shadow(7px 7px 9px #aebdc7) drop-shadow(-6px -6px 8px #ffffff); }
.d-ombre-petite { filter: drop-shadow(3px 3px 4px #aebdc7) drop-shadow(-3px -3px 4px #ffffff); }
.d-trait, .d-trait-fin, .d-tuyau, .d-sangle, .d-poignee, .d-onde, .d-aiguille, .d-tuyau-gros, .d-tuyau-stries { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.d-trait { stroke: var(--calme); stroke-width: 4; }
.d-trait-fin { stroke: #8fa0ab; stroke-width: 3; }
.d-tuyau { stroke: var(--calme); stroke-width: 4.500; }
.d-tuyau-gros { stroke: #c3d0d9; stroke-width: 15; filter: drop-shadow(3px 3px 4px #aebdc7) drop-shadow(-3px -3px 4px #ffffff); }
.d-tuyau-stries { stroke: #8fa0ab; stroke-width: 15; stroke-dasharray: 2 7; opacity: 0.55; }
.d-sangle { stroke: #9aaab5; stroke-width: 9; }
.d-poignee { stroke: #c3d0d9; stroke-width: 14; filter: drop-shadow(3px 3px 4px #aebdc7) drop-shadow(-3px -3px 4px #ffffff); }
.d-contour { stroke: var(--sombre); stroke-width: 1.500; }
.d-ecran { fill: var(--ecran); }
.d-onde { stroke: #7fd6c8; stroke-width: 3; }
.d-aiguille { stroke: var(--corail); stroke-width: 4; }
.d-corail { fill: var(--corail); }
.d-vert { fill: var(--vert); }
.d-point { fill: var(--calme); }
.d-brume circle { fill: var(--calme); opacity: 0.35; animation: brume 3.6s ease-in-out infinite; }
.d-brume circle:nth-child(2n) { animation-delay: -1.2s; }
.d-brume circle:nth-child(3n) { animation-delay: -2.4s; }
@keyframes brume { 0%, 100% { translate: 0 4px; opacity: 0.12; } 50% { translate: 0 -6px; opacity: 0.45; } }
.d-chiffres { fill: #dff3f0; font: 800 34px "Inter", system-ui, sans-serif; letter-spacing: -1px; }
.d-unite { fill: #7fd6c8; font: 700 10px "Inter", system-ui, sans-serif; }

/* ---------- Accueil : les quatre familles respiratoires ---------- */
.familles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.famille { display: grid; grid-template-rows: auto 1fr auto; gap: 18px; height: 100%; padding: 14px 14px 18px; border-radius: 34px; background: var(--base); box-shadow: var(--releve); text-decoration: none; transition: box-shadow 0.3s ease, translate 0.3s var(--sortie); }
.famille-dessin { display: grid; place-items: center; aspect-ratio: 1; border-radius: 24px; box-shadow: var(--creux); }
.famille-dessin .dessin { width: 80%; transition: scale 0.5s var(--sortie); }
.famille-texte { display: grid; align-content: start; gap: 6px; padding: 0 10px; }
.famille-texte strong { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; }
.famille-texte span { color: var(--doux); font-size: 0.98rem; line-height: 1.4; }
.famille-fleche { justify-self: end; display: grid; place-items: center; width: 44px; height: 44px; margin-right: 6px; border-radius: 50%; box-shadow: var(--releve-petit); transition: box-shadow 0.25s ease; }
.famille-fleche svg { width: 20px; height: 20px; fill: none; stroke: var(--calme); stroke-width: 2.200; stroke-linecap: round; stroke-linejoin: round; transition: translate 0.3s var(--sortie); }
.famille:active { box-shadow: var(--creux); }
@media (hover: hover) and (pointer: fine) {
  .famille:hover { box-shadow: var(--releve-fort); translate: 0 -5px; }
  .famille:hover .famille-dessin .dessin { scale: 1.05; }
  .famille:hover .famille-fleche { box-shadow: var(--creux-petit); }
  .famille:hover .famille-fleche svg { translate: 3px 0; }
  .famille:active { box-shadow: var(--creux); translate: 0 0; }
}

/* ---------- Les appareils : le dessin dans la vitrine, la liste à côté ---------- */
.vitrine-appareils { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(22px, 3.4vw, 52px); }
.vitrine-dessin { display: grid; place-items: center; }
.vitrine-dessin .dessin { width: min(100%, 380px); }
.liste-appareils { display: grid; gap: 14px; }
.liste-appareils li { padding: 16px 22px; border-radius: 22px; background: var(--base); box-shadow: var(--releve); }
.liste-appareils p, .grille-pieces p { margin-top: 3px; color: var(--doux); font-size: 0.98rem; }
.grille-pieces { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.grille-pieces li { padding: 20px 24px; border-radius: 26px; background: var(--base); box-shadow: var(--releve); }

/* ---------- Deux colonnes : une image encadrée, un texte ---------- */
.duo { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(28px, 5vw, 84px); }
.duo-inverse > :first-child { order: 2; }
.duo-haut { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: start; }
.duo-texte .chapeau { max-width: 42ch; margin-top: 16px; }
.duo-texte .puces { margin: 22px 0 26px; }
.duo-texte > p:last-child { margin-top: 4px; }
.socle-grand { width: min(100%, 340px); }
.reperes { display: grid; gap: 12px; margin-top: 24px; }
.reperes li { position: relative; padding: 14px 18px 14px 44px; border-radius: 20px; box-shadow: var(--creux-petit); color: var(--doux); }
.reperes li::before { content: ""; position: absolute; left: 19px; top: 23px; width: 9px; height: 9px; border-radius: 50%; background: var(--corail); }

/* ---------- Les règles et les questions : la réponse commence par OUI ou NON quand c'est possible ---------- */
.verdict { display: inline-block; margin-right: 4px; padding: 1px 11px; border-radius: 999px; font-size: 0.9rem; font-weight: 800; }
.verdict-oui { background: rgba(31, 157, 127, 0.18); color: #0c5c49; }
.verdict-non { background: rgba(238, 129, 83, 0.26); color: #7c3110; }
.section-serree { padding-top: clamp(40px, 5.5vw, 76px); }
.titre-groupe { margin-bottom: clamp(18px, 2vw, 26px); font-size: clamp(1.5rem, 2.4vw, 2.1rem); letter-spacing: -0.035em; }

/* ---------- L'entretien : un geste par rythme ---------- */
.rythme { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(16px, 2vw, 28px); }
.rythme li { padding: clamp(20px, 2.2vw, 28px); border-radius: 28px; background: var(--base); box-shadow: var(--releve); }
.quand { display: inline-block; margin-bottom: 14px; padding: 7px 14px; border-radius: 999px; box-shadow: var(--creux-petit); color: var(--calme); font-size: 0.92rem; font-weight: 700; }
.rythme p { color: var(--doux); }

/* ---------- Le déroulé : des étapes qui se suivent ---------- */
.etapes { counter-reset: etape; display: grid; gap: 18px; }
.etapes li { counter-increment: etape; position: relative; padding: 20px 24px 20px 84px; border-radius: 26px; background: var(--base); box-shadow: var(--releve); }
.etapes li::before { content: counter(etape); position: absolute; left: 20px; top: 18px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; box-shadow: var(--creux); color: var(--calme); font-size: 1.15rem; font-weight: 800; }
.etapes p { margin-top: 4px; color: var(--doux); }
.etapes-courtes { margin: 26px 0 22px; }
.note-service { width: fit-content; max-width: 100%; margin-top: 30px; padding: 16px 22px; border-radius: 22px; box-shadow: var(--creux-petit); color: var(--doux); }
.roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.roles li { padding: clamp(22px, 2.2vw, 30px); border-radius: 30px; background: var(--base); box-shadow: var(--releve); }
.roles p { margin-top: 8px; color: var(--doux); font-size: 0.98rem; }

/* ---------- L'appel de fin de page ---------- */
.appel { display: grid; justify-items: start; gap: 22px; padding: clamp(26px, 4vw, 56px); border-radius: clamp(30px, 3.4vw, 48px); background: var(--base); box-shadow: var(--releve-fort); }
.appel h2 { max-width: 24ch; font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1.08; text-wrap: balance; }
.appel .chapeau { margin-top: -6px; }
.prudence { margin-top: 26px; color: var(--doux); font-size: 0.92rem; }
.plan-large .plan-cadre { min-height: 0; aspect-ratio: 21 / 9; }

/* ---------- Pied : le plan du site ---------- */
.pied { justify-items: stretch; gap: 28px; text-align: left; }
.pied-plan { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: clamp(22px, 3vw, 48px); padding: 0 clamp(4px, 2vw, 28px); }
.pied-marque .marque { align-items: flex-start; }
.pied-marque .marque img { width: clamp(96px, 9vw, 132px); }
.pied-marque p { margin-top: 14px; max-width: 24ch; }
.pied h2 { margin-bottom: 10px; color: var(--doux); font-size: 0.95rem; font-weight: 600; letter-spacing: 0; line-height: 1.3; }
.pied-plan li { padding: 6px 0; color: var(--encre); font-weight: 600; }
.pied-plan a { text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .pied-plan a:hover { text-decoration: underline; text-decoration-color: var(--corail); text-decoration-thickness: 2px; text-underline-offset: 4px; } }
.pied [data-pause] { justify-self: center; }
.pied-legal { justify-self: center; text-align: center; }
@media (pointer: coarse) { .pied-plan li { padding: 0; } .pied-plan li a { display: inline-flex; align-items: center; min-height: 44px; } .pied-contact li:not(:has(a)) { padding: 10px 0; } .ariane a { padding-block: 12px; margin-block: -12px; } }

@media (max-width: 1080px) {
  .familles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .famille { grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr); grid-template-rows: 1fr auto; align-items: center; }
  .famille-dessin { grid-row: 1 / -1; }
  .famille-texte { align-self: end; }
  .famille-fleche { align-self: start; justify-self: start; margin-left: 10px; }
  .grille-pieces { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pied-plan { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pied-marque { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .menu-tel { display: block; }
  .page-tete, .duo, .duo-haut, .vitrine-appareils { grid-template-columns: minmax(0, 1fr); }
  .duo-inverse > :first-child { order: 0; }
  .vitrine-dessin .dessin { width: min(74%, 300px); }
  .cadre-dessin .dessin { width: min(56%, 260px); }
  .socle-grand { width: min(56%, 240px); justify-self: center; }
  .roles { grid-template-columns: minmax(0, 1fr); }
  .titre-page { font-size: clamp(2.4rem, 9.6vw, 4.4rem); }
  .plan-large .plan-cadre { aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) {
  .tel { display: none; }
  .familles { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .famille { grid-template-columns: 104px minmax(0, 1fr) auto; grid-template-rows: auto; gap: 14px; padding: 12px; border-radius: 28px; }
  .famille-dessin { grid-row: auto; border-radius: 20px; }
  .famille-texte { align-self: center; padding: 0; }
  .famille-texte strong { font-size: 1.12rem; }
  .famille-texte span { font-size: 0.92rem; }
  .famille-fleche { align-self: center; justify-self: end; margin: 0 2px 0 0; }
  .grille-pieces { grid-template-columns: minmax(0, 1fr); }
  .sommaire { border-radius: 26px; }
  .sommaire a { padding: 11px 14px; font-size: 0.92rem; }
  .etapes li { padding: 18px 18px 18px 74px; }
  .etapes li::before { left: 14px; }
  .page-tete .actions, .appel .actions { display: grid; grid-template-columns: 1fr; width: 100%; }
  .pied-plan { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.appel > * { min-width: 0; max-width: 100%; }
.appel .lien { white-space: normal; }
@media (max-width: 380px) {
  .appel { padding: 22px 18px; }
  .appel .bouton { padding-inline: 14px; }
}

/* ---------- Nos articles : un catalogue sans prix, rangé par rayon ---------- */
.filtres { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(26px, 3.4vw, 44px); }
.filtre { min-height: 44px; padding: 10px 18px; border-radius: 999px; background: var(--base); box-shadow: var(--releve-petit); color: var(--doux); font-size: 0.95rem; font-weight: 700; transition: box-shadow 0.2s ease, color 0.2s ease; }
.filtre[aria-pressed="true"] { box-shadow: var(--creux); color: var(--encre); }
.articles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.article { display: grid; grid-template-rows: auto auto auto 1fr auto; justify-items: start; gap: 4px; padding: 14px 14px 18px; border-radius: 32px; background: var(--base); box-shadow: var(--releve); }
.article[hidden] { display: none; }
.article-vue { display: grid; place-items: center; width: 100%; aspect-ratio: 1; margin-bottom: 12px; overflow: hidden; border-radius: 22px; box-shadow: var(--creux); cursor: pointer; }
.article-vue-photo { padding: 8px; }
.article-vue-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; transition: scale 0.5s var(--sortie); }
.article-vue .dessin { width: 78%; transition: scale 0.5s var(--sortie); }
.article-vue .picto, .fiche-vue .picto { width: 38%; fill: none; stroke: var(--calme); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) and (pointer: fine) { .article-vue:hover img, .article-vue:hover .dessin { scale: 1.05; } }
.article-famille { padding: 0 8px; color: var(--calme); font-size: 0.875rem; font-weight: 700; }
.article h3 { padding: 0 8px; font-size: 1.2rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; }
.article-resume { padding: 0 8px; color: var(--doux); font-size: 0.96rem; line-height: 1.4; }
.article .bouton { margin: 14px 0 0 6px; }
.aucun { padding: 30px 0; color: var(--doux); }
.fiche { width: min(920px, 100vw - 2 * var(--marge)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: clamp(28px, 3vw, 44px); background: var(--base); color: var(--encre); box-shadow: 0 30px 80px rgba(19, 28, 36, 0.35); overflow: auto; overscroll-behavior: contain; }
.fiche[open] { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(20px, 3vw, 44px); padding: clamp(18px, 2.6vw, 36px); animation: fiche 0.28s var(--sortie); }
.fiche::backdrop { background: rgba(19, 28, 36, 0.42); animation: voile 0.25s ease; }
@keyframes fiche { from { opacity: 0; scale: 0.96; translate: 0 10px; } }
@keyframes voile { from { opacity: 0; } }
.fiche form { position: absolute; top: 14px; right: 14px; z-index: 1; margin: 0; }
.fiche-fermer { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--base); box-shadow: var(--releve-petit); }
.fiche-fermer:active { box-shadow: var(--creux-petit); }
.fiche-fermer svg { width: 20px; height: 20px; fill: none; stroke: var(--encre); stroke-width: 2.200; stroke-linecap: round; }
.fiche-vue { display: grid; place-items: center; aspect-ratio: 1; overflow: hidden; border-radius: clamp(20px, 2.2vw, 30px); box-shadow: var(--creux); }
.fiche-vue.article-vue-photo { padding: 10px; }
.fiche-vue img { width: 100%; height: 100%; object-fit: cover; border-radius: clamp(14px, 1.6vw, 22px); }
.fiche-vue .dessin { width: 78%; }
.fiche-texte { display: grid; justify-items: start; gap: 12px; padding-right: 8px; }
.fiche-texte .article-famille { padding: 0; }
.fiche-texte h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.05; }
.fiche-texte .chapeau { margin-top: 0; font-size: clamp(1.05rem, 1.3vw, 1.2rem); }
.fiche-texte .actions { margin-top: 10px; }
@media (max-width: 1080px) { .articles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .articles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .article { padding: 10px 10px 14px; border-radius: 26px; }
  .article-vue { border-radius: 18px; }
  .article h3 { font-size: 1.05rem; padding: 0 4px; }
  .article-famille, .article-resume { padding: 0 4px; }
  .article-resume { font-size: 0.9rem; }
  .article .bouton { margin-left: 2px; }
  .fiche[open] { grid-template-columns: minmax(0, 1fr); }
  .fiche-vue { max-width: 320px; width: 100%; justify-self: center; }
  .fiche-texte .actions { display: grid; width: 100%; }
}
@media (max-width: 340px) { .articles { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Téléphone : le logo est déjà dans la barre du haut, le dessin des appareils prend moins de place ---------- */
@media (max-width: 640px) {
  .medaillon { display: none; }
  .vitrine-appareils { gap: 14px; padding: 16px; }
  .vitrine-dessin .dessin { width: min(52%, 200px); }
  .liste-appareils { gap: 10px; }
  .liste-appareils li { padding: 13px 16px; }
}

/* ---------- Conseils : des textes à lire, écrits par le magasin ---------- */
.conseils { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.conseil { display: grid; grid-template-columns: 132px minmax(0, 1fr) auto; align-items: center; gap: 20px; height: 100%; padding: 14px 18px 14px 14px; border-radius: 30px; background: var(--base); box-shadow: var(--releve); text-decoration: none; transition: box-shadow 0.3s ease, translate 0.3s var(--sortie); }
.conseil-vue { display: grid; place-items: center; aspect-ratio: 1; overflow: hidden; border-radius: 20px; box-shadow: var(--creux); }
.conseil-vue .dessin { width: 80%; }
.conseil-vue .picto { width: 44%; fill: none; stroke: var(--calme); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.conseil-vue-photo { padding: 7px; }
.conseil-vue-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.conseil-texte { display: grid; gap: 5px; }
.conseil-texte strong { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.2; }
.conseil-texte > span:last-child { color: var(--doux); font-size: 0.98rem; line-height: 1.4; }
.conseil-date { color: var(--calme); font-size: 0.875rem; font-weight: 700; }
.conseil:active { box-shadow: var(--creux); }
@media (hover: hover) and (pointer: fine) {
  .conseil:hover { box-shadow: var(--releve-fort); translate: 0 -4px; }
  .conseil:hover .famille-fleche { box-shadow: var(--creux-petit); }
  .conseil:hover .famille-fleche svg { translate: 3px 0; }
}
.titre-conseil { font-size: clamp(2.1rem, 4.2vw, 3.6rem); line-height: 1.02; }
.page-tete .conseil-date { margin-top: 18px; }
.texte-long { max-width: 68ch; padding: clamp(24px, 3.4vw, 48px); border-radius: clamp(28px, 3vw, 44px); background: var(--base); box-shadow: var(--releve); font-size: clamp(1.06rem, 1.25vw, 1.18rem); line-height: 1.6; }
.texte-long > * + * { margin-top: 1.05em; }
.texte-long ul { display: grid; gap: 10px; }
.texte-long li { position: relative; padding-left: 26px; }
.texte-long li::before { content: ""; position: absolute; left: 4px; top: 0.62em; width: 9px; height: 9px; border-radius: 50%; background: var(--corail); }
.sommaire-libre { margin-top: clamp(22px, 3vw, 36px); }
.article-etat { margin-left: 8px; padding: 2px 9px; border-radius: 999px; box-shadow: var(--creux-petit); color: var(--doux); font-weight: 600; }
.article-marque { color: var(--doux); font-weight: 600; }
.titre-page { overflow-wrap: break-word; }
@media (max-width: 1080px) { .conseils { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .conseil { grid-template-columns: 92px minmax(0, 1fr) auto; gap: 14px; padding: 12px; border-radius: 26px; }
  .conseil-texte strong { font-size: 1.06rem; }
  .conseil-texte > span:last-child { font-size: 0.92rem; }
  .texte-long { padding: 22px 20px; }
}
@media (max-width: 380px) { .titre-page { font-size: 2rem; } .conseil .famille-fleche { display: none; } .conseil { grid-template-columns: 84px minmax(0, 1fr); } }

/* ---------- Menu : une seule ligne ; sous 1240 px, le menu passe dans le bouton ---------- */
.tete nav a, .sous-menu > summary, .marque span { white-space: nowrap; }
@media (max-width: 1239px) { .tete nav { display: none; } .menu-tel { display: block; } }
/* ---------- Page d un conseil : le texte à gauche, comment nous joindre à droite ---------- */
.lecture { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); align-items: start; gap: clamp(20px, 3vw, 44px); }
.lecture .texte-long { max-width: none; }
.appel-cote { position: sticky; top: 108px; padding: clamp(22px, 2.4vw, 32px); gap: 18px; }
.appel-cote h2 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); }
.appel-cote .actions { display: grid; width: 100%; }
@media (max-width: 900px) { .lecture { grid-template-columns: minmax(0, 1fr); } .appel-cote { position: static; } }

.texte-long-large { max-width: 78ch; }
.pied-legal a { color: var(--encre); font-weight: 700; text-decoration-color: var(--corail); text-decoration-thickness: 2px; text-underline-offset: 4px; }
