/*
Theme Name: exoqual
Theme URI: https://exoqual.com
Author: IIFRAN SAS & ISCT Maroc
Author URI: https://exoqual.com
Description: exoqual — votre qualité externalisée. Service qualité externalisé clé en main ou modulaire. Distribué via iifran.com, isct.ma et partenaires habilités. FR · MA · International.
Version: 2.0.0-dev
License: Proprietary
Text Domain: exoqual
Tags: business, professional, multilingual, quality, certification, iso-9001, iso-21001, rse
*/

/* ─── VARIABLES — palette exoqual Option Z ─────────────────
   anthracite + émeraude + ambre + ivoire
   Les noms historiques (--navy, --gold, --green-free) sont CONSERVÉS
   pour ne pas casser les règles CSS, seules les VALEURS changent.
───────────────────────────────────────────────────────────── */
:root {
  --navy:            #1A1F2B;   /* anthracite exoqual (ex navy sombre) */
  --navy-mid:        #2BC79A;   /* émeraude accent lien (ex bleu royal) */
  --green-free:      #0F7A5B;   /* émeraude principal CTA (ex vert) */
  --green-free-light:#D4EFE4;   /* émeraude pastel fonds */
  --navy-light:      #E8F3EE;   /* vert très pâle hover/badges */
  --gold:            #D97706;   /* ambre (ex doré) */
  --gold-light:      #FEF3E2;   /* ambre pastel */
  --gold-bright:     #F59E0B;   /* ambre vif */
  --white:           #FFFFFF;
  --offwhite:        #FAF7F2;   /* ivoire exoqual (ex off-white bleuté) */
  --gray:            #4B5563;
  --gray-light:      #E5E0D6;   /* beige border exoqual */
  --dark:            #0F141C;   /* anthracite profond footer */
  --green:           #0B5E46;   /* émeraude foncée text */
  --green-light:     #D4EFE4;
  --radius:          10px;
  --radius-lg:       18px;
  --shadow:          0 1px 2px rgba(26,31,43,0.04), 0 6px 20px rgba(26,31,43,0.06);
  --transition:      0.22s ease;
}

/* ─── RESET & BASE ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'DM Sans', 'Segoe UI', sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.rtl { direction: rtl; text-align: right; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-mid); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--navy);
  line-height: 1.25;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }

p { margin-bottom: 1rem; color: var(--gray); }
ul { list-style: none; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 5rem 0; }

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--green-free);
  color: var(--white);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(186,117,23,.3);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn-secondary:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
  color: var(--white);
}

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

/* ─── HEADER / NAV ──────────────────────────────────────── */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(0,0,0,.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 1180px;
  margin: 0 auto;
  gap: 1.5rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .12em;
  line-height: 1;
}

.logo-divider {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,.25);
}

.logo-sub {
  font-size: .65rem;
  color: #85B7EB;
  text-transform: uppercase;
  letter-spacing: .1em;
  line-height: 1.4;
  max-width: 140px;
}

#site-nav {
  display: flex;
  align-items: center;
  gap: .25rem;
  flex: 1;
  justify-content: center;
}

#site-nav a {
  color: rgba(255,255,255,.8);
  font-size: .88rem;
  padding: .5rem .85rem;
  border-radius: var(--radius);
  transition: all var(--transition);
  font-weight: 500;
}

#site-nav a:hover,
#site-nav a.active {
  color: var(--white);
  background: rgba(255,255,255,.1);
}

.nav-cta {
  background: var(--gold) !important;
  color: var(--white) !important;
  padding: .6rem 1.2rem !important;
  border-radius: var(--radius) !important;
}
.nav-cta:hover {
  background: var(--gold-bright) !important;
  transform: translateY(-1px);
}

.lang-switcher {
  display: flex;
  gap: .4rem;
  align-items: center;
}

.lang-btn {
  font-size: .75rem;
  font-weight: 600;
  padding: .3rem .6rem;
  border-radius: 4px;
  color: rgba(255,255,255,.6);
  background: transparent;
  border: 1px solid rgba(255,255,255,.2);
  cursor: pointer;
  transition: all var(--transition);
  text-transform: uppercase;
}

.lang-btn:hover,
.lang-btn.active {
  color: var(--white);
  border-color: var(--gold);
  background: rgba(186,117,23,.2);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: .5rem;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ─── HERO ──────────────────────────────────────────────── */
#hero {
  background: var(--navy);
  min-height: 88vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(24,95,165,.2) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(186,117,23,.1) 0%, transparent 60%);
}

.hero-accent-left {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .14em;
  margin-bottom: 1.25rem;
  padding: .35rem .9rem;
  border: 1px solid rgba(186,117,23,.4);
  border-radius: 20px;
}

.hero-title {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero-title span {
  color: var(--gold);
}

.hero-sub {
  font-size: 1.1rem;
  color: #85B7EB;
  margin-bottom: 2.5rem;
  line-height: 1.7;
  max-width: 560px;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.1);
}

.hero-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.hero-stat-label {
  font-size: .75rem;
  color: #85B7EB;
  margin-top: .25rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ─── STATS BAR ─────────────────────────────────────────── */
#stats-bar {
  /* exoqual green accent */
  background: var(--green-free);
  padding: 1.25rem 0;
}

.stats-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.stat-item {
  text-align: center;
  padding: .5rem 1rem;
}

.stat-item .num {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.stat-item .label {
  font-size: .72rem;
  color: rgba(255,255,255,.85);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: .25rem;
}

/* ─── SECTION LABELS ─────────────────────────────────────── */
.section-label {
  font-size: .75rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .14em;
  margin-bottom: .75rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-intro {
  font-size: 1.05rem;
  max-width: 620px;
  margin-bottom: 3rem;
}

.text-center { text-align: center; }
.text-center .section-intro { margin-left: auto; margin-right: auto; }

/* ─── PROBLEM SECTION ───────────────────────────────────── */
#problem { background: var(--offwhite); }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.problem-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.problem-card:hover { transform: translateY(-4px); }

.problem-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: .5rem;
}

.problem-card h3 {
  font-size: 1.1rem;
  margin-bottom: .75rem;
  color: var(--navy);
}

/* ─── SOLUTION SECTION ──────────────────────────────────── */
#solution { background: var(--navy); }
#solution h2, #solution .section-label { color: var(--white); }
#solution .section-label { color: var(--gold); }
#solution .section-intro { color: #85B7EB; }

.missions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.mission-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition);
}

