/* ==========================================================================
   Julien Jimenez, point de contact
   Feuille de style unique, sans dependance externe
   Palette : bleu ciel, bleu profond, cyan pale, blanc, gris clair
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Variables
   -------------------------------------------------------------------------- */
:root {
  /* Couleurs */
  --sky: #0EA5E9;
  --sky-dark: #0284C7;
  --deep: #0C4A6E;
  --deep-soft: #145C86;
  --pale: #E0F2FE;
  --white: #FFFFFF;
  --grey: #F1F5F9;
  --ink: #0F172A;
  --muted: #475569;
  --line: rgba(12, 74, 110, 0.12);
  --line-strong: rgba(12, 74, 110, 0.22);

  /* Ombres larges et douces */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 4px 14px rgba(12, 74, 110, 0.07);
  --shadow-md: 0 14px 40px rgba(12, 74, 110, 0.10);
  --shadow-lg: 0 30px 80px rgba(12, 74, 110, 0.16);
  --shadow-xl: 0 50px 120px rgba(12, 74, 110, 0.22);
  --glow: 0 0 0 1px rgba(14, 165, 233, 0.18), 0 24px 60px rgba(14, 165, 233, 0.20);

  /* Rayons */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 36px;
  --r-full: 999px;

  /* Espacements */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;
  --sp-10: 8rem;

  /* Largeurs */
  --shell: 1180px;
  --shell-narrow: 860px;

  /* Typographie systeme */
  --font-sans: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Menlo, Consolas, "Liberation Mono", monospace;

  /* Transitions */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 160ms;
  --t-med: 320ms;
  --t-slow: 620ms;
}

/* --------------------------------------------------------------------------
   2. Reinitialisation legere
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.72;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a { color: var(--sky-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--deep); }

h1, h2, h3, h4 {
  margin: 0 0 var(--sp-4);
  line-height: 1.16;
  letter-spacing: -0.021em;
  color: var(--deep);
  font-weight: 700;
}

h1 { font-size: clamp(2.4rem, 1.7rem + 3.2vw, 4rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.75rem, 1.32rem + 1.9vw, 2.7rem); }
h3 { font-size: clamp(1.1rem, 1.02rem + 0.38vw, 1.32rem); }

p { margin: 0 0 var(--sp-4); }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

button { font: inherit; color: inherit; }

::selection { background: var(--sky); color: var(--white); }

/* --------------------------------------------------------------------------
   3. Accessibilite
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: 50%;
  top: -80px;
  transform: translateX(-50%);
  z-index: 999;
  background: var(--deep);
  color: var(--white);
  padding: 0.85rem 1.6rem;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  text-decoration: none;
  font-weight: 600;
  transition: top var(--t-med) var(--ease);
}
.skip-link:focus { top: 0; color: var(--white); }

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

/* --------------------------------------------------------------------------
   4. Formes organiques de fond
   -------------------------------------------------------------------------- */
.orbs {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  display: block;
  border-radius: 50% 42% 58% 46% / 48% 54% 44% 52%;
  filter: blur(60px);
  opacity: 0.55;
}

.orb-1 {
  width: 46vw; height: 46vw;
  top: -12vw; left: -10vw;
  background: radial-gradient(circle at 35% 35%, rgba(14, 165, 233, 0.45), rgba(224, 242, 254, 0));
  animation: drift-a 46s var(--ease-soft) infinite alternate;
}
.orb-2 {
  width: 38vw; height: 38vw;
  top: 28vh; right: -14vw;
  background: radial-gradient(circle at 60% 40%, rgba(12, 74, 110, 0.28), rgba(224, 242, 254, 0));
  animation: drift-b 58s var(--ease-soft) infinite alternate;
}
.orb-3 {
  width: 42vw; height: 42vw;
  bottom: -16vw; left: 18vw;
  background: radial-gradient(circle at 45% 55%, rgba(14, 165, 233, 0.30), rgba(255, 255, 255, 0));
  animation: drift-c 68s var(--ease-soft) infinite alternate;
}
.orb-4 {
  width: 26vw; height: 26vw;
  top: 58vh; left: 4vw;
  background: radial-gradient(circle at 50% 50%, rgba(224, 242, 254, 0.9), rgba(255, 255, 255, 0));
  animation: drift-a 52s var(--ease-soft) infinite alternate-reverse;
}

