/* Yorix Groupe — le BAT (bon à tirer).
   La page est une feuille d'épreuve : papier, encre noire, gamme de contrôle, traits de coupe,
   titres en quatre plaques qui se calent en repérage, un ton direct par métier,
   le rouge correcteur pour valider, et chaque réalisation tirée comme une épreuve. */

@font-face {
  font-family: "Schibsted";
  src: url("/assets/fonts/schibsted-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}

/* ---------- Encres ---------- */
:root {
  --papier: #f7f7f4;
  --papier-2: #ecece6;
  --feuille: #ffffff;
  --noir: #121212;
  --gris: #55575e;
  --filet: rgba(18, 18, 18, 0.14);
  --filet-fort: rgba(18, 18, 18, 0.42);

  --cyan: #00a0e3;
  --magenta: #e4007c;
  --jaune: #ffe100;
  --rouge: #d7141c;

  --ton: var(--noir);
  --sur-ton: var(--papier);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-presse: cubic-bezier(0.7, 0, 0.2, 1);
  --gouttiere: clamp(16px, 4.4vw, 72px);
  --largeur: 1320px;
  --nav-h: 66px;
  --ombre-feuille: 0 1px 0 rgba(0, 0, 0, 0.04), 0 22px 36px -24px rgba(0, 0, 0, 0.42);
}
/* Un ton direct par métier, partout */
.ton-identite { --ton: #ffd400; --sur-ton: #121212; }
.ton-web { --ton: #00a0e3; --sur-ton: #121212; }
.ton-communication { --ton: #c8006f; --sur-ton: #f7f7f4; }
.ton-visuel { --ton: #00a651; --sur-ton: #121212; }
.ton-motion { --ton: #6c3bd1; --sur-ton: #f7f7f4; }
.ton-evenement { --ton: #ff6a13; --sur-ton: #121212; }
.ton-noir { --ton: #121212; --sur-ton: #f7f7f4; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); scrollbar-color: var(--noir) var(--papier-2); }
body {
  margin: 0; background: var(--papier); color: var(--noir);
  font-family: "Schibsted", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.0938rem); line-height: 1.6;
  font-kerning: normal; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
  caret-color: var(--rouge); overflow-x: clip;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, fieldset { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--jaune); color: var(--noir); }
:focus-visible { outline: 2px solid var(--noir); outline-offset: 3px; box-shadow: 0 0 0 5px var(--jaune); }
.sur-noir :focus-visible { outline-color: var(--jaune); box-shadow: 0 0 0 5px var(--noir); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--papier-2); }
::-webkit-scrollbar-thumb { background: var(--noir); border: 3px solid var(--papier-2); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.chiffres { font-variant-numeric: tabular-nums; }
.saut { position: fixed; left: 12px; top: -80px; z-index: 100; padding: 12px 18px; background: var(--jaune); color: var(--noir); font-weight: 700; text-decoration: none; transition: top 0.2s; }
.saut:focus { top: 12px; }
.cadre { width: min(100% - 2 * var(--gouttiere), var(--largeur)); margin-inline: auto; }
.section { padding-block: clamp(72px, 9vw, 136px); }
.section-serree { padding-block: clamp(56px, 6vw, 96px); }

/* ---------- Typographie ---------- */
.titre-xl { font-size: clamp(2.8rem, 1.2rem + 4.9vw, 6rem); font-weight: 860; line-height: 0.94; letter-spacing: -0.038em; text-wrap: balance; }
.titre-l { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.4rem); font-weight: 820; line-height: 1.02; letter-spacing: -0.032em; text-wrap: balance; }
.titre-m { font-size: clamp(1.25rem, 1.02rem + 0.8vw, 1.65rem); font-weight: 760; line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
.capitales { font-size: 0.72rem; line-height: 1.3; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.chapo { font-size: clamp(1.08rem, 0.98rem + 0.4vw, 1.28rem); line-height: 1.5; max-width: 46ch; color: var(--gris); text-wrap: pretty; }
.chapo b, .chapo strong { color: var(--noir); font-weight: 700; }
.texte { max-width: 64ch; text-wrap: pretty; }
.doux { color: var(--gris); }

/* ---------- La gamme de contrôle et la barre du haut ---------- */
.gamme { display: grid; grid-template-columns: repeat(24, 1fr); height: 12px; }
.gamme i { display: block; }
.haut {
  position: sticky; top: 0; z-index: 60; display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px);
  height: var(--nav-h); padding-inline: var(--gouttiere);
  background: var(--papier); border-bottom: 1px solid var(--noir);
}
.marque { display: inline-flex; align-items: center; gap: 10px; flex: none; text-decoration: none; font-size: 1.06rem; font-weight: 820; letter-spacing: -0.015em; }
.marque img { width: 15px; height: 20px; }
.marque span { font-weight: 500; color: var(--gris); }
.haut-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.haut-nav a { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; text-decoration: none; font-size: 0.94rem; font-weight: 620; }
.haut-nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 8px; height: 2px; background: var(--rouge); transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease); }
.haut-nav a:hover::after, .haut-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.haut-nav .teeya-lien img { width: 20px; height: 20px; }
.haut > .bouton { flex: none; }
.menu { display: none; position: relative; }
.menu > summary { list-style: none; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; background: var(--noir); color: var(--papier); cursor: pointer; font-weight: 700; font-size: 0.92rem; }
.menu > summary::-webkit-details-marker { display: none; }
.menu-traits { display: grid; gap: 4px; width: 16px; }
.menu-traits i { display: block; height: 2px; background: currentColor; transition: transform 0.25s var(--ease); }
.menu[open] .menu-traits i:first-child { transform: translateY(3px) rotate(45deg); }
.menu[open] .menu-traits i:last-child { transform: translateY(-3px) rotate(-45deg); }
.menu-panneau { position: fixed; left: 0; right: 0; top: var(--nav-h); max-height: calc(100dvh - var(--nav-h)); overflow: auto; padding: 8px var(--gouttiere) 28px; background: var(--papier); border-bottom: 1px solid var(--noir); box-shadow: 0 30px 40px -30px rgba(0, 0, 0, 0.4); animation: tomber 0.3s var(--ease) both; }
.menu-panneau a:not(.bouton) { display: flex; align-items: center; justify-content: space-between; min-height: 58px; text-decoration: none; border-bottom: 1px solid var(--filet); font-size: 1.35rem; font-weight: 760; letter-spacing: -0.02em; }
.menu-panneau a[aria-current="page"] { color: var(--rouge); }
.menu-panneau .bouton { margin-top: 20px; width: 100%; justify-content: center; }
@keyframes tomber { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.teeya-mobile { display: none; width: 44px; height: 44px; place-items: center; margin-left: auto; }
.teeya-mobile img { width: 28px; height: 28px; }

/* ---------- Boutons ---------- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px;
  border: 0; border-radius: 0; cursor: pointer; text-decoration: none; white-space: nowrap;
  background: var(--noir); color: var(--papier); font-weight: 700; font-size: 0.95rem; line-height: 1;
  transition: background-color 0.25s var(--ease), color 0.25s, box-shadow 0.25s;
}
.bouton:hover { background: var(--rouge); }
.bouton-ligne { background: transparent; color: var(--noir); box-shadow: inset 0 0 0 1.5px var(--noir); }
.bouton-ligne:hover { background: var(--jaune); color: var(--noir); }
.bouton-ton { background: var(--ton); color: var(--sur-ton); }
.bouton-ton:hover { background: var(--noir); color: var(--papier); }
.bouton-grand { min-height: 58px; padding: 0 28px; font-size: 1rem; }
.bouton[disabled] { opacity: 0.55; cursor: progress; }
.ic { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.3s var(--ease); }
.bouton:hover .ic, .lien:hover .ic { transform: translateX(3px); }
.boutons { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.lien { display: inline-flex; align-items: center; gap: 0.45em; font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.3em; text-decoration-color: var(--rouge); }
.lien:hover { color: var(--rouge); }

/* ---------- Repères d'imprimeur ---------- */
.repere { position: absolute; width: 20px; height: 20px; pointer-events: none; }
.repere::before, .repere::after { content: ""; position: absolute; background: var(--noir); }
.repere::before { left: 0; top: 10px; width: 20px; height: 1px; }
.repere::after { left: 10px; top: 0; width: 1px; height: 20px; }
.coin-hg { left: 12px; top: 12px; } .coin-hd { right: 12px; top: 12px; } .coin-bg { left: 12px; bottom: 12px; } .coin-bd { right: 12px; bottom: 12px; }
.cible { position: absolute; width: 24px; height: 24px; border: 1px solid var(--noir); border-radius: 50%; pointer-events: none; }
.cible::before { content: ""; position: absolute; left: 50%; top: -6px; bottom: -6px; width: 1px; background: var(--noir); }
.cible::after { content: ""; position: absolute; top: 50%; left: -6px; right: -6px; height: 1px; background: var(--noir); }
.cible-h { left: 50%; top: 12px; margin-left: -12px; }
/* Filet de coupe : la ligne qui ouvre une section, avec ses traits aux deux bouts */
.coupe { position: relative; height: 1px; background: var(--noir); margin-bottom: clamp(36px, 4vw, 56px); }
.coupe::before, .coupe::after { content: ""; position: absolute; top: -8px; width: 1px; height: 17px; background: var(--noir); }
.coupe::before { left: 0; } .coupe::after { right: 0; }

/* ---------- Titres en plaques (C, M, J, N) ---------- */
.plaques { position: relative; }
.plaques .plaque { position: absolute; inset: 0; mix-blend-mode: multiply; pointer-events: none; will-change: transform; }
.plaque-c { color: var(--cyan); } .plaque-m { color: var(--magenta); } .plaque-j { color: var(--jaune); }
.plaque-ton { color: var(--ton); }
.plaques h1, .plaques .plaques-noir { position: relative; font: inherit; color: var(--noir); }

/* ---------- La feuille d'ouverture ---------- */
.feuille { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 4vw, 72px); align-items: center;
  min-height: min(calc(100svh - var(--nav-h) - 12px), 920px); padding: clamp(48px, 5.5vw, 84px) var(--gouttiere) 96px; }
.feuille-texte { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; }
.tete-page-texte, .correctrice-texte, .contact-texte, .metier-info, .produit-texte, .applis-info { grid-template-columns: minmax(0, 1fr); }
.demander { display: flex; align-items: center; max-width: 560px; background: var(--feuille); box-shadow: inset 0 0 0 1.5px var(--noir); transition: box-shadow 0.2s; }
.demander:focus-within { box-shadow: inset 0 0 0 2px var(--rouge); }
.demander > img { width: 24px; height: 24px; margin-left: 14px; flex: none; }
.demander input { flex: 1 1 0; width: 0; min-width: 0; height: 54px; padding: 0 14px; border: 0; background: transparent; font-size: 1rem; color: var(--noir); }
.demander input::placeholder { color: #66686f; opacity: 1; }
.demander input:focus { outline: none; box-shadow: none; }
.demander button { margin: 6px; height: 42px; padding: 0 16px; border: 0; background: var(--noir); color: var(--papier); font-weight: 700; font-size: 0.88rem; cursor: pointer; }
.demander button:hover { background: var(--rouge); }

/* La pile d'épreuves */
.epreuves { position: relative; justify-self: center; width: min(100%, 520px); aspect-ratio: 1 / 1.02; margin-bottom: 64px; }
.epreuve { position: absolute; inset: 0 0 auto 0; display: block; padding: 24px 24px 48px; background: var(--feuille); box-shadow: var(--ombre-feuille); transition: transform 0.8s var(--ease-presse), opacity 0.8s; transform-origin: 30% 80%; text-decoration: none; }
.epreuve-zone { position: relative; aspect-ratio: 16 / 10.4; overflow: hidden; background: var(--papier-2); }
.epreuve-zone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.traits { position: absolute; inset: 12px 12px 36px; pointer-events: none; }
.traits i { position: absolute; width: 12px; height: 12px; border: 0 solid var(--noir); }
.traits i:nth-child(1) { left: -2px; top: -2px; border-left-width: 1px; border-top-width: 1px; }
.traits i:nth-child(2) { right: -2px; top: -2px; border-right-width: 1px; border-top-width: 1px; }
.traits i:nth-child(3) { left: -2px; bottom: -2px; border-left-width: 1px; border-bottom-width: 1px; }
.traits i:nth-child(4) { right: -2px; bottom: -2px; border-right-width: 1px; border-bottom-width: 1px; }
.epreuve-infos { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-top: 16px; }
.epreuve-nom { font-size: 1.45rem; font-weight: 820; letter-spacing: -0.025em; line-height: 1.1; }
.epreuve-type { font-size: 0.86rem; color: var(--gris); }
.epreuve-lien { font-size: 0.82rem; font-weight: 700; text-decoration: underline; text-decoration-color: var(--rouge); text-underline-offset: 0.25em; }
.epreuve-slug { position: absolute; left: 24px; right: 24px; bottom: 14px; display: flex; align-items: center; gap: 12px; overflow: hidden; white-space: nowrap; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gris); }
.pastilles { display: inline-flex; gap: 3px; flex: none; }
.pastilles b { display: block; width: 9px; height: 9px; }
.epreuve[data-rang="1"] { transform: translate(14px, 16px) rotate(2.2deg); }
.epreuve[data-rang="2"] { transform: translate(-10px, 30px) rotate(-1.8deg); }
.epreuve[data-rang="3"] { transform: translate(22px, 44px) rotate(3.2deg); }
.epreuve[data-rang="4"] { transform: translate(0, 50px); opacity: 0; visibility: hidden; }
.epreuve.sort { transform: translate(-120%, -4%) rotate(-14deg); opacity: 0; }
.tampon { position: absolute; right: 16px; top: 16px; width: 140px; height: 140px; color: var(--rouge); pointer-events: none; opacity: 0; transform: scale(1.8) rotate(-24deg); mix-blend-mode: multiply; }
.epreuve.validee .tampon, .pli[open] .tampon { animation: tampon 0.45s cubic-bezier(0.2, 1.4, 0.4, 1) 0.2s forwards; }
@keyframes tampon { 0% { opacity: 0; transform: scale(1.8) rotate(-24deg); } 60% { opacity: 0.95; transform: scale(0.94) rotate(-12deg); } 100% { opacity: 0.9; transform: scale(1) rotate(-12deg); } }
.epreuves .suivante { position: absolute; left: 50%; bottom: -66px; transform: translateX(-50%); }
.ligne-pied { display: flex; flex-wrap: wrap; gap: 6px 22px; padding-top: 10px; border-top: 1px solid var(--noir); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--gris); }
.ligne-pied b { color: var(--noir); }
.feuille > .ligne-pied { position: absolute; left: var(--gouttiere); right: var(--gouttiere); bottom: 24px; }

/* ---------- Sections : tête ---------- */
.tete { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 20px 48px; margin-bottom: clamp(32px, 4vw, 56px); }
.tete .texte, .tete .chapo { margin-top: 16px; }

/* ---------- Photos imprimées : bichromie, quadri au survol ---------- */
.photo { position: relative; }
.photo-cadre { position: relative; overflow: hidden; background: var(--papier-2); }
.photo-cadre img { width: 100%; height: 100%; object-fit: cover; }
.photo-quadri { position: absolute; inset: 0; opacity: 0; transition: opacity 0.7s var(--ease); }
.photo:hover .photo-quadri, .photo:focus-within .photo-quadri { opacity: 1; }
.photo figcaption { margin-top: 10px; }
.photo figcaption a { text-decoration: none; }
.photo figcaption a:hover { text-decoration: underline; }

/* ---------- Mises en situation : vraies réalisations, vrais écrans ---------- */
.maquette { position: relative; aspect-ratio: var(--l) / var(--h); overflow: hidden; background: var(--papier-2); }
.maquette-scene { position: absolute; left: 0; top: 0; width: calc(var(--l) * 1px); height: calc(var(--h) * 1px); transform-origin: 0 0; transform: scale(var(--k, 0.3)); }
.maquette-photo { position: absolute; inset: 0; width: 100%; height: 100%; }
.maquette-ecran { position: absolute; left: 0; top: 0; transform-origin: 0 0; overflow: hidden; background: #000; }
.maquette-ecran img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; filter: brightness(0.95) contrast(1.02); clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease-presse); }
.maquette-ecran img.is-active { clip-path: inset(0 0 0 0); z-index: 1; }
.maquette-ecran img.is-sortie { clip-path: inset(0 0 0 0); z-index: 0; }
.maquette-ecran::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(118deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 38%); pointer-events: none; }
.demonstration { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(16px, 2vw, 28px); align-items: start; }
.maquette-legende { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; align-items: baseline; margin-top: 12px; }
.maquette-legende b { font-weight: 760; }

/* ---------- La planche d'imposition (projets) ---------- */
.planche { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); align-items: start; }
.planche-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pli { position: relative; scroll-margin-top: calc(var(--nav-h) + 20px); }
.pli > summary { list-style: none; }
.pli > summary::-webkit-details-marker { display: none; }
.pli-bouton { position: relative; display: block; padding: 18px 18px 44px; background: var(--feuille); box-shadow: var(--ombre-feuille); cursor: pointer; transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); }
.pli-bouton:hover { transform: translateY(-4px) rotate(-0.6deg); box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04), 0 30px 44px -26px rgba(0, 0, 0, 0.5); }
.pli-image { position: relative; aspect-ratio: 16 / 10.4; overflow: hidden; background: var(--papier-2); }
.pli-image > img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease); }
.pli-bouton:hover .pli-image > img { transform: scale(1.03); }
.pli-image-appli { display: flex; align-items: flex-start; justify-content: center; gap: 5%; padding-top: 6%; }
.pli-image-appli img { width: 28%; height: auto; aspect-ratio: 780 / 1688; object-fit: cover; object-position: top; border-radius: 10px; box-shadow: 0 0 0 4px var(--noir), 0 14px 20px -14px rgba(0, 0, 0, 0.6); }
.pli-image-appli img:nth-child(2) { margin-top: 10%; }
.pli-titre { display: grid; gap: 2px; margin-top: 14px; font: inherit; }
.pli-nom { font-size: 1.28rem; font-weight: 800; letter-spacing: -0.025em; line-height: 1.12; }
.pli-type { font-size: 0.88rem; color: var(--gris); }
.pli-type b { color: var(--noir); font-weight: 700; }
.pli-etats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.etat { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; box-shadow: inset 0 0 0 1px var(--filet-fort); }
.etat-test { background: var(--jaune); box-shadow: none; }
.etat-maison { background: var(--noir); color: var(--papier); box-shadow: none; }
.pli-slug { position: absolute; left: 18px; right: 18px; bottom: 14px; display: flex; align-items: center; gap: 10px; overflow: hidden; white-space: nowrap; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gris); }
.nuancier { display: inline-flex; flex: none; box-shadow: 0 0 0 1px var(--filet); }
.nuancier b { display: block; width: 12px; height: 12px; }
.pli-ouvrir { position: absolute; right: 26px; top: 26px; z-index: 3; display: grid; place-items: center; width: 40px; height: 40px; background: var(--noir); color: var(--papier); transition: transform 0.4s var(--ease), background-color 0.2s; }
.pli-bouton:hover .pli-ouvrir { background: var(--rouge); }
.pli-ouvrir svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.pli-deplie { position: relative; }
.pli-deplie > .tampon { z-index: 2; width: 128px; height: 128px; left: 2px; right: auto; top: 6px; }
.pli-slug-texte { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
/* Ouvert : l'épreuve prend toute la largeur ; la tête devient une barre, le tirage se déplie dessous */
.planche .pli[open] { grid-column: 1 / -1; }
.pli[open] .pli-bouton { transform: none; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; padding: 18px 76px 18px 18px; }
.pli[open] .pli-bouton .pli-image, .pli[open] .pli-bouton .traits, .pli[open] .pli-bouton .pli-slug { display: none; }
.pli[open] .pli-titre, .pli[open] .pli-etats { margin-top: 0; }
.pli[open] .pli-ouvrir { top: 50%; right: 18px; translate: 0 -50%; transform: rotate(45deg); background: var(--rouge); }
:root { interpolate-size: allow-keywords; }
.pli::details-content { block-size: 0; overflow: clip; transition: block-size 0.6s var(--ease-presse), content-visibility 0.6s allow-discrete; }
.pli[open]::details-content { block-size: auto; }
.pli-deplie { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); padding: clamp(22px, 3vw, 36px) 18px 32px; background: var(--feuille); box-shadow: var(--ombre-feuille); border-top: 1px dashed var(--filet-fort); }
.pli-texte { display: grid; gap: 18px; align-content: start; }
.faits { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; padding: 14px 0; border-block: 1px solid var(--filet); font-size: 0.95rem; }
.faits dt { color: var(--gris); }
.faits dd { font-weight: 650; overflow-wrap: anywhere; }
.faits .nuancier b { width: 18px; height: 18px; }
.pli-actions { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
/* Écartée par un filtre : la feuille reste à sa place, en gâche */
.pli.is-ecarte .pli-bouton { opacity: 0.18; filter: grayscale(1); box-shadow: none; cursor: default; transform: none; }
.pli.is-ecarte::details-content { display: none; }

/* Écrans (dans une épreuve dépliée) */
.ecrans { position: relative; padding-bottom: clamp(24px, 4vw, 48px); padding-right: clamp(36px, 8vw, 110px); }
.ecran-vue { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--papier-2); box-shadow: 0 0 0 1px var(--filet-fort); }
.ecran-vue img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ecrans figcaption { margin-top: 10px; }
.tel { position: absolute; right: 0; bottom: 0; width: clamp(100px, 18%, 160px); aspect-ratio: 9 / 19.2; padding: 6px; border-radius: 22px; background: var(--noir); box-shadow: 0 26px 36px -24px rgba(0, 0, 0, 0.7); }
.tel-ecran { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 16px; background: var(--papier-2); }
.tel-ecran img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.tel-grand { position: relative; right: auto; bottom: auto; width: min(300px, 76vw); margin-inline: auto; padding: 9px; border-radius: 38px; }
.tel-grand .tel-ecran { border-radius: 30px; }
.ecrans-appli { padding: 0; display: grid; justify-items: center; }
.cadre-vivant { position: absolute; left: 0; top: 0; max-width: none; border: 0; transform-origin: 0 0; background: #fff; }
.tel-chargement, .ecran-chargement { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; text-align: center; padding: 16px; background: var(--noir); color: var(--papier); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; transition: opacity 0.4s; }
.is-charge .tel-chargement, .is-charge .ecran-chargement { opacity: 0; pointer-events: none; }
.goutte { width: 40px; height: 40px; margin: 0 auto 10px; }
.goutte .g1 { animation: goutte 1.5s var(--ease) infinite; transform-origin: 32px 32px; }
.goutte .g2 { animation: goutte 1.5s var(--ease) 0.25s infinite; transform-origin: 32px 32px; }
@keyframes goutte { 0% { transform: scale(0.6); opacity: 0.2; } 50% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.12); opacity: 0.2; } }

