@font-face {
  font-family: "Sora";
  src: url("/assets/fa26406eeda9a3c6.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/assets/3100e775e8616cd2.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --primary-300: #9cc8ff;
  --primary-400: #6aaeff;
  --primary-500: #3d8bff;
  --primary-600: #2a6fe0;
  --primary-700: #1d55b3;

  --secondary-300: #a6e4ff;
  --secondary-400: #6fd0ff;
  --secondary-500: #33b8f2;

  --accent-300: #b9e6ff;
  --accent-400: #7cc4ff;
  --accent-glow: rgba(61, 139, 255, 0.45);

  --success-400: #5fd39a;
  --success-900: rgba(95, 211, 154, 0.12);
  --warning-400: #ffc566;
  --warning-900: rgba(255, 197, 102, 0.12);
  --error-400: #ff8f8f;
  --error-900: rgba(255, 143, 143, 0.12);

  --night-950: #040915;
  --night-900: #060d1f;
  --night-850: #0a1428;
  --night-800: #0e1b34;
  --night-700: #162746;
  --night-600: #22375e;
  --night-500: #34507f;

  --text: #eef2f8;
  --text-muted: #b2bfd4;
  --text-soft: #8ea0bd;

  --line: rgba(156, 200, 255, 0.14);
  --line-strong: rgba(156, 200, 255, 0.28);
  --glass: rgba(18, 34, 64, 0.55);
  --glass-strong: rgba(14, 27, 52, 0.85);

  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-8: 64px;
  --space-10: 80px;
  --space-12: 96px;
  --space-16: 128px;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--space-2));
  background: var(--night-900);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(61, 139, 255, 0.12), transparent 60%),
    var(--night-900);
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(84px + env(safe-area-inset-bottom));
}

@media (min-width: 900px) {
  body {
    padding-bottom: 0;
  }
}

img,
svg {
  max-width: 100%;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-2);
  color: var(--text);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.1rem, 5.4vw, 4rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
}

h3 {
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 var(--space-2);
}

a {
  color: var(--accent-400);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--accent-300);
}

:focus-visible {
  outline: 2px solid var(--accent-400);
  outline-offset: 3px;
  border-radius: 4px;
}

strong {
  font-weight: 600;
  color: var(--text);
}

address {
  font-style: normal;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

@media (min-width: 900px) {
  .container {
    padding: 0 var(--space-5);
  }
}

.skip-link {
  position: absolute;
  left: var(--space-2);
  top: -100px;
  z-index: 100;
  padding: var(--space-1) var(--space-2);
  background: var(--primary-500);
  color: var(--night-950);
  font-weight: 600;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: var(--space-2);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--space-2);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-400);
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-400));
}

.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 62ch;
}

/* Boutons */

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    color 0.25s var(--ease);
}

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

.button:active {
  transform: translateY(0);
}

.button-primary {
  background: var(--primary-500);
  color: var(--night-950);
  box-shadow: 0 0 0 1px rgba(156, 200, 255, 0.35) inset, 0 10px 30px -10px var(--accent-glow);
}

.button-primary:hover {
  background: var(--primary-400);
  color: var(--night-950);
  box-shadow: 0 0 0 1px rgba(156, 200, 255, 0.5) inset, 0 14px 40px -10px rgba(61, 139, 255, 0.7);
}

.button-outline {
  background: rgba(14, 27, 52, 0.6);
  color: var(--text);
  border-color: var(--line-strong);
}

.button-outline:hover {
  color: var(--text);
  border-color: var(--accent-400);
  background: rgba(61, 139, 255, 0.1);
}

.button-small {
  min-height: 40px;
  padding: 8px 18px;
  font-size: 0.92rem;
}

.button-large {
  min-height: 56px;
  padding: 16px 28px;
  font-size: 1.05rem;
}

.button-block {
  width: 100%;
}

.button[disabled] {
  opacity: 0.6;
  cursor: progress;
  transform: none;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success-400);
  box-shadow: 0 0 0 0 rgba(95, 211, 154, 0.6);
  animation: live 2.4s ease-out infinite;
}

@keyframes live {
  0% { box-shadow: 0 0 0 0 rgba(95, 211, 154, 0.55); }
  70%, 100% { box-shadow: 0 0 0 9px rgba(95, 211, 154, 0); }
}

