/* ============================================================
   GestAffaires – Gestion · Administration · Digital
   Design premium : bleu marine foncé / blanc / turquoise / violet
   ============================================================ */

/* Police auto-hébergée : le fichier couvre les cinq graisses
   (400 à 800) en un seul fichier variable, sous-ensemble latin,
   ce qui suffit aux caractères français.
   "swap" affiche le texte tout de suite avec une police de
   remplacement au lieu d'un pantalla blanc le temps du chargement. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../assets/fonts/inter-latin-var.woff2") format("woff2");
}

:root {
  --navy-950: #06111f;
  --navy-900: #0B1B33;
  --navy-800: #12294a;
  --navy-700: #1b3358;
  --ink: #10203c;
  --text: #46546e;
  --muted: #6b7a95;
  --teal: #0CB5A6;
  --teal-dark: #0a9185;
  --teal-soft: #e3f7f4;
  --violet: #6A4CE0;
  --violet-soft: #efecfd;
  --bg: #ffffff;
  --bg-soft: #f3f6fb;
  --border: #e4ebf4;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(11, 27, 51, 0.06);
  --shadow-md: 0 12px 32px rgba(11, 27, 51, 0.1);
  --shadow-lg: 0 24px 60px rgba(11, 27, 51, 0.16);
  --header-h: 76px;
  --container: 1280px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

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

.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }

/* ---------- Utilitaires texte ---------- */
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 14px;
}

.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 16px; }
.section-sub { color: var(--muted); font-size: 17px; }
.section-text { color: var(--text); font-size: 16px; }
.section-sub-text { color: var(--muted); font-size: 17px; margin-bottom: 28px; }

.text-accent {
  background: linear-gradient(120deg, var(--teal), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  border: 2px solid transparent;
  text-align: center;
  white-space: nowrap;
}

.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-primary {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(12, 181, 166, 0.28);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(12, 181, 166, 0.36);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: var(--white);
  color: var(--ink);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 1000;
  background: var(--navy-900);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 8px;
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 3px solid rgba(12, 181, 166, 0.55); outline-offset: 2px; }

/* ---------- Confort tactile (téléphones, tablettes) ---------- */
@media (hover: none), (pointer: coarse) {
  body { -webkit-tap-highlight-color: transparent; }
  button, .btn, a, select, input, textarea { touch-action: manipulation; }
  .btn:active { transform: scale(0.97); }
  .nav-link:active { background: var(--teal-soft); }
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--border);
  box-shadow: 0 6px 24px rgba(11, 27, 51, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}
.brand-mark { display: block; flex: none; height: 50px; width: auto; }
.brand-mark svg { width: 40px; height: 50px; }
.brand-text {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.06em;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-sub {
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-top: 3px;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
}
/* Chaque lien reste sur une seule ligne : sans cela les libellés longs
   (« Solution sur mesure ») passent sur deux lignes et décalent la rangée
   dès que la place manque sur l'accueil, qui a 8 liens contre 6 sur
   les pages pôles. */
.nav-link {
  position: relative;
  color: var(--text);
  font-weight: 500;
  font-size: 13.5px;
  padding: 9px 9px;
  border-radius: 8px;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-link:hover { color: var(--teal-dark); background: var(--teal-soft); }
.nav-link.active { color: var(--teal-dark); font-weight: 600; }
.nav-cta { padding: 11px 16px; font-size: 13px; white-space: nowrap; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  padding: 12px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 72px) 0 72px;
  background: linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 60%, var(--navy-800) 100%);
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 15%, rgba(12, 181, 166, 0.16), transparent 42%),
    radial-gradient(circle at 85% 70%, rgba(106, 76, 224, 0.18), transparent 45%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: auto, auto, 46px 46px, 46px 46px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), rgba(0,0,0,0.4));
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), rgba(0,0,0,0.4));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hero-slogan {
  color: #7CE8C8;
  font-size: 16px;
  font-weight: 600;
  font-style: italic;
  max-width: 560px;
  margin: 0 0 14px;
  padding-left: 14px;
  border-left: 3px solid var(--teal);
}
.hero-lead {
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  max-width: 560px;
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  font-weight: 500;
}

/* Visuel héro */
.hero-visual { position: relative; }
.visual-frame {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 20px;
  box-shadow: var(--shadow-lg);
}
.visual-frame svg { width: 100%; height: auto; }

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  color: var(--ink);
  font-weight: 600;
  font-size: 13px;
  padding: 12px 16px;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  animation: float 5s ease-in-out infinite;
}
.floating-card svg { width: 26px; height: 26px; flex: none; }
.fc-1 { top: 6%; left: -6%; }
.fc-2 { bottom: 18%; left: -10%; animation-delay: -2s; }
.fc-3 { top: 40%; right: -6%; animation-delay: -3.4s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* --- Avantages sous le hero --- */
.adv-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 72px;
}
.adv-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.adv-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(12, 181, 166, 0.4);
}
.adv-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  font-size: 24px;
  background: rgba(12, 181, 166, 0.14);
  border: 1px solid rgba(12, 181, 166, 0.35);
  border-radius: 14px;
  margin-bottom: 18px;
}
.adv-card h2 { color: var(--white); font-size: 19px; margin-bottom: 8px; }
.adv-card p { color: rgba(255, 255, 255, 0.72); font-size: 15px; }

/* ============================================================
   GRILLES / CARTES
   ============================================================ */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(12, 181, 166, 0.35);
}
.feature-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  margin-bottom: 20px;
}
.feature-ico svg { width: 26px; height: 26px; }
.i-teal { background: var(--teal-soft); color: var(--teal-dark); }
.i-violet { background: var(--violet-soft); color: var(--violet); }
.feature-card h3 { font-size: 18px; margin-bottom: 10px; }
.feature-card p { font-size: 15px; color: var(--muted); }

/* ============================================================
   SERVICES
   ============================================================ */
.serv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: stretch;
}
.serv-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.serv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.serv-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.t-teal { background: var(--teal-soft); color: var(--teal-dark); }
.t-violet { background: var(--violet-soft); color: var(--violet); }
.t-navy { background: #e8edf6; color: var(--navy-800); }

.serv-head p { color: var(--muted); font-size: 15px; margin-bottom: 22px; }

.serv-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  margin-bottom: 24px;
}
.serv-list li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  color: var(--text);
}
.serv-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: var(--teal);
  opacity: 0.85;
}

.serv-note {
  font-size: 13px;
  color: var(--muted);
  background: var(--bg-soft);
  border-left: 3px solid var(--teal);
  border-radius: 0 10px 10px 0;
  padding: 14px 16px;
}
.serv-note strong { color: var(--ink); }

/* Pôles de services (affichage allégé par besoin) */
.serv-poles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.serv-pole {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  color: inherit;
  text-decoration: none;
}
.serv-pole:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.serv-pole .serv-tag { margin-bottom: 16px; }
.serv-pole h3 { font-size: 19px; margin-bottom: 10px; }
.serv-pole-lead { color: var(--muted); font-size: 15px; margin-bottom: 22px; }

.serv-high {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}
.serv-high li {
  position: relative;
  padding-left: 30px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
}
.serv-high li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  border-radius: 6px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
}

.serv-detail {
  margin-top: auto;
  margin-bottom: 20px;
  border-top: 1px dashed var(--border);
  padding-top: 14px;
}
.serv-detail summary {
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  font-weight: 700;
  color: var(--teal-dark);
}
.serv-detail summary::-webkit-details-marker { display: none; }
.serv-detail summary::after { content: " ＋"; color: var(--teal); }
.serv-detail[open] summary::after { content: " －"; }
.serv-detail-body { padding-top: 14px; }
.serv-detail-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy-800);
  margin-bottom: 8px;
}
.serv-detail-body .serv-list { margin-bottom: 14px; }

/* ============================================================
   APPELS D'OFFRES
   ============================================================ */
.ao-quote {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
  border-radius: 20px;
  padding: 30px 28px;
  text-align: center;
  margin-bottom: 52px;
}
.ao-quote p {
  color: #fff;
  font-size: clamp(17px, 2.1vw, 22px);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.6;
}
.ao-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-bottom: 52px;
  list-style: none;
  padding: 0;
}
.ao-step {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ao-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.ao-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--violet-soft);
  color: var(--violet);
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 14px;
}
.ao-step h3 { font-size: 16px; margin-bottom: 12px; line-height: 1.35; }
.ao-step ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.ao-step li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  color: var(--muted);
}
.ao-step li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--violet);
  font-weight: 700;
}

.ao-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 40px;
}
.ao-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
}
.ao-ico { font-size: 28px; line-height: 1; }
.ao-block h3 {
  font-size: 15px;
  letter-spacing: 0.06em;
  margin: 12px 0 8px;
  color: var(--ink);
}
.ao-block p { font-size: 15px; color: var(--muted); }

