/* GBIA Conseil — site vitrine sur une seule page. Police hébergée ici, aucun service externe (pas de cookie, pas de pisteur). */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("polices/inter.woff2") format("woff2");
}

:root {
  --encre: #111827;
  --texte: #374151;
  --gris: #6b7280;
  --fond: #faf8f4;
  --blanc: #ffffff;
  --trait: #e8e4dc;
  --accent: #2f5bea;
  --accent-fonce: #2448c2;
  --accent-clair: #eaf0ff;
  --vert: #16a34a;
  --police: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--fond); color: var(--texte); font-family: var(--police); font-size: 18px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: var(--accent-fonce); }
svg { display: block; }
h1 { color: var(--encre); letter-spacing: -.035em; font-weight: 750; }
.contenu { max-width: 1120px; margin: 0 auto; padding: 0 24px; width: 100%; }

/* Page entière à l'écran : en-tête, contenu, pied */
body.une-page { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }

/* En-tête */
.entete .contenu { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.marque { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--encre); }
.marque-logo { width: 30px; height: 30px; flex: none; }
.marque b { font-size: 19px; font-weight: 750; }
.marque b span { color: var(--accent); }
.marque small { font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--gris); }
.zone-entete { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; color: var(--accent); }
.zone-entete svg { width: 18px; height: 18px; }

