/* ============================================================
   BONUS DE CONNEXION — Landing page
   Dark mode · Identité : noir / cream / cyan
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --bg:           #0E0E0E;
  --bg-elevated:  #161616;
  --bg-card:      #1A1A1A;
  --bg-card-hi:   #202020;
  --line:         rgba(240, 234, 214, 0.08);
  --line-strong:  rgba(240, 234, 214, 0.14);

  --text:         #F0EAD6;
  --text-dim:     #B0A99A;
  --text-mute:    #6B6557;

  --accent:       #00B8D4;
  --accent-hi:    #1FD0EE;
  --accent-soft:  rgba(0, 184, 212, 0.12);
  --accent-glow:  rgba(0, 184, 212, 0.35);

  --red:          #E94560;

  --radius:       12px;
  --radius-lg:    20px;
  --radius-pill:  999px;

  --shadow-sm:    0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md:    0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-glow:  0 0 0 1px var(--accent-soft), 0 8px 32px var(--accent-glow);

  --container:    1200px;
  --pad-x:        clamp(20px, 4vw, 48px);

  --t-fast:       0.18s ease;
  --t-med:        0.28s ease;
  --t-slow:       0.55s cubic-bezier(.22,.61,.36,1);

  --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-fast);
}
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

button { font-family: inherit; }

::selection {
  background: var(--accent);
  color: var(--bg);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

/* ---------- Helpers ---------- */
.hl {
  color: var(--accent);
  font-weight: 600;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(14, 14, 14, 0.6);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: background var(--t-med), border-color var(--t-med), box-shadow var(--t-med);
}

.nav--scrolled {
  background: rgba(14, 14, 14, 0.85);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.nav__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 14px var(--pad-x);
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 auto;
  min-width: 0;
}

.nav__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  flex-shrink: 0;
}

.nav__brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.nav__brand-title {
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav__brand-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-top: 2px;
}

.nav__links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav__links a {
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}
.nav__links a:hover { color: var(--text); }
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med);
}
.nav__links a:hover::after { transform: scaleX(1); }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--accent);
  color: var(--bg);
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}
.nav__cta:hover {
  background: var(--accent-hi);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--accent-glow);
  color: var(--bg);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px var(--pad-x) 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 20% 0%, var(--accent-soft), transparent 60%),
    radial-gradient(ellipse 60% 60% at 80% 100%, rgba(233, 69, 96, 0.10), transparent 65%),
    linear-gradient(180deg, #0E0E0E 0%, #080808 100%);
  z-index: -2;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(240, 234, 214, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 234, 214, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 60% 80% at 50% 40%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 40%, black 30%, transparent 80%);
}

.hero__inner {
  max-width: 920px;
  width: 100%;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.hero__brand {
  display: flex;
  align-items: center;
  gap: 28px;
  text-align: left;
}

.hero__logo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--bg-card);
  box-shadow: var(--shadow-glow);
  flex-shrink: 0;
}

.hero__titles { display: flex; flex-direction: column; gap: 6px; }

.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.18em;
  margin: 0;
}

.hero__title {
  font-size: clamp(40px, 7vw, 76px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--text);
}
.hero__title-accent {
  color: var(--accent);
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-hi) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__tag {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.18em;
  margin: 0;
}

/* ---- Loading bar (signature visuelle) ---- */
.loadbar {
  position: relative;
  width: min(560px, 100%);
  height: 6px;
  background: var(--bg-card);
  border-radius: var(--radius-pill);
  overflow: hidden;
  border: 1px solid var(--line);
}
.loadbar__fill {
  position: absolute;
  inset: 0 100% 0 0;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-hi) 100%);
  border-radius: var(--radius-pill);
  box-shadow: 0 0 16px var(--accent-glow);
  animation: loadbar 3.6s ease-in-out infinite;
}
.loadbar__label {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--text-mute);
  white-space: nowrap;
}
@keyframes loadbar {
  0%   { inset: 0 100% 0 0; }
  35%  { inset: 0 8% 0 0; }
  65%  { inset: 0 8% 0 0; }
  100% { inset: 0 100% 0 0; }
}

