/* =========================================================
   IAED Conseils : site vitrine (cadre PRISM)
   Palette du logo : sarcelle #0E8F93 · or #C9962B · encre #1E2B2B · fond #F7F5F0
   Fraunces (titres) + Manrope (texte), hébergées sur le site (aucun appel à Google)
   Mobile d'abord. Tous les jetons sont ici, en custom properties.
   ========================================================= */

@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-italic.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }

:root {
  /* --- Couleurs du logo --- */
  --sarcelle: #0e8f93;
  --or: #c9962b;
  --encre: #1e2b2b;
  --fond: #f7f5f0;

  /* --- Teintes dérivées (contrastes calculés, voir PRISM.md) --- */
  --sarcelle-texte: #0a6e71;  /* sarcelle lisible en texte : 5,5:1 sur fond, 6,0:1 sur blanc ; boutons blancs dessus 6,0:1 */
  --sarcelle-clair: #3bb8bc;  /* sur fond sombre : 6,5:1 */
  --sarcelle-pale: #e1f1f0;
  --or-texte: #86600f;        /* or lisible en texte : 5,2:1 sur fond, 5,7:1 sur blanc */
  --or-vif: #d9a63c;          /* survol bouton or ; encre dessus 6,6:1 */
  --or-pale: #f5ebd3;
  --nuit: #102827;            /* sections sombres ; fond dessus 14,2:1, or dessus 5,8:1 */
  --sur-sombre: #b8caca;      /* texte secondaire sur nuit : 9,1:1 */
  --blanc: #ffffff;
  --texte: #1e2b2b;           /* 13,4:1 sur fond */
  --texte-doux: #4d5c5b;      /* 6,4:1 sur fond, 5,9:1 sur or pâle */
  --ligne: #e2ded3;
  --bord-champ: #7a8786;      /* bordure de champ : 3,4:1 (> 3:1 exigé) */

  /* --- Typographie --- */
  --f-titre: "Fraunces", Georgia, "Times New Roman", serif;
  --f-texte: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --t-xs: .78rem;
  --t-s: .9rem;
  --t-base: 1.0625rem;
  --t-lead: clamp(1.1rem, 1rem + .5vw, 1.3rem);
  --t-h3: clamp(1.2rem, 1.1rem + .4vw, 1.45rem);
  --t-h2: clamp(1.85rem, 1.4rem + 2vw, 3rem);
  --t-h1: clamp(2.35rem, 1.6rem + 3.6vw, 4.6rem);

  /* --- Espacements (base 4px) --- */
  --s-1: 4px; --s-2: 8px; --s-3: 16px; --s-4: 24px; --s-5: 32px; --s-6: 48px; --s-7: 64px; --s-8: 96px;
  --section: clamp(var(--s-7), 9vw, 128px);

  /* --- Formes, profondeur, mouvement --- */
  --r-s: 8px; --r: 16px; --r-l: 28px;
  --max: 1200px;
  --gouttiere: 16px;
  --ombre-s: 0 1px 2px rgba(16, 40, 39, .06), 0 8px 24px -14px rgba(16, 40, 39, .28);
  --ombre: 0 30px 60px -30px rgba(16, 40, 39, .45), 0 2px 6px rgba(16, 40, 39, .05);
  --ease: cubic-bezier(.22, .8, .3, 1);
}
@media (min-width: 600px) { :root { --t-base: 1.125rem; --gouttiere: 24px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--fond); color: var(--texte); font: 400 var(--t-base)/1.65 var(--f-texte); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sarcelle-texte); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--encre); text-decoration-color: var(--or); }
:focus-visible { outline: 3px solid var(--sarcelle-texte); outline-offset: 3px; border-radius: 6px; }
.sombre :focus-visible { outline-color: var(--or-vif); }
h1, h2, h3 { font-family: var(--f-titre); color: var(--encre); line-height: 1.06; margin: 0; text-wrap: balance; font-optical-sizing: auto; }
h1 { font-size: var(--t-h1); font-weight: 600; letter-spacing: -.025em; }
h2 { font-size: var(--t-h2); font-weight: 600; letter-spacing: -.02em; }
h3 { font-size: var(--t-h3); font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--sarcelle-texte); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
strong { font-weight: 700; }
.lead { font-size: var(--t-lead); color: var(--texte-doux); max-width: 60ch; text-wrap: pretty; }
.surtitre { display: inline-flex; align-items: center; gap: 10px; font: 700 var(--t-xs)/1.3 var(--f-texte); letter-spacing: .14em; text-transform: uppercase; color: var(--sarcelle-texte); }
.surtitre::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--or); box-shadow: 14px 0 0 -1px rgba(201, 150, 43, .55), 26px 0 0 -2px rgba(201, 150, 43, .3); margin-right: 26px; flex: none; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gouttiere); }
.section { padding-block: var(--section); }
.section-teinte { background: var(--blanc); border-block: 1px solid var(--ligne); }
.entete-section { display: grid; gap: var(--s-3); margin-bottom: var(--s-6); max-width: 760px; }
.entete-section.centre { margin-inline: auto; text-align: center; justify-items: center; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.evitement { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--encre); color: #fff; padding: 10px 16px; border-radius: var(--r-s); font-weight: 700; }
.evitement:focus { top: 12px; color: #fff; }
.note { font-size: var(--t-s); color: var(--texte-doux); }

/* ---------- Boutons ---------- */
.btn { --h: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--h); padding: 0 26px; border-radius: 999px; font: 700 1rem/1.2 var(--f-texte); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .25s var(--ease), background-color .2s, box-shadow .25s var(--ease), color .2s; text-align: center; }
.btn svg { width: 20px; height: 20px; flex: none; transition: transform .3s var(--ease); }
.btn-or { background: var(--or); color: var(--encre); box-shadow: 0 10px 24px -12px rgba(201, 150, 43, .9); }
.btn-or:hover { background: var(--or-vif); color: var(--encre); transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(201, 150, 43, 1); }
.btn-or:hover svg { transform: translateX(4px); }
.btn-ligne { border-color: var(--encre); color: var(--encre); background: transparent; }
.btn-ligne:hover { background: var(--encre); color: var(--fond); }
.btn-sarcelle { background: var(--sarcelle-texte); color: #fff; }
.btn-sarcelle:hover { background: var(--encre); color: #fff; transform: translateY(-2px); }
.sombre .btn-ligne { border-color: var(--fond); color: var(--fond); }
.sombre .btn-ligne:hover { background: var(--fond); color: var(--nuit); }
.btn-petit { --h: 44px; padding: 0 18px; font-size: .95rem; }
.groupe-btn { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.lien-fleche { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--sarcelle-texte); }
.lien-fleche svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.lien-fleche:hover svg, a:hover .lien-fleche svg { transform: translateX(4px); }

/* ---------- Bandeau offre de lancement ---------- */
.bandeau { background: var(--nuit); color: var(--fond); font-size: var(--t-s); }
.bandeau .wrap { display: flex; gap: 8px 16px; align-items: center; justify-content: center; flex-wrap: wrap; padding-block: 9px; text-align: center; }
.bandeau strong { color: var(--or-vif); }
.bandeau a { color: var(--fond); font-weight: 700; }
.bandeau a:hover { color: var(--or-vif); }
.places { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.places::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--or-vif); box-shadow: 0 0 0 0 rgba(217, 166, 60, .7); }
@media (prefers-reduced-motion: no-preference) { .places::before { animation: pouls 2.4s infinite; } }
@keyframes pouls { 70% { box-shadow: 0 0 0 8px rgba(217, 166, 60, 0); } 100% { box-shadow: 0 0 0 0 rgba(217, 166, 60, 0); } }

/* ---------- En-tête ---------- */
.entete { position: sticky; top: 0; z-index: 50; background: rgba(247, 245, 240, .88); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.entete.defile { border-color: var(--ligne); box-shadow: 0 10px 30px -24px rgba(16, 40, 39, .6); }
.entete .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); min-height: 72px; }
.marque { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--encre); }
.marque img { width: 46px; height: 46px; transition: transform .5s var(--ease); }
.marque:hover img { transform: translateY(-3px) rotate(-4deg); }
.marque-texte { display: grid; line-height: 1; }
.marque-nom { font: 800 1.35rem/1 var(--f-texte); letter-spacing: .06em; color: var(--encre); }
.marque-nom b { color: var(--or-texte); font-weight: 800; }
.marque-sous { font: 500 .66rem/1 var(--f-texte); letter-spacing: .34em; text-transform: uppercase; color: var(--sarcelle-texte); margin-top: 5px; }
.nav { display: none; }
.nav ul { list-style: none; display: flex; gap: 4px; align-items: center; }
.nav a { display: block; padding: 10px 14px; border-radius: 999px; text-decoration: none; color: var(--encre); font-weight: 600; font-size: .98rem; }
.nav a:hover { background: var(--sarcelle-pale); color: var(--encre); }
.nav a[aria-current="page"] { background: var(--encre); color: var(--fond); }
.entete-cta { display: none; }
.btn-menu { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 2px solid var(--encre); background: transparent; color: var(--encre); font: 700 .95rem/1 var(--f-texte); cursor: pointer; }
.btn-menu span[aria-hidden] { display: grid; gap: 4px; }
.btn-menu span[aria-hidden] i { display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.btn-menu[aria-expanded="true"] span[aria-hidden] i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.btn-menu[aria-expanded="true"] span[aria-hidden] i:nth-child(2) { opacity: 0; }
.btn-menu[aria-expanded="true"] span[aria-hidden] i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav.ouvert { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--fond); border-bottom: 1px solid var(--ligne); box-shadow: 0 24px 40px -28px rgba(16, 40, 39, .6); padding: 8px var(--gouttiere) 20px; }
.nav.ouvert ul { flex-direction: column; align-items: stretch; }
.nav.ouvert a { padding: 14px 16px; font-size: 1.05rem; }
.nav .nav-cta { margin-top: 8px; }
.nav .nav-cta a { background: var(--or); text-align: center; }
@media (min-width: 1200px) {
  .btn-menu { display: none; }
  .nav, .nav.ouvert { display: block; position: static; background: none; border: 0; box-shadow: none; padding: 0; }
  .nav.ouvert ul { flex-direction: row; }
  .nav .nav-cta { display: none; }
  .entete-cta { display: inline-flex; }
}

