/* =====================================================================
   Agentique Québec — Formation IA en entreprise (/formation-ia-entreprise-quebec), 19 octobre 2026.
   Direction : « la salle de formation ». Le plan d'arrière-plan dessine la salle de la tour (12 places, écran,
   cheminement) ; un programme en huit modules, une démonstration en onglets (demande et résultat), un tableau avant et
   après dont les lignes portent les renvois 1 à 6 du plan ; le financement est un élément projeté (trait interrompu).
   Se charge APRÈS /assets/premium/aq-premium.css ; couleurs tirées des jetons communs.
   ===================================================================== */

.page-formation {
  --form-trait: rgba(10, 22, 40, .42);
}

/* =====================================================================
   HÉRO : l'atelier ; le panneau couvre le mur-rideau, le formateur et l'écran restent visibles
   ===================================================================== */
.form-photo img { object-position: 62% 50%; }
.form-panneau { width: min(660px, 50%); position: relative; z-index: 1; }
.form-panneau h1 { margin-bottom: 22px; }
.form-bref {
  max-width: 60ch;
  padding: 2px 0 2px 18px;
  border-left: 2px solid var(--cyan-500);
  font-size: clamp(1rem, .95rem + .2vw, 1.08rem); line-height: 1.66; color: #26354a;
}
.form-bref strong { color: var(--marine-900); font-weight: 700; }
.form-panneau .aq-boutons { margin-top: 28px; }

/* =====================================================================
   POUR QUI : quatre cartes
   ===================================================================== */
.form-pourqui .aq-carte h3 { margin: 18px 0 10px; font-size: 1.14rem; font-weight: 750; line-height: 1.3; letter-spacing: -.01em; }
.form-pourqui .aq-carte p { font-size: .97rem; line-height: 1.6; }

/* =====================================================================
   PROGRAMME : quatre outils, parcours de huit modules, demande bien formulée et règles de sécurité
   ===================================================================== */
