/* ==========================================================================
   RUNSETIA - Feuille de style principale
   Charte : navy #16223C, terracotta #C2714F, creme #FAF7F2, charbon #2D2D2D
   Mobile-first. Pas de degrades, pas de glow, pas de 3D.
   ========================================================================== */

:root {
  --navy: #16223C;
  --navy-dark: #101A2E;
  --terracotta: #C2714F;
  --terracotta-dark: #A85D3E;
  --terracotta-light: #F4E5DC;
  --terracotta-deep: #A8542F;
  --terracotta-tint: #FBF1EB;
  --indigo: #4338CA;
  --indigo-muted: #CFCBF0;
  --indigo-tint: #F4F2FC;
  --cream: #FAF7F2;
  --charcoal: #2D2D2D;
  --muted: #5A6172;
  --muted-light: #B8C0D0;
  --border: #E5DFD5;
  --border-navy: #2A3A5C;

  --font-title: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  --radius: 12px;
  --radius-sm: 8px;
  --container: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--terracotta); }
a:hover { color: var(--terracotta-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 800;
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(1.9rem, 5.5vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.3rem); }

p { margin: 0 0 1em; }

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

.container--narrow { max-width: 820px; }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section { padding: 64px 0; }
.section--navy { background: var(--navy); }
.section--navy h1, .section--navy h2, .section--navy h3 { color: var(--cream); }
.section--navy p { color: var(--muted-light); }
.section--navy .lead { color: var(--cream); }

.eyebrow {
  font-family: var(--font-title);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin: 0 0 14px;
}

.lead {
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  color: var(--muted);
  max-width: 720px;
}

.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }

.accent { color: var(--terracotta); }

.note {
  font-size: 0.88rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Boutons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-block;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.98rem;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn-primary {
  background: var(--terracotta);
  color: #FFFFFF;
}
.btn-primary:hover { background: var(--terracotta-dark); color: #FFFFFF; }

.btn-outline-light {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream);
}
.btn-outline-light:hover { background: var(--cream); color: var(--navy); }

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--cream); }

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.link-plain {
  font-weight: 600;
  color: var(--terracotta);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.section--navy .link-plain { color: var(--muted-light); }
.section--navy .link-plain:hover { color: var(--cream); }

/* Prenom du fondateur : lien discret vers la page A propos */
.name-link {
  color: var(--terracotta);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}
.name-link:hover { color: var(--terracotta-dark); }
.section--navy .name-link:hover { color: var(--cream); }

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.logo-link { display: inline-flex; align-items: center; }
.logo-link img { height: 26px; width: auto; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav a:not(.btn) {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  text-decoration: none;
}
.site-nav a:not(.btn):hover { color: var(--terracotta); }
.site-nav .btn { padding: 10px 20px; font-size: 0.9rem; }

.burger {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--navy);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 767px) {
  .burger { display: block; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    padding: 8px 20px 20px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .site-nav .btn { margin-top: 16px; }

  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}

/* --------------------------------------------------------------------------
   Cartes
   -------------------------------------------------------------------------- */

.grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}

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

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

.card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.card h3 { margin-top: 0; }

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--terracotta-light);
  color: var(--terracotta);
  margin-bottom: 18px;
}
.card-icon svg { width: 24px; height: 24px; }

.card-icon--navy {
  background: var(--navy);
  color: var(--cream);
}

.kpi {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--terracotta);
}

.card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.card ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
}
.card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 3px;
  background: var(--terracotta);
  border-radius: 2px;
}

.card-label {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 12px;
}

.badge {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FFFFFF;
  background: var(--terracotta);
  border-radius: 999px;
  padding: 5px 14px;
}

.badge--outline {
  background: transparent;
  color: var(--terracotta);
  border: 1.5px solid var(--terracotta);
}

/* Cartes numerotees (methode) */

.step-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1rem;
  color: var(--terracotta);
  display: block;
  margin-bottom: 10px;
}

/* Encadre terracotta */

.callout {
  background: var(--terracotta-light);
  border-left: 4px solid var(--terracotta);
  border-radius: var(--radius-sm);
  padding: 28px 30px;
  margin: 40px 0 0;
}
.callout p { margin: 0; color: var(--charcoal); }
.callout strong { color: var(--navy); }

/* Bandeau navy */

.banner {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 44px;
}
.banner p {
  margin: 0;
  color: var(--cream);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.08rem;
  max-width: 640px;
}

