:root {
  --primary: #023e5e;
  --primary-dark: #012436;
  --accent: #985453;
  --accent-dark: #7e4545;
  --bg: #f7f4f2;
  --pale: #e0edf5;
  --text: #374151;
  --heading: #111827;
  --muted: #6b7280;
  --white: #fff;
  --font-head: "Merriweather", Georgia, serif;
  --font-body: "Raleway", system-ui, sans-serif;
  --radius: 16px;
  --radius-pill: 25px;
  --shadow: 0 10px 30px #0000001a;
  --header-h: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { margin: 0; font: 400 1rem/1.6 var(--font-body); color: var(--text); background: var(--white); }
h1, h2, h3 { font-family: var(--font-head); color: var(--heading); line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 5vw, 3.2rem); font-weight: 900; color: var(--white); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1rem; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.container { width: min(1120px, 100% - 2rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--white); padding: .75rem 1rem; z-index: 200; }
.skip:focus { left: 0; }

/* Header */
.header { position: fixed; inset: 0 0 auto; height: var(--header-h); background: var(--primary); z-index: 100; box-shadow: 0 2px 8px #0000001f; }
.header__in { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo__img { height: 40px; width: auto; display: block; filter: brightness(0) invert(); opacity: .9; }
.logo__word { margin-left: -6px; margin-top: 5px; font: 700 1.7rem/1 var(--font-body); letter-spacing: .02em; }
.logo__word span:first-child { color: var(--white); }
.logo__word span:last-child { color: #b0605d; }
.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav a { color: var(--white); text-decoration: none; font-weight: 600; padding: .5rem 0; }
.nav a:not(.btn):hover { color: #a8d8f0; }
.burger { display: none; width: 48px; height: 48px; background: none; border: 0; cursor: pointer; position: relative; }
.burger span, .burger span::before, .burger span::after { position: absolute; left: 12px; width: 24px; height: 2px; background: var(--white); content: ""; transition: transform .2s ease; }
.burger span { top: 23px; }
.burger span::before { top: -7px; left: 0; }
.burger span::after { top: 7px; left: 0; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .75rem 1.75rem; border-radius: var(--radius-pill); background: var(--accent); color: var(--white); font: 700 1rem var(--font-body); text-decoration: none; border: 2px solid var(--accent); cursor: pointer; transition: background .2s ease, transform .2s ease; touch-action: manipulation; }
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn--sm { min-height: 44px; padding: .5rem 1.5rem; }
.nav a.btn { padding: .5rem 1.5rem; }
.btn--ghost { background: transparent; border-color: var(--white); }
.btn--ghost:hover { background: #ffffff1f; border-color: var(--white); }
.btn--light { background: var(--white); color: var(--primary); border-color: var(--white); }
.btn--light:hover { background: var(--pale); border-color: var(--pale); }

/* Hero */
.hero { position: relative; overflow: hidden; color: #c9d6df; padding: calc(var(--header-h) + 4rem) 0 5rem; min-height: min(100vh, 900px); display: flex; align-items: center;
  background: linear-gradient(160deg, #071e2e 0%, #0b2d45 55%, #071e2e 100%); }
.particles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.15; letter-spacing: -.01em; }
.hero h1 em { font-style: normal; color: #b0605d; }
.lead { font-size: 1.15rem; max-width: 56ch; color: #b8c6d1; text-wrap: pretty; }
.actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero .btn--ghost { border-color: #ffffff4d; border-width: 1px; }

.orbit { position: relative; width: min(100%, 440px); aspect-ratio: 1; margin: 2rem auto; }
.orbit__ring { position: absolute; inset: 0; border: 1px dashed #ffffff30; border-radius: 50%; }
.orbit__halo { position: absolute; inset: 25%; border-radius: 50%; border: 1px solid #ffffff18; background: radial-gradient(circle, #12405f 0%, #0d3049 70%, transparent 71%); }
.orbit__core { position: absolute; inset: 32.5%; border-radius: 50%; background: var(--white); display: grid; place-items: center; box-shadow: 0 0 0 14px #0f3552, 0 20px 50px #00000059; }
.orbit__logo { width: 62%; height: auto; display: block; }
.orbit__node { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; background: var(--white); display: grid; place-items: center; box-shadow: 0 6px 18px #00000040; }
.orbit__node svg { width: 22px; height: 22px; fill: none; stroke: var(--primary); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.orbit__node:nth-of-type(2) svg { stroke: var(--accent); }
.orbit__node b { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); font: 700 .72rem var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: #c9d6df; white-space: nowrap; }
.orbit__pill { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); padding: .3rem .8rem; border-radius: 999px; background: #173a55; border: 1px solid #ffffff26; color: #e5eef3; font: 700 .72rem var(--font-body); white-space: nowrap; }
.orbit__dot { position: absolute; left: var(--x); top: var(--y); width: 6px; height: 6px; border-radius: 50%; background: #b0605d; }
.orbit__dot--blue { background: #a8d8f0; box-shadow: 0 0 8px #a8d8f0; }
.orbit__dot { animation: dotFloat 6s ease-in-out infinite, dotPulse 3s ease-in-out infinite; }
.orbit__dot:nth-of-type(2n) { animation-duration: 8s, 4s; animation-delay: -2s, -1s; }
.orbit__dot:nth-of-type(3n) { animation-duration: 7s, 3.5s; animation-delay: -4s, -2s; animation-direction: reverse, normal; }
.orbit__ring { animation: ringSpin 90s linear infinite; }
.hero__in { position: relative; z-index: 1; }
@keyframes dotFloat { 0%,100% { transform: translate(0,0); } 25% { transform: translate(8px,-10px); } 50% { transform: translate(-6px,-4px); } 75% { transform: translate(4px,8px); } }
@keyframes dotPulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes ringSpin { to { transform: rotate(360deg); } }
@media (max-width: 900px) {
  .hero__in { grid-template-columns: 1fr; }
  .orbit { width: min(100% - 5rem, 380px); }
}

/* Chiffres clés */
.stats { background: #031a2b; padding: 4rem 0 3.5rem; text-align: center; }
.stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin: 0 auto; max-width: 1000px; }
.stats__grid > div { padding: .25rem 1rem; display: flex; flex-direction: column-reverse; align-items: center; justify-content: flex-end; }
.stats__grid > div + div { border-left: 1px solid #ffffff1f; }
.stats dd { margin: 0; font: 700 clamp(2rem, 4vw, 3rem)/1.15 var(--font-head); color: var(--white); }
.stats dt { font: 600 .8rem var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: #8d9eab; }
.stats__rule { display: block; width: 48px; height: 1px; background: var(--accent); margin: 3rem auto 2rem; }
.stats__label { font: 700 .8rem var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: #8d9eab; margin: 0 0 1.75rem; }
.marquee { overflow: hidden; max-width: 1000px; margin: 0 auto; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; width: max-content; margin: 0; padding: 0; list-style: none; animation: marquee 40s linear infinite; }
.marquee__track li { padding: 0 1.75rem; font: 700 .9rem var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: #6f8291; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 600px) { .stats__grid > div + div { border-left: 0; } }

/* Expertise */
.section--expertise { background: var(--white); padding: 5rem 0; text-align: center; }
.section--expertise h2 { color: var(--primary); font-weight: 700; }
.section--expertise .section__lead { color: #6b7280; margin: 0 auto 3rem; }
.section--expertise .grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 1.25rem; max-width: 1000px; margin: 0 auto; text-align: left; }
.section--expertise .card { display: flex; flex-direction: column; background: var(--white); border: 1px solid #e3e8ec; border-radius: 14px; padding: 1.75rem; }
.section--expertise .card--featured { grid-column: 1 / -1; position: relative; border-color: #b9cfdd; background: linear-gradient(180deg, #f3f8fb, var(--white)); }
.section--expertise .card--featured h3 { font-size: 1.35rem; }
.section--expertise .card--featured p { max-width: 70ch; }
.card__flag { position: absolute; top: 1.75rem; right: 1.75rem; font: 700 .72rem var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); background: #f3e4e4; border-radius: 999px; padding: .3rem .8rem; }
.section--expertise .card:hover { box-shadow: 0 12px 30px #0000001a; border-color: #cfd8df; }
.section--expertise .card svg { box-sizing: content-box; width: 22px; height: 22px; padding: 10px; border: 1px solid #d5e2ec; border-radius: 10px; background: var(--pale); stroke: var(--primary); align-self: flex-start; margin-bottom: 1.25rem; }
.section--expertise .card h3 { font: 700 1.15rem var(--font-body); color: var(--heading); margin-bottom: .5rem; }
.section--expertise .card p { color: #6b7280; font-size: .95rem; line-height: 1.65; margin-bottom: 1.5rem; }
.chips { list-style: none; margin: auto 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { font: 400 .72rem ui-monospace, "Courier New", monospace; color: var(--primary); background: #f1f5f8; border: 1px solid #dde5eb; border-radius: 4px; padding: .25rem .6rem; }

/* Sections */
.section { padding: 4.5rem 0; }
.section--tint { background: var(--bg); }
.section--dark { background: var(--primary); color: #e5eef3; }
.section--dark h2 { color: var(--white); }
.section__lead { max-width: 60ch; margin-bottom: 2rem; }
.grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--bg); border-radius: var(--radius); padding: 1.75rem; transition: box-shadow .2s ease, transform .2s ease; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card svg { width: 40px; height: 40px; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1rem; }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .75rem; }
.tags li { background: var(--white); color: var(--primary); border: 1.5px solid var(--pale); border-radius: var(--radius-pill); padding: .5rem 1.25rem; font-weight: 600; }

/* Réalisations */
.section--works { background: var(--bg); text-align: center; padding: 5rem 0; }
.section--works .section__lead { margin: 0 auto 2rem; color: var(--muted); }
.works__nav { display: flex; justify-content: flex-end; gap: .5rem; margin-bottom: 1.25rem; }
.works__btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid #d5dde3; background: var(--white); cursor: pointer; display: grid; place-items: center; transition: opacity .2s ease, border-color .2s ease; touch-action: manipulation; }
.works__btn:hover:not(:disabled) { border-color: var(--primary); }
.works__btn:disabled { opacity: .45; cursor: default; }
.works__btn svg { width: 20px; height: 20px; fill: none; stroke: var(--primary); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.works { display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: .25rem .25rem 1.5rem; text-align: left; }
.works::-webkit-scrollbar { display: none; }
.work { flex: 0 0 min(100%, 370px); scroll-snap-align: start; display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); padding: 1.5rem; box-shadow: 0 4px 20px #0000000f; }
.work__head { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.25rem; }
.work__avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: var(--white); display: grid; place-items: center; font: 700 .8rem var(--font-body); }
.work__sector { font-size: .9rem; color: var(--muted); }
.work__badge { margin-left: auto; background: var(--pale); color: var(--primary); border-radius: var(--radius-pill); padding: .2rem .7rem; font: 700 .75rem var(--font-body); white-space: nowrap; }
.work h3 { font-size: 1.15rem; color: var(--primary); min-height: 2.9em; }
.work p { color: var(--muted); font-size: .95rem; line-height: 1.65; margin-bottom: 1.5rem; }
.work__stack { margin-top: auto; border-top: 1px solid #e5e9ed; padding-top: 1rem; }
.work__stack > span { display: block; font-size: .75rem; color: var(--muted); margin-bottom: .75rem; }
.chips--light li { font: 500 .78rem var(--font-body); color: var(--text); background: var(--white); border: 1px solid #d5dde3; border-radius: 999px; padding: .25rem .8rem; }
.chips--light li.is-accent { background: #e6cfcf; border-color: #e6cfcf; color: var(--accent-dark); }
.work--empty { opacity: .7; }

/* À propos */
.about { background: var(--white); padding: 5rem 0; }
.about__in { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 3rem; align-items: center; max-width: 1000px; }
.about h2 { color: var(--primary); }
.about__text p { color: #6b7280; font-size: 1.05rem; line-height: 1.7; }
.about__values, .about__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.about__values { margin-top: 1.5rem; }
.about__values li, .about__chips li { border: 1px solid #d9dde1; border-radius: 999px; padding: .3rem .9rem; font-size: .85rem; color: #4b5563; background: var(--white); }
.about__chips li { padding: .25rem .8rem; font-size: .8rem; background: transparent; }
.about__values li.is-on { background: #e3e8ec; color: var(--primary); font-weight: 600; }
.about__chips li.is-on { background: #f3e4e4; border-color: #e3c4c4; color: var(--accent); }
.about__card { background: var(--white); border: 1px solid #eceff2; border-radius: 18px; padding: 1.5rem; box-shadow: 0 8px 30px #0000001a; }
.about__head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.about__head div { display: flex; flex-direction: column; flex: 1; line-height: 1.35; }
.about__head strong { color: var(--heading); font-size: 1.05rem; }
.about__head div span { color: #6b7280; font-size: .85rem; }
.about__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: var(--white); display: grid; place-items: center; font: 700 .8rem var(--font-body); flex: none; }
.about__badge { font: 600 .75rem var(--font-body); font-style: normal; background: var(--pale); color: var(--primary); padding: .25rem .7rem; border-radius: 999px; align-self: flex-start; }
.about__card > p { color: #6b7280; font-size: .95rem; margin-bottom: 1rem; }
.about__chips { margin-bottom: 1.25rem; }
.about__foot { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; border-top: 1px solid #eceff2; padding-top: 1rem; font-size: .8rem; color: #6b7280; }
.about__foot b { font-weight: 600; background: var(--pale); color: var(--primary); padding: .2rem .7rem; border-radius: 999px; }
.about__foot b.is-accent { background: #f3e4e4; color: var(--accent); }
.about__check { text-align: right; font-size: .8rem; color: #6b7280; margin: .75rem 0 0; }

/* Pourquoi */
.why { background: var(--bg); text-align: center; padding: 5rem 0; }
.why .section__lead { margin: 0 auto 3.5rem; color: #6b7280; }
.why__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 3rem 4rem; text-align: left; max-width: 1000px; margin: 0 auto; }
.why__col { display: flex; flex-direction: column; }
.why__eyebrow { font: 700 .72rem var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--primary); margin: 0 0 .75rem; }
.why__col--accent .why__eyebrow { color: var(--accent); }
.why__title { font-size: 1.15rem; line-height: 1.4; margin-bottom: 2rem; }
.why__list { list-style: none; margin: 0 0 2rem; padding: 0 0 0 1rem; position: relative; flex: 1; }
.why__list::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: #d9e1e7; }
.why__list li { position: relative; padding: 0 0 1.25rem 1rem; margin-bottom: 1.25rem; border-bottom: 1px solid #e3e6e9; }
.why__list li:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.why__list li::before { content: ""; position: absolute; left: -1rem; top: .55rem; width: 7px; height: 7px; margin-left: -3px; border-radius: 50%; background: var(--bg); border: 1px solid #b5c2cc; transition: background .2s ease, border-color .2s ease; }
.why__list li:hover::before { background: var(--primary); border-color: var(--primary); }
.why__col--accent .why__list li:hover::before { background: var(--accent); border-color: var(--accent); }
.why__list h3 { display: inline; font: 600 1rem var(--font-body); color: var(--heading); }
.why__n { font: 400 .75rem ui-monospace, "Courier New", monospace; color: #8a97a3; margin-right: .5rem; }
.why__list p { margin: .35rem 0 0; color: #6b7280; font-size: .95rem; }
.btn--primary { background: var(--primary); border-color: var(--primary); }
.btn--primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.why .btn { align-self: flex-start; gap: .6rem; }

/* Méthode */
.process { background: var(--white); padding: 5rem 0; text-align: center; }
.process h2 { color: var(--primary); }
.process .section__lead { margin: 0 auto 3rem; color: #6b7280; }
.process__list { list-style: none; margin: 0 auto; padding: 0; max-width: 1000px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 2rem 1.5rem; text-align: left; counter-reset: s; }
.process__step { position: relative; padding-top: 1.25rem; border-top: 1px solid #dde5eb; }
.process__step::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.process__n { display: block; font: 400 .75rem ui-monospace, "Courier New", monospace; color: #8a97a3; margin-bottom: .5rem; }
.process__step h3 { font: 700 1.05rem var(--font-body); color: var(--heading); margin-bottom: .4rem; }
.process__step p { color: #6b7280; font-size: .95rem; margin: 0; }

/* FAQ */
.faq { background: var(--bg); padding: 5rem 0; }
.faq__in { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 2rem 4rem; max-width: 1000px; align-items: start; }
.faq__head h2 { color: var(--primary); }
.faq__head p { color: #6b7280; }
.faq__head a { color: var(--accent); font-weight: 600; }
.faq__head a:hover { color: var(--accent-dark); }
.faq__list { grid-column: span 2; border-top: 1px solid #e0dcd8; }
@media (max-width: 760px) { .faq__list { grid-column: auto; } }
.faq__item { border-bottom: 1px solid #e0dcd8; }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 0; font: 600 1rem var(--font-body); color: var(--heading); min-height: 44px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font: 400 1.4rem/1 var(--font-body); color: var(--accent); transition: transform .2s ease; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:hover { color: var(--primary); }
.faq__item p { color: #6b7280; margin: 0 0 1.25rem; max-width: 62ch; }

/* Contact */
.contact { display: grid; gap: 3rem; grid-template-columns: 1fr; }
.mail { color: #a8d8f0; font-weight: 700; word-break: break-all; }
.form { display: grid; gap: .5rem; }
.form label { font-weight: 600; }
.form input, .form textarea { width: 100%; min-height: 48px; padding: .75rem 1rem; border: 2px solid transparent; border-radius: 12px; font: inherit; color: var(--heading); background: var(--white); }
.form input:focus, .form textarea:focus { border-color: #a8d8f0; outline: none; }
.form .btn { margin-top: 1rem; justify-self: start; }
.form select { width: 100%; min-height: 48px; padding: .75rem 1rem; border: 2px solid transparent; border-radius: 12px; font: inherit; color: var(--heading); background: var(--white); }
.form select:focus { border-color: #a8d8f0; outline: none; }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: .5rem 1rem; }
.form__row > div { display: grid; gap: .5rem; align-content: start; }
.form__status { margin: .5rem 0 0; min-height: 1.5em; color: #a8d8f0; font-weight: 600; }
.contact__odoo { margin-top: 1.5rem; color: #b8c6d1; }
.contact__odoo a { color: #a8d8f0; font-weight: 600; }
.contact__odoo a:hover { color: var(--white); }
.footer { background: #0a1020; color: #8fa3c4; padding: 3rem 0 2rem; }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid #ffffff1a; }
.footer__brand p { max-width: 30ch; margin: 1rem 0 0; font-size: 1rem; line-height: 1.7; }
.logo--lg .logo__img { height: 48px; }
.logo--lg .logo__word { font-size: 2.3rem; margin-top: 7px; }
.footer__col h2 { font: 700 1.1rem var(--font-head); color: var(--white); margin: 0 0 1rem; }
.footer__col ul { list-style: none; margin: 0; padding: 0; }
.footer__col a { display: inline-block; padding: .4rem 0; color: #8fa3c4; text-decoration: none; }
.footer__col a:hover { color: var(--white); }
.footer__copy { margin: 0; font-size: .9rem; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; margin-top: 1.5rem; }
.footer__legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; font-size: .9rem; }
.footer__legal a { display: inline-block; padding: .5rem 0; color: #8fa3c4; text-decoration: none; }
.footer__legal a:hover { color: var(--white); }
@media (min-width: 768px) {
  .footer__grid { grid-template-columns: 1fr auto auto; gap: 4rem; }
}

/* Animation d'entrée */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .3s ease-out, transform .3s ease-out; }
.reveal.in { opacity: 1; transform: none; }

@media (min-width: 768px) {
  .contact { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .burger { display: block; }
  .nav { position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; align-items: stretch; gap: 0; background: var(--primary); padding: 1rem; display: none; box-shadow: 0 10px 20px #0000003d; }
  .nav.open { display: flex; }
  .nav a { padding: .9rem .5rem; }
  .nav .btn { margin-top: .5rem; }
  .burger[aria-expanded="true"] span { background: transparent; }
  .burger[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }
  .section { padding: 3rem 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 600px) {
  .hero { min-height: auto; padding: calc(var(--header-h) + 2.5rem) 0 3rem; }
  .orbit { width: min(100% - 6rem, 320px); }
  .orbit__pill { font-size: .65rem; padding: .25rem .6rem; }
  .orbit__node { width: 44px; height: 44px; }
  .orbit__node b { font-size: .62rem; }
  .card__flag { position: static; align-self: flex-start; margin-bottom: 1rem; }
  .stats__grid > div { padding: .75rem 1rem; }
  .actions .btn { flex: 1 1 100%; }
}

.work h3 a { color: inherit; text-decoration: none; }
.work h3 a:hover { color: var(--accent); text-decoration: underline; }

.hero .eyebrow { margin: 0 0 1rem; color: #a8d8f0; font-size: .8rem; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
