:root {
  --bg: #071614;
  --bg-2: #0c2421;
  --bg-3: #102f2b;
  --ink: #f4fffb;
  --muted: rgba(244, 255, 251, .72);
  --muted-2: rgba(244, 255, 251, .56);
  --mint: #9ce7dc;
  --mint-2: #c7fff4;
  --teal: #3e9b8d;
  --blue: #91c7ff;
  --line: rgba(156, 231, 220, .22);
  --line-strong: rgba(156, 231, 220, .36);
  --glass: rgba(255, 255, 255, .075);
  --glass-strong: rgba(255, 255, 255, .115);
  --shadow: 0 30px 90px rgba(0, 0, 0, .32);
  --radius: 28px;
  --max: 1120px;
}

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

html { scroll-behavior: smooth; background: var(--bg); }

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 10%, rgba(156, 231, 220, .24), transparent 31rem),
    radial-gradient(circle at 88% 8%, rgba(145, 199, 255, .15), transparent 29rem),
    radial-gradient(circle at 50% 112%, rgba(62, 155, 141, .20), transparent 34rem),
    linear-gradient(145deg, var(--bg) 0%, var(--bg-2) 48%, var(--bg-3) 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -4;
  opacity: .22;
  background:
    linear-gradient(90deg, rgba(156, 231, 220, .08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(156, 231, 220, .055) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.78), transparent 84%);
  pointer-events: none;
}

a { color: inherit; }
button { font: inherit; }

.page { position: relative; min-height: 100vh; overflow-x: clip; isolation: isolate; }

.page::before,
.page::after {
  content: "";
  position: fixed;
  z-index: -3;
  width: 42rem;
  height: 42rem;
  border-radius: 999px;
  filter: blur(18px);
  pointer-events: none;
}

.page::before {
  inset: -20rem auto auto -16rem;
  background: radial-gradient(circle, rgba(156, 231, 220, .20), transparent 68%);
  animation: entFloat 12s ease-in-out infinite alternate;
}

.page::after {
  inset: auto -18rem -24rem auto;
  background: radial-gradient(circle, rgba(145, 199, 255, .16), transparent 70%);
  animation: entFloatReverse 14s ease-in-out infinite alternate;
}

@keyframes entFloat {
  from { transform: translate3d(0,0,0) scale(1); }
  to { transform: translate3d(28px,24px,0) scale(1.06); }
}

@keyframes entFloatReverse {
  from { transform: translate3d(0,0,0) scale(1.04); }
  to { transform: translate3d(-26px,-20px,0) scale(1); }
}

.container { width: min(100% - 36px, var(--max)); margin-inline: auto; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #071614;
  background: radial-gradient(circle at 24% 18%, rgba(255,255,255,.72), transparent 36%), linear-gradient(135deg, var(--mint-2), var(--mint) 54%, var(--teal));
  box-shadow: 0 18px 44px rgba(156, 231, 220, .22), inset 0 0 0 1px rgba(255,255,255,.38);
  font-weight: 950;
  letter-spacing: -.06em;
}

.brand-name {
  display: block;
  font-size: 18px;
  line-height: .98;
  font-weight: 950;
  letter-spacing: -.045em;
}

.brand-name small {
  display: block;
  margin-top: 5px;
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .01em;
}

.nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px;
  border: 1px solid rgba(156, 231, 220, .18);
  border-radius: 999px;
  background: rgba(255,255,255,.055);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 60px rgba(0,0,0,.18);
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  transition: background .22s ease, color .22s ease, transform .22s ease;
}

.nav a:hover { color: var(--ink); background: rgba(156,231,220,.10); transform: translateY(-1px); }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, .92fr);
  align-items: center;
  gap: 44px;
  padding: 54px 0 76px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -32px -18px auto auto;
  width: 260px;
  height: 260px;
  border-radius: 32px;
  border: 1px solid rgba(156, 231, 220, .20);
  background: linear-gradient(90deg, rgba(156,231,220,.14) 1px, transparent 1px), linear-gradient(180deg, rgba(156,231,220,.10) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .42;
  transform: rotate(8deg);
  pointer-events: none;
  animation: entGridDrift 10s ease-in-out infinite alternate;
}

@keyframes entGridDrift {
  from { transform: rotate(8deg) translateY(0); }
  to { transform: rotate(8deg) translateY(18px); }
}

.hero-copy { position: relative; z-index: 1; min-width: 0; animation: entFadeUp .65s ease both; }