/* --------------------------------------------------------------------------
   Accordeons (FAQ)
   -------------------------------------------------------------------------- */

.accordion {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  margin-bottom: 12px;
  overflow: hidden;
}

.accordion summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--navy);
}
.accordion summary::-webkit-details-marker { display: none; }

.accordion summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--terracotta);
  flex-shrink: 0;
  line-height: 1;
}
.accordion[open] summary::after { content: "\2212"; }

.accordion-body { padding: 0 22px 20px; color: var(--charcoal); }
.accordion-body p { margin: 0 0 0.6em; }
.accordion-body p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Formulaires
   -------------------------------------------------------------------------- */

.form-field { margin-bottom: 18px; }

.form-field label {
  display: block;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-field .optional { font-weight: 400; color: var(--muted); }

/* Indication "choix multiple" sur les questions a cases a cocher */
.multi-hint {
  display: inline-block;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--terracotta-dark);
  background: var(--terracotta-light);
  border-radius: 999px;
  padding: 3px 10px;
  margin-left: 8px;
  vertical-align: middle;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Echelle de maturite IA (diagnostic gratuit)
   -------------------------------------------------------------------------- */

.maturity-scale {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 26px;
  padding: 0;
  list-style: none;
}
.maturity-scale .step {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  background: #FFFFFF;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--navy);
}
.maturity-scale .step b { font-family: var(--font-mono); color: var(--terracotta); }

/* --------------------------------------------------------------------------
   Grille tarifaire du Diagnostic RUNSETIA
   -------------------------------------------------------------------------- */

/* ==========================================================================
   COMPOSANT REUTILISABLE : Grille tarifaire RUNSETIA
   En-tete indigo, colonne Fondateur teintee terracotta, ligne "le complet"
   mise en valeur. Le style vit ici, pas dans le HTML : une edition de contenu
   (texte, prix, lignes) ne peut pas casser le rendu tant que les classes
   .tarif-table / .col-peri / .col-std / .col-fond / .perimetre / .std / .fond
   sont conservees. A envelopper dans .compare-wrap pour le cadre arrondi.
   Markup type :
     <div class="compare-wrap"><table class="tarif-table">
       <thead><tr>
         <th class="col-peri">Perimetre</th>
         <th class="col-std">Standard</th>
         <th class="col-fond">Fondateur<span class="th-sub">15 places</span></th>
       </tr></thead>
       <tbody>
         <tr><td class="perimetre">1 axe</td><td class="std">990 €</td><td class="fond">495 €</td></tr>
         <tr class="is-complet">...</tr>
       </tbody>
     </table></div>
   -------------------------------------------------------------------------- */
.tarif-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 1rem;
}
.tarif-table thead tr { background: var(--indigo); }
.tarif-table thead th {
  font-family: var(--font-title);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: right;
  padding: 15px 22px;
  color: #FFFFFF;
  vertical-align: bottom;
}
.tarif-table th.col-peri { text-align: left; width: 44%; }
.tarif-table th.col-std { color: var(--indigo-muted); }
.tarif-table th.col-fond { background: var(--terracotta); color: #FFFFFF; }
.tarif-table th .th-sub {
  display: block;
  margin-top: 3px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: none;
  opacity: 0.92;
}
.tarif-table td {
  padding: 16px 22px;
  border-top: 1px solid var(--border);
  vertical-align: middle;
}
.tarif-table td.perimetre {
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--navy);
}
.tarif-table td.perimetre small {
  display: block;
  margin-top: 2px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--terracotta);
}
.tarif-table td.std {
  text-align: right;
  font-family: var(--font-title);
  font-weight: 800;
  color: var(--muted);
  white-space: nowrap;
}
.tarif-table td.fond {
  text-align: right;
  font-family: var(--font-title);
  font-weight: 800;
  color: var(--terracotta-deep);
  white-space: nowrap;
  background: var(--terracotta-tint);
}
.tarif-table td .consult,
.tarif-table td .na {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
}
.tarif-table td.std .consult,
.tarif-table td.std .na { color: var(--muted); }
.tarif-table td.fond .consult,
.tarif-table td.fond .na { color: var(--terracotta-deep); }
/* Ligne "le complet" : teinte indigo claire cote Standard, terracotta cote Fondateur */
.tarif-table tr.is-complet td.perimetre,
.tarif-table tr.is-complet td.std { background: var(--indigo-tint); }
.tarif-table tr.is-complet td.fond { background: var(--terracotta-tint); }
@media (max-width: 560px) {
  .tarif-table thead th { padding: 12px 12px; font-size: 0.68rem; }
  .tarif-table td { padding: 12px 12px; }
  .tarif-table { font-size: 0.92rem; }
}
/* Filet de securite structurel : la grille tarifs reste coloree meme si une
   edition future retire les classes des cellules. Cible le tableau de la
   section #tarifs par sa position (derniere colonne = Fondateur), sans
   dependre d'aucune classe posee sur les lignes ou cellules. */