/* ---- Lede & CTAs ---- */
.hero__lede {
  max-width: 680px;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.55;
  color: var(--text-dim);
  margin: 12px 0 0;
}
.hero__lede strong {
  color: var(--text);
  font-weight: 600;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform var(--t-fast), background var(--t-fast), color var(--t-fast), box-shadow var(--t-fast);
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: var(--bg);
}
.btn--primary:hover {
  background: var(--accent-hi);
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px var(--accent-glow);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ---- Meta ---- */
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  width: 100%;
  max-width: 640px;
}
.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-dim);
  font-weight: 500;
}
.meta-item__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
}

/* ============================================================
   SECTIONS GÉNÉRIQUES
   ============================================================ */
section { padding: clamp(72px, 10vw, 120px) 0; }

.section__eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.18em;
  margin: 0 0 16px;
  text-align: center;
}

.section__title {
  font-size: clamp(28px, 4.4vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-align: center;
  margin: 0 0 20px;
  color: var(--text);
}

.section__lede {
  max-width: 720px;
  margin: 0 auto 56px;
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.6;
  color: var(--text-dim);
  text-align: center;
}
.section__lede strong { color: var(--text); font-weight: 600; }

/* ============================================================
   CONCEPT
   ============================================================ */
.concept {
  background: linear-gradient(180deg, var(--bg) 0%, #0A0A0A 100%);
}

.concept__quote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 8px auto 24px;
  max-width: 800px;
  text-align: center;
}

.concept__quote-mark {
  font-family: Georgia, serif;
  font-size: 84px;
  font-weight: 700;
  color: var(--accent);
  line-height: 0.6;
  opacity: 0.6;
  flex-shrink: 0;
}
.concept__quote-mark--end { transform: translateY(28px); }

.concept__quote-text {
  font-size: clamp(22px, 3.5vw, 38px);
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0;
  line-height: 1.2;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.pillar {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform var(--t-med), border-color var(--t-med), background var(--t-med);
  position: relative;
  overflow: hidden;
}
.pillar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-soft), transparent 60%);
  opacity: 0;
  transition: opacity var(--t-med);
  pointer-events: none;
}
.pillar:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  background: var(--bg-card-hi);
}
.pillar:hover::before { opacity: 1; }

.pillar__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.pillar h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
}

.pillar p {
  margin: 0;
  color: var(--text-dim);
  line-height: 1.65;
  font-size: 15px;
  position: relative;
  z-index: 1;
}

/* ============================================================
   CHAIN (banner YouTube)
   ============================================================ */
.chain { background: var(--bg); }

.chain__banner-wrap {
  max-width: 1100px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.chain__banner {
  display: block;
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
  aspect-ratio: 2560 / 1440;
  cursor: pointer;
  transition: transform var(--t-med);
}

.chain__banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow), filter var(--t-med);
  filter: saturate(0.9);
}

.chain__banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 14, 14, 0.2) 0%, rgba(14, 14, 14, 0.85) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 32px;
  transition: background var(--t-med);
}
.chain__banner:hover .chain__banner-img {
  transform: scale(1.03);
  filter: saturate(1);
}
.chain__banner:hover .chain__banner-overlay {
  background: linear-gradient(180deg, rgba(14, 14, 14, 0.4) 0%, rgba(14, 14, 14, 0.92) 100%);
}

.chain__banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--accent);
  color: var(--bg);
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 16px;
  transition: background var(--t-fast), transform var(--t-fast);
}
.chain__banner:hover .chain__banner-cta {
  background: var(--accent-hi);
  transform: translateY(-2px);
}

/* ============================================================
   TEASING / FEATURES
   ============================================================ */
.teasing {
  background: linear-gradient(180deg, #0A0A0A 0%, var(--bg) 100%);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.feature {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform var(--t-med), border-color var(--t-med), background var(--t-med);
}
.feature:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  background: var(--bg-card-hi);
}

.feature__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
}

.feature p {
  margin: 0;
  color: var(--text-dim);
  font-size: 14.5px;
  line-height: 1.6;
  flex: 1;
}

.feature__tag {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--accent-soft);
  margin-top: 4px;
}