@keyframes drift-a {
  0%   { transform: translate3d(0, 0, 0) scale(1) rotate(0deg); }
  100% { transform: translate3d(6vw, 7vh, 0) scale(1.14) rotate(24deg); }
}
@keyframes drift-b {
  0%   { transform: translate3d(0, 0, 0) scale(1.05) rotate(0deg); }
  100% { transform: translate3d(-7vw, -5vh, 0) scale(0.92) rotate(-18deg); }
}
@keyframes drift-c {
  0%   { transform: translate3d(0, 0, 0) scale(0.96) rotate(0deg); }
  100% { transform: translate3d(5vw, -8vh, 0) scale(1.12) rotate(16deg); }
}

/* --------------------------------------------------------------------------
   5. Structure generale
   -------------------------------------------------------------------------- */
.shell {
  width: min(100% - 2.5rem, var(--shell));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: clamp(4rem, 2.4rem + 6vw, 7.5rem) 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(241, 245, 249, 0) 0%, var(--grey) 12%, var(--grey) 88%, rgba(241, 245, 249, 0) 100%);
}

.section-deep {
  background:
    radial-gradient(120% 80% at 15% 0%, rgba(14, 165, 233, 0.30), transparent 60%),
    linear-gradient(150deg, var(--deep) 0%, #08324B 100%);
  color: rgba(255, 255, 255, 0.86);
  border-radius: var(--r-xl);
  margin-inline: auto;
  width: min(100% - 1.5rem, 1320px);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(2.5rem, 1.6rem + 3vw, 4rem);
}

.section-head-light h2 { color: var(--white); }
.section-head-light .section-tag { color: var(--pale); background: rgba(255, 255, 255, 0.10); border-color: rgba(255, 255, 255, 0.22); }
.section-head-light .section-lead { color: rgba(224, 242, 254, 0.86); }

.section-tag {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky-dark);
  background: var(--pale);
  border: 1px solid rgba(14, 165, 233, 0.24);
  padding: 0.42rem 0.9rem;
  border-radius: var(--r-full);
  margin-bottom: var(--sp-4);
}

.section-lead {
  font-size: clamp(1.03rem, 0.98rem + 0.32vw, 1.18rem);
  color: var(--muted);
  max-width: 66ch;
}

/* --------------------------------------------------------------------------
   6. En tete et navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: background var(--t-med) var(--ease-soft), border-color var(--t-med) var(--ease-soft), box-shadow var(--t-med) var(--ease-soft);
}
.site-header.is-stuck {
  background: rgba(255, 255, 255, 0.88);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(12, 74, 110, 0.07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--deep);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: linear-gradient(140deg, var(--sky), var(--deep));
  color: var(--white);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-med) var(--ease);
}
.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.05); }

.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 1rem; letter-spacing: -0.01em; }
.brand-text em {
  font-style: normal;
  font-size: 0.74rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.nav-list a {
  display: inline-block;
  padding: 0.5rem 0.72rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  border-radius: var(--r-xs);
  position: relative;
  transition: color var(--t-fast) var(--ease-soft), background var(--t-fast) var(--ease-soft);
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0.72rem;
  right: 0.72rem;
  bottom: 0.24rem;
  height: 2px;
  border-radius: 2px;
  background: var(--sky);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med) var(--ease);
}
.nav-list a:hover { color: var(--deep); background: rgba(224, 242, 254, 0.7); }
.nav-list a.is-active { color: var(--deep); }
.nav-list a.is-active::after { transform: scaleX(1); }

.nav-cta {
  background: var(--deep) !important;
  color: var(--white) !important;
  padding: 0.58rem 1.05rem !important;
  border-radius: var(--r-full) !important;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-med) var(--ease);
}
.nav-cta::after { display: none; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.nav-toggle {
  display: none;
  width: 46px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--white);
  cursor: pointer;
  padding: 0;
  place-items: center;
  gap: 5px;
}
.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--deep);
  transition: transform var(--t-med) var(--ease), opacity var(--t-fast) linear;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.scroll-progress {
  height: 2px;
  background: transparent;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--sky), var(--deep));
  transition: width 90ms linear;
}

/* --------------------------------------------------------------------------
   7. Hero, carte de visite XL
   -------------------------------------------------------------------------- */