.ao-cta { text-align: center; margin-bottom: 24px; }
.ao-tarif {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--teal-dark);
  margin-bottom: 12px;
}
.ao-legal {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
}

/* ============================================================
   FORMULES
   ============================================================ */
.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 64px;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(12, 181, 166, 0.4);
}

.price-card.featured {
  border: 2px solid var(--teal);
  box-shadow: 0 18px 44px rgba(12, 181, 166, 0.22);
  background: linear-gradient(180deg, #ffffff 0%, #f4fdfb 100%);
}
.featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(12, 181, 166, 0.35);
  white-space: nowrap;
}

.price-name {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.plus { color: var(--teal-dark); }
.price-amount {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 12px;
  line-height: 1.4;
}
.price-amount span {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
}
.price-hours {
  font-size: 13px;
  font-weight: 600;
  color: var(--teal-dark);
  background: var(--teal-soft);
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.price-cat {
  font-size: 14px;
  font-weight: 600;
  color: var(--violet);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}
.price-cat-sm { font-size: 13px; color: var(--muted); margin-bottom: 16px; }

.price-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
  margin-bottom: 22px;
}
.price-list li {
  position: relative;
  padding-left: 24px;
  font-size: 14.5px;
  color: var(--text);
}
.price-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--teal-dark);
  font-weight: 700;
}

.price-scale {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  margin-bottom: 18px;
}
.price-scale li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}
.price-scale li span:last-child { color: var(--teal-dark); }

.price-extra {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  background: var(--bg-soft);
  border: 1px dashed var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  text-align: center;
  margin-bottom: 16px;
}
.price-hint {
  font-size: 12.5px;
  color: var(--muted);
  background: var(--violet-soft);
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 16px;
}

.swipe-hint { display: none; }

/* ============================================================
   CALCULATEUR
   ============================================================ */
.calculator {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px 44px;
  box-shadow: var(--shadow-md);
  text-align: center;
  overflow: hidden;
}
.calculator::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--teal), var(--violet));
}
.calc-head h3 { font-size: 26px; margin-bottom: 12px; }
.calc-head p { color: var(--muted); margin-bottom: 30px; }

.calc-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 34px;
}
.calc-opt {
  padding: 14px 26px;
  border-radius: 12px;
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.calc-opt:hover { border-color: var(--teal); color: var(--teal-dark); }
.calc-opt.selected {
  border-color: var(--teal);
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: var(--white);
  box-shadow: 0 10px 22px rgba(12, 181, 166, 0.3);
}

.calc-result {
  padding: 28px;
  border-radius: 16px;
  background: var(--bg-soft);
  margin-bottom: 28px;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.calc-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.calc-price {
  font-size: 40px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}
.calc-price small { font-size: 18px; font-weight: 600; color: var(--muted); }
.calc-note { font-size: 15px; color: var(--muted); max-width: 520px; }
.calc-note strong { color: var(--teal-dark); }

/* ============================================================
   CRÉATION DE SITE
   ============================================================ */
.creation-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.creation-content { max-width: 520px; }

.creation-visual { position: relative; }
.browser {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 18px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.browser-bar span {
  width: 11px; height: 11px; border-radius: 50%;
  background: #dbe3ee;
}
.browser-bar span:nth-child(1) { background: #ffb4a2; }
.browser-bar span:nth-child(2) { background: #ffd97a; }
.browser-bar span:nth-child(3) { background: #9fe3b4; }
.browser-bar i {
  flex: 1;
  height: 24px;
  margin-left: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.browser-body {
  background: linear-gradient(180deg, #f7f9fc 0%, #fff 100%);
  padding: 26px;
}
.bs-logo {
  width: 90px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  margin-bottom: 20px;
}
.bs-title {
  width: 60%;
  height: 16px;
  border-radius: 6px;
  background: var(--navy-900);
  margin-bottom: 12px;
}
.bs-line {
  height: 10px;
  border-radius: 6px;
  background: #dfe7f1;
  margin-bottom: 8px;
}
.w90 { width: 92%; }
.w70 { width: 72%; }
.bs-cards { display: flex; gap: 10px; margin: 18px 0; }
.bs-cards span {
  flex: 1;
  height: 64px;
  border-radius: 10px;
  background: #eef3f9;
  border: 1px solid #e2eaf4;
}
.bs-cards span:nth-child(2) { background: var(--teal-soft); border-color: rgba(12, 181, 166, 0.4); }
.bs-btn {
  width: 120px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
}

.creation-option {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.creation-option:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.creation-option.slim { background: var(--bg-soft); }
.co-price { font-size: 15px; color: var(--muted); margin-bottom: 6px; }
.co-price strong { font-size: 26px; color: var(--ink); font-weight: 800; letter-spacing: -0.02em; }
.creation-option h3 { font-size: 18px; margin-bottom: 14px; }
.creation-option ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 14px;
  margin-bottom: 22px;
}
.creation-option li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  color: var(--text);
}
.creation-option li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal-dark);
  font-weight: 700;
}

/* ============================================================
   PROCESSUS
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  margin-bottom: 16px;
}
.step h3 { font-size: 16.5px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); }

/* ============================================================
   SECTEURS
   ============================================================ */
.sector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.sector-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.sector-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(106, 76, 224, 0.35);
}
.sector-emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  font-size: 24px;
  background: var(--bg-soft);
  border-radius: 14px;
  flex: none;
}
.sector-card h3 { font-size: 16.5px; }

.sector-more {
  text-align: center;
  margin-top: 36px;
  color: var(--muted);
  font-size: 15px;
}
.sector-more a { font-weight: 600; }

/* ============================================================
   À PROPOS
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: center;
}
.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 26px;
}
.value {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.value strong { color: var(--ink); font-size: 15px; display: block; margin-bottom: 6px; }
.value p { font-size: 14px; color: var(--muted); }
.about-note {
  font-size: 13.5px;
  color: var(--muted);
  background: var(--violet-soft);
  border-left: 3px solid var(--violet);
  border-radius: 0 10px 10px 0;
  padding: 14px 16px;
}

.about-card-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.ac-big, .ac-small {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 18px;
}
.ac-big { background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); border-color: transparent; }
.ac-big p { color: rgba(255, 255, 255, 0.9); font-weight: 600; font-size: 16px; }
.ac-small { transform: translateX(24px); }
.ac-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  font-size: 24px;
  background: var(--teal-soft);
  border-radius: 16px;
  flex: none;
}
.ac-big .ac-ico { background: rgba(12, 181, 166, 0.2); }

/* ============================================================
   TÉMOIGNAGES (placeholder)
   ============================================================ */
.testimonial-placeholder {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  background: var(--white);
  border: 1px dashed var(--border);
  border-radius: 24px;
  padding: 56px 40px;
  box-shadow: var(--shadow-sm);
}
.testimonial-placeholder p {
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item.open { border-color: rgba(12, 181, 166, 0.45); box-shadow: var(--shadow-md); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.faq-chev {
  flex: none;
  width: 12px;
  height: 12px;
  transform: translateY(2px);
  transition: transform 0.3s ease;
}
.faq-chev::before, .faq-chev::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 2px;
  background: var(--teal-dark);
  border-radius: 2px;
}
.faq-item .faq-chev { position: relative; }
.faq-item .faq-chev::before { transform: rotate(45deg); left: -2px; }
.faq-item .faq-chev::after { transform: rotate(-45deg); left: 4px; top: -1px; }
.faq-item.open .faq-chev::before { transform: rotate(-45deg); }
.faq-item.open .faq-chev::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-a p {
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: 15px;
}

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-final {
  position: relative;
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-700) 100%);
  padding: 110px 0;
  overflow: hidden;
}
.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(12, 181, 166, 0.22), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(106, 76, 224, 0.25), transparent 45%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  text-align: center;
  color: var(--white);
}
.cta-inner h2 {
  color: var(--white);
  font-size: clamp(28px, 4.2vw, 44px);
  max-width: 720px;
  margin: 0 auto 18px;
}
.cta-inner > p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 17px;
  max-width: 600px;
  margin: 0 auto 36px;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 34px;
}
.cta-inner .hero-trust { justify-content: center; color: rgba(255, 255, 255, 0.75); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.contact-intro h2 { font-size: 32px; margin-bottom: 14px; }
.contact-points {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 24px 0;
  font-weight: 500;
  color: var(--text);
}
.contact-coords {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}
.contact-coords a {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  transition: color 0.2s ease;
}
.contact-coords a:hover { color: var(--teal-dark); }
.coords-hint {
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
/* Titre d'un groupe de cases à cocher : ce n'est pas un <label> car il
   ne désigne aucun champ précis, il nomme le groupe (aria-labelledby). */
.form-group-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(12, 181, 166, 0.14);
}
.form-field textarea { resize: vertical; }
.form-legal {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 14px;
  text-align: center;
}
/* Échec d'envoi du formulaire : l'erreur doit être aussi visible que
   le message de succès, sinon le visiteur croit avoir envoyé sa
   demande alors qu'elle est perdue. */
.form-error {
  display: block;
  margin-top: 14px;
  padding: 11px 14px;
  border: 1px solid rgba(196, 61, 61, 0.35);
  background: rgba(196, 61, 61, 0.07);
  border-radius: 12px;
  color: #a32525;
  font-size: 13.5px;
  line-height: 1.45;
  text-align: center;
}
.form-error[hidden] { display: none; }
button[type="submit"][disabled] { opacity: 0.65; cursor: progress; }

.form-success {
  background: var(--white);
  border: 1px solid rgba(12, 181, 166, 0.4);
  border-radius: 20px;
  padding: 56px 40px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.success-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 20px;
}
.form-success h3 { font-size: 24px; margin-bottom: 10px; }
.form-success p { color: var(--muted); max-width: 420px; margin: 0 auto; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 72px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.9fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}
.footer-brand .brand-text { color: var(--white); }
.footer-brand .brand-sub { color: rgba(255, 255, 255, 0.45); }
.footer-brand > p { margin-top: 18px; font-size: 15px; }
.footer-tagline { color: var(--teal) !important; font-weight: 600; font-size: 14px !important; }

.footer-col h4 {
  color: var(--white);
  font-size: 15px;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14.5px;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--teal); }
