/* ==========================================================================
   informaticien-nice.fr — feuille de style unique
   Objectif : lisibilité maximale, CTA évidents, zéro dépendance externe.
   ========================================================================== */

@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter-latin.woff2?v=20260807o') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bricolage';
  src: url('/assets/fonts/bricolage-latin.woff2?v=20260807o') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink:        #0B1220;
  --ink-soft:   #16243A;
  --body:       #3A4757;
  --muted:      #5C6A7D;
  --line:       #E2DCD2;
  --line-soft:  #EFEAE1;
  --paper:      #FFFFFF;
  --sand:       #F8F5EF;
  --sand-deep:  #EFE9DE;

  --brand:      #124E82;
  --brand-dark: #0C3A63;
  --brand-tint: #E9F0F7;

  --signal:     #B8401C;
  --signal-dark:#8E3114;
  --signal-tint:#FBEEE8;

  --wa:         #0E7A41;
  --wa-bright:  #1EBE5D;

  --wrap:       1160px;
  --r-sm:       10px;
  --r:          16px;
  --r-lg:       24px;

  --sh-1: 0 1px 2px rgba(11,18,32,.06), 0 2px 8px rgba(11,18,32,.05);
  --sh-2: 0 2px 4px rgba(11,18,32,.06), 0 12px 28px rgba(11,18,32,.09);
  --sh-3: 0 24px 60px rgba(11,18,32,.16);

  --ff-h: 'Bricolage', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ff-b: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --dock-h: 0px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5.5rem; }
body {
  font-family: var(--ff-b);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: var(--dock-h);
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--ff-h);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -.021em;
  font-weight: 700;
  text-wrap: balance;
}
h1 { font-size: clamp(2.05rem, 1.35rem + 3.1vw, 3.65rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 1.15rem + 1.6vw, 2.3rem); }
h3 { font-size: clamp(1.125rem, 1.02rem + .45vw, 1.3rem); }
p  { text-wrap: pretty; }

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

