/* NaviFormation — overrides front (FAQ, highlights, promo recap, qty icons) */

/* helper */
.sr-only{
  position:absolute!important;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);
  white-space:nowrap;border:0;
}

/* FAQ: questions on dark blue with white text */
.faq-item summary{
  background:#0B2A5B;
  color:#fff;
}
.faq-item summary::after{ color: rgba(255,255,255,.92); }
.faq-item[open] summary::after{ color:#fff; }
.faq-body{
  background:#fff;
  color:#0F172A;
}

/* Highlights: remove card borders/shadows (keep centered look) */
.highlight{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 12px 10px !important;
}


.btn-call {
    background: #09778d;
    color: #ffffff;
    border: 2px solid rgba(21, 93, 252, .18);
}

.cf-turnstile {
  display: flex;
  justify-content: center;
}



/* Cart qty: show people icons */
.qty-people{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width: 46px;
  padding: 0 4px;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 1px;
}

/* Recap: promo line highlighted */
.recap-row.promo{ display:none; }
.recap-row.promo.is-visible{
  display:flex;
  background: rgba(245,158,11,.10);
  border: 1px solid rgba(245,158,11,.25);
  border-radius: 12px;
  padding: 8px 10px;
  margin-top: 6px;
  border-bottom: none;
}
.recap-row.promo.is-visible .recap-left,
.recap-row.promo.is-visible .recap-right{
  color:#B45309;
  font-weight: 1000;
}

/* Recap: permits list row */
.recap-row.permits{
  padding: 6px 0;
}
.permits-list{
  text-align:right;
  color:#334155;
  font-weight: 900;
}


/* Wrap fixes + icons */
.people-icons{
  display:inline-flex;
  align-items:center;
  gap:2px;
  flex-wrap:nowrap;
  white-space:nowrap;
  color: var(--primary);
  vertical-align:middle;
}
.people-icons .pi{
  width:16px;
  height:16px;
  fill: currentColor;
  display:block;
}
.people-icons .more{
  font-weight: 1000;
  margin-left: 2px;
  line-height: 1;
  color: var(--primary);
}

/* Avoid € wrapping in recap amounts (but not the permits multi-line row) */
.recap-row:not(.permits) .recap-right,
.recap-row:not(.permits) .recap-right *{
  white-space:nowrap;
}

/* Permits list: one item per line */
.permits-list{
  display:flex;
  flex-direction:column;
  gap:4px;
  align-items:flex-end;
  text-align:right;
}
.permit-line{
  white-space:nowrap;
}
/* =============================
   V9 HOTFIX – Header / Hero
   ============================= */

/* Menu item "style bouton" */
[data-nav] .nav__link--button {
  background: #0b2d5c;
  color: #fff !important;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

/* Aligne verticalement le contenu du hero slider */
.hero > .container {
  height: 100%;
  display: flex;
  align-items: center;
}

/* Si un ancien bouton "Appeler" existe encore (callCta), on le masque par défaut */
[data-call-cta] { display: none !important; }

/* Centre verticalement le contenu du Hero/Slider (la .container est centrée mais le texte restait en haut) */
.hero > .container {
  height: 100%;
  display: flex;
  align-items: center;
}

/* Evite les décalages en mobile */
@media (max-width: 768px) {
  .hero { min-height: 520px; }
}

/* ------------------------------
   Header / Menu toggle
   ------------------------------ */

/* "Menu" à gauche des traits et alignement propre */
[data-nav-toggle], .nav__toggle{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  line-height: 1;
}
[data-nav-toggle] .menu-label, .nav__toggle .menu-label{ order: 1; }
[data-nav-toggle] .menu-icon, .nav__toggle .menu-icon{ order: 2; }

/* SAUTS DE LIGNES FAQ */

.faq-body {

    white-space: pre-line;
}

/* ------------------------------
   Hero slider : empilement + centrage vertical
   ------------------------------ */

.hero__content{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 14px;
}
.hero__actions{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}


/* v9.2 – Hotfix (menu button color + mobile Menu spacing)
   Keep this file loaded AFTER overrides.css
*/
:root{
  --navy-btn:#0b2d4a;
}

/* Menu item styled as button */
a.is-button,
.nav a.is-button,
.site-nav a.is-button,
.header-nav a.is-button,
.menu a.is-button{
  background: var(--navy-btn) !important;
  color:#fff !important;
  border:1px solid rgba(255,255,255,.0) !important;
  padding: 12px 16px !important;
  border-radius: 14px !important;
  font-weight: 800 !important;
  letter-spacing: .2px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none !important;
  box-shadow: 0 10px 24px rgba(0,0,0,.10);
}
a.is-button:hover,
a.is-button:focus-visible{
  filter: brightness(1.05);
  transform: translateY(-1px);
}

/* Make sure the phone number doesn't wrap weirdly in button */
a.is-button .menu-phone,
a.is-button .phone,
a.is-button span{
  white-space: nowrap;
}

/* Mobile burger "Menu" label spacing (avoid touching the icon) */
.menu-toggle,
button.menu-toggle,
.header .menu-toggle{
  display:flex;
  align-items:center;
  gap: 10px; /* space between label and burger */
}

.menu-toggle .label,
button.menu-toggle .label,
.menu-toggle .menu-label{
  margin-right: 6px;
}

/* If your burger is built with pseudo lines inside .burger */
.menu-toggle .burger,
.menu-toggle .hamburger{
  flex: 0 0 auto;
}

/* =============================
   HOTFIX — Burger: "Menu" à gauche des traits
   ============================= */

/* Cible large : toggle menu (desktop+mobile) */
.menu-toggle,
button.menu-toggle,
.nav__toggle,
button.nav__toggle,
[data-nav-toggle]{
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;              /* espace entre texte et burger */
  line-height: 1 !important;
  white-space: nowrap;
}

/* Texte "Menu" (peut être span.label / span.menu-label) */
.menu-toggle .label,
.menu-toggle .menu-label,
.nav__toggle .label,
.nav__toggle .menu-label,
[data-nav-toggle] .label,
[data-nav-toggle] .menu-label{
  position: static !important;
  transform: none !important;
  margin: 0 !important;
  padding: 0 !important;
  order: 1 !important;              /* texte avant */
}

/* Icône burger (peut être .burger / .hamburger / .menu-icon) */
.menu-toggle .burger,
.menu-toggle .hamburger,
.menu-toggle .menu-icon,
.nav__toggle .burger,
.nav__toggle .hamburger,
.nav__toggle .menu-icon,
[data-nav-toggle] .burger,
[data-nav-toggle] .hamburger,
[data-nav-toggle] .menu-icon{
  position: static !important;
  transform: none !important;
  order: 2 !important;              /* burger après */
  flex: 0 0 auto !important;
}

/* Si ton burger est dessiné en pseudo-éléments, on évite qu’ils se baladent */
.menu-toggle .burger::before,
.menu-toggle .burger::after,
.menu-toggle .hamburger::before,
.menu-toggle .hamburger::after,
.nav__toggle .burger::before,
.nav__toggle .burger::after{
  position: relative;
}


/* ordre explicite */
button.nav-toggle[data-nav-toggle] .nav-toggle-label{
  order: 1 !important;
  position: static !important;
  transform: none !important;
  margin: 0 !important;
}

button.nav-toggle[data-nav-toggle] .nav-toggle-icon{
  order: 2 !important;
  position: static !important;
  transform: none !important;
  margin: 0 !important;
  flex: 0 0 auto !important;
}

/* évite toute superposition due à des styles existants */
button.nav-toggle[data-nav-toggle] .nav-toggle-label,
button.nav-toggle[data-nav-toggle] .nav-toggle-icon{
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
}



/* Ensure the button fits its content and the label sits left of the burger */
.nav-toggle{width:auto !important;}
.nav-toggle{gap:10px !important;}
.nav-toggle-label{margin-right:6px !important;}

/* Desktop: pas de burger */
@media (min-width: 981px) {
  .nav-toggle { display: none !important; }
  .nav { display: flex !important; }
}

/* Mobile: burger visible */
@media (max-width: 980px) {
  .nav-toggle { display: inline-flex !important; }
}

/* Menu item "style bouton" */
.nav a.nav-btn,
.nav a.nav-btn:visited {
  background: #2d5b82;
  color: #fff;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,0.06);
}

/* Hover */
.nav a.nav-btn:hover {
  filter: brightness(1.05);
}

/* Si ton menu mobile empile les liens, on garde un rendu propre */
@media (max-width: 980px) {
  .nav a.nav-btn {
    justify-content: center;
    width: 100%;
  }
}

/* ═══════════════════════════════════════════════════════
   INSCRIPTION MODAL — Multi-step, animated
═══════════════════════════════════════════════════════ */

/* Keep legacy modal-overlay for other modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.modal-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
}
button.modal-close {
  margin-top: 12px;
  background: none;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 8px 16px;
  cursor: pointer;
  color: #666;
  font-size: 13px;
}
button.modal-close:hover { background: #f5f5f5; }

/* ── Overlay ── */
.insc-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 60, 0.60);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 16px;
  opacity: 0;
  transition: opacity .25s ease;
}
.insc-overlay.insc-overlay-in  { opacity: 1; }
.insc-overlay.insc-overlay-out { opacity: 0; }