/* En-tête */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 13, 31, 0.86);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-400), transparent);
  background-size: 40% 100%;
  background-repeat: no-repeat;
  animation: header-run 9s linear infinite;
  opacity: 0.7;
}

@keyframes header-run {
  from { background-position: -60% 0; }
  to { background-position: 160% 0; }
}

.header-inner {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  margin-right: auto;
}

.brand:hover {
  color: var(--text);
}

.brand-mark {
  width: 36px;
  height: 36px;
  flex: none;
  color: var(--primary-500);
  filter: drop-shadow(0 0 8px rgba(61, 139, 255, 0.45));
  transition: filter 0.3s var(--ease);
}

.brand:hover .brand-mark {
  filter: drop-shadow(0 0 14px rgba(61, 139, 255, 0.8));
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
}

.brand-accent {
  color: var(--primary-500);
}

@media (max-width: 479px) {
  .site-header .brand-tagline {
    display: none;
  }
}

.brand-tagline {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.nav-desktop,
.header-actions {
  display: none;
}

@media (min-width: 1080px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: var(--space-1);
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-2);
  }
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  background: none;
  border: 0;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--text);
  background: rgba(156, 200, 255, 0.08);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 290px;
  margin: 0;
  padding: var(--space-1);
  list-style: none;
  background: var(--glass-strong);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}

.nav-dropdown:hover:not(.is-dismissed) .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu,
html:not(.js) .nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 14px;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: var(--radius-sm);
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a[aria-current="page"] {
  color: var(--text);
  background: rgba(61, 139, 255, 0.12);
}

.header-phone {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
}

.header-phone:hover {
  color: var(--accent-400);
}

.nav-mobile {
  position: static;
}

@media (min-width: 1080px) {
  .nav-mobile {
    display: none;
  }
}

.nav-mobile summary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  list-style: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  cursor: pointer;
}

.nav-mobile summary::-webkit-details-marker {
  display: none;
}

.nav-mobile summary::before {
  content: "";
  width: 16px;
  height: 10px;
  border-top: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
}

.nav-mobile[open] summary {
  border-color: var(--accent-400);
}

.nav-mobile nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  padding: var(--space-2) var(--space-3) var(--space-4);
  background: var(--night-900);
  border-bottom: 1px solid var(--line-strong);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
}

.nav-mobile ul {
  margin: 0 0 var(--space-2);
  padding: 0;
  list-style: none;
}

.nav-mobile li a {
  display: block;
  padding: 12px 0;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.nav-mobile li a[aria-current="page"] {
  color: var(--accent-400);
}

.nav-mobile-title {
  margin: var(--space-1) 0 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
}

/* Barre mobile */

.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-1);
  padding: 12px var(--space-2) calc(12px + env(safe-area-inset-bottom));
  background: rgba(6, 13, 31, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line-strong);
}

.mobile-bar .button {
  min-height: 52px;
  padding: 10px 12px;
}

.mobile-bar .button:hover {
  transform: none;
}

@media (max-width: 359px) {
  .mobile-bar .button {
    padding: 10px 8px;
    font-size: 0.9rem;
  }
}

.nav-mobile-call {
  margin-top: var(--space-2);
  width: 100%;
}

@media (min-width: 900px) {
  .mobile-bar {
    display: none;
  }
}

/* Sections */

.section {
  padding: var(--space-10) 0;
}

@media (min-width: 900px) {
  .section {
    padding: var(--space-12) 0;
  }
}

.section-heading {
  max-width: 760px;
  margin-bottom: var(--space-6);
}

.section-heading p:last-child {
  color: var(--text-muted);
}