/* Bouton */
.bouton { display: inline-flex; align-items: center; gap: 10px; background: var(--accent); color: #fff; text-decoration: none; font-weight: 600; font-size: 17px; padding: 15px 26px; border-radius: 999px; transition: background .2s, transform .2s; box-shadow: 0 10px 24px -10px rgba(47, 91, 234, .6); }
.bouton:hover { background: var(--accent-fonce); transform: translateY(-1px); }
.bouton svg { width: 20px; height: 20px; }
.bouton.petit { font-size: 15px; padding: 9px 18px; box-shadow: none; gap: 8px; }
.bouton.petit svg { width: 17px; height: 17px; }

/* Contenu principal */
.scene-page { flex: 1; display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; padding-top: 12px; padding-bottom: 24px; }
h1 { font-size: clamp(36px, 4.4vw, 54px); line-height: 1.04; margin: 0 0 22px; }
h1 span { color: var(--accent); }
.chapeau { font-size: clamp(18px, 1.8vw, 21px); max-width: 30em; margin: 0 0 30px; }
.chapeau b { color: var(--encre); }
.offre-detail { display: none; }
.cible { margin: 0; font-size: 15px; color: var(--gris); max-width: 32em; }
.cible svg { display: inline-block; width: 16px; height: 16px; color: var(--accent); vertical-align: -3px; margin-right: 6px; }
.cible a { color: var(--accent-fonce); font-weight: 600; text-decoration: none; }

/* Les 3 offres */
.offres { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 8px; max-width: 30em; }
.offres button { position: relative; overflow: hidden; width: 100%; display: flex; gap: 14px; align-items: center; text-align: left; font: inherit; font-size: 16.5px; color: var(--texte); background: transparent; border: 2px solid #d1d5db; border-radius: 16px; padding: 10px 14px 10px 10px; cursor: pointer; transition: background .3s, border-color .3s, box-shadow .3s; }
.offres button:hover { background: var(--accent-clair); border-color: var(--accent); }
.offres button:focus-visible, .lecture:focus-visible { outline: 3px solid var(--accent-fonce); outline-offset: 3px; }
.offres button.actif { opacity: 1; background: var(--blanc); border: 2px solid var(--accent); box-shadow: 0 12px 28px -14px rgba(47, 91, 234, .45); }
.progression { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
@keyframes progression { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.offres b { display: block; color: var(--encre); font-size: 17.5px; }
.offres small { display: block; font-size: inherit; }
.offre-icone { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-clair); color: var(--accent); flex: none; transition: background .3s, color .3s; }
.offres button.actif .offre-icone { background: var(--accent); color: #fff; }
.offre-icone svg { width: 22px; height: 22px; }

/* Animation */
.demo { display: flex; flex-direction: column; align-items: center; }
.legende { height: 52px; margin: 0 0 12px; text-align: center; font-weight: 600; color: var(--encre); font-size: 17px; max-width: 22em; display: flex; align-items: center; justify-content: center; }
.cadre-demo { width: 320px; height: 420px; border-radius: 34px; background: #111827; padding: 10px; box-shadow: 0 40px 80px -30px rgba(17, 24, 39, .45); }
.ecran { position: relative; height: 100%; border-radius: 26px; background: linear-gradient(180deg, #eef2fb, #f8f9fc); overflow: hidden; }
.scene { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
.scene.active { opacity: 1; visibility: visible; }
.etape { position: absolute; inset: 0; padding: 22px; display: flex; flex-direction: column; justify-content: center; opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .5s, transform .5s; }
.etape.vue { opacity: 1; transform: none; }
.etape-fixe { pointer-events: none; }

.carte { background: var(--blanc); border-radius: 20px; padding: 18px; box-shadow: 0 18px 40px -16px rgba(17, 24, 39, .3); }
.carte b { display: block; color: var(--encre); font-size: 16px; margin: 10px 0 4px; }
.carte p { margin: 0; font-size: 14.5px; color: var(--texte); line-height: 1.45; }
.ok { width: 30px; height: 30px; border-radius: 50%; background: var(--vert); color: #fff; display: grid; place-items: center; }
.ok svg { width: 16px; height: 16px; }

/* Formation : une séance dessinée, sans tablette */
.cadre-demo, .ecran { transition: background .5s, box-shadow .5s; }
.demo[data-offre="0"] .cadre-demo { background: transparent; box-shadow: none; }
.demo[data-offre="0"] .ecran { background: transparent; }
.salle { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.tableau { position: relative; width: 92%; height: 165px; background: var(--blanc); border: 6px solid #1f2937; border-radius: 10px; box-shadow: 0 20px 40px -20px rgba(17, 24, 39, .35); overflow: hidden; }
.diapo { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 0 20px; opacity: 0; transform: translateX(20px); transition: opacity .5s, transform .5s; background: linear-gradient(135deg, #eef2ff, #fff); }
.diapo b { color: var(--accent); font-size: 21px; letter-spacing: -.02em; line-height: 1.2; }
.diapo span { color: var(--gris); font-size: 13.5px; margin-top: 6px; }
.scene[data-etape="0"] .d0, .scene[data-etape="1"] .d1, .scene[data-etape="2"] .d2 { opacity: 1; transform: none; }
.pied-tableau { width: 6px; height: 34px; background: #1f2937; }
.rang { display: flex; gap: 14px; margin-top: 6px; }
.eleve { position: relative; width: 56px; height: 70px; }
.eleve::before { content: ""; position: absolute; left: 14px; top: 8px; width: 28px; height: 28px; border-radius: 50%; background: #374151; }
.eleve::after { content: ""; position: absolute; left: 2px; bottom: 0; width: 52px; height: 32px; border-radius: 26px 26px 6px 6px; background: var(--c); }
.ampoule { position: absolute; left: 50%; top: -26px; font-size: 24px; transform: translate(-50%, 8px) scale(.4); opacity: 0; transition: opacity .4s, transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.scene[data-etape="1"] .eleve:nth-child(2) .ampoule, .scene[data-etape="1"] .eleve:nth-child(4) .ampoule,
.scene[data-etape="2"] .ampoule { opacity: 1; transform: translate(-50%, 0) scale(1); }
.scene[data-etape="2"] .eleve:nth-child(1) .ampoule { transition-delay: .1s; }
.scene[data-etape="2"] .eleve:nth-child(3) .ampoule { transition-delay: .3s; }
.scene.active .eleve { animation: hoche 2.6s ease-in-out infinite; }
.scene.active .eleve:nth-child(2) { animation-delay: .4s; } .scene.active .eleve:nth-child(3) { animation-delay: .9s; } .scene.active .eleve:nth-child(4) { animation-delay: 1.3s; }
@keyframes hoche { 0%, 80%, 100% { transform: none; } 88% { transform: translateY(3px); } }

/* Intégration : la pieuvre */
.pieuvre { position: absolute; inset: 22px 10px; width: calc(100% - 20px); height: calc(100% - 44px); }
.tentacule { fill: none; stroke: var(--accent); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .35; transition: stroke-dashoffset 1.1s ease-out; }
.pieuvre .centre { transform-origin: 150px 170px; transform: scale(0); transition: transform .5s cubic-bezier(.3, 1.5, .5, 1); }
.pieuvre .centre text { fill: #fff; font: 750 20px var(--police); }
.pieuvre .halo { fill: rgba(47, 91, 234, .15); animation: pouls 2s ease-in-out infinite; transform-origin: 150px 170px; }
@keyframes pouls { 50% { transform: scale(1.15); } }
.flux { fill: var(--accent); opacity: 0; transition: opacity .4s .9s; }
.noeud { transform: translate(var(--dx), var(--dy)); transition: transform .8s cubic-bezier(.3, 1.2, .5, 1); }
.noeud rect { fill: #e5e7eb; stroke: #d1d5db; transition: fill .5s, stroke .5s; }
.noeud text { fill: var(--gris); font: 600 13px var(--police); transition: fill .5s; }
.scene[data-etape="1"] .tentacule { stroke-dashoffset: 0; }
.scene[data-etape="1"] .centre { transform: scale(1); }
.scene[data-etape="1"] .flux { opacity: 1; }
.scene[data-etape="1"] .noeud { transform: none; }
.scene[data-etape="1"] .noeud rect { fill: var(--blanc); stroke: var(--accent); }
.scene[data-etape="1"] .noeud text { fill: var(--encre); }

/* Application : l'appli du client */
.etape-appli { justify-content: flex-start; padding-top: 0; gap: 12px; }
.appli-barre { margin: 0 -22px 6px; padding: 14px 18px; background: var(--accent); color: #fff; font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 10px; }
.appli-logo, .icone-appli b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: #fff; color: var(--accent); font-weight: 800; font-size: 15px; }
.accueil-ecran { width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 14px; padding: 10px 6px; }
.accueil-ecran i { aspect-ratio: 1; border-radius: 14px; background: #dbe1ec; }
.accueil-ecran i:nth-child(2) { background: #c7d2fe; } .accueil-ecran i:nth-child(4) { background: #fde68a; } .accueil-ecran i:nth-child(6) { background: #bbf7d0; }
.icone-appli { display: flex; flex-direction: column; align-items: center; gap: 4px; transform: scale(0); }
.icone-appli b { width: 100%; height: auto; aspect-ratio: 1; border-radius: 14px; background: var(--accent); color: #fff; font-size: 22px; box-shadow: 0 8px 18px -8px rgba(47, 91, 234, .8); }
.icone-appli small { font-size: 13px; line-height: 1.2; text-align: center; color: var(--encre); font-weight: 600; }
.etape.vue .icone-appli { animation: apparait .5s .6s cubic-bezier(.3, 1.6, .5, 1) both, tape-icone .3s 2.1s ease-in-out both; }
@keyframes apparait { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes tape-icone { 0% { transform: scale(1); } 50% { transform: scale(.85); } 100% { transform: scale(1); } }
.tuiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tuiles span { background: var(--blanc); border-radius: 14px; padding: 14px 12px; font-size: 13px; color: var(--gris); box-shadow: 0 8px 18px -12px rgba(0, 0, 0, .3); }
.tuiles b { display: block; font-size: 24px; color: var(--encre); letter-spacing: -.02em; }
.etape.vue .tuiles span { animation: monte .4s ease-out both; }
.etape.vue .tuiles span:nth-child(2) { animation-delay: .12s; } .etape.vue .tuiles span:nth-child(3) { animation-delay: .24s; } .etape.vue .tuiles span:nth-child(4) { animation-delay: .36s; }
.dictee-mini { display: flex; gap: 10px; align-items: center; }
.dictee-mini .micro { width: 40px; height: 40px; flex: none; }
.dictee-mini .micro svg { width: 18px; height: 18px; }
.dictee-mini .transcription { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: 13px; padding: 9px 11px; }
.etape-appli .doc { opacity: 0; }
.etape.vue .doc { animation: monte .4s 1.6s ease-out both; }
.etape.vue .doc .envoi { animation-delay: 2.5s; }
.envoi { color: var(--vert); background: #dcfce7; }
.auto { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.auto li { display: flex; align-items: center; gap: 10px; background: var(--blanc); border-radius: 12px; padding: 10px 12px; font-size: 13.5px; color: var(--encre); font-weight: 500; box-shadow: 0 6px 14px -10px rgba(0, 0, 0, .3); opacity: 0; }
.auto li::before { content: ""; width: 20px; height: 20px; flex: none; border-radius: 50%; background: var(--vert) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.etape.vue .auto li { animation: monte .4s ease-out both; }
.etape.vue .auto li:nth-child(2) { animation-delay: .6s; } .etape.vue .auto li:nth-child(3) { animation-delay: 1.2s; } .etape.vue .auto li:nth-child(4) { animation-delay: 1.8s; } .etape.vue .auto li:nth-child(5) { animation-delay: 2.4s; }
.etape-appli .doc-ligne { font-size: 13px; padding: 5px 0; }
.etape-appli .carte { padding: 14px; }

/* Application : du vocal au paiement */
.dictee { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.micro { width: 66px; height: 66px; border-radius: 50%; background: #dc2626; color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(220, 38, 38, .4); animation: pouls-micro 1.4s ease-out infinite; }
.micro svg { width: 28px; height: 28px; }
@keyframes pouls-micro { 70% { box-shadow: 0 0 0 18px rgba(220, 38, 38, 0); } }
.onde { display: flex; gap: 4px; align-items: center; height: 36px; }
.onde i { width: 5px; height: 10px; border-radius: 3px; background: var(--accent); animation: onde .9s ease-in-out infinite; }
.onde i:nth-child(2n) { animation-delay: .15s; } .onde i:nth-child(3n) { animation-delay: .3s; } .onde i:nth-child(4n) { animation-delay: .45s; }
@keyframes onde { 0%, 100% { height: 8px; } 50% { height: 34px; } }
.transcription { margin: 0; font-size: 14px; color: var(--encre); background: var(--blanc); padding: 12px 14px; border-radius: 14px; box-shadow: 0 6px 16px -10px rgba(0, 0, 0, .3); line-height: 1.45; clip-path: inset(0 100% 0 0); }
.etape.vue .transcription { animation: ecrit 1.4s .3s steps(40) both; }
@keyframes ecrit { to { clip-path: inset(0 0 0 0); } }
.doc-tete { display: flex; flex-wrap: wrap; gap: 6px; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.doc-tete b { margin: 0 !important; white-space: nowrap; }
.doc-tete span { white-space: nowrap; }
.doc-ligne, .doc-total { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; padding: 7px 0; border-top: 1px solid #eef0f4; color: var(--texte); }
.doc-total { font-weight: 700; color: var(--encre); font-size: 15px; border-top: 2px solid var(--encre); margin-top: 4px; }
.doc-texte { margin: 0 0 10px !important; font-size: 13.5px !important; }
.tampon { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--vert); border: 2px solid var(--vert); border-radius: 6px; padding: 2px 8px; transform: rotate(-8deg) scale(2); opacity: 0; }
.etape.vue .tampon { animation: tampon .35s 1.4s cubic-bezier(.3, 1.4, .5, 1) both; }
@keyframes tampon { to { opacity: 1; transform: rotate(-8deg) scale(1); } }
.pastille-doc { font-size: 13px; font-weight: 700; color: var(--accent); background: var(--accent-clair); border-radius: 999px; padding: 3px 10px; opacity: 0; }
.etape.vue .pastille-doc { animation: monte .4s 1.2s ease-out both; }

.points { display: flex; gap: 8px; }
.points i { width: 8px; height: 8px; border-radius: 50%; background: #c4c9d2; transition: background .3s, width .3s; }
.points i.actif { width: 22px; border-radius: 4px; background: var(--accent); }

/* Pied de page */
.pied { padding: 16px 0 20px; font-size: 14px; color: var(--gris); }
.pied .contenu { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.pied a { color: var(--gris); }

/* Page de texte (mentions légales) */
.entete:not(:has(.zone-entete)) { border-bottom: 1px solid var(--trait); }
.texte { max-width: 760px; padding: 56px 24px 80px; margin: 0 auto; }
.texte h1 { font-size: 38px; margin: 0 0 28px; }
.texte h2 { color: var(--encre); font-size: 21px; letter-spacing: -.01em; margin: 36px 0 8px; }
.texte p { margin: 0 0 8px; }

/* Apparition douce */
@keyframes monte { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.accroche > * { animation: monte .6s cubic-bezier(.2, .7, .2, 1) both; }
.accroche > *:nth-child(2) { animation-delay: .06s; }
.accroche > *:nth-child(3) { animation-delay: .12s; }
.accroche > *:nth-child(4) { animation-delay: .18s; }
.demo { animation: monte .8s .15s cubic-bezier(.2, .7, .2, 1) both; }
@media (prefers-reduced-motion: reduce) {
  .accroche > *, .demo, .halo, .eleve, .micro, .onde i { animation: none !important; }
  .transcription { clip-path: none; } .tampon, .pastille-doc { opacity: 1; transform: rotate(-8deg); }
  .icone-appli { transform: none; } .etape-appli .doc, .auto li { opacity: 1; }
}

/* Écrans peu hauts (ordinateur portable) */
@media (min-width: 901px) and (max-height: 800px) {
  .cadre-demo { width: 300px; height: 380px; }
  h1 { font-size: 46px; margin-bottom: 18px; }
  .offres { margin-bottom: 22px; }
  .legende { height: 44px; margin-bottom: 8px; }
}

/* Tablette et téléphone */
@media (max-width: 900px) {
  .scene-page { grid-template-columns: 1fr; gap: 28px; padding-top: 4px; }
  .accroche { text-align: center; }
  .offres { margin-left: auto; margin-right: auto; }
  .chapeau { margin-left: auto; margin-right: auto; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .contenu { padding: 0 16px; }
  .entete .contenu { height: 58px; }
  .marque-logo { width: 26px; height: 26px; }
  .marque b { font-size: 17px; }
  .marque small { font-size: 10.5px; }
  .zone-entete { font-size: 14px; }
  h1 { font-size: 34px; margin-bottom: 14px; }
  .offres { margin: 0 auto 16px; gap: 6px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .offres button { flex-direction: column; gap: 6px; padding: 8px 4px; text-align: center; }
  .offres b { font-size: 14px; }
  .offres small { display: none; }
  /* La phrase de l'offre active s'affiche sous les trois boutons. */
  .offre-detail { display: block; margin: -6px 0 10px; font-size: 14.5px; font-weight: 600; color: var(--texte); text-align: center; }
  .offre-icone { width: 40px; height: 40px; }
  .bouton.petit { font-size: 14px; padding: 8px 14px; }
  .cible { font-size: 13.5px; margin: 0 auto; }
  .scene-page { gap: 18px; }
  .legende { font-size: 15.5px; height: 42px; margin-bottom: 6px; }
  .cadre-demo { width: 280px; height: 340px; border-radius: 30px; padding: 8px; }
  .ecran { border-radius: 23px; }
  .etape { padding: 16px; }
  .carte p { font-size: 13.5px; }
  .tableau { height: 140px; } .diapo b { font-size: 18px; }
  .rang { gap: 8px; }
  .doc-ligne { padding: 5px 0; }
  .appli-barre { margin: 0 -16px 4px; padding: 11px 14px; }
  .etape-appli { gap: 8px; }
  .auto { gap: 6px; } .auto li { padding: 8px 10px; font-size: 13px; }
  .accueil-ecran { gap: 12px 10px; }
  .commandes-demo { margin-top: 10px; }
  .pied { padding: 10px 0 14px; }
  .pied .contenu { justify-content: center; }
  .texte { padding: 32px 16px 56px; }
  .texte h1 { font-size: 30px; }
}

/* Commandes et pause de la démo. Le SVG est suspendu par le script. */
.commandes-demo { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.lecture { font: inherit; font-size: 13px; font-weight: 600; color: var(--accent-fonce); background: var(--blanc); border: 1px solid var(--accent); border-radius: 999px; padding: 6px 12px; min-height: 36px; min-width: 76px; cursor: pointer; }
.lecture:hover { background: var(--accent-clair); }
.demo.en-pause, .demo.en-pause * { animation-play-state: paused !important; }
.demo .doc-ligne span:last-child, .demo .doc-total span:last-child { flex-shrink: 0; }
.demo.selection-manuelle .etape.vue .icone-appli,
.demo.selection-manuelle .etape.vue .tuiles span,
.demo.selection-manuelle .etape.vue .doc,
.demo.selection-manuelle .etape.vue .auto li,
.demo.selection-manuelle .etape.vue .pastille-doc,
.demo.selection-manuelle .etape.vue .transcription { animation: none; opacity: 1; transform: none; clip-path: none; }
@media (prefers-reduced-motion: reduce) {
  .demo, .demo *, .offres, .offres * { animation: none !important; transition: none !important; }
  .demo .icone-appli, .demo .etape-appli .doc, .demo .auto li, .demo .pastille-doc { opacity: 1; transform: none; }
  .demo .transcription { clip-path: none; }
}
/* La sélection reste lisible même pendant l'apparition initiale de la démo. */
.demo.selection-manuelle { animation: none; opacity: 1; transform: none; }
@media (max-width: 640px) {
  .commandes-demo { margin-top: 10px; }
  .etape-appli { padding-top: 0; }
  .etape-appli .carte { padding: 10px; }
  .etape-appli .doc-tete b { font-size: 13px; }
  .etape-appli .pastille-doc { padding: 3px 6px; }
}

/* Contenu */
.bloc { padding: 56px 0; border-top: 1px solid var(--trait); }
.bloc h2 { color: var(--encre); font-size: clamp(26px, 3vw, 34px); letter-spacing: -.03em; font-weight: 750; margin: 0 0 24px; }
.bloc p { max-width: 42em; margin: 0 0 14px; }
.bloc b { color: var(--encre); }
.etapes { list-style: none; counter-reset: e; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.etapes li, .exemples article { background: var(--blanc); border: 1px solid var(--trait); border-radius: 16px; padding: 20px; font-size: 16.5px; }
.etapes li::before { counter-increment: e; content: counter(e); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--accent-clair); color: var(--accent); font-weight: 750; margin-bottom: 12px; }
.etapes li b { display: block; margin-bottom: 6px; }
.exemples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.exemples h3 { margin: 0 0 12px; color: var(--encre); font-size: 19px; }
.exemples p { font-size: 16px; margin: 0 0 10px; }
.exemples p span { display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; border-radius: 999px; padding: 2px 9px; margin-right: 8px; background: #f1efe9; color: var(--gris); }
.exemples p + p span { background: var(--accent-clair); color: var(--accent); }
.bloc details { max-width: 42em; background: var(--blanc); border: 1px solid var(--trait); border-radius: 14px; padding: 14px 18px; margin-bottom: 10px; }
.bloc summary { cursor: pointer; font-weight: 600; color: var(--encre); }
.bloc details p { margin: 10px 0 0; }
@media (max-width: 760px) {
  .bloc { padding: 40px 0; }
  .etapes, .exemples { grid-template-columns: 1fr; gap: 12px; }
}

/* Contact */
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
.bouton:focus-visible { outline: 3px solid var(--encre); outline-offset: 3px; }
.contact { padding: 64px 0 72px; border-top: 1px solid var(--trait); scroll-margin-top: 8px; }
.contact-grille { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: start; }
.contact h2 { color: var(--encre); font-size: clamp(26px, 3vw, 34px); letter-spacing: -.03em; font-weight: 750; line-height: 1.15; margin: 0 0 14px; }
.contact-intro p { margin: 0 0 20px; max-width: 26em; }
.contact-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 16px; color: var(--encre); font-weight: 500; }
.contact-points li { display: flex; align-items: center; gap: 10px; }
.contact-points svg { width: 18px; height: 18px; flex: none; color: var(--accent); }
.contact-carte { background: var(--blanc); border: 1px solid var(--trait); border-radius: 20px; padding: 28px; box-shadow: 0 18px 40px -24px rgba(17, 24, 39, .25); }
.contact-form { display: grid; gap: 18px; }
.contact-form[hidden] { display: none; }
.champ { display: grid; gap: 6px; min-width: 0; }
.champ label, .champ-groupe legend { font-size: 15.5px; font-weight: 600; color: var(--encre); }
.facultatif { font-weight: 400; color: var(--gris); }
.champ input, .champ textarea { width: 100%; min-height: 48px; padding: 11px 14px; font: inherit; font-size: 17px; color: var(--encre); background: var(--fond); border: 1.5px solid #8c877d; border-radius: 12px; transition: border-color .2s, background .2s; }
.champ textarea { min-height: 132px; resize: vertical; line-height: 1.45; }
.champ input::placeholder, .champ textarea::placeholder { color: var(--gris); }
.champ input:hover, .champ textarea:hover { border-color: #5f5b53; }
.champ input:focus, .champ textarea:focus { background: var(--blanc); border-color: var(--accent); }
.champ input:focus-visible, .champ textarea:focus-visible { outline: 3px solid rgba(47, 91, 234, .35); outline-offset: 1px; }
.champ input[aria-invalid="true"], .champ textarea[aria-invalid="true"] { border-color: #b91c1c; }
.champ-groupe { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 10px; }
.champ-groupe legend { padding: 0; margin-bottom: 2px; }
.champ-groupe .champ label { font-weight: 500; }
.aide { margin: 0; font-size: 14.5px; color: var(--gris); }
.deux { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.erreur-champ { margin: 0; font-size: 14.5px; font-weight: 600; color: #b91c1c; }
.contact-piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-etat { margin: 0; font-size: 15.5px; }
.contact-etat:empty { display: none; }
.contact-etat.erreur { color: #b91c1c; font-weight: 600; }
.contact-form .bouton { justify-self: start; min-height: 52px; border: 0; font-family: inherit; cursor: pointer; }
.contact-form .bouton:disabled { opacity: .7; cursor: wait; transform: none; }
.contact-mention { margin: 0; font-size: 14px; color: var(--gris); }
.contact-mention a { color: var(--gris); }
.contact-retour { display: none; outline: none; }
.contact-retour:target, .contact-retour.visible { display: block; }
.contact-carte:has(#contact-merci:target) .contact-form { display: none; }
.contact-retour p { margin: 0 0 8px; }
.contact-retour-titre { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 700; color: var(--encre); }
.contact-retour-titre svg { width: 26px; height: 26px; flex: none; padding: 5px; border-radius: 50%; background: var(--vert); color: #fff; }
.contact-retour.erreur { margin-bottom: 22px; padding: 14px 16px; border-radius: 12px; background: #fef2f2; border: 1px solid #fecaca; }
.contact-retour.erreur .contact-retour-titre { color: #991b1b; font-size: 17px; }
@media (max-width: 900px) {
  .contact-grille { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .contact { padding: 44px 0 52px; }
  .contact-carte { padding: 20px 16px; border-radius: 16px; }
  .deux { grid-template-columns: 1fr; }
  .contact-form .bouton { justify-self: stretch; justify-content: center; }
}
