

:root {
  --font-geist-sans: Arial, Helvetica, sans-serif;
  --font-geist-mono: "Courier New", monospace;
  --navy: #061428;
  --navy-deep: #030d1c;
  --panel: #0a1c34;
  --blue: #1677ff;
  --cyan: #29d6ff;
  --white: #f6f9ff;
  --muted: #9eb2cb;
  --line: rgba(88, 151, 214, 0.27);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--navy-deep);
  color: var(--white);
  font-family: var(--font-geist-sans), Arial, sans-serif;
}
a { color: inherit; text-decoration: none; }

.hero-shell {
  min-height: 100vh;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(circle at 77% 35%, rgba(18, 117, 255, .16), transparent 31%),
    radial-gradient(circle at 18% 58%, rgba(0, 112, 255, .08), transparent 32%),
    linear-gradient(150deg, #06162c 0%, #030e20 55%, #05152a 100%);
}
.hero-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .2;
  background-image: linear-gradient(rgba(66,131,193,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(66,131,193,.08) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, transparent, #000 25%, transparent 85%);
}

.site-header {
  height: 96px;
  padding: 0 4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(105, 159, 214, .17);
  position: relative;
  z-index: 20;
}
.logo { display: flex; align-items: center; gap: 13px; }
.logo-name { font-size: 31px; font-weight: 720; letter-spacing: .035em; }
.logo-image {
  width: 52px;
  height: 52px;
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
  margin: -4px;
}
.logo-mark {
  width: 39px;
  height: 45px;
  position: relative;
  display: block;
  background: linear-gradient(160deg, #47deff, #0b77ff 70%);
  clip-path: polygon(50% 0, 100% 100%, 73% 100%, 50% 54%, 26% 100%, 0 100%);
  filter: drop-shadow(0 0 10px rgba(34, 177, 255, .25));
}
.logo-mark span {
  position: absolute;
  width: 27px;
  height: 17px;
  right: -3px;
  bottom: 4px;
  background: #94dcff;
  clip-path: polygon(0 0, 100% 100%, 62% 100%);
}
nav { display: flex; height: 100%; align-items: center; gap: clamp(24px, 3.4vw, 54px); }
nav a {
  height: 100%;
  display: grid;
  place-items: center;
  position: relative;
  font-weight: 540;
  color: #edf4ff;
  transition: color .2s ease;
}
nav a::after {
  content: "";
  position: absolute;
  bottom: 15px;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width .2s ease;
}
nav a:hover, nav a.active { color: #57a8ff; }
nav a:hover::after, nav a.active::after { width: 100%; }
.header-contact {
  display: flex;
  align-items: center;
  gap: 11px;
  height: 48px;
  padding: 0 20px;
  color: #6eb1ff;
  font-weight: 610;
  border: 1px solid #348bf1;
  border-radius: 8px;
  transition: background .2s ease, transform .2s ease;
}
.header-contact:hover { background: rgba(22,119,255,.11); transform: translateY(-2px); }
.header-contact svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.hero {
  width: min(1320px, 92vw);
  min-height: 565px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 53% 47%;
  align-items: center;
  position: relative;
  z-index: 3;
}
.hero-copy { padding: 72px 0 58px; position: relative; z-index: 4; }
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 20px;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  font-weight: 680;
  color: #70b9ff;
}
.eyebrow span { width: 28px; height: 1px; background: var(--cyan); }
h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(45px, 4.25vw, 68px);
  line-height: 1.07;
  letter-spacing: -.045em;
  font-weight: 730;
}
h1 em {
  color: transparent;
  font-style: normal;
  background: linear-gradient(95deg, #1d73ff 5%, #3de1f1 85%);
  background-clip: text;
  -webkit-background-clip: text;
}
.hero-text {
  max-width: 555px;
  margin: 30px 0 34px;
  color: var(--muted);
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 22px; }
.button {
  min-height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 27px;
  border-radius: 7px;
  font-weight: 630;
  font-size: 16px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  background: linear-gradient(100deg, #0872ff, #2185ff);
  box-shadow: 0 12px 32px rgba(0, 98, 255, .23);
}
.button-primary:hover { box-shadow: 0 15px 38px rgba(0, 122, 255, .38); }
.button-primary svg { width: 23px; fill: none; stroke: white; stroke-width: 2; }
.button-secondary { border: 1px solid #4b92df; }
.button-secondary span { color: #4da5ff; font-size: 25px; }
.button-secondary:hover { border-color: var(--cyan); box-shadow: 0 0 20px rgba(41,214,255,.12); }

.network-visual {
  height: 500px;
  position: relative;
  transform: translateX(5%);
}
.visual-grid {
  position: absolute;
  inset: 18% -10% 0 0;
  transform: perspective(420px) rotateX(58deg);
  background-image: linear-gradient(rgba(22,119,255,.22) 1px, transparent 1px), linear-gradient(90deg, rgba(22,119,255,.22) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(ellipse, #000, transparent 68%);
}
.visual-orbit {
  position: absolute;
  border: 1px solid rgba(36,150,255,.3);
  border-radius: 50%;
  transform: rotate(-12deg);
}
.orbit-one { width: 420px; height: 245px; left: 8%; top: 24%; }
.orbit-two { width: 310px; height: 390px; left: 21%; top: 7%; }
.node {
  position: absolute;
  width: 86px; height: 86px;
  display: grid; place-items: center;
  border: 1px solid rgba(54,182,255,.7);
  background: linear-gradient(145deg, rgba(16,72,133,.7), rgba(4,22,48,.92));
  transform: rotate(45deg);
  box-shadow: 0 0 35px rgba(0,129,255,.25), inset 0 0 20px rgba(24,131,255,.12);
}
.node svg { width: 46px; transform: rotate(-45deg); fill: none; stroke: #48cfff; stroke-width: 1.8; }
.server-node { top: 11%; left: 50%; }
.shield-node { top: 46%; left: 48%; width: 100px; height: 100px; }
.shield-node svg { width: 58px; stroke: #49ddff; filter: drop-shadow(0 0 8px #009dff); }
.network-node { top: 63%; left: 13%; }
.line { position: absolute; height: 1px; transform-origin: left; background: linear-gradient(90deg, transparent, #268dff, #47d9ff); box-shadow: 0 0 8px #1684ff; }
.line-a { width: 225px; left: 25%; top: 39%; transform: rotate(21deg); }
.line-b { width: 180px; left: 29%; top: 72%; transform: rotate(-25deg); }
.line-c { width: 210px; left: 58%; top: 61%; transform: rotate(19deg); }
.line-d { width: 175px; left: 60%; top: 34%; transform: rotate(30deg); }
.pulse { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #54e8ff; box-shadow: 0 0 16px 5px #088dff; animation: pulse 3s ease-in-out infinite; }
.pulse-a { left: 32%; top: 38%; }
.pulse-b { left: 76%; top: 29%; animation-delay: 1s; }
.pulse-c { left: 77%; top: 72%; animation-delay: 2s; }

.service-preview {
  width: min(1320px, 92vw);
  margin: -10px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  position: relative;
  z-index: 4;
}
.service-card {
  min-height: 180px;
  padding: 27px;
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 22px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(7, 28, 55, .88), rgba(4, 17, 34, .82));
  transition: transform .2s ease, border-color .2s ease;
}
.service-card:hover { transform: translateY(-4px); border-color: rgba(49,177,255,.58); }
.service-icon {
  width: 70px; height: 70px;
  display: grid; place-items: center;
  border: 1px solid rgba(112,168,221,.45);
  border-radius: 50%;
}
.service-icon svg { width: 39px; fill: none; stroke: #49a6ff; stroke-width: 2; }
.service-card h2 { margin: 7px 0 10px; font-size: 20px; }
.service-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

.section-wrap {
  width: min(1240px, 90vw);
  margin: 0 auto;
}
.services-section {
  padding: 130px 0 120px;
  background: var(--navy-deep);
}
.section-intro {
  display: grid;
  grid-template-columns: .65fr 1.4fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 62px;
}
.section-kicker {
  margin: 7px 0 0;
  color: #50b9ff;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: 12px;
  font-weight: 700;
}
.section-intro h2, .about-copy h2, .contact-section h2 {
  margin: 0;
  font-size: clamp(37px, 3.5vw, 54px);
  line-height: 1.1;
  letter-spacing: -.038em;
}
.section-intro h2 span { color: #60b7ff; }
.section-intro > p:last-child, .about-copy > p, .contact-section > div > p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.expertise-card {
  min-height: 275px;
  padding: 34px;
  position: relative;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(10,31,57,.68), rgba(4,15,30,.25));
  transition: background .25s ease, transform .25s ease;
}
.expertise-card:hover {
  z-index: 2;
  transform: translateY(-3px);
  background: linear-gradient(145deg, rgba(14,55,98,.8), rgba(5,20,39,.8));
}
.card-number { color: #4d9ce9; font-family: var(--font-geist-mono); font-size: 13px; }
.expertise-card h3 { max-width: 270px; margin: 42px 0 14px; font-size: 21px; }
.expertise-card p { max-width: 310px; margin: 0; color: var(--muted); line-height: 1.65; font-size: 14px; }
.card-arrow { position: absolute; top: 30px; right: 32px; color: #4faeff; font-size: 22px; }

.about-section {
  min-height: 700px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  background:
    radial-gradient(circle at 28% 50%, rgba(14,117,255,.18), transparent 33%),
    #07182c;
}
.about-visual { height: 100%; min-height: 650px; position: relative; overflow: hidden; }
.about-rings {
  width: 490px; height: 490px;
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(39,156,255,.25);
  border-radius: 50%;
  box-shadow: 0 0 80px rgba(0,111,255,.1), inset 0 0 80px rgba(0,111,255,.08);
}
.about-rings::before, .about-rings::after {
  content: ""; position: absolute; border-radius: 50%; border: 1px dashed rgba(41,214,255,.22);
}
.about-rings::before { inset: 55px; }
.about-rings::after { inset: 130px; border-style: solid; }
.about-core {
  width: 150px; height: 150px;
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  display: grid; place-content: center;
  text-align: center;
  border: 1px solid #3baeff;
  border-radius: 26px;
  background: linear-gradient(145deg, #0c4379, #071a32);
  box-shadow: 0 0 45px rgba(0,134,255,.28);
}
.about-core span { font-size: 38px; font-weight: 760; color: #65dfff; }
.about-core small { color: #9cc9ef; }
.about-tag {
  position: absolute;
  padding: 10px 17px;
  border: 1px solid rgba(61,169,255,.4);
  border-radius: 99px;
  background: rgba(5,24,46,.82);
  color: #b9d7f3;
  font-size: 13px;
}
.tag-one { top: 24%; left: 26%; }
.tag-two { top: 51%; right: 14%; }
.tag-three { bottom: 20%; left: 20%; }
.about-copy { max-width: 610px; padding: 95px 7vw 95px 20px; }
.about-copy h2 { margin: 18px 0 28px; }
.about-copy .about-lead { color: #d9e8f6; font-size: 19px; line-height: 1.65; margin-bottom: 18px; }
.proof-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 22px; margin-top: 44px; padding-top: 30px;
  border-top: 1px solid var(--line);
}
.proof-grid div { display: grid; gap: 8px; }
.proof-grid strong { color: #4eafff; font-size: 28px; }
.proof-grid span { color: var(--muted); font-size: 12px; line-height: 1.45; }

.method-section { padding: 125px 0; }
.section-intro.compact { grid-template-columns: .65fr 2.4fr; }
.method-list { padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--line); }
.method-list li {
  display: grid; grid-template-columns: 130px 1fr;
  align-items: center; min-height: 125px;
  border-bottom: 1px solid var(--line);
}
.method-list > li > span { color: #468fd6; font-family: var(--font-geist-mono); }
.method-list li div { display: grid; grid-template-columns: .65fr 1fr; align-items: center; gap: 30px; }
.method-list h3 { margin: 0; font-size: 24px; }
.method-list p { margin: 0; max-width: 510px; color: var(--muted); line-height: 1.6; }

.contact-section {
  width: min(1240px, 90vw);
  margin: 0 auto 100px;
  min-height: 340px;
  padding: 68px;
  display: grid;
  grid-template-columns: 1.5fr .7fr;
  align-items: center;
  gap: 70px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(65,166,255,.42);
  border-radius: 20px;
  background: linear-gradient(130deg, #09274a, #07172c 72%);
}
.contact-glow {
  position: absolute; width: 400px; height: 400px; right: -100px; top: -220px;
  background: #147bff; filter: blur(120px); opacity: .22; pointer-events: none;
}
.contact-section h2 { margin: 15px 0 22px; max-width: 760px; }
.contact-section > div > p:last-child { max-width: 660px; }
.contact-cta {
  min-height: 130px; padding: 27px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; z-index: 2;
  border: 1px solid rgba(77,174,255,.6);
  border-radius: 12px;
  background: rgba(3,18,36,.55);
  transition: transform .2s ease, border-color .2s ease;
}
.contact-cta:hover { transform: translateY(-4px); border-color: var(--cyan); }
.contact-cta > span { color: #a6c5df; font-size: 14px; }
.contact-cta strong { display: flex; justify-content: space-between; font-size: 20px; color: #62bcff; }

footer {
  min-height: 230px; padding: 55px 5vw 35px;
  display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: start; gap: 30px;
  border-top: 1px solid var(--line);
  background: #020b18;
}
footer .logo-name { font-size: 24px; }
footer .logo-mark { width: 30px; height: 35px; }
footer p { margin: 6px 0; color: var(--muted); text-align: center; font-size: 14px; }
footer > div { display: flex; justify-content: flex-end; gap: 25px; font-size: 14px; }
footer > div a:hover { color: #5eb7ff; }
footer small { grid-column: 1 / -1; padding-top: 35px; border-top: 1px solid rgba(88,151,214,.16); color: #698099; }

@keyframes pulse { 0%,100% { opacity:.4; transform: scale(.8); } 50% { opacity:1; transform: scale(1.2); } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }
@media (max-width: 1050px) {
  nav { display: none; }
  .hero { grid-template-columns: 58% 42%; }
  .network-visual { opacity: .65; transform: scale(.86) translateX(-4%); }
  .service-preview { grid-template-columns: 1fr; padding-bottom: 40px; }
  .section-intro { grid-template-columns: 1fr; gap: 18px; }
  .section-intro > p:last-child { max-width: 650px; }
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .about-section { grid-template-columns: .8fr 1.2fr; }
  .about-visual { min-height: 580px; }
  .about-rings { width: 390px; height: 390px; }
  .contact-section { padding: 48px; }
}
@media (max-width: 720px) {
  .site-header { height: 78px; padding: 0 20px; }
  .logo-name { font-size: 24px; }
  .logo-mark { width: 31px; height: 36px; }
  .header-contact { font-size: 0; padding: 0 14px; }
  .hero { width: calc(100% - 40px); display: block; min-height: auto; }
  .hero-copy { padding: 66px 0 44px; }
  h1 { font-size: clamp(39px, 11vw, 54px); }
  .hero-text { font-size: 17px; }
  .hero-actions { display: grid; }
  .network-visual { position: absolute; width: 100%; top: 15px; left: 35%; opacity: .18; pointer-events: none; }
  .service-preview { width: calc(100% - 40px); }
  .service-card { grid-template-columns: 58px 1fr; padding: 22px; }
  .service-icon { width: 56px; height: 56px; }
  .services-section { padding: 90px 0; }
  .expertise-grid { grid-template-columns: 1fr; }
  .expertise-card { min-height: 240px; }
  .about-section { display: block; }
  .about-visual { min-height: 450px; }
  .about-rings { width: 330px; height: 330px; }
  .about-copy { padding: 30px 20px 80px; }
  .proof-grid { grid-template-columns: 1fr; }
  .section-intro.compact { grid-template-columns: 1fr; }
  .method-section { padding: 85px 0; }
  .method-list li { grid-template-columns: 50px 1fr; padding: 28px 0; align-items: start; }
  .method-list li div { grid-template-columns: 1fr; gap: 9px; }
  .contact-section { grid-template-columns: 1fr; padding: 36px 25px; gap: 35px; }
  .contact-section h2 { font-size: 35px; }
  footer { grid-template-columns: 1fr; text-align: left; }
  footer p { text-align: left; }
  footer > div { justify-content: flex-start; flex-wrap: wrap; }
  footer small { grid-column: 1; }
}

/* Formulaire de contact */
.contact-section {
  grid-template-columns: minmax(0, .8fr) minmax(420px, 1.2fr);
  align-items: start;
}
.contact-copy, .contact-form { position: relative; z-index: 2; }
.contact-email { margin-top: 28px; color: #a6c5df; }
.contact-email a { color: #62bcff; text-decoration: underline; text-underline-offset: 4px; }
.contact-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  border: 1px solid rgba(77,174,255,.42);
  border-radius: 14px;
  background: rgba(3,18,36,.72);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 8px; color: #d8eaff; font-size: 14px; }
.contact-form label > span[aria-hidden="true"] { color: #62bcff; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(121,177,224,.35);
  border-radius: 8px;
  outline: none;
  color: #f4f9ff;
  background: rgba(2,13,27,.78);
  font: inherit;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form textarea { min-height: 145px; resize: vertical; }
.contact-form select { color-scheme: dark; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #62bcff;
  box-shadow: 0 0 0 3px rgba(98,188,255,.14);
}
.contact-form .consent { grid-template-columns: auto 1fr; align-items: start; line-height: 1.5; }
.contact-form .consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: #1688ef; }
.form-trap {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}
.form-submit {
  min-height: 52px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #087dd9, #135fff);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.form-submit:hover { filter: brightness(1.1); }
.form-submit:disabled { cursor: wait; opacity: .7; }
.form-status { min-height: 1.5em; margin: 0; font-size: 14px; line-height: 1.5; }
.form-status.is-success { color: #80e6b2; }
.form-status.is-error { color: #ffaaa3; }
.form-required { margin: -8px 0 0; color: #7f9ab3; font-size: 12px; }

@media (max-width: 900px) {
  .contact-section { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 20px; }
}

/* Pages légales */
body.legal-page {
  min-height: 100vh;
  margin: 0;
  background: #04101f;
  color: #f4f7ff;
}

.legal-wrap {
  width: min(1160px, calc(100% - 40px));
  margin: 24px auto;
  overflow: hidden;
  background: linear-gradient(145deg, #0b1e38, #07172c);
  border: 1px solid #275b8d;
  border-radius: 24px;
}

.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 40px;
  border-bottom: 1px solid rgba(112, 177, 235, 0.18);
}

.legal-header nav {
  display: flex;
  gap: 24px;
}

.legal-header nav a,
.legal-footer a {
  color: #a9c7e9;
  text-decoration: none;
  transition: color 0.2s ease;
}

.legal-header nav a:hover,
.legal-footer a:hover,
.legal-content a:hover {
  color: #ffffff;
}

.legal-content {
  max-width: 850px;
  margin: 0 auto;
  padding: 70px 40px 80px;
}

.legal-content h1 {
  margin: 12px 0 8px;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.legal-content h2 {
  margin: 48px 0 14px;
  color: #ffffff;
  font-size: 1.45rem;
}

.legal-content p,
.legal-content li {
  color: #b8cce5;
  font-size: 1.05rem;
  line-height: 1.75;
}

.legal-content ul {
  padding-left: 24px;
}

.legal-content strong {
  color: #ffffff;
}

.legal-content a {
  color: #5dbbff;
  text-underline-offset: 3px;
}

.legal-updated {
  margin-bottom: 50px;
  color: #7fa6ce !important;
  font-size: 0.92rem !important;
}

.legal-footer {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 40px;
  border-top: 1px solid rgba(112, 177, 235, 0.18);
}

.legal-footer small {
  margin-left: auto;
  color: #7fa0c3;
}

.consent a {
  color: #74c5ff;
  text-underline-offset: 3px;
}

@media (max-width: 700px) {
  .legal-wrap {
    width: min(100% - 20px, 1160px);
    margin: 10px auto;
    border-radius: 18px;
  }

  .legal-header,
  .legal-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px;
  }

  .legal-content {
    padding: 50px 24px 60px;
  }

  .legal-footer small {
    margin-left: 0;
  }
}
/* En-tête toujours visible */
html {
  scroll-padding-top: 110px;
}

.hero-shell {
  padding-top: 96px;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(3, 14, 32, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

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

  .hero-shell {
    padding-top: 78px;
  }
}

/* Menu mobile */
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  margin-right: 12px;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  color: #fff;
  background: rgba(23, 82, 135, 0.22);
  border: 1px solid rgba(105, 159, 214, 0.35);
  border-radius: 12px;
  cursor: pointer;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  display: block;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1050px) {
  .menu-toggle {
    display: flex;
  }

  .site-header nav {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    right: 16px;
    left: 16px;
    height: auto;
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    overflow: hidden;
    background: rgba(3, 14, 32, 0.98);
    border: 1px solid rgba(105, 159, 214, 0.25);
    border-radius: 0 0 18px 18px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
  }

  .site-header nav.is-open {
    display: flex;
  }

  .site-header nav a {
    height: auto;
    padding: 14px 16px;
    display: block;
    border-radius: 10px;
  }

  .site-header nav a::after {
    display: none;
  }

  .site-header nav a.active {
    color: #64dfff;
    background: rgba(30, 132, 218, 0.14);
  }
}