.section-tint,
.section-dark {
  position: relative;
  background: linear-gradient(180deg, rgba(14, 27, 52, 0.55), rgba(10, 20, 40, 0.3));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-dark {
  background:
    url("/assets/c98941dbd6ab302a.svg") right -120px center / 720px auto no-repeat,
    var(--night-950);
}

.eyebrow-light {
  color: var(--accent-400);
}

.check-list {
  margin: 0 0 var(--space-2);
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  color: var(--text-muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(circle, var(--primary-500) 0 3px, transparent 4px),
    rgba(61, 139, 255, 0.08);
}

.check-list-light li {
  color: var(--text);
}

/* Accueil : premier écran */

.home-hero {
  position: relative;
  overflow: hidden;
  padding: var(--space-8) 0 var(--space-6);
  border-bottom: 1px solid var(--line);
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/assets/c98941dbd6ab302a.svg") left -200px top -80px / 900px auto no-repeat;
  opacity: 0.45;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: var(--space-5);
  align-items: center;
}

@media (min-width: 1000px) {
  .home-hero {
    padding: var(--space-10) 0 var(--space-8);
    min-height: min(860px, calc(100vh - var(--header-h)));
    display: flex;
    align-items: center;
  }

  .hero-grid {
    grid-template-columns: 1.05fr 1fr;
    gap: var(--space-4);
  }

  .hero-visual {
    margin-right: calc(-1 * var(--space-5));
  }
}

.hero-copy h1 {
  margin-bottom: var(--space-3);
}

.text-glow {
  color: var(--accent-400);
  text-shadow: 0 0 32px rgba(61, 139, 255, 0.45);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: var(--space-4) 0 var(--space-2);
}

@media (max-width: 520px) {
  .hero-actions .button {
    width: 100%;
  }
}

.hero-note {
  font-size: 0.92rem;
  color: var(--text-soft);
}

.hero-note a {
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

.hero-seo {
  max-width: 58ch;
  margin-top: var(--space-3);
  padding-top: var(--space-2);
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--text-soft);
}

.hero-visual {
  position: relative;
  margin: 0 calc(-1 * var(--space-2));
}

.house {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.house .grid-line {
  fill: none;
  stroke: rgba(124, 196, 255, 0.1);
  stroke-width: 1;
}

.house .slab {
  fill: rgba(61, 139, 255, 0.06);
  stroke: rgba(124, 196, 255, 0.3);
  stroke-width: 1;
}

.house .face-left {
  fill: #13284b;
}

.house .face-right {
  fill: #0d1d39;
}

.house .face-top {
  fill: #1c3561;
}

.house .vol-high.face-top {
  fill: #22406f;
}

.house .face-left,
.house .face-right,
.house .face-top {
  stroke: rgba(156, 200, 255, 0.28);
  stroke-width: 1;
  stroke-linejoin: round;
}

.house .glass {
  fill: url(#glass);
  stroke: rgba(156, 200, 255, 0.55);
  stroke-width: 1;
}

.house .glass-main {
  animation: breathe 6s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; }
}

.house .door {
  fill: #0a1630;
  stroke: rgba(156, 200, 255, 0.4);
}

.house .edge-light {
  fill: none;
  stroke: var(--accent-400);
  stroke-width: 1.6;
  stroke-linecap: round;
  filter: drop-shadow(0 0 4px rgba(124, 196, 255, 0.9));
}

.house .edge-dim {
  opacity: 0.55;
}

.house .antenna {
  fill: none;
  stroke: var(--accent-400);
  stroke-width: 2;
  stroke-linecap: round;
}

.house .wave {
  fill: none;
  stroke: var(--accent-400);
  stroke-width: 1.2;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: wave 3.6s ease-out infinite;
}

.house .wave-2 {
  animation-delay: 1.8s;
}

@keyframes wave {
  0% { transform: scale(0.4); opacity: 0.9; }
  100% { transform: scale(3); opacity: 0; }
}

.house .trace {
  fill: none;
  stroke: rgba(124, 196, 255, 0.28);
  stroke-width: 1.4;
  stroke-linejoin: round;
}

.house .pulse {
  fill: none;
  stroke: var(--accent-300);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 10 90;
  stroke-dashoffset: 100;
  filter: drop-shadow(0 0 5px rgba(124, 196, 255, 1));
  animation: flow 4.5s linear infinite;
}

.house .pulse-2 {
  animation-delay: 1.5s;
}

.house .pulse-3 {
  animation-delay: 3s;
}

@keyframes flow {
  to { stroke-dashoffset: 0; }
}

.house .tag-leader {
  fill: none;
  stroke: rgba(156, 200, 255, 0.4);
  stroke-width: 1;
  stroke-dasharray: 3 4;
}

.house .tag-node {
  fill: var(--night-900);
  stroke: var(--accent-400);
  stroke-width: 2;
}

.house .tag-box {
  fill: rgba(10, 20, 40, 0.88);
  stroke: var(--line-strong);
}

.house .tag-icon {
  fill: var(--accent-400);
  stroke: var(--accent-400);
}

.house .tag-label {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  fill: var(--text);
}

@media (max-width: 640px) {
  .house .tags,
  .house .hub-waves,
  .house .pulse-3 {
    display: none;
  }

  .hero-visual {
    overflow: hidden;
    margin: calc(-1 * var(--space-2)) calc(-1 * var(--space-2)) 0;
  }

  .hero-visual {
    aspect-ratio: 4 / 3;
    -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent);
    mask-image: linear-gradient(180deg, #000 70%, transparent);
  }

  .house {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(-9%, -50%) scale(1.4);
    transform-origin: 50% 55%;
  }
}

/* Cartes d'activités */

.activity-grid {
  display: grid;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 680px) {
  .activity-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
  }
}

@media (min-width: 1100px) {
  .activity-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.activity-card,
.zone-card,
.audience-grid > div,
.contact-aside,
.form-success,
.cta-panel {
  position: relative;
  background: linear-gradient(180deg, rgba(22, 39, 70, 0.6), rgba(10, 20, 40, 0.55));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 0 rgba(156, 200, 255, 0.08) inset, 0 30px 60px -40px rgba(0, 0, 0, 0.8);
}

.activity-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-4) var(--space-3);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.activity-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-400), transparent);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.activity-card:hover,
.activity-card:focus-within {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 1px 0 rgba(156, 200, 255, 0.12) inset, 0 30px 60px -30px rgba(61, 139, 255, 0.35);
}

