:root {
  --navy: #0b1526;
  --navy-soft: #11203a;
  --ink: #1c2536;
  --muted: #5b6b82;
  --line: #e3e9f2;
  --bg: #ffffff;
  --bg-alt: #f5f8fc;
  --holo-a: #38e1d4;
  --holo-b: #6e8bff;
  --holo-c: #b06eff;
  --radius: 14px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: inherit;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 21, 38, 0.92);
  backdrop-filter: blur(8px);
  color: #fff;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1.02rem;
}

.logo .logo-mark {
  width: 26px;
  height: 26px;
  align-self: center;
}

.logo .gradient-text {
  background: linear-gradient(100deg, var(--holo-a), var(--holo-b), var(--holo-c));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo small {
  font-weight: 400;
  letter-spacing: 0.28em;
  font-size: 0.62rem;
  color: #aebad0;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  gap: 26px;
}

.main-nav a {
  color: #d4ddeb;
  text-decoration: none;
  font-size: 0.92rem;
}

.main-nav a:hover {
  color: #fff;
}

/* ---------- Hero ---------- */

.hero {
  background:
    radial-gradient(1100px 420px at 80% -10%, rgba(110, 139, 255, 0.22), transparent 60%),
    radial-gradient(800px 380px at 10% 110%, rgba(56, 225, 212, 0.14), transparent 60%),
    var(--navy);
  color: #fff;
  padding: 96px 0 104px;
}

.hero .kicker {
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.72rem;
  color: var(--holo-a);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.3rem);
  line-height: 1.14;
  font-weight: 800;
  max-width: 720px;
}

.hero h1 .gradient-text {
  background: linear-gradient(100deg, var(--holo-a), var(--holo-b), var(--holo-c));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  margin-top: 22px;
  max-width: 560px;
  color: #c4cfe2;
  font-size: 1.06rem;
}

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

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: opacity 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: linear-gradient(100deg, var(--holo-a), var(--holo-b));
  color: var(--navy);
}

.btn-primary:hover {
  opacity: 0.88;
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* ---------- Sections ---------- */

section {
  padding: 84px 0;
}

section.alt {
  background: var(--bg-alt);
}

.section-head {
  max-width: 640px;
  margin-bottom: 44px;
}

.section-head .kicker {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.7rem;
  font-weight: 700;
  background: linear-gradient(100deg, #0aa396, var(--holo-b), var(--holo-c));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head h2 {
  margin-top: 10px;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--navy);
}

.section-head p {
  margin-top: 12px;
  color: var(--muted);
}

/* ---------- Cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
}

.card .icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(56, 225, 212, 0.14), rgba(110, 139, 255, 0.16));
  margin-bottom: 18px;
  font-size: 1.25rem;
}

.card h3 {
  font-size: 1.06rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.card p {
  font-size: 0.92rem;
  color: var(--muted);
}

/* ---------- À propos ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: start;
}

.about-grid .lead {
  font-size: 1.05rem;
}

.about-grid p + p {
  margin-top: 14px;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 22px 20px;
}

.stat strong {
  display: block;
  font-size: 1.7rem;
  background: linear-gradient(100deg, var(--holo-a), var(--holo-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat span {
  font-size: 0.82rem;
  color: #b7c3d8;
}

/* ---------- Réalisation ---------- */

.case {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: var(--navy);
  color: #fff;
  border-radius: 20px;
  padding: 44px;
  align-items: center;
}

.case .tag {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--holo-a);
  margin-bottom: 12px;
}

.case h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.case p {
  color: #c4cfe2;
  font-size: 0.95rem;
}

.case ul {
  list-style: none;
  display: grid;
  gap: 12px;
}

.case ul li {
  padding-left: 26px;
  position: relative;
  font-size: 0.93rem;
  color: #dde5f1;
}

.case ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--holo-a), var(--holo-b));
}

/* ---------- Références ---------- */

.refs {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.ref-chip {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 10px 22px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
}

.refs-note {
  margin-top: 22px;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---------- Contact ---------- */

.contact-box {
  background: var(--navy);
  border-radius: 20px;
  color: #fff;
  padding: 56px 44px;
  text-align: center;
}

.contact-box h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.contact-box p {
  margin: 14px auto 30px;
  max-width: 460px;
  color: #c4cfe2;
}

.contact-form {
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
  display: grid;
  gap: 16px;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 0.85rem;
  color: #c4cfe2;
}

.contact-form input,
.contact-form textarea {
  font-family: var(--font);
  font-size: 0.95rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  padding: 12px 14px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #7c8aa3;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--holo-b);
  outline-offset: 1px;
}

.contact-form button {
  justify-self: center;
  margin-top: 6px;
  border: none;
  cursor: pointer;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 560px) {
  .contact-form .form-row {
    grid-template-columns: 1fr;
  }
}

/* ---------- Footer ---------- */

.site-footer {
  background: #081020;
  color: #93a1b8;
  padding: 36px 0;
  font-size: 0.85rem;
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.site-footer a {
  color: #b9c4d6;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-links {
  display: flex;
  gap: 22px;
}

/* ---------- Pages légales ---------- */

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 90px;
}

.legal h1 {
  color: var(--navy);
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  margin-bottom: 6px;
}

.legal .updated {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 34px;
}

.legal h2 {
  color: var(--navy);
  font-size: 1.15rem;
  margin: 34px 0 10px;
}

.legal p,
.legal li {
  font-size: 0.95rem;
  color: #33415a;
}

.legal ul {
  padding-left: 22px;
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.legal a {
  color: #4d6bff;
}

/* ---------- Responsive ---------- */

@media (max-width: 880px) {
  .cards {
    grid-template-columns: 1fr;
  }

  .about-grid,
  .case {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 72px 0 80px;
  }

  section {
    padding: 64px 0;
  }
}

@media (max-width: 560px) {
  .main-nav {
    display: none;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .case {
    padding: 30px 24px;
  }

  .contact-box {
    padding: 40px 24px;
  }
}