.hero {
  padding: clamp(3rem, 1.6rem + 6vw, 6.5rem) 0 clamp(3rem, 2rem + 4vw, 5.5rem);
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sky-dark);
  margin-bottom: var(--sp-6);
  padding: 0.4rem 1rem;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(14, 165, 233, 0.28);
  backdrop-filter: blur(8px);
}

.card-xl {
  position: relative;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(1.6rem, 1rem + 2.4vw, 3.4rem);
  align-items: center;
  text-align: left;
  padding: clamp(1.6rem, 1rem + 2.4vw, 3.2rem);
  border-radius: var(--r-xl);
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  transition: transform var(--t-slow) var(--ease), box-shadow var(--t-slow) var(--ease);
}
.card-xl::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.95), rgba(14, 165, 233, 0.28) 45%, rgba(255, 255, 255, 0.6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.card-xl-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.20), transparent 65%);
  top: -160px;
  right: -120px;
  pointer-events: none;
  animation: halo 18s var(--ease-soft) infinite alternate;
}
@keyframes halo {
  0% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.75; }
  100% { transform: translate3d(-40px, 60px, 0) scale(1.2); opacity: 1; }
}

.portrait {
  position: relative;
  margin: 0;
}
.portrait img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: 0 24px 60px rgba(12, 74, 110, 0.28);
  border: 4px solid rgba(255, 255, 255, 0.9);
  transition: transform var(--t-slow) var(--ease);
}
.card-xl:hover .portrait img { transform: translateY(-4px) scale(1.02); }

.portrait-badge {
  position: absolute;
  left: 50%;
  bottom: -18px;
  transform: translateX(-50%);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--deep);
  background: var(--white);
  border: 1px solid var(--line);
  padding: 0.42rem 0.85rem;
  border-radius: var(--r-full);
  box-shadow: var(--shadow-md);
}

.pulse {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #16A34A;
  position: relative;
  flex: none;
}
.pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(22, 163, 74, 0.55);
  animation: pulse-ring 2.4s var(--ease-soft) infinite;
}
.pulse-lg { width: 12px; height: 12px; }
@keyframes pulse-ring {
  0%   { transform: scale(0.6); opacity: 1; }
  80%  { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}

.card-xl-body h1 { margin-bottom: 0.6rem; }
.role {
  color: var(--muted);
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
  max-width: 44ch;
  margin-bottom: var(--sp-6);
}

.mail-label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sky-dark);
  margin-bottom: 0.4rem;
}

.mail-xl {
  display: block;
  font-size: clamp(1.25rem, 0.7rem + 2.6vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--deep);
  text-decoration: none;
  word-break: break-word;
  background: linear-gradient(120deg, var(--deep) 0%, var(--sky) 55%, var(--deep) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: background-position var(--t-slow) var(--ease);
  margin-bottom: var(--sp-5);
}
.mail-xl:hover { background-position: 100% 0; }

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: var(--sp-5);
}
.card-actions-center { justify-content: center; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.82rem 1.5rem;
  border-radius: var(--r-full);
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-med) var(--ease), background var(--t-med) var(--ease-soft), color var(--t-fast) var(--ease-soft);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--sky), var(--deep));
  color: var(--white);
  box-shadow: 0 12px 30px rgba(14, 165, 233, 0.32);
}
.btn-primary:hover { color: var(--white); box-shadow: 0 18px 44px rgba(14, 165, 233, 0.42); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  color: var(--deep);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: var(--white); color: var(--deep); box-shadow: var(--shadow-sm); }

.copy-icon {
  width: 15px; height: 15px;
  border: 2px solid currentColor;
  border-radius: 3px;
  position: relative;
  flex: none;
  transition: transform var(--t-med) var(--ease);
}
.copy-icon::before {
  content: "";
  position: absolute;
  left: -5px; top: -5px;
  width: 15px; height: 15px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-radius: 3px;
  opacity: 0.65;
}
.copy-btn.is-copied .copy-icon {
  transform: rotate(-45deg) scale(0.9);
  border-color: transparent;
  border-bottom: 2px solid currentColor;
  border-left: 2px solid currentColor;
  border-radius: 0;
  height: 8px;
}
.copy-btn.is-copied .copy-icon::before { opacity: 0; }

