:root {
  --bg: #01040c;
  --bg-soft: #06102a;
  --panel: rgba(7, 15, 36, 0.78);
  --panel-strong: rgba(8, 18, 43, 0.94);
  --line: rgba(56, 185, 255, 0.24);
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #eef6ff;
  --muted: #aab8ca;
  --blue: #5cc8ff;
  --blue-strong: #22a7f2;
  --mint: #69f0cf;
  --violet: #b39cff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}
img,
svg {
  max-width: 100%;
  height: auto;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 88% 10%, rgba(0, 123, 255, 0.34), transparent 28rem),
    radial-gradient(circle at 82% 55%, rgba(112, 45, 255, 0.22), transparent 30rem),
    radial-gradient(circle at 42% 86%, rgba(0, 166, 255, 0.18), transparent 34rem),
    linear-gradient(115deg, #01030a 0%, #020819 42%, #071342 72%, #020514 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(82, 190, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(82, 190, 255, 0.032) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent 82%);
  z-index: -3;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  color: var(--muted);
  line-height: 1.75;
}
h1,
h2,
h3,
h4,
p,
li {
  overflow-wrap: break-word;
}

.nova-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -2;
  opacity: 0.82;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(var(--max), calc(100% - 32px));
  margin: 16px auto 0;
  padding: 6px 20px;
  min-height: 140px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(5, 8, 15, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
  padding-left: 18px;
}

.brand img {
  display: block;
    height: 130px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 14px rgba(92,200,255,.20));
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.94rem;
  white-space: nowrap;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--text);
  background: rgba(92, 200, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(92, 200, 255, 0.14);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 99px;
  background: var(--text);
}

.section {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: 42px;
  min-height: calc(100vh - 92px);
  padding: 72px 0 52px;
}

.hero::before {
  content: "";
  position: absolute;
  top: -72px;
  right: min(-7vw, -42px);
  bottom: -86px;
  width: min(78vw, 980px);
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(1, 4, 12, 0.72) 16%, rgba(1, 4, 12, 0.06) 42%),
    linear-gradient(180deg, var(--bg) 0%, rgba(1, 4, 12, 0) 18%, rgba(1, 4, 12, 0) 76%, var(--bg) 100%),
    url("../assets/ordi.png") center right / cover no-repeat;
  opacity: 0.9;
  filter: saturate(1.08) contrast(1.04);
  mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.18) 12%, #000 38%, #000 100%),
    linear-gradient(180deg, transparent 0%, #000 16%, #000 82%, transparent 100%);
  mask-composite: intersect;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.18) 12%, #000 38%, #000 100%),
    linear-gradient(180deg, transparent 0%, #000 16%, #000 82%, transparent 100%);
  -webkit-mask-composite: source-in;
  pointer-events: none;
  z-index: -1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: -72px -9vw -86px 34%;
  background:
    radial-gradient(circle at 74% 42%, rgba(0, 153, 255, 0.28), transparent 28rem),
    radial-gradient(circle at 88% 60%, rgba(113, 45, 255, 0.22), transparent 24rem);
  pointer-events: none;
  z-index: -2;
}

.hero-content,
.page-hero {
  position: relative;
}

.hero-content,
.page-hero,
.content-stack,
.detail-card > div,
.service-card,
.values-grid article,
.cta-band,
.contact-form,
.legal-content article {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--mint);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-eyebrow {
  font-size: 0.95rem;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 900px;
  font-size: 6.8rem;
}