.outils { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-bottom: 26px; }
.outil { padding: 20px 20px 22px; border-radius: 24px; }
.outil-editeur { font-size: .7rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.calque .outil-editeur { color: var(--panneau-accent); }
.outil h3 { margin: 6px 0 8px; font-size: 1.2rem; font-weight: 760; letter-spacing: -.01em; }
.outil p:last-child { font-size: .93rem; line-height: 1.55; }

.parcours { list-style: none; margin: 0; padding: clamp(10px, 1.6vw, 18px) clamp(18px, 2.8vw, 38px); border-radius: 32px; counter-reset: module; }
.module { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 8px 28px; padding: 24px 0; }
.module + .module { border-top: 1px solid var(--panneau-filet); }
.module-numero { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: .7rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.calque .module-numero { color: var(--panneau-texte-2); }
.module-numero span {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  font-size: 1.1rem; font-weight: 800; letter-spacing: 0; font-variant-numeric: tabular-nums;
}
.calque .module-numero span { color: var(--panneau-titre); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.calque .module:nth-child(-n+3) .module-numero span { color: var(--marine-900); background: var(--cyan-400); box-shadow: none; }
.module-corps h3 { font-size: clamp(1.15rem, 1rem + .45vw, 1.4rem); font-weight: 760; line-height: 1.25; letter-spacing: -.01em; }
.module-objectif { margin-top: 6px; max-width: 72ch; font-size: 1rem; line-height: 1.6; }
.calque .module-objectif { color: var(--panneau-texte); }
.module-notions { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.module-notions li { padding: 6px 12px; border-radius: 999px; font-size: .86rem; line-height: 1.35; }
.calque .module-notions li { color: var(--panneau-texte); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--panneau-filet); }
/* Notions propres à Microsoft 365 Copilot : liseré cyan, pour les repérer d'un coup d'œil */
.calque .module-notions li.notion-copilot { color: var(--panneau-titre); background: rgba(0, 212, 255, .1); box-shadow: inset 0 0 0 1px rgba(0, 212, 255, .45); }
.module-direct { margin-top: 14px; max-width: 80ch; font-size: .93rem; line-height: 1.6; }
.calque .module-direct { color: var(--panneau-texte-2); }
.calque .module-direct strong { color: var(--panneau-accent); }
.module-direct--copilot { margin-top: 8px; }
.form-contenu.est-alimentee .module-numero span { box-shadow: inset 0 0 0 1.5px var(--cyan-400), 0 0 16px -4px rgba(0, 212, 255, .6); }
.form-contenu.est-alimentee .module:nth-child(-n+3) .module-numero span { box-shadow: 0 0 18px -4px rgba(0, 212, 255, .7); }

.guides { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 20px; margin-top: 22px; }
.guide { padding: clamp(24px, 3vw, 36px); border-radius: 28px; }
.guide h3 { font-size: 1.25rem; font-weight: 760; letter-spacing: -.01em; }
.guide-intro { margin: 6px 0 18px; font-size: .9rem; line-height: 1.55; }
.calque .guide-intro { color: var(--panneau-texte-2); }
.gabarit { margin: 0; display: grid; gap: 0; }
.gabarit > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 4px 18px; padding: 11px 0; }
.gabarit > div + div { border-top: 1px solid var(--panneau-filet); }
.gabarit dt { font-size: .74rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; padding-top: 3px; }
.calque .gabarit dt { color: var(--panneau-accent); }
.gabarit dd { margin: 0; font-size: .94rem; line-height: 1.55; }
.calque .gabarit dd { color: var(--panneau-texte); }
.regles { list-style: none; margin: 0; padding: 0; counter-reset: regle; display: grid; gap: 12px; }
.regles li { position: relative; padding-left: 40px; counter-increment: regle; font-size: .94rem; line-height: 1.55; }
.calque .regles li { color: var(--panneau-texte); }
.regles li::before {
  content: counter(regle); content: counter(regle) / "";
  position: absolute; left: 0; top: -1px; width: 26px; height: 26px; border-radius: 8px;
  display: grid; place-items: center; font-size: .8rem; font-weight: 760; font-variant-numeric: tabular-nums;
}
.calque .regles li::before { color: var(--panneau-titre); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); }
/* Comment le prix est établi : trois critères numérotés, puis la soumission */
.prix { max-width: 1040px; margin: 26px auto 0; padding: clamp(24px, 3vw, 38px) clamp(22px, 3vw, 42px); border-radius: 28px; }
.prix h3 { margin-bottom: 20px; font-size: 1.25rem; font-weight: 760; line-height: 1.3; letter-spacing: -.01em; }
.prix-criteres { list-style: none; margin: 0; padding: 0; counter-reset: critere; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 28px; }
.prix-criteres li { position: relative; counter-increment: critere; padding-left: 48px; font-size: .96rem; line-height: 1.6; }
.calque .prix-criteres li { color: var(--panneau-texte); }
.prix-criteres li::before {
  content: counter(critere); content: counter(critere) / "";
  position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; font-size: .92rem; font-weight: 760; font-variant-numeric: tabular-nums;
}
.calque .prix-criteres li::before { color: var(--panneau-titre); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.form-contenu.est-alimentee .prix-criteres li::before { box-shadow: inset 0 0 0 1.5px var(--cyan-400), 0 0 18px -4px rgba(0, 212, 255, .6); }
.prix-criteres strong { display: block; margin-bottom: 4px; font-size: 1.03rem; font-weight: 740; line-height: 1.35; }
.calque .prix-criteres strong { color: var(--panneau-titre); }
.prix-note { margin-top: 22px; padding-top: 18px; font-size: .93rem; line-height: 1.6; }
.calque .prix-note { color: var(--panneau-texte-2); box-shadow: inset 0 1px 0 var(--panneau-filet); }


/* =====================================================================
   DÉMONSTRATION : demande (bulle claire) et résultat (verre marine) ; onglets posés par formation.js
   ===================================================================== */
.demo { padding: clamp(22px, 3vw, 40px); border-radius: 32px; }
.demo-onglets {
  display: none; flex-wrap: wrap; gap: 6px;
  width: fit-content; max-width: 100%; margin-bottom: 26px; padding: 6px;
  border-radius: 24px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--panneau-filet);
}
.demo.est-onglets .demo-onglets { display: flex; }
.demo-onglet {
  min-height: 44px; padding: 0 18px; border: 0; border-radius: 18px;
  background: transparent; cursor: pointer;
  font: 650 .95rem/1.2 var(--font-text);
  transition: background-color var(--t-rapide) var(--ease-std), color var(--t-rapide) var(--ease-std);
}
.calque .demo-onglet { color: var(--panneau-texte); }
.calque .demo-onglet:hover { color: var(--panneau-titre); background: rgba(255, 255, 255, .08); }
.calque .demo-onglet[aria-selected="true"] { color: var(--marine-900); background: var(--cyan-400); }
.demo-onglet:focus-visible { outline: 3px solid var(--cyan-400); outline-offset: 2px; }
.demo-panneau:focus-visible { outline: 2px solid rgba(0, 212, 255, .6); outline-offset: 8px; border-radius: 12px; }
.demo-panneau + .demo-panneau { margin-top: 34px; padding-top: 34px; box-shadow: inset 0 1px 0 var(--panneau-filet); }
.demo.est-onglets .demo-panneau + .demo-panneau { margin-top: 0; padding-top: 0; box-shadow: none; }
.demo-titre { margin-bottom: 18px; font-size: clamp(1.15rem, 1rem + .4vw, 1.35rem); font-weight: 750; line-height: 1.3; letter-spacing: -.01em; }
.demo-grille { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; gap: 20px 28px; }
.demo-etiquette { margin-bottom: 10px; font-size: .72rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.demo-demande { padding: 20px 22px 22px; border-radius: 22px 22px 22px 6px; background: rgba(255, 255, 255, .94); box-shadow: 0 14px 28px -18px rgba(0, 0, 0, .6); }
.calque .demo-demande .demo-etiquette { color: var(--cyan-750); }
.calque .demo-demande p { font-size: .97rem; line-height: 1.62; color: var(--marine-900); }
.demo-resultat { padding: 20px 22px 22px; border-radius: 22px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--panneau-filet); }
.calque .demo-resultat .demo-etiquette { color: var(--panneau-accent); }
.demo-table { width: 100%; border-collapse: collapse; font-size: .92rem; line-height: 1.5; }
.calque .demo-table th { padding: 0 10px 10px; text-align: left; font-size: .78rem; font-weight: 700; letter-spacing: .04em; color: var(--panneau-titre); border-bottom: 1px solid rgba(255, 255, 255, .3); }
.calque .demo-table td { padding: 11px 10px; vertical-align: top; color: var(--panneau-texte); border-bottom: 1px solid var(--panneau-filet); }
.demo-table tr > :first-child { padding-left: 0; }
.demo-table tr > :last-child { padding-right: 0; }
.demo-table td:first-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.demo-table tbody tr:last-child td { border-bottom: 0; }
.demo-pv, .demo-etapes { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.calque .demo-pv li, .calque .demo-etapes li { font-size: .95rem; line-height: 1.55; color: var(--panneau-texte); }
.calque .demo-pv em { font-style: normal; font-weight: 600; color: var(--panneau-accent); white-space: nowrap; }
.demo-type { display: inline-block; min-width: 92px; margin-right: 10px; padding: 3px 9px; border-radius: 8px; font-size: .7rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; text-align: center; vertical-align: 1px; }
.calque .demo-type { color: var(--panneau-puce-texte); background: var(--panneau-puce-fond); box-shadow: inset 0 0 0 1px var(--panneau-puce-bord); }
.demo-etapes { counter-reset: etape-demo; }
.demo-etapes li { position: relative; padding-left: 30px; counter-increment: etape-demo; }
.demo-etapes li::before { content: counter(etape-demo) "."; position: absolute; left: 0; top: 0; font-weight: 750; font-variant-numeric: tabular-nums; }
.calque .demo-etapes li::before { color: var(--panneau-accent); }
.calque .demo-source { margin-top: 14px; padding-top: 12px; font-size: .86rem; line-height: 1.5; color: var(--panneau-texte-2); box-shadow: inset 0 1px 0 var(--panneau-filet); }
.calque .demo-verif { margin-top: 20px; font-size: .93rem; line-height: 1.6; color: var(--panneau-texte-2); }
.calque .demo-verif strong { color: var(--panneau-titre); }
.demo-fictif { margin-top: 14px; text-align: center; font-size: .86rem; color: var(--ardoise-600); }

/* =====================================================================
   AVANT ET APRÈS : tableau sur verre marine ; renvois 1 à 6 comme sur le plan ; en cartes sur téléphone
   ===================================================================== */
.avant-apres { padding: clamp(8px, 1.4vw, 18px) clamp(16px, 2.6vw, 34px); border-radius: 30px; }
.aa-table { width: 100%; border-collapse: collapse; }
.calque .aa-table thead th {
  padding: 18px 16px 14px; text-align: left;
  font-size: .74rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase;
  color: var(--panneau-accent); border-bottom: 1.5px solid rgba(255, 255, 255, .3);
}
.calque .aa-table tbody th { width: 30%; padding: 18px 16px; text-align: left; vertical-align: top; font-size: 1rem; font-weight: 700; line-height: 1.4; color: var(--panneau-titre); }
.calque .aa-table td { width: 33%; padding: 18px 16px; vertical-align: top; font-size: .96rem; line-height: 1.6; color: var(--panneau-texte-2); }
.calque .aa-table td:last-child { color: var(--panneau-texte); box-shadow: inset 2px 0 0 rgba(0, 212, 255, .5); }
.aa-table tr > :first-child { padding-left: 0; }
.aa-table tbody tr + tr > * { border-top: 1px solid var(--panneau-filet); }
.aa-renvoi {
  display: inline-grid; place-items: center; width: 28px; height: 28px; margin-right: 12px; border-radius: 50%;
  font-size: .84rem; font-weight: 760; font-variant-numeric: tabular-nums; vertical-align: 1px;
}
.calque .aa-renvoi { color: var(--panneau-titre); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.form-avant-apres.est-alimentee .aa-renvoi { box-shadow: inset 0 0 0 1.5px var(--cyan-400), 0 0 16px -4px rgba(0, 212, 255, .6); }

/* =====================================================================
   DÉROULEMENT : quatre étapes reliées par un trait
   ===================================================================== */
.etapes { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.etapes::before {
  content: ""; position: absolute; left: 4%; right: 4%; top: -22px; height: 0;
  border-top: 1.3px dashed var(--form-trait);
}
.etape { position: relative; padding: 26px 24px 28px; border-radius: 26px; font-size: .97rem; line-height: 1.62; }
.etape::before {
  content: ""; position: absolute; top: -29px; left: 28px; width: 14px; height: 14px; border-radius: 50%;
  background: #f8f7f3; box-shadow: inset 0 0 0 1.5px var(--form-trait);
}
.form-deroulement.est-alimentee .etape::before { background: var(--cyan-400); box-shadow: 0 0 0 4px rgba(0, 180, 216, .16), 0 0 16px rgba(0, 180, 216, .5); }
.etape strong { display: block; margin-bottom: 10px; font-size: 1.12rem; font-weight: 750; line-height: 1.3; letter-spacing: -.01em; }
.form-deroulement .section-header { margin-bottom: 64px; }

/* =====================================================================
   CADRE : feuille claire (confidentialité) et élément projeté (financement)
   ===================================================================== */
.cadre {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: stretch;
  gap: 0; border-radius: 36px; overflow: hidden;
  background: rgba(255, 255, 255, .95);
  box-shadow: inset 0 0 0 1px rgba(10, 22, 40, .06), var(--ombre-2);
}
.cadre-feuille { padding: clamp(28px, 4vw, 56px); }
.cadre-feuille h2 { margin: 16px 0 18px; font-size: clamp(2rem, 1.3rem + 2.5vw, 3.1rem); }
.cadre-texte { max-width: 58ch; font-size: 1.06rem; line-height: 1.66; color: var(--ardoise-700); }
.cadre-texte + .cadre-texte { margin-top: 14px; }
.cadre-financement {
  margin: clamp(16px, 2vw, 26px); padding: clamp(24px, 3vw, 36px);
  border: 1.6px dashed rgba(0, 111, 139, .6); border-radius: 26px;
  background: rgba(0, 180, 216, .055);
  font-size: 1rem; line-height: 1.68; color: var(--ardoise-700);
}
.cadre-financement h3 { margin-bottom: 12px; font-size: 1.25rem; font-weight: 760; letter-spacing: -.01em; color: var(--cyan-750); }
.cadre-financement p + p { margin-top: 12px; }
.cadre-lien { display: inline-flex; align-items: center; min-height: 44px; margin-top: 10px; color: var(--cyan-750); font-weight: 650; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.cadre-lien:hover { color: var(--marine-900); }

/* =====================================================================
   FORMATEUR : portrait du fondateur
   ===================================================================== */
.formateur h2 { margin: 16px 0 14px; }
.formateur .aq-texte + .aq-texte { margin-top: 12px; }
.formateur-photo { max-width: 380px; justify-self: center; width: 100%; }
.formateur-photo img { object-position: 50% 18%; }

/* =====================================================================
   QUESTIONS FRÉQUENTES : accordéons natifs dans un verre marine
   ===================================================================== */
.form-questions-grille { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: start; gap: 28px clamp(30px, 4.4vw, 72px); }
.form-questions-tete { margin-bottom: 0; }
.questions { padding: 8px clamp(20px, 2.6vw, 34px); border-radius: 30px; interpolate-size: allow-keywords; }
.question + .question { border-top: 1px solid var(--panneau-filet); }
.question summary {
  display: grid; grid-template-columns: minmax(0, 1fr) 34px; align-items: center; gap: 20px;
  min-height: 68px; padding: 18px 2px;
  list-style: none; cursor: pointer;
  font-size: 1.08rem; font-weight: 700; line-height: 1.4; letter-spacing: -.005em;
  color: var(--panneau-titre);
  border-radius: 14px;
}
.question summary::-webkit-details-marker { display: none; }
.question summary::marker { content: ""; }
.question summary::after {
  content: ""; width: 32px; height: 32px; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .42);
  background:
    linear-gradient(var(--panneau-icone), var(--panneau-icone)) center / 1.6px 62% no-repeat,
    linear-gradient(var(--panneau-icone), var(--panneau-icone)) center / 62% 1.6px no-repeat;
  transition: transform .45s var(--ease-sortie), background-color .3s var(--ease-std), border-color .3s var(--ease-std);
}
.question summary:hover::after { border-color: var(--panneau-accent); }
.question[open] summary::after { transform: rotate(45deg); border-color: var(--cyan-400); background-color: rgba(0, 212, 255, .16); }
.question summary:focus-visible { outline: 3px solid var(--cyan-400); outline-offset: 2px; }
.calque .question p { padding: 0 56px 24px 2px; font-size: 1rem; line-height: 1.7; color: var(--panneau-texte-2); }
.question::details-content { block-size: 0; overflow: hidden; transition: block-size .45s var(--ease-sortie), content-visibility .45s allow-discrete; }
.question[open]::details-content { block-size: auto; }

/* =====================================================================
   APPEL FINAL : la salle du conseil ; la boîte à gauche (fleuve), le Château et la réunion restent visibles
   ===================================================================== */
.form-appel-boite { max-width: 560px; }
.form-appel-scene .aq-appel-photo img { object-position: 62% 50%; }

/* =====================================================================
   PIED DE PAGE (pied de production : marque, droits, liens)
   ===================================================================== */
.pied-mini { display: flex; align-items: center; }
.pied-mini .footer-brand { display: flex; align-items: center; gap: 16px; }
.pied-mini .footer-logo { margin-bottom: 0; }
.pied-mini .logo-text { margin-bottom: 0; }

/* =====================================================================
   ADAPTATIF
   ===================================================================== */
@media (max-width: 1180px) {
  .outils { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .etapes { gap: 16px; }
  .etape { padding: 22px 20px 24px; }
}
@media (max-width: 1023px) {
  /* Tablette et téléphone : la photo occupe le haut du cadre et se fond dans le marine ; le verre (dense) la chevauche */
  .form-cadre { --haut-photo: clamp(280px, 34svh, 400px); padding-top: var(--haut-photo); align-items: flex-end; background: var(--marine-800); }
  .form-photo { bottom: auto; height: calc(var(--haut-photo) + 230px); }
  .form-photo img { object-position: 60% 50%; }
  .form-photo::after { background: linear-gradient(180deg, rgba(10, 22, 40, .2) 0%, rgba(10, 22, 40, 0) 22%, rgba(12, 29, 53, 0) 62%, var(--marine-800) 100%); }
  .form-panneau { width: 100%; background: var(--verre-fond-dense); }
  .guides { grid-template-columns: minmax(0, 1fr); }
  .module { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .module-numero { flex-direction: row; align-items: center; gap: 12px; }
  .prix { max-width: 680px; }
  .prix-criteres { grid-template-columns: minmax(0, 1fr); }
  .demo-grille { grid-template-columns: minmax(0, 1fr); }
  .etapes { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 52px; }
  .etapes::before { display: none; }
  .cadre { grid-template-columns: minmax(0, 1fr); }
  .form-questions-grille { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .outils { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .form-cadre { --haut-photo: clamp(230px, 34svh, 300px); }
  .form-photo img { object-position: 70% 50%; }
  .form-bref { padding-left: 14px; }
  .outils { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .parcours { padding: 4px 18px; border-radius: 26px; }
  .module { padding: 20px 0; }
  .module-notions li { font-size: .82rem; }
  .gabarit > div { grid-template-columns: minmax(0, 1fr); }
  .guide { border-radius: 24px; }
  .demo { padding: 20px 16px 22px; border-radius: 28px; }
  .demo.est-onglets .demo-onglets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: auto; }
  .demo-onglet { padding: 0 8px; font-size: .9rem; }
  .demo-demande, .demo-resultat { padding: 16px 16px 18px; }
  /* Tableaux en cartes : chaque ligne devient un bloc, chaque cellule reçoit son intitulé (data-label) */
  .demo-table thead, .aa-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .demo-table tr, .aa-table tr { display: block; }
  .demo-table td, .aa-table th, .aa-table td { display: block; }
  .calque .aa-table tbody th, .calque .aa-table td { width: auto; }
  .calque .demo-table td { padding: 3px 0; border-bottom: 0; white-space: normal; }
  .demo-table tbody tr { padding: 12px 0; }
  .demo-table tbody tr + tr { border-top: 1px solid var(--panneau-filet); }
  .demo-table td::before, .aa-table td::before {
    content: attr(data-label) " : "; font-size: .72rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase;
  }
  .calque .demo-table td::before, .calque .aa-table td::before { color: var(--panneau-accent); }
  .avant-apres { padding: 6px 18px; border-radius: 26px; }
  .calque .aa-table tbody th { padding: 18px 0 8px; }
  .calque .aa-table td { padding: 6px 0 6px 0; }
  .calque .aa-table td:last-child { padding: 8px 0 18px 12px; }
  .aa-table tbody tr + tr > * { border-top: 0; }
  .aa-table tbody tr + tr { border-top: 1px solid var(--panneau-filet); }
  .etapes { grid-template-columns: minmax(0, 1fr); row-gap: 46px; }
  .cadre { border-radius: 28px; }
  .cadre-feuille { padding: 26px 20px; }
  .cadre-financement { margin: 0 10px 10px; padding: 22px 20px 24px; }
  .questions { padding: 4px 18px; border-radius: 26px; }
  .question summary { gap: 14px; font-size: 1.02rem; }
  .calque .question p { padding-right: 8px; }
  .pied-mini .footer-brand { gap: 12px; }
}
/* Page anglaise : intitulé des cellules sans espace avant le deux-points (30 octobre 2026) */
@media (max-width: 700px) {
  :lang(en) .demo-table td::before, :lang(en) .aa-table td::before { content: attr(data-label) ": "; }
}

/* Premier écran mobile (1er novembre 2026) : photo plus basse, bouton principal avant l'encadré « En bref » */
@media (max-width: 700px) {
  .form-cadre { --haut-photo: clamp(150px, 22svh, 185px); }
  .form-panneau { display: flex; flex-direction: column; }
  .form-panneau h1 { margin-bottom: 12px; line-height: 1.1; }
  .form-panneau .label { margin-bottom: 12px; }
  .form-panneau .aq-boutons { order: 1; margin-top: 2px; margin-bottom: 16px; }
  .form-panneau .form-bref { order: 2; }
}