.card-note {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 52ch;
}

.hero-intro {
  max-width: 74ch;
  margin: clamp(2.4rem, 1.6rem + 2vw, 3.6rem) auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 0.96rem + 0.3vw, 1.14rem);
}

/* --------------------------------------------------------------------------
   8. Principes de contact
   -------------------------------------------------------------------------- */
.principles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1rem, 0.6rem + 1.4vw, 1.8rem);
}

.principle {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 1.1rem + 1vw, 2.2rem);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease-soft);
}
.principle::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sky), var(--deep));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-slow) var(--ease);
}
.principle:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(14, 165, 233, 0.3);
}
.principle:hover::before { transform: scaleX(1); }

.principle-num {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 14px;
  background: var(--pale);
  color: var(--deep);
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: var(--sp-4);
}
.principle p { color: var(--muted); font-size: 0.98rem; }

/* --------------------------------------------------------------------------
   9. Liste a cocher
   -------------------------------------------------------------------------- */
.checklist-wrap {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: clamp(1.4rem, 1rem + 2vw, 3rem);
  align-items: start;
}

.checklist-progress {
  position: sticky;
  top: 110px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  box-shadow: var(--shadow-md);
}
.checklist-progress-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}
.checklist-count { font-size: 0.92rem; color: var(--muted); }
.checklist-count strong {
  font-size: 1.8rem;
  color: var(--deep);
  font-weight: 800;
  display: inline-block;
  min-width: 1.2ch;
}

.link-btn {
  background: none;
  border: 0;
  padding: 0;
  font-size: 0.82rem;
  color: var(--sky-dark);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--t-fast) var(--ease-soft);
}
.link-btn:hover { color: var(--deep); }

.progress-track {
  height: 10px;
  border-radius: var(--r-full);
  background: var(--grey);
  overflow: hidden;
  border: 1px solid var(--line);
}
.progress-fill {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: var(--r-full);
  background: linear-gradient(90deg, var(--sky), var(--deep));
  transition: width var(--t-slow) var(--ease);
}
.checklist-hint {
  margin-top: var(--sp-4);
  font-size: 0.88rem;
  color: var(--muted);
  min-height: 3em;
}

.checklist { display: grid; gap: 0.75rem; }

.check-toggle {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.95rem;
  align-items: start;
  width: 100%;
  text-align: left;
  font: inherit;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.05rem 1.25rem;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transition: border-color var(--t-med) var(--ease-soft), box-shadow var(--t-med) var(--ease), transform var(--t-med) var(--ease), background var(--t-med) var(--ease-soft);
}
.check-toggle:hover {
  border-color: rgba(14, 165, 233, 0.4);
  box-shadow: var(--shadow-sm);
  transform: translateX(3px);
}
.check-toggle[aria-checked="true"] {
  background: linear-gradient(180deg, var(--white), rgba(224, 242, 254, 0.55));
  border-color: rgba(14, 165, 233, 0.38);
}

.check-box {
  width: 24px; height: 24px;
  border-radius: 7px;
  border: 2px solid var(--line-strong);
  background: var(--white);
  position: relative;
  flex: none;
  margin-top: 2px;
  transition: background var(--t-med) var(--ease-soft), border-color var(--t-med) var(--ease-soft), transform var(--t-fast) var(--ease);
}
.check-box::after {
  content: "";
  position: absolute;
  left: 7px; top: 3px;
  width: 6px; height: 11px;
  border: solid var(--white);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg) scale(0);
  transition: transform var(--t-med) var(--ease);
}
.check-toggle[aria-checked="true"] .check-box {
  background: linear-gradient(135deg, var(--sky), var(--deep));
  border-color: var(--sky-dark);
}
.check-toggle[aria-checked="true"] .check-box::after { transform: rotate(45deg) scale(1); }

.check-text { display: block; font-size: 0.95rem; color: var(--muted); }
.check-text strong {
  display: block;
  color: var(--deep);
  font-size: 1.02rem;
  margin-bottom: 0.25rem;
  transition: color var(--t-med) var(--ease-soft);
}
.check-toggle[aria-checked="true"] .check-text strong { color: var(--sky-dark); }
.check-toggle[aria-checked="true"] .check-text { opacity: 0.8; }

