/* =====================================================================
   Identité visuelle BPO — extraite du site en ligne (bpo.archi, 2026-08-15).
   Les tokens sont repris à l'identique : ces pages doivent être
   indiscernables du site produit pour le destinataire.

   Décision D-03 : la police Inter n'est PAS chargée depuis Google Fonts.
   Un appel à fonts.googleapis.com transmet l'adresse IP du visiteur hors UE
   à chaque visite (interdit n°5). Le site produit du client le fait ; les
   pages de campagne ne le feront pas. La pile système ci-dessous en est
   très proche visuellement. Pour une fidélité exacte, auto-héberger les
   fichiers woff2 d'Inter (licence SIL OFL) dans ce dossier.
   ===================================================================== */

:root {
  --ink: #0d1526;      /* titres / texte fort */
  --tx: #333e4d;       /* texte courant */
  --dm: #6b7686;       /* texte secondaire */
  --accent: #e5701c;   /* orange d'accent */
  --accent2: #ff8a3d;  /* orange clair */
  --bg: #ffffff;
  --bg2: #f6f8fc;      /* sections gris clair */
  --card: #ffffff;
  --ln: #e6ecf4;       /* lignes / bordures */
  --steel: #9aa6b5;
  --ok: #1f7a4d;
  --alerte: #b23c17;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--tx);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { color: var(--ink); font-weight: 300; letter-spacing: -0.02em; line-height: 1.12; }
h1 { font-size: clamp(30px, 4.4vw, 50px); margin-bottom: 20px; }
h2 { font-size: clamp(23px, 2.6vw, 33px); margin-bottom: 16px; }
h3 { font-size: 19px; font-weight: 500; margin-bottom: 9px; }
p { margin-bottom: 16px; }
b, strong { font-weight: 600; color: var(--ink); }
a { color: var(--accent); }

.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent);
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 7vw; }
.etroit { max-width: 720px; }

/* ---------- boutons ---------- */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
::selection { background: rgba(255, 138, 61, 0.28); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 44px; padding: 12px 26px; border-radius: 10px;
  font-size: 15px; font-weight: 500; font-family: inherit;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .18s, box-shadow .25s, background .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 24px rgba(229, 112, 28, .24); }
.btn-primary:hover { box-shadow: 0 12px 32px rgba(229, 112, 28, .34); background: #cf6316; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--ln); }
.btn-ghost:hover { border-color: #c7d3e4; background: #fbfcfe; }
.btn-arrow { font-size: 17px; transition: transform .2s; }
.btn:hover .btn-arrow { transform: translateX(3px); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .btn:hover { transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--ln);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 15px; padding-bottom: 15px; }
.brand { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; text-decoration: none; }
.brand .bt { font-size: 21px; letter-spacing: .02em; font-weight: 600; color: var(--ink); line-height: 1; }
.brand .btag {
  font-size: 10.5px; letter-spacing: .19em; text-transform: uppercase;
  font-weight: 500; color: var(--steel); white-space: nowrap; line-height: 1;
}
@media (max-width: 520px) { .brand .btag { display: none; } }
.nav-mini { display: flex; gap: 28px; font-size: 14px; align-items: center; }
.nav-mini a { color: var(--dm); text-decoration: none; transition: color .2s; }
.nav-mini a:hover { color: var(--ink); }

/* ---------- sections ---------- */
.hero {
  background:
    radial-gradient(60% 55% at 78% 30%, rgba(255, 138, 61, .10), transparent 70%),
    linear-gradient(180deg, #fffdfb 0%, #ffffff 60%);
}
.hero .wrap { padding-top: clamp(48px, 8vh, 96px); padding-bottom: clamp(40px, 7vh, 80px); }
.hero-sub { font-size: clamp(16px, 1.4vw, 19px); color: var(--dm); max-width: 560px; margin-bottom: 30px; }
.hero .grad {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; font-weight: 400;
}

.section { padding: clamp(44px, 7vh, 82px) 0; }
.section-gris { background: var(--bg2); border-top: 1px solid var(--ln); border-bottom: 1px solid var(--ln); }

.grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px; }
.carte {
  background: var(--card); border: 1px solid var(--ln);
  border-radius: 14px; padding: 26px;
}
.carte p:last-child { margin-bottom: 0; }

.strip { border-top: 1px solid var(--ln); border-bottom: 1px solid var(--ln); background: var(--bg2); }
.strip .wrap {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(18px, 5vw, 56px); flex-wrap: wrap;
  padding-top: 22px; padding-bottom: 22px; font-size: 14px; color: var(--dm);
}
.strip .fmt { font-weight: 600; letter-spacing: .04em; color: var(--ink); }

/* ---------- formulaires ---------- */
.champ { margin-bottom: 18px; }
.champ label { display: block; font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.champ .aide { font-size: 13px; color: var(--dm); margin-top: 5px; }
.champ input, .champ select, .champ textarea {
  width: 100%; min-height: 44px; padding: 11px 14px;
  font-family: inherit; font-size: 15px; color: var(--tx);
  background: #fff; border: 1px solid var(--ln); border-radius: 10px;
}
.champ input:focus, .champ select:focus, .champ textarea:focus {
  outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent);
}

/* ---------- messages ---------- */
.message { border-radius: 12px; padding: 20px 24px; border: 1px solid var(--ln); margin-bottom: 26px; }
.message-ok { background: #f2f9f5; border-color: #cfe6da; }
.message-ok strong { color: var(--ok); }
.message-alerte { background: #fdf4f0; border-color: #f0d5c8; }
.message-alerte strong { color: var(--alerte); }

/* ---------- pied ---------- */
.pied { border-top: 1px solid var(--ln); background: var(--bg2); padding: 34px 0; font-size: 13.5px; color: var(--dm); }
.pied .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; }
.pied a { color: var(--dm); text-decoration: underline; text-underline-offset: 3px; }
.pied a:hover { color: var(--ink); }
.pied nav { display: flex; flex-wrap: wrap; gap: 12px 22px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.saut {
  position: absolute; left: -9999px; top: 0; background: var(--accent); color: #fff;
  padding: 10px 18px; border-radius: 0 0 8px 0; z-index: 100; text-decoration: none;
}
.saut:focus { left: 0; }