.mission-card:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(186,117,23,.4);
  transform: translateY(-3px);
}

.mission-icon {
  width: 48px; height: 48px;
  background: rgba(186,117,23,.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.mission-card h3 { color: var(--white); font-size: 1rem; margin-bottom: .5rem; }
.mission-card p { color: #85B7EB; font-size: .9rem; margin: 0; }

/* ─── OFFERS SECTION ─────────────────────────────────────── */
#offers { background: var(--offwhite); }

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.offer-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.offer-card:hover { transform: translateY(-5px); }
.offer-card.featured { border: 2px solid var(--gold); }

.offer-head {
  padding: 1.5rem;
  background: var(--navy);
}

.offer-head.gold-head { background: var(--gold); }

.offer-head h3 { color: var(--white); margin-bottom: .25rem; }
.offer-head p { color: rgba(255,255,255,.75); font-size: .85rem; margin: 0; }

.offer-price-block {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--gray-light);
}

.offer-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
}

.offer-price-period {
  font-size: .8rem;
  color: var(--gray);
  margin-top: .2rem;
}

.offer-features {
  padding: 1.25rem 1.5rem 2rem;
}

.offer-feature {
  display: flex;
  gap: .75rem;
  padding: .5rem 0;
  font-size: .9rem;
  color: var(--gray);
  border-bottom: 1px solid var(--gray-light);
  align-items: flex-start;
}

.offer-feature:last-child { border-bottom: none; }

.feature-check { color: var(--green); font-size: 1rem; flex-shrink: 0; margin-top: .1rem; }
.feature-check-gold { color: var(--gold); font-size: 1rem; flex-shrink: 0; margin-top: .1rem; }

.offer-cta { padding: 0 1.5rem 1.5rem; }
.offer-cta .btn { width: 100%; justify-content: center; }

/* ─── PROCESS SECTION ───────────────────────────────────── */
#process { background: var(--white); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
}

.process-step {
  text-align: center;
  position: relative;
}

.step-num {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  position: relative;
  z-index: 1;
}

.step-num::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 100%;
  width: calc(100% + 2rem);
  height: 2px;
  background: linear-gradient(to right, var(--navy-light), var(--gray-light));
  transform: translateY(-50%);
}

.process-step:last-child .step-num::after { display: none; }

.process-step h3 { font-size: 1rem; margin-bottom: .5rem; }
.process-step p { font-size: .88rem; }

/* ─── NORMS SECTION ─────────────────────────────────────── */
#norms { background: var(--offwhite); }

.norms-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
}

.norm-pill {
  padding: .5rem 1.25rem;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid var(--navy-light);
  color: var(--navy-mid);
  font-size: .88rem;
  font-weight: 600;
  transition: all var(--transition);
  cursor: default;
}

.norm-pill:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* ─── ROI SECTION ───────────────────────────────────────── */
#roi { background: var(--navy); }
#roi h2, #roi .section-label { color: var(--white); }
#roi .section-label { color: var(--gold); }

.roi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
  align-items: center;
}