/* --------------------------------------------------------------------------
   10. Etapes
   -------------------------------------------------------------------------- */
.steps {
  position: relative;
  display: grid;
  gap: clamp(1rem, 0.6rem + 1.2vw, 1.6rem);
  counter-reset: etape;
}
.steps::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 40px;
  bottom: 40px;
  width: 2px;
  background: linear-gradient(180deg, var(--sky), rgba(14, 165, 233, 0.1));
}

.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: clamp(1rem, 0.7rem + 1vw, 1.8rem);
  align-items: start;
  position: relative;
}

.step-marker {
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid rgba(14, 165, 233, 0.35);
  box-shadow: 0 8px 22px rgba(12, 74, 110, 0.12);
  position: relative;
  z-index: 1;
  transition: transform var(--t-med) var(--ease), background var(--t-med) var(--ease-soft), border-color var(--t-med) var(--ease-soft);
}
.step-marker span {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--deep);
  transition: color var(--t-med) var(--ease-soft);
}
.step:hover .step-marker {
  transform: scale(1.08);
  background: linear-gradient(135deg, var(--sky), var(--deep));
  border-color: transparent;
}
.step:hover .step-marker span { color: var(--white); }

.step-body {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.3rem, 1rem + 0.9vw, 2rem);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t-med) var(--ease), transform var(--t-med) var(--ease);
}
.step:hover .step-body { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.step-delay {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sky-dark);
  background: var(--pale);
  padding: 0.3rem 0.75rem;
  border-radius: var(--r-full);
  margin-bottom: 0.75rem;
}
.step-body h3 { margin-bottom: 0.6rem; }
.step-body p { color: var(--muted); font-size: 0.98rem; }

/* --------------------------------------------------------------------------
   11. Delais et disponibilite
   -------------------------------------------------------------------------- */
.avail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.4rem, 1rem + 2vw, 3rem);
  align-items: start;
}

.avail-figure {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 110px;
}
.avail-figure img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.avail-figure:hover img { transform: scale(1.05); }
.avail-overlay {
  position: absolute;
  left: 1rem; right: 1rem; bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--r-md);
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--deep);
  box-shadow: var(--shadow-sm);
}

.avail-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(0.8rem, 0.5rem + 1vw, 1.3rem);
}

.stat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-xs);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stat-value {
  font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--sky-dark);
  line-height: 1.1;
  margin-bottom: 0.35rem;
  font-variant-numeric: tabular-nums;
}
.stat h3 { font-size: 1rem; margin-bottom: 0.45rem; }
.stat p { font-size: 0.9rem; color: var(--muted); }

.avail-note {
  margin-top: clamp(2rem, 1.4rem + 1.6vw, 3rem);
  max-width: 78ch;
  color: var(--muted);
  padding: 1.4rem 1.6rem;
  border-left: 3px solid var(--sky);
  background: var(--white);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  box-shadow: var(--shadow-xs);
}

/* --------------------------------------------------------------------------
   12. Demandes traitees
   -------------------------------------------------------------------------- */
.requests {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: clamp(0.9rem, 0.6rem + 1.2vw, 1.5rem);
}

.request {
  position: relative;
  background: linear-gradient(180deg, var(--white), rgba(241, 245, 249, 0.5));
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.6rem 1.7rem;
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease-soft);
}
.request::after {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.18), transparent 70%);
  opacity: 0;
  transition: opacity var(--t-slow) var(--ease-soft), transform var(--t-slow) var(--ease);
}
.request:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(14, 165, 233, 0.35);
}
.request:hover::after { opacity: 1; transform: translate(-14px, 14px); }
.request h3 {
  padding-bottom: 0.7rem;
  margin-bottom: 0.7rem;
  border-bottom: 1px solid var(--line);
}
.request p { color: var(--muted); font-size: 0.95rem; }

/* --------------------------------------------------------------------------
   13. Limites
   -------------------------------------------------------------------------- */
.limits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(1rem, 0.7rem + 1.2vw, 1.6rem);
}