.logo-gradient {
  color: transparent;
  background: linear-gradient(180deg, #7ce9ff 0%, #3ba8ff 48%, #2d67de 100%);
  background-clip: text;
  -webkit-background-clip: text;
  text-shadow: 0 0 32px rgba(92, 200, 255, 0.22);
}

.page-hero h1 {
  font-size: 4.4rem;
}

h2 {
  font-size: 2.8rem;
}

h3 {
  font-size: 1.18rem;
}

.hero-lead,
.page-hero p {
  max-width: 720px;
  margin: 24px 0 0;
  font-size: 1.24rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #02111d;
  background: linear-gradient(135deg, var(--blue), var(--mint));
  box-shadow: 0 14px 42px rgba(92, 200, 255, 0.26);
}

.button.ghost {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.hero-panel {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(15, 28, 47, 0.86), rgba(8, 15, 26, 0.72)),
    radial-gradient(circle at 18% 20%, rgba(92, 200, 255, 0.22), transparent 18rem);
  box-shadow: var(--shadow);
}

.orbit-card,
.service-card,
.detail-card,
.values-grid article,
.contact-form,
.contact-aside,
.legal-content article {
  border: 1px solid var(--line-soft);
  background: var(--panel);
  box-shadow: 0 0 0 1px rgba(92, 200, 255, 0.03), var(--shadow);
  backdrop-filter: blur(16px);
}

.orbit-card {
  position: relative;
  padding: 22px;
  border-radius: 22px;
  overflow: hidden;
}

.orbit-card::after {
  content: "";
  position: absolute;
  inset: auto 18px 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(92, 200, 255, 0.64), transparent);
}

.orbit-card span,
.detail-number {
  color: var(--blue);
  font-weight: 900;
}

.service-symbol {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(92, 200, 255, 0.34);
  border-radius: 8px;
  color: var(--blue);
  font-size: 1rem;
  line-height: 1;
  background: linear-gradient(145deg, rgba(92, 200, 255, 0.14), rgba(45, 103, 222, 0.12));
  box-shadow: 0 0 24px rgba(92, 200, 255, 0.22);
}

.orbit-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1.2rem;
}

.orbit-card p {
  margin: 8px 0 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  padding: 72px 0;
  border-top: 1px solid var(--line-soft);
}

.intro-grid p {
  margin: 0;
  font-size: 1.04rem;
}

.service-preview,
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 28px 0 72px;
}

.service-card,
.values-grid article {
  min-height: 280px;
  padding: 26px;
  border-radius: var(--radius);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  border: 1px solid rgba(92, 200, 255, 0.3);
  border-radius: 16px;
  color: var(--blue);
  background: rgba(92, 200, 255, 0.08);
}

.service-card p,
.values-grid p {
  margin: 14px 0 0;
}

.service-card a {
  display: inline-flex;
  margin-top: 22px;
  color: var(--mint);
  font-weight: 800;
}

.cta-band {
  margin-bottom: 76px;
  padding: 46px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(92, 200, 255, 0.14), rgba(105, 240, 207, 0.08)),
    rgba(8, 15, 26, 0.8);
  box-shadow: var(--shadow);
}

.cta-band h2 {
  max-width: 820px;
  margin-bottom: 26px;
}

.page-hero {
  padding: 86px 0 50px;
}

.split-section {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  align-items: center;
  gap: 54px;
  padding: 34px 0 74px;
}

.portrait-block {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(15, 28, 47, 0.72);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.portrait-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-stack p:first-child {
  margin-top: 0;
}

.content-stack h4 {
  margin: 20px 0 0;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.55;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.stat-row div {
  padding: 18px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.stat-row strong,
.stat-row span {
  display: block;
}

.stat-row strong {
  color: var(--blue);
  font-size: 1.65rem;
}

.stat-row span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

.services-detail {
  display: grid;
  gap: 18px;
  padding: 28px 0 76px;
}

.detail-card {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 22px;
  padding: 30px;
  border-radius: 24px;
}

.detail-number {
  font-size: 1rem;
}

.detail-card p {
  max-width: 820px;
}

.detail-card ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.detail-card li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
}

.detail-card li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 14px rgba(105, 240, 207, 0.5);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 860px);
  justify-content: start;
  gap: 24px;
  padding: 28px 0 76px;
}

.contact-form,
.contact-aside,
.legal-content article {
  border-radius: 24px;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 28px;
}

.form-row {
  display: grid;
  gap: 8px;
}

/* Consentement RGPD */
.form-row .checkbox {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  line-height: 1.5;
}