/* ---------- Filtres : la gamme ---------- */
.filtres { display: flex; flex-wrap: wrap; gap: 8px; }
.filtre { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px 0 10px; border: 0; cursor: pointer; background: var(--feuille); box-shadow: inset 0 0 0 1px var(--filet-fort); font-weight: 650; font-size: 0.92rem; transition: background-color 0.2s, box-shadow 0.2s, color 0.2s; }
.filtre::before { content: ""; width: 12px; height: 12px; background: var(--ton); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.18); }
.filtre span { font-variant-numeric: tabular-nums; color: var(--gris); }
.filtre.ton-noir::before { display: none; }
.filtre.ton-noir { padding-left: 14px; }
.filtre:hover { box-shadow: inset 0 0 0 1.5px var(--noir); }
.filtre[aria-pressed="true"] { background: var(--noir); color: var(--papier); box-shadow: none; }
.filtre[aria-pressed="true"] span { color: var(--papier); }
.compte-filtre { margin-top: 12px; }
.compte-filtre:empty { display: none; }

/* ---------- Accueil : applis à tester ---------- */
.applis-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 440px); gap: clamp(32px, 6vw, 96px); align-items: center; }
.applis-choix { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; border: 0; padding: 0; min-width: 0; }
.appli-choix { position: relative; display: inline-flex; }
.appli-choix input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.appli-choix span { display: grid; gap: 1px; min-height: 54px; padding: 8px 14px; background: var(--feuille); box-shadow: inset 0 0 0 1px var(--filet-fort); transition: background-color 0.2s, box-shadow 0.2s, color 0.2s; }
.appli-choix b { font-weight: 760; }
.appli-choix small { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gris); }
.appli-choix:hover span { box-shadow: inset 0 0 0 1.5px var(--noir); }
.appli-choix input:checked + span { background: var(--noir); color: var(--papier); box-shadow: none; }
.appli-choix input:checked + span small { color: var(--jaune); }
.appli-choix input:focus-visible + span { outline: 2px solid var(--noir); outline-offset: 3px; box-shadow: 0 0 0 5px var(--jaune); }
.applis-info { display: grid; gap: 16px; justify-items: start; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--noir); }
.applis-legende { display: grid; gap: 6px; min-height: 5.4em; }
.applis-legende p:last-child { color: var(--gris); max-width: 52ch; }
.applis-scene { position: relative; display: grid; justify-items: center; padding: 36px 24px; }
.applis-scene .coin-hg { left: 0; top: 0; } .applis-scene .coin-hd { right: 0; top: 0; } .applis-scene .coin-bg { left: 0; bottom: 0; } .applis-scene .coin-bd { right: 0; bottom: 0; }
.applis-scene .tel-grand { width: min(290px, 74vw); }

