/* Page Atelier (explication + formulaire guidé). Aucun style en ligne : tout est ici (CSP). Préfixes at- (page) et atf- (formulaire). */
.at { --at-r: 16px; }
.at h1, .at h2, .at h3 { margin: 0; }
.at-ico { flex: none; }
.at-sur { margin: 0 0 .6rem; font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.at-sur--clair { color: var(--accent-texte); }
.at-lead { font-size: 1.12rem; max-width: 44rem; margin: .9rem 0 0; }
.at-pic { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 12px; background: var(--accent-pale); color: var(--accent-texte); flex: none; }

/* héros */
.at-hero { position: relative; overflow: hidden; background: radial-gradient(110% 120% at 85% 0%, color-mix(in srgb, var(--accent) 32%, #0d0e10), #0b0c0e 62%); color: #fff; border-bottom: 4px solid var(--accent); }
.at-hero__in { padding-block: 3.2rem; }
@media (min-width: 900px) { .at-hero__in { padding-block: 4.2rem; } }
.at-hero h1 { font-size: clamp(2.1rem, 5.4vw, 3.4rem); line-height: 1.05; letter-spacing: -.02em; }
.at-hero .at-lead { color: #e4e6e9; }
.at-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }
.at-chip { display: inline-flex; align-items: center; gap: .5rem; margin: 1.4rem 0 0; padding: .4rem .9rem; border-radius: 999px; background: rgb(255 255 255 / 10%); font-size: .95rem; }

/* blocs */
.at-bloc { margin: 3.2rem 0; }
.at-bloc > h2 { font-size: clamp(1.6rem, 3.6vw, 2.2rem); margin-bottom: 1.5rem; letter-spacing: -.01em; }
.at-grille { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 640px) { .at-grille { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .at-grille { grid-template-columns: repeat(3, 1fr); } }
.at-carte { background: #fff; border: 1px solid var(--bord); border-radius: var(--at-r); padding: 1.3rem; display: flex; flex-direction: column; gap: .55rem; transition: transform .2s, box-shadow .2s, border-color .2s; }
.at-carte:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgb(0 0 0 / 10%); border-color: var(--accent); }
.at-carte h3 { font-size: 1.14rem; } .at-carte p { margin: 0; color: var(--encre-2); }
.at-puces { margin: .3rem 0 0; padding-left: 1.1rem; font-size: .95rem; } .at-puces li::marker { color: var(--accent); }
.at-etapes { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; position: relative; }
@media (min-width: 900px) { .at-etapes { grid-template-columns: repeat(4, 1fr); } }
.at-etape { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border: 1px solid var(--bord); border-radius: var(--at-r); padding: 1.1rem; }
.at-etape__num { flex: none; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--accent-bouton); color: #fff; font-weight: 800; box-shadow: 0 0 0 5px var(--accent-pale); }
.at-etape h3 { font-size: 1.05rem; margin-bottom: .3rem; } .at-etape p { margin: 0; color: var(--encre-2); font-size: .95rem; }

/* apparition au défilement (seulement quand le JS l'a activée) */
.at--anime [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.at--anime [data-reveal].est-vu { opacity: 1; transform: none; }
.at--anime [data-delai="1"] { transition-delay: .08s; } .at--anime [data-delai="2"] { transition-delay: .16s; } .at--anime [data-delai="3"] { transition-delay: .24s; }

/* ───── section formulaire ───── */
.at-demande { position: relative; overflow: hidden; margin-top: 4rem; background: radial-gradient(120% 90% at 20% 0%, color-mix(in srgb, var(--accent) 26%, #0d0e10), #0b0c0e 62%); color: #fff; padding-block: 3.5rem 4rem; border-top: 4px solid var(--accent); }
.at-demande h2 { font-size: clamp(1.8rem, 4.4vw, 2.7rem); line-height: 1.1; letter-spacing: -.02em; }
.at-demande .at-lead { color: #dfe1e4; }
.at-halo { position: absolute; width: 36rem; height: 36rem; right: -12rem; bottom: -14rem; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 45%, transparent), transparent 65%); filter: blur(30px); opacity: .5; animation: at-flotte 9s ease-in-out infinite alternate; pointer-events: none; }
@keyframes at-flotte { to { transform: translate(-3rem, -2rem) scale(1.1); } }
.at-demande__in { position: relative; }
#atelier-form { margin-top: 1.8rem; }
.at-sans-js { padding: 1rem; border-radius: 12px; background: rgb(255 255 255 / 10%); } .at-sans-js a { color: #fff; }

.atf { background: rgb(255 255 255 / 6%); border: 1px solid rgb(255 255 255 / 14%); border-radius: 22px; padding: clamp(1.1rem, 3vw, 2rem); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 20px 50px rgb(0 0 0 / 35%); max-width: 58rem; }
.atf__tete { margin-bottom: 1.4rem; }
.atf__etapes { list-style: none; margin: 0 0 .7rem; padding: 0; display: flex; justify-content: space-between; gap: .3rem; }
.atf__pt { display: grid; justify-items: center; gap: .25rem; flex: 1; color: #aeb2b8; font-size: .72rem; font-weight: 650; }
.atf__pt span { display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; border: 2px solid rgb(255 255 255 / 25%); font-weight: 800; font-size: .85rem; transition: background .3s, border-color .3s, color .3s, transform .3s; }
.atf__pt.est-fait span { background: var(--accent); border-color: var(--accent); color: #fff; }
.atf__pt.est-courant span { border-color: #fff; color: #fff; transform: scale(1.15); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 45%, transparent); } .atf__pt.est-courant { color: #fff; }
@media (max-width: 599px) { .atf__pt small { display: none; } }
.atf__barre { height: 5px; border-radius: 5px; background: rgb(255 255 255 / 14%); overflow: hidden; } .atf__barre i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), #fff); border-radius: 5px; transition: width .55s cubic-bezier(.2, .8, .2, 1); }

.atf__vue { animation: atf-av .45s cubic-bezier(.2, .8, .2, 1) both; } .atf__vue--ar { animation-name: atf-ar; }
@keyframes atf-av { from { opacity: 0; transform: translateX(34px); } to { opacity: 1; transform: none; } }
@keyframes atf-ar { from { opacity: 0; transform: translateX(-34px); } to { opacity: 1; transform: none; } }
.atf__q { font-size: clamp(1.3rem, 3vw, 1.8rem); outline: none; margin-bottom: .3rem; }
.atf__aide { margin: 0 0 1.2rem; color: #d3d6da; }
.atf__label { margin: 1.3rem 0 .6rem; font-weight: 700; }
.atf__tuiles { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); }
.atf__tuile { position: relative; display: grid; gap: .2rem; text-align: left; padding: 1.1rem; border-radius: 16px; background: rgb(255 255 255 / 7%); color: #fff; border: 1.5px solid rgb(255 255 255 / 16%); cursor: pointer; font: inherit; transition: transform .18s, background .18s, border-color .18s, box-shadow .18s; }
.atf__tuile:hover { transform: translateY(-3px); background: rgb(255 255 255 / 12%); }
.atf__tuile.est-actif { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 28%, transparent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 32%, transparent); }
.atf__tuile-i { font-size: 1.8rem; line-height: 1; } .atf__tuile strong { font-size: 1.05rem; } .atf__tuile small { color: #d3d6da; font-size: .88rem; }
.atf__tuile--bas { padding: .9rem 1rem; } .atf__tuile--alerte.est-actif { border-color: #ff8a7a; background: rgb(255 90 77 / 20%); box-shadow: 0 0 0 3px rgb(255 90 77 / 30%); }
.atf__coche { position: absolute; top: .6rem; right: .7rem; width: 1.5rem; height: 1.5rem; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #fff; font-size: .85rem; font-weight: 900; transform: scale(0); transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.atf__tuile.est-actif .atf__coche { transform: scale(1); }
.atf__duo { display: grid; gap: .7rem; } @media (min-width: 640px) { .atf__duo { grid-template-columns: 1fr 1fr; } }
.atf__chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.2rem; }
.atf__chip { padding: .6rem 1rem; border-radius: 999px; border: 1.5px solid rgb(255 255 255 / 24%); background: rgb(255 255 255 / 6%); color: #fff; font: inherit; font-weight: 650; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; }
.atf__chip:hover { transform: translateY(-2px); } .atf__chip.est-actif { background: var(--accent); border-color: var(--accent); }
.atf__urgent { margin: .9rem 0 0; padding: .7rem .9rem; border-left: 4px solid #ff8a7a; background: rgb(255 90 77 / 14%); border-radius: 0 10px 10px 0; } .atf__urgent a { color: #fff; font-weight: 800; }

.atf__grille { display: grid; gap: .9rem; } @media (min-width: 640px) { .atf__grille { grid-template-columns: 1fr 1fr; } }
.atf__champ label { display: block; margin-bottom: .35rem; font-weight: 700; } .atf__champ label span { font-weight: 500; color: #b9bdc3; font-size: .85rem; }
.atf input[type="text"], .atf input[type="email"], .atf input[type="tel"], .atf textarea { width: 100%; padding: .8rem .9rem; border-radius: 12px; border: 1.5px solid rgb(255 255 255 / 22%); background: rgb(0 0 0 / 30%); color: #fff; font: inherit; }
.atf input::placeholder, .atf textarea::placeholder { color: #8f949b; }
.atf input:focus-visible, .atf textarea:focus-visible, .atf button:focus-visible { outline: 3px solid #fff; outline-offset: 2px; border-color: var(--accent); }
.atf textarea { resize: vertical; min-height: 7rem; }
.atf__case { display: flex; gap: .7rem; align-items: flex-start; margin-top: 1.3rem; cursor: pointer; } .atf__case input { width: 1.3rem; height: 1.3rem; margin-top: .15rem; accent-color: var(--accent); flex: none; } .atf__case a { color: #fff; }
.atf__recap { padding: 1.1rem; border-radius: 16px; background: rgb(0 0 0 / 28%); border: 1px dashed rgb(255 255 255 / 28%); }
.atf__recap pre { margin: 0; white-space: pre-wrap; font: inherit; line-height: 1.55; } .atf__contact { margin: 1rem 0 0; padding-top: .8rem; border-top: 1px solid rgb(255 255 255 / 16%); }
.atf__erreurs { list-style: none; margin: 1.1rem 0 0; padding: .8rem 1rem; border-radius: 12px; background: rgb(255 90 77 / 16%); border: 1px solid #ff8a7a; animation: atf-secoue .4s; }
@keyframes atf-secoue { 20% { transform: translateX(-6px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(3px); } }
.atf__nav { display: flex; gap: .7rem; margin-top: 1.5rem; flex-wrap: wrap; } .atf__suite { margin-left: auto; } .atf__nav .bouton[disabled] { opacity: .5; cursor: progress; }
.atf__note { margin: 1rem 0 0; font-size: .84rem; color: #b9bdc3; }

@media (prefers-reduced-motion: reduce) {
  .at-halo, .atf__vue, .atf__erreurs { animation: none; }
  .at-carte, .atf__tuile, .atf__chip, .atf__barre i, .atf__pt span { transition: none; }
}
.at-demande { scroll-margin-top: 5rem; }


/* ───── BANC LOCAL : 5 présentations du bloc « Ce que nous faisons » (préfixe sv) ───── */
.at-pic--grand { width: 3.6rem; height: 3.6rem; border-radius: 16px; }

/* 4 · onglets verticaux */
.sv4 { display: grid; gap: 1rem; } .sv4__r { position: absolute; opacity: 0; pointer-events: none; }
@media (min-width: 860px) { .sv4 { grid-template-columns: 19rem 1fr; align-items: stretch; } }
.sv4__nav { display: flex; flex-direction: column; gap: .4rem; }
@media (max-width: 859px) { .sv4__nav { flex-direction: row; overflow-x: auto; padding-bottom: .4rem; } }
.sv4__nav label { display: flex; align-items: center; gap: .8rem; padding: .85rem 1rem; border-radius: 14px; border: 1px solid var(--bord); background: #fff; cursor: pointer; font-weight: 700; white-space: nowrap; transition: background .15s, border-color .15s, transform .15s; }
.sv4__nav label:hover { transform: translateX(3px); border-color: var(--accent); } .sv4__nav .at-ico { color: var(--accent-texte); }
.sv4__p { display: none; background: var(--sombre); color: #fff; border-radius: 20px; padding: 1.8rem; border-top: 4px solid var(--accent); animation: sv-entre .4s both; }
.sv4__p h3 { font-size: 1.7rem; margin: .8rem 0 .3rem; } .sv4__d { color: #d3d6da; margin: 0 0 .8rem; font-size: 1.05rem; } .sv4__p .at-puces { font-size: 1.02rem; margin-bottom: 1.2rem; } .sv4__p .at-pic { background: rgb(255 255 255 / 12%); color: #fff; }
@keyframes sv-entre { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
.sv4__r:nth-of-type(1):checked ~ .sv4__p--0, .sv4__r:nth-of-type(2):checked ~ .sv4__p--1, .sv4__r:nth-of-type(3):checked ~ .sv4__p--2, .sv4__r:nth-of-type(4):checked ~ .sv4__p--3, .sv4__r:nth-of-type(5):checked ~ .sv4__p--4, .sv4__r:nth-of-type(6):checked ~ .sv4__p--5 { display: block; }
.sv4__r:nth-of-type(1):checked ~ .sv4__nav label:nth-child(1), .sv4__r:nth-of-type(2):checked ~ .sv4__nav label:nth-child(2), .sv4__r:nth-of-type(3):checked ~ .sv4__nav label:nth-child(3), .sv4__r:nth-of-type(4):checked ~ .sv4__nav label:nth-child(4), .sv4__r:nth-of-type(5):checked ~ .sv4__nav label:nth-child(5), .sv4__r:nth-of-type(6):checked ~ .sv4__nav label:nth-child(6) { background: var(--accent-bouton); color: #fff; border-color: var(--accent-bouton); }
.sv4__r:nth-of-type(1):checked ~ .sv4__nav label:nth-child(1) .at-ico, .sv4__r:nth-of-type(2):checked ~ .sv4__nav label:nth-child(2) .at-ico, .sv4__r:nth-of-type(3):checked ~ .sv4__nav label:nth-child(3) .at-ico, .sv4__r:nth-of-type(4):checked ~ .sv4__nav label:nth-child(4) .at-ico, .sv4__r:nth-of-type(5):checked ~ .sv4__nav label:nth-child(5) .at-ico, .sv4__r:nth-of-type(6):checked ~ .sv4__nav label:nth-child(6) .at-ico { color: #fff; }
.sv4__r:focus-visible ~ .sv4__nav label { outline: 0; }

@media (prefers-reduced-motion: reduce) { .sv4__p { animation: none; } .sv4__nav label { transition: none; } }

/* Bouton « suivant » des onglets : celui à droite du sélectionné, tant qu'il n'a jamais été ouvert (data-appel posé par atelier.js) : une onde s'en échappe */
.sv4__nav label { position: relative; }
.sv4__nav label[data-appel] { border-color: var(--accent); color: var(--accent-texte); }
.sv4__nav label[data-appel] { z-index: 2; }
.sv4__nav label[data-appel]::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; border: 2px solid var(--accent); animation: an-onde 1.7s ease-out infinite; pointer-events: none; }
@keyframes an-onde { from { transform: scale(1); opacity: .9; } to { transform: scale(1.1, 1.38); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .sv4__nav label[data-appel]::after { animation: none; } .sv4__nav label[data-appel] { background: var(--accent-pale); } }


/* Comment ça se passe : rail sombre, un point lumineux circule sur le pointillé */
.et4 { background: linear-gradient(145deg, var(--sombre-2), var(--sombre)); color: #fff; border-radius: 24px; padding: 2rem 1.4rem; border-bottom: 4px solid var(--accent); }
.et4 ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.8rem; position: relative; }
@media (min-width: 860px) { .et4 ol { grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
  .et4 ol::before { content: ""; position: absolute; top: 2rem; left: 12%; right: 12%; border-top: 3px dashed rgb(255 255 255 / 28%); }
  .et4 ol::after { content: ""; position: absolute; top: 1.72rem; left: 12%; width: .6rem; height: .6rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px 4px color-mix(in srgb, var(--accent) 70%, transparent); animation: et4-flux 4.6s linear infinite; }
}
@keyframes et4-flux { from { left: 12%; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } to { left: 88%; opacity: 0; } }
.et4__e { position: relative; text-align: center; display: grid; justify-items: center; gap: .3rem; }
.et4__pt { position: relative; z-index: 1; display: grid; place-items: center; width: 4rem; height: 4rem; border-radius: 50%; background: var(--sombre); border: 2px solid var(--accent); color: #fff; box-shadow: 0 0 22px color-mix(in srgb, var(--accent) 45%, transparent); }
.et4__k { margin: .5rem 0 0; font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.et4__e h3 { font-size: 1.1rem; } .et4__e p:last-child { margin: 0; color: #d3d6da; font-size: .95rem; max-width: 15rem; }


/* Engagements (cartes) à gauche + frise des horaires à droite */
.at-bloc--horaires { display: grid; gap: 1.5rem; } @media (min-width: 960px) { .at-bloc--horaires { grid-template-columns: 1fr 1.4fr; align-items: start; } }
.at-usp { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.at-usp li { display: flex; gap: 1rem; align-items: center; padding: 1.1rem 1.2rem; border-radius: 16px; background: var(--accent-pale); color: var(--accent-texte); }
.at-usp strong { display: block; color: var(--encre); } .at-usp span { color: var(--encre-2); font-size: .95rem; }
.at-frise { background: #fff; border: 1px solid var(--bord); border-radius: 20px; padding: 1.3rem; }
.at-frise h2 { font-size: 1.3rem; margin: 0 0 .9rem; }
.at-frise__axe { display: flex; justify-content: space-between; margin-left: 6rem; font-size: .72rem; color: var(--encre-2); border-bottom: 1px solid var(--bord); padding-bottom: .3rem; }
.at-frise__l { display: flex; align-items: center; gap: .6rem; padding: .28rem 0; } .at-frise__l b { width: 5.4rem; flex: none; font-size: .88rem; }
.at-frise__piste { position: relative; flex: 1; height: 1.7rem; border-radius: 8px; background: repeating-linear-gradient(90deg, #f3f4f6 0 calc(100% / 6 - 1px), #fff calc(100% / 6 - 1px) calc(100% / 6)); }
.at-frise__bar { position: absolute; top: 0; bottom: 0; display: grid; place-items: center; border-radius: 8px; background: var(--accent-bouton); color: #fff; font-size: .72rem; font-style: normal; font-weight: 700; white-space: nowrap; overflow: hidden; }
.at-frise__piste em { position: absolute; inset: 0; display: grid; place-items: center; color: var(--encre-2); font-size: .78rem; font-style: normal; }
.at-frise__l.est-auj b { color: var(--accent-texte); } .at-frise__l.est-auj .at-frise__piste { box-shadow: 0 0 0 2px var(--accent); }
@media (prefers-reduced-motion: reduce) { .et4 ol::after { animation: none; } }

/* Rail des étapes — version mobile : frise verticale compacte (pastille à gauche, texte aligné à gauche, trait pointillé qui les relie) */
@media (max-width: 859.98px) {
  .at-bloc:has(.et4) { margin-block: 2.2rem; }
  .et4 { border-radius: 18px; padding: 1.1rem 1rem; }
  .et4 ol { gap: 0; }
  .et4__e { grid-template-columns: 2.8rem 1fr; justify-items: start; text-align: left; column-gap: .9rem; row-gap: 0; padding-bottom: 1.1rem; align-items: start; }
  .et4__e:last-child { padding-bottom: 0; }
  .et4__e::before { content: ""; position: absolute; left: 1.4rem; top: 2.8rem; bottom: .1rem; border-left: 2px dashed rgb(255 255 255 / 28%); }
  .et4__e:last-child::before { display: none; }
  .et4__pt { grid-row: 1 / span 3; width: 2.8rem; height: 2.8rem; box-shadow: 0 0 14px color-mix(in srgb, var(--accent) 40%, transparent); }
  .et4__pt .at-ico { width: 20px; height: 20px; }
  .et4__k { margin: 0; font-size: .66rem; letter-spacing: .14em; }
  .et4__e h3 { font-size: 1.02rem; line-height: 1.25; }
  .et4__e p:last-child { max-width: none; font-size: .9rem; line-height: 1.4; }
}
@media (max-width: 859.98px) { .at-bloc--horaires { margin-top: 1.6rem; } }

/* Bandeau « L'atelier de … » — version mobile : plus compact (titre, texte et boutons resserrés, horaire du jour sur une ligne) */
@media (max-width: 639.98px) {
  .at-hero__in { padding-block: 1.6rem 1.7rem; }
  .at-hero .at-sur { margin-bottom: .35rem; font-size: .68rem; letter-spacing: .13em; }
  .at-hero h1 { font-size: 1.85rem; line-height: 1.1; }
  .at-hero .at-lead { font-size: .98rem; line-height: 1.5; margin-top: .6rem; }
  .at-actions { gap: .5rem; margin-top: 1.1rem; }
  .at-actions .bouton { flex: 1 1 100%; min-height: 46px; padding-block: .6rem; font-size: .98rem; }
  .at-chip { margin-top: .9rem; padding: .45rem .8rem; border-radius: 14px; font-size: .88rem; align-items: flex-start; gap: .5rem; }
  .at-chip .at-ico { width: 18px; height: 18px; margin-top: .05rem; }
  .at-chip span { line-height: 1.35; }
}
@media (max-width: 639.98px) { .at-bloc { margin-block: 2.2rem; } .at-bloc > h2 { margin-bottom: 1rem; } }

/* « Ce que nous faisons » — version mobile : onglets en pastilles resserrées, panneau compact (icône à côté du titre) */
@media (max-width: 859.98px) {
  .sv4 { gap: .7rem; }
  .sv4__nav { gap: .4rem; padding-bottom: .2rem; scrollbar-width: none; }
  .sv4__nav::-webkit-scrollbar { display: none; }
  .sv4__nav label { padding: .5rem .85rem; gap: .5rem; border-radius: 999px; font-size: .9rem; }
  .sv4__nav .at-ico { width: 18px; height: 18px; }
  .sv4__p { padding: 1.1rem 1.1rem 1.2rem; border-radius: 18px; border-top-width: 3px; }
  .sv4__p::after { content: ""; display: block; clear: both; }
  .sv4__p .at-pic--grand { float: left; width: 2.6rem; height: 2.6rem; border-radius: 12px; margin: 0 .8rem .3rem 0; }
  .sv4__p .at-pic .at-ico { width: 22px; height: 22px; }
  .sv4__p h3 { font-size: 1.2rem; margin: 0 0 .15rem; line-height: 1.2; }
  .sv4__d { font-size: .93rem; margin: 0 0 .7rem; line-height: 1.4; }
  .sv4__p .at-puces { clear: both; font-size: .95rem; margin: .2rem 0 .9rem; }
  .sv4__p .at-puces li { margin-bottom: .1rem; }
  .sv4__p .bouton { width: 100%; justify-content: center; text-align: center; min-height: 44px; padding-block: .55rem; font-size: .92rem; }
}
@media (max-width: 859.98px) { .sv4__p h3, .sv4__d { overflow: hidden; } }

/* Mobile : la rangée d'onglets défile (overflow) ; on lui donne de la marge intérieure pour que l'onde de l'onglet suivant ne soit pas rognée */
@media (max-width: 859.98px) { .sv4__nav { padding: .8rem .9rem; margin: -.8rem -.9rem -.2rem; } }

/* ───── Formulaire guidé — adaptation mobile (compacte) ───── */
.atf__compteur { display: none; }
@media (max-width: 639.98px) {
  .at-demande { padding-block: 1.8rem 2.2rem; }
  .at-demande h2 { font-size: 1.55rem; } .at-demande .at-lead { font-size: .96rem; line-height: 1.45; margin-top: .5rem; }
  #atelier-form { margin-top: 1.1rem; }
  .atf { padding: 1rem .95rem; border-radius: 18px; }
  .atf__etapes { display: none; }
  .atf__compteur { display: block; margin: 0 0 .45rem; font-size: .8rem; font-weight: 700; letter-spacing: .02em; color: #d3d6da; }
  .atf__tete { margin-bottom: .9rem; } .atf__barre { height: 4px; }
  .atf__q { font-size: 1.25rem; line-height: 1.2; } .atf__aide { font-size: .9rem; margin-bottom: .8rem; }
  .atf__grille { gap: .7rem; } .atf__champ label { margin-bottom: .25rem; font-size: .92rem; }
  .atf input[type="text"], .atf input[type="email"], .atf input[type="tel"], .atf textarea { padding: .7rem .8rem; font-size: 16px; }
  .atf textarea { min-height: 6rem; }
  .atf__chips { gap: .4rem; margin-bottom: .9rem; } .atf__chip { padding: .5rem .85rem; font-size: .92rem; }
  .atf__recap { padding: .85rem; font-size: .93rem; } .atf__case { margin-top: 1rem; font-size: .9rem; }
  .atf__nav { gap: .5rem; margin-top: 1rem; flex-wrap: nowrap; }
  .atf__nav .bouton { min-height: 46px; padding-block: .55rem; font-size: .98rem; }
  .atf__suite { flex: 1; margin-left: 0; }
  .atf__note { margin-top: .7rem; font-size: .78rem; }
  .atf__erreurs { margin-top: .8rem; padding: .65rem .85rem; font-size: .92rem; }
}
/* tuiles du premier choix en 2 colonnes */
@media (max-width: 639.98px) {
  .atf__tuiles { grid-template-columns: 1fr 1fr; gap: .55rem; }
  .atf__tuile { padding: .8rem .75rem; gap: .1rem; } .atf__tuile-i { font-size: 1.5rem; } .atf__tuile strong { font-size: .95rem; line-height: 1.2; } .atf__tuile small { font-size: .78rem; line-height: 1.3; }
  .atf__duo { gap: .5rem; }
}
.atf__nav:empty { display: none; }

/* Message pré-rédigé, modifiable */
.atf__recap .atf__label--recap { margin: 0 0 .4rem; display: block; } .atf__label--recap span { font-weight: 500; color: #b9bdc3; font-size: .85rem; }
.atf__msg { width: 100%; min-height: 11rem; line-height: 1.5; }
.atf__reinit { margin-top: .5rem; padding: .4rem .8rem; border-radius: 999px; border: 1px solid rgb(255 255 255 / 28%); background: transparent; color: #fff; font: inherit; font-size: .85rem; cursor: pointer; }
.atf__reinit:hover { background: rgb(255 255 255 / 12%); }
.atf__msg { min-height: 12.5rem; }

/* ───── Formulaire guidé — présentation « éditorial » (variante 5 retenue le 08/11/2026) : sans cadre, compteur, choix numérotés ───── */
.atf { background: none; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 0; border-radius: 0; }
.atf__etapes { display: none; }
.atf__compteur { display: block; margin: 0 0 .6rem; font-size: .85rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.atf__barre { height: 2px; background: #fff3; } .atf__barre i { background: var(--accent); }
.atf__tete { margin-bottom: 2rem; }
.atf__q { font-size: clamp(1.7rem, 4vw, 2.6rem); letter-spacing: -.02em; line-height: 1.1; }
.atf__tuiles { grid-template-columns: 1fr; gap: 0; counter-reset: atf-n; border-top: 1px solid #fff3; }
.atf__tuile { counter-increment: atf-n; grid-template-columns: 3rem 1fr auto; column-gap: .6rem; align-items: center; padding: 1.2rem 1.6rem; background: none; border: 0; border-bottom: 1px solid #fff3; border-radius: 0; transition: transform .25s cubic-bezier(.2, .8, .2, 1), background .25s, border-color .25s; }
.atf__tuile:hover, .atf__tuile:focus-visible { transform: scale(1.02); background: color-mix(in srgb, var(--accent) 22%, #0000); border-bottom-color: var(--accent); }
.atf__tuile::before { content: "0" counter(atf-n); grid-row: 1 / span 2; font-size: .95rem; font-weight: 800; letter-spacing: .1em; color: var(--accent); }
.atf__tuile strong { grid-column: 2; font-size: clamp(1.15rem, 2.6vw, 1.55rem); letter-spacing: -.01em; align-self: end; }
.atf__tuile small { grid-column: 2; align-self: start; font-size: .95rem; }
.atf__tuile-i { grid-column: 3; grid-row: 1 / span 2; font-size: 1.6rem; opacity: .85; }
.atf__tuile.est-actif { background: color-mix(in srgb, var(--accent) 22%, #0000); box-shadow: none; }
.atf__coche { display: none; }
.atf__tuile--bas { grid-template-columns: 1fr; padding: .9rem 1rem; border: 1.5px solid #fff3; border-radius: 12px; } .atf__tuile--bas::before { content: none; }
.atf__duo { gap: .6rem; }
@media (max-width: 639.98px) { .atf__tuile { grid-template-columns: 2.2rem 1fr auto; padding: .95rem 1rem; } .atf__tuile-i { font-size: 1.3rem; } }

/* Section demande : colonne centrée sur la page (titre et formulaire alignés sur la même colonne) */
.at-demande__in { max-width: 58rem; margin-inline: auto; }
.at-demande .atf { margin-inline: auto; }