.roi-comparison {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.roi-item {
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.roi-item.internal {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
}

.roi-item.exoqual-item {
  background: var(--green-free);
}

.roi-label { color: rgba(255,255,255,.8); font-size: .9rem; }
.roi-amount { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; color: var(--white); }

.roi-benefits {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.roi-benefit {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: rgba(255,255,255,.05);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}

.roi-benefit-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.roi-benefit h4 { color: var(--white); font-size: .95rem; margin-bottom: .2rem; font-family: 'DM Sans', sans-serif; font-weight: 600; }
.roi-benefit p { color: #85B7EB; font-size: .85rem; margin: 0; }

/* ─── TESTIMONIALS ──────────────────────────────────────── */
#testimonials { background: var(--offwhite); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  color: var(--gold);
  opacity: .2;
  position: absolute;
  top: .5rem; left: 1.25rem;
  line-height: 1;
}

.testimonial-text {
  font-size: .95rem;
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.testimonial-meta {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--white);
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-name { font-weight: 600; font-size: .9rem; color: var(--navy); }
.testimonial-role { font-size: .8rem; color: var(--gray); }

.testimonial-norm {
  display: inline-block;
  margin-top: .75rem;
  font-size: .75rem;
  font-weight: 600;
  padding: .2rem .7rem;
  background: var(--navy-light);
  color: var(--navy-mid);
  border-radius: 20px;
}

/* ─── CTA SECTION ───────────────────────────────────────── */
#cta-section {
  background: var(--green-free);
  padding: 5rem 0;
}

.cta-inner {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

#cta-section h2 { color: var(--white); margin-bottom: 1rem; }
#cta-section p { color: rgba(255,255,255,.85); font-size: 1.05rem; margin-bottom: 2rem; }
#cta-section .btn-primary {
  background: var(--navy);
  border-color: var(--navy);
}
#cta-section .btn-primary:hover {
  background: var(--dark);
  border-color: var(--dark);
}

/* ─── FOOTER ────────────────────────────────────────────── */
#site-footer {
  background: var(--dark);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo-text { font-size: 2rem; display: block; margin-bottom: .5rem; }
.footer-brand p { color: rgba(255,255,255,.5); font-size: .88rem; margin-top: 1rem; }

.footer-col h4 {
  color: var(--gold);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 1.25rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
}

.footer-col ul li { margin-bottom: .5rem; }
.footer-col ul li a {
  color: rgba(255,255,255,.55);
  font-size: .88rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p { color: rgba(255,255,255,.35); font-size: .8rem; margin: 0; }

/* ─── FORMS ─────────────────────────────────────────────── */
.exoqual-form { max-width: 680px; margin: 0 auto; }

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .85rem 1rem;
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius);
  font-size: .95rem;
  font-family: inherit;
  color: var(--dark);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy-mid);
  box-shadow: 0 0 0 3px rgba(24,95,165,.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ─── PAGE TEMPLATES ─────────────────────────────────────── */
.page-hero {
  background: var(--navy);
  padding: 5rem 0 4rem;
  text-align: center;
}

.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero p { color: #85B7EB; font-size: 1.1rem; max-width: 560px; margin: 0 auto; }

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .roi-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  section { padding: 3.5rem 0; }
  #site-nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); padding: 1rem; gap: .25rem; }
  #site-nav.open { display: flex; }
  #site-nav a { width: 100%; padding: .75rem 1rem; }
  .hamburger { display: flex; }
  .hero-ctas { flex-direction: column; }
  .hero-stats { gap: 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .process-step .step-num::after { display: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  h1 { font-size: 1.8rem; }
  .stats-inner { flex-direction: column; }
}

/* ═══════════════════════════════════════════════════════════
   v2 — Classes ajoutées pour home refondue + nouvelles pages
   Palette Option Z, typographie Fraunces + Inter.
   ═══════════════════════════════════════════════════════════ */

/* Brand dot (le "." vert dans exoqual.) */
.brand-dot { color: var(--green-free); font-style: italic; font-weight: 600; }

/* Typo v2 — Fraunces pour titres, Inter pour corps */
body { font-family: 'Inter', 'DM Sans', 'Segoe UI', sans-serif; }
h1, h2, h3, h4, h5 { font-family: 'Fraunces', 'Playfair Display', Georgia, serif; letter-spacing: -0.01em; }

/* Section de base */
.section-base { padding: clamp(3.5rem, 7vh, 5.5rem) 0; background: var(--white); }
.section-head { max-width: 42rem; margin-bottom: 2.5rem; }
.section-head h2 { margin-bottom: 0.8rem; }
.section-head p { font-size: 1.05rem; margin: 0; color: var(--gray); }

/* Eyebrow (petit label coloré) */
.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-free);
  font-weight: 600;
  margin-bottom: 1rem;
  display: inline-block;
}

/* Boutons additionnels */
.btn-ghost {
  background: transparent; color: var(--fg, var(--navy)); border: 1px solid var(--gray-light);
}
.btn-ghost:hover { border-color: var(--navy); background: var(--offwhite); }
.btn-ghost-light {
  background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.3);
}
.btn-ghost-light:hover { border-color: var(--white); background: rgba(255,255,255,.08); color: var(--white); }
/* Le hero d'accueil est sur fond clair : la variante « light » y était blanc sur blanc. */
.hero-v2 .btn-ghost-light { color: var(--navy); border-color: rgba(26,31,43,.25); }
.hero-v2 .btn-ghost-light:hover { color: var(--navy); border-color: var(--navy); background: rgba(26,31,43,.05); }
.btn-dark { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-dark:hover { background: var(--dark); border-color: var(--dark); color: var(--white); transform: translateY(-1px); }

/* ─── HERO v2 ────────────────────────────────────────────── */
.hero-v2 { padding: clamp(4rem, 9vh, 7rem) 0 clamp(3rem, 7vh, 5rem); position: relative; overflow: hidden; min-height: auto; background: var(--white); }
.hero-v2 .hero-bg { background: radial-gradient(ellipse 60% 80% at 85% 50%, var(--green-free-light) 0%, transparent 70%); opacity: 0.6; }
.hero-v2 .hero-accent-left { display: none; }
.hero-grid-v2 { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 900px) { .hero-grid-v2 { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.hero-v2 .hero-title { color: var(--navy); margin-bottom: 1.5rem; }
.hero-v2 .hero-title em { font-style: italic; font-weight: 400; color: var(--green-free); }
.hero-v2 .hero-sub { font-size: clamp(1rem, 1vw + 0.7rem, 1.1rem); color: var(--gray); margin-top: 1.5rem; max-width: 52ch; margin-bottom: 0; }
.hero-v2 .hero-ctas { margin-top: 2rem; margin-bottom: 0; }

/* Kicker (badge timing) */
.kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .82rem; font-weight: 500; color: var(--gold);
  background: var(--gold-light); padding: .4rem .9rem; border-radius: 999px;
  margin-bottom: 1.5rem;
}
.kicker .dot { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }

/* Hero stats v2 */
.hero-stats-v2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; }
.stat-v2 { padding: 1.1rem 0.9rem 1rem; border-top: 1px solid var(--gray-light); }
.stat-v2 .stat-num {
  font-family: 'Fraunces', serif; font-size: 2rem; font-weight: 600; font-style: italic;
  color: var(--navy); line-height: 1;
}
.stat-v2 .stat-lbl { font-size: .8rem; color: var(--gray); margin-top: .4rem; letter-spacing: .02em; }

/* Hero card droite (4 étapes) */
.hero-card {
  background: var(--white); border: 1px solid var(--gray-light); border-radius: var(--radius-lg);
  padding: 1.75rem; box-shadow: var(--shadow);
}
.hero-card h3 { margin-bottom: .3rem; font-size: 1.1rem; }
.hero-card-sub { margin: 0.2rem 0 0.9rem; font-size: .9rem; color: var(--gray); }
.step-row { display: flex; gap: .9rem; padding: .9rem 0; border-bottom: 1px solid var(--gray-light); }
.step-row:last-child { border-bottom: 0; padding-bottom: 0; }
.step-num-v2 {
  width: 28px; height: 28px; flex: none; border-radius: 50%;
  background: var(--green-free-light); color: var(--green);
  display: grid; place-items: center; font-weight: 600; font-size: .85rem;
  font-family: 'Fraunces', serif; font-style: italic;
}
.step-body-v2 { font-size: .93rem; }
.step-body-v2 strong { display: block; color: var(--navy); font-weight: 600; margin-bottom: .15rem; font-family: 'Inter', sans-serif; }
.step-body-v2 span { color: var(--gray); }

/* ─── BAND TIMING (ambre pastel) ─────────────────────────── */
.band-timing { background: linear-gradient(180deg, var(--gold-light), var(--white)); padding: clamp(3.5rem, 7vh, 5.5rem) 0; }
.band-timing-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 820px) { .band-timing-grid { grid-template-columns: 1.3fr 1fr; gap: 3rem; } }
.timing-big {
  font-family: 'Fraunces', serif; font-style: italic; font-weight: 600;
  font-size: clamp(2.6rem, 6vw, 4.2rem); line-height: 0.95; color: var(--gold);
}
.timing-body { margin-top: 1rem; font-size: 1.05rem; color: var(--navy); max-width: 40ch; }

/* ─── 3 PATHS ────────────────────────────────────────────── */
.paths-grid { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
@media (min-width: 820px) { .paths-grid { grid-template-columns: repeat(3, 1fr); } }
.path-card {
  background: var(--white); border: 1px solid var(--gray-light); border-radius: var(--radius-lg);
  padding: 1.6rem; display: flex; flex-direction: column; gap: .8rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.path-card:hover { border-color: var(--green-free); transform: translateY(-2px); }
.path-tag { font-family: 'Fraunces', serif; font-style: italic; font-size: .95rem; color: var(--green-free); font-weight: 600; }
.path-card h3 { font-size: 1.3rem; color: var(--navy); }
.path-size { font-size: .82rem; color: var(--gray); margin-top: -0.3rem; }
.path-card p { margin: .4rem 0 1rem; font-size: .95rem; color: var(--gray); }
.path-link { color: var(--green); font-weight: 600; font-size: .9rem; margin-top: auto; }
.path-link:hover { text-decoration: underline; }

/* ─── 3 PILLARS ──────────────────────────────────────────── */
.pillars-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .pillars-grid { grid-template-columns: repeat(3, 1fr); } }
.pillar { padding: 1.5rem; border: 1px solid var(--gray-light); border-radius: var(--radius); background: var(--white); }
.pillar-icon {
  width: 42px; height: 42px; border-radius: 10px; background: var(--green-free-light); color: var(--green);
  display: grid; place-items: center; margin-bottom: 1rem;
  font-family: 'Fraunces', serif; font-style: italic; font-weight: 600; font-size: 1.3rem;
}
.pillar h3 { font-size: 1.1rem; margin-bottom: .4rem; color: var(--navy); }
.pillar p { font-size: .93rem; margin: 0; color: var(--gray); }

/* ─── BAND NORMS (fond anthracite) ───────────────────────── */
.band-norms { background: var(--dark); color: var(--white); padding: clamp(3.5rem, 7vh, 5.5rem) 0; }
.band-norms .section-head h2 { color: var(--white); }
.band-norms .section-head p { color: rgba(255,255,255,.65); }
.band-norms .eyebrow { color: var(--gold); }
.norms-grid-v2 { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .norms-grid-v2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .norms-grid-v2 { grid-template-columns: repeat(3, 1fr); } }
.norms-col {
  padding: 1.3rem; border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius); background: rgba(255,255,255,.025);
}
.norms-col h3 { color: var(--white); font-size: 1rem; margin-bottom: .9rem; }
.chip-set { display: flex; flex-wrap: wrap; gap: .35rem; }
.chip {
  font-size: .78rem; padding: .25rem .65rem; border-radius: 999px;
  background: rgba(31, 174, 130, 0.12); border: 1px solid rgba(31, 174, 130, 0.25);
  color: #8DD8BE; font-weight: 500; font-family: 'Inter', sans-serif;
}
.chip.warm { background: rgba(217, 119, 6, 0.12); border-color: rgba(217, 119, 6, 0.3); color: #F4B870; }

/* ─── SECTEURS (4 cards) ──────────────────────────────────── */
.sectors-grid { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .sectors-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .sectors-grid { grid-template-columns: repeat(4, 1fr); } }
.sector-card {
  padding: 1.5rem; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--gray-light);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: .6rem; min-height: 220px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.sector-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--green-free); }