.footer-contact a { font-weight: 500; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
}
.footer-bottom p { font-size: 13px; color: rgba(255, 255, 255, 0.45); }

/* ============================================================
   MODALES
   ============================================================ */
.modal[hidden] { display: none; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 17, 31, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.modal-panel {
  position: relative;
  background: var(--white);
  border-radius: 20px;
  max-width: 600px;
  width: 100%;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  max-height: 85vh;
  overflow: auto;
}
.modal-panel h3 { font-size: 22px; margin-bottom: 16px; }
.modal-panel p { font-size: 15px; color: var(--text); margin-bottom: 12px; }
.modal-sub { color: var(--muted) !important; font-size: 14px !important; line-height: 1.5 !important; }
.modal-sub strong { color: var(--teal-dark); }
.modal-check { list-style: none; padding: 0; margin: 0 0 16px; }
.modal-check li {
  position: relative;
  padding: 8px 0 8px 28px;
  font-size: 15px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.modal-check li::before {
  content: "✓";
  position: absolute;
  left: 2px;
  top: 8px;
  color: var(--teal-dark);
  font-weight: 800;
}
.modal-note {
  font-size: 13px !important;
  color: var(--muted) !important;
  font-style: italic;
  margin-bottom: 18px !important;
}
.modal-gift {
  border: 1px dashed var(--teal);
  background: rgba(12, 181, 166, 0.1);
  color: var(--teal-dark);
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 800;
  font-size: 14px;
  text-align: center;
  margin-bottom: 14px;
}
.modal-placeholder {
  font-size: 13px !important;
  color: var(--muted) !important;
  font-style: italic;
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 12px 14px;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--ink);
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.modal-close:hover { background: #e9eef6; }

/* ============================================================
   MOBILE CTA
   ============================================================ */
.no-scroll { overflow: hidden; }

.mobile-cta {
  display: none;
  position: fixed;
  bottom: 16px;
  bottom: max(16px, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  z-index: 950;
  width: calc(100% - 32px);
  max-width: 420px;
  padding: 15px 24px;
  padding-bottom: max(15px, env(safe-area-inset-bottom));
  border-radius: 14px;
  text-align: center;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 16px 40px rgba(12, 181, 166, 0.4);
  opacity: 0;
  transform: translateX(-50%) translateY(20px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.mobile-cta.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* ============================================================
   SOLUTION SUR MESURE
   ============================================================ */
.solution-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}
.solution-visual {
  position: sticky;
  top: calc(var(--header-h) + 40px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.sv-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
  transform: translateX(0);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.sv-card:hover { transform: translateX(6px); box-shadow: var(--shadow-md); border-color: rgba(12, 181, 166, 0.4); }
.sv-card p { font-weight: 600; color: var(--ink); font-size: 16px; }
.sv-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  font-size: 22px;
  background: var(--teal-soft);
  border-radius: 14px;
  flex: none;
}
.sv-card:nth-child(2) { transform: translateX(24px); }
.sv-card:nth-child(3) { transform: translateX(48px); }
.sv-card:nth-child(4) { transform: translateX(72px); }
.sv-card:nth-child(2):hover,
.sv-card:nth-child(3):hover,
.sv-card:nth-child(4):hover { transform: translateX(78px); }
.sv-note {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
  font-style: italic;
  text-align: center;
}

/* Cases à cocher */
.form-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
}
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text);
  cursor: pointer;
  line-height: 1.4;
}
.check-item input {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--teal-dark);
  flex: none;
  cursor: pointer;
}

/* ============================================================
   SYSTÈME D'HEURES MODULABLES
   ============================================================ */
.hours-banner {
  position: relative;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  border-radius: 26px;
  padding: 48px 44px;
  box-shadow: var(--shadow-lg);
  color: var(--white);
  margin-top: 64px;
}
.hours-banner .eyebrow { color: var(--teal); }
.hb-content { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.hb-content h3 { color: var(--white); font-size: 30px; margin-bottom: 12px; }
.hb-content p { color: rgba(255, 255, 255, 0.78); font-size: 16px; }
.hours-banner .calculator {
  background: var(--white);
  box-shadow: none;
  border-radius: 20px;
  max-width: 820px;
}

/* ============================================================
   SECRÉTARIAT TÉLÉPHONIQUE
   ============================================================ */
.flow {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-md);
  margin-bottom: 40px;
}
.flow-title {
  text-align: center;
  font-size: 20px;
  margin-bottom: 28px;
}
.flow-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  counter-reset: flow;
}
.flow-step {
  position: relative;
  background: var(--bg-soft);
  border-radius: 14px;
  padding: 22px 20px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.flow-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.fs-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 12px;
}
.flow-step strong { display: block; color: var(--ink); font-size: 15px; margin-bottom: 6px; }
.flow-step p { font-size: 13.5px; color: var(--muted); }

.srv-capgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 40px;
}
.srv-cap {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.srv-cap:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(106, 76, 224, 0.35); }
.sc-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  font-size: 22px;
  background: var(--violet-soft);
  border-radius: 14px;
  flex: none;
}
.srv-cap h3 { font-size: 16px; }