/* ---------- Accueil : le nuancier des métiers ---------- */
.metiers-grille { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.bandes { border-top: 1px solid var(--noir); }
.bande { position: relative; isolation: isolate; border-bottom: 1px solid var(--noir); }
.bande::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ton); clip-path: inset(0 100% 0 0); transition: clip-path 0.5s var(--ease-presse); }
.bande-lien { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 18px 8px 18px 0; text-decoration: none; }
.bande-ton { width: 44px; height: 44px; background: var(--ton); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15); transition: transform 0.4s var(--ease), background-color 0.3s; }
.bande-nom { font-size: clamp(1.3rem, 1rem + 1.2vw, 2.05rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.bande-compte { color: var(--gris); white-space: nowrap; }
.bande-plus { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.bande-plus > div { min-height: 0; overflow: hidden; }
.bande-plus-int { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 0 8px 20px 60px; }
.bande-plus-int p { flex: 1 1 280px; max-width: 52ch; }
.bande.is-active::before { clip-path: inset(0 0 0 0); }
.bande.is-active { color: var(--sur-ton); }
.bande.is-active .bande-compte { color: inherit; opacity: 0.85; }
.bande.is-active .bande-ton { transform: scale(0.5) rotate(45deg); background: var(--sur-ton); }
.bande.is-active .bande-plus { grid-template-rows: 1fr; }
.bande.is-active .bouton { background: var(--sur-ton); color: var(--ton); }
.vitrine { position: sticky; top: calc(var(--nav-h) + 28px); }
.vitrine-scene { position: relative; aspect-ratio: 4 / 3; }
.vitrine-vue { position: absolute; inset: 0; opacity: 0; transform: translateY(12px); transition: opacity 0.45s var(--ease), transform 0.6s var(--ease); }
.vitrine-vue.is-active { opacity: 1; transform: none; }
.vitrine-vue .photo, .vitrine-vue .photo-cadre, .vitrine-vue .maquette { height: 100%; aspect-ratio: auto; }
.vitrine-legende { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; margin-top: 14px; min-height: 1.6em; }

/* ---------- Accueil : produits maison ---------- */
.produits { display: grid; gap: clamp(40px, 5vw, 72px); }
.produit-une { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.produits-duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.produit { display: grid; gap: 18px; align-content: start; }
.produit-texte { display: grid; gap: 12px; align-content: start; }
.produit-tete { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.feuille-statique { position: relative; display: block; padding: 18px 18px 40px; background: var(--feuille); box-shadow: var(--ombre-feuille); transition: transform 0.45s var(--ease); }
.feuille-statique:hover { transform: translateY(-4px) rotate(0.5deg); }
.feuille-statique .tampon { opacity: 0.9; transform: rotate(-12deg); width: 110px; height: 110px; animation: none; }
.sceau { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; background: var(--noir); color: var(--papier); }
.produit-liens { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* ---------- Accueil : la correctrice (Teeya) ---------- */
.correctrice-grille { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.correctrice-texte { display: grid; gap: 24px; justify-items: start; }
.teeya-sceau { width: 72px; height: 72px; }
.questions { display: flex; flex-wrap: wrap; gap: 8px; }
.questions a { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; line-height: 1.3; text-decoration: none; background: var(--feuille); box-shadow: inset 0 0 0 1px var(--filet-fort); transition: background-color 0.2s, box-shadow 0.2s; }
.questions a:hover { background: var(--jaune); box-shadow: none; }
.marge { position: relative; padding: 28px 28px 28px 32px; background: var(--feuille); box-shadow: var(--ombre-feuille); }
.marge h3 { margin-bottom: 10px; }
.marge li { position: relative; display: grid; grid-template-columns: 30px 1fr; gap: 10px; padding: 12px 0; border-top: 1px solid var(--filet); }
.marge li:first-child { border-top: 0; }
.signe { color: var(--rouge); }
.signe svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.marge .note { position: absolute; right: -10px; top: -14px; padding: 6px 10px; background: var(--rouge); color: var(--papier); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; transform: rotate(3deg); }

/* ---------- Accueil : Abidjan ---------- */
.abidjan { position: relative; color: var(--papier); background: var(--noir); }
.abidjan .photo-cadre { height: clamp(340px, 40vw, 600px); background: var(--noir); }
.abidjan-texte { position: absolute; left: var(--gouttiere); right: var(--gouttiere); bottom: clamp(24px, 4vw, 56px); display: grid; gap: 14px; pointer-events: none; }
.abidjan-texte .titre-l { max-width: 15ch; }
.abidjan-texte p { max-width: 50ch; color: #ecece7; }
.abidjan-voile { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 10, 10, 0) 30%, rgba(10, 10, 10, 0.72) 100%); pointer-events: none; }
.abidjan figcaption { position: absolute; right: var(--gouttiere); top: 16px; margin: 0; padding: 6px 10px; display: flex; flex-wrap: wrap; gap: 4px 14px; background: rgba(18, 18, 18, 0.72); color: #d9d9d4; border: 0; }
.abidjan figcaption a { color: inherit; }
.abidjan figcaption b { color: var(--papier); }

/* ---------- Méthode ---------- */
.methode { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--noir); }
.etape { position: relative; padding: 30px 26px 8px 0; }
.etape::before { content: ""; position: absolute; top: -12px; left: 0; width: 22px; height: 22px; border: 1px solid var(--noir); border-radius: 50%; background: var(--papier) radial-gradient(circle, var(--noir) 0 2px, transparent 3px); }
.etape h3 { margin-bottom: 8px; }
.etape-num { color: var(--rouge); font-variant-numeric: tabular-nums; margin-right: 0.15em; }
.etape p { color: var(--gris); max-width: 30ch; text-wrap: pretty; }

/* ---------- Le bon de commande ---------- */
.contact-grille { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-texte { display: grid; gap: 22px; justify-items: start; position: sticky; top: calc(var(--nav-h) + 28px); }
.contact-faits { display: grid; gap: 10px; width: 100%; padding: 16px 0; border-block: 1px solid var(--filet); }
.contact-faits li { display: flex; align-items: center; gap: 12px; }
.contact-faits .ic { color: var(--rouge); }
.contact-faits a { font-weight: 700; }
.bon { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; padding: clamp(28px, 3.4vw, 44px); background: var(--feuille); box-shadow: var(--ombre-feuille); }
.bon > .coin-hg { left: -10px; top: -10px; } .bon > .coin-hd { right: -10px; top: -10px; } .bon > .coin-bg { left: -10px; bottom: -10px; } .bon > .coin-bd { right: -10px; bottom: -10px; }
.bon fieldset { grid-column: 1 / -1; border: 0; padding: 0; min-width: 0; }
.bon legend { padding: 0; margin-bottom: 12px; color: var(--gris); }
.choix-rang { display: flex; flex-wrap: wrap; gap: 8px; }
.choix { position: relative; display: inline-flex; }
.choix input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.choix span { display: inline-flex; align-items: center; gap: 0.6em; min-height: 42px; padding: 0 0.95em 0 0.75em; background: var(--feuille); box-shadow: inset 0 0 0 1px var(--filet-fort); font-size: 0.92rem; font-weight: 620; transition: background-color 0.2s, box-shadow 0.2s, color 0.2s; }
.choix span::before { content: ""; width: 13px; height: 13px; flex: none; background: var(--ton); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2); }
.choix:hover span { box-shadow: inset 0 0 0 1.5px var(--noir); }
.choix input:checked + span { background: var(--ton); color: var(--sur-ton); box-shadow: inset 0 0 0 2px var(--noir); }
.choix input:checked + span::before { background: var(--sur-ton); box-shadow: none; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3.2L13 4.8' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3.2L13 4.8' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.choix input:focus-visible + span { outline: 2px solid var(--noir); outline-offset: 3px; box-shadow: 0 0 0 5px var(--jaune); }
.champ { display: grid; gap: 8px; }
.champ-large { grid-column: 1 / -1; }
.champ > span { color: var(--gris); }
.champ input, .champ textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 0; border-bottom: 1.5px solid var(--noir); background: var(--papier); color: var(--noir); font-size: 1rem; transition: background-color 0.2s, box-shadow 0.2s; }
.champ textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.champ input::placeholder, .champ textarea::placeholder { color: #66686f; opacity: 1; }
.champ input:hover, .champ textarea:hover { background: var(--papier-2); }
.champ input:focus, .champ textarea:focus { outline: none; background: var(--feuille); box-shadow: 0 0 0 2px var(--noir), 0 0 0 5px var(--jaune); }
.champ input[aria-invalid="true"], .champ textarea[aria-invalid="true"] { border-bottom-color: var(--rouge); box-shadow: inset 0 -2px 0 var(--rouge); }
.miel { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bon-pied { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; padding-top: 6px; }
.bon-note { font-size: 0.875rem; color: var(--gris); text-wrap: pretty; }
.bon-message { flex: 1 1 260px; min-height: 1.5em; font-weight: 650; }
.bon-message.is-ok { color: #087a3e; }
.bon-message.is-err { color: var(--rouge); }
.bon-message:empty { display: none; }

/* ---------- Le colophon (pied de page) ---------- */
.colophon { color: var(--papier); background: var(--noir); }
.colophon-grille { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 36px; padding-block: clamp(56px, 7vw, 96px) 40px; }
.colophon-marque { display: grid; gap: 16px; justify-items: start; align-content: start; }
.colophon-marque img { width: 30px; height: 40px; }
.colophon-nom { font-size: clamp(1.6rem, 1.1rem + 1.4vw, 2.4rem); font-weight: 860; letter-spacing: -0.035em; line-height: 1; }
.colophon-marque p { color: #b9b9b3; max-width: 34ch; }
.colophon-marque .colophon-nom { color: var(--papier); }
.colophon .gamme i[style*="#121212"] { background: #3a3a3a !important; }
.colophon h2 { margin-bottom: 14px; color: #b9b9b3; }
.colophon ul { display: grid; gap: 2px; }
.colophon li a { display: inline-flex; align-items: center; min-height: 36px; text-decoration: none; font-weight: 600; }
.colophon li a:hover { text-decoration: underline; text-decoration-color: var(--rouge); text-decoration-thickness: 2px; }
.colophon-bas { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 32px; padding-block: 22px 120px; border-top: 1px solid rgba(247, 247, 244, 0.22); font-size: 0.82rem; color: #b9b9b3; }
.colophon-bas b { color: var(--papier); }
.credits { grid-column: 1 / -1; max-width: 80ch; font-size: 0.78rem; line-height: 1.6; color: #a3a39d; text-wrap: pretty; }
.credits a { color: #d0d0ca; }

/* ---------- Pages intérieures ---------- */
.tete-page { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 4vw, 72px); align-items: center; padding: clamp(56px, 6vw, 96px) var(--gouttiere) clamp(64px, 6vw, 96px); border-bottom: 1px solid var(--noir); }
.tete-page-texte { display: grid; gap: 24px; justify-items: start; }
.titre-long { font-size: clamp(2.4rem, 1.2rem + 3.4vw, 4.4rem); }
.page-projets .tete-page { grid-template-columns: 1fr; }
.page-projets .tete-page h1 b { color: var(--rouge); }
.plaques-sous { display: block; color: var(--gris); font-size: 0.5em; letter-spacing: -0.02em; margin-top: 0.25em; }
.retour { display: inline-flex; align-items: center; gap: 8px; color: var(--gris); text-decoration: none; font-weight: 600; }
.retour:hover { color: var(--noir); }
.fiche { width: 100%; border-collapse: collapse; }
.fiche th, .fiche td { padding: 16px 16px 16px 0; text-align: left; vertical-align: top; border-top: 1px solid var(--filet); }
.fiche tr:first-child th, .fiche tr:first-child td { border-top: 1px solid var(--noir); }
.fiche th { width: 30%; color: var(--gris); font-weight: 600; }
.fiche td ul { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.fiche td li { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; }
.fiche td li::before { content: ""; width: 8px; height: 8px; background: var(--ton); }
.blocs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--noir); }
.bloc { padding: 26px 26px 26px 0; }
.bloc + .bloc { padding-left: 26px; border-left: 1px solid var(--filet); }
.bloc p { color: var(--gris); margin-top: 8px; text-wrap: pretty; }
.autres { display: flex; flex-wrap: wrap; gap: 8px; }
.autres a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px 0 10px; text-decoration: none; font-weight: 650; background: var(--feuille); box-shadow: inset 0 0 0 1px var(--filet-fort); }
.autres a::before { content: ""; width: 12px; height: 12px; background: var(--ton); }
.autres a:hover { background: var(--ton); color: var(--sur-ton); box-shadow: inset 0 0 0 1.5px var(--noir); }
.metier-rang { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 80px); align-items: center; padding-block: clamp(48px, 6vw, 88px); border-top: 1px solid var(--noir); }
.metier-rang:nth-child(even) .metier-visuel { order: -1; }
.metier-info { display: grid; gap: 18px; justify-items: start; }
.metier-visuel .photo-cadre { aspect-ratio: 4 / 3; }
.tete-page .photo-cadre { aspect-ratio: 4 / 3; }
.metier-info .titre-l a { text-decoration: none; }
.metier-info .titre-l a:hover { text-decoration: underline; text-decoration-color: var(--ton); text-decoration-thickness: 4px; }
.metier-info .titre-l a::before { content: ""; display: inline-block; width: 0.42em; height: 0.42em; margin-right: 0.3em; background: var(--ton); vertical-align: 0.12em; }
.puces { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--gris); font-weight: 600; }
.puces li { display: inline-flex; align-items: center; gap: 8px; }
.puces li::before { content: ""; width: 8px; height: 8px; background: var(--ton); }
.principes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.principe { display: grid; gap: 12px; align-content: start; padding-top: 18px; border-top: 6px solid var(--noir); }
.principe p { color: var(--gris); max-width: 36ch; }
.partenaire { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 12px 48px; padding: 24px 0; border-bottom: 1px solid var(--filet-fort); }
.partenaire:first-child { border-top: 1px solid var(--noir); }
.partenaire p { color: var(--gris); max-width: 60ch; }
.secteurs { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; font-size: clamp(1.1rem, 0.9rem + 0.8vw, 1.6rem); font-weight: 780; letter-spacing: -0.02em; }
.secteurs li { display: inline-flex; align-items: center; gap: 22px; }
.secteurs li + li::before { content: ""; width: 7px; height: 7px; background: var(--rouge); }
.fin { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 48px; align-items: end; }
.barre { position: relative; display: inline-block; }
.barre::after { content: ""; position: absolute; left: -4%; right: -4%; top: 52%; height: 0.09em; background: var(--rouge); transform: rotate(-4deg); }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .plaques .plaque { transform: none !important; }
}

/* ---------- Adaptations ---------- */
@media (max-width: 1100px) {
  .haut-nav a { padding: 0 9px; }
  .planche { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metiers-grille { grid-template-columns: 1fr; }
  .vitrine { display: none; }
}
@media (max-width: 960px) {
  :root { --nav-h: 60px; }
  .haut-nav, .haut > .bouton { display: none; }
  .menu { display: block; }
  .teeya-mobile { display: inline-grid; }
  .teeya-mobile + .menu { margin-left: 4px; }
  .feuille, .tete-page { grid-template-columns: minmax(0, 1fr); overflow-x: hidden; }
  .feuille { padding-bottom: 150px; }
  .feuille > .ligne-pied { position: static; margin-top: 8px; }
  .epreuves { margin-bottom: 76px; }
  .demonstration, .applis-grille, .correctrice-grille, .contact-grille, .produit-une, .metier-rang, .principes { grid-template-columns: 1fr; }
  .metier-rang:nth-child(even) .metier-visuel { order: 0; }
  .contact-texte { position: static; }
  .methode { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .pli-deplie { grid-template-columns: 1fr; }
  .pli-deplie > .tampon { width: 96px; height: 96px; left: 4px; top: 6px; }
  .tete, .fin { grid-template-columns: 1fr; }
  .blocs { grid-template-columns: 1fr; }
  .bloc + .bloc { padding-left: 0; border-left: 0; border-top: 1px solid var(--filet); }
  .colophon-grille { grid-template-columns: 1fr 1fr; }
  .colophon-marque { grid-column: 1 / -1; }
  .colophon-bas { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .planche, .planche-2, .produits-duo { grid-template-columns: 1fr; }
  .bon { grid-template-columns: 1fr; padding: 22px 18px; }
  ol.methode { grid-template-columns: 1fr; row-gap: 8px; border-top: 0; border-left: 1px solid var(--noir); margin-left: 11px; padding-left: 26px; }
  .etape { padding: 6px 0 18px; }
  .etape::before { top: 6px; left: -38px; }
  .partenaire { grid-template-columns: 1fr; }
  .colophon-grille { grid-template-columns: 1fr; }
  .bande-lien { grid-template-columns: 32px minmax(0, 1fr) auto; gap: 12px; }
  .bande-ton { width: 32px; height: 32px; }
  .bande-plus-int { padding-left: 0; }
  .boutons .bouton { flex: 1 1 auto; }
  .ecrans { padding-right: 22%; }
  .tel { width: 30%; border-radius: 16px; padding: 4px; }
  .tel .tel-ecran { border-radius: 12px; }
  .abidjan .photo-cadre { height: 440px; }
}

/* ---------- Impression : la feuille redevient une feuille ---------- */
@media print {
  .haut, .menu, .gamme, [data-teeya-widget], .epreuves .suivante { display: none !important; }
  .colophon { background: none !important; color: #000 !important; }
}
