/* ==========================================================================
   Calculatrice 2000 — feuille de styles
   ========================================================================== */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../assets/fonts/jakarta.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

/* --- Variables ---------------------------------------------------------- */

:root {
  /* Couleur principale et déclinaisons */
  --brand: #2596be;          /* accents, éléments décoratifs, grands aplats */
  --brand-600: #1b7aa0;      /* boutons (contraste 4,8:1 avec le blanc) */
  --brand-700: #176b8c;      /* liens et texte en couleur */
  --brand-800: #0f4f69;
  --brand-50: #eef7fb;
  --brand-100: #d7edf6;
  --brand-200: #b3dcec;

  /* Neutres */
  --ink: #0e2a38;
  --ink-soft: #4a5f6b;
  --ink-muted: #6b7d87;
  --line: #dde7ec;
  --bg: #ffffff;
  --bg-tint: #f4f8fa;
  --dark: #0c3a4d;
  --darker: #082a38;

  /* Accent complémentaire (avertissements) */
  --amber: #b45309;
  --amber-50: #fff7ed;

  --font-display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 8vw, 7rem);
  --radius: 10px;
  --radius-lg: 18px;
  --header-h: 76px;

  --shadow-sm: 0 1px 2px rgb(14 42 56 / 0.06);
  --shadow-md: 0 12px 32px -14px rgb(14 42 56 / 0.22);
  --shadow-lg: 0 30px 60px -28px rgb(14 42 56 / 0.35);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* --- Base --------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
/* Hiérarchie : H1 > H2 > H3 nettement distincts */
h1 { font-size: clamp(2.3rem, 4.8vw, 3.75rem); font-weight: 800; line-height: 1.08; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 700; line-height: 1.15; }
h3 { font-size: clamp(1.1rem, 1.4vw, 1.22rem); font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; color: var(--ink); }
a { color: var(--brand-700); text-underline-offset: 3px; }
a:hover { color: var(--brand-800); }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; top: .75rem; left: .75rem; z-index: 200;
  padding: .75rem 1.25rem; border-radius: var(--radius);
  background: var(--ink); color: #fff; font-weight: 600; text-decoration: none;
  transform: translateY(-160%); transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; color: #fff; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(860px + var(--gutter) * 2); }

/* --- Éléments communs --------------------------------------------------- */

.section-num {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--brand-700);
}
.section-num::after { content: ""; width: 32px; height: 2px; border-radius: 2px; background: var(--brand); }
.section-num--light { color: var(--brand-200); }

.lead { font-size: clamp(1.1rem, 1.5vw, 1.22rem); line-height: 1.6; color: var(--ink); }
.prose { color: var(--ink-soft); }
.prose .lead { font-weight: 500; }

.highlight {
  padding: 1.1rem 1.35rem;
  border-left: 4px solid var(--brand);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--brand-50);
  color: var(--ink);
  font-weight: 600;
}

.actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.35rem;
  border: 2px solid transparent; border-radius: 999px;
  font-family: var(--font-display); font-size: .95rem; font-weight: 700; line-height: 1.25;
  text-align: center; text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease),
              box-shadow .2s var(--ease), transform .2s var(--ease);
}
.btn--lg { min-height: 56px; padding: .95rem 1.75rem; font-size: 1rem; }
.btn--block { width: 100%; }