/* ---------- Héros ---------- */
.heros { position: relative; padding-block: clamp(40px, 7vw, 96px) clamp(64px, 9vw, 120px); overflow: hidden; }
.heros .wrap { display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; position: relative; z-index: 1; }
@media (min-width: 980px) { .heros .wrap { grid-template-columns: 1.08fr .92fr; } }
.heros-texte { display: grid; gap: var(--s-4); justify-items: start; }
.heros h1 { max-width: 13ch; }
.heros h1 em { color: var(--or-texte); position: relative; white-space: nowrap; }
.prononce { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--blanc); border: 1px solid var(--ligne); font-size: var(--t-s); color: var(--texte-doux); box-shadow: var(--ombre-s); }
.prononce b { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 999px; background: var(--nuit); color: var(--fond); font-weight: 800; letter-spacing: .06em; font-size: .8rem; }
.prononce b span { color: var(--or-vif); }
.rassure { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; font-size: var(--t-s); color: var(--texte-doux); }
.rassure li { display: inline-flex; align-items: center; gap: 8px; }
.rassure svg { width: 18px; height: 18px; color: var(--sarcelle); flex: none; }
/* trajectoire du colibri : la signature visuelle */
.trajectoire { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.trajectoire path { fill: none; stroke: var(--or); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 2 10; opacity: .55; }

/* Visuel : un exemple de rapport d'audit */
.rapport-scene { position: relative; justify-self: center; width: min(100%, 470px); padding: 36px 0 0 0; }
.rapport { margin: 0; position: relative; background: var(--blanc); border-radius: var(--r-l); box-shadow: var(--ombre); padding: clamp(20px, 4vw, 30px); border: 1px solid var(--ligne); }
.rapport-tete { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 16px; border-bottom: 1px dashed var(--ligne); }
.rapport-tete small { display: block; font: 700 var(--t-xs)/1.3 var(--f-texte); letter-spacing: .12em; text-transform: uppercase; color: var(--texte-doux); }
.rapport-tete strong { font: 600 1.25rem/1.2 var(--f-titre); }
.exemple { display: inline-block; margin-top: 6px; font-size: .72rem; font-weight: 700; color: var(--or-texte); background: var(--or-pale); padding: 3px 8px; border-radius: 999px; }
.jauge { position: relative; width: 84px; height: 84px; flex: none; }
.jauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.jauge circle { fill: none; stroke-width: 8; }
.jauge .fond-j { stroke: var(--sarcelle-pale); }
.jauge .val { stroke: var(--or); stroke-linecap: round; stroke-dasharray: 226; stroke-dashoffset: calc(226 - 226 * var(--note, 4) / 10); }
.jauge span { position: absolute; inset: 0; display: flex; align-items: baseline; justify-content: center; padding-top: 28px; font: 600 1.5rem/1 var(--f-titre); }
.jauge span small { font: 600 .7rem/1 var(--f-texte); color: var(--texte-doux); }
.criteres { list-style: none; display: grid; gap: 10px; padding-top: 16px; }
.criteres li { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 10px; font-size: .95rem; }
.criteres .ic { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; }
.criteres .ic svg { width: 15px; height: 15px; }
.criteres .ok .ic { background: var(--sarcelle-pale); color: var(--sarcelle-texte); }
.criteres .ko .ic { background: var(--or-pale); color: var(--or-texte); }
.criteres em { font-style: normal; font-size: .8rem; font-weight: 700; color: var(--texte-doux); }
.criteres .ko em { color: var(--or-texte); }
.rapport-pied { margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: var(--fond); font-size: .9rem; }
.rapport-pied b { color: var(--sarcelle-texte); }
.colibri-vol { position: absolute; width: clamp(92px, 20vw, 128px); right: -6px; top: -26px; z-index: 2; filter: drop-shadow(0 14px 16px rgba(14, 143, 147, .25)); }
@media (min-width: 980px) { .colibri-vol { right: -40px; top: -40px; } }
@media (prefers-reduced-motion: no-preference) {
  .colibri-vol { animation: arrivee 2.8s cubic-bezier(.25,.7,.3,1) .3s both, vol 5.5s ease-in-out 3.1s infinite; }
  .jauge .val { animation: remplir 1.6s .5s var(--ease) both; }
  .trajectoire path { animation: pointilles 30s linear infinite; }
}
/* Arrivée en vol : le colibri traverse le haut de page depuis la gauche (retourné, tête vers la droite),
   dépasse un peu le rapport d'audit, fait demi-tour et se pose */
@keyframes arrivee {
  0%   { transform: translate(-78vw, 30vh) scale(-.55, .55) rotate(8deg); opacity: 0; }
  8%   { opacity: 1; }
  34%  { transform: translate(-52vw, -4vh) scale(-.7, .7) rotate(-6deg); }
  60%  { transform: translate(-22vw, 9vh) scale(-.85, .85) rotate(5deg); }
  80%  { transform: translate(3vw, -3vh) scale(-1, 1) rotate(-3deg); }
  88%  { transform: translate(3vw, -3vh) scale(1, 1) rotate(0); }
  100% { transform: translate(0, 0) scale(1) rotate(0); opacity: 1; }
}
@keyframes vol { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(-6px, -10px) rotate(-3deg); } }
@keyframes remplir { from { stroke-dashoffset: 226; } }
@keyframes pointilles { to { stroke-dashoffset: -240; } }

