/* Compta Panda : la feuille de style du site, écrite pour lui, sans framework.
   Palette : le bleu et l'orangé du cabinet. Illustrations : le panda, section par section.
   Ordre : polices, jetons, base, boutons et étiquettes, logo, en-tête, accueil,
   pied de page, éléments flottants, planche d'identité.
   Mobile d'abord : les styles de base sont ceux du téléphone, à partir de 280 px de large ;
   chaque @media (min-width) élargit la mise en page quand la place le permet. */

/* --- Polices, hébergées sur le site (licence OFL, voir assets/fonts/) --- */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

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

/* --- Jetons --- */

:root {
  --ink: #162b54;
  --ink-2: #44546e;
  --ink-3: #64738c;
  --paper: #fff;
  --paper-2: #f2f6fb;
  --white: #fff;
  --line: #dce5f0;
  --blue: #335d8b;
  --blue-soft: #e3ecf7;
  --accent: #ffa500;
  --accent-hover: #f29400;
  --accent-dark: #8a5300;
  --accent-soft: #fff0d1;
  --bamboo: #1e7a52;
  --bamboo-soft: #e2f1ea;
  --whatsapp: #25d366;

  --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: clamp(16px, 5vw, 40px);
  --max: 1180px;
  --shadow: 0 1px 2px rgb(22 43 84 / .05), 0 10px 28px -14px rgb(22 43 84 / .18);
  --shadow-lg: 0 2px 4px rgb(22 43 84 / .04), 0 28px 56px -24px rgb(22 43 84 / .28);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-sine: cubic-bezier(.37, 0, .63, 1);
}

/* --- Base --- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font-text);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.03em;
  text-wrap: balance;
}

h1 { font-size: clamp(1.75rem, 8.6vw + .3rem, 3.5rem); line-height: 1.02; letter-spacing: -.04em; }
@media (min-width: 961px) { h1 { font-size: clamp(2.75rem, 3.6vw + .75rem, 3.75rem); } }
h2 { font-size: clamp(1.875rem, 2.2vw + 1.2rem, 3rem); }
h3 { font-size: 1.375rem; letter-spacing: -.02em; line-height: 1.15; }

p { margin: 0; text-wrap: pretty; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
a { color: inherit; text-underline-offset: 3px; }
/* Pas de délai d'attente d'un second appui : le site répond au premier. */
a, button, summary { touch-action: manipulation; }
strong { font-weight: 600; }
svg { flex: none; }
.icon { display: inline-block; vertical-align: -.2em; }
.nowrap { white-space: nowrap; }
/* L'attribut hidden l'emporte sur l'affichage que donne une classe (bouton, grille). */
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
/* À qui demande moins de transparence ou plus de contraste : un en-tête plein, des traits nets. */
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .header { background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --line: #8696ad; --ink-2: #2c3d5c; --ink-3: #44546e; }
  .header { border-bottom-color: var(--ink); }
}

/* La largeur utile laisse la place de l'encoche et des bords arrondis (viewport-fit=cover). */
.container {
  width: min(100% - 2 * var(--gutter) - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px), var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper);
}
.skip-link:focus { top: 16px; }

/* Les calques animés des illustrations peuvent déborder du bord de l'écran : coupés, sans
   barre de défilement horizontale. « clip » ne crée pas de zone de défilement, le
   positionnement collant (sticky) continue de fonctionner. */
