/* Gabarit C — typographie géante et bento (Voix Claire) */
html, body { overflow-x: clip; }
body { font-family: "DM Sans", system-ui, sans-serif; font-size: 17px; line-height: 1.6; color: #2A2F42; background: #FFFDF6; }
h1, h2, h3 { color: #111527; letter-spacing: -.035em; line-height: 1.02; }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 900; }
h3 { letter-spacing: -.02em; line-height: 1.2; }
mark { background: linear-gradient(transparent 55%, #FFD23F 55%); color: inherit; padding: 0 .08em; }
a { color: #1D44D6; }

.c-btn { display: inline-flex; align-items: center; gap: .55rem; background: #2D5BFF; color: #fff; font-weight: 800; text-decoration: none; padding: 1rem 1.6rem; border-radius: 999px; border: 2px solid #2D5BFF; cursor: pointer; transition: transform .2s; }
.c-btn:hover { transform: translateY(-2px) rotate(-1deg); }
.c-btn svg { width: 18px; height: 18px; }
.c-btn.noir { background: #111527; border-color: #111527; padding: .65rem 1.2rem; font-size: .92rem; }
.c-btn.ligne { background: transparent; color: #111527; border-color: #111527; }
.c-btn.jaune { background: #FFD23F; color: #111527; border-color: #FFD23F; }
.c-btn.petit { padding: .55rem 1rem; font-size: .88rem; }

/* En-tête avec menu en capsule */
.c-head { padding: 1.1rem 0; }
.c-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.c-logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: #111527; font-weight: 900; font-size: 1.3rem; letter-spacing: -.03em; }
.c-logo svg { width: 40px; height: 40px; }
.c-nav { display: flex; gap: .3rem; background: #EEF1FF; padding: .35rem; border-radius: 999px; }
.c-nav a { text-decoration: none; color: #2A2F42; font-weight: 700; padding: .5rem 1rem; border-radius: 999px; font-size: .94rem; }
.c-nav a[aria-current="page"] { background: #fff; color: #2D5BFF; box-shadow: 0 2px 10px rgba(45,91,255,.15); }

/* Héros géant */
.c-hero { padding: 3.5rem 0 4rem; }
.c-sur { display: inline-block; background: #111527; color: #FFD23F; font-weight: 800; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; padding: .4rem .9rem; border-radius: 999px; margin-bottom: 1.6rem; }
.c-hero h1 { font-size: clamp(3rem, 8.2vw, 6.8rem); font-weight: 900; letter-spacing: -.05em; line-height: .95; margin-bottom: 2.6rem; max-width: 12.5em; }
.c-hero-bas { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.c-lead { font-size: 1.2rem; color: #4A5068; max-width: 32em; }
.c-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin: 1.8rem 0; }
.c-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.c-chips li { border: 1.5px solid #111527; border-radius: 999px; padding: .3rem .85rem; font-size: .88rem; font-weight: 700; }
.c-visuel { position: relative; background: #2D5BFF; border-radius: 40px; aspect-ratio: 1.05; display: grid; place-items: center; overflow: hidden; }
.c-visuel svg { width: 42%; position: relative; z-index: 1; }
.c-visuel::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: #FFD23F; }
.c-bulle { position: absolute; z-index: 2; background: #fff; color: #111527; font-weight: 800; padding: .6rem 1rem; border-radius: 18px; font-size: .95rem; box-shadow: 0 10px 25px rgba(0,0,0,.15); }
.c-bulle.b1 { top: 12%; left: 8%; transform: rotate(-6deg); }
.c-bulle.b2 { top: 40%; right: 6%; transform: rotate(5deg); background: #111527; color: #fff; }
.c-bulle.b3 { bottom: 10%; left: 12%; transform: rotate(-3deg); }

/* Bande défilante */
.c-defile { background: #111527; color: #fff; overflow: hidden; padding: 1.1rem 0; transform: rotate(-1.2deg); margin: 1rem -1rem; }
.c-defile div { display: flex; gap: 1.6rem; width: max-content; animation: defile 28s linear infinite; font-weight: 900; font-size: 1.6rem; letter-spacing: -.02em; }
.c-defile b { color: #FFD23F; }
@keyframes defile { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .c-defile div { animation: none; } }

.c-sec { padding: 5rem 0; }
.c-noir { background: #111527; color: rgba(255,255,255,.75); }
.c-noir h2, .c-noir h3 { color: #fff; }
.c-tete { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 2.2rem; flex-wrap: wrap; }
.c-tete h2 { margin: 0; }
.c-tete a { font-weight: 800; text-decoration: none; display: inline-flex; gap: .4rem; align-items: center; }
.c-tete a svg { width: 18px; height: 18px; }

/* Bloc pratique : grand chiffre */
.c-pratique { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2rem; align-items: stretch; }
.c-gros { background: #FFD23F; border-radius: 32px; padding: 2.4rem; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; }
.c-gros strong { font-size: clamp(5rem, 12vw, 8.5rem); font-weight: 900; letter-spacing: -.06em; line-height: .9; color: #111527; }
.c-gros span { font-size: 1.25rem; font-weight: 800; color: #111527; max-width: 14em; }
.c-pts { display: grid; gap: 1.2rem; }
.c-pts > div { background: #fff; border: 2px solid #111527; border-radius: 28px; padding: 1.8rem; box-shadow: 6px 6px 0 #111527; }
.c-pts .ico { width: 48px; height: 48px; border-radius: 14px; background: #EEF1FF; color: #2D5BFF; margin-bottom: .9rem; }
.c-pts h3 { font-size: 1.3rem; margin-bottom: .35rem; }
.c-pts p { margin: 0; color: #4A5068; }

/* Bento des formations */
.c-bento { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: auto auto; gap: 1.2rem; }
.c-b { border-radius: 30px; padding: 2rem; text-decoration: none; color: #111527; display: flex; flex-direction: column; gap: .6rem; transition: transform .2s; position: relative; }
a.c-b:hover { transform: translateY(-4px); }
.c-b h3 { font-size: 1.5rem; margin: 0; }
.c-b p { margin: 0; color: inherit; opacity: .82; }
.c-b .ico { width: 50px; height: 50px; border-radius: 14px; background: rgba(255,255,255,.7); color: #2D5BFF; }
.c-b1 { background: #2D5BFF; color: #fff; grid-row: span 2; justify-content: flex-end; min-height: 380px; }
.c-b1 h3 { color: #fff; font-size: 2.1rem; }
.c-b1 strong { font-size: 2.6rem; font-weight: 900; letter-spacing: -.04em; margin-top: .6rem; }
.c-tag { align-self: flex-start; background: #FFD23F; color: #111527; font-weight: 800; font-size: .8rem; padding: .3rem .8rem; border-radius: 999px; margin-bottom: auto; }
.c-b2 { background: #FFF1BF; }
.c-b3 { background: #EEF1FF; }
.c-b4 { background: #111527; color: #fff; grid-column: span 2; }
.c-b4 h3 { color: #fff; }
.c-fl { position: absolute; right: 1.6rem; top: 1.6rem; width: 46px; height: 46px; border-radius: 50%; background: #FFD23F; color: #111527; display: grid; place-items: center; }
.c-fl svg { width: 20px; height: 20px; }
.c-bento-3 { grid-template-columns: repeat(3, 1fr); grid-template-rows: auto; }
.c-bento-3 .c-b1 { grid-row: auto; min-height: 0; justify-content: flex-start; }
.c-bento-3 .c-b1 h3 { font-size: 1.5rem; }
.c-bento-3 .c-b1 .ico { color: #2D5BFF; }

/* Étapes géantes */
.c-etapes { list-style: none; padding: 0; margin: 2.4rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.c-etapes span { display: block; font-size: 4.5rem; font-weight: 900; line-height: 1; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 2px #FFD23F; margin-bottom: 1rem; }
.c-etapes h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.c-etapes p { margin: 0; }

/* Formatrice */
.c-elise { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3.5rem; align-items: center; }
.c-elise h2 { margin-bottom: 1rem; }
.c-elise .c-lead { margin-bottom: 1.6rem; }
.c-photo { position: relative; background: linear-gradient(160deg, #FFD23F, #FF9E3F 45%, #2D5BFF); border-radius: 50% 50% 40px 40px; aspect-ratio: .9; display: grid; place-items: end center; overflow: visible; max-width: 420px; justify-self: center; width: 100%; }
.c-photo svg { width: 70%; }
.c-sticker { position: absolute; background: #111527; color: #fff; font-weight: 800; padding: .55rem 1rem; border-radius: 999px; font-size: .9rem; }
.c-sticker.s1 { top: 18%; left: -8%; transform: rotate(-8deg); }
.c-sticker.s2 { bottom: 16%; right: -5%; background: #FFD23F; color: #111527; transform: rotate(7deg); }

/* Témoignage carte inclinée */
.c-temoin { margin: 0 auto; max-width: 860px; background: #2D5BFF; color: #fff; border-radius: 36px; padding: 3rem; transform: rotate(-1.5deg); box-shadow: 12px 12px 0 #FFD23F; }
.c-temoin blockquote { margin: 0 0 1.2rem; font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.3; }
.c-temoin figcaption { opacity: .85; }

/* FAQ deux colonnes */
.c-faq-g { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: start; }
.c-faq-g h2 { position: sticky; top: 1.5rem; font-size: clamp(2rem, 3.6vw, 2.9rem); }
.q { border: 2px solid #111527; border-radius: 22px; padding: 1.1rem 1.4rem; margin-bottom: .9rem; background: #fff; }
.q summary { font-weight: 800; color: #111527; display: flex; justify-content: space-between; gap: 1rem; }
.q summary::after { content: "+"; width: 28px; height: 28px; flex: none; border-radius: 50%; background: #FFD23F; display: grid; place-items: center; font-weight: 900; }
.q[open] summary::after { content: "−"; }
.q p { margin: .8rem 0 0; color: #4A5068; }

.c-cta { background: #111527; border-radius: 44px; padding: clamp(2.5rem, 6vw, 4.5rem); color: rgba(255,255,255,.75); position: relative; overflow: hidden; }
.c-cta::after { content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%; background: #2D5BFF; right: -90px; bottom: -150px; }
.c-cta h2 { color: #fff; max-width: 12em; position: relative; z-index: 1; }
.c-cta p { font-size: 1.15rem; margin-bottom: 1.8rem; position: relative; z-index: 1; }
.c-cta .c-btn { position: relative; z-index: 1; }

/* Pages intérieures */
.c-ph { padding: 3rem 0 2.5rem; }
.c-ph h1 { font-size: clamp(3rem, 8vw, 6rem); font-weight: 900; letter-spacing: -.05em; line-height: .95; margin-bottom: 1.4rem; }
.c-fil { font-weight: 700; color: #4A5068; font-size: .9rem; }
.c-fil a { color: inherit; }
.c-form { display: grid; grid-template-columns: 100px 1fr 210px; gap: 2rem; padding: 2.4rem 0; border-top: 2px solid #111527; align-items: start; }
.c-form:last-child { border-bottom: 2px solid #111527; }
.c-num { font-size: 3.6rem; font-weight: 900; color: transparent; -webkit-text-stroke: 2px #2D5BFF; line-height: 1; }
.c-form h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: .6rem; }
.c-form p { color: #4A5068; }
.c-px { text-align: right; display: grid; justify-items: end; gap: .2rem; }
.c-px strong { font-size: 2rem; font-weight: 900; letter-spacing: -.04em; }
.c-px span { color: #4A5068; font-size: .9rem; margin-bottom: .8rem; }
.c-contact { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; }
.c-carte-form { background: #fff; border: 2px solid #111527; border-radius: 32px; padding: 2.4rem; box-shadow: 8px 8px 0 #2D5BFF; }
.c-coord { background: #FFD23F; border-radius: 32px; padding: 2rem; align-self: start; }
.c-infos { list-style: none; padding: 0; margin: 0; }
.c-infos li { display: flex; gap: 1rem; padding: .9rem 0; border-bottom: 2px solid rgba(17,21,39,.12); }
.c-infos li:last-child { border: 0; }
.c-infos .ico svg { width: 22px; height: 22px; }
.c-infos strong { display: block; color: #111527; }
.form label { display: block; font-weight: 800; font-size: .9rem; margin-bottom: .35rem; color: #111527; }
.form input, .form select, .form textarea { width: 100%; border: 2px solid #111527; border-radius: 16px; background: #FFFDF6; padding: .75rem 1rem; color: #2A2F42; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid #FFD23F; }
.form p { margin: 0 0 1rem; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.c-foot { padding: 4rem 0 1.5rem; border-top: 2px solid #111527; margin-top: 2rem; }
.c-foot-g { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.c-foot-g h3 { font-size: 1.2rem; }
.c-foot-g nav { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.c-foot-g nav a { color: #111527; font-weight: 700; text-decoration: none; }
.c-geant { font-size: clamp(4rem, 15vw, 12rem); font-weight: 900; letter-spacing: -.06em; line-height: .9; color: #2D5BFF; margin: 2rem 0 1.5rem; }
.c-foot-bas { display: flex; justify-content: space-between; gap: .6rem; flex-wrap: wrap; font-size: .85rem; color: #4A5068; }

@media (max-width: 920px) {
  .c-hero-bas, .c-pratique, .c-elise, .c-faq-g, .c-contact { grid-template-columns: 1fr; }
  .c-bento { grid-template-columns: 1fr 1fr; }
  .c-b1 { grid-row: auto; grid-column: span 2; min-height: 280px; }
  .c-etapes { grid-template-columns: 1fr 1fr; }
  .c-faq-g h2 { position: static; }
  .c-form { grid-template-columns: 70px 1fr; } .c-px { grid-column: 2; text-align: left; justify-items: start; }
}
@media (max-width: 640px) {
  .c-head .wrap { flex-wrap: wrap; }
  .c-nav { order: 3; width: 100%; overflow-x: auto; }
  .c-head .c-btn { display: none; }
  .c-bento, .c-bento-3, .c-etapes, .f2 { grid-template-columns: 1fr; }
  .c-b1, .c-b4 { grid-column: auto; }
  .c-form { grid-template-columns: 1fr; gap: .6rem; } .c-px { grid-column: auto; }
  .c-sticker.s1 { left: 0; } .c-sticker.s2 { right: 0; }
  .c-temoin { padding: 2rem; }
}
.a-nav a, .b-nav a, .c-nav a, .d-nav a { white-space: nowrap; }
@media (max-width: 640px) { .c-nav { justify-content: space-between; } .c-nav a { padding: .45rem .7rem; font-size: .85rem; } }
.c-h2f { font-size: 2rem; margin-bottom: 1.2rem; }