/* ── Modal card ── */
.insc-modal {
  background: #ffffff;
  border-radius: 20px;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(10,25,80,.22), 0 4px 16px rgba(10,25,80,.10);
  transform: translateY(20px) scale(.98);
  transition: transform .28s cubic-bezier(.22,.68,0,1.2);
  scrollbar-width: thin;
  scrollbar-color: #dbeafe transparent;
}
.insc-overlay.insc-overlay-in .insc-modal {
  transform: translateY(0) scale(1);
}

/* ── Header ── */
.insc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid #e8f0fe;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 2;
  border-radius: 20px 20px 0 0;
}
.insc-header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}
.insc-anchor {
  font-size: 26px;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(21,93,252,.2));
}
.insc-title {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -.02em;
  font-family: 'Outfit', Arial, sans-serif;
}
.insc-subtitle {
  font-size: 12px;
  color: #64748b;
  margin-top: 1px;
  font-weight: 500;
}
.insc-close {
  background: #f1f5f9;
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  cursor: pointer;
  font-size: 14px;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, color .15s;
  flex-shrink: 0;
}
.insc-close:hover { background: #fee2e2; color: #dc2626; }

/* ── Progress bar ── */
.insc-progress-track {
  height: 3px;
  background: #e8f0fe;
}
.insc-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #155DFC, #0E91FA);
  border-radius: 0 99px 99px 0;
  transition: width .45s cubic-bezier(.4,0,.2,1);
}

