/* ==========================================================================
   Abakoré Business Partner — feuille de style
   Charte : marine #1B2A4A, orange #D2542B, bleu logo #2C519C
   Parti pris : sobre et éditorial — photos réelles, schémas utiles, peu d'effets.
   ========================================================================== */

:root {
  --navy: #1b2a4a;
  --navy-900: #131e36;
  --navy-700: #26385f;
  --blue: #2c519c;
  --blue-50: #eaf0f9;
  --orange: #d2542b;
  --orange-600: #b4461f;
  --orange-50: #fbefe9;
  --paper: #f6f4f0;
  --ink: #1d2433;
  --muted: #566078;
  --line: #e1e4ea;
  --ok: #1f7a4d;
  --warn: #b7791f;
  --err: #b42318;

  --font-head: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Open Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --r-sm: 6px;
  --r: 10px;
  --r-lg: 14px;
  --container: 1160px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { overflow-x: clip; margin: 0; font-family: var(--font-body); font-size: 1rem; line-height: 1.65; color: var(--ink); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--orange-600); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.22; margin: 0 0 .55em; letter-spacing: -.012em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.2vw, 3.05rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.15rem); font-weight: 800; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.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; left: 1rem; top: -100px; background: var(--navy); color: #fff; padding: .7rem 1rem; border-radius: var(--r-sm); z-index: 1000; }
