/* ═══════════════════════════════════════
   FONTS — N27
═══════════════════════════════════════ */
@font-face {
  font-family: 'N27';
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  src: url('/assets/fonts/N27-Light.woff2') format('woff2');
}
@font-face {
  font-family: 'N27';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('/assets/fonts/N27-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'N27';
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url('/assets/fonts/N27MediumRegular.woff2') format('woff2');
}
@font-face {
  font-family: 'N27';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('/assets/fonts/N27-Bold.woff2') format('woff2');
}

/* ═══════════════════════════════════════
   NAV RESPONSIVE — garantie universelle
   !important pour override toute CSS inline
═══════════════════════════════════════ */

/* Tablet + mobile (≤1100px) */
@media (max-width: 1100px) {
  .nav-links     { display: none !important; }
  .burger-btn    { display: flex !important; }
  .nav-logo-text { display: none !important; }
  .nav-inner     { padding: 0 20px !important; }
}

/* Protection logo — empêche le carré niji de se déformer dans la zone transitoire */
.nav-logo { flex-shrink: 0 !important; }

/* Mobile (≤768px) */
@media (max-width: 768px) {
  .nav-logo img  { height: 32px !important; width: 32px !important; }
}

/* ═══════════════════════════════════════
   NAV DROPDOWN — source unique
   !important pour garantir display:none
   même si la page inline CSS est absente
═══════════════════════════════════════ */
.nav-dropdown { position: relative; padding-bottom: 8px; margin-bottom: -8px; }
.nav-dropdown > a { cursor: default; }
.nav-dropdown > a::after { content: ' ▾'; font-size: 0.6rem; opacity: 0.5; }
.nav-dropdown-menu {
  display: none !important;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #D1D1D1;
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  min-width: 260px;
  z-index: 200;
  padding: 8px 0;
}
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px; left: 0; right: 0;
  height: 8px;
}
.nav-dropdown:hover .nav-dropdown-menu { display: block !important; }
.nav-dropdown-menu a {
  display: block;
  padding: 9px 20px;
  font-size: 0.78rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0A0A0A;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
  text-decoration: none;
}
.nav-dropdown-menu a:hover { background: #F2F2F7; color: #8147F5; }
.nav-dropdown-menu .menu-sep { height: 1px; background: #D1D1D1; margin: 6px 12px; }

/* ═══════════════════════════════════════
   SHARED EXTRAS
═══════════════════════════════════════ */

/* Active nav/footer links (injected by JS) */
.nav-links a.active { color: #8147F5; }
.footer-links a.active { color: #fff; }

/* ═══════════════════════════════════════
   COMPOSANT CONTACT FORM — source unique
   S'applique partout via .cta-form
═══════════════════════════════════════ */
.cta-form {
  display: flex !important;
  flex-direction: column !important;
  max-width: 480px;
  margin: 0 auto 16px;
  gap: 12px !important;    /* espace visible entre chaque élément */
  background: none !important;
  border: none !important;
  border-radius: 0;
  overflow: visible !important;
}
.cta-form input,
.cta-form textarea {
  width: 100% !important;
  padding: 14px 20px !important;
  background: rgba(255,255,255,0.07) !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
  border-radius: 4px !important;
  outline: none !important;
  color: var(--white, #fff) !important;
  font-family: var(--font, 'Helvetica Neue', sans-serif) !important;
  font-size: 0.875rem !important;
  font-weight: 300 !important;
  resize: vertical !important;
  box-sizing: border-box;
  transition: border-color 0.2s;
}
.cta-form input:focus,
.cta-form textarea:focus {
  border-color: rgba(255,255,255,0.4) !important;
}
.cta-form textarea {
  min-height: 96px !important;
  line-height: 1.6 !important;
}
.cta-form input::placeholder,
.cta-form textarea::placeholder {
  color: rgba(255,255,255,0.35) !important;
}
.cta-form button {
  padding: 14px 24px;
  background: var(--purple, #8147F5);
  color: var(--white, #fff);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--font, 'Helvetica Neue', sans-serif);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: background 0.2s;
  white-space: nowrap;
}
.cta-form button:hover { background: var(--magenta, #BB47F5); }
.cta-form.is-sent { display: none !important; }
.cta-note { font-size: 0.72rem; color: rgba(255,255,255,0.3); text-align: center; }

/* ── Honeypot anti-bot : doit rester invisible quoi qu'il arrive ── */
.cta-form input.hp-field,
input.hp-field {
  position: absolute !important;
  left: -9999px !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  opacity: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
  width: 1px !important;
  display: block !important;
}

/* ── Case RGPD ───────────────────────────────────────────── */
.consent-wrap {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  max-width: 480px;
  margin: 0 auto !important;
  text-align: left !important;
}
.consent-wrap input[type="checkbox"] {
  width: 16px !important;
  min-width: 16px !important;
  height: 16px !important;
  min-height: 16px !important;
  padding: 0 !important;
  margin-top: 2px !important;
  border: 1px solid rgba(255,255,255,0.35) !important;
  border-radius: 3px !important;
  background: transparent !important;
  accent-color: #8147F5;
  cursor: pointer;
  flex-shrink: 0;
}
.consent-label {
  font-size: 0.72rem !important;
  font-weight: 300 !important;
  color: rgba(255,255,255,0.4) !important;
  line-height: 1.55 !important;
  font-family: var(--font) !important;
}
.consent-label a {
  color: rgba(255,255,255,0.6) !important;
  text-decoration: underline !important;
  text-underline-offset: 2px;
  transition: color 0.2s;
}
.consent-label a:hover { color: #fff !important; }

/* Lien Qui sommes-nous sur 2 lignes */
.nav-qui {
  font-size: 0.72rem !important;
  white-space: nowrap;
}

/* Supprime le trait fin sous le dernier item de chaque section mobile */
.mobile-menu-section a:last-child { border-bottom: none !important; }