/* ---------- Offre de lancement ---------- */
.lancement { position: relative; background: var(--nuit); color: var(--fond); border-radius: var(--r-l); padding: clamp(28px, 5vw, 56px); overflow: hidden; display: grid; gap: var(--s-5); }
@media (min-width: 900px) { .lancement { grid-template-columns: 1.2fr .8fr; align-items: center; } }
.lancement h2 { color: var(--fond); }
.lancement h2 em { color: var(--or-vif); }
.lancement p { color: var(--sur-sombre); }
.lancement .surtitre { color: var(--or-vif); }
.lancement-liste { list-style: none; display: grid; gap: 12px; }
.lancement-liste li { display: flex; gap: 12px; align-items: flex-start; color: var(--fond); }
.lancement-liste svg { width: 22px; height: 22px; color: var(--or-vif); flex: none; margin-top: 3px; }
.compteur { display: grid; gap: 10px; justify-items: start; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r); padding: var(--s-4); }
.compteur-nb { font: 600 clamp(3rem, 2rem + 4vw, 4.5rem)/1 var(--f-titre); color: var(--or-vif); }
.compteur-places { display: flex; gap: 6px; flex-wrap: wrap; }
.compteur-places i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--or-vif); }
.compteur-places i.prise { background: transparent; border-color: rgba(255, 255, 255, .25); }
.compteur-places i.libre { background: var(--or-vif); }
.lancement .deco { position: absolute; right: -60px; bottom: -70px; width: 300px; opacity: .07; pointer-events: none; }

/* ---------- Signes (le site vous fait-il perdre des clients ?) ---------- */
.signes { display: grid; gap: 14px; list-style: none; }
@media (min-width: 640px) { .signes { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .signes { grid-template-columns: repeat(3, 1fr); } }
.signes li { background: var(--fond); border: 1px solid var(--ligne); border-radius: var(--r); padding: var(--s-4); display: grid; gap: 8px; align-content: start; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.signes li:hover { transform: translateY(-3px); box-shadow: var(--ombre-s); border-color: var(--sarcelle-pale); }
.signes .num { font: italic 600 1.1rem/1 var(--f-titre); color: var(--or-texte); }
.signes h3 { font-size: 1.15rem; }
.signes p { color: var(--texte-doux); font-size: .98rem; }

/* ---------- Audit : étapes ---------- */
.audit-grille { display: grid; gap: var(--s-6); align-items: start; }
@media (min-width: 960px) { .audit-grille { grid-template-columns: 1fr 1fr; } }
.etapes { list-style: none; counter-reset: e; display: grid; gap: 0; position: relative; }
.etapes li { counter-increment: e; position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding-bottom: var(--s-5); }
.etapes li:last-child { padding-bottom: 0; }
.etapes li::before { content: counter(e); width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--blanc); border: 2px solid var(--sarcelle); color: var(--sarcelle-texte); font: 600 1.35rem/1 var(--f-titre); position: relative; z-index: 1; }
.etapes li:not(:last-child)::after { content: ""; position: absolute; left: 25px; top: 56px; bottom: 4px; border-left: 2px dotted var(--or); }
.etapes h3 { font-size: 1.2rem; margin: 10px 0 4px; }
.etapes p { color: var(--texte-doux); }
.carte-contenu { background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--r-l); padding: clamp(22px, 4vw, 36px); box-shadow: var(--ombre-s); display: grid; gap: var(--s-4); }
.coche { list-style: none; display: grid; gap: 12px; }
.coche li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.coche svg { width: 22px; height: 22px; color: var(--sarcelle); margin-top: 3px; }
.coche b { display: block; }
.coche span { color: var(--texte-doux); font-size: .97rem; }
.prix-offert { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; padding-top: var(--s-3); border-top: 1px dashed var(--ligne); }
.prix-offert strong { font: 600 2rem/1 var(--f-titre); color: var(--sarcelle-texte); }