.sector-card.edu::before { background: var(--gold); }
.sector-card:hover { border-color: var(--green-free); transform: translateY(-2px); }
.sector-card h3 { font-size: 1.1rem; margin-top: .4rem; color: var(--navy); }
.sector-short { font-size: 0.92rem; color: var(--gray); margin: 0; }
.sector-refs { font-size: .8rem; color: var(--gray); margin-top: auto; }
.sector-icon { font-family: 'Fraunces', serif; font-style: italic; font-size: 1.6rem; color: var(--green-free); font-weight: 600; }
.sector-card.edu .sector-icon { color: var(--gold); }
.sector-link { color: var(--green); font-weight: 600; font-size: 0.88rem; }
.sector-link:hover { text-decoration: underline; }

/* ─── BAND RSE (transverse, émeraude pastel) ──────────────── */
.band-rse {
  background: linear-gradient(135deg, var(--green-free-light), var(--white));
  border-radius: var(--radius-lg); padding: 2.5rem; margin-top: 2.5rem;
  display: grid; gap: 1.5rem; align-items: center;
}
@media (min-width: 820px) { .band-rse { grid-template-columns: 1.5fr 1fr; padding: 3rem; } }
.band-rse-title { font-size: clamp(1.4rem, 2vw + 0.5rem, 2rem); color: var(--navy); }
.band-rse p { color: var(--dark); }
.band-rse .chip { background: var(--white); border-color: var(--green-free); color: var(--green); }
.rse-duration { font-family: 'Fraunces', serif; font-style: italic; font-size: 3.2rem; font-weight: 600; color: var(--green); line-height: 1; }
.rse-duration-lbl { color: var(--gray); margin-top: .3rem; font-size: .9rem; }

/* ─── METHOD (référent interne) ────────────────────────────── */
.method-band { background: var(--offwhite); }
.method-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 820px) { .method-grid { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }
.method-visual {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--green-free-light), var(--gold-light));
  border-radius: var(--radius-lg); display: grid; place-items: center; overflow: hidden;
}
.method-visual svg { width: 85%; height: 85%; }

/* ─── PRICING (3 cards + 1 feature) ───────────────────────── */
.pricing-grid { display: grid; gap: 1.2rem; grid-template-columns: 1fr; margin-top: 1rem; }
@media (min-width: 820px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }
.price-card {
  padding: 1.75rem 1.5rem; border: 1px solid var(--gray-light); border-radius: var(--radius-lg);
  background: var(--white); display: flex; flex-direction: column; gap: .5rem;
}
.price-card.feature {
  border-color: var(--green-free);
  box-shadow: 0 10px 40px -10px rgba(15, 122, 91, 0.25);
  position: relative;
}
.price-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--green-free); color: var(--white);
  font-size: .75rem; letter-spacing: .06em; text-transform: uppercase;
  padding: .3rem .9rem; border-radius: 999px; font-weight: 600; white-space: nowrap;
}
.price-name { font-family: 'Fraunces', serif; font-size: 1.3rem; font-weight: 600; color: var(--navy); }
.price-value {
  font-family: 'Fraunces', serif; font-size: 2.6rem; font-weight: 600; font-style: italic;
  color: var(--green); line-height: 1; margin-top: .3rem;
}
.price-value small { font-size: .5em; font-style: normal; font-weight: 500; color: var(--gray); margin-left: .3rem; }
.price-sub { margin: .4rem 0 0; color: var(--gray); font-size: .9rem; }
.price-card ul {
  list-style: none; padding: 0; margin: 1.2rem 0; display: flex; flex-direction: column;
  gap: .6rem; font-size: .93rem; color: var(--gray);
}
.price-card ul li { padding-left: 1.4rem; position: relative; }
.price-card ul li::before {
  content: ""; position: absolute; left: 0; top: 0.5em; width: 10px; height: 6px;
  border-left: 2px solid var(--green-free); border-bottom: 2px solid var(--green-free);
  transform: rotate(-45deg);
}
.price-card .btn { margin-top: auto; width: 100%; justify-content: center; }
.price-foot {
  margin-top: 1.5rem; padding: 1rem 1.3rem; border-top: 1px dashed var(--gray-light);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-size: .9rem; color: var(--gray); flex-wrap: wrap;
}
.price-foot strong { color: var(--navy); font-weight: 600; }