.teasing__cta {
  margin-top: 64px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.teasing__pitch {
  font-size: 18px;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.5;
}

/* ============================================================
   CONTACT (CTA sur la landing → page dédiée)
   ============================================================ */
.contact-cta {
  background: linear-gradient(180deg, #0A0A0A 0%, var(--bg) 100%);
  padding: clamp(60px, 8vw, 100px) 0 clamp(80px, 10vw, 120px);
}

.contact-cta__card {
  max-width: 920px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.contact-cta__card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 0% 0%, var(--accent-soft), transparent 60%),
    radial-gradient(ellipse 60% 80% at 100% 100%, rgba(233, 69, 96, 0.06), transparent 60%);
  pointer-events: none;
}

.contact-cta__text {
  position: relative;
}
.contact-cta__text .section__eyebrow {
  text-align: left;
  margin: 0 0 12px;
}

.contact-cta__title {
  margin: 0 0 12px;
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
}
.contact-cta__title .hl {
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-hi) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-cta__hint {
  margin: 0;
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.55;
}

.contact-cta__actions {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}
.contact-cta__actions .btn {
  padding: 16px 28px;
  font-size: 16px;
}

.contact-cta__email {
  font-size: 13px;
  color: var(--text-mute);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
  transition: color var(--t-fast);
}
.contact-cta__email:hover { color: var(--accent); }

@media (max-width: 760px) {
  .contact-cta__card {
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: stretch;
  }
  .contact-cta__actions { align-items: stretch; }
  .contact-cta__actions .btn { justify-content: center; }
}

/* ============================================================
   CHAMPS DE FORMULAIRE — Direction B (Gaming HUD / Terminal)
   Refonte par gemini-2.5-flash via 1min.ai (17:03 CST 08/09/2026)
   ============================================================ */

/* Base reset/enhancement for form elements */
.field__input, .field__select, .field__textarea, .btn {
  font-family: var(--font-body);
  box-sizing: border-box;
  color: var(--text);
  background-color: var(--bg-card); /* Default for inputs */
  border: 1px solid transparent; /* To prevent layout shift on focus */
}
.field__input::placeholder, .field__textarea::placeholder {
  color: var(--text-mute);
  opacity: 0.7;
}

/* --- Scanline/Grid Background Effect --- */
/* --- Form Container --- */
.contact__form {
  max-width: 650px;
  width: 100%;
  background-color: rgba(22, 22, 22, 0.8); /* Slightly transparent for grid */
  border: 1px solid var(--bg-card);
  padding: 3rem 2.5rem;
  border-radius: 8px;
  box-shadow: 0 0 0 2px var(--bg), 0 0 20px rgba(0, 184, 212, 0.2); /* Outer black border, subtle cyan glow */
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* --- Signature Loading Bar (as a decorative border/indicator) --- */
.contact__form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px; /* Thin line for DNA */
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-hi) 100%);
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

/* --- Row (for Name/Email) --- */
.contact__row {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 680px) {
  .contact__row {
    flex-direction: row;
  }
  .contact__row > .field {
    flex: 1;
  }
}

/* --- Field Label & Input --- */
.field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.field__label {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
  text-shadow: 0 0 5px rgba(0, 184, 212, 0.5); /* Subtle glow */
}

.field__label::before {
  content: '>> ';
  color: var(--accent-hi);
}

.field__input,
.field__select,
.field__textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--text-mute);
  border-radius: 4px;
  background-color: var(--bg); /* Darker background for inputs */
  font-family: var(--font-mono); /* Input text in terminal font */
  font-size: 1rem;
  color: var(--text);
  outline: none;
  box-shadow: 0 0 0 1px transparent; /* Placeholder for glow effect */
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field__input::placeholder,
.field__textarea::placeholder {
  color: var(--text-mute);
  opacity: 0.5;
  font-family: var(--font-body); /* Placeholder can be softer */
}

/* Focus state: Cyan glow + pulsing border */
@keyframes pulse-border {
  0% { box-shadow: 0 0 0 1px var(--accent); }
  50% { box-shadow: 0 0 0 3px var(--accent-hi); }
  100% { box-shadow: 0 0 0 1px var(--accent); }
}

.field__input:focus,
.field__textarea:focus,
.field__select:focus {
  border-color: var(--accent-hi);
  box-shadow: 0 0 0 1px var(--accent), 0 0 10px rgba(0, 184, 212, 0.7); /* Strong glow */
  animation: pulse-border 1.5s infinite alternate;
}