/* ---------- Réalisations ---------- */
.realisations { display: grid; gap: var(--s-5); }
@media (min-width: 760px) { .realisations { grid-template-columns: 1fr 1fr; } }
.real { display: grid; gap: var(--s-3); text-decoration: none; color: inherit; }
.real-cadre { position: relative; border-radius: var(--r); overflow: hidden; background: var(--blanc); border: 1px solid var(--ligne); box-shadow: var(--ombre-s); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.real-cadre::before { content: ""; display: block; height: 26px; background: #ece9e1 radial-gradient(circle at 14px 13px, #d6735f 4px, transparent 5px) , radial-gradient(circle at 30px 13px, #e0b14d 4px, transparent 5px), radial-gradient(circle at 46px 13px, #6fb38a 4px, transparent 5px); background-color: #ece9e1; border-bottom: 1px solid var(--ligne); }
.real-cadre img { width: 100%; aspect-ratio: 960 / 533; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
a.real:hover .real-cadre, .real:focus-within .real-cadre { transform: translateY(-4px); box-shadow: var(--ombre); }
a.real:hover .real-cadre img { transform: scale(1.03); }
.real-info { display: grid; gap: 6px; }
.real-meta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.etiquette { display: inline-flex; align-items: center; gap: 6px; font: 700 .74rem/1 var(--f-texte); letter-spacing: .04em; padding: 6px 10px; border-radius: 999px; background: var(--sarcelle-pale); color: var(--sarcelle-texte); }
.etiquette.or { background: var(--or-pale); color: var(--or-texte); }
.etiquette.neutre { background: #ecebe6; color: var(--texte-doux); }
.real h3 { font-size: 1.35rem; }
.real p { color: var(--texte-doux); }
.real-detail { display: grid; gap: var(--s-5); padding-block: var(--s-6); border-top: 1px solid var(--ligne); }
.real-detail:first-of-type { border-top: 0; padding-top: 0; }
@media (min-width: 900px) { .real-detail { grid-template-columns: 1.1fr .9fr; align-items: center; } .real-detail:nth-of-type(even) .real-cadre { order: 2; } }
.real-detail .real-info { gap: var(--s-3); }

/* ---------- Formules / prix ---------- */
.formules { display: grid; gap: var(--s-4); }
@media (min-width: 700px) { .formules { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .formules.x4 { grid-template-columns: repeat(4, 1fr); } .formules.x3 { grid-template-columns: repeat(3, 1fr); } }
.formule { position: relative; background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--r-l); padding: var(--s-5) var(--s-4); display: flex; flex-direction: column; gap: var(--s-3); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.formule:hover { transform: translateY(-4px); box-shadow: var(--ombre-s); }
.formule.vedette { border: 2px solid var(--sarcelle); box-shadow: var(--ombre); }
.formule .badge { position: absolute; top: -13px; left: var(--s-4); background: var(--sarcelle-texte); color: #fff; font: 700 .74rem/1 var(--f-texte); letter-spacing: .06em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; }
.formule h3 { font-size: 1.3rem; }
.formule .accroche { color: var(--texte-doux); font-size: .97rem; }
.prix { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.prix strong { font: 600 clamp(2rem, 1.6rem + 1.2vw, 2.5rem)/1 var(--f-titre); color: var(--encre); white-space: nowrap; }
.prix span { font-size: .9rem; color: var(--texte-doux); }
.prix .barre { text-decoration: line-through; }
.delai { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 700; color: var(--sarcelle-texte); }
.delai svg { width: 16px; height: 16px; flex: none; }
.formule ul { list-style: none; display: grid; gap: 8px; align-content: start; font-size: .96rem; flex: 1; }
.formule li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.formule li svg { width: 18px; height: 18px; color: var(--sarcelle); margin-top: 4px; }
.formule .btn { width: 100%; margin-top: var(--s-2); padding-inline: 16px; }
.mentions-prix { margin-top: var(--s-4); display: grid; gap: 6px; }
.options { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.options li { background: var(--blanc); border: 1px solid var(--ligne); border-radius: 999px; padding: 8px 16px; font-size: .95rem; }
.options b { color: var(--sarcelle-texte); }

/* ---------- Méthode ---------- */
.methode { list-style: none; display: grid; gap: var(--s-4); counter-reset: m; position: relative; }
@media (min-width: 860px) {
  .methode { grid-template-columns: repeat(4, 1fr); }
  .methode::before { content: ""; position: absolute; left: 30px; right: calc((100% - 72px) / 4 - 30px); top: 30px; border-top: 2px dotted var(--or); }
}
.methode li { counter-increment: m; position: relative; display: grid; gap: 10px; }
.methode .pt { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--fond); border: 2px solid var(--sarcelle); color: var(--sarcelle-texte); position: relative; z-index: 1; }
.section-teinte .methode .pt { background: var(--blanc); }
.methode .pt svg { width: 26px; height: 26px; }
.methode h3 { font-size: 1.2rem; }
.methode h3::before { content: counter(m) ". "; color: var(--or-texte); font-style: italic; }
.methode p { color: var(--texte-doux); font-size: .98rem; }

/* ---------- Bloc IA ---------- */
.duo { display: grid; gap: var(--s-4); }
@media (min-width: 800px) { .duo { grid-template-columns: 1fr 1fr; } }
.tuile { position: relative; border-radius: var(--r-l); padding: clamp(24px, 4vw, 40px); display: grid; gap: var(--s-3); align-content: start; text-decoration: none; color: inherit; overflow: hidden; border: 1px solid var(--ligne); background: var(--blanc); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.tuile:hover { transform: translateY(-4px); box-shadow: var(--ombre); color: inherit; }
.tuile.sarcelle { background: var(--sarcelle-pale); border-color: #cfe6e5; }
.tuile.or { background: var(--or-pale); border-color: #ecdcb6; }
.tuile .ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--blanc); color: var(--sarcelle-texte); box-shadow: var(--ombre-s); }
.tuile .ico svg { width: 26px; height: 26px; }
.tuile p { color: var(--texte-doux); }
.tuile .des { font-weight: 700; color: var(--encre); }

/* ---------- À propos ---------- */
.apropos { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 900px) { .apropos { grid-template-columns: .8fr 1.2fr; } }
.medaillon { position: relative; justify-self: center; width: min(100%, 360px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #13a3a8, var(--sarcelle) 45%, #0a6e71); display: grid; place-items: center; box-shadow: var(--ombre); }
.medaillon img { width: 58%; transform: translate(4%, -4%); }
.medaillon::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 2px dotted var(--or); }
.citation { font: italic 500 clamp(1.3rem, 1.1rem + .8vw, 1.75rem)/1.35 var(--f-titre); color: var(--encre); border-left: 3px solid var(--or); padding-left: var(--s-4); }
.citation small { display: block; margin-top: 8px; font: 600 .9rem/1.4 var(--f-texte); font-style: normal; color: var(--texte-doux); }
.apropos-texte { display: grid; gap: var(--s-4); }
.apropos-texte p { color: var(--texte-doux); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq details { background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--r); transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--ombre-s); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 22px; font-weight: 700; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--sarcelle-pale); color: var(--sarcelle-texte); font: 500 1.4rem/1 var(--f-texte); transition: transform .3s var(--ease), background-color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--or-pale); color: var(--or-texte); }
.faq .rep { padding: 0 22px 20px; color: var(--texte-doux); display: grid; gap: 10px; }

/* ---------- Appel final ---------- */
.final { position: relative; background: var(--nuit); color: var(--fond); overflow: hidden; }
.final .wrap { position: relative; z-index: 1; display: grid; gap: var(--s-4); justify-items: center; text-align: center; padding-block: var(--section); }
.final h2 { color: var(--fond); max-width: 18ch; }
.final h2 em { color: var(--or-vif); }
.final p { color: var(--sur-sombre); max-width: 56ch; }
.final img.colibri-final { width: 84px; }
.final .trajectoire path { stroke: var(--or-vif); opacity: .35; }

/* ---------- Pages intérieures ---------- */
.page-tete { padding-block: clamp(40px, 6vw, 80px) clamp(32px, 5vw, 56px); position: relative; overflow: hidden; }
.page-tete .wrap { display: grid; gap: var(--s-3); position: relative; z-index: 1; }
.page-tete h1 { font-size: clamp(2.1rem, 1.5rem + 3vw, 3.8rem); max-width: 20ch; }
.ariane { font-size: var(--t-s); color: var(--texte-doux); }
.ariane ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.ariane li + li::before { content: "/"; margin-right: 6px; color: var(--bord-champ); }
.ariane a { color: var(--texte-doux); }
.sommaire { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: var(--s-3); }
.sommaire a { display: inline-block; padding: 9px 16px; border-radius: 999px; background: var(--blanc); border: 1px solid var(--ligne); text-decoration: none; color: var(--encre); font-weight: 600; font-size: .95rem; }
.sommaire a:hover { border-color: var(--sarcelle); background: var(--sarcelle-pale); }
.tableau-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--ligne); background: var(--blanc); }
table { width: 100%; border-collapse: collapse; font-size: .97rem; min-width: 560px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--ligne); vertical-align: top; }
th { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--texte-doux); background: var(--fond); }
tr:last-child td { border-bottom: 0; }
td.montant { white-space: nowrap; font-weight: 700; }
td.montant s { color: var(--texte-doux); font-weight: 500; margin-right: 6px; }
td.montant b { color: var(--sarcelle-texte); }
.prose { max-width: 760px; display: grid; gap: var(--s-3); }
.prose h2 { font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem); margin-top: var(--s-5); }
.prose ul { padding-left: 1.2em; display: grid; gap: 6px; }
.a-completer { background: var(--or-pale); color: var(--or-texte); font-weight: 700; padding: 0 4px; border-radius: 4px; }

/* ---------- Formulaire / RDV ---------- */
.rdv-grille { display: grid; gap: var(--s-5); align-items: start; }
@media (min-width: 980px) { .rdv-grille { grid-template-columns: .85fr 1.15fr; } }
[data-avec-agenda][hidden], [data-sans-agenda][hidden] { display: none !important; }
.merci-agenda { display: grid; gap: var(--s-3); justify-items: center; max-width: 620px; }
.form { display: grid; gap: var(--s-4); }
.form .ligne2 { display: grid; gap: var(--s-4); }
@media (min-width: 640px) { .form .ligne2 { grid-template-columns: 1fr 1fr; } }
.champ { display: grid; gap: 6px; }
.champ label, .champ legend { font-weight: 700; font-size: .97rem; }
.champ .aide { font-size: .85rem; color: var(--texte-doux); font-weight: 500; }
.champ input, .champ select, .champ textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--bord-champ); background: var(--blanc); font: 500 1rem/1.4 var(--f-texte); color: var(--texte); transition: border-color .2s, box-shadow .2s; }
.champ textarea { min-height: 120px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--sarcelle-texte); box-shadow: 0 0 0 4px rgba(14, 143, 147, .2); }
.obl { color: var(--or-texte); }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: .92rem; color: var(--texte-doux); }
.consent input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--sarcelle-texte); }
.cache { display: none; }