.activity-card:hover::before,
.activity-card:focus-within::before {
  opacity: 1;
}

.activity-media {
  position: relative;
  margin: calc(var(--space-4) * -1) calc(var(--space-3) * -1) 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--night-800);
}

.activity-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 13, 31, 0) 45%, rgba(10, 20, 40, 0.92) 100%);
}

.activity-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.8s var(--ease);
}

.activity-card:hover .activity-media img,
.activity-card:focus-within .activity-media img {
  transform: scale(1.06);
}

.activity-card .activity-icon {
  position: relative;
  z-index: 1;
  margin-top: -24px;
  background: rgba(10, 22, 46, 0.92);
}

.activity-index {
  position: absolute;
  z-index: 1;
  top: var(--space-2);
  right: var(--space-2);
  padding: 2px var(--space-1);
  border-radius: 999px;
  background: rgba(6, 13, 31, 0.7);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-soft);
}

.activity-icon {
  width: 48px;
  height: 48px;
  padding: 11px;
  margin-bottom: var(--space-3);
  fill: var(--accent-400);
  stroke: var(--accent-400);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(61, 139, 255, 0.1);
  box-shadow: 0 0 24px -6px rgba(61, 139, 255, 0.5);
}

.activity-card p {
  color: var(--text-muted);
  flex: 1;
}

.activity-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: var(--space-1) 0 0;
  padding: 0;
  list-style: none;
}

.activity-links a {
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}

.activity-links a span {
  display: inline-block;
  transition: transform 0.25s var(--ease);
}

.activity-links a:hover span {
  transform: translateX(4px);
}

/* Liste des prestations */

.service-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.service-row {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: var(--space-2);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--line);
}

.service-row::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 1px;
  background: var(--accent-400);
  box-shadow: 0 0 8px var(--accent-400);
  transition: width 0.5s var(--ease);
}

.service-row:hover::after,
.service-row:focus-within::after {
  width: 100%;
}

.service-index {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--primary-500);
  padding-top: 2px;
}

.service-row h3 {
  margin-bottom: var(--space-1);
}

.service-row h3 a {
  color: var(--text);
  text-decoration: none;
}

.service-row h3 a:hover {
  color: var(--accent-400);
}

.service-row p {
  margin: 0;
  color: var(--text-muted);
}

@media (min-width: 900px) {
  .service-row {
    grid-template-columns: 80px 1fr 1.2fr;
    align-items: baseline;
  }

  .service-row > div {
    display: contents;
  }
}

