/* =========================================================
   JUALI — Feuille de style principale
   Modifiez librement les variables ci-dessous pour adapter
   les couleurs, les polices et les espacements du site.
   ========================================================= */

:root {
  /* Couleurs */
  --primary: #1852F1;          /* Bleu Juali (couleur principale, charte) */
  --primary-dark: #0D3AD1;
  --primary-light: #3D8BFF;
  --accent: #1FC8E8;           /* Cyan (couleur secondaire) */
  --accent-violet: #7B61FF;

  --navy-900: #070C20;         /* Fond sombre profond */
  --navy-800: #0A1230;
  --navy-700: #0C1840;
  --navy-600: #13235E;

  --bg: #F4F7FE;               /* Fond clair général (charte) */
  --surface: #ffffff;          /* Cartes / surfaces */
  --surface-alt: #F8FAFF;

  --text: #0B1020;             /* Texte principal */
  --text-muted: #5A6479;       /* Texte secondaire */
  --text-light: #AEBBD9;       /* Texte sur fond sombre */

  --border: #EAEEF6;
  --border-strong: #C9D6F5;

  /* Typographie */
  --font-display: 'Fredoka', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;

  /* Rayons & ombres */
  --radius: 18px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(11, 16, 32, 0.04);
  --shadow-md: 0 10px 30px rgba(11, 16, 32, 0.08);
  --shadow-lg: 0 22px 44px rgba(11, 16, 32, 0.10);
  --shadow-primary: 0 12px 28px rgba(24, 82, 241, 0.32);

  /* Dégradés */
  --grad-primary: linear-gradient(135deg, var(--primary), var(--accent));
  --grad-blue: linear-gradient(135deg, #1852F1, var(--primary-light));
  --grad-dark: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-700) 55%, #0A1E5C 100%);

  --container: 1200px;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--primary); color: #fff; }

h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.02em; margin: 0; }