/* ── Steps ── */
.insc-steps {
  position: relative;
  overflow: hidden;
}
.insc-step {
  display: none;
  padding: 24px 24px 20px;
  animation: inscStepIn .3s cubic-bezier(.22,.68,0,1.1) both;
}
.insc-step.active { display: block; }
.insc-step.exit   { display: block; animation: inscStepOut .25s ease forwards; }

@keyframes inscStepIn  {
  from { opacity: 0; transform: translateX(18px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes inscStepOut {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(-18px); }
}

/* ── Step headings ── */
.insc-step-head { margin-bottom: 18px; }
.insc-step-title {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 5px;
  letter-spacing: -.02em;
  font-family: 'Outfit', Arial, sans-serif;
}
.insc-step-desc {
  font-size: 13px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* ── Step 1 : Formation grid ── */
.insc-formations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}
.insc-formation-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  cursor: pointer;
  transition: all .18s ease;
  text-align: left;
  position: relative;
}
.insc-formation-btn:hover {
  border-color: #93c5fd;
  background: #eff6ff;
  transform: translateY(-1px);
}
.insc-formation-btn.selected {
  border-color: #155DFC;
  background: #eff6ff;
  box-shadow: 0 0 0 3px rgba(21,93,252,.12);
}
.insc-formation-icon {
  font-size: 22px;
  flex-shrink: 0;
  line-height: 1;
}
.insc-formation-label {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.3;
  flex: 1;
}
.insc-formation-check {
  font-size: 13px;
  color: #155DFC;
  font-weight: 800;
  opacity: 0;
  transition: opacity .15s;
}
.insc-formation-btn.selected .insc-formation-check { opacity: 1; }

/* ── Step 2 : Fields ── */
.insc-fields { margin-bottom: 4px; }
.insc-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}
.insc-field { display: flex; flex-direction: column; gap: 5px; }
.insc-label {
  font-size: 12px;
  font-weight: 700;
  color: #374151;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.insc-label span { color: #ef4444; }
.insc-input {
  padding: 11px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 14px;
  color: #1e293b;
  background: #f8fafc;
  transition: border-color .15s, box-shadow .15s;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}
.insc-input:focus {
  border-color: #155DFC;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(21,93,252,.10);
}

/* ── Documents grid ── */
.insc-docs-grid { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; }

.insc-doc-card {
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .2s;
}
.insc-doc-card.insc-doc-done { border-color: #86efac; }

.insc-doc-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}
.insc-doc-card.insc-doc-done .insc-doc-header { background: #f0fdf4; border-color: #bbf7d0; }

.insc-doc-icon { font-size: 18px; flex-shrink: 0; }
.insc-doc-info { flex: 1; min-width: 0; }
.insc-doc-label { font-size: 13px; font-weight: 700; color: #1e293b; }
.insc-doc-hint  { font-size: 11px; color: #94a3b8; margin-top: 1px; }

.insc-doc-badge { flex-shrink: 0; }
.badge-pending {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 3px 8px;
  border-radius: 99px;
  background: #fef3c7;
  color: #92400e;
}
.badge-ok {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 3px 8px;
  border-radius: 99px;
  background: #dcfce7;
  color: #166534;
}

.insc-upload-zone {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  cursor: pointer;
  transition: background .15s;
  background: #fff;
}
.insc-upload-zone:hover { background: #f0f7ff; }
.insc-upload-icon { font-size: 16px; flex-shrink: 0; }
.insc-upload-text { font-size: 13px; color: #64748b; flex: 1; }
.insc-upload-size { font-size: 11px; color: #94a3b8; }

.insc-no-docs {
  padding: 16px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  font-size: 14px;
  color: #166534;
  margin: 0;
}

/* ── Error ── */
.insc-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  color: #dc2626;
  margin-bottom: 10px;
}

/* ── Step footer / buttons ── */
.insc-step-footer {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}
.insc-btn-primary {
  flex: 1;
  padding: 13px 24px;
  background: linear-gradient(135deg, #155DFC, #0E91FA);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .15s, transform .15s, box-shadow .15s;
  box-shadow: 0 4px 14px rgba(21,93,252,.28);
  letter-spacing: -.01em;
}
.insc-btn-primary:hover:not(:disabled) {
  opacity: .92;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(21,93,252,.35);
}
.insc-btn-primary:disabled {
  background: #e2e8f0;
  color: #94a3b8;
  box-shadow: none;
  cursor: not-allowed;
}
.insc-btn-ghost {
  padding: 13px 18px;
  background: transparent;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  white-space: nowrap;
}
.insc-btn-ghost:hover { border-color: #93c5fd; background: #f0f7ff; color: #155DFC; }

/* ── Step 3 : Success ── */
.insc-success {
  text-align: center;
  padding: 16px 8px 8px;
}
.insc-success-icon {
  font-size: 56px;
  margin-bottom: 16px;
  animation: inscPop .5s cubic-bezier(.22,.68,0,1.4) both;
}
@keyframes inscPop {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.insc-success-title {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 10px;
  font-family: 'Outfit', Arial, sans-serif;
}
.insc-success-msg {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 24px;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Responsive ── */
@media (max-width: 520px) {
  .insc-modal { border-radius: 16px 16px 0 0; max-height: 95vh; }
  .insc-overlay { align-items: flex-end; padding: 0; }
  .insc-formations-grid { grid-template-columns: 1fr; }
  .insc-field-row { grid-template-columns: 1fr; }
  .insc-step { padding: 18px 16px 16px; }
  .insc-header { padding: 16px 16px 12px; }
}