#tarifs .compare-wrap table thead tr { background: var(--indigo); }
#tarifs .compare-wrap table thead th { color: #FFFFFF; }
#tarifs .compare-wrap table thead th:last-child { background: var(--terracotta); }
#tarifs .compare-wrap table tbody td:last-child {
  background: var(--terracotta-tint);
  color: var(--terracotta-deep);
  font-weight: 700;
}

/* ==========================================================================
   COMPOSANT REUTILISABLE : Cartes des trois axes + encart "ce que vous repartez avec"
   Axes en cartes (jamais en paragraphes bruts) : tag indigo, titre, descriptif.
   Markup type :
     <div class="grid grid-3">
       <div class="card card--equal"><p class="axe-tag">Axe Presence</p><h3>...</h3><p>...</p></div>
     </div>
     <div class="diag-contains">Quel que soit l'axe retenu, ...</div>
   -------------------------------------------------------------------------- */
.axe-tag {
  display: block;
  margin: 0 0 4px;
  font-family: var(--font-title);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--indigo);
}
.diag-contains {
  margin-top: 16px;
  padding: 18px 22px;
  background: var(--indigo-tint);
  border-radius: var(--radius);
  font-size: 0.95rem;
  line-height: 1.7;
  color: #36306B;
}
.diag-contains strong { color: var(--indigo); }

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--charcoal);
  background: #FFFFFF;
  border: 1.5px solid #BCC4D2;
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  box-shadow: inset 0 1px 2px rgba(22, 34, 60, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input::placeholder, textarea::placeholder { color: #9AA1AD; }

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(194, 113, 79, 0.18);
}

textarea { resize: vertical; min-height: 130px; }

.checkbox-field {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--muted);
}
.checkbox-field input { margin-top: 3px; accent-color: var(--terracotta); width: 18px; height: 18px; flex-shrink: 0; cursor: pointer; }

.form-status { font-weight: 600; margin-top: 14px; }
.form-status.is-error { color: #A4392E; }
.form-status.is-success { color: #2E6B45; }

/* Options du diagnostic (radio / checkbox cards) */

.option-list { display: grid; gap: 10px; }

.option-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #FFFFFF;
  border: 1.5px solid #BCC4D2;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  cursor: pointer;
  font-weight: 500;
  color: var(--charcoal);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.option-item:hover { border-color: var(--terracotta); }
.option-item input {
  accent-color: var(--terracotta);
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  cursor: pointer;
}
.option-item.is-checked {
  border-color: var(--terracotta);
  background: var(--terracotta-light);
  box-shadow: 0 0 0 1px var(--terracotta);
}

/* Barre de progression */

.progress {
  height: 6px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 10px;
}
.progress-bar {
  height: 100%;
  width: 0;
  background: var(--terracotta);
  border-radius: 999px;
  transition: width 0.25s ease;
}
.progress-label {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 26px;
}

.form-step { display: none; }
.form-step.is-active { display: block; }

.form-nav {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 28px;
}
.form-nav .btn { min-width: 130px; }

/* Badges hero diagnostic */

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0;
}
.badge-row .pill {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--navy);
  background: #FFFFFF;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 8px 18px;
}

/* --------------------------------------------------------------------------
   Tarifs
   -------------------------------------------------------------------------- */

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.price-card.is-featured { border: 1.5px solid var(--terracotta); }
.price-tag {
  position: absolute;
  top: -11px;
  right: 18px;
  font-family: var(--font-title);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #FFFFFF;
  background: var(--terracotta);
  padding: 5px 12px;
  border-radius: 999px;
}