/* ─── ÉTANCHÉITÉ (bande sombre) ───────────────────────────── */
.band-etancheite { background: var(--dark); color: var(--white); padding: clamp(3.5rem, 7vh, 5.5rem) 0; }
.band-etancheite .section-head h2 { color: var(--white); }
.band-etancheite .section-head p { color: rgba(255,255,255,.7); }
.band-etancheite .eyebrow { color: var(--gold); }
.cert-list-label {
  font-size: 1rem; color: var(--white); margin-bottom: .6rem;
  font-family: 'Inter', sans-serif; text-transform: uppercase; letter-spacing: .08em; font-weight: 600;
}
.cert-list {
  display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  margin-top: 1.5rem; list-style: none; padding: 0;
}
.cert-list li {
  padding: .7rem .8rem; border: 1px solid rgba(255,255,255,.1); border-radius: 8px;
  text-align: center; font-size: .82rem; color: var(--white); font-weight: 500;
  background: rgba(255,255,255,.02);
}
.cert-exclusions {
  margin-top: 2rem; padding: 1.2rem 1.4rem; border-left: 3px solid var(--gold);
  background: rgba(217, 119, 6, 0.06); border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .93rem; color: rgba(255,255,255,.85);
}
.cert-exclusions strong { color: var(--gold); font-weight: 600; }

/* ─── FINAL CTA ───────────────────────────────────────────── */
.final-cta { padding: 4.5rem 0; background: var(--white); text-align: center; }
.final-cta h2 { font-size: clamp(1.8rem, 3vw + 0.5rem, 2.8rem); margin-bottom: 1rem; }
.final-cta h2 em { color: var(--green-free); font-style: italic; font-weight: 400; }
.final-sub { max-width: 48ch; margin: 0 auto; font-size: 1.05rem; color: var(--gray); }
.final-actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 1.5rem; }

/* ─── PAGE DIAG — layout 2 colonnes ──────────────────────── */
.diag-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: start; }
@media (min-width: 900px) { .diag-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.benefit-row { display: flex; gap: 1rem; margin-bottom: 1.25rem; align-items: flex-start; }
.benefit-num {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--green-free); color: var(--white);
  display: grid; place-items: center; font-weight: 600; flex-shrink: 0;
  font-family: 'Fraunces', serif; font-size: 0.95rem;
}
.benefit-title { font-weight: 600; color: var(--navy); font-size: .95rem; margin-bottom: .2rem; font-family: 'Inter', sans-serif; }
.benefit-body { font-size: .87rem; color: var(--gray); }
.diag-highlight {
  background: var(--navy); border-radius: var(--radius-lg); padding: 1.5rem; margin-top: 2rem; color: var(--white);
}
.diag-highlight p { color: rgba(255,255,255,.75); font-size: .88rem; margin: .25rem 0 0; }
.diag-highlight-num { font-family: 'Fraunces', serif; font-size: 2rem; font-weight: 700; color: var(--gold); font-style: italic; line-height: 1; }

/* ─── PAGE OFFRES — turnkey + missions ───────────────────── */
.turnkey-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg); padding: 2.5rem; max-width: 820px; margin: 0 auto;
}
.turnkey-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 1.5rem; margin-bottom: 2rem;
}
.turnkey-head h3 { color: var(--white); font-size: 1.4rem; margin-bottom: .5rem; }
.turnkey-head p { color: rgba(255,255,255,.65); margin: 0; }
.turnkey-price { text-align: right; }
.turnkey-amount { font-family: 'Fraunces', serif; font-size: 1.8rem; font-weight: 600; color: var(--gold); font-style: italic; }
.turnkey-unit { font-size: .85rem; color: rgba(255,255,255,.55); margin-top: .2rem; }
.turnkey-phases { display: grid; grid-template-columns: 1fr; gap: .8rem; margin-bottom: 2rem; }
@media (min-width: 720px) { .turnkey-phases { grid-template-columns: 1fr 1fr; } }
.phase-row { display: flex; gap: .75rem; align-items: center; color: rgba(255,255,255,.85); font-size: .9rem; }
.phase-num {
  width: 24px; height: 24px; border-radius: 50%; background: var(--gold); color: var(--white);
  font-size: .75rem; font-weight: 600; display: grid; place-items: center; flex-shrink: 0;
  font-family: 'Fraunces', serif; font-style: italic;
}
.turnkey-note {
  background: rgba(217, 119, 6, 0.15); border: 1px solid rgba(217, 119, 6, 0.3);
  border-radius: var(--radius); padding: 1rem; margin-bottom: 1.5rem;
  color: var(--gold-light); font-size: .88rem;
}
.turnkey-note strong { color: var(--gold-bright); }
.missions-grid-v2 { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .missions-grid-v2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .missions-grid-v2 { grid-template-columns: repeat(3, 1fr); } }
.mission-card-v2 {
  padding: 1.5rem; border: 1px solid var(--gray-light); border-radius: var(--radius-lg);
  background: var(--white); display: flex; flex-direction: column; gap: 0.5rem;
}
.mission-card-v2 h3 { font-size: 1.05rem; color: var(--navy); }
.mission-card-v2 p { font-size: .9rem; color: var(--gray); margin: 0; }
.mission-price { font-family: 'Fraunces', serif; font-style: italic; color: var(--green); font-weight: 600; margin-top: auto; padding-top: .5rem; border-top: 1px dashed var(--gray-light); font-size: .95rem; }

/* ─── PAGE MÉTHODE — étapes détaillées ───────────────────── */
.steps-detailed { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
.step-detailed {
  display: flex; gap: 1.5rem; padding: 1.5rem; border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg); background: var(--white); align-items: flex-start;
}
.step-detailed-num {
  width: 48px; height: 48px; border-radius: 50%; background: var(--green-free); color: var(--white);
  display: grid; place-items: center; flex-shrink: 0;
  font-family: 'Fraunces', serif; font-style: italic; font-size: 1.3rem; font-weight: 600;
}
.step-detailed h3 { font-size: 1.15rem; margin-bottom: .4rem; color: var(--navy); }
.step-detailed p { font-size: .95rem; color: var(--gray); margin: 0; }

