/*
 * Cornélius World — feuille de style du site
 * © 2026 Cornélius World. Tous droits réservés.
 * Polices : Bricolage Grotesque et Figtree (SIL Open Font License), hébergées sur le site.
 */
@font-face { font-family: "Bricolage"; src: url("fonts/bricolage-Bold.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Bricolage"; src: url("fonts/bricolage-ExtraBold.woff") format("woff"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree-var.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }

:root {
  --night: #0B1630;
  --night-2: #12224A;
  --night-3: #1B2F5E;
  --orange: #FF8A1F;
  --orange-ink: #C25E00;
  --blue: #6FA0FF;
  --blue-ink: #2556C8;
  --paper: #F6F4EF;
  --card: #FFFFFF;
  --ink: #0E1A33;
  --ink-2: #44506A;
  --ink-3: #6D7891;
  --line: #E3E0D8;
  --green: #1E8C50;
  --red: #C8372D;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(14, 26, 51, .06), 0 8px 24px -12px rgba(14, 26, 51, .18);
  --display: "Bricolage", "Figtree", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1180px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-ink); text-underline-offset: 3px; }
a:hover { color: var(--orange-ink); }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 .5em; color: inherit; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.28rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--orange); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.muted { color: var(--ink-3); }
.small { font-size: .88rem; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.mt0 { margin-top: 0; } .mb0 { margin-bottom: 0; }

/* ---------- Bandeau et en-tête ---------- */
.announce { background: var(--orange); color: #1b0d00; font-weight: 600; font-size: .92rem; text-align: center; padding: 8px 16px; }
.site-head { background: var(--night); color: #fff; position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(255,255,255,.07); }
.head-in { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 36px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav > a, .nav .dd > span { color: #DCE4F7; text-decoration: none; font-weight: 600; font-size: .95rem; padding: 10px 11px; border-radius: 10px; cursor: pointer; display: inline-block; }
.nav > a:hover, .nav .dd:hover > span, .nav .dd:focus-within > span { color: #fff; background: rgba(255,255,255,.07); }
.nav > a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--orange); border-radius: 10px 10px 0 0; }
.nav .hot { color: #FFC48C; }
.dd { position: relative; }
.dd-menu { position: absolute; top: 100%; left: -10px; min-width: 290px; background: #fff; color: var(--ink); border-radius: 14px; box-shadow: 0 20px 40px -12px rgba(0,0,0,.35); padding: 8px; display: none; }
.dd:hover .dd-menu, .dd:focus-within .dd-menu { display: block; }
.dd-menu a { display: block; padding: 9px 12px; border-radius: 9px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.dd-menu a small { display: block; color: var(--ink-3); font-weight: 400; font-size: .82rem; }
.dd-menu a:hover { background: var(--paper); }
.head-cta { display: flex; gap: 8px; align-items: center; }
.nav-mobile { display: none; margin-left: auto; }
.nav-mobile summary { list-style: none; cursor: pointer; border: 1px solid rgba(255,255,255,.25); border-radius: 10px; padding: 8px 12px; font-weight: 700; color: #fff; }
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile[open] .mobile-panel { display: block; }
.mobile-panel { position: absolute; left: 0; right: 0; top: 72px; background: var(--night); padding: 8px 20px 24px; border-top: 1px solid rgba(255,255,255,.1); max-height: calc(100vh - 72px); overflow-y: auto; }
.mobile-panel a { display: block; color: #fff; text-decoration: none; padding: 12px 4px; border-bottom: 1px solid rgba(255,255,255,.08); font-weight: 600; }
.mobile-panel a.sub { padding-left: 18px; font-weight: 400; color: #C8D3EE; }
.mobile-panel .btn { margin-top: 14px; display: flex; }
@media (max-width: 1160px) {
  .nav, .head-cta .hide-m { display: none; }
  .nav-mobile { display: block; }
}

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--body); font-weight: 700; font-size: 1rem; line-height: 1.2; padding: 13px 22px; border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: #1b0d00; box-shadow: 0 8px 20px -10px rgba(255,138,31,.9); }
.btn-primary:hover { background: #ff9a3d; color: #1b0d00; }
.btn-dark { background: var(--night); color: #fff; }
.btn-dark:hover { background: var(--night-3); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { border-color: #fff; color: #fff; }
.btn-line { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-line:hover { border-color: var(--ink); color: var(--ink); }
.btn-wa { background: #1FAF55; color: #fff; }
.btn-wa:hover { background: #179447; color: #fff; }
.btn-danger { background: #fff; color: var(--red); border-color: #F0C9C5; }
.btn-sm { padding: 8px 14px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-busy { opacity: .7; cursor: progress; transform: none; }
.ico { width: 18px; height: 18px; flex: 0 0 18px; }
.link-arrow { font-weight: 700; text-decoration: none; color: var(--blue-ink); }
.link-arrow::after { content: " →"; }

/* ---------- Héros ---------- */
.hero { position: relative; overflow: hidden; background: var(--night); color: #fff; padding: 72px 0 84px; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(600px 400px at 85% 10%, rgba(111,160,255,.28), transparent 70%),
  radial-gradient(500px 360px at 0% 100%, rgba(255,138,31,.18), transparent 70%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(180deg, #000, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--orange); }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero .lead { font-size: 1.2rem; color: #C9D4EE; max-width: 36em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 32px; }
.proofs { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 0; list-style: none; color: #AFC0E6; font-size: .95rem; }
.proofs li::before { content: "●"; color: var(--orange); margin-right: 8px; font-size: .7em; vertical-align: 2px; }
.hero-art { position: relative; aspect-ratio: 1 / 1; }
.orbit { position: absolute; inset: 4%; border-radius: 50%; border: 2px solid rgba(111,160,255,.35); transform: rotate(-18deg) scaleY(.55); }
.orbit.o2 { inset: 14%; border-color: rgba(255,138,31,.45); transform: rotate(24deg) scaleY(.5); }
.tile { position: absolute; border-radius: 18px; overflow: hidden; box-shadow: 0 24px 50px -18px rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.12); background: var(--night-2); }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile span { position: absolute; left: 10px; bottom: 10px; background: rgba(11,22,48,.82); color: #fff; font-weight: 700; font-size: .8rem; padding: 5px 10px; border-radius: 999px; }
.tile.t1 { left: 0; top: 8%; width: 58%; aspect-ratio: 16/10; }
.tile.t2 { right: 0; top: 30%; width: 52%; aspect-ratio: 16/10; }
.tile.t3 { left: 12%; bottom: 4%; width: 54%; aspect-ratio: 16/10; }
.dot { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 6px rgba(255,138,31,.2); }
.dot.d1 { right: 12%; top: 10%; } .dot.d2 { left: 4%; bottom: 30%; background: var(--blue); box-shadow: 0 0 0 6px rgba(111,160,255,.2); }
@media (max-width: 900px) {
  .hero { padding: 48px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-art { aspect-ratio: 4/3; }
}

.page-hero { background: var(--night); color: #fff; padding: 56px 0 48px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%; border: 2px solid rgba(111,160,255,.25); transform: scaleY(.6) rotate(-20deg); }
.page-hero p.lead { color: #C9D4EE; font-size: 1.15rem; max-width: 46em; margin: 0; }
.crumbs { font-size: .88rem; color: #9FB0D8; margin-bottom: 12px; }
.crumbs a { color: #C9D4EE; }

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section.tight { padding: 48px 0; }
.section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.dark { background: var(--night); color: #fff; }
.section.dark .muted { color: #9FB0D8; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 34px; flex-wrap: wrap; }
.sec-head p { color: var(--ink-2); max-width: 40em; margin: 0; }
.dark .sec-head p { color: #C9D4EE; }
.num { font-family: var(--display); font-weight: 800; color: var(--orange); font-size: .95rem; letter-spacing: .08em; display: block; margin-bottom: 8px; }

.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } .section { padding: 52px 0; } }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.card-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body > :last-child { margin-bottom: 0; }
.card-img { aspect-ratio: 16/9; background: #DDE5F5; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-img img { transform: scale(1.04); }
.card h3 { margin: 0; }
.card .foot { margin-top: auto; padding-top: 6px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.ticks li { padding-left: 24px; position: relative; color: var(--ink-2); font-size: .97rem; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 11px; height: 6px; border-left: 2.5px solid var(--orange); border-bottom: 2.5px solid var(--orange); transform: rotate(-45deg); }
.dark .ticks li { color: #C9D4EE; }

.tag { display: inline-block; font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #FFF0E0; color: var(--orange-ink); }
.tag.blue { background: #E6EEFF; color: var(--blue-ink); }
.tag.green { background: #E2F4EA; color: var(--green); }
.tag.grey { background: #EEEDEA; color: var(--ink-2); }

.price { font-family: var(--display); font-weight: 800; font-size: 2rem; letter-spacing: -0.02em; }
.price small { font-family: var(--body); font-weight: 600; font-size: .9rem; color: var(--ink-3); letter-spacing: 0; }
.price s { font-size: 1.1rem; color: var(--ink-3); font-weight: 700; margin-left: 6px; }

/* Service en grand (page Services) */
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; padding: 44px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.svc:last-child { border-bottom: 0; }
.svc:nth-child(even) .svc-img { order: 2; }
.svc-img { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); background: #DDE5F5; aspect-ratio: 16/10; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; }
.svc .for { font-size: .95rem; color: var(--ink-3); margin: 14px 0 18px; }
@media (max-width: 860px) { .svc { grid-template-columns: 1fr; gap: 22px; } .svc:nth-child(even) .svc-img { order: 0; } }

.svc-index { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.svc-index a { color: #fff; border: 1px solid rgba(255,255,255,.25); padding: 7px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .9rem; }
.svc-index a:hover { border-color: var(--orange); color: #fff; }

/* Bandeau carrière */
.career { background: linear-gradient(135deg, #0B1630 0%, #17306A 100%); color: #fff; border-radius: 26px; padding: 44px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 36px; align-items: center; position: relative; overflow: hidden; }
.career::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 380px; height: 380px; border-radius: 50%; border: 2px solid rgba(255,138,31,.35); transform: scaleY(.55) rotate(18deg); }
.career p { color: #C9D4EE; }
.career .offers { display: grid; gap: 12px; margin: 22px 0; }
.offer { display: flex; gap: 14px; align-items: flex-start; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); padding: 16px; border-radius: 14px; }
.offer b { display: block; font-size: 1.05rem; }
.offer .p { margin-left: auto; font-family: var(--display); font-weight: 800; color: var(--orange); white-space: nowrap; font-size: 1.2rem; }
.offer span.d { color: #B7C5E6; font-size: .93rem; }
.tpl-stack { position: relative; height: 380px; }
.tpl-stack img { position: absolute; width: 52%; border-radius: 6px; box-shadow: 0 24px 40px -14px rgba(0,0,0,.55); background: #fff; }
.tpl-stack img:nth-child(1) { left: 0; top: 30px; transform: rotate(-6deg); }
.tpl-stack img:nth-child(2) { left: 24%; top: 0; z-index: 2; }
.tpl-stack img:nth-child(3) { right: 0; top: 34px; transform: rotate(6deg); }
@media (max-width: 900px) { .career { grid-template-columns: 1fr; padding: 28px; } .tpl-stack { height: 300px; } }

/* Applications */
.app-card { border-top: 5px solid var(--app, var(--blue-ink)); }
.app-head { display: flex; gap: 14px; align-items: center; }
.app-head img { width: 52px; height: 52px; border-radius: 14px; }
.app-head small { display: block; color: var(--ink-3); font-size: .85rem; line-height: 1.3; }
.app-shot { background: var(--app, var(--night)); padding: 18px 18px 0; }
.app-shot img { border-radius: 10px 10px 0 0; box-shadow: 0 -4px 20px rgba(0,0,0,.2); }

/* Formations */
.academy { display: grid; grid-template-columns: 1.2fr .8fr; gap: 0; }
.academy .card-body { padding: 30px; }
.modules { display: grid; gap: 10px; margin: 6px 0; }
.module { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; }
.module b { font-family: var(--display); color: var(--orange-ink); font-size: .85rem; min-width: 74px; }
.module .tag { margin-left: auto; }
.cert { background: var(--night); color: #fff; padding: 30px; display: flex; flex-direction: column; justify-content: center; gap: 10px; position: relative; }
.cert::before { content: ""; position: absolute; inset: 14px; border: 1.5px solid rgba(255,138,31,.6); border-radius: 10px; pointer-events: none; }
.cert .k { font-size: .75rem; letter-spacing: .18em; color: var(--blue); font-weight: 700; }
.cert .n { font-family: var(--display); font-size: 1.6rem; font-weight: 800; }
.cert .s { font-size: .85rem; color: #B7C5E6; }
.countdown { display: inline-flex; gap: 8px; align-items: baseline; background: #FFF0E0; color: var(--orange-ink); padding: 8px 14px; border-radius: 12px; font-weight: 700; }
@media (max-width: 860px) { .academy { grid-template-columns: 1fr; } }

/* Statistiques */
.stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.stat { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 20px; }
.stat b { font-family: var(--display); font-size: 2.2rem; font-weight: 800; color: var(--orange); display: block; line-height: 1; margin-bottom: 6px; }
.stat span { color: #C9D4EE; font-size: .95rem; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ANEB */
.aneb-hero { background: radial-gradient(700px 400px at 90% 0%, rgba(255,138,31,.25), transparent 70%), linear-gradient(160deg, #0B1630, #13306F); }
.comp { display: flex; gap: 16px; align-items: flex-start; }
.comp .bubble { flex: 0 0 52px; height: 52px; border-radius: 16px; background: var(--orange); color: #1b0d00; font-family: var(--display); font-weight: 800; display: grid; place-items: center; font-size: 1.05rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: #fff; border: 1px solid var(--line); padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: .93rem; }
.dark .chip { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.15); color: #fff; }
.budget { width: 100%; border-collapse: collapse; }
.budget td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.budget td:last-child { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.budget tr.total td { border-bottom: 0; font-family: var(--display); font-weight: 800; font-size: 1.2rem; padding-top: 14px; }
.bar { height: 6px; border-radius: 6px; background: #EEE9DF; margin-top: 6px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--orange); border-radius: 6px; }
blockquote.quote { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(1.3rem, 2.6vw, 1.9rem); line-height: 1.3; letter-spacing: -0.01em; }
blockquote.quote::before { content: "«\00a0"; color: var(--orange); }
blockquote.quote::after { content: "\00a0»"; color: var(--orange); }

/* À propos */
.ceo { display: grid; grid-template-columns: 260px 1fr; gap: 36px; align-items: center; }
.ceo img { border-radius: 50%; border: 6px solid #fff; box-shadow: 0 0 0 3px var(--orange), var(--shadow); aspect-ratio: 1; object-fit: cover; }
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.value { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.value b { font-family: var(--display); font-size: 1.2rem; display: block; margin-bottom: 6px; }
.value i { display: block; width: 34px; height: 34px; border-radius: 50%; border: 9px solid var(--night); margin-bottom: 14px; }
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.member { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px 14px; }
.member .av { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 12px; background: var(--night); display: grid; place-items: center; color: var(--blue); font-family: var(--display); font-weight: 800; font-size: 1.5rem; overflow: hidden; }
.member .av img { width: 100%; height: 100%; object-fit: cover; }
.timeline { border-left: 2px solid var(--line); padding-left: 22px; display: grid; gap: 18px; }
.timeline div { position: relative; }
.timeline div::before { content: ""; position: absolute; left: -29px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--orange); }
@media (max-width: 860px) { .ceo { grid-template-columns: 1fr; } .ceo img { max-width: 220px; } .values, .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Formulaires ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .form-card { padding: 20px; } }
label { display: block; font-weight: 600; font-size: .95rem; }
label .opt { font-weight: 400; color: var(--ink-3); }
input[type=text], input[type=tel], input[type=email], input[type=password], input[type=number], input[type=url], input[type=search], select, textarea, input[type=file] {
  display: block; width: 100%; margin-top: 6px; font: inherit; font-size: 1rem; color: var(--ink); background: #FBFAF7; border: 1.5px solid #D9D5CB; border-radius: 12px; padding: 11px 13px; }
input[type=file] { padding: 9px; background: #fff; }
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue-ink); box-shadow: 0 0 0 4px rgba(37,86,200,.14); background: #fff; }
.phone-row { display: grid; grid-template-columns: 150px 1fr; gap: 8px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .93rem; color: var(--ink-2); }
.check input { margin-top: 4px; width: 18px; height: 18px; flex: 0 0 18px; accent-color: var(--orange); }
.checks { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 8px; }
.hint { font-size: .86rem; color: var(--ink-3); margin-top: 4px; font-weight: 400; }
.hp { position: absolute; left: -5000px; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 700; padding: 0; margin-bottom: 6px; }

.alert { padding: 14px 18px; border-radius: 14px; margin: 0 0 18px; font-weight: 500; border: 1px solid; }
.alert ul { margin: 0; padding-left: 18px; }
.alert-error { background: #FDECEA; border-color: #F3C3BE; color: #8C1D14; }
.alert-success { background: #E6F5EC; border-color: #BFE3CC; color: #14532F; }
.alert-warning { background: #FFF4E4; border-color: #FBD9AA; color: #7A4300; }
.alert-info { background: #EAF0FD; border-color: #C9D7F7; color: #1C3F8F; }
.flashes { margin: 18px auto 0; }

/* ---------- Contact ---------- */
.contact-list { display: grid; gap: 12px; }
.contact-item { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; text-decoration: none; color: var(--ink); }
.contact-item:hover { border-color: var(--orange); color: var(--ink); }
.contact-item .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--night); display: grid; place-items: center; flex: 0 0 44px; }
.contact-item .ic svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; }
.contact-item b { display: block; }
.contact-item small { color: var(--ink-3); }

/* ---------- Pied de page ---------- */
.site-foot { background: var(--night); color: #C9D4EE; padding: 60px 0 28px; margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 30px; }
.site-foot h4 { color: #fff; font-family: var(--body); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.site-foot a { color: #C9D4EE; text-decoration: none; }
.site-foot a:hover { color: #fff; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .95rem; }
.foot-brand img { height: 40px; width: auto; margin-bottom: 14px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .88rem; color: #8FA1CC; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #1FAF55; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0,0,0,.45); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.wa-float:hover { background: #179447; }

/* ---------- Espace client et applications IA ---------- */
.app-page { padding: 40px 0 70px; }
.app-title { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.app-title h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: 0; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); margin-bottom: 20px; }
.panel h2 { font-size: 1.35rem; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.panel-head h2 { margin: 0; }
.list { list-style: none; padding: 0; margin: 0; }
.list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.list li:last-child { border-bottom: 0; }
.list .meta { color: var(--ink-3); font-size: .88rem; }
.empty { text-align: center; padding: 28px 10px; color: var(--ink-3); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: s; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; position: relative; }
.step::before { counter-increment: s; content: counter(s); font-family: var(--display); font-weight: 800; color: #fff; background: var(--night); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 12px; }
.step b { display: block; margin-bottom: 4px; }
.step span { color: var(--ink-2); font-size: .95rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }

.tabs-edit { display: flex; gap: 6px; flex-wrap: wrap; position: sticky; top: 72px; background: var(--paper); padding: 10px 0; z-index: 10; }
.tabs-edit a { padding: 7px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; font-size: .88rem; }
.tabs-edit a:hover { border-color: var(--orange); }
.rep { border: 1px dashed #CFCABD; border-radius: 14px; padding: 16px; margin-bottom: 12px; background: #FCFBF8; position: relative; }
.rep .rm { position: absolute; top: 10px; right: 10px; }
.rep-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 14px; }
.rep-grid .w2 { grid-column: span 2; }
.rep-grid .full { grid-column: 1 / -1; }
@media (max-width: 760px) { .rep-grid { grid-template-columns: 1fr; } .rep-grid .w2 { grid-column: auto; } }
.edit-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
.edit-side { position: sticky; top: 132px; display: grid; gap: 16px; }
@media (max-width: 1000px) { .edit-layout { grid-template-columns: 1fr; } .edit-side { position: static; } }
.tpl-pick { display: grid; gap: 12px; }
.tpl { display: grid; grid-template-columns: 74px 1fr; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 10px; background: #fff; }
.tpl img { border-radius: 4px; border: 1px solid var(--line); }
.tpl b { display: block; font-size: .98rem; }
.tpl small { color: var(--ink-3); display: block; line-height: 1.35; margin-bottom: 6px; }
.tpl .acts { display: flex; gap: 6px; flex-wrap: wrap; }
.advice { background: #FFF7EC; border: 1px solid #FBD9AA; border-radius: 14px; padding: 16px 18px; }
.advice h3 { font-size: 1rem; margin-bottom: 8px; }
.advice ul { margin: 0; padding-left: 18px; color: var(--ink-2); font-size: .93rem; }
.photo-box { display: flex; gap: 14px; align-items: center; }
.photo-box img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 3px solid var(--orange); }
.photo-box .ph { width: 84px; height: 84px; border-radius: 50%; background: #EEE9DF; display: grid; place-items: center; color: var(--ink-3); font-size: .8rem; text-align: center; }
.busy-note { display: none; margin-top: 12px; }
form.is-busy .busy-note { display: block; }
.spinner { display: inline-block; width: 16px; height: 16px; border: 2.5px solid rgba(0,0,0,.2); border-top-color: currentColor; border-radius: 50%; animation: spin .8s linear infinite; vertical-align: -3px; }
@keyframes spin { to { transform: rotate(360deg); } }
.or-split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.or-split .or { text-align: center; color: var(--ink-3); font-weight: 700; }

/* Rapport d'orientation */
.score { display: flex; gap: 22px; align-items: center; }
.ring { --v: 50; width: 120px; height: 120px; border-radius: 50%; background: conic-gradient(var(--c, var(--orange)) calc(var(--v) * 1%), #EEE9DF 0); display: grid; place-items: center; flex: 0 0 120px; }
.ring b { width: 92px; height: 92px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-family: var(--display); font-size: 1.8rem; font-weight: 800; }
.crit { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.crit:last-child { border-bottom: 0; }
.st { display: inline-block; text-align: center; font-weight: 700; font-size: .8rem; padding: 4px 8px; border-radius: 999px; color: #fff; }
.st-acquis { background: var(--green); } .st-partiel { background: var(--orange-ink); } .st-manquant { background: var(--red); }
.plan { counter-reset: p; display: grid; gap: 14px; }
.plan > div { display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.plan > div::before { counter-increment: p; content: counter(p); width: 40px; height: 40px; border-radius: 50%; background: var(--night); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 800; }
.training { border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: grid; gap: 6px; background: #FCFBF8; }
.training .top { display: flex; justify-content: space-between; gap: 10px; align-items: start; flex-wrap: wrap; }
.kw { display: flex; flex-wrap: wrap; gap: 6px; }
.kw span { background: #E6EEFF; color: var(--blue-ink); padding: 4px 10px; border-radius: 999px; font-size: .88rem; font-weight: 600; }
.sample-flag { display: inline-block; background: #FFF0E0; color: var(--orange-ink); font-weight: 700; font-size: .78rem; padding: 4px 10px; border-radius: 6px; letter-spacing: .04em; text-transform: uppercase; }

/* Paiement */
.pay-box { max-width: 720px; margin: 0 auto; }
.method { display: flex; gap: 14px; align-items: flex-start; border: 2px solid var(--line); border-radius: 14px; padding: 16px; cursor: pointer; background: #fff; margin-bottom: 10px; }
.method:has(input:checked) { border-color: var(--orange); background: #FFF8F0; }
.method input { margin-top: 5px; accent-color: var(--orange); width: 18px; height: 18px; }
.momo-num { font-family: var(--display); font-size: 1.8rem; font-weight: 800; letter-spacing: .02em; }
.copy { cursor: pointer; }
.recap { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }

/* Matériel */
.prod .card-img { aspect-ratio: 4/3; background: #fff; }
.prod .card-img img { object-fit: contain; padding: 10px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.filters a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .92rem; }
.filters a[aria-current="page"] { background: var(--night); color: #fff; border-color: var(--night); }

/* Tableaux */
.table-wrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: .95rem; }
.tbl th { text-align: left; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); padding: 10px 12px; border-bottom: 2px solid var(--line); white-space: nowrap; }
.tbl td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tr:hover td { background: #FBFAF6; }
.tbl .num-c { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; white-space: nowrap; }
.badge-green { background: #E2F4EA; color: var(--green); }
.badge-orange { background: #FFF0E0; color: var(--orange-ink); }
.badge-blue { background: #E6EEFF; color: var(--blue-ink); }
.badge-red { background: #FDECEA; color: var(--red); }
.badge-grey { background: #EEEDEA; color: var(--ink-2); }
.pager { display: flex; gap: 14px; align-items: center; justify-content: center; margin-top: 18px; }

.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose li { margin-bottom: .4em; }
.error-page { padding: 90px 0; text-align: center; }
.error-page .code { font-family: var(--display); font-size: 5rem; font-weight: 800; color: var(--orange); line-height: 1; }

@media print { .site-head, .site-foot, .wa-float, .no-print { display: none !important; } body { background: #fff; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
.foot-slogan { color: #fff; }
.app-boutik { --app: #1F7A55; } .app-loyer { --app: #2B5C9E; } .app-tontine { --app: #6A3FB0; } .app-foot { --app: #136B3A; } .app-carbu { --app: #0B4F5C; }
.ring-svg { width: 120px; height: 120px; flex: 0 0 120px; }
.ring-svg text { font-family: var(--display); font-weight: 800; font-size: 26px; fill: var(--ink); }
svg.bar { display: block; width: 100%; height: 6px; margin-top: 6px; }
.center-row { justify-content: center; }
.steps-2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 520px) { .steps-2 { grid-template-columns: 1fr; } }
.mt-l { margin-top: 28px; } .mt-s { margin-top: 10px; }
.tpl-img { aspect-ratio: 3 / 4; background: #E9E6DE; }
.tpl-img img { object-fit: cover; object-position: top; }
.sample-wrap { position: relative; max-height: 720px; overflow: hidden; border-radius: 18px; }
.sample-wrap::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(transparent, var(--paper)); pointer-events: none; }
.section.alt .sample-wrap::after { background: linear-gradient(rgba(255,255,255,0), #fff); }
.rep-dates { grid-template-columns: 1fr 1fr; gap: 10px; }
.price small.unit { display: block; font-size: .85rem; margin-top: 2px; }
a.card { text-decoration: none; color: inherit; }
a.card h3 { color: var(--ink); }
.nav > a, .nav .dd > span { white-space: nowrap; }
.head-cta .btn { white-space: nowrap; }
@media (max-width: 1240px) { .nav > a, .nav .dd > span { padding: 10px 8px; font-size: .9rem; } .head-in { gap: 14px; } }
.app-shot { height: 260px; overflow: hidden; }
.app-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
@media (max-width: 900px) { .tile.t2 { top: 34%; } .tile.t3 { left: 6%; bottom: 0; } }
.rep { padding-top: 48px; }
.rep .rm { top: 10px; right: 12px; }
.momo-card { border: 1px solid var(--line); border-radius: 14px; padding: 16px; background: #FCFBF8; }
.momo-card .momo-num { margin-top: 8px; }
.app-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.app-badges span { font-size: .75rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: #EEF3FF; color: var(--blue-ink); }
.app-badges span:nth-child(2) { background: #E2F4EA; color: var(--green); }
.app-badges span:nth-child(3) { background: #FFF0E0; color: var(--orange-ink); }
.app-common { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 24px; }
.app-common > div { display: flex; gap: 12px; align-items: flex-start; background: var(--night); color: #fff; border-radius: 16px; padding: 18px; }
.app-common b { display: block; }
.app-common span { color: #C9D4EE; font-size: .92rem; }
.ac-ico { flex: 0 0 38px; height: 38px; border-radius: 12px; background: var(--orange); color: #1b0d00 !important; display: grid; place-items: center; font-weight: 800; font-size: 1.1rem !important; }
@media (max-width: 760px) { .app-common { grid-template-columns: 1fr; } }
.card-body > .tag, .card-body > .countdown { align-self: flex-start; }
.pictures-hero { background: radial-gradient(700px 400px at 90% 0%, rgba(255,138,31,.22), transparent 70%), #0B1630; }
.gallery { columns: 3 320px; column-gap: 18px; }
.shot { break-inside: avoid; margin: 0 0 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.shot-img { display: block; background: #111; }
.shot-img img { width: 100%; height: auto; }
.shot figcaption { padding: 14px 16px; display: flex; justify-content: space-between; gap: 12px; align-items: flex-end; }
.shot figcaption > div:first-child { display: grid; gap: 2px; }
.shot-buy { display: grid; justify-items: end; gap: 6px; }
.shot-buy .price { font-size: 1.3rem; }
.photo-edit { gap: 6px; min-width: 260px; }
.photo-edit input, .photo-edit select, input.mini { margin-top: 0; padding: 7px 9px; font-size: .9rem; }
input.mini { width: 90px; display: inline-block; }
.pics-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pics-strip a { border-radius: 14px; overflow: hidden; aspect-ratio: 4/3; display: block; background: #111; }
.pics-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.pics-strip a:hover img { transform: scale(1.05); }
@media (max-width: 760px) { .pics-strip { grid-template-columns: 1fr 1fr; } }
.price s { white-space: nowrap; }