.form-row .checkbox input[type="checkbox"] {
  width: 18px;
  min-width: 18px;
  height: 18px;
  margin: 4px 0 0;
  padding: 0;
  flex: 0 0 18px;
  accent-color: var(--mint);
}

.form-row .checkbox span {
  display: block;
  flex: 1;
}

label {
  color: var(--text);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: 14px 16px;
  color: var(--text);
  font: inherit;
  background: rgba(5, 8, 15, 0.72);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

select {
  cursor: pointer;
}

textarea {
  resize: vertical;
  min-height: 170px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(92, 200, 255, 0.68);
  box-shadow: 0 0 0 4px rgba(92, 200, 255, 0.1);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--mint);
  font-weight: 700;
}

.contact-aside {
  align-self: start;
  padding: 28px;
  background: var(--panel-strong);
}

.contact-aside p {
  margin-bottom: 22px;
}

.contact-chip {
  display: inline-flex;
  margin: 0 8px 10px 0;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(92, 200, 255, 0.07);
}

.legal-content {
  display: grid;
  gap: 16px;
  padding: 28px 0 76px;
}

.legal-content article {
  padding: 26px;
}

.legal-content p {
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 38px;
  border-top: 1px solid var(--line-soft);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--muted);
}

@media (max-width: 920px) {
  .site-header {
    align-items: center;
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line-soft);
    border-radius: 20px;
    background: rgba(5, 8, 15, 0.94);
    backdrop-filter: blur(18px);
    max-height: calc(100vh - 132px);
    overflow-y: auto;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    border-radius: 14px;
  }

  .hero,
  .intro-grid,
  .split-section,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 62px;
    padding-bottom: 44px;
  }

  h1 {
    font-size: 4.6rem;
  }

  .page-hero h1 {
    font-size: 3.2rem;
  }

  h2 {
    font-size: 2.3rem;
  }

  .hero-panel {
    grid-template-columns: 1fr;
  }

  .hero::before {
    right: -16px;
    width: min(100vw, 780px);
    opacity: 0.42;
    background-position: center right;
  }

  .hero::after {
    inset: -56px -16px -56px 0;
  }

  .service-preview,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .split-section {
    gap: 28px;
  }

  .portrait-block {
    justify-self: center;
    width: min(100%, 420px);
    max-width: 420px;
  }
}

@media (min-width: 641px) and (max-width: 920px) {
  .service-preview,
  .values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header,
  .section,
  .site-footer {
    width: min(100% - 22px, var(--max));
  }

  .brand img {
    width: 132px;
    height: 72px;
  }

  h1 {
    font-size: 3.2rem;
  }

  .page-hero h1 {
    font-size: 2.45rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-lead,
  .page-hero p {
    font-size: 1.05rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .cta-band,
  .contact-form,
  .contact-aside,
  .detail-card,
  .service-card,
  .values-grid article,
  .legal-content article {
    padding: 22px;
  }

  .detail-card {
    grid-template-columns: 1fr;
  }

  .stat-row {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}


@media (max-width: 430px) {
  .site-header,
  .section,
  .site-footer {
    width: min(100% - 16px, var(--max));
  }

  .site-header {
    margin-top: 8px;
    padding: 8px;
  }

  .brand img {
    width: 112px;
    height: 62px;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  h1 {
    font-size: 2.7rem;
  }

  .page-hero h1 {
    font-size: 2.15rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .page-hero {
    padding: 54px 0 34px;
  }

  .hero {
    padding-top: 46px;
  }

  .eyebrow {
    font-size: 0.78rem;
    line-height: 1.5;
  }

    .form-status {
    min-height: 1.5em;
    margin-top: 1rem;
    font-weight: 600;
  }
  
  .form-status.is-success {
    color: #5fffd2;
  }
  
  .form-status.is-error {
    color: #ff8b8b;
  }
  
  .contact-form button[type="submit"]:disabled {
    cursor: wait;
    opacity: 0.7;
  }
}