/* Situations, publics, pourquoi */

.situations .check-list {
  gap: var(--space-2);
}

@media (min-width: 900px) {
  .situations .check-list {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2) var(--space-5);
  }
}

.audience-grid {
  display: grid;
  gap: var(--space-3);
}

.audience-grid > div {
  padding: var(--space-4);
}

.audience-grid p {
  color: var(--text-muted);
}

@media (min-width: 800px) {
  .audience-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.why-grid {
  display: grid;
  gap: var(--space-4);
}

.why-copy > p {
  font-size: 1.15rem;
  color: var(--text);
}

@media (min-width: 900px) {
  .why-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: var(--space-8);
  }
}

/* Étapes */

.steps {
  display: grid;
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: var(--space-2);
}

.step-number {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--accent-400);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(61, 139, 255, 0.08);
  box-shadow: 0 0 20px -6px rgba(61, 139, 255, 0.6);
}

.step p {
  color: var(--text-muted);
  margin: 0;
}

.step h3 {
  margin: 8px 0 var(--space-1);
}

@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
  }

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

  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 22px;
    left: 60px;
    right: calc(-1 * var(--space-4) + 12px);
    height: 1px;
    background: linear-gradient(90deg, var(--line-strong), transparent);
  }
}

.page-body .steps {
  grid-template-columns: 1fr;
}

.page-body .step {
  grid-template-columns: 44px 1fr;
}

.page-body .step::after {
  display: none;
}

/* Zone et coordonnées */

.zone-grid {
  display: grid;
  gap: var(--space-4);
}

.zone-grid p {
  color: var(--text-muted);
}

.zone-card {
  padding: var(--space-4);
}

.zone-card-title {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-400);
}

.zone-card address {
  font-size: 1.2rem;
  margin-bottom: var(--space-2);
}

.zone-card-note {
  margin: 0;
  padding-top: var(--space-2);
  border-top: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 0.95rem;
}

@media (min-width: 900px) {
  .zone-grid {
    grid-template-columns: 1.3fr 1fr;
    align-items: center;
  }
}

.contact-block .contact-grid {
  display: grid;
  gap: var(--space-2);
}