.price {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.7rem;
  color: var(--navy);
  margin: 6px 0 2px;
}
.price-old {
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: line-through;
  margin-left: 8px;
}
.price-sub { font-size: 0.88rem; color: var(--muted); }

.price-card .btn { margin-top: auto; }
.price-card p + .btn { margin-top: 18px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--navy-dark);
  color: var(--muted-light);
  padding: 56px 0 28px;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  margin-bottom: 40px;
}

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

.footer-logo {
  display: inline-block;
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 14px;
}
.footer-logo img { height: 20px; display: block; }

.site-footer h4 {
  color: var(--cream);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--muted-light); text-decoration: none; }
.site-footer a:hover { color: var(--cream); }

.footer-linkedin { display: inline-flex; align-items: center; gap: 8px; }
.footer-linkedin svg { width: 18px; height: 18px; flex-shrink: 0; }

.footer-bottom {
  border-top: 1px solid var(--border-navy);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  align-items: center;
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   Divers
   -------------------------------------------------------------------------- */

.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; } }

.quote-block {
  border-left: 4px solid var(--terracotta);
  background: var(--terracotta-light);
  border-radius: var(--radius-sm);
  padding: 24px 28px;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--navy);
  margin: 32px 0 0;
}

.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.contact-list .card-icon { width: 42px; height: 42px; margin: 0; flex-shrink: 0; }
.contact-list strong { display: block; color: var(--navy); font-family: var(--font-title); }

.legal-content h2 { margin-top: 1.6em; font-size: 1.35rem; }
.legal-content h3 { margin-top: 1.3em; }

.portrait {
  display: block;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 15%;
  border-radius: var(--radius);
  background: var(--navy);
}

.mini-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.mini-nav a {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--navy);
  background: #FFFFFF;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  text-decoration: none;
}
.mini-nav a:hover { border-color: var(--terracotta); color: var(--terracotta); }

.divider-line {
  border: none;
  border-top: 1px solid var(--border);
  margin: 48px 0;
}

.transition-line {
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  max-width: 640px;
  margin: 40px auto 0;
}

.stat-line {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--muted-light);
  margin-top: 24px;
}

.success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--terracotta-light);
  color: var(--terracotta);
  margin-bottom: 24px;
}
.success-icon svg { width: 36px; height: 36px; }

/* --------------------------------------------------------------------------
   Bande de reassurance (uniquement des engagements reellement detenus)
   -------------------------------------------------------------------------- */

.reassure {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.reassure .container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 32px;
  justify-content: center;
}
.reassure-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--navy);
}
.reassure-item svg { width: 16px; height: 16px; color: var(--terracotta); flex-shrink: 0; }

/* --------------------------------------------------------------------------
   Tableau Avant / Avec l'IA
   -------------------------------------------------------------------------- */

.compare-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #FFFFFF;
  margin-top: 36px;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.compare-table th {
  background: var(--navy);
  color: var(--cream);
  font-family: var(--font-title);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
  padding: 14px 18px;
}
.compare-table td {
  padding: 13px 18px;
  border-top: 1px solid var(--border);
  vertical-align: top;
}
.compare-table td:nth-child(1) { font-weight: 600; color: var(--navy); }
.compare-table td:nth-child(2) { color: var(--muted); }
.compare-table td:nth-child(3) { color: var(--terracotta); font-weight: 700; }

@media (max-width: 540px) {
  .compare-table { font-size: 0.85rem; }
  .compare-table th, .compare-table td { padding: 10px 10px; }
}

/* --------------------------------------------------------------------------
   Cartes a hauteur egale (kpi calee en bas)
   -------------------------------------------------------------------------- */

.card--equal { display: flex; flex-direction: column; height: 100%; }
.card--equal .kpi { margin-top: auto; padding-top: 12px; margin-bottom: 0; }

/* --------------------------------------------------------------------------
   FAQ : blocs de categories rythmes
   -------------------------------------------------------------------------- */

.faq-block { padding: 30px 0; }
.faq-block--alt { background: #FFFDF8; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.faq-cat-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.faq-cat-head .card-icon {
  margin: 0;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
.faq-cat-head h2 { margin: 0; font-size: 1.25rem; }

.faq-block .accordion { margin-bottom: 10px; }
.faq-block .accordion summary { padding: 15px 20px; }

.accordion[open] { border-left: 4px solid var(--terracotta); }

.faq-banner {
  background: var(--navy);
  padding: 36px 0;
}
.faq-banner .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.faq-banner p {
  margin: 0;
  color: var(--cream);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.1rem;
}

/* --------------------------------------------------------------------------
   Illustrations d'ambiance (SVG, ratio preserve par le viewBox)
   -------------------------------------------------------------------------- */

/* Hero : texte + illustration cote a cote */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 48px; }
}