.btn--primary { background: var(--brand-600); color: #fff; }
.btn--primary:hover { background: var(--brand-700); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgb(27 122 160 / .6); }

.btn--ghost { border-color: var(--brand-600); color: var(--brand-700); background: transparent; }
.btn--ghost:hover { background: var(--brand-50); color: var(--brand-800); transform: translateY(-2px); }

.btn--light { background: #fff; color: var(--brand-800); }
.btn--light:hover { background: var(--brand-50); color: var(--brand-800); transform: translateY(-2px); }
.btn--light:focus-visible { outline-color: #fff; }

/* --- En-tête ------------------------------------------------------------ */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgb(255 255 255 / .92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }

.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--ink); text-decoration: none; flex-shrink: 0; }
.brand:hover { color: var(--ink); }
.brand__mark { width: 40px; height: 40px; }
.brand__name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; letter-spacing: -0.02em; }
.brand__name span { color: var(--brand); }
.brand--light, .brand--light:hover { color: #fff; }

.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav__list { display: flex; gap: 1.5rem; }
.site-nav__list a {
  position: relative; padding: .5rem 0;
  font-size: .93rem; font-weight: 500; color: var(--ink); text-decoration: none;
}
.site-nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .15rem; height: 2px; border-radius: 2px;
  background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.site-nav__list a:hover, .site-nav__list a[aria-current="true"] { color: var(--brand-700); }
.site-nav__list a:hover::after, .site-nav__list a[aria-current="true"]::after { transform: scaleX(1); }
.site-nav__phone {
  font-family: var(--font-display); font-size: .93rem; font-weight: 700;
  color: var(--brand-700); text-decoration: none; white-space: nowrap;
}
.site-nav__phone:hover { color: var(--brand-800); text-decoration: underline; }
.site-nav__cta { min-height: 44px; padding: .6rem 1.2rem; font-size: .9rem; }

.nav-toggle {
  display: none; position: relative; width: 48px; height: 48px; margin-right: -.5rem;
  border: 0; background: transparent; color: var(--ink); cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  position: absolute; left: 50%; width: 24px; height: 2px; margin-left: -12px;
  background: currentColor; border-radius: 2px;
  transition: transform .25s var(--ease), background-color .2s var(--ease);
}
.nav-toggle__bars { top: 50%; margin-top: -1px; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; left: 0; margin-left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

/* --- Hero (H1) ---------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 6.5rem);
  background:
    radial-gradient(900px 500px at 90% 0%, var(--brand-100), transparent 65%),
    linear-gradient(180deg, var(--brand-50), #fff 80%);
}
.hero::before {
  /* grille discrète rappelant un registre comptable */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgb(37 150 190 / .07) 1px, transparent 1px),
                    linear-gradient(90deg, rgb(37 150 190 / .07) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, #000, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
.hero h1 { margin-bottom: 1.5rem; }
.hero h1 .accent { color: var(--brand-700); }
.hero__lead { font-size: clamp(1.12rem, 1.6vw, 1.28rem); line-height: 1.6; color: var(--ink); font-weight: 500; max-width: 42rem; }
.hero__text { color: var(--ink-soft); max-width: 42rem; }

.ledger {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.ledger__head {
  display: flex; align-items: center; gap: .4rem;
  padding: .9rem 1.25rem; background: var(--dark); color: #fff;
}
.ledger__dot { width: 9px; height: 9px; border-radius: 50%; background: rgb(255 255 255 / .35); }
.ledger__title { margin-left: .6rem; font-family: var(--font-display); font-size: .9rem; font-weight: 700; }
.ledger__rows li {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .95rem 1.25rem; font-size: .98rem; font-weight: 500;
  border-top: 1px solid var(--line);
}
.ledger__rows li:first-child { border-top: 0; }
.ledger__rows li:nth-child(even) { background: var(--bg-tint); }
.ledger__check {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat;
}

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

.section { padding-block: var(--section-y); }
.section--tint { background: var(--bg-tint); }
.section--dark { background: var(--dark); color: rgb(255 255 255 / .82); }
.section--dark h2, .section--dark .lead { color: #fff; }
.section--dark .prose { color: rgb(255 255 255 / .8); }
.section--dark .section-num { color: var(--brand-200); }

.section-head { max-width: 48rem; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-head h2 { margin-bottom: 1.25rem; }
.section-head__intro { font-size: 1.1rem; color: var(--ink-soft); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .section-num { justify-content: center; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: start;
}
.split__head { position: sticky; top: calc(var(--header-h) + 2rem); }
.split__body { max-width: 44rem; }

/* --- Grilles et cartes -------------------------------------------------- */

.grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.grid--services { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
  display: flex; flex-direction: column;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  color: var(--ink-soft);
  font-size: .97rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-200); }
.card h3 { margin-bottom: .75rem; }

.icon {
  width: 48px; height: 48px; margin-bottom: 1.25rem; padding: 11px;
  fill: none; stroke: var(--brand-700); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  background: var(--brand-50); border-radius: 12px;
  transition: background-color .25s var(--ease), stroke .25s var(--ease);
}
.card:hover .icon { background: var(--brand); stroke: #fff; }

.card--cta {
  justify-content: space-between; gap: 1.5rem;
  background: var(--brand-600); border-color: var(--brand-600); color: #fff;
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; line-height: 1.35;
}
.card--cta:hover { border-color: var(--brand-600); }
.card--cta .btn { align-self: stretch; border-radius: 12px; font-size: .92rem; }

.card--software { position: relative; padding-top: 2.25rem; }
.software-badge {
  display: inline-grid; place-items: center;
  min-width: 56px; height: 56px; padding: 0 .75rem; margin-bottom: 1.25rem;
  border-radius: 14px; background: var(--dark); color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em;
  align-self: flex-start;
}

/* --- Listes ------------------------------------------------------------- */

.checklist { display: grid; gap: .6rem; margin: 0 0 1.5rem; }
.checklist li {
  position: relative; padding-left: 2rem; color: var(--ink);
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--brand-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23176b8c' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.checklist--warn li::before {
  background: var(--amber-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b45309' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M12 7v6M12 17h.01'/%3E%3C/svg%3E") center / 13px no-repeat;
  box-shadow: inset 0 0 0 1px #fed7aa;
}
.checklist--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; }
.checklist--doc li::before {
  border-radius: 4px;
  background: var(--brand-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23176b8c' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M8 8h8M8 12h8M8 16h5'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.pills { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.5rem; }
.pills li {
  padding: .45rem 1rem; border-radius: 999px;
  background: #fff; border: 1px solid var(--brand-200);
  color: var(--brand-800); font-size: .92rem; font-weight: 600;
}
.pills--light li { background: rgb(255 255 255 / .1); border-color: rgb(255 255 255 / .22); color: #fff; }

.factors { display: grid; gap: 0; margin: 0 0 1.5rem; counter-reset: f; border-top: 1px solid var(--line); }
.factors li {
  counter-increment: f;
  display: flex; align-items: baseline; gap: 1rem;
  padding: .8rem 0; border-bottom: 1px solid var(--line); color: var(--ink);
}
.factors li::before {
  content: counter(f, decimal-leading-zero);
  flex-shrink: 0; width: 2rem;
  font-family: var(--font-display); font-size: .85rem; font-weight: 800; color: var(--brand);
}

/* --- Clientèle ---------------------------------------------------------- */

.profile {
  padding: clamp(1.5rem, 2.5vw, 2rem);
  border-radius: var(--radius-lg);
  background: var(--bg-tint);
  box-shadow: inset 0 4px 0 var(--brand);
  color: var(--ink-soft);
  font-size: .97rem;
}
.profile__label {
  margin-bottom: .75rem;
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 800; color: var(--ink);
}

.sectors {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  border: 1px dashed var(--brand-200);
  border-radius: var(--radius-lg);
  background: var(--brand-50);
}
.sectors__intro { font-weight: 600; color: var(--ink); margin-bottom: 1rem; }
.sectors .pills { margin-bottom: 1.75rem; }

/* --- Conservation ------------------------------------------------------- */

.notice {
  display: flex; align-items: center; gap: 1.5rem;
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--dark);
  color: rgb(255 255 255 / .85);
}
.notice strong { color: #fff; }
.notice__figure {
  flex-shrink: 0; margin: 0;
  font-family: var(--font-display); font-size: 3.4rem; font-weight: 800; line-height: 1; color: var(--brand);
}
.notice__figure span { display: block; font-size: .95rem; font-weight: 700; color: #fff; text-align: center; }

/* --- Comparaison -------------------------------------------------------- */

.compare {
  display: grid; grid-template-columns: 1fr 1fr;
  max-width: 60rem; margin-inline: auto;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md);
}
.compare__col { padding: clamp(1.75rem, 3.5vw, 2.75rem); background: #fff; color: var(--ink-soft); }
.compare__col--alt { background: var(--dark); color: rgb(255 255 255 / .82); }
.compare__label {
  display: inline-block; margin-bottom: 1rem; padding: .35rem .9rem; border-radius: 999px;
  font-family: var(--font-display); font-weight: 800; font-size: .95rem;
  background: var(--brand-100); color: var(--brand-800);
}
.compare__col--alt .compare__label { background: var(--brand); color: #fff; }
.compare__conclusion {
  max-width: 46rem; margin: 2.5rem auto 0; text-align: center;
  font-size: 1.12rem; font-weight: 500; color: var(--ink);
}

/* --- Processus ---------------------------------------------------------- */

.steps {
  position: relative;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.25rem;
}
.steps::before {
  content: ""; position: absolute; top: 27px; left: 10%; right: 10%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--brand-200) 0 8px, transparent 8px 14px);
}
.step { position: relative; text-align: center; color: var(--ink-soft); font-size: .95rem; }
.step h3 { margin-bottom: .6rem; font-size: 1.08rem; }
.step__num {
  display: grid; place-items: center;
  width: 56px; height: 56px; margin: 0 auto 1.25rem;
  border-radius: 50%; background: #fff; border: 2px solid var(--brand);
  color: var(--brand-700); font-size: 1.15rem; font-weight: 800;
  box-shadow: 0 0 0 6px var(--bg-tint);
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.step:hover .step__num { background: var(--brand); color: #fff; }

/* --- À distance --------------------------------------------------------- */

.remote {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: calc(var(--radius-lg) + 6px);
  background: linear-gradient(135deg, var(--brand-50), #fff);
  border: 1px solid var(--brand-100);
}
.remote h2 { margin-bottom: 1.25rem; }
.remote__content > p:not(.section-num):not(.lead) { color: var(--ink-soft); }
.regions { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.regions li {
  display: flex; align-items: center; gap: .6rem;
  padding: .9rem 1rem; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line);
  font-weight: 600; color: var(--ink); font-size: .95rem;
}
.regions li::before {
  content: ""; flex-shrink: 0; width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232596be' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-6.5-5.7-6.5-11a6.5 6.5 0 0 1 13 0c0 5.3-6.5 11-6.5 11Z'/%3E%3Ccircle cx='12' cy='10' r='2.4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.regions__more { background: var(--brand-600) !important; border-color: var(--brand-600) !important; color: #fff !important; justify-content: center; }
.regions__more::before { filter: brightness(0) invert(1); }

/* --- FAQ ---------------------------------------------------------------- */

.faq { display: grid; gap: .75rem; }
.faq__item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.faq__item[open] { border-color: var(--brand-200); box-shadow: var(--shadow-md); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.4rem; cursor: pointer; list-style: none; border-radius: var(--radius);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23176b8c' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .25s var(--ease), background-color .2s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(45deg); background-color: var(--brand-100); }
.faq__item summary:hover h3 { color: var(--brand-700); }
.faq__item summary h3 { font-size: 1.05rem; transition: color .2s var(--ease); }
.faq__answer { padding: 0 1.4rem 1.3rem; color: var(--ink-soft); }

/* --- Appel à l'action final et formulaire ------------------------------ */

.cta {
  position: relative; overflow: hidden;
  padding-block: var(--section-y);
  background:
    radial-gradient(800px 480px at 0% 0%, rgb(37 150 190 / .35), transparent 60%),
    var(--darker);
  color: rgb(255 255 255 / .82);
}
.cta__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.cta h2 { color: #fff; margin-bottom: 1.25rem; font-size: clamp(2rem, 3.6vw, 2.9rem); }
.cta__lead { font-size: clamp(1.12rem, 1.6vw, 1.28rem); color: #fff; font-weight: 500; }

.phone-link {
  display: inline-flex; align-items: center; gap: .9rem; margin-top: .5rem;
  padding: .85rem 1.4rem .85rem .9rem; border-radius: 999px;
  border: 1px solid rgb(255 255 255 / .25); color: #fff; text-decoration: none;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.phone-link:hover { color: #fff; background: rgb(255 255 255 / .08); border-color: rgb(255 255 255 / .5); }
.phone-link:focus-visible { outline-color: #fff; }
.phone-link svg {
  width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--brand);
  fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.phone-link span { display: grid; font-size: .85rem; color: rgb(255 255 255 / .75); line-height: 1.3; }
.phone-link strong { color: #fff; font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; }

.form {
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  color: var(--ink);
}
.form__title { margin-bottom: .35rem; line-height: 1.25; font-family: var(--font-display); font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em; }
.form__subtitle { margin-bottom: 1.5rem; color: var(--ink-soft); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .35rem; margin-bottom: 1rem; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink); }
.field label span { color: var(--brand-700); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .7rem .9rem;
  border: 1px solid #c9d7de; border-radius: var(--radius);
  background: #fff; color: var(--ink); font: inherit; font-size: 1rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgb(37 150 190 / .18);
}
.field [aria-invalid="true"] { border-color: #b42318; box-shadow: 0 0 0 4px rgb(180 35 24 / .12); }
.form__status { margin: 1rem 0 0; font-weight: 600; min-height: 1.5em; }
.form__status.is-success { color: #067647; }
.form__status.is-error { color: #b42318; }
.form__note { margin: .25rem 0 0; font-size: .85rem; color: var(--ink-muted); }

/* --- Pied de page ------------------------------------------------------- */

.site-footer { background: #061f2a; color: rgb(255 255 255 / .7); font-size: .93rem; }
.site-footer__inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2.5rem;
  padding-block: clamp(3rem, 6vw, 4rem) 2.5rem;
}
.site-footer__brand { max-width: 22rem; }
.site-footer__brand .brand { margin-bottom: 1rem; }
.site-footer__phone a { font-weight: 600; color: #fff; }
.site-footer__nav { display: grid; grid-template-columns: repeat(2, auto); gap: .55rem 3rem; }
.site-footer a { color: rgb(255 255 255 / .8); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer :focus-visible { outline-color: #fff; }
.site-footer__bottom {
  position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  padding-block: 1.5rem; font-size: .85rem;
}
.site-footer__bottom::before {
  content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter);
  height: 1px; background: rgb(255 255 255 / .12);
}

/* --- Apparition au défilement ------------------------------------------ */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Adaptatif
   ========================================================================== */

@media (max-width: 1200px) {
  .grid--services { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--services .card--cta { grid-column: span 2; }
  .site-nav__list { gap: 1.1rem; }
}

@media (max-width: 1024px) {
  :root { --header-h: 68px; }

  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 1.25rem;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    padding: 1rem var(--gutter) 1.75rem;
    background: #fff; border-top: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgb(14 42 56 / .35);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s var(--ease), transform .2s var(--ease); }
  .site-nav__list { flex-direction: column; gap: 0; }
  .site-nav__list li + li { border-top: 1px solid var(--line); }
  .site-nav__list a { display: block; padding: .95rem 0; font-size: 1.05rem; }
  .site-nav__list a::after { display: none; }
  .site-nav__cta { min-height: 52px; font-size: 1rem; }
  .site-nav__phone { padding: .25rem 0; font-size: 1.05rem; }

  .hero__grid { grid-template-columns: 1fr; }
  .ledger { max-width: 30rem; }

  .split { grid-template-columns: 1fr; gap: 1.25rem; }
  .split__head { position: static; }

  .grid--services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--services .card--cta { grid-column: auto; }

  .steps { grid-template-columns: 1fr; gap: 0; max-width: 40rem; margin-inline: auto; }
  .steps::before { display: none; }
  .step:not(:last-child)::before {
    content: ""; position: absolute; left: 27px; top: 62px; bottom: 6px; width: 2px;
    background: repeating-linear-gradient(180deg, var(--brand-200) 0 8px, transparent 8px 14px);
  }
  .step { min-height: 56px; padding: .7rem 0 2rem 76px; text-align: left; }
  .step:last-child { padding-bottom: 0; }
  .step__num { position: absolute; left: 0; top: 0; margin: 0; }

  .remote { grid-template-columns: 1fr; }
  .cta__grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 1rem; }
  .brand__name { font-size: 1.08rem; }
  .brand__mark { width: 36px; height: 36px; }

  .actions { flex-direction: column; align-items: stretch; }
  .actions .btn { width: 100%; }

  .grid--services, .grid--3 { grid-template-columns: 1fr; }
  .card:hover { transform: none; }

  .checklist--cols { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
  .notice { flex-direction: column; align-items: flex-start; gap: .75rem; }
  .notice__figure span { display: inline; margin-left: .35rem; }
  .regions { grid-template-columns: 1fr 1fr; }
  .form__row { grid-template-columns: 1fr; gap: 0; }

  .site-footer__inner { flex-direction: column; }
  .site-footer__nav { grid-template-columns: 1fr; gap: .2rem; }
  .site-footer__nav a { display: inline-block; padding: .4rem 0; }
}

@media (max-width: 360px) {
  .regions { grid-template-columns: 1fr; }
  .regions__more { grid-column: auto; }
}