.contact-grid p {
  margin: 0;
  padding: var(--space-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(14, 27, 52, 0.45);
  color: var(--text-muted);
}

.contact-grid strong {
  display: inline-block;
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.contact-grid a {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  word-break: break-word;
}

.contact-grid a:hover {
  color: var(--accent-400);
}

@media (min-width: 900px) {
  .contact-block .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* FAQ */

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 860px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(14, 27, 52, 0.45);
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.faq-item[open],
.faq-item:hover {
  border-color: var(--line-strong);
  background: rgba(22, 39, 70, 0.6);
}

.faq-item summary {
  position: relative;
  padding: 20px 56px 20px var(--space-3);
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text);
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  position: absolute;
  right: var(--space-3);
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -7px;
  border-right: 1.5px solid var(--accent-400);
  border-bottom: 1.5px solid var(--accent-400);
  transform: rotate(45deg);
  transition: transform 0.3s var(--ease);
}

.faq-item[open] summary::after {
  transform: rotate(-135deg);
  margin-top: -2px;
}

.faq-item p {
  margin: 0;
  padding: 0 var(--space-3) var(--space-3);
  color: var(--text-muted);
}

/* Bloc d'appel à l'action */

.cta-panel {
  display: grid;
  gap: var(--space-3);
  margin: var(--space-8) auto;
  max-width: calc(var(--container) - 2 * var(--space-5));
  padding: var(--space-5) var(--space-4);
  overflow: hidden;
  border-color: var(--line-strong);
  background:
    url("/assets/c98941dbd6ab302a.svg") right -160px center / 640px auto no-repeat,
    linear-gradient(135deg, rgba(29, 85, 179, 0.35), rgba(10, 20, 40, 0.8));
}

body > main > .cta-panel {
  margin-left: var(--space-3);
  margin-right: var(--space-3);
}

@media (min-width: 1300px) {
  body > main > .cta-panel {
    margin-left: auto;
    margin-right: auto;
  }
}

.cta-panel h2 {
  margin-bottom: var(--space-1);
}

.cta-panel p {
  margin: 0;
  color: var(--text-muted);
  max-width: 56ch;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (min-width: 900px) {
  .cta-panel {
    grid-template-columns: 1.2fr auto;
    align-items: center;
    padding: var(--space-6);
  }
}

@media (max-width: 520px) {
  .cta-actions .button {
    width: 100%;
  }
}

/* Pages de prestations */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: var(--space-10) 0 var(--space-8);
  border-bottom: 1px solid var(--line);
  background: radial-gradient(800px 400px at 10% 0%, rgba(61, 139, 255, 0.14), transparent 70%);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/assets/c98941dbd6ab302a.svg") right -140px top -40px / 760px auto no-repeat;
  opacity: 0.5;
  pointer-events: none;
}

.page-hero .container {
  position: relative;
}

.page-hero h1 {
  max-width: 20ch;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
}

.page-hero-compact {
  padding: var(--space-8) 0 var(--space-6);
}

.page-body > * {
  max-width: 880px;
}

.page-body > .cta-panel {
  max-width: none;
}

.page-body .section {
  padding: var(--space-8) 0 0;
}

.page-body .section p,
.page-body .section li {
  color: var(--text-muted);
}

.page-body .section h3 {
  margin-top: var(--space-3);
}

.page-body .section-tint {
  margin-top: var(--space-8);
  padding: var(--space-5) var(--space-4);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.page-body .cta-panel {
  max-width: none;
}

/* Contact */

.contact-layout > * {
  min-width: 0;
}

.contact-layout {
  display: grid;
  gap: var(--space-5);
  padding-top: var(--space-6);
  padding-bottom: var(--space-10);
}

@media (min-width: 960px) {
  .contact-layout {
    grid-template-columns: 0.8fr 1.2fr;
    align-items: start;
  }

  .contact-aside {
    position: sticky;
    top: calc(var(--header-h) + var(--space-3));
  }
}

.contact-aside {
  padding: var(--space-4);
}

.contact-aside h2 {
  font-size: 1.2rem;
}

.contact-aside h2:not(:first-child) {
  margin-top: var(--space-4);
}

.contact-aside p,
.contact-aside li {
  color: var(--text-muted);
}

.aside-note {
  font-size: 0.92rem;
  color: var(--text-soft) !important;
}

.contact-form {
  display: grid;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-3);
  background: rgba(10, 20, 40, 0.6);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

@media (min-width: 700px) {
  .contact-form {
    padding: var(--space-5);
  }
}

.form-grid {
  display: grid;
  gap: var(--space-3);
}

@media (min-width: 700px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.contact-form > *,
.form-grid > * {
  min-width: 0;
}

.field input,
.field select,
.field textarea {
  max-width: 100%;
}

.field label,
.form-group legend {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

.required,
.optional {
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: rgba(4, 9, 21, 0.6);
  border: 1px solid var(--night-500);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field textarea {
  resize: vertical;
  min-height: 150px;
}

.field select {
  appearance: none;
  padding-right: 44px;
  background:
    linear-gradient(45deg, transparent 50%, var(--accent-400) 50%) right 22px center / 6px 6px no-repeat,
    linear-gradient(-45deg, transparent 50%, var(--accent-400) 50%) right 16px center / 6px 6px no-repeat,
    rgba(4, 9, 21, 0.6);
}

.field select option {
  background: var(--night-850);
  color: var(--text);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #7d8fae;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--night-500);
  border-color: rgba(156, 200, 255, 0.45);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent-400);
  box-shadow: 0 0 0 3px rgba(61, 139, 255, 0.3);
}

.field [aria-invalid="true"] {
  border-color: var(--error-400) !important;
}

.field input[type="file"] {
  padding: 12px;
  font: inherit;
  font-size: 0.95rem;
  color: var(--text-muted);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  background: rgba(4, 9, 21, 0.4);
}

.field input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 8px 16px;
  font: inherit;
  font-weight: 600;
  color: var(--text);
  background: var(--night-700);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  cursor: pointer;
}

.field-hint {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-soft);
}

.field-error {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--error-400);
}

.form-group {
  margin: 0;
  padding: 0;
  border: 0;
}

.form-group legend {
  margin-bottom: 12px;
  padding: 0;
}

.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.choice-column {
  flex-direction: column;
}

.choice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  color: var(--text-muted);
}

.choice-row .choice {
  padding: 12px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: rgba(4, 9, 21, 0.4);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.choice-row .choice:hover {
  border-color: var(--accent-400);
}

.choice-row .choice:has(input:checked) {
  border-color: var(--accent-400);
  background: rgba(61, 139, 255, 0.12);
  color: var(--text);
}

.choice input {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  flex: none;
  accent-color: var(--primary-500);
}

.consent .choice {
  font-size: 0.95rem;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  padding: var(--space-2);
  border-radius: var(--radius-sm);
  font-weight: 500;
}

.form-status-error {
  color: #ffd2d2;
  background: var(--error-900);
  border: 1px solid rgba(255, 143, 143, 0.45);
}

.form-status-info {
  color: var(--text);
  background: rgba(61, 139, 255, 0.12);
  border: 1px solid var(--line-strong);
}

.form-fineprint {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-soft);
  text-align: center;
}

.form-success {
  padding: var(--space-5) var(--space-4);
  border-color: rgba(95, 211, 154, 0.45);
  background: linear-gradient(180deg, rgba(95, 211, 154, 0.1), rgba(10, 20, 40, 0.6));
}

.form-success h2 {
  color: var(--success-400);
}

.form-success p {
  color: var(--text-muted);
}

.form-success:focus {
  outline: none;
}

/* Pages légales et 404 */

.legal-page {
  max-width: 860px;
  padding-bottom: var(--space-10);
}

.legal-header {
  padding: var(--space-8) 0 var(--space-4);
  border-bottom: 1px solid var(--line);
}

.legal-header p {
  color: var(--text-muted);
}

.legal-section {
  padding-top: var(--space-5);
}

.legal-section h2 {
  font-size: 1.4rem;
}

.legal-section p,
.legal-section li {
  color: var(--text-muted);
}

.legal-list {
  padding-left: 20px;
}

.legal-list li {
  margin-bottom: 8px;
}

.not-found {
  padding: var(--space-12) var(--space-3);
  text-align: center;
}

.not-found h1 {
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}

.not-found .lead {
  margin: 0 auto var(--space-4);
}

.not-found .hero-actions {
  justify-content: center;
}

.not-found-links ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: var(--space-4) 0 0;
  padding: 0;
  list-style: none;
}