/* "READY" indicator on focus (using :focus-within on parent label) */
.field:focus-within .field__label::after {
  content: ' [READY]';
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 0.8em;
  margin-left: 0.5rem;
  vertical-align: middle;
  display: inline-block;
  opacity: 1;
  transition: opacity 0.2s ease;
}

/* Invalid state */
.field__input:invalid:not(:placeholder-shown),
.field__textarea:invalid:not(:placeholder-shown),
.field__select:invalid:not([value=""]) {
  border-color: var(--red);
  box-shadow: 0 0 0 1px var(--red), 0 0 5px rgba(233, 69, 96, 0.5);
  animation: none; /* Stop pulsing if invalid */
}
.field:has(.field__input:invalid:not(:placeholder-shown)) .field__label,
.field:has(.field__textarea:invalid:not(:placeholder-shown)) .field__label,
.field:has(.field__select:invalid:not([value=""])) .field__label {
  color: var(--red);
  text-shadow: 0 0 5px rgba(233, 69, 96, 0.5);
}

/* --- Select specific styling --- */
.field__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2300B8D4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  font-family: var(--font-mono);
}

.field__select option {
  background-color: var(--bg);
  color: var(--text);
  padding: 8px 1rem;
}
.field__select option[disabled] {
  color: var(--text-mute);
}

/* --- Textarea specific --- */
.field__textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.4;
}

/* --- Honeypot (hidden) --- */
.field__honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

/* --- Footer & Legal --- */
.contact-page__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.contact__legal {
  font-size: 0.8rem;
  color: var(--text-mute);
  text-align: center;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (min-width: 680px) {
  .contact-page__footer {
    flex-direction: row;
    justify-content: space-between;
  }
  .contact__legal {
    flex-grow: 1;
  }
}

/* --- Submit Button --- */
@keyframes buttonPulseGlow {
  0% { box-shadow: 0 0 10px rgba(0, 184, 212, 0.5); }
  50% { box-shadow: 0 0 15px rgba(31, 208, 238, 0.7); }
  100% { box-shadow: 0 0 10px rgba(0, 184, 212, 0.5); }
}

.contact__submit {
  background-color: var(--accent);
  color: var(--bg);
  border: 2px solid var(--accent-hi);
  padding: 0.85rem 1.6rem;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  box-shadow: 0 0 10px rgba(0, 184, 212, 0.5); /* Initial glow */
  position: relative;
  animation: buttonPulseGlow 2s infinite alternate; /* Subtle pulse */
}

.contact__submit:hover {
  background-color: var(--accent-hi);
  border-color: var(--accent);
  box-shadow: 0 0 15px rgba(31, 208, 238, 0.7);
  transform: translateY(-1px) scale(1.01);
  animation: none; /* Stop pulsing on hover, use direct hover effect */
}

.contact__submit-icon {
  stroke: var(--bg); /* Icon should be dark on cyan button */
  width: 22px;
  height: 22px;
  transition: transform 0.3s ease, stroke 0.3s ease;
}

.contact__submit:hover .contact__submit-icon {
  transform: translateX(8px);
  stroke: var(--bg); /* Stays dark */
}

/* --- Status Message --- */
.contact__status {
  margin-top: 1.5rem;
  padding: 1rem 1.5rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  text-align: center;
  min-height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--text-mute);
  background-color: var(--bg);
  box-shadow: 0 0 8px rgba(107, 101, 87, 0.3);
}

.contact__status[aria-live="polite"] {
  opacity: 1;
  visibility: visible;
  color: var(--text);
}
.contact__status.success {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 8px rgba(0, 184, 212, 0.5);
}
.contact__status.error {
  border-color: var(--red);
  color: var(--red);
  box-shadow: 0 0 8px rgba(233, 69, 96, 0.5);
}

/* ============================================================
   PAGE CONTACT (page dédiée)
   ============================================================ */
.page-contact {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, var(--accent-soft), transparent 70%),
    var(--bg);
  min-height: 100vh;
}

.nav__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dim);
  transition: border-color var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.nav__back:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateX(-2px);
}

.contact-page__hero {
  padding: 140px 0 60px;
  text-align: center;
}