.srv-price {
  text-align: center;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  border-radius: 24px;
  padding: 48px 32px;
  color: var(--white);
}
.sp-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}
.sp-title {
  font-size: clamp(22px, 3.4vw, 32px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 14px;
}
.sp-note {
  color: rgba(255, 255, 255, 0.78);
  max-width: 560px;
  margin: 0 auto 28px;
  font-size: 16px;
}

/* ============================================================
   RÉALISATIONS
   ============================================================ */
.work-cats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}
.work-cat {
  font-size: 14px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--muted);
  cursor: default;
}
.work-cat.is-active {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: #fff;
  border-color: transparent;
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.work-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.work-mock {
  height: 150px;
  border-radius: 14px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  margin-bottom: 20px;
  padding: 18px;
  position: relative;
  overflow: hidden;
}
.wm-bar { display: flex; gap: 6px; margin-bottom: 14px; }
.wm-bar i { width: 10px; height: 10px; border-radius: 50%; background: #dbe3ee; }
.wm-bar i:nth-child(1) { background: #ffb4a2; }
.wm-bar i:nth-child(2) { background: #ffd97a; }
.wm-bar i:nth-child(3) { background: #9fe3b4; }
.wm-logo { width: 70px; height: 22px; border-radius: 6px; background: linear-gradient(135deg, var(--teal), var(--teal-dark)); margin-bottom: 14px; }
.wm-line { height: 9px; border-radius: 5px; background: #dfe7f1; margin-bottom: 8px; }
.w80 { width: 82%; }
.w55 { width: 58%; }
.w60 { width: 62%; }
.w70 { width: 72%; }
.w45 { width: 46%; }
.wm-boxes { display: flex; gap: 8px; margin-top: 14px; }
.wm-boxes span { flex: 1; height: 46px; border-radius: 8px; background: #eef3f9; border: 1px solid #e2eaf4; }
.wm-boxes span:nth-child(2) { background: var(--teal-soft); }
.wg-pin { font-size: 24px; }
.wg-name { width: 60%; height: 18px; border-radius: 6px; background: var(--navy-900); margin-bottom: 10px; }
.wg-stars { color: #f5b301; font-size: 16px; }
.wg-stars em { font-style: normal; color: var(--muted); }
.ws-ico { font-size: 24px; }
.ws-post { height: 60px; border-radius: 8px; background: linear-gradient(135deg, var(--violet-soft), #ffffff); margin-top: 12px; border: 1px solid var(--border); }
.work-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  color: var(--violet);
  background: var(--violet-soft);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}
.work-card h3 { font-size: 17px; margin-bottom: 8px; }
.work-card p { font-size: 14px; color: var(--muted); }
.work-note {
  text-align: center;
  margin-top: 32px;
  color: var(--muted);
  font-size: 14.5px;
}
.work-note a { font-weight: 600; }

/* ============================================================
   À PROPOS — FONDATEURS
   ============================================================ */
.founder-head {
  text-align: center;
  margin: 64px 0 36px;
}
.founder-head h2 { font-size: 30px; margin-bottom: 8px; }
.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
}
.founder-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.founder-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.founder-role {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-dark);
  background: var(--teal-soft);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.founder-card h3 { font-size: 21px; margin-bottom: 14px; }
.founder-card ul { display: flex; flex-direction: column; gap: 9px; }
.founder-card li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  color: var(--text);
}
.founder-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal-dark);
  font-weight: 700;
}

/* ============================================================
   AVIS CLIENTS — PLACEHOLDER
   ============================================================ */
.tp-sub {
  font-size: 15px !important;
  color: var(--muted) !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  max-width: 480px;
  margin: 0 auto 24px !important;
}

/* ============================================================
   WHATSAPP — bouton flottant
   ============================================================ */
.wa-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 960;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 18px 36px rgba(37, 211, 102, 0.5); }
.wa-float:active { transform: scale(0.96); }

.coords-wa { display: inline-flex; background: var(--teal-soft); border-radius: 10px; padding: 0 10px; color: var(--teal-dark) !important; }
.rdv-note {
  font-size: 13.5px;
  color: var(--muted);
  background: var(--bg-soft);
  border-left: 3px solid var(--violet);
  border-radius: 0 10px 10px 0;
  padding: 12px 16px;
  margin: 4px 0 14px;
}
.faq-link { font-weight: 600; }
.footer-social-title { margin-top: 24px; }
.footer-hint { color: rgba(255, 255, 255, 0.35) !important; }

/* ============================================================
   BARRE D'ACTION MOBILE
   ============================================================ */
.action-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 940;
  background: rgba(11, 27, 51, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 8px 12px;
  padding-bottom: max(8px, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.ab-action {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 8px 4px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.9);
  transition: background 0.2s ease;
}
.ab-action:active { background: rgba(255, 255, 255, 0.1); }
.ab-ico { font-size: 20px; line-height: 1; }
.ab-label { font-size: 12px; font-weight: 600; }
.ab-primary { background: linear-gradient(135deg, var(--teal), var(--teal-dark)); }
.ab-primary:active { background: var(--teal-dark); }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
html.js .reveal.inview {
  opacity: 1;
  transform: none;
}

.noscript-note {
  background: #fff7e6;
  color: #8a5b00;
  padding: 10px 16px;
  text-align: center;
  font-size: 13px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
.price-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .serv-grid { grid-template-columns: repeat(2, 1fr); }
  .serv-poles { grid-template-columns: repeat(2, 1fr); }
  .ao-steps { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps .step:nth-last-child(-n+2) { grid-column: span 1; }
  .about-grid, .creation-wrap { gap: 40px; }
  .solution-wrap { grid-template-columns: 1fr; gap: 40px; }
  .solution-visual { position: static; display: grid; grid-template-columns: 1fr 1fr; }
  .sv-card { transform: none !important; }
  .sv-card:nth-child(2), .sv-card:nth-child(3), .sv-card:nth-child(4), .sv-card:nth-child(2):hover, .sv-card:nth-child(3):hover, .sv-card:nth-child(4):hover { transform: none !important; }
  .sv-note { grid-column: 1 / -1; }
  .flow-list { grid-template-columns: repeat(2, 1fr); }
  .srv-capgrid { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
}

/* L'accueil porte 8 liens, les pages pôles 6 : il faut donc resserrer
   l'en-tête sur toute la plage desktop, sinon les libellés débordent et
   passent sur deux lignes (mesuré de 1310 à 1440 px avant ce correctif). */
@media (min-width: 1201px) and (max-width: 1440px) {
  .header-inner { gap: 12px; }
  .main-nav { gap: 10px; }
  .nav-list { gap: 0; }
  .nav-link { padding: 9px 5px; }
  .nav-cta { padding: 10px 10px; font-size: 12.5px; }
  .auth-avatar { padding: 8px 9px; }
  .auth-avatar.is-admin [data-auth-label] { display: inline; }
}

@media (min-width: 1201px) and (max-width: 1340px) {
  /* Place vraiment insuffisante : on resserre encore un cran. */
  .nav-link { padding: 9px 4px; font-size: 13px; }
  .nav-cta { padding: 10px 8px; font-size: 12px; }
}

@media (max-width: 1200px) {
  /* En-tête : menu plein écran dès 1200 px pour ne pas déborder
     avec 9 liens + CTA + bouton compte. Retirer le backdrop-filter
     pour ne pas "piéger" les enfants fixed (menu) */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .header-inner { gap: 12px; }
  .nav-toggle { display: flex; flex: none; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 950;
    background: rgba(255, 255, 255, 0.985);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 22px calc(24px + env(safe-area-inset-bottom));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
  }
  .main-nav.open {
    opacity: 1;
    transform: none;
    visibility: visible;
    pointer-events: auto;
  }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav li {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.32s ease, transform 0.32s ease;
  }
  .main-nav.open li { opacity: 1; transform: none; }
  .main-nav ul li:nth-child(1) { transition-delay: 0.03s; }
  .main-nav ul li:nth-child(2) { transition-delay: 0.07s; }
  .main-nav ul li:nth-child(3) { transition-delay: 0.11s; }
  .main-nav ul li:nth-child(4) { transition-delay: 0.15s; }
  .main-nav ul li:nth-child(5) { transition-delay: 0.19s; }
  .main-nav ul li:nth-child(6) { transition-delay: 0.23s; }
  .main-nav ul li:nth-child(7) { transition-delay: 0.27s; }
  .nav-link {
    display: block;
    padding: 16px 18px;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 600;
    color: var(--ink);
  }
  .nav-link.active { background: var(--teal-soft); color: var(--teal-dark); }
  .nav-cta { margin-top: 20px; width: 100%; padding: 16px 20px; font-size: 16px; }
  .nav-cta.nav-cta--active { display: none; }
}

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 520px; margin: 0 auto; }
  .fc-1 { left: 0; }
  .fc-2 { left: -4px; }
  .fc-3 { right: 0; }
  .about-card-visual { max-width: 520px; }
  .about-grid, .creation-wrap { grid-template-columns: 1fr; }
  .creation-content { max-width: none; }
  .ac-small { transform: none; }

  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  :root { --header-h: 62px; --radius: 14px; }
  body { font-size: 15.5px; }
  .container { padding: 0 20px; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 40px; }
  .section-head h2 { font-size: 26px; }
  .section-sub { font-size: 15.5px; }

  .brand-mark svg { width: 34px; height: 43px; }
  .brand-text { font-size: 17px; }
  .brand-sub { font-size: 7px; letter-spacing: 0.15em; }
  .header-inner { gap: 10px; }

  .hero { padding-top: calc(var(--header-h) + 36px); }
  .hero h1 { font-size: 31px; line-height: 1.22; }
  .hero-slogan { font-size: 14.5px; margin-bottom: 12px; }
  .hero-lead { font-size: 16px; margin-bottom: 24px; }
  .hero-trust { font-size: 13px; gap: 8px 18px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-visual { padding: 12px; }
  .adv-grid { grid-template-columns: 1fr; margin-top: 40px; gap: 14px; }
  .adv-card { padding: 24px 20px; }

  .btn { padding: 15px 22px; }
  .grid-4 { gap: 16px; }
  .feature-card, .serv-card, .price-card { padding: 26px 22px; }
  .serv-grid { gap: 16px; }
  .serv-list { gap: 8px; }
  .serv-list li, .price-list li, .price-scale li { font-size: 14px; }

  .price-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 14px;
    margin: 0 0 40px;
    scrollbar-width: none;
  }
  .price-grid::-webkit-scrollbar { display: none; }
  .price-card {
    flex: 0 0 80%;
    scroll-snap-align: center;
    margin-bottom: 12px;
  }
  .price-card.featured { order: -1; }
  .price-amount span { font-size: 29px; }
  .featured-badge { top: -13px; font-size: 11px; }

  .swipe-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--teal-dark);
    margin: -28px 0 24px;
  }

  .calculator { padding: 30px 18px; border-radius: 20px; }
  .calc-head h3 { font-size: 22px; }
  .calc-head p { font-size: 15px; margin-bottom: 24px; }
  .calc-options { gap: 10px; margin-bottom: 26px; }
  .calc-opt { flex: 1 1 40%; padding: 14px 12px; font-size: 15px; }
  .calc-result { padding: 22px 14px; min-height: 100px; }
  .calc-price { font-size: 32px; }

  .steps { gap: 14px; }
  .step { padding: 24px 20px; }
  .sector-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .sector-card { flex-direction: column; align-items: flex-start; padding: 18px 16px; gap: 12px; }
  .sector-card h3 { font-size: 15px; }
  .sector-emoji { width: 46px; height: 46px; font-size: 21px; }

  .about-values { gap: 12px; }
  .value { padding: 18px; }
  .creation-wrap { gap: 36px; }
  .creation-option { padding: 22px 20px; }
  .creation-option ul { grid-template-columns: 1fr; }
  .co-price strong { font-size: 25px; }

  .cta-final { padding: 60px 0; }
  .cta-inner h2 { font-size: 27px; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; }

  .contact-wrap { gap: 32px; }
  .contact-intro h2 { font-size: 26px; }
  .contact-form { padding: 24px 18px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-field { margin-bottom: 14px; }
  .form-field input, .form-field select, .form-field textarea {
    font-size: 16px;
    padding: 15px 14px;
  }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }

  .mobile-cta { display: block; }
  .testimonial-placeholder { padding: 36px 20px; }
  .testimonial-placeholder p { font-size: 20px; }
  .floating-card { display: none; }

  /* Action bar + marges bas de page */
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .action-bar { display: flex; }
  body.no-scroll .action-bar { display: none; }
  .wa-float { bottom: calc(78px + env(safe-area-inset-bottom)); width: 52px; height: 52px; right: 16px; }
  .wa-float svg { width: 26px; height: 26px; }

  /* Formules : carte pleine largeur lisible */
  .price-card { flex: 0 0 86%; }

  /* Simulateur : options en grille lisible */
  .calc-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .calc-opt { width: 100%; padding: 15px 12px; font-size: 16px; min-height: 52px; display: flex; align-items: center; justify-content: center; }

  /* Heures modulables */
  .hours-banner { padding: 32px 18px; border-radius: 22px; margin-top: 48px; }
  .hb-content h3 { font-size: 23px; }
  .hb-content p { font-size: 15px; }
  .hours-banner .calculator { padding: 26px 14px; }

  /* Secrétariat */
  .flow { padding: 24px 16px; }
  .flow-list { grid-template-columns: 1fr; gap: 10px; }
  .flow-step { padding: 16px 16px; text-align: left; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
  .fs-num { margin-bottom: 0; flex: none; }
  .flow-step strong { display: block; margin-bottom: 0; }
  .flow-step p { width: 100%; }
  .srv-capgrid { grid-template-columns: 1fr; gap: 12px; }
  .srv-cap { padding: 18px; }
  .srv-price { padding: 36px 20px; }

  /* Solution sur mesure */
  .solution-wrap { gap: 28px; }
  .solution-visual { grid-template-columns: 1fr; gap: 12px; }
  .sv-note { grid-column: 1; text-align: left; }
  .form-checks { grid-template-columns: 1fr; padding: 14px; }
  .check-item { font-size: 15px; padding: 6px 0; }

  /* Réalisations */
  .work-grid { grid-template-columns: 1fr; gap: 16px; }
  .work-card { padding: 20px; }
  .work-mock { height: 140px; }

  /* Fondateurs */
  .founder-grid { grid-template-columns: 1fr; gap: 16px; }
  .founder-head { margin: 44px 0 28px; }
  .founder-head h2 { font-size: 24px; }
  .founder-card { padding: 26px 22px; }
  .founder-card li { font-size: 15px; }

  .quick-nav { padding-bottom: 6px; }
}

/* ---------- Très petits écrans (< 480px) ---------- */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .brand-mark svg { width: 30px; height: 38px; }
  .brand-text { font-size: 16px; }
  .brand-sub { font-size: 6.5px; letter-spacing: 0.14em; }

  .hero h1 { font-size: 28px; }
  .hero-lead { font-size: 15.5px; }
  .hero-inner { gap: 40px; }

  .calc-opt { flex: 1 1 calc(50% - 8px); }
  .sector-grid { grid-template-columns: 1fr; }
  .sector-card { flex-direction: row; align-items: center; padding: 14px 16px; }
  .sector-card h3 { font-size: 15.5px; }

  .footer-contact a { font-size: 14.5px; }
  .coords-hint { font-size: 11px; }
}

/* ============================================================
   MODE MOBILE "APPLI" : accueil + navigation par pages
   ============================================================ */
.quick-nav { display: none; }
.back-home { display: none; }

body.mobile.mpage-home main section[data-page]:not([data-page="home"]) { display: none; }
body.mobile.mpage-services main section[data-page]:not([data-page="services"]) { display: none; }
body.mobile.mpage-solution main section[data-page]:not([data-page="solution"]) { display: none; }
body.mobile.mpage-creation main section[data-page]:not([data-page="creation"]) { display: none; }
body.mobile.mpage-secretariat main section[data-page]:not([data-page="secretariat"]) { display: none; }
body.mobile.mpage-apropos main section[data-page]:not([data-page="apropos"]) { display: none; }
body.mobile.mpage-realisations main section[data-page]:not([data-page="realisations"]) { display: none; }
body.mobile.mpage-faq main section[data-page]:not([data-page="faq"]) { display: none; }
body.mobile.mpage-contact main section[data-page]:not([data-page="contact"]) { display: none; }

main.pf > section[data-page]:not([style*="display"]) { animation: pfade 0.35s ease; }

@keyframes pfade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 960px) {
  .quick-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: -24px;
    position: relative;
    z-index: 2;
  }
  .quick-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    min-height: 92px;
    padding: 16px 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 16px;
    color: var(--white);
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  }
  .quick-card:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(12, 181, 166, 0.5); }
  .quick-card:active { transform: scale(0.96); }
  .qc-ico { font-size: 24px; line-height: 1; }
  .qc-title { font-size: 12.5px; font-weight: 600; letter-spacing: 0.01em; }

  .adv-grid { display: none; }
  .hero-visual { display: none; }

  body.mobile:not(.mpage-home) .back-home {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: fixed;
    top: calc(var(--header-h) + 10px);
    left: 12px;
    z-index: 940;
    padding: 9px 14px;
    border-radius: 999px;
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    color: var(--ink);
    font-size: 13px;
    font-weight: 600;
  }

  body.mobile.mpage-contact .mobile-cta { display: none; }
  /* Cacher les boutons flottants quand le menu est ouvert */
  body.no-scroll .mobile-cta, body.no-scroll .back-home, body.no-scroll .action-bar { display: none !important; }

  .section .container { padding-top: 8px; }
}

