/* DAO Informatique — feuille de style du site vitrine */
@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/bricolage-grotesque.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/instrument-sans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/instrument-sans-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/instrument-sans-600.woff2") format("woff2"); font-weight: 600 700; font-display: swap; }
:root {
  --bleu: #1450a0;
  --bleu-fonce: #0e3b78;
  --bleu-clair: #e6eef9;
  --encre: #0d1b33;
  --ardoise: #5b6b82;
  --fond: #f4f7fb;
  --blanc: #ffffff;
  --rouge: #e1251b;
  --trait: #d9e2ee;
  --ombre: 0 18px 40px -22px rgba(13, 27, 51, .35);
  --r: 14px;
  --max: 1160px;
  --titre: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --texte: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--fond); color: var(--encre); font: 400 17px/1.65 var(--texte); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bleu); text-underline-offset: 3px; }
a:hover { color: var(--bleu-fonce); }
:focus-visible { outline: 3px solid var(--rouge); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--titre); color: var(--encre); margin: 0; letter-spacing: -.02em; }
h1 { font-size: clamp(38px, 6.2vw, 72px); line-height: 1.02; font-weight: 700; }
h2 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.08; font-weight: 700; }
h3 { font-size: 22px; line-height: 1.25; font-weight: 650; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--encre); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }
.lead { font-size: clamp(18px, 2vw, 21px); line-height: 1.55; color: var(--ardoise); max-width: 60ch; }
.muted { color: var(--ardoise); }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 12px; border: 2px solid var(--bleu); background: var(--bleu); color: #fff; font: 600 16px/1 var(--texte); text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.btn:hover { background: var(--bleu-fonce); border-color: var(--bleu-fonce); color: #fff; }
.btn-line { background: transparent; color: var(--encre); border-color: var(--encre); }
.btn-line:hover { background: var(--encre); border-color: var(--encre); color: #fff; }
.btn-wa { background: #128c4a; border-color: #128c4a; }
.btn-wa:hover { background: #0d6e3a; border-color: #0d6e3a; }
.btn svg { width: 20px; height: 20px; flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* En-tête */
.top { position: sticky; top: 0; z-index: 50; background: rgba(244, 247, 251, .92); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--trait); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--encre); }
.brand img { width: 64px; height: auto; }
.brand span { font: 700 19px/1.1 var(--titre); letter-spacing: -.01em; }
.brand small { display: block; font: 500 12.5px/1.3 var(--texte); color: var(--ardoise); letter-spacing: 0; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 10px 14px; border-radius: 10px; color: var(--encre); text-decoration: none; font-weight: 550; font-size: 15.5px; }
.nav a:hover { background: var(--bleu-clair); color: var(--bleu-fonce); }
.nav a[aria-current="page"] { color: var(--bleu); box-shadow: inset 0 -2px 0 var(--rouge); border-radius: 0; }
.nav .btn { min-height: 44px; padding: 0 18px; margin-left: 8px; font-size: 15px; color: #fff; }
.nav .btn:hover { background: var(--bleu-fonce); color: #fff; }
.burger { display: none; width: 46px; height: 46px; border: 1.5px solid var(--trait); border-radius: 12px; background: #fff; align-items: center; justify-content: center; cursor: pointer; }
.burger span, .burger span::before, .burger span::after { display: block; width: 20px; height: 2px; background: var(--encre); border-radius: 2px; position: relative; transition: transform .2s, background .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 960px) {
  .burger { display: inline-flex; }
  .nav { position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 24px; background: var(--fond); border-bottom: 1px solid var(--trait); box-shadow: 0 20px 30px -20px rgba(13,27,51,.25); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 6px; border-bottom: 1px solid var(--trait); border-radius: 0; font-size: 17px; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--rouge); padding-left: 14px; }
  .nav .btn { margin: 16px 0 0; min-height: 52px; border-bottom: 0; }
}

/* Sections */
.sec { padding: clamp(64px, 9vw, 112px) 0; }
.sec-white { background: #fff; }
.sec-ink { background: var(--encre); color: #dbe5f3; }
.sec-ink h2, .sec-ink h3 { color: #fff; }
.sec-head { display: grid; gap: 14px; margin-bottom: clamp(36px, 5vw, 56px); max-width: 720px; }
.sec-head p { margin: 0; }

/* Accueil : bandeau d'ouverture */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 8vw, 96px); }
.hero .wrap { display: grid; grid-template-columns: 1.12fr .88fr; gap: 40px; align-items: center; }
.hero h1 { margin-bottom: 22px; font-size: clamp(38px, 5.2vw, 62px); }
.hero .lead { margin-bottom: 30px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; color: var(--ardoise); font-size: 15px; }
.hero-facts b { color: var(--encre); font-weight: 650; }
.stage { position: relative; height: 560px; }
.orbit { position: absolute; inset: -6% -14% -2% -10%; width: 124%; height: 108%; pointer-events: none; }
.orbit path { fill: none; stroke: var(--rouge); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: trace 1.8s .3s cubic-bezier(.6, .1, .2, 1) forwards; }
.orbit circle { fill: var(--rouge); opacity: 0; animation: dot .3s 1.95s forwards; }
@keyframes trace { to { stroke-dashoffset: 0; } }
@keyframes dot { to { opacity: 1; } }
.phone { position: absolute; width: 232px; aspect-ratio: 375 / 760; border-radius: 34px; background: #0d1b33; padding: 9px; box-shadow: var(--ombre), 0 0 0 1px rgba(13,27,51,.08); }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 26px; background: #fff; }
.phone.a { left: 10%; top: 40px; transform: rotate(-5deg); z-index: 2; }
.phone.b { right: 6%; top: 0; transform: rotate(4deg); }
.stage .tag { position: absolute; z-index: 3; background: #fff; border-radius: 12px; padding: 10px 14px; box-shadow: var(--ombre); font-size: 14px; line-height: 1.3; }
.stage .tag b { display: block; font: 650 15px/1.2 var(--titre); }
.stage .tag.t1 { left: 0; bottom: 70px; } .stage .tag.t2 { right: 0; bottom: 130px; }
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .stage { height: 470px; max-width: 520px; width: 100%; margin: 10px auto 0; }
  .phone { width: 196px; }
}
@media (max-width: 480px) {
  .stage { height: 400px; }
  .phone { width: 168px; border-radius: 28px; padding: 7px; }
  .phone img { border-radius: 22px; }
  .phone.a { left: 2%; } .phone.b { right: 0; }
  .stage .tag { font-size: 13px; padding: 8px 11px; }
}

/* Services : liste en deux colonnes */
.svc { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--trait); }
.svc > div { display: grid; grid-template-columns: 52px 1fr; gap: 6px 18px; padding: 28px 28px 28px 0; border-bottom: 1px solid var(--trait); }
.svc > div:nth-child(2n) { padding-left: 28px; border-left: 1px solid var(--trait); }
.svc .ico { grid-row: span 2; width: 52px; height: 52px; border-radius: 14px; background: var(--bleu-clair); color: var(--bleu); display: grid; place-items: center; }
.svc .ico svg { width: 26px; height: 26px; }
.svc p { margin: 0; color: var(--ardoise); }
.svc .price { display: inline-block; margin-top: 8px; font-weight: 600; color: var(--encre); }
@media (max-width: 760px) { .svc { grid-template-columns: 1fr; } .svc > div, .svc > div:nth-child(2n) { padding: 24px 0; border-left: 0; } }

/* Réalisations */
.work { display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(36px, 5vw, 56px) 0; border-top: 1px solid var(--trait); }
.work:first-of-type { border-top: 0; padding-top: 0; }
.work .shots { position: relative; height: 420px; }
.work .shots .phone { width: 200px; }
.work .shots .phone:first-child { left: 0; top: 0; transform: rotate(-3deg); z-index: 2; }
.work .shots .phone:nth-child(2) { left: 100px; top: 46px; transform: rotate(4deg); }
.work h3 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 6px; }
.work .kind { color: var(--bleu); font-weight: 600; margin-bottom: 14px; }
.work ul { margin: 0 0 22px; padding: 0; list-style: none; display: grid; gap: 8px; }
.work li { padding-left: 26px; position: relative; color: var(--ardoise); }
.work li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--rouge); }
.work .live { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.work .live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #1aa35c; box-shadow: 0 0 0 4px rgba(26, 163, 92, .15); }
@media (max-width: 860px) { .work { grid-template-columns: 1fr; } .work .shots { height: 380px; max-width: 320px; } .work .shots .phone { width: 180px; } .work .shots .phone:nth-child(2) { left: 120px; } }
@media (max-width: 400px) { .work .shots .phone { width: 160px; } .work .shots .phone:nth-child(2) { left: 100px; } .work .shots { height: 340px; } }

.past { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; border-top: 1px solid var(--trait); }
.past > div { padding: 22px 0; border-bottom: 1px solid var(--trait); }
.past h3 { font-size: 20px; margin-bottom: 4px; }
.past p { margin: 0; color: var(--ardoise); }
@media (max-width: 760px) { .past { grid-template-columns: 1fr; } }

/* Formations : tableau des tarifs */
.tarifs { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: 0 0 0 1px var(--trait); }
.tarifs th, .tarifs td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--trait); vertical-align: top; }
.tarifs thead th { background: var(--encre); color: #fff; font: 600 15px/1.3 var(--texte); }
.tarifs tbody th { font: 650 18px/1.3 var(--titre); }
.tarifs tbody th a { color: var(--encre); text-decoration: none; }
.tarifs tbody th a:hover { color: var(--bleu); text-decoration: underline; }
.tarifs tbody th small { display: block; font: 400 14.5px/1.45 var(--texte); color: var(--ardoise); margin-top: 4px; }
.tarifs td { font-weight: 600; white-space: nowrap; }
.tarifs tr:last-child > * { border-bottom: 0; }
.tarifs-note { margin-top: 14px; font-size: 15px; color: var(--ardoise); }
@media (max-width: 760px) {
  .tarifs thead { display: none; }
  .tarifs, .tarifs tbody, .tarifs tr, .tarifs th, .tarifs td { display: block; width: 100%; }
  .tarifs tr { border-bottom: 1px solid var(--trait); padding: 6px 0; }
  .tarifs tr:last-child { border-bottom: 0; }
  .tarifs th, .tarifs td { border: 0; padding: 8px 18px; }
  .tarifs td { display: flex; justify-content: space-between; gap: 14px; font-weight: 600; }
  .tarifs td::before { content: attr(data-l); font-weight: 400; color: var(--ardoise); }
}
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 40px; border-top: 1px solid var(--trait); }
.modes > div { padding: 22px 22px 0 0; }
.modes > div + div { padding-left: 22px; border-left: 1px solid var(--trait); }
.modes h3 { font-size: 19px; margin-bottom: 6px; }
.modes p { margin: 0; color: var(--ardoise); font-size: 16px; }
@media (max-width: 760px) { .modes { grid-template-columns: 1fr; } .modes > div, .modes > div + div { padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--trait); } }

