/* ==========================================================================
   PROXICOD — feuille de style principale
   Charte : fond crème #F6F5F1, encre #1C2629, bleu #0874A5, cyan #4EC1F0
   Polices : Schibsted Grotesk (texte), IBM Plex Mono (étiquettes)
   ========================================================================== */

:root {
  --bg: #F6F5F1;
  --white: #FFFFFF;
  --ink: #1C2629;
  --ink-2: #3A484C;
  --ink-3: #4B5B5F;
  --muted: #627276;
  --blue: #0874A5;
  --cyan: #4EC1F0;
  --sky: #579BDC;
  --sky-bg: #EEF5FC;
  --navy: #0B1220;
  --photo-bg: #E4EBED;
  --error: #B42318;
  --whatsapp: #25D366;
  --line: rgba(28, 38, 41, .12);
  --line-strong: rgba(28, 38, 41, .14);
  --line-light: rgba(28, 38, 41, .1);
  --on-dark: #EAF0F2;
  --on-dark-muted: #C5CFD2;
  --on-dark-dim: #B3BEC1;
  --on-dark-faint: #93A1A5;
  --font-sans: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --gutter: clamp(20px, 4vw, 48px);
  --max: 1240px;
  --radius: 20px;
}

/* --- Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { margin: 0; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600;
}
.skip-link:focus { left: 16px; color: #fff; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* --- Typographie ---------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }
.num { font-family: var(--font-mono); font-size: 13px; color: var(--blue); }
.title-xl { font-size: clamp(40px, 6vw, 84px); line-height: .98; letter-spacing: -.045em; text-wrap: balance; }
.title-lg { font-size: clamp(38px, 5.6vw, 76px); line-height: 1; letter-spacing: -.045em; text-wrap: balance; }
.title-md { font-size: clamp(30px, 4vw, 52px); line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; }
.title-sm { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.05; letter-spacing: -.03em; text-wrap: balance; }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--muted); max-width: 56ch; text-wrap: pretty; }
.text-muted { color: var(--muted); }
.max-760 { max-width: 760px; }

/* --- Boutons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 24px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 16px; line-height: 1.2; white-space: nowrap; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn--sm { padding: 13px 22px; font-size: 15px; }
.btn--primary { background: var(--cyan); color: var(--ink); }
.btn--primary:hover { background: var(--ink); color: #fff; }
.btn--outline { border-color: rgba(28, 38, 41, .2); color: var(--ink); font-weight: 500; }
.btn--outline:hover { border-color: var(--ink); color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--sky); color: #fff; }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--cyan); color: var(--ink); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .3); color: #fff; font-weight: 500; }
.btn--ghost-light:hover { border-color: #fff; color: #fff; }
.btn--cyan-dark { background: var(--cyan); color: var(--navy); }
.btn--cyan-dark:hover { background: #fff; color: var(--navy); }
.btn[disabled] { opacity: .6; cursor: progress; }
.link-arrow { font-weight: 600; font-size: 16px; color: var(--blue); }
.link-arrow:hover { color: var(--ink); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* --- En-tête -------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 245, 241, .94);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-light);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 12px; padding-bottom: 12px;
}
.site-header__logo { display: flex; align-items: center; flex-shrink: 0; }
.site-header__logo img { height: 36px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 2px; min-width: 0; }
.site-nav a {
  padding: 8px 12px; border-radius: 999px; font-size: 15px; font-weight: 500;
  color: var(--muted); white-space: nowrap;
}
.site-nav a:hover { background: rgba(28, 38, 41, .06); color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); background: rgba(78, 193, 240, .18); }
.site-header__cta { padding: 10px 18px; font-size: 15px; flex-shrink: 0; }
.burger {
  display: none; width: 44px; height: 44px; flex-shrink: 0; padding: 0;
  align-items: center; justify-content: center;
  border-radius: 999px; border: 1px solid rgba(28, 38, 41, .16); background: #fff; cursor: pointer;
}
.burger svg { display: block; }
.burger svg path { stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; fill: none; }
.burger .icon-close { display: none; }
.burger[aria-expanded="true"] .icon-open { display: none; }
.burger[aria-expanded="true"] .icon-close { display: block; }
.mobile-panel {
  display: none; flex-direction: column; gap: 4px;
  padding: 8px var(--gutter) 20px; border-top: 1px solid rgba(28, 38, 41, .08);
}
.mobile-panel a:not(.btn) {
  padding: 14px 4px; font-size: 18px; font-weight: 600; color: var(--muted);
  border-bottom: 1px solid rgba(28, 38, 41, .08);
}
.mobile-panel a:not(.btn):hover, .mobile-panel a[aria-current="page"] { color: var(--ink); }
.mobile-panel .btn { margin-top: 14px; }
@media (max-width: 960px) {
  .site-nav, .site-header__cta { display: none; }
  .burger { display: flex; }
  .mobile-panel:not([hidden]) { display: flex; }
}

/* --- Sections ------------------------------------------------------------- */
.section { padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(64px, 8vw, 112px); }
.section--tight { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); }
.section--white { background: var(--white); border-top: 1px solid var(--line-light); }
.section--white + .section--white { border-top: 0; }
.section--bordered { border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.section--dark { background: var(--ink); color: #fff; }
.section--dark .eyebrow { color: var(--cyan); }
.section--dark h2 { color: #fff; }
.section--cyan { background: var(--cyan); color: var(--ink); }
.section--cyan .eyebrow { color: var(--ink); }
.stack-v { display: flex; flex-direction: column; }
.gap-16 { gap: 16px; } .gap-24 { gap: 24px; } .gap-32 { gap: 32px; } .gap-40 { gap: 40px; } .gap-48 { gap: 48px; } .gap-56 { gap: 56px; }
.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.section-head--row {
  flex-direction: row; justify-content: space-between; align-items: flex-end; flex-wrap: wrap;
  gap: 16px 40px; max-width: none;
}
.section-head--row > div { display: flex; flex-direction: column; gap: 16px; max-width: 720px; }
.section-head p { font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 60ch; text-wrap: pretty; }

.page-hero {
  padding-top: clamp(32px, 5vw, 56px); padding-bottom: clamp(48px, 6vw, 88px);
  display: flex; flex-direction: column; gap: clamp(32px, 5vw, 56px);
}
.page-hero--deep { padding-bottom: clamp(64px, 8vw, 112px); }
.page-hero--service { padding-bottom: clamp(56px, 8vw, 104px); }
.page-hero__text { display: flex; flex-direction: column; gap: 24px; max-width: 960px; }
.breadcrumb { display: flex; gap: 8px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb [aria-current="page"] { color: var(--ink); }

/* --- Grille de cellules (bordures 1px) ------------------------------------ */
.cells {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.cells--240 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.cells--280 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.cell { background: var(--white); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.cell h3 { font-size: 22px; letter-spacing: -.02em; }
.cell p { font-size: 16px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.cell--hover:hover { background: var(--bg); }
.cells--280 .cell { min-height: 180px; }
.cells--280 .cell h3 { font-size: 21px; text-wrap: balance; }
.cells--280 .cell p { font-size: 15px; }
/* Cartes services de l'accueil */
.cells--home { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.cells--home .cell { background: var(--bg); padding: 32px 28px; gap: 16px; min-height: 300px; color: var(--ink); }
.cells--home .cell:hover { background: var(--white); color: var(--ink); }
.cells--home .cell h3 { font-size: 26px; }
.cells--home .cell p { flex: 1; }
.cell__sub { font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.cell__more { font-weight: 600; font-size: 15px; color: var(--blue); }
/* Références */
.ref { background: var(--white); padding: 28px 24px; min-height: 110px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.ref__name { font-size: 20px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.ref__meta { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; color: var(--muted); }

/* --- Accueil -------------------------------------------------------------- */
.hero {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: clamp(32px, 5vw, 72px); align-items: center;
  padding-top: clamp(48px, 8vw, 104px); padding-bottom: clamp(48px, 6vw, 80px);
}
.hero__text { display: flex; flex-direction: column; gap: 28px; }
.hero h1 { font-size: clamp(42px, 6.4vw, 88px); line-height: .98; letter-spacing: -.045em; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero .lead { max-width: 52ch; }
.hero__media { position: relative; aspect-ratio: 5 / 4; border-radius: var(--radius); overflow: hidden; background: var(--photo-bg); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }

.stats-band { background: var(--white); border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.stat { padding: 28px 24px; display: flex; flex-direction: column; gap: 6px; border-left: 1px solid var(--line-light); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__value { font-size: 28px; font-weight: 700; letter-spacing: -.03em; }
.stat__label { font-size: 15px; color: var(--muted); }
@media (max-width: 560px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { border-left: 0; padding: 20px 12px 20px 0; }
}

.refs { padding-top: clamp(56px, 7vw, 96px); display: flex; flex-direction: column; gap: 32px; }
.refs .section-head--row p { font-size: 16px; line-height: 1.55; max-width: 44ch; }

.split {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(40px, 6vw, 96px);
}
.split__sticky { display: flex; flex-direction: column; gap: 20px; align-self: start; position: sticky; top: 100px; }
.split__sticky p { font-size: 18px; line-height: 1.55; color: var(--muted); max-width: 44ch; }
@media (max-width: 760px) { .split__sticky, .toc { position: static; } }
.numbered-list { border-top: 1px solid var(--line); }
.numbered-list li { display: flex; gap: 20px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
.numbered-list .num { width: 28px; flex-shrink: 0; }
.numbered-list__label { font-size: clamp(19px, 1.8vw, 24px); font-weight: 600; letter-spacing: -.015em; }

.stack { border-top: 1px solid var(--line); }
.stack__row {
  display: grid; grid-template-columns: minmax(140px, 220px) minmax(0, 1fr);
  gap: 16px 32px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: center;
}
.stack__label { margin: 0; font-family: var(--font-mono); font-size: 14px; font-weight: 500; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 7px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 15px; font-weight: 500; }
@media (max-width: 560px) { .stack__row { grid-template-columns: minmax(0, 1fr); gap: 12px; } }

.ambition { display: flex; flex-direction: column; gap: 28px; padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(64px, 9vw, 120px); }
.ambition__quote { font-size: clamp(28px, 3.8vw, 52px); line-height: 1.12; letter-spacing: -.03em; font-weight: 600; max-width: 24ch; text-wrap: balance; }
.ambition__sub { font-size: 18px; line-height: 1.55; max-width: 60ch; }

/* --- Équipe --------------------------------------------------------------- */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 20px; }
.team--large { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 820px) { .team--large { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.member { display: flex; flex-direction: column; gap: 10px; }
.member__photo { aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: var(--photo-bg); }
.team--large .member__photo { border-radius: 16px; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; }
.member__name { font-weight: 600; font-size: 16px; }
.team--large .member__name { font-size: 17px; }
.member__role { font-size: 14px; color: var(--muted); margin-top: -6px; }

.founder {
  display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 2fr);
  gap: clamp(24px, 4vw, 56px); padding-top: 40px; border-top: 1px solid var(--line);
}
.founder__photo { aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: var(--photo-bg); }
.founder__photo img { width: 100%; height: 100%; object-fit: cover; }
.founder__body { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.founder__body h3 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -.03em; }
.founder__role { font-family: var(--font-mono); font-size: 13px; color: var(--blue); text-transform: uppercase; letter-spacing: .06em; }
.founder__body p { margin-top: 8px; font-size: 17px; line-height: 1.65; color: var(--muted); max-width: 62ch; text-wrap: pretty; }
@media (max-width: 700px) {
  .founder { grid-template-columns: minmax(0, 1fr); }
  .founder__photo { max-width: 260px; }
}

.ambitions {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: clamp(32px, 5vw, 72px);
}
.ambitions ol { border-top: 1px solid rgba(28, 38, 41, .28); }
.ambitions li { display: flex; gap: 20px; padding: 18px 0; border-bottom: 1px solid rgba(28, 38, 41, .28); }
.ambitions .num { color: var(--ink); padding-top: 4px; }
.ambitions li span:last-child { font-size: 18px; line-height: 1.5; font-weight: 500; text-wrap: pretty; }

/* --- Pages services ------------------------------------------------------- */
.service-hero {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(32px, 5vw, 72px); align-items: end;
}
.service-hero__text { display: flex; flex-direction: column; gap: 24px; }
.brief { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.brief .eyebrow { margin-bottom: 12px; }
.brief__row { display: grid; grid-template-columns: minmax(110px, 140px) minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--line-light); }
.brief__row:first-of-type { border-top: 0; }
.brief__k { font-size: 14px; color: var(--muted); }
.brief__v { font-size: 16px; font-weight: 500; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 32px; }
.steps li { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 2px solid rgba(255, 255, 255, .2); }
.steps li:first-child { border-top-color: var(--cyan); }
.steps .num { color: var(--cyan); }
.steps h3 { font-size: 22px; letter-spacing: -.02em; color: #fff; }
.steps p { font-size: 16px; line-height: 1.55; color: var(--on-dark-muted); }

/* Piliers IA (accueil, fond sombre) : même grille que les étapes. */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 32px; list-style: none; margin: 0; padding: 0; }
.pillars li { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 2px solid rgba(255, 255, 255, .2); }
.pillars li:first-child { border-top-color: var(--cyan); }
.pillars .num { color: var(--cyan); }
.pillars h3 { font-size: 22px; letter-spacing: -.02em; color: #fff; }
.pillars p { font-size: 16px; line-height: 1.55; color: var(--on-dark-muted); }
.section--dark .section-head p.on-dark { color: var(--on-dark-muted); }
.link-arrow--light { color: #fff; }
.link-arrow--light:hover { color: var(--cyan); }

.faq-section { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: clamp(32px, 5vw, 72px); }
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); padding: 22px 0; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px;
  font-size: 19px; font-weight: 600; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-weight: 400; flex-shrink: 0; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin-top: 14px; font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 62ch; }

.other { border-top: 1px solid var(--line-light); }
.other .container { padding-top: 56px; padding-bottom: clamp(64px, 8vw, 104px); display: flex; flex-direction: column; gap: 24px; }
.other__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.other__link {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 24px; border-radius: 16px; background: var(--white); border: 1px solid var(--line);
  color: var(--ink); font-size: 18px; font-weight: 600;
}
.other__link:hover { border-color: var(--cyan); color: var(--blue); }
.other__link .num { margin-right: 10px; }

/* --- Page Services -------------------------------------------------------- */
.service-list { border-top: 1px solid var(--line-strong); }
.service-list__item {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 20px 48px; padding: clamp(28px, 4vw, 48px) 0; border-bottom: 1px solid var(--line-strong);
  color: var(--ink); align-items: start;
}
.service-list__item:hover { color: var(--blue); }
.service-list__title { display: flex; gap: 20px; align-items: baseline; }
.service-list__title h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.05; letter-spacing: -.03em; }
.service-list__body { display: flex; flex-direction: column; gap: 14px; }
.service-list__body p { font-size: 17px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.service-list__more { font-weight: 600; font-size: 15px; color: var(--blue); }

.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.product { display: flex; flex-direction: column; gap: 24px; padding: clamp(28px, 3.5vw, 44px); border-radius: 24px; }
.product--gestu { background: var(--sky-bg); border: 1px solid rgba(87, 155, 220, .25); }
.product--senapi { background: var(--navy); color: var(--on-dark); }
.product--senbill { background: var(--white); border: 1px solid var(--line-strong); }
.product--senbill .tag { background: var(--ink); color: #fff; }
.product--senbill .product__features li::before { color: var(--ink); }
.product__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.product__name { font-size: clamp(30px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.product--senapi .product__name { color: #fff; }
.tag { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.product--gestu .tag { background: var(--sky); color: #fff; }
.product--senapi .tag { background: var(--cyan); color: var(--navy); }
.product__text { display: flex; flex-direction: column; gap: 12px; }
.product h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; letter-spacing: -.02em; text-wrap: balance; }
.product--senapi h3 { color: #fff; }
.product p { font-size: 16px; line-height: 1.6; color: var(--ink-3); text-wrap: pretty; }
.product--senapi p { color: var(--on-dark-dim); }
.product__features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 10px 20px; font-size: 15px; line-height: 1.45; }
.product__features li { display: flex; gap: 10px; }
.product__features li::before { content: "—"; font-weight: 700; color: var(--sky); }
.product--senapi .product__features li::before { color: var(--cyan); }
.product__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: auto; }
.product--compact { gap: 20px; padding: clamp(24px, 3vw, 36px); }
.product--compact .product__name { font-size: clamp(26px, 3vw, 34px); }
.product-why { display: flex; flex-direction: column; gap: 40px; }

/* --- Contact -------------------------------------------------------------- */
.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact__info { display: flex; flex-direction: column; gap: 32px; }
.contact__info .lead { max-width: 46ch; }
.info-list { border-top: 1px solid var(--line); }
.info-row { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-row__k { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.info-row__v { font-size: 17px; line-height: 1.5; display: flex; flex-direction: column; gap: 4px; }
.info-row__v a { color: var(--ink); }
.info-row__v a:hover { color: var(--blue); }
.info-row__v a.is-blue { color: var(--blue); }
.info-row__v a.is-blue:hover { color: var(--ink); }
.info-row__v.row { flex-direction: row; gap: 16px; }
.u { text-decoration: underline; text-underline-offset: 3px; }
.wa-badge {
  display: inline-block; margin-left: 8px; vertical-align: middle;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px; background: var(--whatsapp); color: #fff;
}
.card { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 3.5vw, 40px); }
.card:focus { outline: none; }

.form { display: flex; flex-direction: column; gap: 22px; }
.form__group { display: flex; flex-direction: column; gap: 10px; }
.form__label { font-size: 14px; font-weight: 600; }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.topics { display: flex; flex-wrap: wrap; gap: 8px; }
.topic {
  position: relative; display: inline-flex; align-items: center; padding: 9px 16px; border-radius: 999px;
  font-size: 15px; font-weight: 500; cursor: pointer;
  border: 1px solid rgba(28, 38, 41, .16); background: var(--white); color: var(--ink);
  transition: background-color .15s, color .15s, border-color .15s;
}
.topic input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.topic:has(input:checked), .topic.is-selected { background: var(--ink); color: #fff; border-color: var(--ink); }
.topic:has(input:focus-visible) { outline: 2px solid var(--cyan); outline-offset: 3px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; }
.field input, .field textarea {
  width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid rgba(28, 38, 41, .16);
  background: var(--bg); font-size: 16px; font-weight: 400; color: var(--ink); outline: none;
  transition: border-color .15s, background-color .15s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { border-color: var(--cyan); background: var(--white); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--error); }
.field__error { font-size: 13px; font-weight: 400; color: var(--error); }
.form__error { font-size: 14px; color: var(--error); }
.form__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.form__note { font-size: 13px; line-height: 1.5; color: var(--muted); max-width: 38ch; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-success { display: flex; flex-direction: column; gap: 16px; padding: 32px 0; min-height: 420px; justify-content: center; }
.form-success__icon { width: 48px; height: 48px; border-radius: 50%; background: var(--cyan); color: var(--ink); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.form-success h2 { font-size: 32px; letter-spacing: -.03em; }
.form-success p { font-size: 17px; line-height: 1.55; color: var(--muted); }
.form-success .btn { align-self: flex-start; margin-top: 8px; }

/* --- Mentions légales / pages texte --------------------------------------- */
.legal { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 2fr); gap: clamp(32px, 5vw, 72px); }
.toc { display: flex; flex-direction: column; gap: 10px; align-self: start; position: sticky; top: 100px; }
.toc .eyebrow { margin-bottom: 6px; }
.toc a { font-size: 15px; color: var(--muted); }
.toc a:hover { color: var(--blue); }
.legal__body { display: flex; flex-direction: column; gap: 48px; min-width: 0; }
.legal article { display: flex; flex-direction: column; gap: 16px; scroll-margin-top: 100px; }
.legal article h2 { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -.025em; }
.prose p, .prose li { font-size: 17px; line-height: 1.7; color: var(--ink-2); max-width: 68ch; }
.prose p + p, .prose ul + p, .prose p + ul { margin-top: 14px; }
.prose ul { list-style: disc; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
@media (max-width: 760px) { .legal { grid-template-columns: minmax(0, 1fr); } }

/* Plan du site */
.sitemap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 32px 48px; }
.sitemap__col { display: flex; flex-direction: column; gap: 10px; }
.sitemap__col .eyebrow { margin-bottom: 6px; }
.sitemap__col a { font-size: 17px; color: var(--ink); }
.sitemap__col a:hover { color: var(--blue); }

/* --- Pied de page --------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--on-dark); }
.footer-cta {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 40px; align-items: end;
  padding-top: clamp(64px, 9vw, 112px); padding-bottom: clamp(48px, 6vw, 80px);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.footer-cta__left { display: flex; flex-direction: column; gap: 20px; }
.footer-cta .eyebrow { color: var(--cyan); }
.footer-cta h2 { font-size: clamp(36px, 5.2vw, 72px); line-height: 1; letter-spacing: -.035em; color: #fff; text-wrap: balance; }
.footer-cta__right { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.footer-cta__right p { font-size: 18px; line-height: 1.55; color: var(--on-dark-muted); max-width: 46ch; text-wrap: pretty; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; padding-top: 56px; padding-bottom: 32px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col__title { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); margin-bottom: 6px; }
.footer-col a { color: var(--on-dark); font-size: 15px; }
.footer-col a:hover { color: var(--cyan); }
.footer-brand { gap: 16px; }
.footer-brand img { height: 42px; width: auto; align-self: flex-start; }
.footer-brand p { font-size: 15px; line-height: 1.6; color: var(--on-dark-dim); }
.footer-social { display: flex; gap: 16px; margin-top: 6px; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 20px; padding-bottom: 32px; border-top: 1px solid rgba(255, 255, 255, .1);
  font-family: var(--font-mono); font-size: 12px; color: var(--on-dark-faint);
}
.footer-bottom a { color: var(--on-dark-faint); white-space: nowrap; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom__links { display: flex; gap: 20px; flex-wrap: wrap; }

/* --- Page 404 ------------------------------------------------------------- */
.error-page { padding-top: clamp(64px, 10vw, 140px); padding-bottom: clamp(64px, 10vw, 140px); display: flex; flex-direction: column; gap: 24px; max-width: 760px; }

/* --- Impression ----------------------------------------------------------- */
@media print {
  .site-header, .site-footer, .burger, .skip-link { display: none !important; }
  body { background: #fff; }
}