.kicker {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 18px;
  padding: 9px 14px;
  overflow: hidden;
  border: 1px solid rgba(156, 231, 220, .32);
  border-radius: 999px;
  color: var(--mint-2);
  background: rgba(156, 231, 220, .08);
  box-shadow: 0 14px 42px rgba(156,231,220,.10);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .05em;
  line-height: 1.2;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--mint);
  box-shadow: 0 0 0 7px rgba(156,231,220,.12);
}

h1, h2, h3, p { overflow-wrap: break-word; }

h1 {
  margin: 0 0 18px;
  max-width: 850px;
  font-size: clamp(44px, 7vw, 78px);
  line-height: .94;
  letter-spacing: -.075em;
  background: linear-gradient(135deg, #ffffff 0%, var(--mint-2) 34%, var(--mint) 62%, var(--blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 28px 90px rgba(156, 231, 220, .13);
}

.lead {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(18px, 2.1vw, 22px);
  line-height: 1.68;
}

.notice {
  max-width: 760px;
  margin-top: 22px;
  padding: 17px 18px;
  border: 1px solid rgba(156,231,220,.18);
  border-radius: 22px;
  color: rgba(244,255,251,.76);
  background: radial-gradient(circle at 0% 0%, rgba(156,231,220,.10), transparent 34%), rgba(255,255,255,.055);
  line-height: 1.65;
}

.notice strong { color: var(--ink); }

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

.btn {
  position: relative;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow: hidden;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.btn-primary {
  border: 1px solid rgba(156,231,220,.32);
  background: radial-gradient(circle at 20% 0%, rgba(255,255,255,.70), transparent 32%), linear-gradient(135deg, var(--mint-2), var(--mint) 48%, var(--teal));
  color: #071614;
  box-shadow: 0 24px 62px rgba(156,231,220,.24);
}

.btn-secondary {
  border: 1px solid rgba(244,255,251,.18);
  background: rgba(255,255,255,.07);
  color: var(--ink);
  backdrop-filter: blur(16px);
}

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

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-120%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.42), transparent);
  transition: transform .58s ease;
  pointer-events: none;
}

.btn:hover::after { transform: translateX(120%); }

.info-board {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(156,231,220,.22);
  border-radius: 34px;
  background: radial-gradient(circle at 12% 8%, rgba(156,231,220,.16), transparent 32%), radial-gradient(circle at 100% 0%, rgba(145,199,255,.12), transparent 30%), linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.055)), rgba(255,255,255,.06);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  animation: entFadeUp .65s ease .08s both;
}

.info-board::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--mint-2), var(--mint), var(--blue), transparent);
}

.board-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.board-top span { color: var(--ink); font-size: 26px; font-weight: 950; letter-spacing: -.07em; }
.board-top small { color: var(--muted); font-weight: 750; }

.board-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.board-grid span,
.board-grid strong {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 12px 13px;
  border: 1px solid rgba(156,231,220,.16);
  border-radius: 16px;
  background: rgba(255,255,255,.065);
}

.board-grid span { color: rgba(244,255,251,.66); }
.board-grid strong { color: var(--mint-2); }
.info-board p { position: relative; z-index: 1; margin: 18px 0 0; color: var(--muted); line-height: 1.7; }

.section { padding: 34px 0; }

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

.info-card,
.content-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(156,231,220,.18);
  border-radius: var(--radius);
  background: radial-gradient(circle at 12% 8%, rgba(156,231,220,.11), transparent 28%), linear-gradient(145deg, rgba(255,255,255,.105), rgba(255,255,255,.052)), rgba(255,255,255,.055);
  box-shadow: 0 20px 70px rgba(0,0,0,.22);
  backdrop-filter: blur(18px);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  animation: entFadeUp .65s ease both;
}

.info-card::before,
.content-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--mint), var(--blue), transparent);
  opacity: .76;
  pointer-events: none;
}

.info-card > *,
.content-card > * { position: relative; z-index: 1; }

.info-card { padding: 24px; }
.info-card:hover { transform: translateY(-5px); border-color: rgba(156,231,220,.34); box-shadow: 0 28px 90px rgba(156,231,220,.14), 0 18px 60px rgba(0,0,0,.24); }

.icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 18px;
  font-size: 24px;
  box-shadow: inset 0 0 0 1px rgba(156,231,220,.24), 0 14px 38px rgba(156,231,220,.10);
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.32), transparent 42%), linear-gradient(135deg, rgba(156,231,220,.17), rgba(145,199,255,.12));
}