/* Page formation détaillée */
.crumbs { font-size: 15px; color: var(--ardoise); margin-bottom: 18px; }
.crumbs a { color: var(--ardoise); }
.crumbs span { margin: 0 8px; }
.split { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.prog { list-style: none; margin: 0; padding: 0; counter-reset: s; border-top: 1px solid var(--trait); }
.prog li { counter-increment: s; display: grid; grid-template-columns: 48px 1fr; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--trait); }
.prog li::before { content: counter(s); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--bleu-clair); color: var(--bleu); font: 700 17px/1 var(--titre); }
.prog b { display: block; font: 650 19px/1.3 var(--titre); }
.prog span { color: var(--ardoise); }
.aside { background: #fff; border-radius: var(--r); padding: 28px; box-shadow: 0 0 0 1px var(--trait); position: sticky; top: 100px; }
.aside h3 { margin-bottom: 14px; }
.aside dl { margin: 0 0 22px; display: grid; gap: 0; }
.aside dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--trait); }
.aside dt { color: var(--ardoise); }
.aside dd { margin: 0; font-weight: 650; text-align: right; }
.aside .btn { width: 100%; }
.aside .small { font-size: 14.5px; color: var(--ardoise); margin: 14px 0 0; }
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.facts li { background: #fff; border: 1px solid var(--trait); border-radius: 999px; padding: 7px 14px; font-size: 15px; }

/* Galerie photos (formations) */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* Parcours */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: rgba(255,255,255,.15); }
.timeline li { position: relative; padding: 0 0 34px 44px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--encre); border: 3px solid var(--rouge); }
.timeline time { display: block; font: 600 15px/1.4 var(--texte); color: #9fb3d1; margin-bottom: 2px; }
.timeline b { display: block; font: 650 21px/1.3 var(--titre); color: #fff; margin-bottom: 4px; }
.timeline p { margin: 0; color: #c3d0e4; max-width: 56ch; }
.cols { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 860px) { .cols { grid-template-columns: 1fr; } }

/* Partenaires */
.partners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--trait); }
.partners > div { padding: 26px 26px 26px 0; }
.partners > div + div { padding-left: 26px; border-left: 1px solid var(--trait); }
.partners h3 { font-size: 20px; margin-bottom: 6px; }
.partners p { margin: 0 0 10px; color: var(--ardoise); font-size: 16px; }
.partners a { font-weight: 600; font-size: 15.5px; }
@media (max-width: 860px) { .partners { grid-template-columns: 1fr; } .partners > div, .partners > div + div { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--trait); } }