/* ---------- Tablette (intermédiaire 721-960) ---------- */
@media (min-width: 721px) and (max-width: 960px) {
  .serv-grid { grid-template-columns: repeat(2, 1fr); }
  .serv-poles { grid-template-columns: repeat(2, 1fr); }
  .ao-steps { grid-template-columns: repeat(2, 1fr); }
  .founder-grid { grid-template-columns: 1fr 1fr; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-list { grid-template-columns: repeat(2, 1fr); }
  .srv-capgrid { grid-template-columns: repeat(2, 1fr); }
  .form-checks { grid-template-columns: 1fr 1fr; }
  .hours-banner { padding: 40px 32px; }
  .hero-visual { display: block; max-width: 560px; }
  .adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .adv-card { padding: 22px 18px; }
  .quick-nav { margin-top: 0; }
  .quick-card { min-height: 84px; }
}

@media (max-width: 480px) {
  .quick-nav { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .quick-card { min-height: 84px; padding: 14px 8px; }
}

/* ============================================================
   ACCESSIBILITÉ : mouvement réduit
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
  html.js .reveal { opacity: 1; transform: none; }
  .floating-card { animation: none; }
}

/* ============================================================
   FORMULES → 3 FAMILLES (cartes épurées)
   ============================================================ */
.price-families {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 32px;
}
.pf-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.pf-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(12, 181, 166, 0.35);
}
.pf-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.pf-ico {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: var(--teal-soft);
  border-radius: 12px;
}
.pf-head h3 { font-size: 18px; font-weight: 700; margin-bottom: 5px; letter-spacing: 0.01em; }

.pf-tiers { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.pf-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  transition: border-color 0.25s ease;
}
.pf-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.pf-end { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.pf-more { font-size: 12.5px; font-weight: 700; color: var(--teal); text-decoration: none; }
.pf-more:hover { text-decoration: underline; }
.pf-row:hover { border-color: rgba(12, 181, 166, 0.4); }
.pf-row .pf-name { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 15px; font-weight: 700; }
.pf-row .pf-desc { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.pf-row .pf-price { font-size: 19px; font-weight: 800; color: var(--teal-dark); white-space: nowrap; }
.pf-row.hot {
  border: 2px solid var(--teal);
  background: linear-gradient(135deg, rgba(12, 181, 166, 0.16), rgba(12, 181, 166, 0.04));
  box-shadow: 0 10px 24px rgba(12, 181, 166, 0.16);
}
.pf-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.pf-opt {
  border: 1px dashed var(--teal);
  border-radius: 12px;
  padding: 11px 14px;
  margin-bottom: 14px;
  background: var(--bg-soft);
  font-size: 13.5px;
  font-weight: 600;
  text-align: center;
}
.pf-opt b { color: var(--teal-dark); }

.pf-foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.6;
  text-align: center;
}
.pf-foot b { color: var(--ink); }

.tarif-note { text-align: center; font-size: 13.5px; color: var(--muted); margin-bottom: 0; }
.tarif-note b { color: var(--ink); }

/* ============================================================
   COMPOSEZ VOTRE FORMULE
   ============================================================ */
.builder-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 22px;
  align-items: start;
}
.bgroup { display: flex; flex-direction: column; gap: 16px; }
.bgroup-card {
  margin: 0;
  padding: 20px 22px 8px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--white);
}
/* Le <legend> s'inscrit normalement dans la bordure d'un <fieldset> : le
   titre se retrouvait à cheval sur le coin arrondi de la carte, coupé et
   collé aux premières cases à cocher. On le force à occuper sa propre ligne. */