/* ---------- Pied ---------- */
.pied { background: #0b1d1c; color: var(--sur-sombre); font-size: .95rem; }
.pied .wrap { display: grid; gap: var(--s-5); padding-block: var(--s-7) var(--s-5); }
@media (min-width: 860px) { .pied .wrap { grid-template-columns: 1.3fr 1fr 1fr; } }
.pied .marque-nom { color: var(--fond); }
.pied .marque-nom b { color: var(--or-vif); }
.pied .marque-sous { color: var(--sarcelle-clair); }
.pied h2 { font: 700 .8rem/1.2 var(--f-texte); letter-spacing: .14em; text-transform: uppercase; color: var(--fond); margin-bottom: var(--s-3); }
.pied ul { list-style: none; display: grid; gap: 8px; }
.pied a { color: var(--sur-sombre); text-decoration: none; }
.pied a:hover { color: var(--or-vif); text-decoration: underline; }
.pied-bas { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: var(--s-4); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; }
.pied .accroche-pied { color: var(--fond); font: italic 500 1.2rem/1.3 var(--f-titre); margin-top: var(--s-3); }

/* ---------- Apparitions au défilement (activées par le JS uniquement) ---------- */
.js .revele { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.js .revele.vu { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .revele { opacity: 1; transform: none; }
}

/* ---------- Divers ---------- */
.centre-txt { text-align: center; }
.mt-5 { margin-top: var(--s-5); }
.mt-6 { margin-top: var(--s-6); }
.erreur-page { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.erreur-page .wrap { display: grid; gap: var(--s-4); justify-items: center; }
.erreur-page img { width: 120px; }

/* ---------- Ajustements mobile ---------- */
@media (max-width: 859px) {
  .methode li { grid-template-columns: 60px 1fr; column-gap: 16px; row-gap: 4px; align-items: start; }
  .methode .pt { grid-row: span 2; }
  .methode h3 { align-self: end; }
  .medaillon { width: min(68%, 360px); }
}
.heros .wrap { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 980px) { .heros .wrap { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); } }
@media (max-width: 699px) { .bandeau-long { display: none; } }
@media (max-width: 400px) { .criteres li { font-size: .9rem; } .criteres em { font-size: .74rem; } }

/* ---------- En-tête : grand logo à l'ouverture, réduit dès qu'on descend (comme Wakanga et Vide Fait Bien Fait) ---------- */
.entete .wrap { padding-block: 10px; transition: padding .3s var(--ease); }
.entete .marque img { width: 96px; height: 96px; transition: width .3s var(--ease), height .3s var(--ease), transform .5s var(--ease); }
.entete .marque-nom { font-size: 1.9rem; transition: font-size .3s var(--ease); }
.entete .marque-sous { font-size: .8rem; transition: font-size .3s var(--ease), margin .3s var(--ease); margin-top: 7px; }
.entete.reduit .wrap { padding-block: 2px; }
.entete.reduit .marque img { width: 46px; height: 46px; }
.entete.reduit .marque-nom { font-size: 1.35rem; }
.entete.reduit .marque-sous { font-size: .66rem; margin-top: 5px; }
@media (max-width: 599px) {
  .entete .marque img { width: 68px; height: 68px; }
  .entete .marque-nom { font-size: 1.6rem; }
  .entete.reduit .marque img { width: 42px; height: 42px; }
  .entete.reduit .marque-nom { font-size: 1.3rem; }
}
@media (prefers-reduced-motion: reduce) { .entete .wrap, .entete .marque img, .entete .marque-nom, .entete .marque-sous { transition: none; } }

/* Coût mensuel de la maintenance (facultative) sous le prix des formules de site */
.prix-maint { margin-top: -6px; font-size: .88rem; color: var(--texte-doux); }
.prix-maint a { color: var(--sarcelle-texte); font-weight: 700; text-decoration: none; padding: 0 3px; }
.prix-maint a:hover { text-decoration: underline; }
.prix-maint .nw { white-space: nowrap; }

/* Page Exemples */
.avertissement-exemples { margin-top: 18px; max-width: 760px; padding: 14px 18px; border-radius: 14px; background: #FFF6E3; border: 1px solid #EBCB8B; color: var(--encre); font-size: .98rem; }
.cout-theorique { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; padding: 12px 16px; border-radius: 12px; background: var(--fond); border: 1px solid var(--ligne); }
.cout-theorique > span:first-child { width: 100%; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sarcelle-texte); font-weight: 700; }
.cout-theorique strong { font-size: 1.15rem; }
.cout-theorique .nw { white-space: nowrap; color: var(--texte-doux); font-size: .92rem; }
.cout-theorique a { color: var(--sarcelle-texte); font-weight: 700; text-decoration: none; padding: 0 3px; }


/* ---------- Comment sont faits vos sites ---------- */
.fab-duo { display: grid; gap: var(--s-4); margin-top: var(--s-6); }
@media (min-width: 860px) { .fab-duo { grid-template-columns: 1fr 1fr; } }
.fab-carte { position: relative; border-radius: var(--r-l); padding: clamp(24px, 4vw, 40px); background: var(--blanc); border: 1px solid var(--ligne); box-shadow: var(--ombre-s); display: grid; gap: var(--s-2); align-content: start; }
.fab-carte.humain { border-top: 5px solid var(--sarcelle); }
.fab-carte.machine { border-top: 5px solid var(--or); }
.fab-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--sarcelle-pale); color: var(--sarcelle-texte); }
.machine .fab-ico { background: #f6ecd6; color: #8a6414; }
.fab-ico svg { width: 26px; height: 26px; }
.fab-carte h3 { font-size: 1.35rem; margin: var(--s-2) 0 0; }
.fab-sous { color: var(--texte-doux); margin: 0 0 var(--s-2); }
.fab-carte .coche li { align-items: flex-start; }
.fab-resultats { display: grid; gap: var(--s-4); margin-top: var(--s-5); background: var(--nuit); color: var(--fond); border-radius: var(--r-l); padding: clamp(24px, 4vw, 40px); }
@media (min-width: 860px) { .fab-resultats { grid-template-columns: 1fr 1fr; } }
.fab-resultats strong { display: block; font: 600 1.25rem/1.3 var(--f-titre); color: var(--or-vif); margin-bottom: 6px; }
.fab-resultats p { margin: 0; opacity: .9; }
.fab-mot { text-align: center; font: italic 500 1.2rem/1.5 var(--f-titre); color: var(--sarcelle-texte); margin: var(--s-5) auto 0; max-width: 40ch; }

/* ---------- Assistant IAED (chatbot) ---------- */
.ichat-bouton { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 10px; border-radius: 999px; border: 0; cursor: pointer; background: var(--nuit); color: var(--fond); font: 700 .95rem/1.2 var(--f-texte); box-shadow: 0 14px 30px -12px rgba(16, 40, 39, .7); transition: transform .25s var(--ease); }
.ichat-bouton:hover { transform: translateY(-2px); }
.ichat-bouton img { width: 38px; height: 38px; border-radius: 50%; background: var(--fond); padding: 3px; }
.ichat-bouton .pt { width: 9px; height: 9px; border-radius: 50%; background: #3fcf8e; box-shadow: 0 0 0 0 rgba(63, 207, 142, .7); animation: ichat-pulse 2s infinite; }
@keyframes ichat-pulse { 70% { box-shadow: 0 0 0 9px rgba(63, 207, 142, 0); } 100% { box-shadow: 0 0 0 0 rgba(63, 207, 142, 0); } }
.ichat-bouton[aria-expanded="true"] { display: none; }
.ichat { position: fixed; right: 18px; bottom: 18px; z-index: 61; width: min(380px, calc(100vw - 36px)); height: min(560px, calc(100vh - 36px)); display: none; flex-direction: column; background: var(--blanc); border-radius: 22px; border: 1px solid var(--ligne); box-shadow: 0 30px 60px -20px rgba(16, 40, 39, .45); overflow: hidden; }
.ichat.ouvert { display: flex; }
.ichat-tete { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--nuit); color: var(--fond); }
.ichat-tete img { width: 40px; height: 40px; border-radius: 50%; background: var(--fond); padding: 3px; }
.ichat-tete strong { display: block; font-size: 1rem; }
.ichat-tete small { opacity: .8; font-size: .78rem; }
.ichat-tete .badge { margin-left: 4px; padding: 1px 7px; border-radius: 999px; background: var(--or-vif); color: var(--nuit); font-size: .68rem; font-weight: 800; vertical-align: 2px; }
.ichat-fermer { margin-left: auto; background: none; border: 0; color: inherit; font-size: 1.6rem; line-height: 1; cursor: pointer; padding: 4px 8px; border-radius: 8px; }
.ichat-fil { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--fond); }
.ichat-msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: .93rem; line-height: 1.5; white-space: pre-line; }
.ichat-msg.bot { align-self: flex-start; background: var(--blanc); border: 1px solid var(--ligne); border-bottom-left-radius: 4px; }
.ichat-msg.moi { align-self: flex-end; background: var(--sarcelle-texte); color: #fff; border-bottom-right-radius: 4px; }
.ichat-msg a { font-weight: 700; }
.ichat-msg.ecrit { color: var(--texte-doux); font-style: italic; }
.ichat-sugg { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 10px; background: var(--fond); }
.ichat-sugg button { border: 1px solid var(--sarcelle); background: var(--blanc); color: var(--sarcelle-texte); border-radius: 999px; padding: 5px 11px; font: 600 .8rem/1.2 var(--f-texte); cursor: pointer; }
.ichat-sugg button:hover { background: var(--sarcelle-pale); }
.ichat-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--ligne); background: var(--blanc); }
.ichat-form input { flex: 1; min-width: 0; border: 1px solid var(--ligne); border-radius: 999px; padding: 10px 14px; font: inherit; font-size: .95rem; }
.ichat-form button { border: 0; border-radius: 999px; padding: 0 16px; background: var(--or); color: var(--nuit); font-weight: 800; cursor: pointer; }
.ichat-note { margin: 0; padding: 0 14px 10px; font-size: .72rem; color: var(--texte-doux); background: var(--blanc); text-align: center; }
@media (max-width: 600px) { .ichat-bouton .txt-long { display: none; } }
@media print { .ichat, .ichat-bouton { display: none !important; } }