/* ─── Liste simple (bullets vertes) ──────────────────────── */
.simple-list { list-style: none; padding: 0; margin: 1rem 0; }
.simple-list li {
  padding: .5rem 0 .5rem 1.6rem; position: relative;
  color: var(--gray); border-bottom: 1px solid var(--gray-light); font-size: .95rem;
}
.simple-list li::before {
  content: ""; position: absolute; left: 0; top: 0.9em; width: 10px; height: 6px;
  border-left: 2px solid var(--green-free); border-bottom: 2px solid var(--green-free);
  transform: rotate(-45deg);
}
.simple-list li:last-child { border-bottom: 0; }

/* ─── Experts points (grille 4) ───────────────────────────── */
.experts-points { display: grid; gap: 1.2rem; grid-template-columns: 1fr; margin-top: 1rem; }
@media (min-width: 720px) { .experts-points { grid-template-columns: repeat(2, 1fr); } }
.experts-point {
  padding: 1.5rem; border-left: 3px solid var(--green-free); background: var(--white);
}
.experts-point h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: .4rem; }
.experts-point p { font-size: .9rem; color: var(--gray); margin: 0; }

/* ─── Page Référentiels — ref-card ───────────────────────── */
.ref-card {
  background: var(--white); border: 1px solid var(--gray-light); border-radius: var(--radius-lg);
  padding: 2rem; margin-top: 1.5rem;
}
.ref-card-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 1.5rem; margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-light); padding-bottom: 1.5rem;
}
.ref-card-head h3 { color: var(--navy); font-size: 1.3rem; margin-bottom: .4rem; }
.ref-card-head p { color: var(--gray); font-size: .95rem; margin: 0; }
.ref-card-pill {
  background: var(--gold-light); color: var(--gold); padding: .8rem 1.2rem;
  border-radius: var(--radius); font-size: .85rem; text-align: center;
  font-family: 'Fraunces', serif; font-style: italic; font-weight: 600; flex-shrink: 0;
}
.ref-dl { display: grid; gap: 1rem; margin: 0; }
.ref-dl dt { font-weight: 600; color: var(--navy); font-size: .95rem; font-family: 'Inter', sans-serif; }
.ref-dl dd { margin: 0 0 1rem; color: var(--gray); font-size: .92rem; line-height: 1.6; }

/* ─── Page Mentions — legal-block ────────────────────────── */
.legal-block { max-width: 760px; }
.legal-block h3 { font-size: 1.15rem; color: var(--navy); margin: 1.5rem 0 .6rem; }
.legal-block p { color: var(--gray); font-size: .95rem; line-height: 1.7; }
.legal-block ul.simple-list li { font-size: .95rem; }

/* ─── Page Secteur — blocs spécifiques ───────────────────── */
.sector-refs-box {
  background: var(--offwhite); border-left: 3px solid var(--green-free);
  padding: 1rem 1.2rem; border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .92rem; color: var(--gray); margin-top: 1.5rem;
}
.sector-refs-box strong { color: var(--navy); font-weight: 600; }
.sector-pain { max-width: 820px; font-size: 1.05rem; line-height: 1.7; color: var(--dark); }
.use-case-card {
  max-width: 820px; margin: 0 auto; padding: 1.8rem; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg);
  color: rgba(255,255,255,.9); line-height: 1.7;
}
.sector-missions { max-width: 760px; }
.use-case-card p { color: rgba(255,255,255,.9); }
.section-head .sector-promise { font-size: 1.15rem; line-height: 1.7; color: var(--dark); max-width: 760px; margin-top: .8rem; }

/* ─── Contenu éditorial des pages simples (page.php, 404.php) ── */
.page-content { max-width: 760px; }
.page-content h2 { font-size: 1.5rem; margin: 2rem 0 .8rem; }
.page-content h3 { font-size: 1.15rem; margin: 1.5rem 0 .6rem; }
.page-content p { font-size: 1rem; line-height: 1.75; }
.page-content ul, .page-content ol { list-style: disc; padding-left: 1.4rem; margin: 0 0 1.2rem; }
.page-content ol { list-style: decimal; }
.page-content li { color: var(--gray); margin-bottom: .45rem; line-height: 1.6; }
.page-content a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
.page-content a:hover { color: var(--green-free); }
.page-content strong { color: var(--navy); }

/* ─── DIAGNOSTIC EN LIGNE (page-diagnostic.php + js/diagnostic.js) ── */
.diag-app {
  max-width: 780px; margin: 0 auto; background: var(--white);
  border: 1px solid var(--gray-light); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow);
}
.diag-app [hidden] { display: none !important; }
.diag-progress { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.8rem; }
.diag-progress-track { flex: 1; height: 6px; background: var(--gray-light); border-radius: 999px; overflow: hidden; }
.diag-progress-fill { display: block; height: 100%; width: 0; background: var(--green-free); transition: width .3s ease; }
.diag-progress-label { font-size: .82rem; color: var(--gray); white-space: nowrap; font-variant-numeric: tabular-nums; }

.diag-intro h2, .diag-screen h2, .diag-result h2, .diag-lead h2 { margin-bottom: .8rem; }
.diag-intro p { font-size: 1.05rem; }
.diag-intro-list { margin: 1rem 0 1.8rem; display: flex; flex-direction: column; gap: .5rem; }
.diag-intro-list li { padding-left: 1.4rem; position: relative; color: var(--gray); }
.diag-intro-list li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 6px;
  border-left: 2px solid var(--green-free); border-bottom: 2px solid var(--green-free); transform: rotate(-45deg);
}

.diag-question { font-size: clamp(1.3rem, 2vw + .6rem, 1.7rem); }
.diag-hint { font-size: .95rem; margin-bottom: 1.4rem; }
.diag-options { display: flex; flex-direction: column; gap: .7rem; margin: 1.4rem 0; }
.diag-option {
  text-align: left; font: inherit; font-size: 1rem; color: var(--navy); cursor: pointer;
  background: var(--white); border: 1.5px solid var(--gray-light); border-radius: var(--radius);
  padding: 1rem 1.2rem; transition: border-color var(--transition), background var(--transition);
}
.diag-option:hover { border-color: var(--green-free); }
.diag-option[aria-pressed="true"] { border-color: var(--green-free); background: var(--green-free-light); font-weight: 600; }
.diag-option:focus-visible, .diag-scale-btn:focus-visible { outline: 2px solid var(--green-free); outline-offset: 2px; }