/* Bandeau d'appel */
.cta { background: var(--bleu); color: #e9f0fb; border-radius: 22px; padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: center; position: relative; overflow: hidden; }
.cta > * { position: relative; z-index: 1; }
.cta h2 { color: #fff; margin-bottom: 10px; }
.cta p { margin: 0; max-width: 52ch; }
.cta .btn { background: #fff; border-color: #fff; color: var(--bleu-fonce); }
.cta .btn:hover { background: var(--fond); }
.cta .btn-line { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.cta .btn-line:hover { background: rgba(255,255,255,.12); color: #fff; }
.cta::after { content: ""; position: absolute; right: -80px; top: -120px; width: 320px; height: 320px; border-radius: 50%; border: 2px solid rgba(225, 37, 27, .55); pointer-events: none; }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.form { background: #fff; border-radius: var(--r); padding: 28px; box-shadow: 0 0 0 1px var(--trait); display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 15.5px; }
.form input, .form textarea, .form select { width: 100%; font: 400 16px/1.4 var(--texte); padding: 13px 14px; border: 1.5px solid var(--trait); border-radius: 10px; background: var(--fond); color: var(--encre); }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--bleu); background: #fff; }
.form .msg { margin: 0; min-height: 1.2em; color: var(--rouge); font-weight: 600; font-size: 15px; }
.coords { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--trait); }
.coords li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--trait); align-items: center; }
.coords .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--bleu-clair); color: var(--bleu); display: grid; place-items: center; }
.coords .ico svg { width: 22px; height: 22px; }
.coords small { display: block; color: var(--ardoise); font-size: 14px; }
.coords a { font-weight: 600; text-decoration: none; color: var(--encre); }
.coords a:hover { color: var(--bleu); }