.essai-ia { margin-top: var(--s-5); display: grid; gap: var(--s-3); align-items: center; padding: clamp(20px, 3vw, 28px); border-radius: var(--r-l); background: var(--sarcelle-pale); border: 1px dashed var(--sarcelle); }
@media (min-width: 760px) { .essai-ia { grid-template-columns: auto 1fr auto; } }
.essai-ia strong { font: 600 1.15rem/1.3 var(--f-titre); color: var(--encre); }
.essai-ia p { margin: 4px 0 0; color: var(--texte-doux); }

/* Menu à 7 entrées (Formation IA et Automatisation séparées, 30/11/2026) : jamais de retour à la ligne,
   menu resserré sur ordinateur, « Accueil » masqué (le logo y ramène déjà) */
.nav a { white-space: nowrap; }
@media (min-width: 1200px) {
  .nav ul { gap: 0; }
  .nav a { padding: 10px 10px; font-size: .93rem; }
  .nav > ul > li:first-child { display: none; }
}
.entete-cta { white-space: nowrap; }

/* Pages formations et sous-menu « Formation IA » (30/11/2026) */
.nav .sous-menu { display: none; }
.nav.ouvert .sous-menu { display: flex; flex-direction: column; gap: 0; padding-left: 14px; margin: 0 0 4px; border-left: 2px solid var(--sarcelle-pale); }
.nav.ouvert .sous-menu a { padding: 10px 14px; font-size: .97rem; font-weight: 500; }
@media (min-width: 1200px) {
  .nav .a-sous-menu { position: relative; }
  .nav .a-sous-menu > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
  .nav .a-sous-menu > a.dans-rubrique { background: var(--encre); color: var(--fond); }
  .nav .sous-menu { position: absolute; top: 100%; left: 0; z-index: 80; min-width: 270px; flex-direction: column; gap: 2px; padding: 8px; margin-top: 6px; background: var(--blanc); border: 1px solid var(--ligne); border-radius: 18px; box-shadow: var(--ombre); }
  .nav .sous-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
  .nav .a-sous-menu:hover .sous-menu, .nav .a-sous-menu:focus-within .sous-menu { display: flex; }
  .nav .sous-menu a { border-radius: 12px; padding: 10px 14px; font-weight: 600; }
  .nav .sous-menu li:first-child a { color: var(--sarcelle-texte); }
}
.chiffres { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: var(--s-5); max-width: 980px; }
@media (min-width: 800px) { .chiffres { grid-template-columns: repeat(4, 1fr); } }
.chiffre { background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--r); padding: 14px 16px; display: grid; gap: 2px; }
.chiffre span { font: 800 .72rem/1.2 var(--f-texte); letter-spacing: .14em; text-transform: uppercase; color: var(--sarcelle-texte); }
.chiffre strong { font: 600 1.35rem/1.25 var(--f-titre); color: var(--encre); }
.chiffre small { color: var(--texte-doux); font-size: .86rem; }
.objectifs-liste { list-style: none; counter-reset: obj; display: grid; gap: 14px; }
@media (min-width: 800px) { .objectifs-liste { grid-template-columns: 1fr 1fr; } }
.objectifs-liste li { counter-increment: obj; position: relative; background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--r-l); padding: 20px 22px 20px 70px; color: var(--texte-doux); }
.objectifs-liste li b { color: var(--encre); }
.objectifs-liste li::before { content: counter(obj); position: absolute; left: 20px; top: 18px; width: 34px; height: 34px; border-radius: 50%; background: var(--sarcelle); color: #fff; display: grid; place-items: center; font: 700 1rem/1 var(--f-texte); }
.programme-modules { display: grid; gap: var(--s-3); max-width: 860px; margin-inline: auto; }
.groupe-modules { font-size: 1.05rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sarcelle-texte); font-family: var(--f-texte); font-weight: 800; margin-top: var(--s-3); }
.faq summary .duree-module { margin-left: auto; flex: none; font-size: .85rem; font-weight: 700; color: var(--or-texte); background: var(--or-pale); padding: 4px 10px; border-radius: 999px; }
.programme-modules .faq .rep ul { padding-left: 18px; display: grid; gap: 6px; }
.infos-grille { display: grid; gap: 16px; }
@media (min-width: 700px) { .infos-grille { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .infos-grille { grid-template-columns: repeat(4, 1fr); } }
.info { background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--r-l); padding: 22px; display: grid; gap: 8px; align-content: start; color: var(--texte-doux); font-size: .97rem; }
.info h3 { font-size: 1.15rem; color: var(--encre); }
.info ul { padding-left: 18px; display: grid; gap: 6px; }
.info .note { font-size: .85rem; }
.tableau-wrap th a { color: inherit; text-decoration-color: var(--sarcelle); text-underline-offset: 3px; }
.programme-modules .faq { width: 100%; }
.nav .sous-menu a { text-align: left; }
.nav.ouvert .a-sous-menu > a.dans-rubrique { background: var(--sarcelle-pale); }