.bgroup-card legend {
  float: left;
  width: 100%;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.3;
  padding: 0;
  margin: 0 0 8px;
}

.bitem {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 2px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}
.bitem:last-child { border-bottom: none; }
.bitem input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  accent-color: var(--teal);
  cursor: pointer;
}
.bitem span { font-size: 14px; color: var(--text); }
.bitem.on span { color: var(--teal-dark); font-weight: 600; }

.bresult {
  position: sticky;
  top: 24px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px 24px;
  text-align: center;
}
.bresult-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.bresult-time { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.bresult-price { font-size: 30px; font-weight: 800; color: var(--teal-dark); letter-spacing: -0.03em; margin-bottom: 6px; }
.bresult-price small { display: block; font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.bresult-note { font-size: 13px; color: var(--muted); line-height: 1.55; margin-bottom: 20px; }
.bresult-note strong { color: var(--teal-dark); }
.bresult .btn { width: 100%; }

@media (max-width: 1100px) {
  .price-families { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .builder-grid { grid-template-columns: 1fr; }
  .bresult { position: static; }
}

@media (max-width: 720px) {
  .pf-card { padding: 22px 18px; }
  .pf-price { font-size: 18px; }
}

/* ============================================================
   APPLICATION MOBILE (téléphone ≤ 720 px) — sphère 3D
   La version ordinateur (> 720 px) n'est jamais affectée.
   ============================================================ */
#mob-shell { display: none; }

@media (max-width: 720px) {

  /* Masque l'expérience ordinateur sur téléphone */
  header.site-header,
  main#contenu,
  footer.site-footer,
  .action-bar,
  .wa-float,
  #back-home,
  .mobile-cta { display: none !important; }

  #mob-shell {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    z-index: 940;
    background: linear-gradient(180deg, #06131f 0%, #063b49 55%, #0b6d63 100%);
    color: #ffffff;
    overflow: hidden;
  }

  /* ---- Barre du haut ---- */
  .mob-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(6, 19, 31, 0.55);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 6;
  }
  .mob-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 800;
    font-size: 17px;
    letter-spacing: 0.01em;
  }
  .mob-brand img { height: 30px; width: auto; }
  .mob-back,
  .mob-burger {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
  }
  .mob-back[hidden] { display: none; }

  /* ---- Navigation du "head" adapté mobile ---- */
  .mob-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    background: rgba(6, 19, 31, 0.55);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 0 16px 12px;
    margin-top: -4px;
    z-index: 6;
  }
  .mob-nav::-webkit-scrollbar { display: none; }
  .mob-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 7px 13px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
  }
  .mob-nav a:active { background: rgba(12, 181, 166, 0.35); }
  .mob-cta {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
    background: linear-gradient(135deg, #0cb5a6, #0c8f85);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
  }
  .mob-cta:active { transform: scale(0.97); }

  /* ---- Menu coulissant (haut droite) ---- */
  .mob-menu {
    position: absolute;
    top: 118px;
    right: 12px;
    left: 12px;
    z-index: 7;
    background: rgba(10, 32, 46, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    padding: 8px;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
  }
  .mob-menu[hidden] { display: none; }
  .mob-menu a {
    padding: 13px 14px;
    border-radius: 12px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
  }
  .mob-menu a:hover { background: rgba(12, 181, 166, 0.22); }
  .mob-menu-cta {
    display: flex;
    gap: 8px;
    margin-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding-top: 8px;
  }
  .mob-menu-cta a {
    flex: 1;
    text-align: center;
    background: rgba(12, 181, 166, 0.16);
  }

  /* ---- Écrans ---- */
  .mob-main { flex: 1; position: relative; }
  .mob-screen {
    position: absolute;
    inset: 0;
    display: none;
    flex-direction: column;
    gap: 16px;
    padding: 14px 18px 28px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    color: #ffffff;
  }
  .mob-screen.active { display: flex; }
  .mob-screen[hidden] { display: none !important; }

  .mob-screen-title span {
    display: block;
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -0.01em;
  }
  .mob-screen-title em {
    display: block;
    font-style: normal;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.72);
    margin-top: 3px;
    line-height: 1.5;
  }

  /* ---- Accueil / sphère ---- */
  .mob-home { justify-content: flex-start; align-items: center; text-align: center; overflow-y: auto; padding-top: 8px; }
  .mob-home-sub {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    letter-spacing: 0.02em;
  }
  .mob-home-title {
    font-size: 25px;
    font-weight: 800;
    margin: 2px 0 4px;
    letter-spacing: -0.02em;
  }

  .mob-home-intro {
    max-width: 330px;
    font-size: 14.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
    margin: 2px auto 0;
  }
  .mob-home-services {
    width: 100%;
    max-width: 340px;
    margin: 10px auto 4px;
    text-align: left;
  }
  .mob-home-services > strong {
    display: block;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 8px;
    text-align: center;
  }
  .mob-home-services a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 13px;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 8px;
  }
  .mob-home-services a:active { background: rgba(12, 181, 166, 0.3); }
  .mob-home-services a span { font-size: 18px; }

  .mob-sphere {
    position: relative;
    width: 340px;
    height: 340px;
    margin: 6px auto;
    perspective: 900px;
    -webkit-perspective: 900px;
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }
  .mob-ring {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
  }
  .mob-orb {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 72px;
    height: 72px;
    margin: -36px 0 0 -36px;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    cursor: pointer;
    background: radial-gradient(circle at 30% 25%, #2ad1c0, #0cb5a6 48%, #078a7e);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4), inset 0 -4px 10px rgba(0, 0, 0, 0.25);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    opacity: 0.85;
    transition: opacity 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
  }
  .mob-orb:nth-child(2) {
    background: radial-gradient(circle at 30% 25%, #a18bff, #8b6bff 48%, #6245d6);
  }
  .mob-orb:nth-child(3) {
    background: radial-gradient(circle at 30% 25%, #ffe08a, #ffb02e 48%, #e08600);
  }
  .mob-orb:nth-child(4) {
    background: radial-gradient(circle at 30% 25%, #ffb0d0, #f5529b 48%, #b3226f);
  }
  .mob-orb.active {
    opacity: 1;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.9), 0 0 26px rgba(12, 181, 166, 0.85);
    transform-origin: center;
  }
  .mob-orb:nth-child(2).active {
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.9), 0 0 26px rgba(139, 107, 255, 0.85);
  }
  .mob-orb:nth-child(3).active {
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.9), 0 0 26px rgba(255, 176, 46, 0.85);
  }
  .mob-orb:nth-child(4).active {
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.9), 0 0 26px rgba(245, 82, 155, 0.85);
  }
  .mob-globe {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 172px;
    height: 172px;
    margin: -86px 0 0 -86px;
    border-radius: 50%;
    background: radial-gradient(circle at 32% 28%, #3adcca, #0cb5a6 42%, #06444f 100%);
    box-shadow: 0 0 44px rgba(12, 181, 166, 0.55), inset -16px -20px 44px rgba(0, 0, 0, 0.4);
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    will-change: transform;
  }
  .mob-globe::before,
  .mob-globe::after {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 50%;
  }
  .mob-globe::before {
    border: 2px solid rgba(255, 255, 255, 0.28);
    border-left-color: transparent;
    border-right-color: transparent;
    transform: rotateY(24deg);
  }
  .mob-globe::after {
    border: 2px solid rgba(255, 255, 255, 0.24);
    border-top-color: transparent;
    border-bottom-color: transparent;
    transform: rotateX(78deg);
  }
  @keyframes mobGlobeSpin {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
  }

  .mob-open {
    display: flex;
    align-items: center;
    gap: 10px;
    border: none;
    border-radius: 999px;
    padding: 12px 18px;
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    background: linear-gradient(135deg, #0cb5a6, #0c8f85);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
    cursor: pointer;
    transition: transform 0.2s ease;
  }
  .mob-open:active { transform: scale(0.97); }
  .mob-open-ico { font-size: 18px; }
  .mob-open-go { font-size: 15px; }
  .mob-hint {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.62);
    margin: 0;
  }

  /* ---- Carrousel formules ---- */
  .mob-cards { position: relative; }
  .mob-card {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: #ffffff;
    color: var(--ink);
    border-radius: 20px;
    padding: 20px 20px 22px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
  }
  .mob-card.active { display: flex; }
  .mob-fam {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--teal-dark);
    margin-bottom: 6px;
  }
  .mob-card h2 {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 2px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    color: var(--ink);
  }
  .mob-fh {
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
    margin: 0;
  }
  .mob-fprice {
    font-size: 34px;
    font-weight: 800;
    color: var(--teal-dark);
    letter-spacing: -0.04em;
    margin: 8px 0 0;
  }
  .mob-fnote {
    font-size: 12px;
    color: var(--muted);
    margin: 0 0 14px;
  }
  .mob-gift {
    border: 1px dashed var(--teal);
    background: rgba(12, 181, 166, 0.1);
    color: var(--teal-dark);
    border-radius: 12px;
    padding: 10px 12px;
    font-weight: 800;
    font-size: 13px;
    text-align: center;
    margin: 6px 0 12px;
  }
  .mob-card .btn { margin-top: auto; }

  .mob-carousel-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  .mob-arrow {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
  }
  .mob-arrow:disabled { opacity: 0.35; cursor: default; }
  .mob-dots {
    display: flex;
    gap: 7px;
    justify-content: center;
    flex: 1;
  }
  .mob-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
  }
  .mob-dot.on { background: #ffffff; }
  .mob-choose { margin-top: 4px; }

  /* ---- Écrans contenu ---- */
  .mob-p {
    font-size: 14.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
  }

  .mob-builder {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .mob-builder .bgroup-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px 16px 8px;
  }
  /* Le <legend> s'inscrit normalement dans la bordure d'un <fieldset> : le
     titre se retrouvait à cheval sur le coin arrondi, coupé et collé aux
     premières cases à cocher. On le force à occuper sa propre ligne. */
  .mob-builder .bgroup-card legend {
    float: left;
    width: 100%;
    padding: 0;
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.3;
  }

  .mob-bresult {
    background: #ffffff;
    color: var(--ink);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    border: 1px solid var(--border);
  }
  .mob-bresult-label {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 10px;
  }
  .mob-bresult-time {
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    margin: 0 0 4px;
  }
  .mob-bresult-price {
    font-size: 28px;
    font-weight: 800;
    color: var(--teal-dark);
    letter-spacing: -0.03em;
    margin: 0 0 6px;
  }
  .mob-bresult-note {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.55;
    margin: 0 0 16px;
  }

  .mob-option {
    background: #ffffff;
    color: var(--ink);
    border-radius: 18px;
    padding: 20px;
  }
  .mob-option.slim {
    border: 2px solid rgba(12, 181, 166, 0.4);
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
  }
  .mob-opt-price { font-size: 14px; color: var(--muted); margin: 0 0 4px; }
  .mob-opt-price strong {
    font-size: 26px;
    font-weight: 800;
    color: var(--teal-dark);
    margin-right: 4px;
  }
  .mob-option.slim .mob-opt-price strong { color: #ffffff; }
  .mob-option h3 { font-size: 18px; font-weight: 800; margin: 0 0 10px; }
  .mob-option ul {
    list-style: none;
    padding: 0;
    margin: 0 0 4px;
  }
  .mob-option li {
    position: relative;
    padding: 5px 0 5px 24px;
    font-size: 14px;
  }
  .mob-option li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 5px;
    color: var(--teal-dark);
    font-weight: 800;
  }
  .mob-opt-hint {
    font-size: 12.5px;
    color: var(--muted);
    font-style: italic;
    margin: 8px 0 0;
  }

  .mob-capgrid,
  .mob-svgrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .mob-capgrid span,
  .mob-svgrid span {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    padding: 14px 10px;
    text-align: center;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.4;
  }

  .mob-tarifcard {
    background: rgba(12, 181, 166, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 16px;
  }
  .mob-tarif-title {
    font-size: 15px;
    font-weight: 800;
    margin: 0 0 6px;
  }

  .mob-subblock {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(12, 181, 166, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 14px 16px;
  }
  .mob-subblock-ico {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(12, 181, 166, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
  }
  .mob-subblock-body { flex: 1; min-width: 0; }
  .mob-subblock-body strong {
    display: block;
    font-size: 14.5px;
    font-weight: 800;
    margin-bottom: 3px;
  }
  .mob-subblock-body p {
    font-size: 12.5px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
  }
  .mob-subblock-link {
    flex: 0 0 auto;
    color: #0cb5a6;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
  }
  .mob-subblock-link:hover { text-decoration: underline; }

  /* Écrans pôles : liste des sous-prestations */
  .mob-polesub {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .mob-polesub > a {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    padding: 12px 14px;
    color: #ffffff;
    text-decoration: none;
  }
  .mob-polesub > a:active { background: rgba(255, 255, 255, 0.18); }
  .mob-polesub span {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(12, 181, 166, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
  }
  .mob-polesub strong {
    display: block;
    font-size: 14.5px;
    font-weight: 800;
  }
  .mob-polesub em {
    display: block;
    font-style: normal;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.72);
    margin-top: 1px;
  }

  /* Écran Appels d'offres : étapes + mention */
  .mob-quote {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    padding: 16px;
    text-align: center;
  }
  .mob-quote p {
    margin: 0;
    font-size: 14.5px;
    font-weight: 800;
    line-height: 1.6;
    color: #ffffff;
  }
  .mob-aosteps {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .mob-aosteps > div {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    padding: 12px 14px;
  }
  .mob-aosteps span {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(139, 107, 255, 0.3);
    color: #c9b8ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 13px;
  }
  .mob-aosteps strong {
    display: block;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
  }
  .mob-aosteps small {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 2px;
    line-height: 1.45;
  }
  .mob-legal {
    font-size: 11.5px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.55);
    margin: 16px 0 0;
    text-align: center;
  }

  .mob-coords {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .mob-coords a {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #ffffff;
    border-radius: 14px;
    padding: 13px 16px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
  }

  .mob-form {
    background: #ffffff;
    border-radius: 18px;
    padding: 18px;
    color: var(--ink);
  }

  @media (prefers-reduced-motion: reduce) {
    .mob-globe { transition: none; }
    .mob-ring { transition: none !important; }
  }
}

/* ============================================================
   PAGES PÔLES
   ============================================================ */
.back-home {
  position: sticky;
  top: 72px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 24px;
  margin-top: 16px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent, #2563eb);
  text-decoration: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
  transition: background 0.2s ease, transform 0.2s ease;
}
.back-home:hover {
  background: #ffffff;
  transform: translateX(-2px);
}

.hero-pole {
  padding: 88px 0 72px;
}
.hero-pole .hero-inner {
  display: block;
}
.hero-pole .hero-content {
  max-width: 820px;
}
.hero-pole .hero-lead {
  max-width: 640px;
}
.hero-pole .hero-actions {
  margin-top: 26px;
  flex-wrap: wrap;
}

.pole-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.pole-flags span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--surface-soft, #f1f5f9);
  border: 1px solid rgba(148, 163, 184, 0.28);
  color: var(--ink, #0f172a);
  font-size: 14px;
  font-weight: 600;
}

/* ============================================================
   APPLICATION MOBILE v2 — app simple avec onglets en bas.
   Remplace la boule 3D et le site PC rapetissé (survole le bloc
   mobile précédent). Le site ordinateur (> 720 px) n'est pas affecté.
   ============================================================ */
@media (max-width: 720px) {
  #mob-shell .mob-top {
    padding-top: calc(12px + env(safe-area-inset-top, 0px));
  }
  #mob-shell .mob-main {
    padding-bottom: 0;
  }

  /* La boule 3D n'est plus proposée */
  #mob-sphere, .mob-open, .mob-hint { display: none !important; }

  /* Accueil : texte lisible, services en grandes cartes */
  #mob-shell .mob-home {
    text-align: left;
    align-items: flex-start;
  }
  #mob-shell .mob-home-sub { font-size: 14.5px; }
  #mob-shell .mob-home-title {
    font-size: 28px;
    margin: 4px 0 12px;
    line-height: 1.15;
  }
  #mob-shell .mob-home-intro {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.6;
  }
  #mob-shell .mob-home-services {
    max-width: 100%;
    margin: 16px auto 4px;
  }
  #mob-shell .mob-home-services > strong { text-align: left; }
  #mob-shell .mob-home-services a {
    gap: 12px;
    padding: 15px 16px;
    font-size: 15.5px;
    margin-bottom: 10px;
    border-radius: 14px;
    touch-action: manipulation;
  }
  #mob-shell .mob-home-services a span { font-size: 21px; }
  #mob-shell .mob-home-services a:active { background: var(--teal, #0cb5a6); color: #fff; }

  /* La rangée de puces du haut fait doublon avec les onglets */
  #mob-shell .mob-nav { display: none !important; }

  /* Formules : toutes les cartes empilées, plus de carrousel */
  #mob-shell .mob-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  #mob-shell .mob-card { display: flex !important; }
  #mob-shell .mob-card.active {
    box-shadow: 0 0 0 2px var(--teal, #0cb5a6), 0 14px 30px rgba(0, 0, 0, 0.3);
  }
  #mob-shell .mob-carousel-nav { display: none !important; }

  /* Lecture générale plus confortable */
  #mob-shell .mob-p { font-size: 15px; }
  #mob-shell .mob-screen-title span { font-size: 25px; }
  #mob-shell .mob-screen-title em { font-size: 14px; }
  #mob-shell .mob-menu { top: 70px; }
  #mob-shell .mob-polesub a {
    gap: 12px;
    padding: 15px 16px;
    font-size: 15.5px;
    border-radius: 14px;
    margin-bottom: 10px;
  }
  /* On garde de la place en bas de chaque écran pour que le dernier
     bouton ("Nos formules") ne soit jamais caché par la barre d'onglets */
  #mob-shell .mob-screen {
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }
  /* Aucun bloc ne doit être aplati : sinon le texte se chevauche
     et le bas de la page devient impossible à atteindre au doigt */
  #mob-shell .mob-screen > * { flex: 0 0 auto; }
  /* Le menu ☰ reste dans l'écran, même sur les petits téléphones */
  #mob-shell .mob-menu {
    max-height: calc(100% - 170px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Barre d'onglets en bas */
  #mob-shell .mob-tabs {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 8;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: rgba(6, 18, 31, 0.94);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px));
  }
  #mob-shell .mob-tab {
    -webkit-appearance: none;
    appearance: none;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.56);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 7px 2px 5px;
    border-radius: 12px;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  #mob-shell .mob-tab-ico { font-size: 21px; line-height: 1; }
  #mob-shell .mob-tab-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: nowrap;
  }
  #mob-shell .mob-tab.is-active {
    color: #fff;
    background: rgba(12, 181, 166, 0.22);
  }

  /* ---------- En-tête mobile : même aspect que l'en-tête ordinateur,
     à l'échelle du téléphone ---------- */
  #mob-shell .mob-top {
    background: rgba(255, 255, 255, 0.94);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.28);
    box-shadow: 0 4px 18px rgba(6, 19, 31, 0.14);
    padding: 9px 12px;
    padding-top: calc(9px + env(safe-area-inset-top, 0px));
    gap: 8px;
  }
  #mob-shell .mob-brand {
    gap: 9px;
    text-decoration: none;
    min-width: 0;
  }
  #mob-shell .mob-brand .brand-mark { height: 36px; width: auto; }
  #mob-shell .mob-brand .brand-text {
    color: var(--ink);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.05em;
    line-height: 1.1;
  }
  #mob-shell .mob-brand .brand-sub {
    color: var(--muted);
    font-size: 6px;
    letter-spacing: 0.16em;
    margin-top: 2px;
  }
  #mob-shell .mob-auth {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 11px;
    border: 1.5px solid var(--border);
    border-radius: 999px;
    background: var(--bg);
    color: var(--ink);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
  }
  #mob-shell .mob-auth svg { width: 16px; height: 16px; }
  #mob-shell .mob-auth:hover { border-color: var(--teal); color: var(--teal-dark); background: var(--teal-soft); }
  #mob-shell .mob-auth.is-admin { border-color: var(--teal); background: var(--teal); color: #fff; }
  #mob-shell .mob-burger,
  #mob-shell .mob-back {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: rgba(15, 23, 42, 0.04);
    color: var(--ink);
    font-size: 18px;
  }
  #mob-shell .mob-menu { top: 62px; }

  /* ---------- Le héros de la page, dans l'accueil de l'app ---------- */
  #mob-shell .mob-hero {
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
    padding: 24px 0 28px;
  }
  #mob-shell .mob-hero .container { padding: 0 18px; }
  /* Le héros copié dans l'app ne dépend pas du défilement de la page :
     tout doit être visible, sinon un grand vide apparaît sous le visuel. */
  #mob-shell .mob-hero .reveal,
  #mob-shell .mob-hero .reveal.inview {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
  /* Un bouton au texte long ne doit pas imposer une largeur minimale,
     sinon tout le héros déborde sur les petits téléphones */
  #mob-shell .mob-hero,
  #mob-shell .mob-hero * { min-width: 0; }
  #mob-shell .btn { white-space: normal; }
  #mob-shell .mob-hero .hero-inner { display: block; }
  #mob-shell .mob-hero .eyebrow { font-size: 11.5px; }
  #mob-shell .mob-hero h1 { font-size: 27px; line-height: 1.18; margin-bottom: 16px; }
  #mob-shell .mob-hero .hero-slogan { font-size: 14px; margin-bottom: 12px; }
  #mob-shell .mob-hero .hero-lead { font-size: 15px; margin-bottom: 22px; }
  #mob-shell .mob-hero .hero-actions {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 22px;
  }
  #mob-shell .mob-hero .hero-actions .btn { width: 100%; }
  #mob-shell .mob-hero .hero-trust { gap: 8px 16px; font-size: 13px; }
  /* le dessin reste visible, avec ses 3 étiquettes sous l'image */
  #mob-shell .mob-hero .hero-visual { display: block; max-width: 420px; margin: 24px auto 0; }
  #mob-shell .mob-hero .visual-frame {
    display: flex;
    flex-direction: column;
    padding: 14px;
    border-radius: 18px;
  }
  #mob-shell .mob-hero .floating-card {
    position: static;
    display: flex;
    animation: none;
    margin-top: 10px;
    white-space: normal;
    align-items: flex-start;
  }
  #mob-shell .mob-hero .floating-card svg { width: 22px; height: 22px; }
  /* les 3 avantages (Gagnez du temps, Soyez visible, Développez votre activité) */
  #mob-shell .mob-hero .adv-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 26px;
  }
  #mob-shell .mob-hero .adv-card { padding: 20px 18px; }
  #mob-shell .mob-hero .adv-ico {
    width: 46px;
    height: 46px;
    font-size: 22px;
    margin-bottom: 12px;
  }
  #mob-shell .mob-hero .adv-card h2 { font-size: 17px; }
  #mob-shell .mob-hero .adv-card p { font-size: 14px; }
  /* l'accès rapide du héros fait doublon avec l'onglet Services */
  #mob-shell .mob-hero .quick-nav { display: none !important; }

  /* Très petits téléphones : on garde le logo et le nom, le slogan passe en dessous */
  @media (max-width: 380px) {
    #mob-shell .mob-brand .brand-sub { display: none; }
    #mob-shell .mob-brand .brand-text { font-size: 14px; }
    #mob-shell .mob-auth { padding: 6px 9px; font-size: 11.5px; }
    #mob-shell .mob-burger,
    #mob-shell .mob-back { width: 36px; height: 36px; }
    #mob-shell .mob-hero h1 { font-size: 24px; }
    #mob-shell .mob-hero .adv-card h2 { font-size: 16px; }
    #mob-shell .mob-hero .eyebrow { font-size: 11px; }
  }
}