main { overflow-x: clip; }
.section { padding-block: clamp(56px, 9vw, 120px); }
.section-tinted { background: var(--paper-2); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-intro { margin-top: 16px; color: var(--ink-2); font-size: 1.125rem; }
/* Une illustration : l'image de base, puis les calques de ce qui bouge et les paupières,
   empilés à la même taille (illustration(), app/graphics.php). */
.art { position: relative; display: block; max-width: 100%; }
.art img { display: block; width: 100%; height: auto; }
.art .calque, .paupieres { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Les couleurs sont celles du dessin : le bleu du tour de l'œil, le trait de contour. */
.paupieres ellipse { fill: #25507a; stroke: #0b2141; stroke-width: 4; opacity: 0; transform-box: fill-box; transform-origin: 50% 0; }
.section-head.has-art {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px clamp(32px, 6vw, 96px);
  align-items: end;
  max-width: none;
}
.section-head.has-art > div { max-width: 640px; }
.section-art { justify-self: start; width: 100%; max-width: 280px; }

/* Emplacement d'une illustration qui reste à produire : jamais rendu en production. */
.art-missing {
  display: grid;
  gap: 8px;
  place-content: center;
  justify-items: center;
  aspect-ratio: 4 / 3;
  margin: 0;
  padding: 16px;
  border: 2px dashed var(--line);
  border-radius: 20px;
  color: var(--ink-3);
  font-size: .875rem;
  line-height: 1.4;
  text-align: center;
}

@media (min-width: 700px) {
  .section-head.has-art { grid-template-columns: minmax(0, 1fr) minmax(0, 240px); }
  .section-art { justify-self: end; max-width: 100%; }
}
@media (min-width: 861px) {
  .section-head.has-art { grid-template-columns: minmax(0, 1fr) minmax(0, 360px); }
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--blue);
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.3;
}

.lead { margin-top: 24px; max-width: 37em; color: var(--ink-2); font-size: clamp(1.0625rem, .5vw + 1rem, 1.25rem); }

/* Surlignage du titre principal : un trait de marqueur dans la couleur d'accent. */
.marker {
  background: linear-gradient(transparent 66%, var(--accent) 66%, var(--accent) 91%, transparent 91%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding-inline: .06em;
  margin-inline: -.06em;
}

/* --- Boutons, liens, étiquettes --- */

/* Un bouton répond dès l'appui : il s'enfonce à peine, sans attendre le relâchement. Sous
   340 px de large, son libellé passe à la ligne plutôt que de déborder. Les effets de survol
   sont réservés à la souris : au doigt, ils resteraient collés après l'appui. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 100%;
  min-height: 48px;
  padding: 8px 22px;
  border: 1.5px solid transparent;
  border-radius: 12px;
  font: 600 1rem/1.2 var(--font-text);
  text-align: center;
  text-decoration: none;
  transition: background-color .15s, border-color .15s, color .15s, transform .1s ease-out;
}
a.btn:active { transform: scale(.97); }
.btn-lg { min-height: 56px; padding-inline: 28px; border-radius: 14px; font-size: 1.0625rem; }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--paper); }
/* Fond transparent explicite : un <button> garderait sinon le gris du navigateur. */
.btn-outline { border-color: var(--ink); background: transparent; color: var(--ink); }
.btn-whatsapp .icon { color: var(--whatsapp); }
.btn.is-missing { flex-wrap: wrap; row-gap: 4px; border-style: dashed; border-color: var(--accent-dark); }
@media (min-width: 340px) { .btn { white-space: nowrap; } }
/* Bouton au libellé long (« Choisir le cabinet de Rosny-sous-Bois ») : tout le texte dans un
   seul <span>, sinon le bouton, en flex, en fait deux colonnes ; il passe à la ligne, équilibré,
   quand la place manque, le nom de ville restant d'un bloc. */
.btn-wrap { white-space: normal; }
.btn-wrap > span { text-wrap: balance; }
@media (hover: hover) and (pointer: fine) {
  a.btn:active { transform: scale(.97); }
  a.btn-accent:hover { background: var(--accent-hover); }
  a.btn-ink:hover { background: #0e1f40; }
  a.btn-outline:hover, button.btn-outline:hover { background: var(--ink); color: var(--paper); }
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: .9688rem;
  text-decoration: none;
}
.link-arrow .icon { transition: transform .15s; }
@media (hover: hover) and (pointer: fine) {
  a.link-arrow:hover .icon, .service-card:hover .link-arrow .icon { transform: translateX(3px); }
}

/* Zone tactile : ces liens d'une ligne de texte se touchent sur 44 px de haut au moins, sans
   changer d'aspect. */
.hero-phones a, .cabinet-meta a, a.link-arrow, .cta-phone { position: relative; }
.hero-phones a::before, .cabinet-meta a::before, a.link-arrow::before, .cta-phone::before {
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  height: 44px;
  transform: translateY(-50%);
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  color: var(--ink-2);
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.3;
}

.tag {
  display: inline-block;
  padding: 5px 9px;
  border-radius: 7px;
  background: var(--paper-2);
  color: var(--ink-2);
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.2;
}
.section-tinted .tag { background: var(--paper); }
.tag-ink, .section-tinted .tag-ink { background: var(--ink); color: var(--paper); }
.tag-accent, .section-tinted .tag-accent { background: var(--accent); color: var(--ink); }

.status { padding: 3px 9px; border-radius: 99px; font-size: .75rem; font-weight: 600; white-space: nowrap; }
.status.is-done { background: var(--bamboo-soft); color: var(--bamboo); }
.status.is-pending { background: var(--accent-soft); color: var(--accent-dark); }

/* Information que le cabinet doit encore fournir : jamais rendue en production. */
.missing {
  display: inline-block;
  padding: 2px 8px;
  border: 1px dashed var(--accent-dark);
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font: 600 .75rem/1.5 var(--font-text);
  letter-spacing: .01em;
  text-transform: none;
  white-space: nowrap;
}

/* --- Logo : celui du site actuel, en deux images --- */

.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo img { display: block; }
.footer-logo { display: inline-flex; justify-self: start; padding: 9px 14px; border-radius: 14px; background: var(--white); }

/* --- En-tête --- */

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgb(255 255 255 / .92);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
}
/* Sous 360 px, le logo, « Devis » et le menu ne tiennent pas sur une ligne à leur taille (319 px
   de contenu pour 280 px de rangée à 320 px de large) : la rangée est serrée, et le logo cède la
   place qui manque, à proportions gardées. */
.header-row { display: flex; align-items: center; gap: 8px; min-height: 64px; }
.header-logo { display: inline-flex; align-items: center; min-width: 0; min-height: 44px; text-decoration: none; }
.header-logo .logo { max-width: 100%; }
.header-logo img { min-width: 0; height: auto; }
.nav { display: none; gap: 2px; margin-left: 12px; }
.nav a { padding: 10px 11px; border-radius: 10px; color: var(--ink-2); font-size: .9688rem; font-weight: 500; text-decoration: none; white-space: nowrap; }
.nav a:hover { background: var(--paper-2); color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.header-actions .btn { padding-inline: 16px; }
.wide-only { display: none; }
.btn-label::first-letter { text-transform: uppercase; }
.header-phone { display: none; align-items: center; gap: 8px; font-weight: 600; font-variant-numeric: tabular-nums; text-decoration: none; white-space: nowrap; }
.header-phone:hover { color: var(--blue); }

/* Sélecteur du cabinet (partials/header.php) : un menu déroulant, sur grand écran. */
.cabinet-picker { position: relative; display: none; }
.cabinet-picker summary { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 99px; font-weight: 600; white-space: nowrap; list-style: none; cursor: pointer; }
.cabinet-picker summary::-webkit-details-marker { display: none; }
.cabinet-picker summary:hover, .cabinet-picker[open] summary { border-color: var(--ink); }
.cabinet-picker summary .icon:last-child { color: var(--ink-3); transition: transform .15s; }
.cabinet-picker[open] summary .icon:last-child { transform: rotate(180deg); }
.cabinet-picker-panel { position: absolute; top: calc(100% + 8px); right: 0; z-index: 2; display: grid; gap: 2px; min-width: 260px; padding: 8px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: 0 18px 40px -18px rgb(22 43 84 / .35); }
.cabinet-picker-title { padding: 6px 10px 4px; color: var(--ink-3); font-size: .8125rem; font-weight: 600; }
.cabinet-picker-panel a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 8px 10px; border-radius: 10px; text-decoration: none; }
.cabinet-picker-panel a:hover { background: var(--paper-2); }
.cabinet-picker-panel a[aria-current] { background: var(--paper-2); }
.cabinet-picker-name { display: grid; font-weight: 600; }
.cabinet-picker-name small { color: var(--ink-3); font-size: .8125rem; font-weight: 400; }
/* Sur petit écran, le choix du cabinet est en tête du menu. */
/* « Votre cabinet » sur sa ligne, les deux cabinets côte à côte dessous : sur une seule ligne,
   le libellé et « Rosny-sous-Bois » se coupaient en deux. */
.menu-cabinets { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 14px 0 16px; border-bottom: 1px solid var(--line); }
.menu-cabinets p { flex-basis: 100%; color: var(--ink-2); font-size: .9375rem; }
.menu-panel .menu-cabinets a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 22px; font: 600 1rem/1 var(--font-text); white-space: nowrap; }
.menu-panel .menu-cabinets a[aria-current] { border-color: var(--ink); background: var(--ink); color: var(--paper); }

.menu summary {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  list-style: none;
  cursor: pointer;
}
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.menu-panel {
  position: absolute;
  inset: 100% 0 auto;
  display: grid;
  max-height: calc(100vh - 64px);
  max-height: calc(100dvh - 64px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px calc(var(--gutter) + env(safe-area-inset-right, 0px)) 24px calc(var(--gutter) + env(safe-area-inset-left, 0px));
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 28px 40px -28px rgb(22 43 84 / .3);
}
.menu-panel a { padding: 15px 2px; border-bottom: 1px solid var(--line); font: 600 1.1875rem/1.2 var(--font-display); text-decoration: none; }
.menu-panel .menu-phone { display: flex; align-items: center; gap: 10px; font: 600 1rem/1.2 var(--font-text); font-variant-numeric: tabular-nums; }
/* Chiffres alignés pour le numéro seulement : sur le nom de la ville, ils écartent les traits d'union. */
.menu-phone span { margin-right: auto; color: var(--ink-2); font-variant-numeric: normal; font-weight: 400; }

@media (min-width: 360px) {
  .header-row { gap: 12px; }
  .header-actions { gap: 10px; }
  .header-actions .btn { padding-inline: 22px; }
}
@media (min-width: 481px) {
  .wide-only { display: inline; }
  .btn-label::first-letter { text-transform: none; }
}
@media (min-width: 1041px) {
  .header-row { gap: 20px; min-height: 72px; }
  .nav { display: flex; }
  .header-actions { gap: 18px; }
  .header-phone { display: inline-flex; }
  .cabinet-picker { display: block; }
  .menu { display: none; }
}
/* Le nom « Rosny-sous-Bois », le lien « Outils » (présent dès le premier outil publié) et
   « Rejoignez-nous » (16 novembre 2026) allongent l'en-tête : jusqu'à 1439 px, le téléphone le
   quitte (il reste dans la page et l'appel final), le bouton se réduit à « Devis » et les liens
   du menu se resserrent. Au-delà, l'en-tête s'élargit à 1360 px, plus que le reste de la page
   (1180 px), pour que tout y tienne sans écraser le logo. */
@media (min-width: 1041px) and (max-width: 1439px) {
  .header-phone, .header-actions .wide-only { display: none; }
  .header-actions .btn-label::first-letter { text-transform: uppercase; }
  .nav { margin-left: 0; }
  .nav a { padding-inline: 8px; }
}
@media (min-width: 1041px) and (max-width: 1179px) {
  .header-row, .header-actions { gap: 12px; }
  .nav a { padding-inline: 6px; }
}
@media (min-width: 1440px) {
  .header-row { width: min(100% - 2 * var(--gutter), 1360px); }
}

/* --- Accueil : premier écran --- */

.hero { padding-block: clamp(40px, 6vw, 84px) clamp(48px, 7vw, 96px); overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-actions .btn { flex: 1 1 100%; }
/* Les téléphones : un cabinet par ligne. Le nom du cabinet se place sous son numéro, aligné
   sur lui, tant que le plus long des deux ne tient pas à côté. La bascule dépend de la
   largeur du bloc, pas du texte de chaque ligne : les noms passent à la ligne ensemble,
   jamais l'un sans l'autre. */
.hero-phones { container-type: inline-size; display: grid; gap: 12px; margin-top: 22px; }
.hero-phones li { display: grid; gap: 2px; justify-items: start; color: var(--ink-3); font-size: .9375rem; }
.hero-phones a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 1.0625rem; font-variant-numeric: tabular-nums; text-decoration: none; }
.hero-phones span { padding-left: 26px; }
@container (min-width: 25rem) {
  .hero-phones li { display: flex; align-items: baseline; gap: 10px; }
  .hero-phones span { padding-left: 0; }
}
.hero-phones a:hover { color: var(--blue); }
/* Haut de page : les gages du cabinet en texte discret, sans cadre, en deux colonnes à partir
   de 561 px : le cabinet à gauche, les partenaires à droite, qu'il y en ait trois ou quatre. */
.hero .chips { display: grid; gap: 8px 24px; justify-content: start; margin-top: 28px; }
.hero .chip { min-height: 24px; padding: 0; border: 0; border-radius: 0; background: none; color: var(--ink-3); }
.hero .chip a { text-decoration-color: var(--line); }
.hero .chip a:hover { color: var(--blue); text-decoration-color: currentColor; }
@media (min-width: 561px) {
  .hero .chips { grid-template-columns: auto auto; grid-auto-flow: row dense; }
  .hero .chip:not(.chip-partner) { grid-column: 1; }
  .hero .chip-partner { grid-column: 2; }
}

@media (min-width: 481px) {
  .hero-actions .btn { flex: 0 1 auto; }
}
@media (min-width: 961px) {
  .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
}

/* Le panda du cabinet, sur un disque bleu pâle. Le diamètre du disque suit la hauteur du
   panda : il reste derrière lui et ne déborde pas sur le texte au-dessus. */

.hero-visual { position: relative; isolation: isolate; display: grid; justify-items: center; width: min(100%, 460px); margin-inline: auto; }
.hero-visual::before {
  content: "";
  position: absolute;
  left: 45%;
  bottom: 1%;
  z-index: -1;
  height: 96%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--blue-soft);
  transform: translateX(-50%);
}
.hero-art { justify-self: start; width: min(72%, 340px); }
.hero-note {
  position: absolute;
  right: 0;
  top: 5%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 150px;
  padding: 9px 12px;
  border-radius: 16px 16px 16px 4px;
  background: var(--white);
  box-shadow: var(--shadow);
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.3;
}
.hero-note .icon { color: var(--accent); vertical-align: 0; }

@media (min-width: 481px) {
  .hero-note { top: 17%; max-width: 216px; padding: 11px 16px; font-size: .9375rem; }
  .hero-art { margin-left: 4%; }
}
@media (min-width: 961px) {
  .hero-visual { width: auto; margin-inline: 0; }
  .hero-art { width: min(80%, 400px); }
}

/* Téléphone tenu à l'horizontale : l'écran est large mais très bas. Le titre se fait plus
   petit, et le panda vient à côté du texte, à la hauteur de l'écran, au lieu de passer
   dessous où il serait plus haut que lui. */
@media (orientation: landscape) and (max-height: 500px) and (min-width: 560px) and (max-width: 960px) {
  h1 { font-size: clamp(1.75rem, 9vh, 2.5rem); }
  /* « clip » rogne le disque comme « hidden », sans empêcher le panda de rester à l'écran
     pendant que le texte, plus long que lui, défile à sa gauche. */
  .hero { padding-block: 28px 40px; overflow: clip; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) min(300px, 38%); gap: 32px; align-items: start; }
  .hero-visual { position: sticky; top: 81px; width: 100%; margin-inline: 0; }
  .hero-art { width: min(72%, (100vh - 130px) * .84); margin-left: 0; }
  /* La bulle masquerait la tête du panda tant que sa colonne est étroite. */
  .hero-note { display: none; top: 0; max-width: 150px; padding: 9px 12px; font-size: .8125rem; }
}
@media (orientation: landscape) and (max-height: 500px) and (min-width: 800px) and (max-width: 960px) {
  .hero-note { display: inline-flex; }
}

/* Chiffres clés */

.figures { border-block: 1px solid var(--line); }
.figures-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.figure { display: grid; gap: 8px; align-content: start; justify-items: start; padding: 20px 16px; border-left: 1px solid var(--line); }
.figure:nth-child(odd) { padding-left: 0; border-left: 0; }
.figure:nth-child(n + 3) { border-top: 1px solid var(--line); }
.figure-value { font: 700 2.25rem/1 var(--font-display); letter-spacing: -.03em; }
.figure-label { color: var(--ink-2); font-size: .9375rem; line-height: 1.35; }
.figure .missing { white-space: normal; }

@media (min-width: 761px) {
  .figures-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .figure { padding: 26px 24px; }
  .figure:nth-child(odd) { padding-left: 24px; border-left: 1px solid var(--line); }
  .figure:first-child { padding-left: 0; border-left: 0; }
  .figure:nth-child(n + 3) { border-top: 0; }
}

/* Les deux cabinets */

.cabinets { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.cabinet-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--white); }
.cabinet-card.is-current { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.cabinet-visual { position: relative; height: 210px; margin: 0; overflow: hidden; background: var(--paper-2); }
.cabinet-visual .tag { position: absolute; left: 20px; top: 20px; }
/* Plan d'accès (partials/office-map.php et offices.php) : le plan dessiné, flouté, attend la
   carte Google Maps, qui prend ensuite toute la place. L'étiquette « Votre cabinet » passe
   alors à droite, la fiche Google occupant le coin gauche. */
.map-waiting .plan { filter: blur(3px); transform: scale(1.04); }
.map-actions { position: absolute; inset: auto 20px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.map-note { flex-basis: 100%; color: var(--ink-2); font-size: .8125rem; }
.map-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cabinet-visual .map-frame + .tag { left: auto; right: 12px; top: 12px; }
.plan { display: block; width: 100%; height: 100%; }
.plan-label { fill: var(--ink-3); font: 600 11px var(--font-text); letter-spacing: .08em; text-transform: uppercase; }
.cabinet-body { display: grid; gap: 14px; padding: clamp(22px, 3vw, 32px); }
.cabinet-area { color: var(--blue); font-size: .9375rem; font-weight: 600; }
.cabinet-body h3 { font-size: clamp(1.5rem, 1vw + 1.2rem, 1.875rem); letter-spacing: -.03em; }
.cabinet-meta { display: grid; gap: 10px; color: var(--ink-2); }
.cabinet-meta li { display: flex; align-items: flex-start; gap: 12px; }
.cabinet-meta li > :not(.icon) { min-width: 0; }
.cabinet-meta .icon { flex: none; margin-top: 3px; color: var(--ink-3); }
/* Un numéro ou « Écrire sur WhatsApp » ne se coupe jamais en deux lignes. */
.cabinet-meta a { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; text-decoration: none; white-space: nowrap; }
.cabinet-meta a:hover { color: var(--blue); }
.cabinet-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 8px; }

@media (min-width: 761px) {
  .cabinets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cabinet-visual { height: 240px; }
}

/* Services */

.services { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.service-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  transition: border-color .15s;
}
.service-card:active { border-color: var(--ink); }
.service-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--blue-soft); color: var(--blue); }
.service-card h3 a { text-decoration: none; }
.service-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.service-card p { grid-column: 1 / -1; color: var(--ink-2); font-size: .9688rem; }
.service-card .link-arrow { grid-column: 1 / -1; }