/* ---------- Utilitaires ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--tight { padding: clamp(48px, 7vw, 80px) 0; }
.text-center { text-align: center; }
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--primary); margin-bottom: 14px;
}
.eyebrow--light { color: var(--primary-light); }
.section-title {
  font-weight: 800; font-size: clamp(28px, 4.4vw, 46px);
  line-height: 1.08; color: var(--text);
}
.lead {
  font-size: clamp(16px, 2vw, 19px); line-height: 1.6;
  color: var(--text-muted); max-width: 60ch;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-block; cursor: pointer; border: none;
  font-family: var(--font-body); font-weight: 700; font-size: 16px;
  padding: 15px 28px; border-radius: 14px;
  transition: transform .2s, box-shadow .2s; text-align: center;
}
.btn:hover { transform: translateY(-3px); }
.btn--primary { color: #fff; background: var(--grad-primary); box-shadow: var(--shadow-primary); }
.btn--light { color: var(--text); background: #fff; box-shadow: 0 14px 34px rgba(0,0,0,0.18); }
.btn--ghost { color: var(--primary); background: rgba(36,86,230,0.07); }
.btn--block { display: block; width: 100%; }

/* ---------- Header / Navigation ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: linear-gradient(180deg, rgba(244,247,254,0.9), rgba(244,247,254,0.72));
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: inset 0 -1px 0 var(--border);
  transition: box-shadow .3s;
}
.header.is-scrolled { box-shadow: 0 10px 30px rgba(11,16,32,0.08); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 24px; max-width: var(--container); margin: 0 auto; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 28px; max-width: var(--container); margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand__logo {
  width: 36px; height: 36px; border-radius: 11px; background: var(--grad-blue);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 20px;
  box-shadow: 0 6px 16px rgba(36,86,230,0.35);
}
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 21px; color: var(--text); }

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__link {
  font-size: 15px; font-weight: 600; color: #44506B;
  padding: 8px 13px; border-radius: 10px; white-space: nowrap;
  transition: color .2s, background .2s;
}
.nav__links { display: flex; align-items: center; gap: 10px; }
.nav__link {
  font-size: 15px; font-weight: 600; color: var(--navy-600);
  padding: 8px 13px; border-radius: 10px; white-space: nowrap;
  transition: color .18s, background .18s, transform .12s;
}
.nav__link:hover { background: rgba(24,82,241,0.07); color: var(--primary); transform: translateY(-2px); }
.nav__link.is-active { color: var(--primary); font-weight: 700; }
.nav__cta { margin-left: 6px; }

.nav__toggle {
  display: none; cursor: pointer; width: 42px; height: 42px;
  border-radius: 11px; border: 1px solid var(--border); background: #fff;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
  .nav__toggle {
    display: none; cursor: pointer; width: 44px; height: 44px;
    border-radius: 12px; border: 1px solid var(--border); background: #fff;
    flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  }
.btn--primary { color: #fff; background: var(--grad-primary); box-shadow: var(--shadow-primary); padding: 14px 22px; border-radius: 12px; }
.nav__toggle span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; }

.nav__mobile { display: none; padding: 8px 16px 18px; border-top: 1px solid var(--border); }
.nav__mobile.is-open { display: flex; flex-direction: column; gap: 4px; }
.nav__mobile .nav__link { font-size: 16px; padding: 12px 14px; }
.nav__mobile .btn { margin-top: 6px; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--grad-dark); color: #fff; overflow: hidden; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.hero__orb {
  position: absolute; border-radius: 50%; filter: blur(20px); pointer-events: none;
}
.hero__orb--1 { top: -120px; right: -80px; width: 420px; height: 420px;
  background: radial-gradient(circle at 40% 40%, rgba(31,200,232,.33), transparent 70%);
  animation: floaty 9s ease-in-out infinite; }
.hero__orb--2 { bottom: -160px; left: -100px; width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(36,86,230,.45), transparent 70%); }
.hero__inner { position: relative; text-align: center; padding: clamp(80px,12vw,150px) 24px clamp(72px,9vw,120px); max-width: var(--container); margin: 0 auto; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px;
  border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  font-size: 13px; font-weight: 600; color: #CFE0FF; margin-bottom: 26px;
}
.hero__badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.hero__title { font-weight: 800; font-size: clamp(34px,6vw,68px); line-height: 1.04; letter-spacing: -0.03em; max-width: 14ch; margin: 0 auto; }
.gradient-text { background: linear-gradient(100deg,#5B9BFF,#1FC8E8 60%,#9C8BFF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__subtitle { margin: 24px auto 0; max-width: 62ch; font-size: clamp(16px,2vw,20px); color: var(--text-light); }
.hero__actions { margin-top: 36px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Statistiques */
.stats { margin-top: 64px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 18px; max-width: 760px; margin-left: auto; margin-right: auto; }
.stat { padding: 22px; border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.stat__num { font-family: var(--font-display); font-weight: 800; font-size: 40px;
  background: linear-gradient(135deg,#5B9BFF,#1FC8E8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { margin-top: 4px; font-size: 14px; color: #9FB0D4; font-weight: 500; }

/* ---------- Bandeau de page (pages intérieures) ---------- */
.page-hero { background: linear-gradient(160deg, var(--navy-900), var(--navy-700)); color: #fff; padding: clamp(70px,10vw,120px) 24px; text-align: center; }
.page-hero h1 { font-weight: 800; font-size: clamp(32px,5.5vw,58px); line-height: 1.06; letter-spacing: -0.03em; text-wrap: balance; }
.page-hero .lead { margin: 22px auto 0; color: var(--text-light); }

/* ---------- Grilles & cartes ---------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s; }
.card--hover:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
.card__icon { width: 50px; height: 50px; border-radius: 14px; background: var(--grad-primary); box-shadow: 0 8px 18px rgba(36,86,230,.28); margin-bottom: 20px; }

/* Font Awesome inside card icons */
.card__icon i { color: #fff; font-size: 22px; display: inline-block; line-height: 50px; text-align: center; width: 100%; }

/* Global Font Awesome tinting (use context-specific overrides when needed) */
.fa, .fas, .far, .fab, .fa-solid { color: var(--primary); }

/* Focus outlines for accessibility */
.nav__link:focus, .btn:focus, .field input:focus, .field textarea:focus, .legal-tab:focus { outline: 3px solid rgba(24,82,241,0.12); outline-offset: 3px; }

/* Small-screen tweaks */
@media (max-width:600px){
  .brand__name{font-size:18px}
  .footer__logo{width:72px;height:72px}
  /* 2 colonnes harmonieuses au lieu d'une seule colonne empilée */
  .footer__top{grid-template-columns:1fr 1fr;gap:22px 18px;padding-bottom:28px}
  .footer__about{max-width:none}
  .footer__col h4{margin-bottom:12px;font-size:13px}
  .footer__col li{margin-bottom:9px}
  .footer__col a,.footer__col span{font-size:14px}
}
@media (max-width:360px){
  .footer__top{grid-template-columns:1fr}
}

/* Icons inside value__mark */
.value__mark { width: 34px; height: 34px; border-radius: 10px; background: var(--grad-primary); margin-bottom: 16px; box-shadow: 0 6px 14px rgba(36,86,230,.25); }
.value__mark i { color: #fff; font-size: 16px; display: inline-block; line-height: 34px; width: 100%; text-align: center; }
.card__title { font-family: var(--font-display); font-weight: 700; font-size: 20px; margin-bottom: 8px; }
.card__text { font-size: 15px; color: var(--text-muted); }

/* Cartes produits / projets */
.product { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s; }
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
.product__media { height: 150px; background: linear-gradient(135deg,#EAF1FF,#F4F0FF); display: flex; align-items: center; justify-content: center; font-size: 52px; border-bottom: 1px solid #EEF2FB; position: relative; }
.product__media--hatch { background: repeating-linear-gradient(135deg,#EDF2FF,#EDF2FF 11px,#F5F8FF 11px,#F5F8FF 22px); height: 170px; }

/* Font Awesome icons in product media */
.product__media i { font-size: 64px; color: var(--navy-600); display: inline-block; line-height: 1; }
.product__body { padding: 26px; }
.product__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.product__name { font-family: var(--font-display); font-weight: 700; font-size: 21px; }
.tag { font-size: 12px; font-weight: 700; color: var(--primary); background: rgba(36,86,230,.08); padding: 5px 11px; border-radius: 999px; white-space: nowrap; }
.tag--cat { display: inline-block; margin-bottom: 8px; letter-spacing: .04em; text-transform: uppercase; }
.badge-status { position: absolute; top: 14px; right: 14px; font-size: 12px; font-weight: 700; color: #0B7A53; background: #E3F7EE; border: 1px solid #BCEBD6; padding: 5px 11px; border-radius: 999px; }
.media-label { position: absolute; top: 14px; left: 14px; font-family: var(--font-display); font-size: 11px; letter-spacing: .04em; color: #8FA0C8; font-weight: 600; }
.tech-pills { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 18px; margin-top: 18px; border-top: 1px solid #EEF2FB; }
.tech-pill { font-size: 12px; font-weight: 600; color: #3A4358; background: #F2F5FC; padding: 5px 11px; border-radius: 8px; }

/* Bloc présentation */
.statement { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px,3.6vw,38px); line-height: 1.3; text-wrap: balance; }
.statement span { color: var(--primary); }

/* En-tête de section avec lien */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 46px; }
.link-arrow { font-weight: 700; color: var(--primary); font-size: 15px; }

/* ---------- Services (liste) ---------- */
.service { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(26px,4vw,40px); box-shadow: var(--shadow-sm); transition: border-color .25s, box-shadow .25s; }
.service:hover { border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.service__row { display: flex; align-items: flex-start; gap: 20px; flex-wrap: wrap; }
.service__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(34px,5vw,52px); line-height: 1; background: var(--grad-primary); -webkit-background-clip: text; background-clip: text; color: transparent; min-width: 60px; }
.service__body { flex: 1; min-width: 240px; }
.service__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(20px,2.6vw,26px); margin-bottom: 10px; }
.service__text { font-size: 16px; color: var(--text-muted); margin: 0 0 18px; max-width: 70ch; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip { font-size: 13px; font-weight: 600; color: var(--primary); background: rgba(36,86,230,.07); border: 1px solid rgba(36,86,230,.14); padding: 6px 13px; border-radius: 999px; }

/* ---------- Technologies ---------- */
.tech-group { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.tech-group__title { min-width: 200px; font-family: var(--font-display); font-weight: 700; font-size: clamp(20px,2.6vw,26px); }
.tech-group__items { flex: 1; display: flex; flex-wrap: wrap; gap: 12px; }
.tech-item { font-size: 15px; font-weight: 600; color: var(--navy-600); background: #F2F5FC; border: 1px solid #E4EAF6; padding: 11px 20px; border-radius: 13px; transition: transform .2s, border-color .2s; }
.tech-item:hover { transform: translateY(-3px); border-color: var(--primary); }

/* ---------- Équipe ---------- */
.member { text-align: center; }
.member__avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--grad-primary); margin: 0 auto 18px; box-shadow: 0 10px 22px rgba(36,86,230,.3); }

/* ---------- Valeurs ---------- */
.value__mark { width: 34px; height: 34px; border-radius: 10px; background: var(--grad-primary); margin-bottom: 16px; box-shadow: 0 6px 14px rgba(36,86,230,.25); }

/* ---------- Blog ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 44px; }
.filter { font-size: 14px; font-weight: 600; color: #3A4358; background: #fff; border: 1px solid #E4EAF6; padding: 9px 18px; border-radius: 999px; cursor: pointer; transition: all .2s; }
.filter:hover, .filter.is-active { border-color: var(--primary); color: var(--primary); }
.post__media { height: 150px; background: repeating-linear-gradient(135deg,#EDF2FF,#EDF2FF 11px,#F5F8FF 11px,#F5F8FF 22px); display: flex; align-items: flex-end; padding: 14px; }
.post__cat { font-size: 11px; font-weight: 700; color: var(--primary); background: #fff; border: 1px solid #DCE6FB; padding: 5px 11px; border-radius: 999px; }
.post__title { font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: 1.3; margin-bottom: 14px; text-wrap: pretty; }
.post__meta { display: flex; gap: 8px; align-items: center; font-size: 13px; color: #8B93A8; }

/* ---------- CTA bandeau ---------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(150deg, var(--navy-800), var(--navy-600)); border-radius: 30px; padding: clamp(44px,7vw,80px) clamp(28px,5vw,72px); text-align: center; color: #fff; }
.cta-band__orb { position: absolute; top: -80px; right: -40px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(31,200,232,.35), transparent 70%); filter: blur(10px); }
.cta-band h2 { position: relative; font-weight: 800; font-size: clamp(26px,4vw,44px); line-height: 1.12; max-width: 20ch; margin: 0 auto; }
.cta-band--bright { background: var(--grad-primary); }
.cta-band--bright .btn--light { color: var(--primary-dark); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px,1fr)); gap: 34px; align-items: start; }
.info-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.info-card__label { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--primary); margin-bottom: 8px; }
.info-card__value { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--text); }
.social-links { display: flex; flex-wrap: wrap; gap: 10px; }
.social-links a { font-size: 14px; font-weight: 600; color: var(--navy-600); background: #F2F5FC; padding: 9px 16px; border-radius: 10px; transition: background .2s, color .2s; }
.social-links a:hover { background: var(--primary); color: #fff; }

.form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(26px,4vw,40px); box-shadow: var(--shadow-md); }
.form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; color: #3A4358; }
.field input, .field textarea {
  border: 1px solid #E2E8F6; border-radius: 12px; padding: 13px 15px;
  font-size: 15px; color: var(--text); background: #FAFBFE; font-family: inherit; outline: none;
  transition: border-color .2s, background .2s;
}
.field input:focus, .field textarea:focus { border-color: var(--primary); background: #fff; }
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: #9AA3BC; }
.form__success { text-align: center; padding: 30px 10px; }
.form__success-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--grad-primary); margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 30px; font-weight: 800; }
.hidden { display: none !important; }

/* ---------- Pages légales ---------- */
.legal-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.legal-tab { cursor: pointer; font-size: 14px; font-weight: 600; color: #3A4358; background: #fff; border: 1px solid #E4EAF6; padding: 10px 18px; border-radius: 999px; transition: all .2s; }
.legal-tab:hover { border-color: var(--primary); color: var(--primary); }
.legal-tab.is-active { background: var(--primary); color: #fff; border-color: var(--primary); }
.legal-panel { display: none; }
.legal-panel.is-active { display: block; }
.legal-panel h2 { font-weight: 700; font-size: clamp(22px,3vw,30px); margin-bottom: 18px; }
.legal-panel p { font-size: 15px; line-height: 1.75; color: #3A4358; white-space: pre-line; margin: 0; }

/* ---------- Footer ---------- */
.footer { background: linear-gradient(180deg, var(--navy-900), #040818); color: #fff; padding: clamp(56px,8vw,90px) 24px 36px; }
.footer { background: linear-gradient(180deg, var(--navy-900), #040818); color: #fff; padding: clamp(56px,8vw,90px) 24px 36px; }
.footer__top { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); max-width: var(--container); margin: 0 auto; }
.footer__logo { width: 96px; height: 96px; border-radius: 20px; margin-bottom: 18px; box-shadow: 0 14px 30px rgba(0,0,0,.4); }
.footer__about { font-size: 14px; color: #92A0C4; max-width: 280px; }
.footer__col h4 { font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: #6E7FA8; margin: 0 0 18px; }
.footer__col li { margin-bottom: 12px; }
.footer__col a, .footer__col span { font-size: 15px; color: #C3CDE4; transition: color .2s; }
.footer__col a:hover { color: #fff; }
.footer__col a, .footer__col span { font-size: 15px; color: #C3CDE4; transition: color .18s, transform .18s; display: inline-block; }
.footer__col a:hover { color: #fff; transform: translateX(4px); }

/* Legal column emphasis */
.footer__col ul li a[href*="conditions-generales"],
.footer__col ul li a[href*="politique-confidentialite"],
.footer__col ul li a[href*="politique-aml"] {
  color: #E6F2FF;
}
.footer__bottom { max-width: var(--container); margin: 0 auto; padding-top: 28px; display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer__tag { font-family: var(--font-display); font-weight: 700; font-size: 16px; }
.footer__copy { font-size: 13px; color: #6E7FA8; }

/* ---------- Animations ---------- */
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; }
.reveal.is-visible { animation: fadeUp .7s ease both; }

/* Blog post specific styles */
.post-hero {
  position: relative; background: linear-gradient(160deg, var(--navy-900), var(--navy-700)); color: #fff; padding: clamp(56px, 8vw, 120px) 0; overflow: hidden;
}
.post-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .18; }
.post-hero__card {
  position: relative; max-width: var(--container); margin: 0 auto; background: linear-gradient(180deg, rgba(255,255,255,0.98), #fff); color: var(--text); border-radius: 18px; padding: 28px; box-shadow: 0 18px 40px rgba(11,16,32,0.06); transform: translateY(40px);
}
.post-hero__category { display:inline-block; background: var(--surface); color: var(--primary); padding: 8px 12px; border-radius: 999px; font-weight:700; margin-bottom:12px; }
.post-hero__title { font-family: var(--font-display); font-size: clamp(28px, 4.8vw, 44px); margin: 6px 0 12px; color: var(--text); }
.post-hero__meta { color: var(--text-muted); display:flex; gap:12px; align-items:center; font-size:14px; }
.post-hero__meta img { width:44px; height:44px; border-radius:999px; object-fit:cover; }

.post-content { max-width: var(--container); margin: 48px auto; padding: 0 24px 80px; color: var(--text); }
.post-content h2 { font-family: var(--font-display); margin-top:28px; }
.post-content img { width:100%; border-radius:12px; display:block; margin:18px 0; }
.pullquote { margin:22px 0; padding:18px 22px; background: linear-gradient(90deg, rgba(24,82,241,0.06), rgba(123,97,255,0.04)); border-left:4px solid var(--primary); border-radius:10px; color:var(--text); font-style:italic; }

.related-posts { display:grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap:16px; margin-top:36px; }
.related-post { background:var(--surface); border:1px solid var(--border); border-radius:14px; padding:16px; box-shadow: var(--shadow-sm); }

.subscribe-cta { display:flex; gap:18px; align-items:center; background:var(--grad-primary); color:#fff; padding:28px; border-radius:16px; margin-top:32px; }
.subscribe-cta .btn { background: #fff; color: var(--primary); }

@media (max-width:900px){
  .post-hero__card { padding:18px; }
  .post-hero__title { font-size: clamp(20px, 6vw, 28px); }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .section-head { align-items: flex-start; }
}

/* ---------- Demo blog-post layout overrides (moved from inline) ---------- */
body{background:#f6f8fb}
.demo-wrap{max-width:1100px;margin:48px auto;display:grid;grid-template-columns:1fr 360px;gap:28px;padding:0 18px}
.hero-img{height:220px;border-radius:12px 12px 0 0;background-size:cover;background-position:center;box-shadow:0 8px 30px rgba(15,23,42,0.06)}
.title-card{background:#fff;border-radius:14px;padding:26px 28px;width:100%;margin-top:-60px;box-shadow:0 18px 40px rgba(15,23,42,0.08)}
.post-meta{display:flex;align-items:center;gap:12px;margin-top:12px}
.post-meta img{width:44px;height:44px;border-radius:50%;object-fit:cover;border:3px solid #fff;box-shadow:0 6px 18px rgba(11,22,48,0.08)}
.post-hero__category{display:inline-block;background:transparent;padding:6px 10px;border-radius:8px;color:var(--navy-600);font-weight:600}
h1{font-family:Fredoka, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial; font-size:26px;line-height:1.15;margin:6px 0}
.title-card h1{color:var(--navy-900)}
.pullquote{border-left:4px solid var(--rose-400);padding:20px 20px;margin:18px 0;background:transparent;color:var(--text-muted);font-style:italic}
.demo-sidebar{position:relative}
.sidebar-section{background:#fff;border-radius:12px;padding:14px;margin-bottom:18px;box-shadow:0 8px 24px rgba(15,23,42,0.04)}
.tabs{display:flex;gap:12px;border-bottom:1px solid rgba(0,0,0,0.06);padding-bottom:8px}
.tabs button{background:transparent;border:0;padding:8px 10px;border-radius:8px;cursor:pointer}
.tabs button.active{border-bottom:3px solid var(--rose-500);color:var(--rose-600);font-weight:600}
.popular-item{display:flex;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid rgba(11,22,48,0.04)}
.popular-item:last-child{border-bottom:0}
.popular-thumb{width:56px;height:40px;border-radius:8px;background-size:cover;background-position:center;flex-shrink:0}
.tag-pill{display:inline-block;padding:6px 10px;border-radius:999px;background:var(--soft-bg);margin:6px 6px 0 0;font-size:13px}
.share-url{display:flex;gap:8px;align-items:center}
.share-url input{flex:1;padding:8px 10px;border-radius:8px;border:1px solid rgba(0,0,0,0.08)}
.copy-btn{background:var(--rose-600);color:#fff;padding:8px 12px;border-radius:8px;border:none}
.subscribe-card{background:#fff;color:var(--text);padding:14px;border-radius:12px}
.subscribe-card h3{margin:0 0 6px;font-size:16px}
.subscribe-card p{margin:0 0 10px;color:var(--text-muted);font-size:13px}
.subscribe-card .subscribe-form{display:flex;gap:8px}
.subscribe-card input{flex:1;padding:10px;border-radius:8px;border:1px solid rgba(11,22,48,0.06)}
.subscribe-card .btn{background:linear-gradient(90deg,var(--blue-500,#0b7cff),var(--blue-400,#2ea0ff));color:#fff;padding:10px 14px;border-radius:8px;border:0}
@media (max-width:900px){.demo-wrap{grid-template-columns:1fr;gap:18px;padding:0 18px}.title-card{margin-top:-48px}}

/* =========================================================================
   THÈME PREMIUM — « Clair / Apple »
   Clair, épuré, grande typographie, minimal. Ce bloc est chargé EN DERNIER
   et surcharge le thème de base (retirer ce bloc = revenir à l'ancien thème).
   ========================================================================= */
:root {
  /* Palette raffinée, quasi monochrome, un seul accent utilisé avec parcimonie */
  --primary: #0A66FF;
  --primary-dark: #0A4FCC;
  --primary-light: #4C93FF;

  --bg: #FBFBFD;            /* off-white à la Apple */
  --surface: #ffffff;
  --surface-alt: #F5F5F7;

  --text: #0B0B0F;          /* quasi noir */
  --text-muted: #6E6E76;    /* gris Apple */
  --text-light: #86868B;

  --border: #EDEDF0;
  --border-strong: #E0E0E6;

  --font-display: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 8px 24px rgba(17,17,26,.06);
  --shadow-lg: 0 20px 50px rgba(17,17,26,.09);
  --shadow-primary: 0 8px 22px rgba(10,102,255,.24);

  --container: 1180px;
}

body { background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: var(--primary); color: #fff; }

/* Typographie : grande, serrée, hiérarchie forte.
   IMPORTANT : on force Manrope partout (une règle h1{Fredoka} plus haut l'écrasait). */
h1, h2, h3, h4,
.hero__title, .section-title, .statement, .card__title, .product__name,
.service__title, .service__num, .post__title, .brand__name, .stat__num,
.tech-group__title, .info-card__value, .cta-band h2, .page-hero h1, .footer__tag {
  font-family: var(--font-display) !important;
}
h1, h2, h3 { letter-spacing: -0.025em; }
.section-title { font-weight: 800; font-size: clamp(30px, 4.6vw, 52px); line-height: 1.05; letter-spacing: -0.03em; text-wrap: balance; }
.lead { font-size: clamp(17px, 2vw, 21px); color: var(--text-muted); }
.eyebrow { color: var(--text-light); font-weight: 600; letter-spacing: 0.12em; }
.statement { font-family: var(--font-body); font-weight: 700; letter-spacing: -0.02em; }
.statement span { color: var(--primary); }

/* Boutons : pilule, remplissage plein, hover discret (façon Apple) */
.btn { border-radius: 980px; font-weight: 600; padding: 14px 26px; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, opacity .18s; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--primary); box-shadow: var(--shadow-primary); }
.btn--primary:hover { background: var(--primary-dark); }
.btn--light { background: #fff; color: var(--text); border: 1px solid var(--border-strong); box-shadow: var(--shadow-sm); }
.btn--ghost { background: transparent; color: var(--primary); }

/* Header : verre clair minimal */
.header { background: rgba(251,251,253,.72); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); box-shadow: inset 0 -1px 0 rgba(0,0,0,.06); }
.header.is-scrolled { box-shadow: 0 1px 0 rgba(0,0,0,.06), 0 10px 30px rgba(0,0,0,.05); }
.brand__logo { border-radius: 12px; background: var(--primary); box-shadow: 0 6px 16px rgba(10,102,255,.28); }
.brand__name { font-weight: 800; letter-spacing: -0.02em; }
.nav__link { color: #43434B; font-weight: 500; }
.nav__link:hover { background: rgba(10,102,255,.06); color: var(--primary); transform: none; }
.nav__link.is-active { color: var(--primary); }

/* HERO clair : fond blanc, immense titre noir, beaucoup d'air */
.hero { background: linear-gradient(180deg, #ffffff 0%, #F5F6FA 100%); color: var(--text); }
.hero__canvas { display: none; }
.hero__orb--1 { background: radial-gradient(circle at 40% 40%, rgba(10,102,255,.10), transparent 70%); opacity: 1; }
.hero__orb--2 { background: radial-gradient(circle, rgba(76,147,255,.10), transparent 70%); }
/* Espace haut réduit : le badge est plus proche du header */
.hero__inner { padding-top: clamp(28px,4vw,56px); padding-bottom: clamp(56px,7vw,96px); }
.hero__badge { margin-bottom: 20px; }
/* Hero avec image de fond : voile déjà appliqué en inline ; on garde le texte lisible */
.hero--image .hero__orb { display: none; }
.hero__badge { background: #fff; border: 1px solid var(--border); color: var(--text-muted); box-shadow: var(--shadow-sm); }
.hero__badge .dot { background: var(--primary); box-shadow: 0 0 10px rgba(10,102,255,.6); }
.hero__title { color: var(--text); font-weight: 800; font-size: clamp(38px,6.4vw,76px); letter-spacing: -0.035em; line-height: 1.02; max-width: 15ch; }
.gradient-text { background: linear-gradient(100deg, #0A66FF, #4C93FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__subtitle { color: var(--text-muted); font-size: clamp(17px,2vw,21px); max-width: 58ch; }

/* Stats sur fond clair */
.stats { margin-top: 56px; }
.stat { background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); border-radius: 18px; }
.stat__num { background: none; -webkit-background-clip: initial; background-clip: initial; color: var(--text); font-weight: 800; letter-spacing: -0.02em; }
.stat__label { color: var(--text-muted); }

/* Bandeaux de pages intérieures : clairs */
.page-hero { background: linear-gradient(180deg, #ffffff, #F5F6FA); color: var(--text); border-bottom: 1px solid var(--border); }
.page-hero h1 { color: var(--text); letter-spacing: -0.035em; }
.page-hero .lead { color: var(--text-muted); }

/* Cartes : bordure fine, ombre très douce, hover subtil */
.card, .product, .service, .info-card, .form { border-color: var(--border); box-shadow: var(--shadow-sm); }
.card { border-radius: var(--radius-lg); }
.card--hover:hover, .product:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.card__icon, .value__mark, .member__avatar, .form__success-icon { background: linear-gradient(135deg, var(--primary), var(--primary-light)); }
.card__title, .product__name, .service__title, .post__title { font-weight: 800; letter-spacing: -0.02em; }
.service__num { background: none; -webkit-background-clip: initial; background-clip: initial; color: var(--surface-alt); -webkit-text-stroke: 0; color: #D3D5DD; }
.tag, .chip { background: rgba(10,102,255,.07); border-color: rgba(10,102,255,.14); color: var(--primary); }

/* CTA : bloc noir élégant (contraste maîtrisé, très Apple) */
.cta-band { background: #0B0B0F; border-radius: 28px; }
.cta-band--bright { background: var(--primary); }
.cta-band__orb { background: radial-gradient(circle, rgba(10,102,255,.28), transparent 70%); }
.cta-band .btn--light { background: #fff; color: var(--text); border: none; }
.subscribe-cta { background: #0B0B0F; }
.subscribe-cta .btn { background:#fff; color: var(--text); }

/* Footer : noir profond raffiné */
.footer { background: #0B0B0F; }
.footer__logo { border-radius: 18px; }

/* Footer en 2 colonnes équilibrées sur mobile/tablette :
   la marque en pleine largeur, puis les 4 colonnes de liens en 2×2.
   (Prime sur les règles 600px/360px plus haut car ce bloc est chargé après.) */
@media (max-width: 820px) {
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 30px 22px;
  }
  .footer__top > div:first-child { grid-column: 1 / -1; }  /* bloc marque sur toute la largeur */
  .footer__about { max-width: none; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
}
@media (max-width: 360px) {
  /* On force 2 colonnes même sur très petits écrans (demande PDG) */
  .footer__top { grid-template-columns: 1fr 1fr; }
}

/* Champs de formulaire épurés */
.field input, .field textarea { background: #fff; border-color: var(--border-strong); border-radius: 12px; }
.field input:focus, .field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(10,102,255,.12); }

/* Révélation au scroll un peu plus douce */
.reveal.is-visible { animation: fadeUp .6s cubic-bezier(.22,.61,.36,1) both; }


/* =========================================================================
   FINITIONS — préloader, logo, animations (clic + scroll)
   ========================================================================= */

/* ---------- Logo (header + footer) ---------- */
.brand__img { height: 60px; width: auto; display: block; }
@media (max-width: 600px){ .brand__img { height: 46px; } }
.nav { padding-top: 10px; padding-bottom: 10px; }
.footer__logo { width: auto !important; height: auto !important; max-width: 240px; max-height: 120px; object-fit: contain; border-radius: 0 !important; box-shadow: none !important; }

/* ---------- Préloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: #ffffff; display: flex; align-items: center; justify-content: center;
  transition: opacity .5s ease, visibility .5s ease;
}
.preloader.is-hidden { opacity: 0; visibility: hidden; }
.preloader__inner { text-align: center; }
.preloader__logo { height: 72px; width: auto; animation: pl-pulse 1.4s ease-in-out infinite; }
.preloader__bar { width: 180px; height: 3px; border-radius: 999px; background: #eef1f7; margin: 22px auto 12px; overflow: hidden; }
.preloader__bar span { display: block; height: 100%; width: 40%; border-radius: 999px; background: linear-gradient(90deg,#0A66FF,#4C93FF); animation: pl-slide 1.1s ease-in-out infinite; }
.preloader__text { font-size: 13px; letter-spacing: .04em; color: #8a94a6; }
@keyframes pl-pulse { 0%,100%{ transform: scale(1); opacity: 1 } 50%{ transform: scale(.94); opacity: .7 } }
@keyframes pl-slide { 0%{ transform: translateX(-120%) } 100%{ transform: translateX(320%) } }

/* ---------- Animations au clic ---------- */
/* Effet d'enfoncement sur les boutons/liens interactifs */
.btn, .nav__link, .filter, .legal-tab, .tech-item { transition: transform .12s ease, box-shadow .18s ease, background .18s ease, color .18s ease; }
.btn:active { transform: translateY(1px) scale(.98); }
.nav__link:active, .filter:active, .legal-tab:active { transform: scale(.96); }
/* Ondulation (ripple) au clic */
.ripple-host { position: relative; overflow: hidden; }
.ripple {
  position: absolute; border-radius: 50%; transform: scale(0);
  background: rgba(255,255,255,.5); pointer-events: none;
  animation: ripple .6s ease-out forwards;
}
.btn--light .ripple, .btn--ghost .ripple { background: rgba(10,102,255,.25); }
@keyframes ripple { to { transform: scale(3); opacity: 0; } }

/* ---------- Apparition au défilement (généralisée) ---------- */
.reveal-up { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); will-change: opacity, transform; }
.reveal-up.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .reveal-up { opacity:1; transform:none; transition:none } .preloader__logo,.preloader__bar span{ animation:none } }

/* =========================================================================
   Pages légales — mise en forme uniforme et lisible
   ========================================================================= */
.legal-updated { color: var(--text-muted); font-size: 14px; margin: 4px 0 26px; }
.legal-panel h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(24px,3.4vw,34px); line-height: 1.15; margin: 0 0 6px; }
.legal-panel h3 { font-family: var(--font-display); font-weight: 700; font-size: 19px; margin: 28px 0 10px; color: var(--text); }
.legal-panel h4 { font-weight: 700; font-size: 15.5px; margin: 18px 0 6px; color: var(--text); }
.legal-panel p { white-space: normal; font-size: 15.5px; line-height: 1.75; color: #3A4358; margin: 0 0 12px; }
.legal-panel ul { margin: 0 0 14px; padding-left: 20px; list-style: disc; }
.legal-panel ul ul { margin: 6px 0; }
.legal-panel li { font-size: 15.5px; line-height: 1.7; color: #3A4358; margin-bottom: 6px; }
.legal-panel .table-wrap { overflow-x: auto; margin: 12px 0 20px; }
.legal-panel table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 460px; }
.legal-panel th, .legal-panel td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; vertical-align: top; color: #3A4358; }
.legal-panel th { background: var(--surface-alt); font-weight: 700; color: var(--text); }
.legal-panel blockquote { border-left: 3px solid var(--primary); background: rgba(24,82,241,.05); padding: 12px 16px; margin: 14px 0; border-radius: 0 10px 10px 0; color: #3A4358; font-size: 15px; }
.legal-panel a { color: var(--primary); font-weight: 600; }
.legal-todo { color: #92400e; font-style: normal; background: #fef3c7; padding: 1px 7px; border-radius: 5px; font-size: 13px; white-space: nowrap; }
/* Sous-navigation entre pages légales */
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.legal-nav a { font-size: 13.5px; font-weight: 600; color: #3A4358; background: #fff; border: 1px solid var(--border); padding: 8px 14px; border-radius: 999px; transition: all .2s; }
.legal-nav a:hover { border-color: var(--primary); color: var(--primary); }
.legal-nav a.is-active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* =========================================================================
   Page Contact — mise en page premium
   ========================================================================= */
.contact-wrap {
  display: grid; grid-template-columns: 400px 1fr;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-md);
}
/* Panneau sombre élégant (coordonnées) */
.contact-side { background: linear-gradient(165deg, #0B0B0F 0%, #141829 100%); color: #fff; padding: clamp(30px,4vw,46px); position: relative; }
.contact-side::after { content:''; position:absolute; top:-60px; right:-60px; width:220px; height:220px; border-radius:50%; background: radial-gradient(circle, rgba(10,102,255,.35), transparent 70%); filter: blur(10px); pointer-events:none; }
.contact-side h2 { color: #fff; font-family: var(--font-display); font-weight: 800; font-size: clamp(22px,2.6vw,28px); letter-spacing:-.02em; margin: 0 0 10px; position:relative; }
.contact-side .cs-lead { color: rgba(255,255,255,.72); font-size: 15px; line-height: 1.7; margin: 0 0 24px; position:relative; }
.contact-list { display: flex; flex-direction: column; gap: 18px; margin: 0 0 26px; position: relative; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-list .ci { width: 44px; height: 44px; border-radius: 13px; background: rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.10); display: grid; place-items: center; color: #fff; flex-shrink: 0; font-size: 17px; }
.contact-list .cl { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 2px; }
.contact-list .cv { display: block; color: #fff; font-weight: 600; font-size: 15.5px; }
.contact-list a.cv:hover { color: var(--primary-light); }
.contact-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; position: relative; }
.contact-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: #d7e3ff; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); padding: 6px 12px; border-radius: 999px; }
.contact-badge i { color: var(--brand-2, #22c55e); }
.contact-social { display: flex; gap: 10px; position: relative; }
.contact-social a { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; border:1px solid rgba(255,255,255,.10); transition: all .2s; }
.contact-social a:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-2px); }
/* Panneau formulaire */
.contact-form-panel { padding: clamp(30px,4vw,46px); }
.contact-form-panel h3 { font-family: var(--font-display); font-weight: 800; font-size: 22px; margin: 0 0 4px; }
.contact-form-panel .cf-sub { color: var(--text-muted); font-size: 14.5px; margin: 0 0 22px; }
@media (max-width: 820px){ .contact-wrap { grid-template-columns: 1fr; } }

/* Cartes à contenu centré (icône + titre + texte) */
.cards-centered .card { text-align: center; }
.cards-centered .card__icon,
.cards-centered .value__mark { margin-left: auto; margin-right: auto; }
.cards-centered .card__text { margin-left: auto; margin-right: auto; max-width: 32ch; }

/* Icône à l'intérieur de l'avatar d'équipe (page à propos) */
.member__avatar { display: grid; place-items: center; }
.member__avatar i { color: #fff; font-size: 24px; }

/* =========================================================================
   Assistant de devis (multi-étapes)
   ========================================================================= */
.quote-wizard { max-width: 780px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border); border-radius: 24px; box-shadow: var(--shadow-md); padding: clamp(26px,4vw,44px); }
.wiz-steps { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.wiz-dot { flex: 1; height: 6px; border-radius: 999px; background: var(--border); transition: background .3s; }
.wiz-dot.active, .wiz-dot.done { background: var(--primary); }
.wiz-count { text-align: center; font-size: 12.5px; letter-spacing: .04em; color: var(--text-muted); text-transform: uppercase; margin-bottom: 24px; }
.wiz-step { display: none; }
.wiz-step.is-active { display: block; animation: fadeUp .4s ease; }
.wiz-step h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(20px,2.6vw,26px); margin: 0 0 6px; }
.wiz-step .sub { color: var(--text-muted); font-size: 14.5px; margin: 0 0 20px; }
.wiz-block-title { font-size: 13px; font-weight: 700; color: var(--text); margin: 22px 0 10px; }
.chip-group { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-sel { font-size: 14.5px; font-weight: 600; color: #3A4358; background: #fff; border: 1.5px solid var(--border-strong); padding: 11px 18px; border-radius: 999px; cursor: pointer; transition: all .18s; display: inline-flex; align-items: center; gap: 8px; }
.chip-sel i { color: var(--primary); }
.chip-sel:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); }
.chip-sel.selected { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: var(--shadow-primary); }
.chip-sel.selected i { color: #fff; }
.wiz-field { margin-top: 18px; }
.wiz-field label { display: block; font-size: 13px; font-weight: 600; color: #3A4358; margin-bottom: 7px; }
.wiz-field input, .wiz-field textarea { width: 100%; border: 1px solid var(--border-strong); border-radius: 12px; padding: 13px 15px; font-size: 15px; font-family: inherit; background: #fff; outline: none; transition: border-color .2s, box-shadow .2s; }
.wiz-field input:focus, .wiz-field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(10,102,255,.12); }
.wiz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px){ .wiz-grid { grid-template-columns: 1fr; } }
.wiz-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 30px; }
.wiz-err { color: #dc2626; font-size: 13px; margin-top: 12px; min-height: 16px; }

/* Sélecteur (liste déroulante) dans les formulaires de type "wiz" */
.wiz-field select {
  width: 100%; border: 1px solid var(--border-strong); border-radius: 12px;
  padding: 13px 15px; font-size: 15px; font-family: inherit; background: #fff;
  outline: none; transition: border-color .2s, box-shadow .2s; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235A6479' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px;
}
.wiz-field select:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(10,102,255,.12); }

/* Champ mot de passe avec bouton "afficher/masquer" */
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 44px !important; }
.pw-toggle {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border: 0; background: transparent; cursor: pointer;
  color: var(--text-muted); display: grid; place-items: center; border-radius: 8px;
}
.pw-toggle:hover { color: var(--primary); background: rgba(10,102,255,.06); }

/* Case de consentement légal */
.consent-row { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; padding: 14px 16px; background: var(--surface-alt); border: 1px solid var(--border); border-radius: 12px; }
.consent-row input[type="checkbox"] { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--primary); flex-shrink: 0; cursor: pointer; }
.consent-row label { font-size: 13.5px; line-height: 1.6; color: #3A4358; cursor: pointer; }
.consent-row a { color: var(--primary); font-weight: 600; }

/* Section titre dans un formulaire premium (regroupe des champs) */
.form-section-title { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--primary); margin: 26px 0 12px; }
.form-section-title:first-child { margin-top: 0; }
.form-section-title i { font-size: 15px; }


/* =========================================================================
   AUDIT UX — WCAG 2.1 AA / Mobile-First / Conversion Design
   Améliorations appliquées après audit complet du 08/07/2026
   ========================================================================= */

/* -----------------------------------------------------------------------
   1. ACCESSIBILITÉ — Skip navigation (clavier / lecteurs d'écran)
   ----------------------------------------------------------------------- */
.skip-to-content {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 10000;
  background: var(--primary);
  color: #fff;
  padding: 10px 20px;
  border-radius: 0 0 10px 10px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: top .2s;
}
.skip-to-content:focus { top: 0; }

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

/* -----------------------------------------------------------------------
   2. ACCESSIBILITÉ — Focus visible renforcé (WCAG 2.4.7, 2.4.11)
   ----------------------------------------------------------------------- */
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}
/* Supprimer l'outline natif uniquement pour la souris (pas le clavier) */
:focus:not(:focus-visible) { outline: none; }

/* Focus haute visibilité sur les inputs */
.field input:focus-visible,
.field textarea:focus-visible,
.wiz-field input:focus-visible,
.wiz-field select:focus-visible,
.wiz-field textarea:focus-visible {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(10,102,255,.18);
  outline: none;
}

/* -----------------------------------------------------------------------
   3. MOBILE-FIRST — Touch targets (WCAG 2.5.5 : 44×44px minimum)
   ----------------------------------------------------------------------- */
.nav__link,
.filter,
.legal-tab,
.chip-sel,
.contact-social a,
.contact-badge {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* Boutons principaux : target plus large sur mobile */
@media (max-width: 768px) {
  .btn {
    min-height: 52px;
    padding: 16px 28px;
    font-size: 17px;
    width: 100%;
    justify-content: center;
  }
  /* Exception : boutons petits dans les filtres */
  .filter, .legal-tab { width: auto; font-size: 14px; min-height: 44px; padding: 10px 18px; }
}

/* -----------------------------------------------------------------------
   4. MOBILE-FIRST — Grilles adaptatives (breakpoints manquants)
   ----------------------------------------------------------------------- */
@media (max-width: 768px) {
  /* Nav hero actions en colonne sur mobile */
  .hero__actions { flex-direction: column; align-items: center; gap: 12px; }
  .hero__actions .btn { max-width: 340px; }

  /* Grilles mono-colonne sous 768px */
  .grid--3, .grid--4, .grid--auto { grid-template-columns: 1fr; }

  /* Statistiques : 2 colonnes sur mobile */
  .stats { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 40px; }

  /* Section service : masquer le grand numéro sur mobile */
  .service__num { display: none; }
  .service__body { min-width: unset; }

  /* Tech items : wrap compact */
  .tech-group { flex-direction: column; align-items: flex-start; gap: 14px; }
  .tech-group__title { min-width: unset; }

  /* FAQ accordion : pleine largeur */
  .faq-accordion { padding: 0 4px; }

  /* Contact : side full-width */
  .contact-wrap { grid-template-columns: 1fr; }

  /* Wizard devis : chips en pleine largeur */
  .chip-sel { width: 100%; }
  .wiz-grid { grid-template-columns: 1fr; }

  /* CTA band : moins de padding */
  .cta-band { padding: 36px 22px; border-radius: 20px; }
  .cta-band h2 { font-size: clamp(22px,6vw,36px); }

  /* Section-head : colonne */
  .section-head { flex-direction: column; gap: 12px; }
}

@media (max-width: 480px) {
  /* Stats : 1 colonne sur très petit écran */
  .stats { grid-template-columns: 1fr 1fr; }

  /* Footer bottom en colonne */
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  /* Conteneur padding réduit */
  .container { padding: 0 16px; }
}

/* -----------------------------------------------------------------------
   5. LISIBILITÉ — Ratio de contraste & taille de texte (WCAG 1.4.3, 1.4.4)
   ----------------------------------------------------------------------- */
/* Body text : line-height plus aéré */
body { line-height: 1.7; }

/* Lead text : lisibilité renforcée */
.lead { line-height: 1.75; }

/* Texte secondaire : contraste renforcé (#6E6E76 → #565660 sur fond blanc)
   Ratio : ~5.2:1 contre fond blanc (passe WCAG AA) */
.text-muted, .card__text, .service__text, .footer__about {
  color: #565660;
}

/* Labels de formulaire : plus visibles */
.field label, .wiz-field label { color: #2A2A35; font-size: 14px; font-weight: 600; }

/* Eyebrow : vérification contraste (#86868B sur blanc = 3.88:1 WCAG AA pour texte non-essentiel) */
.eyebrow { font-size: 12px; letter-spacing: 0.14em; }

/* Pied de page copyright : assez visible */
.footer__copy { color: #8A8A9A; font-size: 13px; }

/* -----------------------------------------------------------------------
   6. DESIGN ORIENTÉ CONVERSION — Micro-interactions & signaux de confiance
   ----------------------------------------------------------------------- */
/* Bouton principal : pulsation subtile sur hover pour attirer l'attention */
.btn--primary {
  position: relative;
  overflow: hidden;
}
.btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(255,255,255,0);
  transition: background .2s;
}
.btn--primary:hover::after { background: rgba(255,255,255,.08); }

/* Badge de confiance : flottant sur les formulaires clé (conversion trust signal) */
.form-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.form-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #4A6080;
  background: #F0F5FF;
  border: 1px solid #D8E4F8;
  padding: 5px 10px;
  border-radius: 999px;
}
.form-trust-badge i { color: #22c55e; font-size: 11px; }

/* Flèche animée sur les liens CTA */
.link-arrow::after {
  content: ' →';
  display: inline-block;
  transition: transform .2s;
}
.link-arrow:hover::after { transform: translateX(4px); }

/* -----------------------------------------------------------------------
   7. CONFIANCE VISUELLE — WhatsApp CTA flottant (conversion mobile)
   ----------------------------------------------------------------------- */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 22px;
  z-index: 500;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 8px 24px rgba(37,211,102,.45);
  transition: transform .2s ease, box-shadow .2s ease;
  text-decoration: none;
}
.whatsapp-fab:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 14px 32px rgba(37,211,102,.55);
  color: #fff;
}
.whatsapp-fab:focus-visible {
  outline: 3px solid #25D366;
  outline-offset: 4px;
}
/* Pulse ring d'attention */
.whatsapp-fab::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,.5);
  animation: wa-pulse 2.2s ease-out infinite;
}
@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: .7; }
  70%  { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* -----------------------------------------------------------------------
   8. PARCOURS UTILISATEUR — État des étapes du formulaire devis (wizard)
   ----------------------------------------------------------------------- */
/* Indicateur de progression enrichi */
.wiz-steps-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 8px;
}
.wiz-step-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  flex: 1;
  transition: color .3s;
}
.wiz-step-label.active { color: var(--primary); }
.wiz-step-label.done   { color: #22c55e; }

/* -----------------------------------------------------------------------
   9. ERGONOMIE — FAQ accordion enrichi (indication ouvrir/fermer)
   ----------------------------------------------------------------------- */
details.faq-item summary { transition: color .2s; }
details.faq-item[open] summary { color: var(--primary); }
details.faq-item summary .faq-icon { transition: transform .25s ease; }
details.faq-item[open] summary .faq-icon { transform: rotate(45deg); }
details.faq-item p { animation: fadeUp .3s ease both; }

/* -----------------------------------------------------------------------
   10. PERFORMANCE — Optimisation GPU pour animations fréquentes
   ----------------------------------------------------------------------- */
.btn, .card, .product, .service, .tech-item, .nav__link {
  will-change: transform;
}
/* Stopper will-change quand l'animation est terminée */
.btn:not(:hover):not(:active),
.card:not(:hover) {
  will-change: auto;
}

/* -----------------------------------------------------------------------
   11. NUMÉRO DE TÉLÉPHONE — Cliquable et visible dans le footer
   ----------------------------------------------------------------------- */
.footer__col a[href^="tel:"] {
  color: #C3CDE4;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer__col a[href^="tel:"]:hover { color: #fff; }

/* -----------------------------------------------------------------------
   12. INDICATION d'état de chargement sur bouton de formulaire
   ----------------------------------------------------------------------- */
button[disabled] {
  opacity: .6;
  cursor: not-allowed;
  transform: none !important;
}