.skip {
  position: absolute; left: 0; top: -100px; z-index: 999;
  background: var(--ink); color: #fff; padding: .85rem 1.25rem;
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 1.25rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap--narrow { max-width: 52rem; }

/* icônes en ligne : toujours en traits, jamais remplies */
.ico {
  flex: 0 0 auto;
  width: 1.15em; height: 1.15em;
  fill: none; stroke: currentColor; stroke-width: 1.9;
  stroke-linecap: round; stroke-linejoin: round;
}
.ico--fill { fill: currentColor; stroke: none; }

/* utilitaires d'espacement (aucun style en ligne : la CSP interdit style="") */
.mt-2 { margin-top: .6rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.75rem; }
.mt-8 { margin-top: 2.25rem; }
.fineprint { margin-top: .9rem; font-size: .92rem; color: var(--muted); }
.lk-inv { color: #fff; }

/* ==========================================================================
   BANDEAU + EN-TÊTE
   ========================================================================== */
.strip { background: var(--ink); color: #C7D2E0; font-size: .8125rem; }
.strip__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 2.35rem; }
.strip__txt { margin: 0; letter-spacing: .005em; white-space: nowrap; }
.strip__long { display: none; }
@media (min-width: 420px) { .strip__long { display: inline; } }
.strip__tel { color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; }
.strip__tel:hover { text-decoration: underline; }

.hdr {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.hdr.is-stuck { box-shadow: var(--sh-1); }
.hdr__in { display: flex; align-items: center; gap: 1rem; min-height: 4.25rem; }

.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; margin-right: auto; min-width: 0; }
.brand__mark {
  flex: 0 0 auto; width: 38px; height: 38px; display: grid; place-items: center;
  background: var(--ink); border-radius: 11px;
}
.brand__mark svg { width: 23px; height: 23px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.brand__txt { display: flex; flex-direction: column; min-width: 0; }
.brand__name {
  font-family: var(--ff-h); font-weight: 800; font-size: 1.16rem;
  color: var(--ink); letter-spacing: -.03em; line-height: 1.1; white-space: nowrap;
}
.brand__name span { color: var(--brand); }
.brand__sub { font-size: .72rem; color: var(--muted); letter-spacing: .01em; white-space: nowrap; }

.nav { display: none; }
.nav ul { display: flex; gap: .35rem; }
.nav a {
  display: block; padding: .55rem .7rem; border-radius: 8px;
  color: var(--ink-soft); font-weight: 600; font-size: .935rem; text-decoration: none;
}
.nav a:hover { background: var(--sand); color: var(--brand); }
.nav a[aria-current="page"] { color: var(--brand); box-shadow: inset 0 -2px 0 var(--brand); border-radius: 8px 8px 0 0; }

.hdr__act { display: flex; align-items: center; gap: .5rem; }
.hdr__call {
  display: none; align-items: center; gap: .45rem;
  background: var(--signal); color: #fff; font-weight: 700; font-size: .95rem;
  padding: .68rem 1.1rem; border-radius: 999px; text-decoration: none;
  box-shadow: 0 2px 0 var(--signal-dark);
}
.hdr__call:hover { background: var(--signal-dark); box-shadow: 0 2px 0 var(--signal-dark); }
.hdr__call svg { width: 18px; height: 18px; fill: currentColor; }

.burger {
  width: 44px; height: 44px; display: grid; place-content: center; gap: 5px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
}
.burger span { display: block; width: 19px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .18s ease, opacity .18s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.menu { border-top: 1px solid var(--line-soft); background: #fff; max-height: calc(100dvh - 7rem); overflow-y: auto; }
.menu__in { padding-block: .75rem 1.25rem; }
.menu ul { display: grid; gap: 2px; }
.menu a {
  display: block; padding: .85rem .5rem; font-weight: 600; font-size: 1.02rem;
  color: var(--ink-soft); text-decoration: none; border-bottom: 1px solid var(--line-soft);
}
.menu a:hover { color: var(--brand); }
.menu__cta { margin-top: 1.1rem; }

/* ==========================================================================
   BOUTONS DE CONTACT
   ========================================================================== */
.btn {
  display: flex; align-items: center; gap: .7rem;
  padding: .95rem 1.35rem; border-radius: 14px;
  font-weight: 700; text-decoration: none; line-height: 1.2;
  min-height: 56px; transition: background-color .15s ease, transform .12s ease;
}
.btn__ico { flex: 0 0 auto; width: 26px; height: 26px; fill: currentColor; }
.btn__txt { display: flex; flex-direction: column; min-width: 0; }
.btn__lead { font-size: 1.02rem; letter-spacing: -.015em; }
@media (min-width: 560px) { .btn__lead { font-size: .99rem; } }
.btn__sub { font-size: .8rem; font-weight: 500; opacity: .92; letter-spacing: .01em; }

.btn--call { background: var(--signal); color: #fff; box-shadow: 0 3px 0 var(--signal-dark); }
.btn--call:hover { background: var(--signal-dark); transform: translateY(1px); box-shadow: 0 2px 0 var(--signal-dark); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 3px 0 #084A28; }
.btn--wa:hover { background: #0A6033; transform: translateY(1px); box-shadow: 0 2px 0 #084A28; }

.ctapair__row { display: grid; gap: .7rem; }
.ctapair__note { margin-top: .75rem; font-size: .875rem; color: var(--muted); }
.ctapair--inverse .ctapair__note { color: #A9B7C9; }
.ctapair--compact .btn { min-height: 52px; padding: .8rem 1.1rem; }
.ctapair--compact .btn__sub { display: none; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.25rem; border-radius: 12px; font-weight: 700;
  border: 2px solid var(--ink); color: var(--ink); text-decoration: none; min-height: 48px;
}
.btn-ghost:hover { background: var(--ink); color: #fff; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { background: var(--sand); border-bottom: 1px solid var(--line); padding-block: 2.5rem 3rem; }
.hero__in { display: grid; gap: 2rem; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--brand); background: var(--brand-tint);
  padding: .4rem .85rem; border-radius: 999px; margin-bottom: 1.1rem;
  white-space: nowrap;
}
.hero__eyebrow .ico { width: 15px; height: 15px; stroke-width: 2; }
.hero h1 { margin-bottom: 1rem; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero__lede { font-size: clamp(1.05rem, 1rem + .35vw, 1.2rem); color: var(--ink-soft); max-width: 44ch; margin-bottom: 1.35rem; }
.hero__pills { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.6rem; }
.hero__pills li {
  font-size: .875rem; font-weight: 600; color: var(--ink-soft);
  background: #fff; border: 1px solid var(--line);
  padding: .38rem .7rem; border-radius: 999px;
}
.hero .ctapair { max-width: 34rem; }

.hero__card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.4rem; box-shadow: var(--sh-2);
}
.hero__card h2 { font-size: 1.05rem; letter-spacing: -.01em; margin-bottom: .9rem; }
.hero__facts { display: grid; gap: .85rem; }
.hero__fact { display: grid; grid-template-columns: 26px 1fr; gap: .7rem; align-items: start; }
.hero__fact svg { width: 22px; height: 22px; margin-top: 1px; fill: none; stroke: var(--brand); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero__fact strong { display: block; color: var(--ink); font-size: .97rem; font-weight: 700; }
.hero__fact span { font-size: .89rem; color: var(--muted); }
.hero__price {
  margin-top: 1.15rem; padding-top: 1.1rem; border-top: 1px dashed var(--line);
  font-size: .9rem; color: var(--muted);
}
.hero__price b { color: var(--ink); font-weight: 700; }
.hero__price a { font-weight: 600; }

/* ==========================================================================
   SECTIONS GÉNÉRIQUES
   ========================================================================== */
.sec { padding-block: clamp(2.75rem, 2rem + 3vw, 4.5rem); }
.sec--sand { background: var(--sand); border-block: 1px solid var(--line); }
.sec--ink { background: var(--ink); color: #C3CFDF; }
.sec--ink h2, .sec--ink h3 { color: #fff; }

.sec__head { max-width: 46rem; margin-bottom: 2rem; }
.sec__head h2 { margin-bottom: .7rem; }
.sec__head p { font-size: 1.05rem; color: var(--muted); }
.sec--ink .sec__head p { color: #97A8BD; }

.lede { font-size: clamp(1.05rem, 1rem + .35vw, 1.18rem); color: var(--ink-soft); }

.prose > * + * { margin-top: 1.05rem; }
.prose h2 { margin-top: 2.4rem; }
.prose h3 { margin-top: 1.9rem; }
.prose ul { display: grid; gap: .6rem; }
.prose ul li { position: relative; padding-left: 1.5rem; }
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 7px; height: 7px; border-radius: 2px; background: var(--brand);
}
.prose ol { display: grid; gap: .7rem; counter-reset: n; }
.prose ol li { position: relative; padding-left: 2.15rem; counter-increment: n; }
.prose ol li::before {
  content: counter(n); position: absolute; left: 0; top: .1em;
  width: 1.55rem; height: 1.55rem; border-radius: 8px;
  display: grid; place-items: center;
  background: var(--brand-tint); color: var(--brand-dark);
  font-family: var(--ff-h); font-weight: 800; font-size: .82rem;
}
.prose strong { color: var(--ink); font-weight: 700; }
.prose .callout {
  background: var(--brand-tint); border-left: 4px solid var(--brand);
  padding: 1.1rem 1.25rem; border-radius: 0 var(--r-sm) var(--r-sm) 0;
  color: var(--ink-soft);
}
.prose .callout strong { color: var(--brand-dark); }

/* ---------- fil d'ariane ---------- */
.crumbbar { background: var(--sand); }
.crumbs { padding-block: .9rem .35rem; font-size: .84rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .3rem; align-items: center; }
.crumbs li + li::before { content: "›"; margin-right: .35rem; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink-soft); font-weight: 600; }

/* ---------- en-tête de page interne ---------- */
.phead { background: var(--sand); border-bottom: 1px solid var(--line); padding-block: 1.4rem 2.5rem; }
.phead h1 { margin-bottom: .9rem; }
.phead__lede { font-size: clamp(1.05rem, 1rem + .4vw, 1.22rem); color: var(--ink-soft); max-width: 52ch; }
.phead .ctapair { margin-top: 1.6rem; max-width: 34rem; }

/* ==========================================================================
   CARTES « QUEL PROBLÈME »
   ========================================================================== */
.probs { display: grid; gap: .85rem; }
.prob {
  display: grid; grid-template-columns: 44px 1fr auto; gap: .9rem; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 1rem 1.05rem; text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.prob:hover { border-color: var(--brand); box-shadow: var(--sh-2); transform: translateY(-2px); }
.prob__ico { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-tint); display: grid; place-items: center; }
.prob__ico svg { width: 23px; height: 23px; stroke: var(--brand); }
.prob__ico .ico--fill { fill: var(--brand); stroke: none; }
.prob__t { display: block; font-family: var(--ff-h); font-weight: 700; font-size: 1.02rem; color: var(--ink); line-height: 1.25; }
.prob__d { display: block; font-size: .885rem; color: var(--muted); margin-top: .2rem; }
.prob__go { color: var(--brand); font-size: 1.3rem; line-height: 1; }

/* variante non cliquable (page tarifs) */
.probs--auto { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.prob--static { grid-template-columns: 1fr; cursor: default; align-items: start; }
.prob--static:hover { border-color: var(--line); box-shadow: none; transform: none; }
.prob--static .prob__ico { margin-bottom: .8rem; }

/* ==========================================================================
   RÉASSURANCE
   ========================================================================== */
.trust__list { display: grid; gap: 1.5rem; }
.trust__item { padding-left: 1.6rem; position: relative; }
.trust__item::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 10px; height: 10px;
  border-radius: 3px; background: var(--signal);
}
.trust__item h3 { margin-bottom: .3rem; }
.trust__item p { font-size: .955rem; }
.trust--ink .trust__item p { color: #A6B5C8; }
.trust--ink .trust__item::before { background: var(--wa-bright); }

/* ==========================================================================
   ÉTAPES
   ========================================================================== */
.steps__title { margin-bottom: 1.75rem; }
.steps__list { display: grid; gap: 1.4rem; counter-reset: s; }
/* 3 enfants pour 2 colonnes : on place explicitement, sinon le <p>
   retombe sous le numéro au lieu de suivre le titre. */
.steps__item {
  display: grid; grid-template-columns: 42px 1fr;
  column-gap: 1rem; align-items: start;
}
.steps__n {
  grid-column: 1; grid-row: 1 / span 2;
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--ink); color: #fff;
  font-family: var(--ff-h); font-weight: 800; font-size: 1.05rem;
}
.steps__item h3 { grid-column: 2; grid-row: 1; margin-bottom: .3rem; }
.steps__item p  { grid-column: 2; grid-row: 2; }
.steps__item p { font-size: .96rem; }
.sec--ink .steps__n { background: var(--wa-bright); color: #06301A; }
.sec--ink .steps__item p { color: #A6B5C8; }

/* ==========================================================================
   FAQ (details natif — aucun JS, aucun CLS)
   ========================================================================== */
.faq { max-width: 48rem; }
.faq__title { margin-bottom: 1.4rem; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 0; font-family: var(--ff-h); font-weight: 700;
  font-size: 1.045rem; color: var(--ink); line-height: 1.3;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; flex: 0 0 auto; width: 22px; height: 22px; margin-top: 2px;
  background: var(--brand-tint); border-radius: 6px;
  clip-path: polygon(46% 15%, 54% 15%, 54% 46%, 85% 46%, 85% 54%, 54% 54%, 54% 85%, 46% 85%, 46% 54%, 15% 54%, 15% 46%, 46% 46%);
  transition: transform .18s ease;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__a { padding-bottom: 1.2rem; max-width: 62ch; }
.faq__a > * + * { margin-top: .8rem; }
.faq__a a { font-weight: 600; }

/* ==========================================================================
   MAILLAGE INTERNE
   ========================================================================== */
.related { background: var(--sand); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem; }
.related__title { font-size: 1.2rem; margin-bottom: 1rem; }
.related__list { display: grid; gap: .55rem; }
.related__list a {
  display: block; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-sm); padding: .8rem .95rem; text-decoration: none;
}
.related__list a:hover { border-color: var(--brand); }
.related__lbl { display: block; font-weight: 700; color: var(--ink); font-size: .97rem; }
.related__desc { display: block; font-size: .855rem; color: var(--muted); margin-top: .1rem; }

/* ==========================================================================
   TARIFS
   ========================================================================== */
.pgroup + .pgroup { margin-top: 2.75rem; }
.pgroup__head { margin-bottom: 1.2rem; }
.pgroup__head h2 { margin-bottom: .35rem; }
.pgroup__head p { color: var(--muted); font-size: .97rem; }
.ptable { display: grid; gap: .5rem; }
.prow {
  display: grid; grid-template-columns: 1fr auto; gap: .35rem 1rem; align-items: baseline;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: .95rem 1.05rem;
}
.prow__n { font-weight: 700; color: var(--ink); font-size: 1rem; }
.prow__p {
  font-family: var(--ff-h); font-weight: 800; font-size: 1.18rem; color: var(--brand);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.prow__d { grid-column: 1 / -1; font-size: .885rem; color: var(--muted); }

.pcard {
  background: var(--ink); color: #C3CFDF; border-radius: var(--r-lg);
  padding: 1.6rem; box-shadow: var(--sh-3);
}
.pcard h2 { color: #fff; font-size: 1.35rem; margin-bottom: .9rem; }
.pcard__line { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid rgba(255,255,255,.11); }
.pcard__line:last-of-type { border-bottom: 0; }
.pcard__line b { color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pcard__note { margin-top: 1rem; font-size: .875rem; color: #94A6BC; }

.pnote { margin-top: 2rem; font-size: .9rem; color: var(--muted); background: var(--sand); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 1.1rem 1.25rem; }

/* ==========================================================================
   ZONES
   ========================================================================== */
.zones { display: grid; gap: 1.75rem; }
.zonelist { display: flex; flex-wrap: wrap; gap: .4rem; }
.zonelist li { font-size: .9rem; font-weight: 600; color: var(--ink-soft); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .38rem .8rem; }
.sec--sand .zonelist li { background: #fff; }

/* ==========================================================================
   FORMULAIRE DE RAPPEL
   ========================================================================== */
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem; box-shadow: var(--sh-1); }
.form h2 { font-size: 1.3rem; margin-bottom: .4rem; }
.form__intro { font-size: .95rem; color: var(--muted); margin-bottom: 1.25rem; }
.field { display: grid; gap: .35rem; margin-bottom: 1rem; }
.field label { font-weight: 700; font-size: .93rem; color: var(--ink); }
.field label .opt { font-weight: 500; color: var(--muted); }
.field input, .field textarea, .field select {
  font: inherit; font-size: 1rem; color: var(--ink);
  width: 100%; padding: .8rem .9rem; min-height: 50px;
  border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #fff;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--brand); }
.field textarea { min-height: 110px; resize: vertical; }
.field__hint { font-size: .82rem; color: var(--muted); }
.field__hint--err { color: var(--signal-dark); font-weight: 600; }
.form__submit {
  width: 100%; min-height: 56px; border-radius: 14px;
  background: var(--signal); color: #fff; font-weight: 700; font-size: 1.02rem;
  box-shadow: 0 3px 0 var(--signal-dark);
}
.form__submit:hover { background: var(--signal-dark); }
.form__legal { margin-top: .9rem; font-size: .8rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { border-radius: var(--r-sm); padding: 1rem 1.15rem; margin-bottom: 1.25rem; font-size: .95rem; }
.alert--ok { background: #E6F4EC; border: 1px solid #A8D5BC; color: #0B5B33; }
.alert--ko { background: var(--signal-tint); border: 1px solid #E9BCA9; color: var(--signal-dark); }
.alert strong { display: block; margin-bottom: .2rem; }

/* ==========================================================================
   CTA FINAL
   ========================================================================== */
.endcta { background: var(--ink); color: #B7C5D6; padding-block: clamp(2.5rem, 2rem + 2.5vw, 3.75rem); }
.endcta__in { display: grid; gap: 1.75rem; }
.endcta h2 { color: #fff; margin-bottom: .7rem; font-size: clamp(1.45rem, 1.15rem + 1.4vw, 2.1rem); }
.endcta p { color: #93A5BB; max-width: 46ch; }

/* ==========================================================================
   PIED DE PAGE
   ========================================================================== */
.ft { background: #060B14; color: #8B9BB0; padding-block: 2.75rem 1.75rem; font-size: .92rem; }
.ft__grid { display: grid; gap: 2rem; }
.ft__col h2 { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: #E3EAF3; margin-bottom: .85rem; }
.ft__col ul { display: grid; gap: .5rem; }
.ft__col a { color: #96A6BB; text-decoration: none; }
.ft__col a:hover { color: #fff; text-decoration: underline; }
.brand__name--ft { color: #fff; font-size: 1.2rem; display: block; margin-bottom: .7rem; }
.brand__name--ft span { color: var(--wa-bright); }
.ft__desc { margin-bottom: 1rem; max-width: 42ch; }
.ft__desc strong { color: #D6DFEA; }
.ft__contact { display: flex; flex-wrap: wrap; gap: .4rem 1rem; }
.ft__contact a { color: #fff; font-weight: 600; }
.ft__legal { margin-top: 2.25rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.09); font-size: .82rem; color: #6F7F94; }
.ft__legal p + p { margin-top: .3rem; }

/* ==========================================================================
   BARRE MOBILE COLLANTE
   ========================================================================== */
.dock {
  position: fixed; z-index: 70; left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: .5rem;
  padding: .5rem .75rem calc(.5rem + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.93);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}
.dock__btn {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 52px; border-radius: 12px; font-weight: 700; font-size: 1rem;
  color: #fff; text-decoration: none;
}
.dock__btn svg { width: 20px; height: 20px; fill: currentColor; }
.dock__btn--call { background: var(--signal); box-shadow: 0 2px 0 var(--signal-dark); }
.dock__btn--wa { background: var(--wa); box-shadow: 0 2px 0 #084A28; }

@media (max-width: 899px) {
  body { --dock-h: calc(64px + env(safe-area-inset-bottom)); }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (min-width: 560px) {
  .ctapair__row { grid-template-columns: 1fr 1fr; }
  .ctapair--compact .ctapair__row { grid-template-columns: 1fr 1fr; }
  .probs { grid-template-columns: repeat(2, 1fr); }
  .trust__list { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 2rem; }
  .steps__list { grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
  .related__list { grid-template-columns: repeat(2, 1fr); }
  .ft__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .dock { display: none; }
  .nav { display: block; }
  .hdr__call { display: inline-flex; }
  .burger { display: none; }
  .menu { display: none !important; }

  .hero { padding-block: 3.5rem 4rem; }
  .hero__in { grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
  .hero__card { padding: 1.75rem; }

  .probs { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .trust__list { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .steps__list { grid-template-columns: repeat(4, 1fr); }
  .endcta__in { grid-template-columns: 1.25fr 1fr; align-items: center; gap: 3rem; }
  .endcta .ctapair { max-width: none; }
  .ft__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; }

  .zones { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .split { display: grid; grid-template-columns: 1.55fr .95fr; gap: 3rem; align-items: start; }
  .split__side { position: sticky; top: 6rem; }
  .ptable { grid-template-columns: repeat(2, 1fr); }
  .prow { grid-template-columns: 1fr auto; }
}

@media (min-width: 1080px) {
  .probs { grid-template-columns: repeat(4, 1fr); }
  .prob { grid-template-columns: 1fr; align-items: start; padding: 1.25rem; }
  .prob__go { display: none; }
  .prob__ico { margin-bottom: .8rem; }
}

/* Étapes : les paragraphes doivent démarrer à la même hauteur, que le titre
   tienne sur une ou deux lignes. subgrid aligne les lignes entre les 4 cartes. */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 900px) {
    .steps__list { grid-template-rows: auto auto; row-gap: 0; column-gap: 1.75rem; }
    .steps__item { grid-row: span 2; grid-template-rows: subgrid; }
    .steps__item h3 { margin-bottom: .55rem; }
  }
}

/* La grille « auto » garde son comportement, même au-delà de 1080 px. */
@media (min-width: 900px) {
  .probs.probs--auto { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  .prob:hover, .btn:hover { transform: none; }
}

/* ---------- impression ---------- */
@media print {
  .dock, .hdr, .strip, .endcta, .menu { display: none !important; }
  body { padding-bottom: 0; }
}

/* Cartes d'articles (section conseils) : pas de flèche, description plus longue. */
.prob--article { grid-template-columns: 44px 1fr; align-items: start; }
.prob--article .prob__d { margin-top: .35rem; }
@media (min-width: 1080px) {
  .prob--article { grid-template-columns: 1fr; }
  .prob--article .prob__ico { margin-bottom: .8rem; }
}