.contact-page__title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
  color: var(--text);
}
.contact-page__title .hl {
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-hi) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-page__lede {
  max-width: 640px;
  margin: 0 auto;
  font-size: clamp(16px, 1.7vw, 18px);
  line-height: 1.6;
  color: var(--text-dim);
}
.contact-page__lede strong { color: var(--text); font-weight: 600; }

.contact-page__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  padding-bottom: 80px;
  align-items: start;
}

.contact-page__form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 4vw, 48px);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.contact-page__form-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-soft), transparent 60%);
  opacity: 0.5;
  pointer-events: none;
  border-radius: inherit;
}
.contact-page__form-wrap .contact__form {
  position: relative;
  gap: 22px;
}

.contact-page__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: 12px;
}

/* Sidebar cards */
.contact-page__sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  transition: border-color var(--t-med), background var(--t-med);
}
.contact-card:hover {
  border-color: var(--line-strong);
  background: var(--bg-card-hi);
}
.contact-card--info {
  background: var(--bg-elevated);
  border-color: var(--line);
}

.contact-card__title {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.005em;
}

.contact-card__hint {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.55;
}
.contact-card__hint:last-child { margin-bottom: 0; }
.contact-card__hint strong { color: var(--text); font-weight: 600; }

.contact-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  border-bottom: 1px dashed var(--accent);
  padding-bottom: 1px;
  transition: border-bottom-style var(--t-fast), transform var(--t-fast);
}
.contact-card__link:hover {
  border-bottom-style: solid;
  transform: translateX(2px);
}
.contact-card__link svg {
  opacity: 0.7;
  transition: opacity var(--t-fast), transform var(--t-fast);
}
.contact-card__link:hover svg {
  opacity: 1;
  transform: translate(1px, -1px);
}

.contact-page__noscript {
  margin: 20px 0 0;
  padding: 14px 18px;
  background: rgba(233, 69, 96, 0.08);
  border: 1px solid rgba(233, 69, 96, 0.3);
  border-radius: 10px;
  font-size: 13.5px;
  color: var(--text-dim);
}
.contact-page__noscript a { color: var(--accent); border-bottom: 1px dashed var(--accent); }

@media (max-width: 900px) {
  .contact-page__grid { grid-template-columns: 1fr; }
  .contact-page__form-wrap { order: 1; }
  .contact-page__sidebar { order: 2; }
}

@media (max-width: 680px) {
  .contact-page__hero { padding: 110px 0 40px; }
  .contact-page__footer { flex-direction: column; align-items: stretch; }
  .contact-page__footer .contact__legal { max-width: none; text-align: center; }
  .contact-page__footer .contact__submit { width: 100%; }
  .nav__back span { display: none; }
  .nav__back { padding: 10px 12px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #080808;
  border-top: 1px solid var(--line);
  padding: 48px 0 36px;
  margin-top: 0;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-card);
}

.footer__title {
  margin: 0;
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
}

.footer__tag {
  margin: 2px 0 0;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.12em;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.footer__links a {
  color: var(--text-dim);
  font-size: 13.5px;
  font-weight: 500;
}
.footer__links a:hover { color: var(--accent); }

.footer__copy {
  margin: 0;
  font-size: 12.5px;
  color: var(--text-mute);
  flex-basis: 100%;
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 820px) {
  .nav__links { display: none; }
  .nav__brand-tag { display: none; }
  .nav__cta span { display: none; }
  .nav__cta { padding: 10px 12px; }
}

@media (max-width: 680px) {
  .hero__brand {
    flex-direction: column;
    text-align: center;
    gap: 18px;
  }
  .hero__logo { width: 110px; height: 110px; }
  .hero__titles { align-items: center; }
  .concept__quote { gap: 8px; }
  .concept__quote-mark { font-size: 56px; }
  .concept__quote-mark--end { transform: translateY(18px); }
  .footer__inner { flex-direction: column; text-align: center; }
  .footer__brand { justify-content: center; }
}

@media (max-width: 420px) {
  .hero__title { font-size: 38px; }
  .hero__meta { gap: 14px 18px; padding-top: 18px; }
  .btn { padding: 12px 22px; font-size: 14px; }
}

/* ============================================================
   ACCESSIBILITÉ : prefers-reduced-motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .loadbar__fill { display: none; }
}