/* Cas d'usage et démonstrations (30/11/2026) */
.cas-grille { display: grid; gap: 18px; }
@media (min-width: 760px) { .cas-grille { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1180px) { .cas-grille { grid-template-columns: repeat(4, 1fr); } }
.cas { background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--r-l); padding: 22px; display: grid; gap: 12px; align-content: start; }
.cas-tete h3 { font-size: 1.25rem; }
.cas-tete p { color: var(--texte-doux); font-size: .9rem; margin-top: 2px; }
.cas-bloc { border-radius: var(--r); padding: 12px 14px; background: var(--fond); font-size: .94rem; color: var(--texte-doux); }
.cas-bloc.avec { background: var(--sarcelle-pale); color: var(--encre); }
.cas-bloc span { display: block; font: 800 .7rem/1.2 var(--f-texte); letter-spacing: .14em; text-transform: uppercase; color: var(--sarcelle-texte); margin-bottom: 4px; }
.cas-gain { font-size: .94rem; }
.cas-gain b { color: var(--or-texte); }
.cas-offres { display: flex; flex-wrap: wrap; gap: 6px; }
.cas-offres a { font-size: .82rem; font-weight: 700; text-decoration: none; color: var(--sarcelle-texte); background: var(--sarcelle-pale); padding: 5px 11px; border-radius: 999px; }
.cas-offres a:hover { background: var(--sarcelle-texte); color: #fff; }
.demo-grille { display: grid; gap: 18px; margin-bottom: 18px; }
@media (min-width: 800px) { .demo-grille { grid-template-columns: 1fr 1fr; } }
.demo { position: relative; background: var(--fond); border: 1px solid var(--ligne); border-radius: var(--r-l); padding: 26px 26px 26px 80px; display: grid; gap: 12px; align-content: start; justify-items: start; color: var(--texte-doux); }
.demo h3 { font-size: 1.3rem; color: var(--encre); }
.demo-num { position: absolute; left: 24px; top: 24px; width: 40px; height: 40px; border-radius: 50%; background: var(--nuit); color: var(--or-vif); display: grid; place-items: center; font: italic 600 1.2rem/1 var(--f-titre); }
.demo-etapes { list-style: none; display: grid; gap: 12px; width: 100%; margin-top: 6px; }
@media (min-width: 900px) { .demo-etapes { grid-template-columns: repeat(5, 1fr); } }
.demo-etapes li { position: relative; background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--r); padding: 16px; }
.demo-etapes li b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--sarcelle); color: #fff; font-size: .9rem; margin-bottom: 8px; }
.demo-etapes li:nth-child(3) b { background: var(--or); color: var(--encre); }
.demo-etapes h4 { font: 700 1rem/1.3 var(--f-texte); color: var(--encre); margin: 0 0 4px; }
.demo-etapes p { font-size: .9rem; }