.limit {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-md);
  padding: 1.6rem 1.8rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background var(--t-med) var(--ease-soft), transform var(--t-med) var(--ease), border-color var(--t-med) var(--ease-soft);
}
.limit:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(224, 242, 254, 0.35);
  transform: translateY(-4px);
}
.limit h3 {
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}
.limit h3::before {
  content: "";
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid var(--pale);
  position: relative;
  flex: none;
  background:
    linear-gradient(45deg, transparent 44%, var(--pale) 44%, var(--pale) 56%, transparent 56%);
}
.limit p { color: rgba(224, 242, 254, 0.82); font-size: 0.95rem; }

/* --------------------------------------------------------------------------
   14. Profil
   -------------------------------------------------------------------------- */
.profile {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: clamp(1.6rem, 1rem + 2.6vw, 3.5rem);
  align-items: start;
}

.profile-media {
  position: relative;
  position: sticky;
  top: 110px;
}
.profile-media > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}

.profile-portrait {
  position: absolute;
  right: -18px;
  bottom: -34px;
  margin: 0;
  width: 168px;
  background: var(--white);
  border-radius: var(--r-md);
  padding: 10px 10px 12px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  transition: transform var(--t-slow) var(--ease);
}
.profile-media:hover .profile-portrait { transform: translateY(-6px) rotate(-2deg); }
.profile-portrait img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--r-sm);
}
.profile-portrait figcaption {
  margin-top: 0.6rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--deep);
  line-height: 1.3;
}
.profile-portrait figcaption span {
  display: block;
  font-weight: 500;
  font-size: 0.72rem;
  color: var(--muted);
}

.profile-text p { color: var(--muted); }
.profile-text p:first-child {
  font-size: 1.08rem;
  color: var(--ink);
}

.profile-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.9rem;
  margin-top: var(--sp-6);
}
.profile-facts li {
  background: var(--pale);
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: var(--r-sm);
  padding: 0.9rem 1rem;
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.45;
  transition: transform var(--t-med) var(--ease), background var(--t-med) var(--ease-soft);
}
.profile-facts li:hover { transform: translateY(-3px); background: #D2ECFD; }
.profile-facts strong {
  display: block;
  font-size: 1.15rem;
  color: var(--deep);
  letter-spacing: -0.02em;
  margin-bottom: 0.15rem;
}

/* --------------------------------------------------------------------------
   15. Domaines
   -------------------------------------------------------------------------- */
.domains {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0.9rem;
}
.domain {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--sky);
  border-radius: var(--r-sm);
  padding: 1.15rem 1.3rem;
  box-shadow: var(--shadow-xs);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-left-color var(--t-med) var(--ease-soft);
}
.domain:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--deep);
}
.domain h3 { font-size: 1rem; margin-bottom: 0.35rem; }
.domain p { font-size: 0.89rem; color: var(--muted); }

.tools {
  margin-top: clamp(1.6rem, 1.2rem + 1.4vw, 2.6rem);
  font-size: 0.92rem;
  color: var(--muted);
  background: var(--white);
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-md);
  padding: 1.3rem 1.5rem;
  line-height: 1.9;
}
.tools strong { color: var(--deep); }

/* --------------------------------------------------------------------------
   16. FAQ
   -------------------------------------------------------------------------- */
.faq {
  display: grid;
  gap: 0.7rem;
  max-width: 900px;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease-soft);
}
.faq-item:hover { border-color: rgba(14, 165, 233, 0.32); box-shadow: var(--shadow-sm); }
.faq-item h3 { margin: 0; font-size: 1rem; }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  background: none;
  border: 0;
  padding: 1.15rem 1.4rem;
  font-size: 1.02rem;
  font-weight: 650;
  color: var(--deep);
  cursor: pointer;
  transition: background var(--t-fast) var(--ease-soft), color var(--t-fast) var(--ease-soft);
}
.faq-q:hover { background: rgba(224, 242, 254, 0.55); }

