/* MonAssistanceInformatique — design 2026 (mobile first) — couleurs du logo : noir, blanc, bleu azur */
:root {
  --ink: #071a45;
  --ink-2: #0d2a66;
  --texte: #26304a;
  --muted: #6b7080;
  --paper: #f4f4f1;
  --card: #ffffff;
  --ligne: rgba(10, 11, 16, .09);
  --azur: #1a9dff;
  --azur-fonce: #0a7fe0;
  --azur-clair: #8fd0ff;
  --ok: #15803d;
  --erreur: #d92d20;
  --r-s: 14px;
  --r: 24px;
  --r-l: 32px;
  --max: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.07'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--texte);
  font-family: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--azur); color: #fff; }

h1, h2, h3 { color: var(--ink); margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.7rem, 7.6vw, 6rem); line-height: .98; letter-spacing: -.05em; }
h2 { font-size: clamp(2.1rem, 5vw, 3.8rem); line-height: 1.02; letter-spacing: -.04em; }
h3 { font-size: 1.3rem; line-height: 1.2; letter-spacing: -.02em; }
h1 em, h2 em { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -.02em; color: var(--azur); }
.h1-moyen { font-size: clamp(2.5rem, 5.6vw, 4.6rem); }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }
.section { padding: 80px 0; }
@media (min-width: 960px) { .section { padding: 120px 0; } }
.section--haut { padding-top: 136px; }
@media (min-width: 960px) { .section--haut { padding-top: 168px; } }
.muted { color: var(--muted); }

.tete { display: grid; gap: 16px; margin-bottom: 44px; align-items: end; }
@media (min-width: 960px) { .tete { grid-template-columns: 1.3fr 1fr; gap: 64px; margin-bottom: 60px; } }
.tete p { color: var(--muted); font-size: 1.1rem; margin: 0; max-width: 460px; }
.tete h2 { margin: 0; }

.etiquette {
  display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 500;
  padding: 6px 14px 6px 10px; border-radius: 999px; background: var(--card); border: 1px solid var(--ligne);
  color: var(--ink); margin-bottom: 24px;
}
.etiquette--sombre { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); color: #fff; }
.point { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.6); } 70%, 100% { box-shadow: 0 0 0 10px rgba(34,197,94,0); } }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 7px 0 24px;
  border-radius: 999px; font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; transition: background .25s, color .25s, transform .25s var(--ease), box-shadow .3s;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn__fleche { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; transition: transform .35s var(--ease); }