/* Colibri guide : il finit son vol près du bouton principal (accueil et bloc final de chaque page), jamais devant */
.cta-colibri { position: relative; display: inline-flex; }
.colibri-guide { position: absolute; z-index: 3; pointer-events: none; width: 66px; height: auto; filter: drop-shadow(0 10px 12px rgba(14, 143, 147, .28)); }
.cta-colibri.colibri-gauche { padding-left: 78px; }
.colibri-guide.depuis-logo { left: 0; top: 50%; margin-top: -33px; }
.colibri-guide.depuis-logo img { display: block; width: 100%; height: auto; scale: -1 1; }
.colibri-voyageur img { display: block; width: 100%; height: auto; }
/* le colibri qui part du logo (créé par main.js), au-dessus de l'en-tête pendant son vol */
.colibri-voyageur { position: absolute; z-index: 60; pointer-events: none; filter: drop-shadow(0 10px 12px rgba(14, 143, 147, .28)); will-change: transform; }
.colibri-guide.depuis-gauche { left: -62px; top: -52px; scale: -1 1; }
@media (max-width: 600px) {
  .colibri-guide { width: 52px; }
  .cta-colibri.colibri-gauche { padding-left: 60px; }
  .colibri-guide.depuis-logo { margin-top: -26px; }
  .colibri-guide.depuis-gauche { left: -6px; top: -46px; }
}
@media (prefers-reduced-motion: no-preference) {
  .js .colibri-guide.revele { transform: none; transition: none; }
  .js .colibri-guide.revele:not(.vu) { opacity: 0; }
  .js .colibri-guide.depuis-logo:not(.vu) { opacity: 0; }
  .colibri-guide.depuis-logo.vu img { animation: vol 5.5s ease-in-out infinite; }
  .colibri-guide.depuis-gauche.vu { animation: guide-gauche 2.4s cubic-bezier(.3, .7, .3, 1) .2s both, vol 5.5s ease-in-out 2.6s infinite; }
  .cta-colibri:has(.depuis-logo.vu) .btn-or { animation: lueur 1.4s ease-out .1s 1; }
  .cta-colibri:has(.depuis-gauche.vu) .btn-or { animation: lueur 1.4s ease-out 2.5s 1; }
}
/* Accueil : le colibri décolle du logo, se retourne en vol et se pose devant le bouton (trajet calculé dans main.js) */
/* le colibri de gauche est retourné (scale: -1 1) : les déplacements horizontaux sont donc inversés */
@keyframes guide-gauche {
  0% { opacity: 0; transform: translate(42vw, -16vh) rotate(8deg) scale(1.9); }
  15% { opacity: 1; }
  50% { transform: translate(22vw, 3vh) rotate(3deg) scale(1.8); }
  80% { transform: translate(6vw, -6vh) rotate(-3deg) scale(1.5); }
  100% { opacity: 1; transform: none; }
}
@keyframes lueur { 0% { box-shadow: 0 0 0 0 rgba(227, 183, 90, .75); } 100% { box-shadow: 0 0 0 18px rgba(227, 183, 90, 0); } }

/* Page audit : renvoi vers le diagnostic IA */
.encart-ia { background: var(--sarcelle-pale); border-radius: var(--r); padding: 12px 16px; font-size: .95rem; color: var(--encre); }
.encart-ia a { font-weight: 700; color: var(--sarcelle-texte); }