.not-found-links a {
  display: inline-block;
  padding: 8px 16px;
  color: var(--text-muted);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
}

.not-found-links a:hover {
  color: var(--text);
  border-color: var(--accent-400);
}

/* Pied de page */

.site-footer {
  position: relative;
  margin-top: var(--space-8);
  padding-top: var(--space-10);
  background: var(--night-950);
  border-top: 1px solid var(--line);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-400), transparent);
  opacity: 0.6;
}

.footer-grid {
  display: grid;
  gap: var(--space-5);
  padding-bottom: var(--space-6);
}

.footer-activities {
  margin-top: var(--space-3);
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--accent-400);
}

.footer-lead,
.footer-note,
.footer-address,
.site-footer p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-title {
  margin-bottom: var(--space-2);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.site-footer a {
  color: var(--text);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent-400);
}

.footer-note {
  color: var(--text-soft) !important;
}

.footer-legal {
  padding-top: var(--space-3);
  padding-bottom: var(--space-3);
  border-top: 1px solid var(--line);
}

.footer-legal p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-soft);
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1000px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1.1fr 0.8fr;
  }
}

/* Apparition au défilement */

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.activity-grid > .reveal:nth-child(2),
.steps > .reveal:nth-child(2) { transition-delay: 0.08s; }
.activity-grid > .reveal:nth-child(3),
.steps > .reveal:nth-child(3) { transition-delay: 0.16s; }
.activity-grid > .reveal:nth-child(4),
.steps > .reveal:nth-child(4) { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .house .pulse,
  .house .wave {
    display: none;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

.hero-visual.is-offscreen *,
.hero-visual.is-offscreen *::before,
.hero-visual.is-offscreen *::after {
  animation-play-state: paused !important;
}