.hero-art {
  display: block;
  width: 100%;
  margin: 0 auto;
  max-width: 560px;
}
.hero-art img { display: block; width: 100%; height: auto; }

@media (max-width: 899px) {
  .hero-art { max-width: 420px; }
}

/* Illustration de section sur fond clair (paysage, centree) */
.section-illu {
  display: block;
  width: 100%;
  max-width: 760px;
  margin: 0 auto 8px;
}
.section-illu img { display: block; width: 100%; height: auto; }

/* Cadre navy pour une illustration a traits clairs (Illu Systemes) */
.illu-stage {
  display: block;
  background: var(--navy);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 36px;
}

/* --------------------------------------------------------------------------
   Cartes cas d'audit (Section Presence) : entete secteur + score + bouton PDF
   -------------------------------------------------------------------------- */

.case-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.case-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.case-top .card-icon { margin: 0; width: 42px; height: 42px; }
.case-badge {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
}
.score-big { font-family: var(--font-title); line-height: 1; margin: 0 0 2px; }
.score-big b { font-size: 2.7rem; font-weight: 800; color: var(--terracotta); }
.score-big span { font-size: 1.1rem; font-weight: 700; color: var(--muted); }
.score-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 16px;
}
.case-card .kpi { margin-top: auto; padding-top: 14px; margin-bottom: 16px; }
.case-card .btn { align-self: flex-start; }

/* Texte lisible pour les cartes blanches posees sur une section navy */
.section--navy .card h3 { color: var(--navy); }
.section--navy .card p { color: var(--charcoal); }
.section--navy .card .kpi { color: var(--terracotta); }
.section--navy .card .score-label,
.section--navy .card .score-big span { color: var(--muted); }
.section--navy .card .card-label,
.section--navy .card .case-badge { color: var(--navy); }

/* --------------------------------------------------------------------------
   Module avant / apres (Cas fonctionnement)
   -------------------------------------------------------------------------- */

.ba-row { margin-bottom: 22px; }
.ba-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.ba-head .card-label { margin: 0; }

/* Taille de structure : pastille navy proeminente */
.size-badge {
  display: inline-block;
  background: var(--navy);
  color: var(--cream);
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  padding: 7px 16px;
  border-radius: 999px;
}
/* Mention "Cas demonstratif" : tag secondaire discret */
.ba-demo {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.ba-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 768px) {
  .ba-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .ba-after { border-left: 1px solid var(--border); padding-left: 32px; }
}
.ba-tag {
  display: inline-block;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.ba-tag--before { background: var(--cream); color: var(--muted); border: 1px solid var(--border); }
.ba-tag--after { background: var(--terracotta-light); color: var(--terracotta-dark); }
.ba-col p { margin: 0 0 8px; }
.ba-col .kpi { margin: 6px 0 0; }

/* --------------------------------------------------------------------------
   Bande de respiration (navy, une phrase forte)
   -------------------------------------------------------------------------- */

.breath { padding: 60px 0; }
.breath p {
  margin: 0 auto;
  max-width: 840px;
  text-align: center;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(1.3rem, 3.2vw, 1.95rem);
  line-height: 1.25;
  color: var(--cream);
}
.breath .accent { color: var(--terracotta); }

/* --------------------------------------------------------------------------
   Frise methode (navy, 01 02 03 04)
   -------------------------------------------------------------------------- */

.timeline { display: grid; grid-template-columns: 1fr; gap: 30px; margin-top: 10px; }
@media (min-width: 768px) { .timeline { grid-template-columns: repeat(4, 1fr); gap: 26px; } }
.tl-step { border-top: 2px solid var(--border-navy); padding-top: 18px; }
.tl-num { font-family: var(--font-mono); font-weight: 700; font-size: 1.15rem; color: var(--terracotta); }
.tl-step h3 { color: var(--cream); margin: 10px 0 6px; font-size: 1.05rem; }
.tl-step p { color: var(--muted-light); margin: 0; font-size: 0.92rem; }
.illu-stage img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 820px;
  margin: 0 auto;
}
