/* Pages intérieures, tablette et téléphone. Rien ici ne touche l'ordinateur. */
.pj-m, .mo-plus { display: none; }
@media (max-width: 1023px), (max-width: 1200px) and (orientation: portrait) {
  .cont, .sec.cont, .haut.cont { width: auto; margin-inline: var(--bord); }
  .sec { padding-block: calc(var(--sect) / 2); }
  .sec:not(.cont) { padding-inline: var(--bord); }
  .haut { padding: 28px var(--bord) 0; }
  .haut.cont { padding-inline: 0; }
  .haut:has(+ .pl-1) { padding-bottom: 44px; }
  .chap, .chap9 { max-width: 34em; margin-top: 16px; font-size: var(--txt); line-height: 1.5; }
  .t1 { line-height: 1.04; }
  main > :last-child:not(.cta2) { margin-bottom: calc(var(--sect) / 2); }

  /* ---- Prix ---- */
  .pl-1 { padding-block: 0 calc(var(--sect) / 2); }
  .px3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1.14fr) minmax(0, 1fr); gap: 12px; }
  .pxc { padding: 26px 20px; }
  .pxc.mil { padding-block: 40px; }
  .pxc h2 { font-size: 18px; }
  .pxc .de { margin-top: 12px; font-size: 14px; }
  .pxc .mt { font-size: clamp(32px, 4.6vw, 44px); }
  .pxc.mil .mt { font-size: clamp(44px, 6.6vw, 62px); }
  .pxc ul { margin-top: 14px; font-size: 15px; }
  .pxc .inc { right: 14px; top: -13px; font-size: 13px; }
  #mensu { width: auto; padding-block: calc(var(--sect) / 2); }
  #mensu > .t2 { margin-bottom: 0; }
  #mensu .chap9 { margin: 12px 0 var(--titre); font-size: var(--txt); text-align: center; }
  .ms3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
  .mo-t { flex-wrap: nowrap; align-items: center; gap: 12px; margin-bottom: 14px; }
  .ms3 .mo-t h3 { font-size: 19px; }
  .mo-v { min-width: 5.2em; font-size: 30px; }
  .mo-r { --th: 40px; } .mo-r::-webkit-slider-thumb { margin-top: -15px; }
  .mo-e { height: 44px; margin: 4px 0 22px; }
  .mo-e button { left: calc(20px + var(--x) * (100% - 40px)); min-width: 44px; min-height: 44px; padding: 0; font-size: 15px; }
  .ms3 .sw { font-size: 17px; }
  .ms3 .sw small { font-size: 15px; line-height: 1.35; }
  .mo-i { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; margin-top: 24px; padding-top: 20px; }
  .mo-i dt { font-size: 14px; }
  .mo-i dd { font-size: 16px; }
  .mo-i dd[data-v] { min-height: 5.52em; }
  .mo-i div:first-child dd { min-height: 0; font-size: 22px; }
  .tk { padding: 26px 24px; rotate: 1deg; }
  .tk .ln { padding: 13px 0; font-size: 16px; }
  .tk .to { padding-top: 16px; font-size: 16px; }
  .tk .to b { font-size: clamp(42px, 6.3vw, 60px); }
  .tk .fi { margin-top: 16px; padding: 13px; font-size: 16px; }
  .faq { width: min(100%, 720px); margin-top: var(--titre); }
  .faq summary { align-items: center; min-height: 64px; padding: 14px 0; font-size: 18px; }
  .faq p { margin-bottom: 0; padding-bottom: 20px; font-size: 17px; }

  /* ---- Comment ça se passe ---- */
  .cv1 .cs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; width: auto; min-height: 0; margin: 0 var(--bord); padding-block: calc(var(--sect) / 4); }
  .cs .num { margin-bottom: 12px; font-size: 15px; }
  .cs h2 { margin-bottom: 12px; font-size: clamp(30px, 4.8vw, 44px); }
  .cs p { font-size: 17px; line-height: 1.45; }
  .cs .pn { height: auto; min-height: 340px; aspect-ratio: 1 / 1; }
  .cs .pn > img { max-width: 92%; max-height: 86%; }
  .cs .pn .disc { width: 90%; gap: 9px; }
  .disc .bu2 { max-width: 90%; font-size: 15px; }

  /* ---- À propos ---- */
  .ai1 { grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); gap: 36px; width: auto; margin: 0 var(--bord); padding-block: 20px calc(var(--sect) / 2); }
  .ap-tx .t1 { margin-bottom: 18px; }
  .ap-tx p { font-size: 17px; line-height: 1.5; }
  .ap-fa { flex-wrap: wrap; gap: 12px 24px; font-size: 16px; }
  .ai1 .stk { right: -4%; }
  .fv-s { width: auto; height: 640px; margin: calc(var(--sect) / 2) var(--bord); }
  .fv-s .ca { width: 42%; min-height: 0; padding: 24px; }
  .fv-s .ca b { font-size: 21px; }
  .fv-s .ca p { font-size: 16px; line-height: 1.4; }
  .fv-s .cl:first-child .ca:nth-child(1) { left: 0; top: 0; }
  .fv-s .cl:first-child .ca:nth-child(2) { left: 9%; top: auto; bottom: 0; }
  .fv-s .cl:last-child .ca:nth-child(1) { right: 6%; top: 3%; }
  .fv-s .cl:last-child .ca:nth-child(2) { right: 0; top: auto; bottom: 4%; }
  .pa2, .x-tel { width: auto; margin: 0 var(--bord); padding-block: calc(var(--sect) / 2); }
  .pa2 { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 28px; }
  .pa2 .ligne > div { grid-template-columns: 84px minmax(0, 1fr); gap: 14px; padding: 16px 0; }
  .pa2 i { font-size: 23px; }
  .pa2 b { font-size: 17px; }
  .pa2 p { margin-top: 2px; font-size: 16px; }
  .x-tel { grid-template-columns: minmax(0, 1fr) auto; gap: 28px; }
  .x-tel .t2 { font-size: clamp(30px, 4.9vw, 52px); }
  .x-tel p.so { margin-top: 16px; font-size: 17px; }
  .x-tel .tel9 { justify-self: end; width: min(310px, 40vw); margin: 0; padding: 9px; border-radius: 40px; }
  .tel9 .ec { height: 590px; border-radius: 32px; }
  .tel9 .hd { padding-top: 46px; }
  .tel9::before { top: 17px; width: 78px; height: 21px; }
  .tel9 .q9, .tel9 .r9 { font-size: 14px; }

  /* ---- Fin de page ---- */
  .cta2 { width: auto; min-height: 0; margin: calc(var(--sect) / 2) var(--bord) var(--bord); padding: 44px 40px; gap: 24px; justify-content: center; }
  .cta2 .t1 { max-width: 11ch; font-size: clamp(36px, 5.6vw, 54px); }
  .cta2 .bt { flex-direction: column; align-items: flex-start; gap: 8px; }
  .cta2 .btn { height: 62px; padding: 0 30px; font-size: 14px; }
  .lia, .cta2 .lia { display: inline-flex; align-items: center; min-height: 44px; border-bottom: 0; font-size: 16px; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
  .cta2 .c3d { right: 3%; top: auto; bottom: 0; width: 40%; height: min(330px, 88%); }

  /* ---- Contact ---- */
  .cu1 { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: 36px; align-items: start; width: auto; min-height: 0; margin: 0 var(--bord); padding-block: 28px calc(var(--sect) / 2); }
  .cu1 .pinceau.arc2 { display: none; }
  .cu1 .acc2 { margin: 30px 0 8px; font-size: 21px; }
  .cu p.tx3 { margin-top: 8px; font-size: 17px; }
  .cho { flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
  .cho span { display: flex; align-items: center; min-height: 44px; padding: 0 18px; font-size: 14px; white-space: nowrap; }
  .ch { margin-bottom: 20px; }
  .ch span { font-size: 15px; }
  .ch input, .ch textarea { min-height: 46px; font-size: 18px; }
  .act { flex-wrap: wrap; gap: 12px; }
  .cu1 .btn { height: 60px; padding: 0 34px; font-size: 14px; }
  .bia { height: 58px; font-size: 14px; }
  .rg2 { font-size: 14px; line-height: 1.45; }
  .rg2 a { display: inline-block; }

  /* ---- Fiches projet ---- */
  .fp-h { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; height: auto; min-height: calc(100svh - var(--ht) - var(--bord)); margin: 0 var(--bord) var(--bord); padding: 32px; }
  .fp-h .ret { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 14px; font-size: 16px; }
  .fp-h .t1 { font-size: var(--t1); }
  .fp-h p { margin: 14px 0 18px; font-size: 18px; }
  .fp-h .tg { margin-bottom: 22px; }
  .fp-h .tg span { font-size: 14px; }
  .fp-h .btn { height: 60px; padding: 0 30px; font-size: 14px; }
  .fp-h img { max-height: none; }
  .fp-t { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
  .fp-t .t3 { margin-bottom: 10px; }
  .fp-t p { font-size: 17px; }
  .fp-g { width: auto; margin-inline: var(--bord); column-gap: 14px; }
  .fp-g img { margin-bottom: 14px; border-radius: 14px; }
  .fp-g img.tall { width: 100%; }
  .fp-g + .fp-n, .fp-n { width: auto; margin: calc(var(--sect) / 2) var(--bord) 0; padding-top: 20px; }
  .fp-n a { min-height: 64px; }
  .fp-n .pc2 { width: 56px; height: 56px; }
  .fp-n small { font-size: 14px; }
  .fp-n b { font-size: 18px; }

  /* ---- Pages légales ---- */
  .leg { width: min(100% - 2 * var(--bord), 680px); padding-block: 12px 0; }
  .leg h2 { margin: 30px 0 8px; }
  .leg p, .leg li { font-size: 17px; line-height: 1.55; }
  .leg a { display: inline-block; min-height: 26px; }
  .acomp { font-size: 15px; }

  /* ---- Réalisations : une grille d'images à toucher, à la place du carrousel ---- */
  html.pj-doigt { scrollbar-gutter: auto; }
  html.pj-doigt, html.pj-doigt body { height: auto; min-height: 0; overflow-y: visible; }
  html.pj-doigt body { display: block; }
  html.pj-doigt main { display: block; height: auto; min-height: 0; }
  html.pj-doigt main > :not(.pj-m), #scene, .hautp, .vues, html.pj-doigt .essf, #apl, main:has(> #scene) > .bas { display: none !important; }
  .pj-m { display: block; padding: 28px var(--bord) calc(var(--sect) / 2); }
  .pj-m .t1 { margin: 0 0 var(--titre); color: var(--a); font: 900 var(--t1)/1.04 Unbounded, sans-serif; letter-spacing: -.035em; }
  .pj-g { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .pj-c { display: block; color: var(--a); text-decoration: none; }
  a.pj-c:active { scale: .985; }
  .pj-i { display: grid; place-items: center; aspect-ratio: 1.42; overflow: hidden; border-radius: 20px; background: #eee; }
  .pj-i img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .pj-i img.ec { width: 82%; height: auto; border-radius: 8px; box-shadow: 0 10px 26px rgba(0, 0, 0, .28); }
  .pj-c:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .pj-c:last-child:nth-child(odd) .pj-i { aspect-ratio: 2.3; }
  .pj-c:last-child:nth-child(odd) .pj-i img.ec { width: 44%; }
  .pj-c b { display: block; padding: 12px 2px 0; font: 800 19px/1.2 Unbounded, sans-serif; letter-spacing: -.02em; }
}

/* Largeur moyenne : ce qui ne tient plus sur deux ou trois colonnes passe sur une */
@media (max-width: 859px) {
  .ai1 .ph > img:first-child { aspect-ratio: .92; }
  .fp-h { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  .fp-h img { height: 100%; min-height: 240px; max-height: max(240px, calc(100svh - var(--ht) - 400px)); }
}
@media (max-width: 759px) {
  .px3 { grid-template-columns: minmax(0, 1fr); gap: 16px; max-width: 520px; margin-inline: auto; }
  .pxc { padding: 28px 24px; }
  .pxc.mil { padding-block: 36px; }
  .pxc h2 { font-size: 20px; }
  .pxc .mt { font-size: 46px; }
  .pxc.mil .mt { font-size: 64px; }
  .pxc ul { font-size: 16px; }
  .ms3 { grid-template-columns: minmax(0, 1fr); gap: 28px; max-width: 520px; margin-inline: auto; }
  .ms3 .tk { order: -1; }
  .cu1 { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .cv1 .cs { gap: 22px; }
  .x-tel, .pa2 { grid-template-columns: minmax(0, 1fr); }
  .x-tel .tel9 { justify-self: center; width: min(300px, 80vw); }
}

/* ---- Téléphone ---- */
@media (max-width: 639px) {
  .haut { padding-top: 16px; text-align: left; }
  .haut:has(+ .pl-1) { padding-bottom: 38px; }
  .chap { margin-inline: 0; }

  /* Prix */
  .pxc:nth-child(1) { rotate: -.8deg; } .pxc:nth-child(3) { rotate: .8deg; }
  #mensu .t2 { font-size: clamp(20px, 7.3vw, 34px); }
  #mensu .chap9 { margin-bottom: 22px; font-size: 16px; }
  .tk { padding: 20px 20px 22px; rotate: 0deg; box-shadow: 0 12px 30px rgba(10, 25, 25, .12); }
  .tk .ln { padding: 11px 0; }
  .tk .to { padding-top: 12px; }
  .tk .to b { font-size: clamp(34px, 13.4vw, 58px); }
  .tk .fi { margin-top: 12px; padding: 12px; }
    .ms3 .mo-t h3 { font-size: 15px; }
  .mo-v { font-size: 24px; }
  .mo-i { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .faq summary { min-height: 60px; font-size: 16px; }
  .faq p { font-size: 16px; }

  /* Comment ça se passe */
  .cv1 .cs { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-block: calc(var(--sect) / 4); }
  .cs:nth-child(odd) .tx { order: 0; }
  .cs h2 { font-size: clamp(28px, 8.4vw, 36px); }
  .cs p { font-size: 16.5px; }
  .cs .pn { min-height: 0; aspect-ratio: 1.12; }
  .cv1 .cs:nth-child(1) .pn { aspect-ratio: auto; padding: 22px 0; }
  .disc .bu2 { font-size: 14.5px; }

  /* À propos */
  .ai1 { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-block: 8px calc(var(--sect) / 2); }
  .ai1 .ph { width: 86%; }
  .ai1 .ph > img:first-child { aspect-ratio: 1; }
  .fv-s { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; height: auto; margin-block: calc(var(--sect) / 2); }
  .fv-s .t2 { position: static; order: -1; margin-bottom: 12px; translate: none; white-space: normal; text-align: left; }
  .fv-s .ca, .fv-s .cl:first-child .ca:nth-child(n), .fv-s .cl:last-child .ca:nth-child(n) { position: static; width: 92%; padding: 20px 22px; }
  .fv-s .cl:first-child .ca:nth-child(1) { order: 1; background: var(--b); color: var(--a-txt); }
  .fv-s .cl:last-child .ca:nth-child(1) { order: 2; justify-self: end; background: var(--a); color: #fff; }
  .fv-s .cl:first-child .ca:nth-child(2) { order: 3; background: var(--b); color: var(--a-txt); }
  .fv-s .cl:last-child .ca:nth-child(2) { order: 4; justify-self: end; background: var(--a); color: #fff; }
  .fv-s .ca b { margin-bottom: 6px; font-size: 20px; }
  .pa2 { gap: 18px; }
  .pa2 .ligne > div { grid-template-columns: 76px minmax(0, 1fr); gap: 12px; }
  .pa2 i { font-size: 21px; }
  .x-tel { gap: 24px; }
  .x-tel .tel9 { width: min(292px, 78vw); }
  .tel9 .ec { height: 540px; }

  /* Fin de page */
  .cta2 { padding: 30px var(--pad) 0; gap: 18px; }
  .cta2 .t1 { max-width: none; font-size: clamp(30px, 9.4vw, 42px); }
  .cta2 .bt { align-self: stretch; }
  .cta2 .btn { display: flex; width: 100%; height: 58px; rotate: -1.5deg; }
  .cta2 .lia { align-self: center; }
  .cta2 .c3d { position: relative; right: auto; bottom: auto; align-self: center; width: min(250px, 66vw); height: auto; aspect-ratio: 1 / .94; margin-top: -8px; }

  /* Contact */
  .cu1 { padding-block: 12px calc(var(--sect) / 2); }
  .cu1 .acc2 { margin-top: 26px; font-size: 19px; }
  .cho { gap: 8px; }
  .cho span { padding: 0 15px; font-size: 13px; }
  .act > * { flex: 1 1 100%; justify-content: center; }
  .cu1 .btn { display: flex; width: 100%; }
  .bia { padding-right: 1.6em; rotate: 0deg; }

  /* Fiches projet */
  .fp-h { min-height: calc(100svh - var(--ht) - 12px); margin-bottom: 12px; padding: 20px var(--pad) 22px; }
  .fp-h .ret { margin-bottom: 6px; font-size: 15px; }
  .fp-h p { margin: 10px 0 14px; font-size: 17px; }
  .fp-h .tg { margin-bottom: 18px; }
  .fp-h .tg span { font-size: 13px; }
  .fp-h .btn { height: 54px; padding: 0 26px; font-size: 13px; }
  .fp-h img { min-height: 190px; max-height: max(190px, calc(100svh - var(--ht) - 372px)); }
  .fp-t { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .fp-t .t3 { font-size: 22px; }
  .fp-t p { font-size: 16.5px; }
  .fp-g { columns: 1; }
  .fp-g:has(img.tall) { columns: 2; column-gap: 10px; }
  .fp-g:has(img.tall) img { margin-bottom: 10px; }
  .fp-n { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .fp-n a { gap: 10px; min-width: 0; }
  .fp-n a:last-child { justify-content: flex-end; }
  .fp-n .pc2 { width: 42px; height: 42px; }
  .fp-n small { font-size: 12.5px; }
  .fp-n b { font-size: 15px; line-height: 1.15; }

  /* Pages légales */
  .leg p, .leg li { font-size: 16.5px; }

  /* Réalisations */
  .pj-m { padding-top: 12px; }
  .pj-g { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .pj-c:last-child:nth-child(odd) .pj-i { aspect-ratio: 1.42; }
  .pj-c:last-child:nth-child(odd) .pj-i img.ec { width: 82%; }
}

/* Fenêtre Chrome réduite, en gardant la mise en page de l'ordinateur */
@media (min-width: 1024px) and (max-width: 1365px) and (orientation: landscape), (min-width: 1201px) and (max-width: 1365px) {
  .ms3 { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 4.4vw; }
  .mo-t { flex-wrap: nowrap; }
  .mo-v { min-width: 5.2em; }
  .tk .to b { font-size: min(64px, 4.6vw); }
}
@media (min-width: 1024px) and (max-height: 700px) and (orientation: landscape) {
  .fp-h { height: auto; min-height: calc(100vh - var(--ht) - var(--m)); }
  .fp-h img { max-height: 460px; }
}
@media (max-width: 1023px), (max-width: 1200px) and (orientation: portrait) {
  /* Le haut des pages respire, et tout y est centré */
  .haut, .haut.cont { padding-block: 76px 64px; text-align: center; }
  .haut:has(+ .pl-1) { padding-bottom: 74px; }
  .haut .chap { margin-inline: auto; }
  .cv1 > .cs:first-child { padding-top: 0; }
  /* Le bug : la vue en liste gardée d'une visite sur ordinateur s'affichait sous la grille */
  #liste, #opts { display: none !important; }
  /* Réalisations */
  .pj-m { padding-top: 76px; }
  .pj-m .t1 { margin-bottom: 60px; text-align: center; }
  .pj-m .sl { position: relative; display: inline-block; white-space: nowrap; }
  .pj-m .sl svg { position: absolute; left: -1%; bottom: -.16em; width: 102%; height: .2em; color: var(--b); }
  .pj-g { gap: 36px 16px; }
  .pj-c b { padding-top: 9px; }
  .pj-c:last-child:nth-child(odd) { grid-column: auto; }
  .pj-c:last-child:nth-child(odd) .pj-i { aspect-ratio: 1.42; }
  .pj-c:last-child:nth-child(odd) .pj-i img.ec { width: 82%; }
  .pj-v { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 100%; overflow: hidden; padding: 22px; border-radius: 20px; background: var(--b); color: var(--a); text-decoration: none; }
  .pj-v b { font: 900 clamp(26px, 4vw, 38px)/1.05 Unbounded, sans-serif; letter-spacing: -.035em; }
  .pj-v i { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--a); color: #fff; font: 600 24px Onest, sans-serif; font-style: normal; }
  .pj-v img { position: absolute; right: -14px; bottom: -14px; width: 54%; rotate: -10deg; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .18)); }
  /* Mensualités : le strict nécessaire à l'écran, le reste au toucher */
  .ms3 .sw small { font-size: 14px; }
  .ms3 > div:first-child { position: relative; }
  .mo-i { position: relative; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; padding-top: 0; border-top: 0; }
  .mo-i > div { position: static; }
  .mo-i .mo-plus { display: block; order: -1; }
  .mo-i dt { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin: 0; padding: 0 14px 0 8px; border-radius: 22px; background: color-mix(in srgb, var(--b) 32%, #fff); color: var(--a); font-weight: 600; font-size: 15px; opacity: 1; cursor: pointer; -webkit-user-select: none; user-select: none; transition: scale .12s ease-out; }
  .mo-i dt:active { scale: .97; }
  .mo-i dt::before { content: "i"; display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--a); color: #fff; font: 800 13px Unbounded, sans-serif; }
  .mo-i dd, .mo-i div:first-child dd, .mo-i dd[data-v] { position: absolute; z-index: 5; left: 0; right: 0; bottom: calc(100% + 8px); display: none; min-height: 0; padding: 14px 16px; border-radius: 16px; background: #fff; box-shadow: 0 10px 30px rgba(10, 25, 25, .18); color: var(--a-txt); font: 500 15px/1.4 Onest, sans-serif; letter-spacing: 0; white-space: normal; }
  .mo-i div.ouvert dd { display: block; }
  /* À propos */
  .ai1 { padding-top: 48px; }
  .fv-s { height: 520px; }
  .fv-s .cl:first-child .ca:nth-child(2), .fv-s .cl:last-child .ca:nth-child(2) { bottom: 0; }
  /* La discussion entière dans le téléphone */
  .tel9 .ec { height: auto; }
  .tel9 .ms-f { padding-bottom: 22px; overflow: visible; }
  .tel9 .r9:last-child { margin-bottom: 0; }
  /* Contact : au centre, avec le trait rose et des lignes roses */
  .cu1 { display: block; width: min(100% - 2 * var(--bord), 600px); margin-inline: auto; padding-block: 76px calc(var(--sect) / 2); text-align: center; }
  .cu1 .gc { position: relative; }
  .cu1 .pinceau.arc2 { display: block; left: 50%; top: -34px; width: min(210px, 42%); translate: 8% 0; color: var(--b); }
  .cu1 .acc2 { margin-top: 48px; }
  .cu p.tx3 { margin-inline: auto; }
  .cu1 form { margin-top: 44px; text-align: left; }
  .cho { justify-content: center; }
  .ch { margin-bottom: 24px; }
  .ch input, .ch textarea { border-bottom: 2px solid var(--b); }
  .act { justify-content: center; }
  .rg2 { text-align: center; }
  .cu1 .rg2 { max-width: none; }
  /* La fin de page prend moins de place */
  .cta2 { padding-block: 36px; }
  .cta2 .c3d { height: min(280px, 92%); }
}
/* ---- Téléphone ---- */
@media (max-width: 639px) {
  .haut, .haut.cont { padding-block: 52px 46px; }
  .haut:has(+ .pl-1) { padding-bottom: 58px; }
  .haut .chap, .chap { margin-inline: auto; }
  .pj-m { padding-top: 52px; }
  .pj-m .t1 { margin-bottom: 44px; }
  .pj-g { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .pj-v { min-height: 200px; }
  .pj-c:last-child:nth-child(odd) { grid-column: auto; }
  .ai1 { padding-block: 36px calc(var(--sect) / 2); }
  .ai1 .ph { width: 82%; margin-inline: auto; }
  .fv-s { height: auto; }
  .cu1 { padding-top: 52px; }
  /* La fin de page prend moins de place */
  .cta2 { padding: 26px var(--pad) 0; gap: 12px; }
  .cta2 .t1 { font-size: clamp(26px, 8vw, 36px); }
  .cta2 .btn { height: 54px; }
  .cta2 .c3d { width: min(176px, 48vw); margin-top: -2px; }
}

/* Laptop bas : la discussion du téléphone d'À propos reste entière */
@media (min-width: 1201px), (min-width: 1024px) and (orientation: landscape) {
  .tel9 .ec { height: auto; min-height: min(720px, 76vh); }
  .tel9 .hd { padding-top: min(54px, 6.4vh); }
  .tel9 .q9, .tel9 .r9 { font-size: min(15px, .95vw, 2.15vh); }
}

/* ---- Prix : les options et le choix du projet, sur tablette et téléphone (05/11/2026) ---- */
@media (max-width: 1023px), (max-width: 1200px) and (orientation: portrait) {
  #options { width: auto; padding-block: calc(var(--sect) / 2) 0; }
  #options > .t2 { margin-bottom: 0; }
  #options .chap9 { margin: 12px 0 var(--titre); font-size: var(--txt); text-align: center; }
  .etq { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 52px 28px; max-width: 760px; margin-inline: auto; }
  .etq-c b { font-size: clamp(34px, 5.4vw, 46px); }
  .etq-c b small { font-size: 14px; }
  .etq-c h3 { font-size: 17px; }
  .etq-c p { font-size: 14.5px; }
  .ms3 .pj4 { grid-template-columns: 1fr 1fr; margin-bottom: 24px; }
  .ms3 .pj4 button { min-height: 48px; padding: .6em .3em; font-size: 13px; }
}
@media (max-width: 639px) {
  .etq { grid-template-columns: minmax(0, 1fr); gap: 40px; max-width: 400px; }
  .etq-r { rotate: calc(var(--r, 0deg) * .6); }
  .etq-c b { font-size: clamp(32px, 11vw, 44px); }
  .ms3 .pj4 { grid-template-columns: 1fr 1fr; }
  .tk .ln span { white-space: normal; }
}

/* ---- Prix : le bloc de la maintenance, sur tablette et téléphone (05/11/2026) ---- */
@media (max-width: 1023px), (max-width: 1200px) and (orientation: portrait) {
  #maintenance { width: auto; padding-block: calc(var(--sect) / 2) 0; }
  #maintenance > .t2 { margin-bottom: 0; }
  #maintenance .chap9 { margin: 12px 0 var(--titre); font-size: var(--txt); text-align: center; }
  .mta { grid-template-columns: minmax(0, 1fr); gap: 44px; max-width: 720px; margin-inline: auto; }
  .mta-p { width: 44px; height: 44px; }
  .mta-i b { font-size: 17px; }
  .mta-i p { padding: 0 24px 18px 71px; font-size: 16px; }
  .mta-v { display: flex; justify-content: center; align-items: flex-end; gap: 22px; margin-top: 0; padding: 14px 0 0; }
  .mta-qr { position: relative; right: auto; bottom: auto; flex: none; width: 124px; margin-bottom: 6px; }
  .mta-qr small { font-size: 13px; }
  .mt-mail { width: min(440px, 68%); margin: 0; padding: 22px 20px; rotate: -1.5deg; }
  .mt-mail .inc { font-size: 13px; }
  .mt-de img { width: 40px; }
  .mt-de b { font-size: 13px; }
  .mt-de small { font-size: 15px; }
  .mt-mail dl div { padding: 10px 0; }
  .mt-mail dt { font-size: 14px; }
  .mt-mail dd { font-size: 22px; }
  .mt-mail dd i { font-size: 13px; }
}
@media (max-width: 639px) {
  .mta-i summary { gap: 12px; padding: 9px 12px 9px 9px; }
  .mta-p { width: 40px; height: 40px; }
  .mta-i b { font-size: 15px; }
  .mta-x { width: 30px; height: 30px; }
  .mta-i p { padding: 0 18px 16px 61px; font-size: 15px; }
  .mta-v { flex-direction: column; align-items: center; gap: 0; }
  .mt-mail { width: 100%; }
  .mta-qr { align-self: flex-end; width: 112px; margin: -8px 6% 0 0; }
}
@media (max-width: 359px) {
  .etq-c b { font-size: 32px; }
  .etq-c h3 { margin-top: 8px; font-size: 16px; }
  .etq-c p { font-size: 13.5px; }
}

/* ---- Prix : les mensualités en une seule carte quand tout passe sur une colonne (10/11/2026) :
   le total en bandeau bleu en haut, avec la phrase du calcul, puis les réglages dans la même carte ---- */
@media (max-width: 759px) {
  .ms3 { display: flex; flex-direction: column; align-items: stretch; gap: 0; overflow: hidden; border-radius: 24px; background: #fff; box-shadow: 0 16px 40px rgba(10, 25, 25, .12); }
  .ms3 > div:first-child, .ms3 .tk { display: contents; }
  .ms3 .tk .ln { display: none; }
  .ms3 .tk .to { order: -2; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0; padding: 20px 20px 0; background: var(--a); color: #fff; font-size: 16px; }
  .ms3 .tk .to b { color: #fff; font: 900 clamp(38px, 11.5vw, 50px)/1 Unbounded, sans-serif; letter-spacing: -.04em; }
  .ms3 .tk-det { order: -1; display: block; margin: 0; padding: 8px 20px 18px; background: var(--a); color: color-mix(in srgb, #fff 86%, var(--a)); font-size: 14px; line-height: 1.4; }
  .ms3 .mo-t { margin: 0; padding: 20px 20px 14px; }
  .ms3 .mo-t ~ .mo-t { border-top: 1.5px dashed #d5d5cf; }
  .ms3 .pj4 { margin: 0 20px 22px; background: color-mix(in srgb, var(--a) 7%, #fff); }
  .ms3 .mo-r, .ms3 .mo-e { width: calc(100% - 40px); margin-inline: 20px; }
  .ms3 .mo-e { margin-bottom: 18px; }
  .ms3 .sw { display: flex; margin: 0; padding: 18px 20px 20px; border-top: 1.5px dashed #d5d5cf; }
  .ms3 .tk .fi { order: 1; margin: 0 20px 20px; padding: 12px; border-radius: 12px; text-align: center; }
}

/* ---- À propos : le vrai téléphone (iPhone d'Aki Tu Penses), sur tablette et téléphone (10/11/2026) ---- */
@media (max-width: 1023px), (max-width: 1200px) and (orientation: portrait) {
  .x-tel .tel-m { justify-self: end; width: min(400px, 46vw); }
}
@media (max-width: 759px) {
  /* Le plus grand possible pour que la discussion se lise : presque toute la largeur de l'écran */
  .x-tel .tel-m { justify-self: center; width: min(460px, 100vw - 16px); }
}

/* 24/11 : Portfolio au téléphone, le titre dans le bandeau bleu ; héros bleus un peu plus hauts au téléphone */
@media (max-width: 1023px), (max-width: 1200px) and (orientation: portrait) {
  .pj-m { padding-top: 0 !important; }
  .pj-m .pj-bh { margin: 0 calc(-1 * var(--bord)) 34px; padding-top: 44px; }
  .pj-m .pj-bh .t1 { margin: 0 !important; color: #fff; text-align: center; }
  .pj-m .pj-bh .sl svg { color: var(--b); }
  .bh { padding-top: 48px; }
  .bh .t1 { font-size: clamp(36px, 11vw, 60px); }
  .bh .bh-vague { height: 46px; margin-top: 34px; }
  .bh + .cv1 { padding-top: 26px; }
}


/* 25/11 soir : Ma méthode au téléphone — l'image d'abord, « Étape n » posé à cheval sur le haut de l'image, le titre et le texte dessous */
@media (max-width: 639px) {
  .cv1 .cs { position: relative; display: flex !important; flex-direction: column; align-items: stretch !important; }
  .cv1 .cs > .pn { order: 1 !important; margin: 0 !important; }
  .cv1 .cs > .tx { order: 2 !important; position: static !important; margin: 18px 0 0 !important; padding: 0 !important; }
  .cv1 .cs > .tx .num { position: absolute; top: calc(var(--sect) / 4 - 14px); left: 14px; z-index: 3; margin: 0 !important; }
  .cv1 > .cs:first-child > .tx .num { top: -14px; }
  .cv1 .cs > .tx h2 { margin-top: 0 !important; color: var(--a) !important; }
}
/* 26/11 soir : Ma méthode au téléphone — le texte colle à son image, les étapes bien séparées, plus d'air sous le héros */
@media (max-width: 639px) {
  .cv1 .cs { padding-block: 0 !important; }
  .cv1 .cs + .cs { margin-top: 72px !important; }
  .cv1 .cs > .tx { margin-top: 14px !important; }
  .cv1 > .cs:first-child { margin-top: 30px !important; }
  .cv1 .cs > .tx .num { top: -14px !important; }
}