/* En-tête des pages intérieures */
.page-head { padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 40px); }
.page-head h1 { font-size: clamp(36px, 5.4vw, 60px); margin-bottom: 16px; max-width: 18ch; }

/* Pied de page */
.foot { background: var(--encre); color: #b8c6dc; padding: 64px 0 28px; font-size: 15.5px; }
.foot .grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot h3 { color: #fff; font-size: 16px; margin-bottom: 12px; font-family: var(--texte); font-weight: 650; letter-spacing: 0; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { color: #dbe5f3; text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot .logo { background: #fff; border-radius: 12px; padding: 8px 10px; width: 96px; margin-bottom: 14px; }
.foot .bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 14px; color: #8fa2c0; }
@media (max-width: 860px) { .foot .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot .grid { grid-template-columns: 1fr; } }

/* Bouton WhatsApp flottant (mobile) */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #128c4a; color: #fff; display: none; place-items: center; box-shadow: 0 10px 24px -8px rgba(0,0,0,.45); }
.wa-float svg { width: 30px; height: 30px; }
@media (max-width: 960px) { .wa-float { display: grid; } }

/* ---------- Téléphone d'abord : version mobile allégée ---------- */
.mob { display: none; }
@media (max-width: 640px) {
  body { font-size: 16px; }
  .desk, .city { display: none; }
  .mob { display: inline; }
  .sec { padding: 56px 0; }
  .sec-head { gap: 10px; margin-bottom: 28px; }
  h2 { font-size: 30px; }
  .lead { font-size: 17px; }
  .top .wrap { height: 64px; }
  .brand img { width: 52px; }
  .brand span { font-size: 17px; }
  .brand small { display: none; }
  .nav { inset: 64px 0 auto 0; }

  .hero { padding: 22px 0 36px; }
  .hero .wrap { gap: 0; }
  .hero h1 { font-size: 34px; line-height: 1.06; margin-bottom: 12px; }
  .hero .lead { margin-bottom: 20px; }
  .hero .actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero .actions .btn { padding: 0 12px; font-size: 15px; min-height: 50px; }
  .hero-facts { display: none; }
  .stage { height: 330px; margin-top: 18px; }
  .phone { width: 150px; border-radius: 26px; padding: 6px; }
  .phone img { border-radius: 21px; }
  .phone.a { left: 6%; top: 26px; }
  .phone.b { right: 4%; top: 0; }
  .stage .tag { font-size: 12.5px; padding: 7px 10px; border-radius: 10px; }
  .stage .tag b { font-size: 13.5px; }
  .stage .tag.t1 { left: 0; bottom: 18px; }
  .stage .tag.t2 { right: 0; bottom: 64px; }

  .svc > div { grid-template-columns: 40px 1fr; gap: 4px 14px; padding: 18px 0; }
  .svc .ico { width: 40px; height: 40px; border-radius: 11px; }
  .svc .ico svg { width: 21px; height: 21px; }
  .svc h3 { font-size: 19px; }
  .svc p { font-size: 15.5px; }

  .work { gap: 18px; padding: 36px 0; }
  .work .shots { height: 300px; max-width: 290px; }
  .work .shots .phone { width: 140px; }
  .work .shots .phone:nth-child(2) { left: 110px; top: 30px; }
  .work li { font-size: 15.5px; }
  .page-head { padding: 28px 0 22px; }
  .page-head h1 { font-size: 34px; }
  .cta { padding: 28px 22px; border-radius: 18px; }
  .cta .actions { display: grid; grid-template-columns: 1fr; }
  .aside { position: static; }
}
@media (max-width: 760px) {
  .tarifs th, .tarifs td { box-sizing: border-box; }
  .tarifs td { font-size: 15.5px; white-space: normal; }
  .tarifs td::before { flex: 1; }
}
/* Frise sur fond clair (formations réalisées) */
.timeline.light::before { background: var(--trait); }
.timeline.light li::before { background: #fff; }
.timeline.light time { color: var(--bleu); }
.timeline.light b { color: var(--encre); }
.timeline.light p { color: var(--ardoise); }
/* Blocs gérés depuis l'espace administrateur */
.timeline .where { display: block; font-size: 15px; color: var(--ardoise); margin-bottom: 4px; }
.timeline.light .where { font-weight: 600; color: var(--encre); opacity: .75; }
.tl-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; max-width: 480px; }
.tl-photos img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.past .logo { display: block; width: auto; height: 48px; max-width: 160px; object-fit: contain; margin-bottom: 12px; }
.gallery img { height: auto; }
.aside dd { white-space: nowrap; }
.past .logo { height: 56px; border-radius: 12px; }
/* Partenaires : logos qui défilent */
.defile { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.defile-piste { display: flex; gap: 22px; width: max-content; animation: defile 32s linear infinite; padding: 6px 0; }
.defile:hover .defile-piste, .defile:focus-within .defile-piste { animation-play-state: paused; }
.defile-logo { flex: none; display: grid; place-items: center; width: 132px; height: 132px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--trait); transition: box-shadow .2s; }
.defile-logo:hover { box-shadow: 0 0 0 2px var(--bleu); }
.defile-logo img { width: 104px; height: 104px; object-fit: contain; }
@keyframes defile { to { transform: translateX(calc(-50% - 11px)); } }
@media (max-width: 640px) { .defile-logo { width: 104px; height: 104px; border-radius: 18px; } .defile-logo img { width: 80px; height: 80px; } }
@media (prefers-reduced-motion: reduce) {
  .defile { -webkit-mask-image: none; mask-image: none; }
  .defile-piste { animation: none; flex-wrap: wrap; width: auto; }
  .defile-logo[aria-hidden="true"] { display: none; }
}
/* Partenaires : fiches */
.pcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.pcard { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 30px 24px 26px; background: #fff; border: 1px solid var(--trait); border-left: 4px solid var(--bleu); border-radius: 20px; }
.pcard-logo { width: 128px; height: 128px; display: grid; place-items: center; margin-bottom: 18px; }
.pcard-logo img { width: 128px; height: 128px; object-fit: contain; border-radius: 14px; }
.pcard-logo.vide { border-radius: 24px; background: var(--bleu-clair); color: var(--bleu); font: 700 52px/1 var(--titre); }
.pcard-cat { margin: 0 0 6px; color: var(--rouge); font-weight: 600; font-size: 14px; letter-spacing: .02em; }
.pcard h2 { font-size: 24px; line-height: 1.2; margin: 0 0 8px; }
.pcard-desc { margin: 0; color: var(--ardoise); font-size: 16px; max-width: 34ch; }
.pcard-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; width: 100%; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--trait); }
.pcard-desc + .pcard-acts, .pcard h2 + .pcard-acts { margin-top: 20px; }
.pcard-acts .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }
@media (max-width: 640px) {
  .pcards { grid-template-columns: 1fr; }
  .pcard { padding: 26px 18px 22px; }
  .pcard-logo, .pcard-logo img { width: 112px; height: 112px; }
}
/* Réalisations : navigation interne */
.sous-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.sous-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--trait); color: var(--encre); font-weight: 600; text-decoration: none; }
.sous-nav a:hover { box-shadow: 0 0 0 2px var(--bleu); color: var(--bleu); }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* Accueil : grands points */
.points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.points li { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 18px; background: var(--fond); }
.sec:not(.sec-white) .points li { background: #fff; }
.points .ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--bleu-clair); color: var(--bleu); }
.points .ico svg { width: 24px; height: 24px; }
.points b { font: 650 19px/1.3 var(--titre); }
.points span:not(.ico) { color: var(--ardoise); font-size: 15.5px; }
.sec .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 900px) { .points { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .points { grid-template-columns: 1fr; gap: 10px; } .points li { flex-direction: row; align-items: center; padding: 14px 16px; gap: 14px; flex-wrap: wrap; } .points b { flex: 1; min-width: 0; } .points .ico { flex: none; } .points span:not(.ico) { flex-basis: 100%; padding-left: 60px; margin-top: -8px; } .points b { font-size: 17.5px; } }
/* Accueil : aperçu des réalisations */
.apercu { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.apercu-carte { display: flex; align-items: center; gap: 22px; padding: 22px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--trait); color: inherit; text-decoration: none; transition: box-shadow .2s; }
.apercu-carte:hover { box-shadow: 0 0 0 2px var(--bleu); }
.apercu-carte .phone { flex: none; width: 120px; position: static; transform: none; }
.apercu-carte h3 { font-size: 22px; margin: 0 0 6px; }
.apercu-carte p { margin: 0 0 10px; color: var(--ardoise); font-size: 15.5px; }
.apercu-url { color: var(--bleu); font-weight: 600; font-size: 15px; }
@media (max-width: 760px) { .apercu { grid-template-columns: 1fr; gap: 14px; } .apercu-carte { padding: 16px; gap: 16px; } .apercu-carte .phone { width: 92px; } }
/* Formations : sur mesure */
.surmesure { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; padding: 30px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--trait); border-left: 4px solid var(--rouge); }
.surmesure h2 { margin-bottom: 8px; }
.surmesure .lead { margin: 0; max-width: 60ch; }
.surmesure .btn { flex: none; }
@media (max-width: 760px) { .surmesure { flex-direction: column; align-items: stretch; padding: 22px; } }
/* Pied de page simplifié */
.foot { padding-top: 56px; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; }
.foot-row p { margin: 0; max-width: 46ch; }
.foot-contact h3 { margin-bottom: 14px; }
.foot .btn-white, .foot a.btn-white { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border-radius: 12px; background: #fff; color: var(--bleu); font-weight: 600; text-decoration: none; }
.foot a.btn-white:hover { background: var(--bleu-clair); color: var(--bleu-fonce); text-decoration: none; }
.foot .bottom { margin-top: 36px; }
@media (max-width: 640px) { .foot-contact, .foot-contact .btn-white { width: 100%; } }

/* ---------- Sessions de formation et inscription ---------- */
.sessions { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.session { background: #fff; border-radius: var(--r); padding: 26px; box-shadow: 0 0 0 1px var(--trait); display: flex; flex-direction: column; gap: 12px; }
.session h3 { font-size: 22px; line-height: 1.25; }
.session p { margin: 0; color: var(--ardoise); font-size: 16px; }
.session .btn { margin-top: auto; align-self: flex-start; }
.session-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.session-tags span { font-size: 13.5px; font-weight: 600; padding: 4px 11px; border-radius: 999px; background: var(--bleu-clair); color: var(--bleu-fonce); }
.session-tags .gratuit { background: #e3f4ea; color: #0d6e3a; }
.session-meta { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 15.5px; }
.session-meta li { padding-left: 22px; position: relative; }
.session-meta li::before { content: ""; position: absolute; left: 3px; top: .6em; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--rouge); }
.btn.is-off { opacity: .55; cursor: default; pointer-events: none; }
.sessions-vide { margin: 0; padding: 22px 24px; background: #fff; border-radius: var(--r); box-shadow: 0 0 0 1px var(--trait); color: var(--ardoise); }
.annonce { padding: 0 0 8px; }
.annonce-in { display: grid; grid-template-columns: 1fr auto; gap: 18px 32px; align-items: center; background: var(--bleu-clair); border-radius: 20px; padding: clamp(22px, 4vw, 34px); border-left: 5px solid var(--rouge); }
.annonce-in h2 { font-size: clamp(22px, 3vw, 28px); margin: 4px 0 6px; }
.annonce-in p { margin: 0; color: var(--ardoise); }
.annonce-tag { font-weight: 700; color: var(--rouge) !important; font-size: 15px; }
.annonce-in .actions { margin: 0; }
@media (max-width: 760px) { .annonce-in { grid-template-columns: 1fr; } }
.inscription { max-width: 760px; }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-2 { grid-template-columns: 1fr; } }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .accord { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: 15.5px; line-height: 1.45; }
.form .accord input { width: 22px; height: 22px; flex: none; margin: 1px 0 0; accent-color: var(--bleu); padding: 0; }
.form .btn[disabled] { opacity: .65; cursor: wait; }
.form .small { margin: 0; font-size: 14.5px; }
.ins-done, .ins-none { background: #fff; border-radius: var(--r); padding: 32px 28px; box-shadow: 0 0 0 1px var(--trait); border-top: 5px solid #128c4a; }
.ins-none { border-top-color: var(--bleu); }
.ins-done h2, .ins-none h2 { margin-bottom: 10px; }
.ins-done .actions, .ins-none .actions { margin-top: 18px; }

[hidden] { display: none !important; }