@media (min-width: 621px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 28px; }
  .service-icon { width: 52px; height: 52px; margin-bottom: 6px; border-radius: 15px; }
  .service-card .link-arrow { margin-top: auto; padding-top: 8px; }
}
@media (hover: hover) and (pointer: fine) {
  .service-card:hover { border-color: var(--ink); }
}
@media (min-width: 961px) { .services { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Notre différence */

.difference { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.difference-card { padding: clamp(26px, 4vw, 44px); border: 1px solid var(--line); border-radius: 24px; background: var(--white); }
.difference-card.is-dark { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.difference-card h3 { margin-bottom: 28px; font-size: 1.625rem; letter-spacing: -.03em; }
.points { display: grid; gap: 24px; }
.point { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 16px; }
.point-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--blue-soft); color: var(--blue); }
.is-dark .point-icon { background: rgb(255 255 255 / .1); color: var(--accent); }
.point strong { display: block; margin-bottom: 2px; font: 600 1.125rem/1.3 var(--font-display); }
.point p { color: var(--ink-2); font-size: .9688rem; }
.is-dark .point p { color: rgb(255 255 255 / .74); }

@media (min-width: 861px) { .difference { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Logiciels */

.software { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.software-card { display: grid; gap: 14px; align-content: start; justify-items: start; padding: clamp(24px, 3.5vw, 36px); border: 1px solid var(--line); border-radius: 24px; background: var(--white); }
.software-name { font-size: 2rem; letter-spacing: -.035em; }
.software-card p { color: var(--ink-2); }
/* Logos des partenaires : à la hauteur fixée par partner_logo(), dans le titre de la carte
   et dans les pastilles du haut de page. */
.partner-logo { display: block; max-width: 100%; height: auto; }
.chip-partner { min-height: 34px; }

@media (min-width: 761px) { .software { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Ils nous font confiance : les logos des clients, en gris, sur des cases de même taille,
   centrées quand il y en a peu. Ils reprennent leurs couleurs au survol. */

.trust { padding-block: clamp(48px, 7vw, 88px); }
.trust .section-head { margin-bottom: clamp(24px, 4vw, 40px); }
.trust-logos { --trust-cols: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.trust-logos li { flex: 0 0 calc((100% - (var(--trust-cols) - 1) * 12px) / var(--trust-cols)); display: grid; place-items: center; min-height: 96px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); color: var(--ink-2); font-weight: 600; text-align: center; }
.trust-logos li:has(> a) { padding: 0; }
.trust-logos a { display: grid; place-items: center; width: 100%; height: 100%; padding: 16px 20px; border-radius: inherit; color: inherit; text-decoration: none; }
.trust-logos img { width: 100%; height: 56px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.trust-logos .trust-empty { border-style: dashed; }
.trust-logos .missing { white-space: normal; }
/* Nom d'un client dont le logo manque : il tient dans sa case, coupé si besoin. */
.trust-logos li { min-width: 0; }
.trust-logos span { font-size: .875rem; line-height: 1.35; hyphens: auto; overflow-wrap: break-word; }
/* Sous le nom d'un client dont le logo manque. */
.trust-logos span .missing { display: block; width: fit-content; margin: 6px auto 0; }
@media (hover: hover) and (pointer: fine) {
  .trust-logos li:hover img { filter: none; opacity: 1; }
}
@media (min-width: 621px) { .trust-logos { --trust-cols: 3; } }
@media (min-width: 961px) { .trust-logos { --trust-cols: 6; } }

/* Après votre demande */

.steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; counter-reset: step; }
.step { position: relative; min-height: 48px; padding: 2px 0 0 68px; counter-increment: step; }
.step::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font: 700 1.25rem/1 var(--font-display);
}
.step::after { content: ""; position: absolute; left: 23px; top: 58px; bottom: -22px; width: 2px; background: var(--line); }
.step:last-child::after { display: none; }
.step h3 { margin-bottom: 8px; font-size: 1.25rem; }
.step p { color: var(--ink-2); font-size: .9688rem; }

@media (min-width: 901px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
  .step { min-height: 0; padding: 72px 0 0; }
  .step::after { left: 62px; right: -14px; top: 23px; bottom: auto; width: auto; height: 2px; }
}

/* Appel final */

.section-cta { padding-top: 0; }
.cta {
  --cta-padding: clamp(28px, 5vw, 64px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px clamp(28px, 4vw, 56px);
  padding: var(--cta-padding);
  border-radius: clamp(24px, 3vw, 36px);
  background: var(--accent);
}
/* Le panda est posé sur le bord bas du bloc. Sur petit écran, il passe en dernier, donc sur la
   dernière ligne, à droite. */
.cta-art { flex: none; order: 3; align-self: flex-end; width: 140px; margin-left: auto; margin-bottom: calc(-1 * var(--cta-padding)); }
.cta-body { display: contents; }
.cta-text { flex: 1 1 300px; }
.cta h2 { font-size: clamp(2rem, 3vw + 1rem, 3.375rem); letter-spacing: -.04em; }
.cta p { margin-top: 14px; max-width: 30em; font-size: 1.125rem; }
.cta-actions { display: grid; gap: 14px; justify-items: start; }
/* Même règle que pour les téléphones du haut de page : sous 520 px, le nom du cabinet est sous
   son numéro pour les deux cabinets ; au-delà, il est à côté pour les deux. */
.cta-phone { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; text-decoration: none; }
/* Chiffres alignés pour le numéro seulement : appliqués au nom, ils écartent ses traits d'union. */
.cta-phone strong { font-variant-numeric: tabular-nums; white-space: nowrap; }
.cta-phone span { flex-basis: 100%; padding-left: 26px; }
@media (min-width: 520px) { .cta-phone span { flex-basis: auto; padding-left: 0; } }
.cta-phone:hover { text-decoration: underline; }
.cta :focus-visible { outline-color: var(--ink); }

/* Dès qu'il y a la place, le panda occupe sa propre colonne, sur l'unique ligne de .cta. C'est
   .cta-body qui passe à la ligne quand le texte et les boutons ne tiennent plus côte à côte,
   quelle que soit la longueur des libellés. */
@media (min-width: 861px) {
  .cta { flex-wrap: nowrap; }
  .cta-art { order: 0; width: clamp(150px, 16vw, 200px); margin-left: 0; }
  .cta-body { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: inherit; }
}

/* Apparitions au défilement sur les accueils (assets/js/site.js), demandées par le cabinet
   le 16 octobre comme sur le site actuel, puis adoucies le 6 novembre : fondu et montée de
   24 px en 500 ms, toujours depuis le bas (le site actuel glissait de 100 px depuis le bas,
   la gauche ou la droite). L'élément attend invisible à sa place (le script mesure ainsi sa
   vraie position), puis monte. Seul le script cache les éléments, une fois chargé : sans lui, tout reste
   visible. Le haut de page entre en scène dès l'affichage, en CSS seul, ses lignes l'une
   après l'autre. */

@media (prefers-reduced-motion: no-preference) {
  .apparitions [data-apparait]:not(.est-apparu) { opacity: 0; }
  .apparitions .est-apparu { animation: apparait .5s var(--ease-out) both; }

  [data-apparitions] .hero-text > * { animation: apparait .5s var(--ease-out) both; }
  [data-apparitions] .hero-text > :nth-child(2) { animation-delay: .1s; }
  [data-apparitions] .hero-text > :nth-child(3) { animation-delay: .15s; }
  [data-apparitions] .hero-text > :nth-child(4) { animation-delay: .2s; }
  [data-apparitions] .hero-text > :nth-child(5) { animation-delay: .25s; }
  [data-apparitions] .hero-text > :nth-child(6) { animation-delay: .3s; }
}
@keyframes apparait { from { opacity: 0; translate: 0 24px; } }
@media print {
  .apparitions [data-apparait] { opacity: 1 !important; animation: none !important; }
}

/* Le panda s'anime, en CSS seul. Partout, il cligne des yeux. En haut de page, il entre en
   scène, se balance sur ses pieds et présente d'un geste de la main ; sa bulle le suit.
   Dans les sections, il apparaît au fil du défilement et fait ce que dit la section : il
   salue, ses documents flottent, ses graphiques se tracent. Dans l'appel final, il surgit
   de derrière le bord du bloc. Rien ne bouge pour qui a demandé moins d'animations, et les
   navigateurs qui ne savent pas lier une animation au défilement gardent le panda en place. */

@media (prefers-reduced-motion: no-preference) {
  .hero-art {
    transform-origin: 50% 100%;
    animation: panda-entre .45s var(--ease-out) both, panda-balance 2.2s var(--ease-sine) infinite alternate;
  }
  .hero-note {
    transform-origin: 0 100%;
    animation: bulle-entre .3s var(--ease-out) .35s both;
  }

  /* La durée de 1 ms ne compte pas : c'est le défilement qui fait avancer l'animation. */
  @supports (animation-timeline: view()) {
    .section-art, .cta-art { animation: 1ms linear both; animation-timeline: view(); }
    .section-art { animation-name: panda-apparait; animation-range: entry 0% cover 20%; }
    .cta-art { animation-name: panda-surgit; animation-range: entry 0% cover 25%; }
  }

  .menu[open] .menu-panel { transform-origin: 50% 0; animation: menu-entre .2s var(--ease-out); }

  .paupieres ellipse { animation: panda-cligne 4.6s ease-out infinite; }
  .panda-accueille .paupieres ellipse { animation-delay: -1.1s; }
  .panda-calcule .paupieres ellipse { animation-delay: -2.3s; }
  .panda-bureau .paupieres ellipse { animation-delay: -3.4s; }
  .panda-tableau .paupieres ellipse { animation-delay: -.5s; }
  .panda-calculatrice .paupieres ellipse { animation-delay: -1.7s; }

  .panda-presente .calque-main { animation: panda-presente 4s var(--ease-sine) infinite; }
  .panda-accueille .calque-main { animation: panda-salue 3.6s var(--ease-sine) infinite; }
  .panda-calcule .calque-documents { animation: panda-flotte 1.9s var(--ease-sine) infinite alternate; }
  .panda-calcule .calque-camembert { animation: panda-tourne 10s linear infinite; }
  .panda-bureau .calque-graphique, .panda-tableau .calque { animation: panda-trace 4.8s var(--ease-sine) infinite backwards; }
  .panda-tableau .calque-previsions { animation-delay: 1s; }
  .panda-calculatrice .calque-patte-gauche, .panda-calculatrice .calque-patte-droite { animation: panda-tape 2.6s ease-out infinite; }
  .panda-calculatrice .calque-patte-droite { animation-delay: -.55s; }
  .panda-calculatrice .calque-documents { animation: panda-flotte 2.1s var(--ease-sine) infinite alternate; }
  .panda-calculatrice .calque-camembert { animation: panda-tourne 10s linear infinite; }
}

@keyframes menu-entre { from { opacity: 0; translate: 0 -8px; } }
@keyframes panda-entre { from { opacity: 0; translate: 0 20px; scale: .96; } }
@keyframes panda-balance { from { rotate: -1deg; } to { rotate: 1deg; } }
@keyframes bulle-entre { from { opacity: 0; scale: .9; } }
@keyframes panda-apparait { from { opacity: 0; translate: 0 32px; } }
/* Le rognage suit la translation : le bas de l'image reste caché derrière le bord du bloc. */
@keyframes panda-surgit {
  from { translate: 0 45%; clip-path: inset(0 0 45% 0); }
  to { translate: 0 0; clip-path: inset(0 0 0 0); }
}
/* La paupière descend du haut de l'œil, reste fermée un instant, remonte. */
@keyframes panda-cligne {
  0%, 92% { opacity: 0; scale: 1 0; }
  92.1% { opacity: 1; scale: 1 0; }
  95%, 96.5% { opacity: 1; scale: 1 1; }
  100% { opacity: 1; scale: 1 0; }
}
@keyframes panda-presente {
  0%, 58%, 100% { rotate: 0deg; }
  68% { rotate: -8deg; }
  78% { rotate: 3deg; }
  88% { rotate: -4deg; }
}
@keyframes panda-salue {
  0%, 48%, 100% { rotate: 0deg; }
  56%, 72% { rotate: -9deg; }
  64%, 80% { rotate: 8deg; }
  89% { rotate: -5deg; }
}
@keyframes panda-flotte { from { translate: 0 1.2%; } to { translate: 0 -1.2%; } }
@keyframes panda-tourne { to { rotate: 360deg; } }
/* La patte appuie deux fois sur une touche, puis attend. Elle ne se lève jamais au-dessus de
   sa place : le dessin découpé n'a rien en dessous. */
@keyframes panda-tape {
  0%, 9%, 24%, 33%, 100% { translate: 0 0; }
  4%, 28% { translate: 0 .9%; }
}
/* Le graphique se dévoile de son bord gauche à son bord droit, reste, puis s'efface. */
@keyframes panda-trace {
  0%, 8% { clip-path: inset(0 calc(100% - var(--gauche)) 0 0); opacity: 1; }
  36%, 90% { clip-path: inset(0 calc(100% - var(--droite)) 0 0); opacity: 1; }
  100% { clip-path: inset(0 calc(100% - var(--droite)) 0 0); opacity: 0; }
}

/* --- Pied de page --- */

.footer { padding-block: clamp(56px, 7vw, 80px) calc(100px + env(safe-area-inset-bottom, 0px)); background: var(--ink); color: rgb(255 255 255 / .76); font-size: .9375rem; }
.footer a { color: var(--paper); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.footer-grid > div { display: grid; gap: 10px; align-content: start; }
.footer-brand { max-width: 24em; }
.footer-brand .footer-logo { margin-bottom: 6px; }
.footer-ordre { display: flex; gap: 10px; font-size: .875rem; }
.footer-ordre .icon { margin-top: 2px; color: var(--accent); }
.footer-social { display: flex; gap: 8px; margin-top: 6px; }
.footer-social a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgb(255 255 255 / .16); border-radius: 12px; }
.footer-social a:hover { border-color: var(--paper); }
.footer-title { margin-bottom: 4px; color: var(--paper); font: 600 1rem/1.3 var(--font-display); letter-spacing: 0; }
.footer-links { display: grid; gap: 8px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / .12); font-size: .875rem; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* La mention « à fournir », insécable, dépasserait de la colonne sous 323 px de large. */
.footer-ordre .missing { white-space: normal; }
@media (min-width: 360px) { .footer-ordre .missing { white-space: nowrap; } }
@media (min-width: 521px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (min-width: 961px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } .footer-brand { grid-column: auto; } }
/* Sur grand écran, les boutons flottants ne recouvrent plus le bas du pied de page. */
@media (min-width: 1281px) { .footer { padding-bottom: 32px; } }
/* Au doigt, chaque lien du pied de page occupe une ligne de 44 px. */
@media (pointer: coarse) {
  .footer-grid p > a, .footer-links a, .footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer-grid > div:not(.footer-brand) { gap: 4px; }
  .footer-links { gap: 0; }
  .footer-grid address { margin-block: 6px; }
}

/* --- Éléments flottants --- */

.whatsapp-float {
  position: fixed;
  right: calc(20px + env(safe-area-inset-right, 0px));
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 10px 28px -8px rgb(22 43 84 / .45);
  transition: transform .1s ease-out;
}
a.whatsapp-float:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) {
  a.whatsapp-float:active { transform: scale(.94); }
}
.whatsapp-float.is-missing { border: 2px dashed var(--accent-dark); background: var(--white); color: var(--whatsapp); }

/* Barre de développement : local seulement. */
.devbar { position: fixed; left: calc(16px + env(safe-area-inset-left, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 50; font-size: .8125rem; line-height: 1.45; }
.devbar summary { padding: 8px 14px; border-radius: 99px; background: var(--ink); color: var(--paper); font-weight: 600; list-style: none; cursor: pointer; box-shadow: var(--shadow); }
.devbar summary::-webkit-details-marker { display: none; }
.devbar-panel { position: absolute; left: 0; bottom: calc(100% + 8px); display: grid; gap: 8px; width: min(320px, 100vw - 32px); padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: var(--shadow-lg); }
.devbar-title { margin-top: 4px; font-weight: 600; }
.devbar-help { color: var(--ink-3); }
.devbar-options { display: flex; flex-wrap: wrap; gap: 6px; }
.devbar-options a { padding: 5px 10px; border: 1px solid var(--line); border-radius: 99px; text-decoration: none; }
.devbar-options a[aria-current] { border-color: var(--ink); background: var(--ink); color: var(--paper); }

.devbar summary span { display: none; }
@media (min-width: 481px) { .devbar summary span { display: inline; } }

/* Page introuvable */
.not-found { min-height: 56vh; }

/* --- Planche d'identité --- */

.board-hero { padding-block: clamp(48px, 7vw, 96px) 0; }
.board-hero a { color: var(--blue); font-weight: 600; }
.board-subtitle { margin: 40px 0 16px; font-size: 1.125rem; letter-spacing: -.01em; }
.board-subtitle:first-child { margin-top: 0; }

.logo-stages { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.logo-stage { display: grid; gap: 18px; place-items: center; align-content: center; min-height: 210px; padding: 24px 16px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); }
.logo-stage.is-dark { border-color: var(--ink); background: var(--ink); }
.logo-stage small { color: var(--ink-3); font-size: .8125rem; }
.logo-stage.is-dark small { color: rgb(255 255 255 / .72); }
.logo-stages + .specimen-note { margin-top: 20px; max-width: 62em; }

.swatches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.swatch { display: grid; gap: 4px; align-content: start; padding: 12px 12px 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.swatch-color { height: 96px; margin-bottom: 8px; border: 1px solid rgb(22 43 84 / .08); border-radius: 10px; }
.swatch strong { font: 600 1.0625rem/1.3 var(--font-display); }
.swatch code, .contrasts strong { font: 500 .8125rem/1.4 ui-monospace, "SF Mono", Menlo, monospace; }
.swatch code { color: var(--ink-3); }
.swatch p { margin-top: 4px; color: var(--ink-2); font-size: .875rem; line-height: 1.45; }
.contrasts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px 24px; }
.contrasts li { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); font-size: .9375rem; }
.contrasts strong { margin-left: auto; white-space: nowrap; }
.contrast-sample { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgb(22 43 84 / .08); border-radius: 10px; font: 700 1.125rem/1 var(--font-display); }

.specimens { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.specimen { display: grid; gap: 16px; align-content: start; justify-items: start; padding: clamp(24px, 3.5vw, 40px); border: 1px solid var(--line); border-radius: 24px; background: var(--white); }
.specimen h3 { font-size: 1.75rem; }
.specimen h3.is-text { font-family: var(--font-text); font-weight: 600; letter-spacing: -.02em; }
.specimen-sample { font-size: 1.1875rem; }
.specimen-sample.is-display { font: 700 clamp(2.25rem, 3vw + 1rem, 3.5rem)/1.02 var(--font-display); letter-spacing: -.04em; }
.specimen-glyphs { color: var(--ink-2); font-size: 1.375rem; }
.specimen-glyphs.is-display { font-family: var(--font-display); font-weight: 600; }
.specimen-glyphs.is-tabular { justify-self: stretch; font-variant-numeric: tabular-nums; font-weight: 500; text-align: right; }
.specimen-note { color: var(--ink-2); font-size: .9375rem; }

/* Autant de colonnes que la largeur en accepte : chaque libellé garde la place de son mot. */
.pictograms { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 20px 12px; }
.pictograms li { display: grid; gap: 4px; justify-items: center; color: var(--ink-2); font-size: .8125rem; text-align: center; }
.gallery { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.gallery-item { display: grid; gap: 14px; align-content: space-between; margin: 0; padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); }
.gallery-art { width: 100%; }
.gallery-item figcaption { font-size: .9375rem; }
.gallery + .specimen-note, .contrasts + .specimen-note { margin-top: 20px; max-width: 62em; }
.board-plans { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.board-plans .cabinet-visual { height: 170px; border-radius: 20px; }

.components { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: start; }
.component-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.component .specimen-note { margin-top: 14px; }
.quote-preview { display: grid; gap: 12px; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); border-radius: 24px; background: var(--white); }
.quote-progress { height: 6px; border-radius: 99px; background: var(--paper-2); }
.quote-progress span { display: block; width: 16.6%; height: 100%; border-radius: inherit; background: var(--accent); }
.quote-preview .quote-step { color: var(--ink-3); font-size: .8125rem; font-weight: 600; }
.quote-question { font: 700 1.75rem/1.1 var(--font-display); letter-spacing: -.03em; }
.quote-choices { display: grid; gap: 10px; margin-top: 4px; }
.choice { display: flex; align-items: center; min-height: 60px; padding: 0 20px; border: 1.5px solid var(--line); border-radius: 14px; font-weight: 600; }
.choice.is-selected { border-color: var(--ink); background: var(--ink); color: var(--paper); }

@media (min-width: 481px) {
  .contrasts li { flex-wrap: nowrap; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 861px) {
  .swatches { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .contrasts, .specimens, .board-plans, .components, .logo-stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1041px) {
  .logo-stages { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pictograms { grid-template-columns: repeat(7, minmax(0, 1fr)); }
}

/* --- Pages intérieures : services, cabinet, contact, pages légales --- */

.page-head { padding-block: clamp(28px, 5vw, 56px) clamp(40px, 6vw, 72px); }
.page-head .section-head { margin-bottom: 0; }
.crumbs { margin-bottom: 24px; color: var(--ink-3); font-size: .875rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.crumbs li + li::before { content: "›"; margin-right: 8px; }
.crumbs a { color: inherit; }
.updated { padding-bottom: 40px; color: var(--ink-3); font-size: .875rem; }

.checks { display: grid; gap: 12px 32px; }
.checks li { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; }
.checks .icon { margin-top: 2px; color: var(--bamboo); }
.service-card h2 { font-size: 1.375rem; letter-spacing: -.02em; line-height: 1.15; }
.service-card h2 a { text-decoration: none; }
.service-card h2 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

/* Questions fréquentes : des <details>, dépliables sans JavaScript. */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq-item { border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 14px 20px; font: 600 1.0625rem/1.35 var(--font-display); list-style: none; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; color: var(--blue); font-size: 1.5rem; line-height: 1; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 20px 20px; color: var(--ink-2); }

.prose { max-width: 760px; }
.prose h1 { margin-bottom: 24px; }
.prose h2 { margin: 40px 0 12px; font-size: 1.5rem; letter-spacing: -.02em; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-top: 12px; color: var(--ink-2); }
.prose a { color: var(--blue); font-weight: 600; }

/* minmax(0, 1fr) : la colonne garde la largeur de la page, même si un contenu (repère
   « À FOURNIR », carte ou planning Google) voudrait l'élargir. */
.office { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.office .missing { max-width: 100%; white-space: normal; }
.office-card, .appointment { display: grid; gap: 16px; align-content: start; justify-items: start; padding: clamp(22px, 3vw, 32px); border: 1px solid var(--line); border-radius: 24px; background: var(--white); }
.office-card :is(h2, h3), .appointment :is(h2, h3) { font-size: 1.5rem; letter-spacing: -.02em; }
.appointment { margin-top: 24px; }
.office .appointment { margin-top: 0; }
.appointment p { color: var(--ink-2); }
.appointment-frame { width: 100%; height: 640px; border: 0; border-radius: 12px; }
.office-map { position: relative; display: block; min-height: 320px; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--paper); }
.office-map .plan { position: absolute; inset: 0; }

/* Avis Google : une rangée qui déborde jusqu'au bord de l'écran, pour qu'on voie qu'il y a une
   suite. Sans script, on la fait défiler soi-même et chaque carte s'arrête calée sur le bord
   du texte de la page. Avec le script (.is-auto), elle défile toute seule, sans arrêt sur les
   cartes, et on peut toujours la faire glisser au doigt ou avec les deux flèches centrées
   dessous (à la souris seulement). Les cartes ont toutes la même hauteur ; le nom de l'auteur
   reste en bas. */
.reviews-stars { color: var(--accent); font-size: .8em; letter-spacing: 2px; vertical-align: .06em; }
.btn-google { background: var(--white); }
.btn-google .icon { flex: none; }
.section-reviews .section-head { margin-bottom: clamp(16px, 3vw, 32px); }
.reviews-nav { display: none; justify-content: center; gap: 12px; margin-top: 8px; }
.reviews-arrow {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  transition: background-color .15s, color .15s, opacity .15s, transform .1s ease-out;
}
.reviews-arrow-prev .icon { rotate: 180deg; }
.reviews-arrow:active { transform: scale(.94); }
.reviews-arrow:disabled { opacity: .3; cursor: default; transform: none; }
@media (hover: hover) and (pointer: fine) {
  .reviews-nav:not([hidden]) { display: flex; }
  .reviews-arrow:not(:disabled):hover { background: var(--ink); color: var(--paper); }
}
.reviews-track {
  --reviews-gap: 16px;
  --reviews-inset: max(var(--gutter), (100% - var(--max)) / 2);
  padding: 8px var(--reviews-inset) 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--reviews-inset);
  scrollbar-width: none;
}
.reviews-track::-webkit-scrollbar { display: none; }
.reviews-track.is-auto { scroll-snap-type: none; }
.reviews-track:focus-visible { outline-offset: -4px; }
.reviews { display: flex; gap: var(--reviews-gap); width: max-content; margin: 0; padding: 0; list-style: none; }
.review { flex: none; width: min(82vw, 360px); display: flex; flex-direction: column; gap: 10px; padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); box-shadow: var(--shadow); scroll-snap-align: start; }
.review p:not([class]) { color: var(--ink-2); font-size: .9688rem; }
.review-stars { color: var(--accent); letter-spacing: 2px; }
.review-author { margin-top: auto; padding-top: 4px; color: var(--ink); font-size: .875rem; font-weight: 600; }
.review-city { color: var(--ink-3); font-weight: 500; }
.reviews-source { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

@media (min-width: 761px) {
  .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .software-card .checks { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 861px) {
  .office { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .office .appointment { grid-column: 1 / -1; }
}

/* --- Devis et formulaires --- */

/* Sans JavaScript, les six étapes se suivent sur la page. Avec, la classe is-stepped est
   posée et une seule étape est visible à la fois. */
.quote-container { max-width: 760px; }
.quote { margin-top: 32px; }
.quote-step { min-width: 0; margin: 0 0 40px; padding: 0; border: 0; }
.quote-step legend { margin-bottom: 18px; padding: 0; font: 700 1.625rem/1.1 var(--font-display); letter-spacing: -.03em; }
.quote-count { display: block; margin-bottom: 8px; color: var(--ink-3); font: 600 .8125rem/1.3 var(--font-text); letter-spacing: 0; }
.quote-sub { margin: 20px 0 10px; font-weight: 600; }
.quote .quote-progress { margin-bottom: 28px; }
.quote-progress span { transition: width .2s; }
/* La place du bouton WhatsApp flottant est laissée libre à droite, sous 1281 px. */
.quote-nav { display: flex; justify-content: space-between; gap: 12px; padding-right: 76px; }
@media (min-width: 1281px) { .quote-nav { padding-right: 0; } }
.choice { position: relative; padding-block: 10px; background: var(--white); cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice:has(input:checked) { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.choice:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 3px; }
.fields { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; font-size: .9375rem; font-weight: 600; }
.field input, .field textarea, .field select { width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--white); color: var(--ink); font: 400 1.0625rem/1.4 var(--font-text); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ink); outline: none; }
.quote-step > .field { margin-top: 16px; }
/* Champ du CV (page « Rejoignez-nous ») : le bouton du navigateur, dans le cadre des autres champs. */
.field-hint { margin-top: -2px; color: var(--ink-3); font-size: .875rem; font-weight: 400; }
.field input[type="file"] { padding: 12px; cursor: pointer; }
.field input[type="file"]::file-selector-button { margin-right: 10px; padding: 6px 12px; border: 1.5px solid var(--line); border-radius: 99px; background: var(--paper-2); color: var(--ink); font: 600 .875rem/1.2 var(--font-text); cursor: pointer; }
.field-error { margin-top: 8px; color: #b42318; font-size: .875rem; font-weight: 600; }
.alert { margin-top: 20px; padding: 12px 16px; border-radius: 12px; background: #fdecea; color: #8f1d14; font-weight: 600; }
.consent-line { display: flex; align-items: flex-start; gap: 12px; margin: 24px 0; color: var(--ink-2); font-size: .9375rem; }
.consent-line input { flex: none; width: 22px; height: 22px; margin-top: 2px; accent-color: var(--ink); }
.consent-line a { color: var(--blue); font-weight: 600; }
/* Champ piège pour les robots : hors de l'écran, ignoré des lecteurs d'écran. */
.trap { position: absolute; left: -9999px; }

@media (min-width: 621px) {
  .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-wide, .fields > .btn { grid-column: 1 / -1; justify-self: start; }
  .field-wide { justify-self: stretch; }
}

/* --- Consentement aux cookies --- */

.consent { position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 60; display: grid; gap: 14px; max-width: 560px; margin-inline: auto; padding: 18px 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: var(--shadow-lg); font-size: .9375rem; }
.consent[hidden] { display: none; }
.consent a { color: var(--blue); font-weight: 600; }
/* Refuser et accepter ont la même taille : l'un n'est pas plus facile que l'autre. */
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.consent .btn { cursor: pointer; }

/* Fenêtre de choix du cabinet, devant la page tant que le visiteur n'a pas choisi. La page
   derrière ne défile pas. */
.cabinet-gate { width: min(520px, 100vw - 32px); max-height: calc(100dvh - 32px); padding: clamp(24px, 5vw, 36px); border: 0; border-radius: 24px; background: var(--white); color: var(--ink); box-shadow: var(--shadow-lg); }
.cabinet-gate::backdrop { background: rgb(22 43 84 / .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.cabinet-gate h2 { margin: 22px 0 10px; font-size: clamp(1.5rem, 5vw, 1.875rem); }
.cabinet-gate p { color: var(--ink-2); }
.cabinet-gate-choices { display: grid; gap: 12px; margin-top: 24px; }
.cabinet-gate-choice { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; padding: 16px 20px; border: 1.5px solid var(--line); border-radius: 16px; text-decoration: none; transition: border-color .15s, background-color .15s, transform .1s ease-out; }
.cabinet-gate-city { font: 600 1.125rem/1.3 var(--font-display); }
.cabinet-gate-area { grid-row: 2; color: var(--ink-3); font-size: .875rem; }
.cabinet-gate-choice .icon { grid-row: 1 / 3; grid-column: 2; color: var(--blue); transition: transform .15s; }
.cabinet-gate-choice:active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) {
  .cabinet-gate-choice:hover { border-color: var(--ink); background: var(--paper-2); }
  .cabinet-gate-choice:hover .icon { transform: translateX(3px); }
}
html:has(.cabinet-gate[open]) { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .cabinet-gate[open] { animation: gate-in .35s var(--ease-out); }
  .cabinet-gate[open]::backdrop { animation: gate-fade .35s var(--ease-out); }
}
@keyframes gate-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@keyframes gate-fade { from { opacity: 0; } }
@media (prefers-reduced-transparency: reduce) {
  .cabinet-gate::backdrop { background: rgb(22 43 84 / .85); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

.footer-button { padding: 0; border: 0; background: none; color: var(--paper); font: inherit; cursor: pointer; }
.footer-button:hover { text-decoration: underline; }

/* --- Outils : le cadre prend la hauteur que l'outil annonce --- */

/* Carte d'outil : sans icône, tout s'empile, y compris sur mobile. */
.tool-card { display: flex; flex-direction: column; align-items: flex-start; }
.tool-card .link-arrow { margin-top: auto; }
.tool-card .tag, .section-tinted .tool-card .tag { background: var(--blue-soft); color: var(--blue); }
.section-more { margin-top: 24px; }
/* Section qui prolonge la précédente sur le même fond : pas de double espacement. */
.section-follow { padding-top: 0; }

/* --- Pages locales et page « en ligne » --- */

.city-note { max-width: 760px; margin-top: 16px; color: var(--ink-3); font-size: .875rem; }
.software-card .tag { display: inline-flex; align-items: center; gap: 6px; }
.city-sources { max-width: 760px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.city-sources-title { margin-bottom: 8px; font-size: 1rem; letter-spacing: 0; }
.city-sources ul { display: grid; gap: 6px; padding-left: 18px; list-style: disc; color: var(--ink-3); font-size: .875rem; }
.city-sources a { color: var(--ink-2); }
/* Liens vers les pages locales, en pastilles (comme .chip). */
.city-links-title { margin: 32px 0 12px; font-weight: 600; }
/* Domaines d'intervention (page /services) : un groupe de pastilles par thème. */
.domains { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 32px 40px; }
.domains-title { margin-bottom: 12px; font-size: 1.0625rem; letter-spacing: 0; }
.city-links { display: flex; flex-wrap: wrap; gap: 8px; }
.city-links a { display: inline-flex; align-items: center; min-height: 40px; padding: 7px 13px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); color: var(--ink-2); font-size: .875rem; font-weight: 500; text-decoration: none; }
.city-links a:hover { border-color: var(--ink); color: var(--ink); }
.footer-cities { margin-top: 6px; }
/* « Notre équipe » (partials/team.php) : un expert-comptable par cabinet, avec le choix du
   cabinet sur chaque carte. */
.team { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.team-card { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; padding: clamp(18px, 3vw, 28px); border: 1px solid var(--line); border-radius: 24px; background: var(--white); }
.team-card.is-current { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.team-photo { display: grid; place-items: center; width: 96px; aspect-ratio: 1; overflow: hidden; border-radius: 50%; background: var(--paper-2); color: var(--ink-3); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-body { display: grid; gap: 8px; align-content: start; justify-items: start; }
.team-body h3 { font-size: 1.5rem; letter-spacing: -.02em; }
.team-role { color: var(--ink-2); font-weight: 600; }
.team-office { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; color: var(--ink-2); }
.team-body .btn { max-width: 100%; white-space: normal; }
.contact-more { margin-top: 24px; }
@media (min-width: 520px) {
  .team-card { grid-template-columns: 120px minmax(0, 1fr); gap: clamp(16px, 3vw, 28px); }
  .team-photo { width: auto; }
}
@media (min-width: 900px) {
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .team-card { grid-template-columns: 148px minmax(0, 1fr); }
}
/* --- Blog --- */

.article-image { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: 12px; background: var(--ink); }
.article-meta { color: var(--ink-3); font-size: .875rem; }
.article-title { max-width: 900px; font-size: clamp(2rem, 5vw, 3.25rem); }
.article-section { padding-top: clamp(24px, 4vw, 48px); }
.article-cover, .article-cover svg { display: block; width: 100%; max-width: 900px; height: auto; border-radius: 20px; }
.lead + .article-cover { margin-top: 32px; }
/* Une photo prend le format de l'illustration ; elle est recadrée au centre si besoin. */
img.article-cover { aspect-ratio: 1200 / 630; object-fit: cover; background: var(--ink); }
.article-byline { margin-top: 16px; color: var(--ink-2); }
.article-body { margin-top: clamp(32px, 5vw, 48px); }
.article-body h2 { margin-top: 36px; }
.article-body h3 { margin: 28px 0 8px; font-size: 1.25rem; }
.article-body ul { display: grid; gap: 8px; margin-top: 12px; padding-left: 22px; list-style: disc; color: var(--ink-2); }
.article-body strong { color: var(--ink); }
.article-actions { margin-top: 32px; }

@media (min-width: 621px) { .online-points { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; } }
@media (min-width: 961px) { .online-points { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* L'outil suit de près l'en-tête de sa page : c'est ce que le visiteur est venu chercher. */
.tool-section { padding-top: clamp(24px, 4vw, 48px); }
/* content-box : la hauteur annoncée par l'outil est celle de son contenu, bordure en plus. */
.tool-frame { display: block; box-sizing: content-box; width: calc(100% - 2px); height: 480px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); }
.tool-note { display: flex; align-items: center; gap: 8px; margin: 16px 0 24px; color: var(--ink-2); font-size: .9375rem; }
.tool-note .icon { color: var(--blue); }
.tool-image { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; }
/* Image de présentation d'un outil, à côté de son titre sur un écran large. */
.tool-head.has-image { display: grid; gap: 28px; }
.tool-cover { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 20px; background: var(--paper-2); box-shadow: var(--shadow); }
@media (min-width: 861px) { .tool-head.has-image { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: 48px; } }
.quote .btn, .fields .btn { cursor: pointer; }
