/* Site vitrine CiBuild. Couleurs de la marque reprises de /theme.css (--brand-1..3). */
:root {
  --navy: #101B2C;
  --ink: #101B2C;
  --ink-2: #3A4757;
  --muted: #5E6B7A;
  --line: #E2E8EE;
  --mist: #F4F7FA;
  --paper: #FFFFFF;
  --blue: var(--brand-1, #1757A6);
  --teal: var(--brand-2, #19A6D1);
  --green: var(--brand-3, #3BBF8A);
  --amber: #F2B544;
  --cordon: linear-gradient(90deg, var(--blue), var(--teal) 55%, var(--green));
  --display: 'Archivo', 'Arial Narrow', Arial, sans-serif;
  --body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1200px;
  --r: 18px;
  --ombre: 0 1px 2px rgba(16,27,44,.04), 0 12px 32px -12px rgba(16,27,44,.18);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; color: var(--ink); }
h1, h2 { font-family: var(--display); font-stretch: 104%; font-weight: 800; letter-spacing: -0.025em; line-height: 1.04; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.15rem; font-weight: 700; line-height: 1.3; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 50; border-radius: 8px; }
.skip:focus { left: 8px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px;
  border-radius: 999px; border: 1.5px solid transparent; font: 600 15px/1.2 var(--body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s, box-shadow .15s; }
.btn-lg { min-height: 54px; padding: 14px 26px; font-size: 16px; }
.btn-pri { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -8px rgba(23,87,166,.6); }
.btn-pri:hover { background: var(--navy); color: #fff; box-shadow: none; }
.btn-ghost { background: #fff; color: var(--navy); border-color: #C9D3DD; }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-clair { background: #fff; color: var(--navy); }
.btn-clair:hover { background: var(--mist); color: var(--navy); }
.btn-ligne { color: #fff; border-color: rgba(255,255,255,.55); background: transparent; }
.btn-ligne:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.lien { font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 1px; }

/* En-tête */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.86); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid rgba(16,27,44,.07); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.logo img { width: 144px; height: auto; }
.menu { display: flex; align-items: center; gap: 28px; }
.menu > a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 15px; padding: 6px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.menu > a:hover, .menu > a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--blue); }
.menu-actions { display: flex; align-items: center; gap: 10px; margin-left: 4px; }
.langue { font-weight: 700; font-size: 13px; color: var(--ink-2); text-decoration: none; padding: 7px 12px; border-radius: 999px; background: var(--mist); }
.langue:hover { background: #E6EDF4; color: var(--navy); }
.menu-btn { display: none; min-height: 44px; padding: 8px 16px; border: 1.5px solid #C9D3DD; background: #fff; border-radius: 999px; font: 600 15px var(--body); color: var(--navy); cursor: pointer; }

.menu-groupe { position: relative; }
.menu-deroule { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; border-bottom: 2px solid transparent; padding: 6px 0;
  font: 600 15px var(--body); color: var(--ink-2); cursor: pointer; }
.menu-deroule::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
.menu-deroule[aria-expanded="true"]::after { transform: translateY(2px) rotate(225deg); }
.menu-deroule:hover, .menu-groupe.actif .menu-deroule { color: var(--navy); border-bottom-color: var(--blue); }
.sous-menu { position: absolute; top: calc(100% + 18px); left: -24px; width: 340px; background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: 0 30px 60px -24px rgba(16,27,44,.35); padding: 10px; display: grid; }
.sous-menu[hidden] { display: none; }
.sous-menu a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; color: var(--navy); text-decoration: none; font-weight: 600; font-size: 15px; }
.sous-menu a img { width: 40px; height: 30px; flex: none; }
.sous-menu a:hover { background: var(--mist); }
.sous-menu a[aria-current="page"] { background: var(--mist); color: var(--blue); }
.sous-menu-tout { border-bottom: 1px solid var(--line); border-radius: 12px 12px 0 0 !important; margin-bottom: 6px; padding: 12px 10px !important; }

@media (min-width: 1181px) and (max-width: 1280px) { .menu { gap: 20px; } .menu > a, .menu-deroule { font-size: 14.5px; } }
/* Menu replié : sous 1180 px, le menu complet ne tient plus sur une ligne (en français surtout) */
@media (max-width: 1180px) {
  .menu-btn { display: inline-flex; align-items: center; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 76px; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 8px 24px 22px; border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(16,27,44,.35);
    max-height: calc(100vh - 76px); overflow-y: auto; }
  .menu.ouvert { display: flex; }
  .menu > a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .menu > a[aria-current="page"] { border-bottom-color: var(--line); color: var(--blue); }
  .menu-groupe { border-bottom: 1px solid var(--line); }
  .menu-deroule { width: 100%; justify-content: space-between; padding: 14px 0; border-bottom: 0; }
  .menu-groupe.actif .menu-deroule { border-bottom: 0; color: var(--blue); }
  .sous-menu { position: static; width: auto; border: 0; box-shadow: none; padding: 0 0 12px; }
  .sous-menu-tout { border-bottom: 0; }
  .menu-actions { margin: 18px 0 0; flex-direction: column; align-items: stretch; }
  .langue { text-align: center; padding: 11px; }
}

/* Héros */
.hero { position: relative; overflow: hidden; padding: 72px 0 140px;
  background:
    radial-gradient(900px 480px at 85% 10%, rgba(25,166,209,.14), transparent 60%),
    radial-gradient(700px 420px at 10% 90%, rgba(59,191,138,.12), transparent 60%),
    radial-gradient(800px 500px at 40% -10%, rgba(23,87,166,.10), transparent 60%),
    var(--mist); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(16,27,44,.08) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); mask-image: linear-gradient(180deg, #000 0%, transparent 85%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
.etat-pastille { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-size: 14px; font-weight: 600; color: var(--ink-2); box-shadow: 0 6px 16px -10px rgba(16,27,44,.25); text-decoration: none; }
.etat-pastille::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(59,191,138,.2); }
.etat-pastille:hover { color: var(--navy); }
.hero h1 { margin-top: 22px; max-width: 14ch; }
.chapeau { font-size: 1.18rem; color: var(--ink-2); max-width: 58ch; margin-top: 22px; }
.hero .actions { margin-top: 34px; }
.atouts { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.atouts li { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 15px; color: var(--ink-2); }
.atouts svg { width: 22px; height: 22px; flex: none; }
.hero-illu { justify-self: end; width: 100%; max-width: 560px; }

/* Capture d'écran */
.ecran-section { margin-top: -96px; position: relative; padding-bottom: 32px; }
.ecran { margin: 0; border-radius: 20px; overflow: hidden; border: 1px solid rgba(16,27,44,.1); background: #fff;
  box-shadow: 0 50px 100px -40px rgba(16,27,44,.5), 0 0 0 8px rgba(255,255,255,.6); }
.ecran-barre { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 18px; background: #F6F8FA; border-bottom: 1px solid var(--line); }
.ecran-barre i { width: 11px; height: 11px; border-radius: 50%; background: #D3DBE2; }
.ecran-barre i:nth-child(1) { background: #F1A7A0; } .ecran-barre i:nth-child(2) { background: #F4D58D; } .ecran-barre i:nth-child(3) { background: #9FD8BC; }
.ecran-barre span { margin: 0 auto; font-size: 13px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 2px 16px; }
.legende { margin-top: 16px; font-size: 14px; color: var(--muted); max-width: 70ch; }

/* Blocs */
.bloc { padding: 104px 0; }
.bloc-serre { padding: 64px 0 104px; }
.bloc-gris { background: var(--mist); }
.titre-bloc { max-width: 22ch; }
.intro { margin-top: 16px; color: var(--ink-2); font-size: 1.1rem; max-width: 62ch; }
.tete-liste { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }

.remplace { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.remplace > div { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; box-shadow: var(--ombre); display: flex; flex-direction: column; }
.remplace img { width: 120px; height: 90px; margin-bottom: 18px; }
.remplace h3 { font-size: 1.2rem; }
.remplace .avant { margin-top: 8px; color: var(--muted); font-size: 15.5px; }
.remplace .apres { margin-top: auto; padding-top: 18px; font-weight: 600; color: var(--navy); font-size: 15.5px; position: relative; }
.remplace .apres::before { content: ""; display: block; height: 1px; background: var(--line); margin-bottom: 16px; }
.remplace .apres b { color: var(--blue); }

.modules { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.modules a { height: 100%; display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line);
  text-decoration: none; color: var(--navy); transition: transform .18s, box-shadow .18s, border-color .18s; }
.modules a:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -24px rgba(16,27,44,.35); border-color: #CFD9E3; }
.modules img { width: 100%; height: auto; aspect-ratio: 4 / 3; margin-bottom: 10px; }
.modules strong { font-size: 1.08rem; }
.modules span { color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }
.bloc-gris .modules a { box-shadow: var(--ombre); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split h2 { max-width: 16ch; }
.split .chapeau { margin-top: 16px; }
.split .actions { margin-top: 30px; }
.cadre { margin: 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: 0 30px 60px -34px rgba(16,27,44,.45); }
.cadre-tel { justify-self: center; width: 100%; max-width: 300px; border: 10px solid var(--navy); border-radius: 40px; }
.pile { display: grid; gap: 22px; }

/* Franchise */
.franchise { position: relative; overflow: hidden; background: var(--navy); color: #C9D4DE; padding: 104px 0; }
.franchise::after { content: ""; position: absolute; right: -200px; top: -200px; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(25,166,209,.22), transparent 65%); pointer-events: none; }
.franchise h2 { color: #fff; max-width: 17ch; }
.franchise p { margin-top: 18px; max-width: 58ch; }
.franchise .actions { margin-top: 34px; }
.franchise-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 72px; align-items: start; }
.etat { list-style: none; margin: 0; padding: 26px 28px; display: grid; gap: 22px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r); }
.etat li { display: grid; grid-template-columns: 14px 1fr; gap: 14px; }
.etat li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; margin-top: 7px; }
.etat strong { display: block; color: #fff; font-size: 1.05rem; }
.etat span { display: block; margin-top: 4px; font-size: 15px; }
.etat-ok::before { background: var(--green); box-shadow: 0 0 0 4px rgba(59,191,138,.2); }
.etat-test::before { background: var(--amber); box-shadow: 0 0 0 4px rgba(242,181,68,.2); }
.etat-prevu::before { background: #8C9AA6; box-shadow: 0 0 0 4px rgba(140,154,166,.2); }

/* Appel final */
.appel { padding: 96px 0; }
.appel-carte { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; padding: 56px; border-radius: 28px; color: #D9E4EE;
  background: radial-gradient(600px 300px at 90% 0%, rgba(59,191,138,.35), transparent 60%), linear-gradient(120deg, var(--navy) 0%, #15325C 60%, var(--blue) 120%); }
.appel-carte h2 { color: #fff; max-width: 20ch; }
.appel-carte p { margin-top: 12px; max-width: 56ch; }
.appel-carte .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.appel-carte .btn-ghost:hover { border-color: #fff; }
.appel-carte .btn-pri { background: #fff; color: var(--navy); box-shadow: none; }
.appel-carte .btn-pri:hover { background: var(--mist); }

/* Pages intérieures */
.page-tete { position: relative; overflow: hidden; padding: 72px 0 64px;
  background: radial-gradient(700px 360px at 90% 0%, rgba(25,166,209,.12), transparent 60%), radial-gradient(600px 300px at 0% 100%, rgba(59,191,138,.10), transparent 60%), var(--mist); }
.page-tete h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); max-width: 20ch; }
.page-tete-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.tete-illu { width: 320px; height: auto; }
.fil { margin-bottom: 14px; font-size: 15px; }
.fil a { font-weight: 600; text-decoration: none; }
.fil a::after { content: "  /"; color: var(--muted); white-space: pre; }

.module-corps { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.module-corps-seul { grid-template-columns: 1fr; }
.module-corps-seul .points { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 56px; }
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.points li { display: grid; grid-template-columns: 34px 1fr; column-gap: 14px; }
.points li::before { content: ""; grid-row: span 2; width: 34px; height: 34px; border-radius: 10px; background: #E3F6EE center / 18px no-repeat
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8-9' fill='none' stroke='%232E9E6E' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.points strong { font-size: 1.08rem; }
.points span { color: var(--ink-2); margin-top: 2px; }

.voisins { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 8px; }
.voisin { display: grid; gap: 2px; padding: 16px 22px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--navy); font-weight: 700; min-width: 250px; background: #fff; }
.voisin span { font-weight: 500; font-size: 14px; color: var(--muted); }
.voisin:hover { border-color: var(--blue); color: var(--blue); }
.voisin-suiv { text-align: right; margin-left: auto; }

.liste { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.liste li { padding-left: 24px; position: relative; color: var(--ink-2); }
.liste li::before { content: ""; position: absolute; left: 0; top: .6em; width: 9px; height: 9px; border-radius: 50%; background: var(--teal); }
.liste strong { color: var(--ink); }

.raisons { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.raisons div { padding: 26px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--ombre); }
.raisons dt { font-weight: 700; font-size: 1.12rem; line-height: 1.35; }
.raisons dt::before { content: ""; display: block; width: 40px; height: 4px; border-radius: 2px; background: var(--cordon); margin-bottom: 18px; }
.raisons dd { margin: 10px 0 0; color: var(--ink-2); font-size: 15.5px; }

.offres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.offre { border: 1px solid var(--line); border-radius: 22px; padding: 32px 30px; background: #fff; display: flex; flex-direction: column; box-shadow: var(--ombre); }
.offre h3 { font-family: var(--display); font-stretch: 104%; font-weight: 800; font-size: 1.5rem; }
.offre-vedette { border: 2px solid var(--blue); box-shadow: 0 30px 60px -30px rgba(23,87,166,.5); position: relative; }
.offre-note { margin-top: 8px; font-size: 13.5px; color: var(--blue); font-weight: 700; background: #EAF2FB; padding: 4px 12px; border-radius: 999px; align-self: start; }
.prix { margin-top: 20px; display: flex; flex-direction: column; }
.montant { font-family: var(--display); font-stretch: 100%; font-weight: 800; font-size: 2.3rem; line-height: 1.1; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.unite { font-size: 14px; color: var(--muted); margin-top: 4px; }
.annuel { margin-top: 6px; font-size: 14px; color: var(--muted); }
.offre ul { margin: 24px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); list-style: none; display: grid; gap: 11px; font-size: 15px; color: var(--ink-2); }
.offre li { padding-left: 26px; position: relative; }
.offre li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: #E3F6EE center / 11px no-repeat
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8-9' fill='none' stroke='%232E9E6E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.offres-pied { margin-top: 26px; color: var(--muted); font-size: 15px; }

.faq { max-width: 840px; }
.faq h2 { margin-bottom: 28px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; background: #fff; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--blue); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: var(--ink-2); max-width: 68ch; }

.deux-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 36px; }
.deux-col > div { padding: 28px; border-radius: var(--r); border: 1px solid var(--line); background: #fff; box-shadow: var(--ombre); }
.route { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 44px; }
.route-col { background: #fff; border-radius: var(--r); padding: 28px; border: 1px solid var(--line); box-shadow: var(--ombre); position: relative; overflow: hidden; }
.route-col::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; }
.route-ok::before { background: var(--green); } .route-test::before { background: var(--amber); } .route-prevu::before { background: #9AA7B3; }
.route-col h3 { display: flex; align-items: center; gap: 10px; }
.route-col ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 15px; color: var(--ink-2); }
.route-col li { padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.route-col li:last-child { border-bottom: 0; padding-bottom: 0; }
.route-note { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: 56px; align-items: start; }
.formulaire { display: grid; gap: 18px; padding: 34px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--ombre); }
.champs-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.formulaire label { display: grid; gap: 7px; font-weight: 600; font-size: 15px; }
.facultatif { font-weight: 400; color: var(--muted); }
.formulaire input, .formulaire select, .formulaire textarea { width: 100%; font: 400 16px/1.4 var(--body); color: var(--ink); background: var(--mist);
  border: 1.5px solid transparent; border-radius: 12px; padding: 13px 15px; transition: border-color .15s, background .15s; }
.formulaire textarea { resize: vertical; min-height: 150px; }
.formulaire input:focus, .formulaire select:focus, .formulaire textarea:focus { outline: none; background: #fff; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(23,87,166,.14); }
.formulaire [aria-invalid="true"] { border-color: #C0392B; background: #fff; }
.formulaire button { justify-self: start; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-erreur { color: #A93226; background: #FBEDEB; border-radius: 12px; padding: 12px 16px; font-weight: 600; }
.form-mentions { font-size: 14px; color: var(--muted); }
.form-merci { border-radius: 22px; padding: 36px; display: grid; gap: 14px; justify-items: start; background: #fff; border: 1px solid var(--line); box-shadow: var(--ombre); }
.form-merci h2 { font-size: 2rem; }
.contact-aside { padding: 30px; border-radius: 22px; background: var(--mist); }
.contact-aside h2 { font-family: var(--body); font-stretch: 100%; font-size: 1.05rem; font-weight: 700; letter-spacing: 0; margin-bottom: 10px; }
.contact-aside h2:not(:first-child) { margin-top: 30px; }
.contact-aside p a { font-weight: 600; font-size: 1.05rem; }
.contact-aside .liste { margin-top: 10px; font-size: 15px; }

/* Démo */
.roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.role { text-align: left; display: grid; gap: 8px; align-content: start; padding: 24px 22px; min-height: 150px; border: 1px solid var(--line); border-radius: var(--r);
  background: #fff; font: inherit; color: var(--navy); cursor: pointer; box-shadow: var(--ombre); transition: border-color .15s, transform .15s, box-shadow .15s; }
.role::before { content: attr(data-initiale); width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--cordon); margin-bottom: 6px; }
.role strong { font-size: 1.1rem; }
.role span { font-size: 14.5px; color: var(--ink-2); }
.role:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: 0 24px 40px -24px rgba(16,27,44,.35); }
.role[aria-busy="true"] { border-color: var(--blue); background: #F2F7FC; }
.role[disabled] { cursor: wait; }
.demo-absente { margin-top: 8px; display: grid; gap: 16px; justify-items: start; }
.demo-notes { margin: 40px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); list-style: none; display: grid; gap: 8px; color: var(--muted); font-size: 15px; }
#demo-erreur { margin-top: 20px; }

/* Pied de page */
.site-foot { background: var(--navy); color: #AEBBC8; padding: 72px 0 28px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot-logo { width: 130px; background: #fff; padding: 8px 12px; border-radius: 10px; margin-bottom: 18px; }
.site-foot h2 { font: 700 15px/1.3 var(--body); letter-spacing: 0; color: #fff; margin-bottom: 14px; }
.site-foot nav { display: grid; gap: 9px; align-content: start; }
.site-foot a { color: #D6E0EA; text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.site-foot p + p { margin-top: 6px; }
.foot-bas { margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13.5px; color: #8796A5;
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.foot-bas p + p { margin-top: 0; }
.powered { font-size: 13px; color: #8796A5; }
.powered a { color: #fff; font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.4); }
.powered a:hover { border-bottom-color: #fff; text-decoration: none; }

/* Adaptations */
@media (max-width: 1080px) { .modules { grid-template-columns: repeat(3, minmax(0, 1fr)); } .raisons { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) {
  .hero { padding: 48px 0 116px; }
  .hero-grid, .franchise-grid, .split, .contact-grid, .module-corps, .page-tete-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-illu { justify-self: center; max-width: 480px; }
  .tete-illu { width: 220px; }
  .remplace, .offres, .route, .deux-col { grid-template-columns: 1fr; }
  .modules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .appel-carte { grid-template-columns: 1fr; padding: 40px 32px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .bloc, .franchise { padding: 72px 0; }
  .bloc-serre { padding: 48px 0 72px; }
  .raisons, .champs-2, .module-corps-seul .points { grid-template-columns: 1fr; }
  .modules { grid-template-columns: 1fr 1fr; gap: 12px; }
  .modules a { padding: 12px 12px 16px; }
  .modules span { display: none; }
  .foot-grid { grid-template-columns: 1fr; }
  .actions .btn { width: 100%; }
  .btn { white-space: normal; }
  .head-row { min-height: 66px; }
  .menu { top: 66px; max-height: calc(100vh - 66px); }
  .formulaire, .contact-aside { padding: 22px; }
  .voisins { flex-direction: column; }
  .voisin { min-width: 0; }
  .appel-carte { padding: 32px 22px; border-radius: 22px; }
  .tete-illu { display: none; }
}

/* Tuile d'appel à la démo, en fin de liste des modules */
.modules-cta a { justify-content: flex-end; color: #fff; border: 0;
  background: radial-gradient(260px 200px at 100% 0%, rgba(59,191,138,.45), transparent 70%), linear-gradient(150deg, var(--navy), #1A3E6E 70%, var(--blue)); }
.modules-cta a:hover { border: 0; }
.modules-cta strong { color: #fff; font-family: var(--display); font-weight: 800; font-size: 1.45rem; line-height: 1.15; }
.modules-cta span { color: #CFDCE8; }
.modules-cta em { margin-top: 14px; font-style: normal; font-weight: 700; font-size: 15px; align-self: flex-start; background: #fff; color: var(--navy); padding: 9px 18px; border-radius: 999px; }
@media (max-width: 640px) { .modules-cta span { display: block; } .modules-cta { grid-column: 1 / -1; } }