.skip-link:focus { top: 1rem; color: #fff; }
.text-muted { color: var(--muted); }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.lead { font-size: 1.08rem; color: var(--muted); }

/* ---------- Icônes ---------- */
.ico { width: 22px; height: 22px; flex: none; }
.ico-round { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); flex: none; }
.ico-round.o { background: var(--orange-50); color: var(--orange); }
.ico-round svg { width: 22px; height: 22px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .7rem 1.3rem; border-radius: var(--r-sm);
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-600); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-700); color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-light { border-color: rgba(255,255,255,.65); color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--navy); }
.btn-group { display: flex; flex-wrap: wrap; gap: .75rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .35rem; font-family: var(--font-head); font-weight: 700; color: var(--orange-600); text-decoration: none; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1rem; }
.brand img { width: 160px; height: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .15rem; }
.main-nav a, .main-nav button.nav-link {
  display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; padding: .5rem .8rem;
  font-family: var(--font-head); font-weight: 600; font-size: .93rem; color: var(--navy);
  text-decoration: none; border-radius: var(--r-sm); background: none; border: 0; cursor: pointer;
}
.main-nav a:hover, .main-nav button.nav-link:hover { color: var(--orange-600); }
.main-nav a[aria-current="page"], .main-nav button.nav-link[data-active="true"] { color: var(--orange-600); box-shadow: inset 0 -2px 0 var(--orange); border-radius: 0; }
.nav-link .chev { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.has-sub { position: relative; }
.main-nav .submenu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 310px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 12px 28px rgba(19,30,54,.12);
  padding: .4rem; display: none; flex-direction: column; align-items: stretch;
}
.main-nav .has-sub.open .submenu { display: flex; }
.has-sub.open .chev { transform: rotate(180deg); }
.main-nav .submenu a { display: flex; gap: .75rem; align-items: flex-start; padding: .7rem .8rem; box-shadow: none; }
.main-nav .submenu a:hover { background: var(--paper); }
.submenu .ico-round { width: 38px; height: 38px; }
.submenu .ico-round svg { width: 19px; height: 19px; }
.submenu span.t { display: block; }
.submenu small { display: block; font-family: var(--font-body); font-weight: 400; color: var(--muted); font-size: .82rem; }
.main-nav a.nav-diag { background: var(--orange); color: #fff; margin-left: .5rem; padding-inline: 1rem; border-radius: var(--r-sm); box-shadow: none; }
.main-nav a.nav-diag:hover { background: var(--orange-600); color: #fff; }
.nav-diag svg { width: 17px; height: 17px; }
.nav-diag .badge-free { font-size: .66rem; text-transform: uppercase; letter-spacing: .06em; background: rgba(255,255,255,.2); padding: .08rem .4rem; border-radius: 4px; }
.nav-toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--line); background: #fff; border-radius: var(--r-sm); cursor: pointer; color: var(--navy); align-items: center; justify-content: center; }
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .main-nav { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; padding: 1rem 1.25rem 2rem; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .28s var(--ease), visibility .28s; }
  .main-nav.open { transform: none; visibility: visible; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--line); }
  .main-nav a, .main-nav button.nav-link { width: 100%; justify-content: space-between; font-size: 1.05rem; padding: .95rem .3rem; box-shadow: none !important; }
  .main-nav .submenu { position: static; box-shadow: none; border: 0; padding: 0 0 .5rem; min-width: 0; }
  .main-nav .submenu a { justify-content: flex-start; padding: .6rem .3rem; }
  .main-nav > ul > li:last-child { border: 0; }
  .main-nav a.nav-diag { margin: 1.2rem 0 0; justify-content: center; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Héros accueil ---------- */
.hero { position: relative; background: var(--navy-900); color: #fff; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(19,30,54,.94) 0%, rgba(19,30,54,.82) 42%, rgba(19,30,54,.25) 100%); }
.hero-inner { padding: clamp(4rem, 9vw, 7rem) 0 clamp(6.5rem, 11vw, 8.5rem); max-width: 650px; }
.kicker { font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); margin-bottom: .8rem; display: block; }
.hero .kicker { color: #f3a585; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: #f3a585; }
.hero p { font-size: clamp(1.03rem, 1.5vw, 1.15rem); color: rgba(255,255,255,.88); }

/* Bande Créer / Sécuriser / Piloter (reprise de la brochure) */
.pillars { position: relative; margin-top: -3.6rem; z-index: 2; }
.pillars ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); box-shadow: 0 14px 30px rgba(19,30,54,.16); border-radius: var(--r); overflow: hidden; }
.pillars li a { display: flex; align-items: center; gap: 1rem; padding: 1.25rem 2.4rem 1.25rem 1.5rem; color: #fff; text-decoration: none; height: 100%; position: relative; }
.pillars li:nth-child(1) a { background: var(--orange); }
.pillars li:nth-child(2) a { background: var(--blue); }
.pillars li:nth-child(3) a { background: var(--navy); }
.pillars li:not(:last-child) a::after { content: ""; position: absolute; right: -18px; top: 0; bottom: 0; width: 36px; background: inherit; clip-path: polygon(0 0, 50% 50%, 0 100%); z-index: 1; }
.pillars .pi { width: 48px; height: 48px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: none; }
.pillars li:nth-child(1) .pi { color: var(--orange); } .pillars li:nth-child(2) .pi { color: var(--blue); } .pillars li:nth-child(3) .pi { color: var(--navy); }
.pillars .pi svg { width: 22px; height: 22px; }
.pillars strong { display: block; font-family: var(--font-head); font-size: 1.1rem; letter-spacing: .04em; text-transform: uppercase; }
.pillars span.d { font-size: .88rem; opacity: .9; }
.pillars li a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 800px) {
  .pillars { margin-top: -2rem; }
  .pillars ol { grid-template-columns: 1fr; }
  .pillars li:not(:last-child) a::after { display: none; }
}