.faq-icon {
  width: 22px; height: 22px;
  flex: none;
  position: relative;
  border-radius: 50%;
  background: var(--pale);
  transition: background var(--t-med) var(--ease-soft), transform var(--t-med) var(--ease);
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 10px; height: 2px;
  border-radius: 2px;
  background: var(--deep);
  transform: translate(-50%, -50%);
  transition: transform var(--t-med) var(--ease), background var(--t-med) var(--ease-soft);
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-q[aria-expanded="true"] .faq-icon { background: var(--sky); transform: rotate(180deg); }
.faq-q[aria-expanded="true"] .faq-icon::before,
.faq-q[aria-expanded="true"] .faq-icon::after { background: var(--white); }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }

.faq-a {
  padding: 0 1.4rem 1.3rem;
  color: var(--muted);
  font-size: 0.96rem;
  animation: faq-in var(--t-med) var(--ease) both;
}
@keyframes faq-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   17. Contact final
   -------------------------------------------------------------------------- */
.section-contact {
  padding-bottom: clamp(4rem, 3rem + 4vw, 8rem);
}

.contact-banner {
  margin: 0 0 -90px;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 900px;
  margin-inline: auto;
}
.contact-banner img {
  width: 100%;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
  filter: saturate(1.05);
}

.contact-card {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(2rem, 1.4rem + 2.6vw, 3.6rem);
  border-radius: var(--r-xl);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(24px) saturate(170%);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-xl);
}
.contact-lead {
  color: var(--muted);
  max-width: 58ch;
  margin-inline: auto;
  margin-bottom: var(--sp-6);
}
.mail-xl-final { text-align: center; }

.contact-facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.4rem;
  margin-top: var(--sp-5);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--muted);
}
.contact-facts li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

/* --------------------------------------------------------------------------
   18. Pied de page
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--deep);
  color: rgba(224, 242, 254, 0.78);
  padding: clamp(2.6rem, 2rem + 2vw, 4rem) 0 2rem;
}
.footer-inner { display: grid; gap: var(--sp-5); }
.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  max-width: 46ch;
}
.footer-brand strong { color: var(--white); font-size: 1.05rem; }
.footer-brand p { font-size: 0.9rem; margin: 0.2rem 0 0; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  padding: var(--sp-4) 0;
  border-top: 1px solid rgba(224, 242, 254, 0.16);
  border-bottom: 1px solid rgba(224, 242, 254, 0.16);
}
.footer-nav a {
  color: rgba(224, 242, 254, 0.82);
  text-decoration: none;
  font-size: 0.9rem;
  position: relative;
  transition: color var(--t-fast) var(--ease-soft);
}
.footer-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 1px;
  background: var(--sky);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--t-med) var(--ease);
}
.footer-nav a:hover { color: var(--white); }
.footer-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.footer-mail a {
  color: var(--white);
  font-size: clamp(1.05rem, 0.9rem + 0.8vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  border-bottom: 2px solid var(--sky);
  padding-bottom: 2px;
  transition: color var(--t-fast) var(--ease-soft), border-color var(--t-fast) var(--ease-soft);
}
.footer-mail a:hover { color: var(--pale); border-color: var(--pale); }

.footer-legal { font-size: 0.8rem; color: rgba(224, 242, 254, 0.6); max-width: 70ch; }

/* --------------------------------------------------------------------------
   19. Retour en haut et notification
   -------------------------------------------------------------------------- */
.to-top {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.9);
  transition: opacity var(--t-med) var(--ease-soft), transform var(--t-med) var(--ease), visibility var(--t-med) linear;
  z-index: 90;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.to-top:hover { background: var(--white); transform: translateY(-3px); }
.to-top span {
  width: 11px; height: 11px;
  border-left: 2px solid var(--deep);
  border-top: 2px solid var(--deep);
  transform: rotate(45deg) translate(2px, 2px);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 2rem;
  transform: translate(-50%, 24px);
  background: var(--deep);
  color: var(--white);
  padding: 0.85rem 1.5rem;
  border-radius: var(--r-full);
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-med) var(--ease-soft), transform var(--t-med) var(--ease), visibility var(--t-med) linear;
  z-index: 200;
  pointer-events: none;
}
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* --------------------------------------------------------------------------
   20. Apparitions au defilement
   -------------------------------------------------------------------------- */
.reveal,
.reveal-step {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity var(--t-slow) var(--ease-soft), transform var(--t-slow) var(--ease);
  will-change: opacity, transform;
}
.reveal.is-in,
.reveal-step.is-in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-step { transform: translateY(34px) scale(0.985); }
.reveal-step.is-in { transform: translateY(0) scale(1); }