/* ============================================================
   CHOIX DE L'ENGAGEMENT (sans engagement / 6 mois / 12 mois)
   ============================================================ */
.commit-switch {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 24px;
  padding: 6px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
}
.cs-label {
  padding: 0 12px 0 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.cs-btn {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  margin: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
  background: transparent;
  transition: background-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.cs-btn em {
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  color: var(--teal-dark);
}
.cs-btn:hover { background: rgba(12, 181, 166, .12); }
.cs-btn.is-active {
  background: var(--navy-900);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.cs-btn.is-active em { color: var(--teal); }
.cs-btn:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
.cs-readout {
  padding: 0 14px 0 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.cs-readout:empty { display: none; }

.mob-bresult-commit {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--teal-dark);
}
.bresult-commit {
  color: var(--teal-dark);
  font-weight: 600;
}

@media (max-width: 860px) {
  .commit-switch {
    width: 100%;
    border-radius: var(--radius);
    justify-content: center;
    gap: 4px;
    padding: 8px;
  }
  .cs-label {
    width: 100%;
    padding: 0 0 2px;
    text-align: center;
  }
  .cs-btn {
    flex: 1 1 0;
    justify-content: center;
    padding: 10px 6px;
    font-size: 13px;
  }
  .cs-btn em { font-size: 11px; }
  .cs-readout {
    width: 100%;
    padding: 2px 0 0;
    text-align: center;
  }
}