/* ---------- Héros des pages intérieures (texte + photo) ---------- */
.page-hero { background: var(--paper); border-bottom: 1px solid var(--line); }
.ph-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; padding: clamp(2.4rem, 5vw, 3.8rem) 0; }
.ph-grid p { color: var(--muted); font-size: 1.08rem; max-width: 600px; }
.ph-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); }
.breadcrumb { font-size: .86rem; margin-bottom: .9rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
@media (max-width: 860px) { .ph-grid { grid-template-columns: 1fr; } .ph-media img { aspect-ratio: 16 / 9; } }

/* ---------- Sections ---------- */
.section { padding: clamp(3.4rem, 7.5vw, 5.6rem) 0; }
.section-paper { background: var(--paper); }
.section-navy { background: var(--navy); color: #fff; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy .kicker { color: #f3a585; }
.section-head { max-width: 720px; margin-bottom: 2.4rem; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-navy .section-head p { color: rgba(255,255,255,.8); }
.section-head.center { margin-inline: auto; text-align: center; }

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split, .split.reverse { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }
.photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); }
.photo.tall img { aspect-ratio: 4 / 5; }
.photo figcaption { font-size: .85rem; color: var(--muted); margin-top: .6rem; }

/* ---------- Cartes d'offre avec photo ---------- */
.offer { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: inherit; transition: border-color .2s var(--ease), transform .25s var(--ease); }
.offer:hover { border-color: #c6cddb; transform: translateY(-3px); color: inherit; }
.offer-img { position: relative; }
.offer-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.offer-img .ico-round { position: absolute; left: 1.3rem; bottom: -23px; background: #fff; box-shadow: 0 2px 8px rgba(19,30,54,.15); }
.offer-body { padding: 2rem 1.4rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.offer-body p { color: var(--muted); font-size: .97rem; }
.offer-body .link-arrow { margin-top: auto; }
.offer-meta { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.offer-meta li { font-size: .78rem; font-weight: 600; color: var(--navy-700); background: var(--paper); padding: .2rem .55rem; border-radius: 4px; }

/* ---------- Listes d'items à icône (sans cartes) ---------- */
.feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature h3 { margin-bottom: .25rem; font-size: 1.05rem; }
.feature p { color: var(--muted); margin: 0; font-size: .96rem; }
.section-navy .feature p { color: rgba(255,255,255,.78); }
.section-navy .ico-round { background: rgba(255,255,255,.1); color: #fff; }
.section-navy .ico-round.o { background: var(--orange); color: #fff; }
.features { display: grid; gap: 1.8rem 2.2rem; }
.box { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem; }
.section-paper .box { border-color: #e6e2da; }

.checklist, .crosslist { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.checklist li, .crosslist li { position: relative; padding-left: 1.9rem; }
.checklist li::before, .crosslist li::before { content: ""; position: absolute; left: 0; top: .22em; width: 1.25rem; height: 1.25rem; border-radius: 50%; background-position: center; background-repeat: no-repeat; }
.checklist li::before { background-color: var(--orange-50); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d2542b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); background-size: 70%; }
.crosslist li::before { background-color: #eceef3; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23566078' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E"); background-size: 60%; }

/* ---------- Schéma : étapes reliées (méthode, création) ---------- */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 1rem; position: relative; }
.flow::before { content: ""; position: absolute; top: 31px; left: calc(100% / var(--n, 4) / 2); right: calc(100% / var(--n, 4) / 2); height: 3px; background: repeating-linear-gradient(90deg, #cfd6e4 0 10px, transparent 10px 16px); z-index: 0; }
.section-navy .flow::before { background: repeating-linear-gradient(90deg, rgba(255,255,255,.3) 0 10px, transparent 10px 16px); }
.flow li { text-align: center; position: relative; z-index: 1; padding: 0 .3rem; }
.flow .node { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto .9rem; display: grid; place-items: center; background: var(--navy); color: #fff; position: relative; border: 4px solid #fff; }
.section-navy .flow .node { border-color: var(--navy); background: var(--navy-700); }
.section-paper .flow .node { border-color: var(--paper); }
.flow li:nth-child(even) .node { background: var(--orange); }
.flow .node svg { width: 26px; height: 26px; }
.flow .num { position: absolute; top: -6px; right: -8px; width: 24px; height: 24px; border-radius: 50%; background: #fff; color: var(--orange); border: 2px solid var(--orange); font: 800 .75rem/20px var(--font-head); }
.flow h3 { font-size: 1rem; margin-bottom: .3rem; }
.flow p { font-size: .92rem; color: var(--muted); margin: 0; }
.section-navy .flow p { color: rgba(255,255,255,.78); }
@media (max-width: 760px) {
  .flow { grid-template-columns: 1fr; gap: 1.4rem; }
  .flow::before { top: 0; bottom: 0; left: 31px; right: auto; width: 3px; height: auto; background: repeating-linear-gradient(180deg, #cfd6e4 0 10px, transparent 10px 16px); }
  .section-navy .flow::before { background: repeating-linear-gradient(180deg, rgba(255,255,255,.3) 0 10px, transparent 10px 16px); }
  .flow li { display: grid; grid-template-columns: 64px 1fr; gap: 1rem; text-align: left; padding: 0; align-items: start; }
  .flow .node { margin: 0; }
}

/* ---------- Graphique en barres (HTML accessible) ---------- */
.chart { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem 1.6rem 1.2rem; margin: 0; }
.chart figcaption.title { font-family: var(--font-head); font-weight: 700; color: var(--navy); margin-bottom: .2rem; }
.chart .sub { font-size: .86rem; color: var(--muted); margin-bottom: 1.3rem; }
.bars { display: grid; gap: 1.1rem; }
.bar-row .lbl { display: flex; justify-content: space-between; font-size: .92rem; margin-bottom: .35rem; font-weight: 600; color: var(--navy); }
.bar-row .lbl span:last-child { font-family: var(--font-head); }
.bar-track { height: 14px; background: #eef0f4; border-radius: 3px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 3px; background: var(--muted); width: 0; transition: width 1s var(--ease); }
.bar-fill.us { background: var(--orange); }
.chart.in .bar-fill, .no-js .bar-fill { width: var(--w); }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem; padding: 0; list-style: none; }
.chips li { font-size: .78rem; padding: .18rem .55rem; border-radius: 4px; background: var(--orange-50); color: var(--orange-600); font-weight: 600; }
.chips.grey li { background: #eef0f4; color: var(--muted); }
.chart .note { font-size: .8rem; color: var(--muted); margin: 1.1rem 0 0; border-top: 1px solid var(--line); padding-top: .7rem; }

/* ---------- Schéma cyclique (stratégie) ---------- */
.cycle-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
@media (max-width: 900px) { .cycle-wrap { grid-template-columns: 1fr; } }
.cycle svg { width: 100%; max-width: 540px; height: auto; margin-inline: auto; display: block; }
.cycle text { font-family: var(--font-head); }
.cycle-list { counter-reset: c; list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.cycle-list li { counter-increment: c; display: grid; grid-template-columns: 34px 1fr; gap: .8rem; }
.cycle-list li::before { content: counter(c); width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font: 800 .82rem/30px var(--font-head); text-align: center; }
.cycle-list li:nth-child(even)::before { background: var(--orange); }
.cycle-list strong { font-family: var(--font-head); color: var(--navy); display: block; }
.cycle-list span { color: var(--muted); font-size: .95rem; }

/* ---------- Maquette de tableau de bord (exemple) ---------- */
.dash { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 18px 40px rgba(19,30,54,.10); font-size: .88rem; }
.dash-top { display: flex; justify-content: space-between; align-items: center; padding: .8rem 1.1rem; background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .85rem; }
.dash-top small { font-weight: 500; opacity: .75; }
.dash-body { padding: 1.1rem; display: grid; gap: 1rem; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.kpi { border: 1px solid var(--line); border-radius: var(--r); padding: .7rem .8rem; }
.kpi .k { color: var(--muted); font-size: .76rem; line-height: 1.3; min-height: 2em; }
.kpi .v { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; color: var(--navy); }
.status { display: inline-flex; align-items: center; gap: .3rem; font-size: .72rem; font-weight: 700; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status.ok { color: var(--ok); } .status.warn { color: var(--warn); } .status.ko { color: var(--err); }
.dash-chart { border: 1px solid var(--line); border-radius: var(--r); padding: .7rem .8rem .4rem; }
.dash-chart .h { display: flex; justify-content: space-between; align-items: center; color: var(--navy); font-weight: 700; font-size: .8rem; margin-bottom: .3rem; }
.legend { display: flex; gap: .8rem; font-weight: 600; color: var(--muted); font-size: .72rem; }
.legend i { display: inline-block; width: 14px; height: 3px; vertical-align: middle; margin-right: .3rem; border-radius: 2px; }
.dash table { width: 100%; border-collapse: collapse; font-size: .8rem; }
.dash th { text-align: left; color: var(--muted); font-weight: 600; padding: .35rem .2rem; border-bottom: 1px solid var(--line); }
.dash td { padding: .45rem .2rem; border-bottom: 1px solid #f0f1f4; }
.dash-note { font-size: .8rem; color: var(--muted); margin-top: .7rem; text-align: center; }
@media (max-width: 480px) { .kpis { grid-template-columns: 1fr 1fr; } .kpis .kpi:last-child { display: none; } }

/* ---------- Domaines (icône + une ligne) ---------- */
.domains { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.domains > div { padding: 1.5rem 1.3rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.domains > div:nth-child(4n) { border-right: 0; }
.domains > div:nth-last-child(-n+4) { border-bottom: 0; }
.domains h3 { font-size: 1rem; margin: .9rem 0 .3rem; }
.domains p { font-size: .92rem; color: var(--muted); margin: 0; }
@media (max-width: 980px) {
  .domains { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .domains > div { border-right: 1px solid var(--line) !important; border-bottom: 1px solid var(--line) !important; }
  .domains > div:nth-child(2n) { border-right: 0 !important; }
  .domains > div:nth-last-child(-n+2) { border-bottom: 0 !important; }
}
@media (max-width: 560px) {
  .domains { grid-template-columns: 1fr; }
  .domains > div { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .domains > div:last-child { border-bottom: 0 !important; }
}

/* ---------- Sélecteur « Vous êtes… » ---------- */
.finder { display: grid; grid-template-columns: 1fr 1.05fr; gap: 1.5rem; }
@media (max-width: 900px) { .finder { grid-template-columns: 1fr; } }
.finder-options { display: grid; gap: .5rem; align-content: start; }
.finder-option { display: flex; align-items: center; gap: .9rem; width: 100%; text-align: left; min-height: 54px; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: var(--r); background: #fff; font-family: var(--font-head); font-weight: 600; font-size: .97rem; color: var(--navy); cursor: pointer; transition: border-color .2s, background-color .2s; }
.finder-option:hover { border-color: #b9c2d3; }
.finder-option[aria-pressed="true"] { border-color: var(--orange); background: var(--orange-50); }
.finder-option .ico-round { width: 36px; height: 36px; }
.finder-option .ico-round svg { width: 18px; height: 18px; }
.finder-result { border-radius: var(--r-lg); overflow: hidden; background: var(--navy); color: #fff; display: flex; flex-direction: column; }
.finder-result img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.finder-result .fr-body { padding: 1.5rem 1.6rem 1.7rem; }
.finder-result h3 { color: #fff; font-size: 1.4rem; }
.finder-result p { color: rgba(255,255,255,.85); }
.finder-result .need { display: block; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: #f3a585; font-family: var(--font-head); font-weight: 700; margin-bottom: .4rem; }

/* ---------- Onglets (création) ---------- */
.tabs-list { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 2px solid var(--line); margin-bottom: 1.6rem; }
.tab-btn { min-height: 48px; padding: .7rem 1.2rem; border: 0; background: none; font-family: var(--font-head); font-weight: 700; color: var(--muted); cursor: pointer; font-size: .97rem; margin-bottom: -2px; border-bottom: 3px solid transparent; }
.tab-btn:hover { color: var(--navy); }
.tab-btn[aria-selected="true"] { color: var(--navy); border-bottom-color: var(--orange); }
.tab-panel[hidden] { display: none; }
.tab-panel { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; align-items: start; }
@media (max-width: 820px) { .tab-panel { grid-template-columns: 1fr; } }
.tab-panel .for { font-size: .9rem; font-weight: 600; color: var(--orange-600); margin-bottom: .6rem; }
.receive { background: var(--paper); border-radius: var(--r-lg); padding: 1.3rem 1.4rem; }
.receive h4 { font-size: .95rem; display: flex; align-items: center; gap: .5rem; }
.receive h4 svg { width: 20px; height: 20px; color: var(--orange); }
.receive p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Tableau comparatif ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; }
table.compare { width: 100%; border-collapse: collapse; min-width: 600px; }
.compare th, .compare td { padding: .9rem 1.1rem; text-align: left; vertical-align: top; border-top: 1px solid var(--line); font-size: .95rem; }
.compare thead th { background: var(--paper); color: var(--navy); font-family: var(--font-head); border-top: 0; }
.compare thead th.us { background: var(--navy); color: #fff; }
.compare tbody th { font-family: var(--font-head); color: var(--navy); width: 20%; }
.compare td { color: var(--muted); }
.compare td.us { color: var(--ink); font-weight: 600; }

/* ---------- Encadrés, citation ---------- */
.callout { border-left: 4px solid var(--orange); background: var(--orange-50); padding: 1.2rem 1.4rem; border-radius: 0 var(--r) var(--r) 0; }
.callout h3 { margin-bottom: .35rem; font-size: 1.02rem; }
.callout p:last-child { margin: 0; }
.callout.navy { border-color: var(--blue); background: var(--blue-50); }
.quote { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.25rem, 2.4vw, 1.65rem); color: var(--navy); line-height: 1.4; max-width: 820px; margin: 0 auto; text-align: center; }
.quote::before { content: ""; display: block; width: 48px; height: 4px; background: var(--orange); margin: 0 auto 1.4rem; border-radius: 2px; }
.pay { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; padding: 0; list-style: none; }
.pay li { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .7rem; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; font-weight: 600; font-size: .88rem; color: var(--navy); }
.pay li svg { width: 17px; height: 17px; color: var(--orange); }

/* ---------- Bandeau CTA avec photo ---------- */
.cta { display: grid; grid-template-columns: 1.3fr .7fr; background: var(--navy); color: #fff; border-radius: var(--r-lg); overflow: hidden; }
.cta-text { padding: clamp(1.8rem, 4.5vw, 3rem); }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.85); }
.cta-img { position: relative; min-height: 260px; }
.cta-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
@media (max-width: 820px) { .cta { grid-template-columns: 1fr; } .cta-img { display: none; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.25fr .85fr; gap: 2rem; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.4rem, 3.5vw, 2.3rem); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 1.05rem; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--navy); margin-bottom: .35rem; }
.req { color: var(--orange-600); }
.hint { font-size: .85rem; color: var(--muted); margin: .3rem 0 0; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: .65rem .85rem; border: 1px solid #c3cbd9; border-radius: var(--r-sm); font: inherit; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(44,81,156,.18); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--err); }
.field .error { display: none; color: var(--err); font-size: .86rem; margin: .3rem 0 0; }
.field.has-error .error { display: block; }
.field label.consent { display: flex; gap: .7rem; align-items: flex-start; font-family: var(--font-body); font-weight: 400; font-size: .92rem; color: var(--muted); }
.consent input { width: 22px; height: 22px; min-height: 0; margin-top: .15rem; accent-color: var(--orange); flex: none; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 1rem; padding: .85rem 1rem; border-radius: var(--r-sm); font-weight: 600; display: none; }
.form-status.ok { display: block; background: #e7f5ee; color: var(--ok); }
.form-status.ko { display: block; background: #fdecea; color: var(--err); }
.btn[disabled] { opacity: .7; cursor: progress; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: .95rem; }
.contact-list a { font-weight: 600; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.75); padding: 3.6rem 0 1.5rem; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 2rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { display: inline-block; background: #fff; padding: .5rem .8rem; border-radius: var(--r); margin-bottom: 1rem; }
.footer-logo img { width: 140px; }
.site-footer h2 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: #f3a585; text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.4rem; padding-top: 1.3rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; font-size: .83rem; color: rgba(255,255,255,.6); }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(0,0,0,.18); }
.wa-float:hover { color: #fff; background: #1ebe5b; }
.wa-float svg { width: 29px; height: 29px; }

/* ---------- Apparition discrète ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.reveal.in, .no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .bar-fill { width: var(--w); }
}
.legal { max-width: 820px; }
.legal h2 { font-size: 1.3rem; margin-top: 2rem; }
@media print { .site-header, .wa-float, .site-footer, .cta { display: none !important; } }
.ph-media, figure.dash, figure.chart, figure.photo { margin: 0; }
.lg-r { background: var(--orange); } .lg-c { background: #9aa5ba; }
.w14 { --w: 14%; } .w100 { --w: 100%; }
.flow.n3 { --n: 3; } .flow.n4 { --n: 4; } .flow.n5 { --n: 5; }