.diag-likert { border: 0; margin: 0 0 1.6rem; padding: 0 0 1.4rem; border-bottom: 1px solid var(--gray-light); min-width: 0; }
.diag-likert legend { font-weight: 600; color: var(--navy); margin-bottom: .8rem; font-size: 1rem; line-height: 1.5; }
.diag-scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: .4rem; }
.diag-scale-btn {
  font: inherit; font-size: .82rem; line-height: 1.3; color: var(--gray); cursor: pointer;
  background: var(--white); border: 1.5px solid var(--gray-light); border-radius: 8px; padding: .6rem .3rem;
  transition: border-color var(--transition), background var(--transition);
}
.diag-scale-btn:hover { border-color: var(--green-free); }
.diag-scale-btn[aria-pressed="true"] { border-color: var(--green-free); background: var(--green-free); color: var(--white); font-weight: 600; }

.diag-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; margin-top: 1rem; }
.diag-nav .btn:only-child { margin-left: auto; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.diag-loading { text-align: center; padding: 3rem 0; color: var(--gray); }
.diag-error { text-align: center; padding: 2rem 0; display: flex; flex-direction: column; align-items: center; gap: 1rem; }

.diag-result { display: flex; flex-direction: column; gap: 1.6rem; }
.diag-block { padding-bottom: 1.6rem; border-bottom: 1px solid var(--gray-light); }
.diag-score-head { display: flex; gap: 1.6rem; align-items: center; flex-wrap: wrap; margin: .4rem 0 1.4rem; }
.diag-score-big {
  font-family: 'Fraunces', serif; font-style: italic; font-weight: 600; line-height: 1;
  font-size: clamp(3.2rem, 8vw, 4.4rem); color: var(--green); font-variant-numeric: tabular-nums;
}
.diag-score-big small { font-size: .35em; font-style: normal; color: var(--gray); margin-left: .2rem; }
.diag-score-level { flex: 1; min-width: 220px; }
.diag-score-level h2 { font-size: 1.4rem; margin-bottom: .4rem; }
.diag-score-level p { margin: 0; }
.diag-bars { display: flex; flex-direction: column; gap: .9rem; }
.diag-bar-label { display: flex; justify-content: space-between; gap: 1rem; font-size: .9rem; color: var(--navy); margin-bottom: .3rem; }
.diag-bar-label strong { font-variant-numeric: tabular-nums; }
.diag-bar-track { height: 8px; background: var(--gray-light); border-radius: 999px; overflow: hidden; }
.diag-bar-fill { display: block; height: 100%; background: var(--green-free); border-radius: 999px; }
.diag-gap { padding: 1rem 1.2rem; border-left: 3px solid var(--gold); background: var(--gold-light); border-radius: 0 var(--radius) var(--radius) 0; margin-top: .9rem; }
.diag-gap h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.diag-gap p { margin: 0; color: var(--dark); font-size: .95rem; }
.diag-block-reco h2 { color: var(--green); font-size: 1.5rem; }
.diag-sector-refs { font-size: .92rem; background: var(--offwhite); padding: .7rem 1rem; border-radius: var(--radius); margin: .4rem 0 .6rem; }
.diag-sector-link { color: var(--green); font-weight: 600; font-size: .9rem; text-decoration: underline; }

.diag-lead { background: var(--offwhite); border-radius: var(--radius-lg); padding: clamp(1.2rem, 3vw, 1.8rem); }
.diag-lead .exoqual-form { max-width: none; margin-top: 1.2rem; }
.diag-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.diag-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .88rem; color: var(--gray); margin: .4rem 0 1.2rem; line-height: 1.5; }
.diag-consent input { margin-top: .25rem; flex-shrink: 0; width: 18px; height: 18px; accent-color: var(--green-free); }
.diag-consent a { color: var(--green); text-decoration: underline; }
.diag-form-msg { color: #A32D2D; background: #FCEBEB; padding: .7rem 1rem; border-radius: var(--radius); font-size: .9rem; }
.diag-price { border: 1.5px solid var(--green-free); background: var(--white); }
.diag-price-value {
  font-family: 'Fraunces', serif; font-style: italic; font-weight: 600; color: var(--green);
  font-size: clamp(1.8rem, 4vw, 2.4rem); line-height: 1.1; margin: .4rem 0 1rem; font-variant-numeric: tabular-nums;
}
.diag-price-mention { font-size: .85rem; color: var(--gray); margin: -.4rem 0 1rem; }
.diag-price-note, .diag-price-compare { font-size: .92rem; padding: .7rem 1rem; background: var(--offwhite); border-radius: var(--radius); }
.diag-restart { align-self: center; background: none; border: 0; color: var(--gray); text-decoration: underline; cursor: pointer; font: inherit; font-size: .88rem; }
.diag-alt { text-align: center; margin-top: 1.5rem; font-size: .92rem; }
.diag-alt a { color: var(--green); text-decoration: underline; }
@media (max-width: 560px) {
  .diag-scale { grid-template-columns: 1fr; }
  .diag-scale-btn { text-align: left; padding: .7rem .9rem; }
}

/* ─── PROGRAMME ACCÈS AU MARCHÉ ─────────────────────────────── */
.band-rse.band-access { background: linear-gradient(135deg, var(--gold-light), var(--white)); margin-top: 1.5rem; }
.band-access .chip { background: var(--white); border-color: var(--gold); color: var(--gold); }
.band-access .rse-duration { color: var(--gold); font-size: clamp(2rem, 4vw, 2.8rem); }
.access-principle {
  border-left: 3px solid var(--green-free); background: var(--green-free-light);
  padding: 1.4rem 1.6rem; border-radius: 0 var(--radius) var(--radius) 0; max-width: 820px;
}
.access-principle h3 { font-size: 1.15rem; margin-bottom: .4rem; color: var(--navy); }
.access-principle p { margin: 0; color: var(--dark); }
.access-families { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .access-families { grid-template-columns: repeat(3, 1fr); } }
.access-authority { font-size: .82rem; font-weight: 600; color: var(--gold); line-height: 1.4; }
.access-table-wrap { position: relative; overflow-x: auto; max-width: 100%; min-width: 0; border: 1px solid var(--gray-light); border-radius: var(--radius-lg); background: var(--white); }
.access-table { width: 100%; min-width: 640px; border-collapse: collapse; }
.access-table th, .access-table td { padding: .9rem 1rem; border-bottom: 1px solid var(--gray-light); text-align: left; vertical-align: top; }
.access-table tbody tr:last-child td { border-bottom: 0; }
.access-table th {
  font-family: 'Inter', sans-serif; font-size: .76rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em; color: var(--gray); background: var(--offwhite);
}
.access-table td.yes, .access-table td.no, .access-table th:not(:first-child) { text-align: center; }
.access-table td.yes { color: var(--green-free); font-weight: 700; font-size: 1.05rem; }
.access-table td.no { color: var(--gray-light); }
.access-task { display: block; font-weight: 600; color: var(--navy); font-size: .95rem; }
.access-task-desc { display: block; color: var(--gray); font-size: .86rem; margin-top: .2rem; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ─── IMAGES D'AMBIANCE ───────────────────────────────────── */
.page-hero.has-image {
  background-image: linear-gradient(180deg, rgba(15,20,28,.80) 0%, rgba(15,20,28,.90) 100%), var(--hero-img);
  background-size: cover;
  background-position: center;
  padding: 6.5rem 0 5.5rem;
}
.sector-card .sector-img {
  display: block; width: calc(100% + 3rem); max-width: none; height: 150px;
  margin: -1.5rem -1.5rem .5rem; object-fit: cover;
}

/* Bandeau de page : textes dans la palette (le bleu #85B7EB venait de la v1 freedesk). */
.page-hero p { color: rgba(250,247,242,.82); }

/* ─── LOGO + EN-TÊTE MOBILE ──────────────────────────────── */
.hamburger { background: transparent; border: 0; }
.site-logo-img { display: block; height: 34px; width: auto; }
@media (max-width: 520px) {
  .header-inner { gap: .6rem; padding: .8rem 1rem; }
  .site-logo-img { height: 26px; }
  .lang-switcher { gap: .25rem; }
  .lang-btn { padding: .25rem .45rem; }
  .hamburger { padding: .4rem .2rem; }
}

/* ─── RESPONSIVE v2 ───────────────────────────────────────── */
@media (max-width: 720px) {
  .band-timing-grid, .method-grid, .diag-grid, .hero-grid-v2 { grid-template-columns: 1fr; }
  .hero-stats-v2 { grid-template-columns: repeat(2, 1fr); }
  .band-rse { padding: 1.8rem; }
  .turnkey-card { padding: 1.5rem; }
  .step-detailed { flex-direction: column; gap: 1rem; }
  .final-cta { padding: 3rem 0; }
}

/* ═══ LANGUES ════════════════════════════════════════════════
   Sélecteur FR/EN/ع en liens (une adresse par langue : /, /en/, /ar/). */
a.lang-btn { text-decoration: none; display: inline-block; line-height: 1.2; }

/* Arabe : police dédiée partout (Fraunces/Inter n'ont pas de glyphes arabes),
   pas d'italique ni d'espacement entre lettres (casserait la liaison des lettres). */
html[lang="ar"] body,
html[lang="ar"] body *:not(svg):not(path):not(circle):not(rect) {
  font-family: 'IBM Plex Sans Arabic', 'Inter', 'Segoe UI', Tahoma, sans-serif !important;
  font-style: normal !important;
  letter-spacing: 0 !important;
}
html[lang="ar"] body { line-height: 1.8; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { line-height: 1.45; font-weight: 700; }
html[lang="ar"] .eyebrow, html[lang="ar"] .kicker { text-transform: none; }

/* Droite à gauche : flex et grilles s'inversent seules avec dir="rtl",
   on retourne ici les décalages écrits en dur à gauche. */
[dir="rtl"] .price-card ul li,
[dir="rtl"] .diag-intro-list li { padding-left: 0; padding-right: 1.4rem; }
[dir="rtl"] .simple-list li { padding: .5rem 1.6rem .5rem 0; }
[dir="rtl"] .price-card ul li::before,
[dir="rtl"] .simple-list li::before,
[dir="rtl"] .diag-intro-list li::before { left: auto; right: 0; }
[dir="rtl"] .page-content ul, [dir="rtl"] .page-content ol { padding-left: 0; padding-right: 1.4rem; }

[dir="rtl"] .cert-exclusions,
[dir="rtl"] .experts-point,
[dir="rtl"] .sector-refs-box,
[dir="rtl"] .access-principle,
[dir="rtl"] .diag-gap { border-left: 0; border-right: 3px solid; border-radius: var(--radius) 0 0 var(--radius); }
[dir="rtl"] .cert-exclusions, [dir="rtl"] .diag-gap { border-right-color: var(--gold); }
[dir="rtl"] .experts-point, [dir="rtl"] .sector-refs-box, [dir="rtl"] .access-principle { border-right-color: var(--green-free); }
[dir="rtl"] .experts-point { border-radius: 0; }
[dir="rtl"] .hero-accent-left { left: auto; right: 0; }

[dir="rtl"] .turnkey-price { text-align: left; }
[dir="rtl"] .diag-option,
[dir="rtl"] .diag-scale-btn,
[dir="rtl"] .access-table th:first-child,
[dir="rtl"] .access-table td:first-child { text-align: right; }
[dir="rtl"] .diag-nav .btn:only-child { margin-left: 0; margin-right: auto; }
[dir="rtl"] .price-value small,
[dir="rtl"] .diag-score-big small { margin-left: 0; margin-right: .3rem; }
[dir="rtl"] .diag-hp { left: auto; right: -10000px; }

/* Numéros de téléphone, emails, prix : restent lisibles de gauche à droite dans un texte arabe. */
[dir="rtl"] a[href^="tel:"], [dir="rtl"] a[href^="mailto:"], [dir="rtl"] a[href*="wa.me"] { unicode-bidi: plaintext; }
/* Unité de prix arabe plus longue : sur sa propre ligne sous le montant. */
html[lang="ar"] .price-value small { display: block; margin: .4rem 0 0; font-size: .36em; }
/* Libellés de bouton longs (secteur « Santé / médico-social », arabe) : retour à la ligne plutôt que débordement. */
.btn { max-width: 100%; }
@media (max-width: 520px) { .btn { white-space: normal; text-align: center; } }