/* --------------------------------------------------------------------------
   21. Page 404
   -------------------------------------------------------------------------- */
.error-page {
  min-height: 78vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: clamp(3rem, 2rem + 5vw, 7rem) 0;
}
.error-card {
  max-width: 640px;
  padding: clamp(2rem, 1.4rem + 2.4vw, 3.4rem);
  border-radius: var(--r-xl);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-xl);
}
.error-code {
  font-size: clamp(3.5rem, 2rem + 7vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  background: linear-gradient(120deg, var(--sky), var(--deep));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: var(--sp-4);
}
.error-portrait {
  width: 110px; height: 110px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto var(--sp-5);
  border: 4px solid var(--white);
  box-shadow: var(--shadow-md);
}
.error-card p { color: var(--muted); }

/* --------------------------------------------------------------------------
   22. Points de rupture
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .profile { grid-template-columns: minmax(260px, 360px) 1fr; }
  .checklist-wrap { grid-template-columns: 280px 1fr; }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 78px; }

  .nav-toggle { display: grid; }
  .nav {
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    clip-path: inset(0 0 100% 0);
    opacity: 0;
    pointer-events: none;
    transition: clip-path var(--t-med) var(--ease), opacity var(--t-fast) linear;
  }
  .nav.is-open { clip-path: inset(0 0 0 0); opacity: 1; pointer-events: auto; }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.1rem;
    padding: 1rem 1.25rem 1.6rem;
  }
  .nav-list a { padding: 0.75rem 0.6rem; font-size: 1rem; }
  .nav-list a::after { display: none; }
  .nav-list a.is-active { background: var(--pale); }
  .nav-cta { text-align: center; margin-top: 0.6rem; }

  .card-xl { grid-template-columns: 1fr; text-align: center; }
  .portrait { max-width: 230px; margin-inline: auto; }
  .portrait-badge { position: static; transform: none; margin-top: 1.6rem; display: inline-flex; }
  .role { margin-inline: auto; }
  .card-actions { justify-content: center; }
  .card-note { margin-inline: auto; }

  .checklist-wrap { grid-template-columns: 1fr; }
  .checklist-progress { position: static; }

  .avail-grid { grid-template-columns: 1fr; }
  .avail-figure { position: static; }

  .profile { grid-template-columns: 1fr; }
  .profile-media { position: static; margin-bottom: 3rem; }
  .profile-portrait { right: 8px; bottom: -30px; width: 140px; }

  .section-deep { border-radius: var(--r-lg); }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 1.75rem, var(--shell)); }
  .brand-text em { display: none; }

  .steps::before { left: 21px; }
  .step { grid-template-columns: 44px 1fr; gap: 0.9rem; }
  .step-marker { width: 44px; height: 44px; }
  .step-marker span { font-size: 1rem; }

  .card-xl { padding: 1.4rem 1.2rem 1.8rem; }
  .mail-xl { font-size: clamp(1.05rem, 0.6rem + 3.2vw, 1.6rem); }
  .card-actions .btn { width: 100%; justify-content: center; }

  .contact-banner { margin-bottom: -60px; border-radius: var(--r-lg); }
  .contact-card { padding: 1.6rem 1.2rem; }
  .contact-facts { flex-direction: column; align-items: center; }

  .profile-portrait { width: 118px; right: 0; }
  .to-top { right: 0.9rem; bottom: 0.9rem; }
  .orb { filter: blur(46px); opacity: 0.42; }
}

/* --------------------------------------------------------------------------
   23. Impression
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .to-top, .toast, .orbs, .nav-toggle { display: none !important; }
  body { color: #000; background: #fff; }
  .reveal, .reveal-step { opacity: 1 !important; transform: none !important; }
  .section-deep { background: #fff; color: #000; }
  .limit p, .limit h3 { color: #000; }
  a { color: #000; }
}

/* --------------------------------------------------------------------------
   24. Mouvement reduit
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal,
  .reveal-step {
    opacity: 1 !important;
    transform: none !important;
  }
  .orb { animation: none !important; }
  .pulse::after { animation: none !important; opacity: 0.5; }
}