.info-card h3,
.content-card h2 {
  margin: 0 0 10px;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -.045em;
}

.info-card h3 { font-size: 23px; }
.content-card h2 { font-size: clamp(30px, 4vw, 46px); }
.info-card p { margin: 0; color: var(--muted); line-height: 1.72; }

.content-card { display: grid; grid-template-columns: .86fr 1.14fr; gap: 28px; padding: clamp(26px, 5vw, 46px); }
.content-card--soft { background: radial-gradient(circle at 14% 12%, rgba(199,255,244,.13), transparent 30%), radial-gradient(circle at 100% 0%, rgba(145,199,255,.10), transparent 28%), linear-gradient(145deg, rgba(255,255,255,.125), rgba(255,255,255,.060)), rgba(255,255,255,.065); }

.side-title,
.rich-text { min-width: 0; }

.rich-text p { margin: 0; color: var(--muted); line-height: 1.82; font-size: 17px; }
.rich-text p + p { margin-top: 15px; }

.text-link {
  color: var(--mint-2);
  text-decoration-color: rgba(199,255,244,.35);
  text-underline-offset: 4px;
  font-weight: 850;
  transition: color .18s ease, text-decoration-color .18s ease;
}

.text-link:hover { color: #ffffff; text-decoration-color: rgba(199,255,244,.72); }

.footer { padding: 42px 0 34px; color: var(--muted-2); font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; gap: 22px; flex-wrap: wrap; border-top: 1px solid rgba(244,255,251,.14); padding-top: 22px; }
.footer-contact { appearance: none; border: 0; padding: 0; margin: 0; background: transparent; color: rgba(244,255,251,.58); font: inherit; cursor: pointer; text-decoration: underline; text-decoration-color: rgba(244,255,251,.26); text-underline-offset: 4px; }
.footer-contact:hover { color: var(--mint-2); }

.error-wrap { min-height: 58vh; display: grid; place-items: center; padding: 42px 0; }
.error-card { width: min(100%, 680px); padding: clamp(28px, 6vw, 52px); border: 1px solid rgba(244,255,251,.16); border-radius: 34px; background: rgba(255,255,255,.08); text-align: center; box-shadow: var(--shadow); }
.error-code { display: inline-grid; place-items: center; width: 74px; height: 74px; border-radius: 24px; margin-bottom: 18px; background: linear-gradient(135deg, var(--mint-2), var(--mint)); color: #071614; font-weight: 900; }
.error-card h1 { margin: 0 0 14px; font-size: clamp(34px, 7vw, 58px); letter-spacing: -.07em; }
.error-card p { color: var(--muted); line-height: 1.7; }

@keyframes entFadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.cards-grid > *:nth-child(2) { animation-delay: .08s; }
.cards-grid > *:nth-child(3) { animation-delay: .16s; }

@media (max-width: 900px) {
  .hero,
  .content-card { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  html,
  body { max-width: 100%; overflow-x: hidden; }
  .container { width: min(100% - 26px, var(--max)); }
  .topbar { align-items: flex-start; }
  .nav { display: none; }
  .hero { padding-top: 26px; }
  .hero::before { right: -120px; top: -110px; width: 210px; height: 210px; opacity: .24; }
  h1 { max-width: 100%; font-size: clamp(38px, 13.5vw, 56px); line-height: .98; letter-spacing: -.065em; }
  .lead { font-size: 17px; }
  .hero-actions { align-items: stretch; }
  .btn { width: 100%; text-align: center; }
  .content-card { grid-template-columns: 1fr; padding-inline: 20px; }
  .board-grid { grid-template-columns: 1fr; }
  .info-card:hover,
  .btn:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Ressources secondaires : liens volontairement discrets, pas de mise en avant visuelle */
.resources-quiet .content-card {
  opacity: .82;
}

.resources-quiet .kicker {
  opacity: .72;
}

.resources-quiet .side-title h2 {
  color: rgba(238, 255, 250, .74);
}

.resources-quiet .rich-text p {
  color: rgba(238, 255, 250, .58);
}

.quiet-link {
  appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: inherit;
  text-decoration: none;
  cursor: text;
}

.quiet-link:hover,
.quiet-link:focus {
  color: inherit;
  text-decoration: none;
  outline: none;
}


/* Liens réseau réels, discrets et dofollow */
.quiet-a {
  color: inherit;
  font-weight: inherit;
  text-decoration: none;
  cursor: pointer;
}

.quiet-a:hover,
.quiet-a:focus {
  color: inherit;
  text-decoration: none;
  outline: none;
}