.btn__fleche svg { width: 18px; height: 18px; }
.btn:hover .btn__fleche { transform: rotate(-45deg); }
.btn--sombre { background: var(--ink); color: #fff; }
.btn--sombre .btn__fleche { background: var(--azur); color: #fff; }
.btn--sombre:hover { background: var(--ink-2); }
.btn--azur { background: var(--azur); color: #fff; box-shadow: 0 10px 30px rgba(26,157,255,.35); }
.btn--azur .btn__fleche { background: #fff; color: var(--ink); }
.btn--azur:hover { background: var(--azur-fonce); box-shadow: 0 14px 40px rgba(26,157,255,.5); }
.btn--contour { border-color: var(--ligne); background: rgba(255,255,255,.6); color: var(--ink); padding: 0 24px; }
.btn--contour:hover { background: #fff; }
.btn--contour-clair { border-color: rgba(255,255,255,.22); color: #fff; padding: 0 24px; background: rgba(255,255,255,.04); }
.btn--contour-clair:hover { background: rgba(255,255,255,.1); }
.btn--plein { width: 100%; justify-content: space-between; }
.btn[disabled] { opacity: .6; cursor: wait; }
.btn svg.ico { width: 18px; height: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Logo ---------- */
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo__badge { width: 42px; height: 42px; flex-shrink: 0; }
.logo__mot { font-family: "Lexend", "Geist", sans-serif; font-weight: 600; line-height: 1; letter-spacing: -.02em; font-size: 1.02rem; display: flex; flex-direction: column; gap: 2px; }
.logo__mot b { font-weight: 600; }
.logo__mot em { font-style: normal; color: var(--azur); }
.logo--clair { color: #fff; }
.logo--grand .logo__badge { width: 64px; height: 64px; }
.logo--grand .logo__mot { font-size: 1.35rem; }

/* ---------- Navigation flottante ---------- */
.header { position: fixed; top: 12px; left: 0; right: 0; z-index: 50; padding: 0 12px; }
.header__barre {
  max-width: var(--max); margin: 0 auto; height: 64px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 8px 0 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .78); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
  border: 1px solid rgba(255,255,255,.6); box-shadow: 0 1px 0 var(--ligne), 0 8px 32px rgba(10,11,16,.08);
  transition: box-shadow .3s, background .3s;
}
.header.is-scrolled .header__barre { background: rgba(255,255,255,.9); box-shadow: 0 1px 0 var(--ligne), 0 12px 40px rgba(10,11,16,.14); }

.nav__toggle { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--ink); cursor: pointer; display: grid; place-content: center; gap: 5px; }
.nav__toggle span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav {
  position: absolute; top: 76px; left: 12px; right: 12px; padding: 12px;
  background: rgba(255,255,255,.97); backdrop-filter: blur(18px); border-radius: var(--r);
  box-shadow: 0 24px 60px rgba(10,11,16,.2); border: 1px solid var(--ligne);
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transition: opacity .25s, transform .3s var(--ease), visibility .3s;
}
.nav.is-open { opacity: 1; visibility: visible; transform: none; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: 14px 16px; border-radius: 14px; text-decoration: none; font-weight: 500; color: var(--ink); font-size: 1.1rem; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--paper); }
.nav a.btn { color: #fff; }
.nav .btn { margin-top: 8px; width: 100%; justify-content: space-between; display: flex; padding: 0 7px 0 24px; }
.nav .btn:hover, .nav .btn[aria-current="page"] { background: var(--ink-2); }

@media (min-width: 1080px) {
  .nav__toggle { display: none; }
  .nav { position: static; opacity: 1; visibility: visible; transform: none; background: none; box-shadow: none; border: 0; padding: 0; backdrop-filter: none; }
  .nav ul { display: flex; align-items: center; gap: 2px; }
  .nav a { font-size: .95rem; padding: 8px 14px; border-radius: 999px; }
  .nav a[aria-current="page"] { background: rgba(10,11,16,.06); }
  .nav .btn { margin: 0 0 0 10px; width: auto; height: 48px; font-size: .95rem; display: inline-flex; }
  .nav .btn .btn__fleche { width: 34px; height: 34px; }
}

/* ---------- Hero ---------- */
.hero { padding: 132px 0 40px; position: relative; isolation: isolate; }
@media (min-width: 960px) { .hero { padding: 164px 0 56px; } }
.hero::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 720px; z-index: -1; pointer-events: none;
  background: radial-gradient(600px 360px at 85% 5%, rgba(26,157,255,.18), transparent 70%),
              radial-gradient(500px 300px at 0% 30%, rgba(143,208,255,.25), transparent 70%);
}
.hero__haut { display: grid; gap: 28px; align-items: end; margin-bottom: 44px; }
@media (min-width: 960px) { .hero__haut { grid-template-columns: 1.6fr 1fr; gap: 64px; margin-bottom: 56px; } }
.hero h1 { margin: 0; }
.hero__texte p { font-size: 1.15rem; color: var(--muted); margin-bottom: 28px; }

/* Hero sombre (accueil) */
.hero--sombre { background: var(--ink); color: rgba(255,255,255,.72); padding-bottom: 16px; overflow: hidden; }
@media (min-width: 960px) { .hero--sombre { padding-bottom: 24px; } }
.hero--sombre::before {
  height: 100%;
  background: radial-gradient(800px 500px at 88% 12%, rgba(26,157,255,.42), transparent 65%),
              radial-gradient(600px 400px at 0% 90%, rgba(26,157,255,.16), transparent 70%), var(--grain);
}
.hero--sombre h1 { color: #fff; }
.hero--sombre .hero__texte p { color: rgba(255,255,255,.7); }
.hero__grille { display: grid; gap: 40px; align-items: center; margin-bottom: 48px; }
@media (min-width: 1080px) { .hero__grille { grid-template-columns: 1.5fr 1fr; gap: 48px; margin-bottom: 64px; } }
.hero__embleme { display: none; position: relative; justify-self: center; width: min(400px, 100%); }
@media (min-width: 1080px) { .hero__embleme { display: block; } }
.hero__embleme svg { width: 100%; height: auto; filter: drop-shadow(0 0 60px rgba(26,157,255,.35)); animation: flotte 6s ease-in-out infinite; }
@keyframes flotte { 50% { transform: translateY(-12px); } }

.hero__media { position: relative; border-radius: var(--r-l); overflow: hidden; aspect-ratio: 4 / 5; background: var(--ink-2); }
@media (min-width: 640px) { .hero__media { aspect-ratio: 16 / 9; } }
@media (min-width: 1080px) { .hero__media { aspect-ratio: 21 / 9; } }
.hero__media > img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(10,11,16,.6)); }
.puces { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 768px) { .puces { left: 28px; bottom: 28px; } }
.puce {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px;
  background: rgba(255,255,255,.16); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.28); color: #fff; font-size: .92rem; font-weight: 500;
}
.puce i { width: 30px; height: 30px; border-radius: 50%; background: var(--azur); color: #fff; display: grid; place-items: center; font-style: normal; }
.puce i svg { width: 16px; height: 16px; }
.hero--page .hero__media { aspect-ratio: 4 / 3; }
@media (min-width: 640px) { .hero--page .hero__media { aspect-ratio: 21 / 9; } }
.fil { font-size: .9rem; color: var(--muted); margin-bottom: 20px; }
.fil a { text-decoration: none; }
.fil a:hover { color: var(--ink); }

/* ---------- Bandeau défilant ---------- */
.defile { overflow: hidden; padding: 24px 0; border-bottom: 1px solid var(--ligne); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.defile__piste { display: flex; gap: 48px; width: max-content; animation: defile 45s linear infinite; }
.defile__piste span { display: inline-flex; align-items: center; gap: 48px; font-size: clamp(1.3rem, 3vw, 2rem); font-weight: 500; letter-spacing: -.03em; color: var(--ink); white-space: nowrap; }
.defile__piste span::after { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--azur); }
@keyframes defile { to { transform: translateX(-50%); } }

/* ---------- Bento ---------- */
.bento { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .bento { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 250px; } .bento--court { grid-auto-rows: 230px; } }
.tuile {
  position: relative; overflow: hidden; border-radius: var(--r); padding: 28px; min-height: 290px;
  display: flex; flex-direction: column; justify-content: flex-end; background: var(--card); text-decoration: none; color: var(--texte);
  border: 1px solid var(--ligne); isolation: isolate;
}
.bento--court .tuile { min-height: 230px; }
@media (min-width: 768px) { .tuile, .bento--court .tuile { min-height: 0; } }
.tuile h3 { font-size: clamp(1.35rem, 2.3vw, 1.9rem); letter-spacing: -.035em; margin-bottom: .35em; }
.bento--court .tuile h3 { font-size: 1.3rem; }
.tuile p { margin: 0; color: var(--muted); max-width: 460px; }
.tuile__tag { position: absolute; top: 22px; left: 22px; font-size: .8rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: linear-gradient(90deg, #ff7a1a, #ffb02e); color: #fff; }
.tuile__go { position: absolute; top: 20px; right: 20px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--ink); transition: transform .4s var(--ease), background .3s, color .3s; }
.tuile__go svg { width: 20px; height: 20px; }
a.tuile:hover .tuile__go { transform: rotate(45deg); background: var(--azur); color: #fff; }
.tuile__ico { position: absolute; top: 24px; left: 24px; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--paper); color: var(--azur); }
.tuile__ico svg { width: 26px; height: 26px; }
.tuile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s var(--ease); }
a.tuile:hover > img { transform: scale(1.05); }
.tuile--photo { color: #fff; border: 0; }
.tuile--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,11,16,0) 30%, rgba(10,11,16,.88)); }
.tuile--photo h3 { color: #fff; }
.tuile--photo p { color: rgba(255,255,255,.82); }
.tuile--sombre { background: var(--ink); color: #fff; border: 0; }
.tuile--sombre::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px 260px at 100% 0%, rgba(26,157,255,.5), transparent 70%), var(--grain); }
.tuile--sombre h3 { color: #fff; }
.tuile--sombre p { color: rgba(255,255,255,.68); }
.tuile--sombre .tuile__ico { background: rgba(255,255,255,.08); }
.tuile--azur { background: var(--azur); border: 0; color: #fff; }
.tuile--azur::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(400px 260px at 0% 100%, rgba(255,255,255,.25), transparent 70%); }
.tuile--azur h3 { color: #fff; }
.tuile--azur p { color: rgba(255,255,255,.88); }
.tuile--azur .tuile__ico { background: rgba(255,255,255,.18); color: #fff; }
.grand-chiffre { font-size: clamp(3.8rem, 7vw, 5.6rem); font-weight: 600; letter-spacing: -.06em; line-height: .9; margin-bottom: 12px; }
.tuile ul { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tuile li { font-size: .82rem; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); }
@media (min-width: 768px) {
  .t-6 { grid-column: span 6; } .t-4 { grid-column: span 4; } .t-3 { grid-column: span 3; } .t-2 { grid-column: span 2; }
  .h-2 { grid-row: span 2; }
}

/* ---------- Duo image / texte ---------- */
.duo { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .duo { grid-template-columns: 1fr 1fr; gap: 80px; } .duo--inverse > :first-child { order: 2; } }
.duo + .duo { margin-top: 96px; }
.duo__media { border-radius: var(--r-l); overflow: hidden; aspect-ratio: 4 / 4.2; position: relative; }
.duo__media img { width: 100%; height: 100%; object-fit: cover; }
.duo p { color: var(--muted); font-size: 1.08rem; }
.liste { list-style: none; padding: 0; margin: 28px 0 32px; border-top: 1px solid var(--ligne); counter-reset: li; }
.liste li { display: flex; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--ligne); color: var(--ink); font-weight: 500; }
.liste li::before { content: counter(li, decimal-leading-zero); counter-increment: li; font-size: .8rem; color: var(--azur); font-weight: 600; font-variant-numeric: tabular-nums; min-width: 22px; }

/* ---------- Étapes ---------- */
.etapes { display: grid; gap: 14px; }
@media (min-width: 640px) { .etapes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .etapes { grid-template-columns: repeat(4, 1fr); } }
.etape { background: var(--card); border: 1px solid var(--ligne); border-radius: var(--r); padding: 28px; min-height: 230px; display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s; }
.etape:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(10,11,16,.08); }
.etape__num { font-size: 2.6rem; font-weight: 600; letter-spacing: -.05em; color: var(--azur); line-height: 1; margin-bottom: auto; padding-bottom: 28px; }
.etape h3 { margin-bottom: .3em; }
.etape p { margin: 0; color: var(--muted); font-size: .98rem; }

/* ---------- Bloc sombre ---------- */
.sombre { position: relative; background: var(--ink); color: rgba(255,255,255,.72); border-radius: var(--r-l); padding: 56px 22px; overflow: hidden; isolation: isolate; }
@media (min-width: 768px) { .sombre { padding: 88px 64px; } }
.sombre::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(700px 400px at 100% 0%, rgba(26,157,255,.45), transparent 65%),
              radial-gradient(500px 320px at 0% 100%, rgba(26,157,255,.14), transparent 70%), var(--grain);
}
.sombre h2, .sombre h3 { color: #fff; }
.sombre .tete p { color: rgba(255,255,255,.62); }
.sombre .zone { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: #fff; }
.chiffres { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 16px; margin: 8px 0 48px; }
@media (min-width: 960px) { .chiffres { grid-template-columns: repeat(4, 1fr); } }
.chiffre { border-top: 1px solid rgba(255,255,255,.15); padding-top: 20px; }
.chiffre b { display: block; font-size: clamp(2.6rem, 6vw, 4.2rem); line-height: 1; font-weight: 600; letter-spacing: -.05em; color: var(--azur); margin-bottom: 8px; }
.chiffre span { font-size: .95rem; }
.cta { text-align: center; }
.cta h2 { font-size: clamp(2.4rem, 6.5vw, 5rem); max-width: 900px; margin: 0 auto 20px; }
.cta p { max-width: 560px; margin: 0 auto 32px; font-size: 1.1rem; }
.cta .actions { justify-content: center; }

/* ---------- FAQ ---------- */
.faq-grille { display: grid; gap: 32px; }
@media (min-width: 960px) { .faq-grille { grid-template-columns: 1fr 1.6fr; gap: 64px; } }
.faq details { border-bottom: 1px solid var(--ligne); }
.faq details:first-child { border-top: 1px solid var(--ligne); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 60px 24px 0; position: relative; font-size: clamp(1.08rem, 1.8vw, 1.28rem); font-weight: 500; color: var(--ink); letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; translate: 0 -50%; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: var(--card); border: 1px solid var(--ligne); font-size: 1.4rem; font-weight: 400;
  transition: rotate .3s var(--ease), background .3s, color .3s;
}
.faq details[open] summary::after { rotate: 45deg; background: var(--azur); color: #fff; border-color: var(--azur); }
.faq details p { color: var(--muted); padding-right: 60px; margin: -4px 0 24px; }

/* ---------- Zones ---------- */
.zones { display: flex; flex-wrap: wrap; gap: 8px; }
.zone { padding: 10px 18px; border-radius: 999px; background: var(--card); border: 1px solid var(--ligne); font-weight: 500; color: var(--ink); }
.zone b { color: var(--azur); margin-right: 6px; font-weight: 600; }

/* ---------- Offres d'emploi ---------- */
.offres { border-top: 1px solid var(--ligne); }
.offre { display: grid; gap: 10px; padding: 28px 0; border-bottom: 1px solid var(--ligne); text-decoration: none; color: var(--ink); transition: padding .35s var(--ease), background .3s; border-radius: 0; }
@media (min-width: 960px) { .offre { grid-template-columns: 1.3fr 1.4fr auto; align-items: center; gap: 32px; } .offre:hover { background: var(--card); padding-inline: 24px; border-radius: var(--r-s); } }
.offre h3 { margin: 0; font-size: clamp(1.25rem, 2.3vw, 1.65rem); }
.offre p { margin: 0; color: var(--muted); font-size: .98rem; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tag { font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(26,157,255,.1); color: var(--azur-fonce); }
.offre .tuile__go { position: static; background: var(--ink); color: #fff; }
.offre:hover .tuile__go { background: var(--azur); transform: rotate(45deg); }

/* ---------- Formulaires ---------- */
.grille-form { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1080px) { .grille-form { grid-template-columns: 1fr 1.35fr; gap: 64px; } .grille-form aside { position: sticky; top: 104px; } }
.grille-form aside > p { color: var(--muted); font-size: 1.1rem; }
.coord { display: grid; gap: 10px; margin-top: 28px; }
.coord a, .coord div {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r-s);
  background: var(--card); border: 1px solid var(--ligne); text-decoration: none; color: var(--ink); font-weight: 500; word-break: break-word;
  transition: border-color .2s;
}
.coord a:hover { border-color: var(--azur); }
.coord i { width: 42px; height: 42px; border-radius: 12px; background: var(--paper); display: grid; place-items: center; flex-shrink: 0; font-style: normal; }
.coord i svg { width: 20px; height: 20px; color: var(--azur); }
.coord small { display: block; color: var(--muted); font-weight: 400; font-size: .85rem; }
.encart-photo { border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 10; margin-top: 16px; }
.encart-photo img { width: 100%; height: 100%; object-fit: cover; }

.form { background: var(--card); border-radius: var(--r-l); padding: 24px 18px; border: 1px solid var(--ligne); box-shadow: 0 30px 80px rgba(10,11,16,.06); }
@media (min-width: 768px) { .form { padding: 40px; } }
.form h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.form__grille { display: grid; gap: 18px; }
@media (min-width: 640px) { .form__grille { grid-template-columns: 1fr 1fr; } .champ--large { grid-column: 1 / -1; } }
.champ label { display: block; font-weight: 500; font-size: .9rem; margin-bottom: 8px; color: var(--ink); }
.champ .req { color: var(--azur); }
.champ small { color: var(--muted); font-weight: 400; }
.champ input, .champ select, .champ textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper);
  border: 1.5px solid transparent; border-radius: var(--r-s); padding: 14px 16px; min-height: 54px;
  transition: border-color .2s, box-shadow .2s, background .2s; -webkit-appearance: none; appearance: none;
}
.champ select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0b10' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; padding-right: 44px; cursor: pointer;
}
.champ input::placeholder, .champ textarea::placeholder { color: #9aa0ad; }
.champ input:hover, .champ select:hover, .champ textarea:hover { background-color: #ecece8; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; background-color: #fff; border-color: var(--azur); box-shadow: 0 0 0 4px rgba(26,157,255,.16); }
.champ textarea { min-height: 150px; resize: vertical; }
.champ.is-invalid input, .champ.is-invalid select, .champ.is-invalid textarea { border-color: var(--erreur); background-color: #fff5f4; }
.msg-erreur { display: none; color: var(--erreur); font-size: .85rem; margin-top: 6px; }
.champ.is-invalid .msg-erreur { display: block; }

.fichier { position: relative; border: 1.5px dashed rgba(10,11,16,.2); border-radius: var(--r); padding: 28px 20px; text-align: center; background: var(--paper); transition: border-color .2s, background .2s; }
.fichier:hover, .fichier.is-drag { border-color: var(--azur); background: rgba(26,157,255,.06); }
.champ .fichier input { position: absolute; inset: 0; opacity: 0; cursor: pointer; min-height: 0; height: 100%; }
.fichier__icone { width: 50px; height: 50px; border-radius: 50%; background: var(--ink); color: var(--azur); display: grid; place-items: center; margin: 0 auto 12px; }
.fichier__icone svg { width: 22px; height: 22px; }
.fichier b { color: var(--ink); font-weight: 600; }
.fichier .aide { color: var(--muted); font-size: .85rem; margin-top: 4px; }
.fichier__nom { font-weight: 600; color: var(--azur-fonce); margin-top: 8px; word-break: break-all; }
.fichier__nom:empty { display: none; }

.case { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); cursor: pointer; }
.champ .case input { width: 22px; height: 22px; min-height: 0; margin-top: 1px; flex-shrink: 0; accent-color: var(--azur); -webkit-appearance: auto; appearance: auto; padding: 0; }
.case a { color: var(--ink); }
.note-req { color: var(--muted); font-size: .85rem; margin: 18px 0; }

.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.alerte { display: none; border-radius: var(--r-s); padding: 16px 18px; margin-bottom: 20px; font-weight: 500; }
.alerte.is-visible { display: block; }
.alerte--ok { background: #ecfdf3; color: var(--ok); border: 1px solid #abefc6; }
.alerte--erreur { background: #fef3f2; color: var(--erreur); border: 1px solid #fecdca; }

/* ---------- Pied de page ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.62); padding: 80px 0 0; border-radius: var(--r-l) var(--r-l) 0 0; overflow: hidden; position: relative; isolation: isolate; }
.footer::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 320px at 85% 0%, rgba(26,157,255,.32), transparent 70%), var(--grain); }
.footer a { color: #fff; text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--azur); }
.footer h3 { color: rgba(255,255,255,.4); font-size: .8rem; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer__haut { display: grid; gap: 40px; }
@media (min-width: 960px) { .footer__haut { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.footer__accroche { font-size: clamp(1.5rem, 2.8vw, 2rem); color: #fff; letter-spacing: -.035em; line-height: 1.15; font-weight: 500; margin: 28px 0; max-width: 420px; }
.footer__accroche em { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; color: var(--azur); }
.footer__bas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .85rem; padding: 48px 0 20px; }
.footer__marque {
  font-family: "Lexend", "Geist", sans-serif; font-size: clamp(3rem, 13.2vw, 12.4rem); font-weight: 700; letter-spacing: -.06em; line-height: .78; white-space: nowrap;
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none; text-align: center; margin-bottom: -.06em;
}

.appel-flottant { position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: var(--azur); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(26,157,255,.45); }
.appel-flottant svg { width: 24px; height: 24px; }
@media (min-width: 1080px) { .appel-flottant { display: none; } }

.legal { max-width: 800px; }
.legal h2 { font-size: 1.5rem; margin-top: 40px; }
.legal a { color: var(--azur-fonce); }

/* ---------- Apparitions au défilement ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .defile__piste, .point, .hero__embleme svg { animation: none; }
  html { scroll-behavior: auto; }
}


/* Visuels fournis : traînées de lumière bleues en fond des zones sombres */
.hero--sombre { background: linear-gradient(180deg, rgba(7,26,69,.78), rgba(7,26,69,.94)), url("../img/lumiere-bleue-1920.jpg") center / cover no-repeat, var(--ink); }
.sombre { background: linear-gradient(135deg, rgba(7,26,69,.86), rgba(7,26,69,.93)), url("../img/lumiere-bleue-1920.jpg") center / cover no-repeat, var(--ink); }
@media (max-width: 768px) {
  .hero--sombre { background-image: linear-gradient(180deg, rgba(7,26,69,.8), rgba(7,26,69,.95)), url("../img/lumiere-bleue-1000.jpg"); }
  .sombre { background-image: linear-gradient(135deg, rgba(7,26,69,.86), rgba(7,26,69,.93)), url("../img/lumiere-bleue-1000.jpg"); }
}
