/* ==========================================================================
   SOFTIWEB — feuille de style unique
   Palette alignée sur le logo : bleu nuit, bleu, turquoise.
   ========================================================================== */

:root {
  --ink: #0A1230;
  --text: #2B3248;
  --muted: #565C70;
  --bg: #F7F7F4;
  --surface: #FFFFFF;
  --surface-2: #FBFBF9;
  --line: #E2E2DC;
  --line-strong: #D6D6CF;
  --accent: #1A4FE0;
  --accent-hover: #12389F;
  --accent-soft: #E8EFFF;
  --teal: #18C7B4;
  --teal-on-dark: #3DDBC3;
  --dark: #0A1230;
  --dark-line: #1F2B55;
  --dark-text: #CFD4E3;
  --tile: #0F1A3D;

  --ok-fg: #11603A;   --ok-bg: #E3F4EA;   --ok-dot: #1A8A55;
  --warn-fg: #8A3F06; --warn-bg: #FCEEDF; --warn-dot: #C25E10;
  --info-fg: #23408F; --info-bg: #E8EFFF; --info-dot: #1A4FE0;
  --idle-fg: #4A4A4A; --idle-bg: #EDEDE8; --idle-dot: #7A7A7A;

  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", monospace;

  --radius-s: 12px;
  --radius-m: 16px;
  --radius-l: 24px;
  --container: 1240px;
  --gutter: 24px;
  --shadow-card: 0 1px 2px rgba(10, 18, 48, .04), 0 24px 48px -24px rgba(10, 18, 48, .18);
  --gradient-brand: linear-gradient(90deg, #1A4FE0 0%, #1F6BFF 45%, #18C7B4 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); margin: 0; letter-spacing: -.03em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

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

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.eyebrow { font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.h-xl { font-weight: 800; font-size: clamp(42px, 6vw, 76px); line-height: .98; letter-spacing: -.035em; }
.h-l { font-weight: 800; font-size: clamp(32px, 4vw, 52px); line-height: 1.03; }
.h-m { font-weight: 700; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; }
.h-s { font-weight: 700; font-size: 22px; line-height: 1.2; letter-spacing: -.02em; }
.lead { font-size: 19px; line-height: 1.6; color: var(--text); max-width: 620px; }
.text-gradient { background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 680px; margin-bottom: 40px; }
.stack { display: flex; flex-direction: column; }
.prose { display: flex; flex-direction: column; gap: 16px; max-width: 760px; color: var(--text); font-size: 17px; line-height: 1.7; }
.prose h2 { font-size: 26px; margin-top: 24px; letter-spacing: -.02em; }
.prose ul { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-body); font-size: 15px; font-weight: 600; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
  text-decoration: none; white-space: nowrap;
}
.btn svg { flex-shrink: 0; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #1B2550; color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 17px; border-radius: var(--radius-m); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; min-height: 44px; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247, 247, 244, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.site-header__logo { display: flex; align-items: center; min-height: 44px; }
.site-header__logo img { height: 38px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav__links { display: flex; align-items: center; gap: 28px; list-style: none; }
.site-nav__links a { color: var(--text); font-weight: 500; font-size: 15px; padding: 10px 0; }
.site-nav__links a:hover, .site-nav__links a[aria-current="page"] { color: var(--ink); }
.site-nav__links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); background: var(--surface); border-radius: 12px; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: fixed; inset: 76px 0 auto 0; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 8px; padding: 16px var(--gutter) 24px; display: none; }
  .site-nav.is-open { display: flex; }
  .site-nav__links { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__links a { display: block; padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
  .site-nav__links a[aria-current="page"] { box-shadow: none; color: var(--accent); }
  .site-nav .btn { margin-top: 12px; }
}

/* ---------- Hero ---------- */
.hero { padding: 56px 0 88px; }
.hero__grid { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.hero__copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 28px; padding-top: 12px; }
.hero__form { flex: 1 1 480px; min-width: 0; }
.stats { display: flex; flex-wrap: wrap; gap: 32px; padding-top: 4px; list-style: none; }
.stats li { display: flex; flex-direction: column; gap: 2px; }
.stats strong { font-family: var(--font-display); font-weight: 700; font-size: 32px; letter-spacing: -.02em; }
.stats span { font-size: 14px; color: var(--muted); }

.page-hero { padding: 64px 0 48px; }
.page-hero .stack { gap: 20px; max-width: 820px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; font-size: 14px; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--ink); }

/* ---------- Formulaire devis ---------- */
.devis { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 28px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: 20px; }
.devis__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.devis__title { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -.02em; }
.devis__badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; color: var(--accent); background: var(--accent-soft); padding: 6px 10px; border-radius: 999px; }
.devis__steps { display: flex; gap: 6px; list-style: none; }
.devis__steps li { flex: 1; height: 4px; border-radius: 4px; background: var(--line); }
.devis__steps li.is-done { background: var(--accent); }
.devis__step { display: flex; flex-direction: column; gap: 18px; }
.devis__step[hidden] { display: none; }
.devis__intro { font-size: 15px; color: var(--text); line-height: 1.5; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field__label { font-size: 14px; font-weight: 500; color: var(--ink); }
.field__hint { font-size: 13px; color: var(--muted); }
.input, .textarea, .select {
  width: 100%; border: 1px solid var(--line-strong); border-radius: var(--radius-s); background: var(--surface-2);
  font-family: var(--font-body); font-size: 16px; color: var(--ink); padding: 13px 14px; line-height: 1.45;
  transition: border-color .15s, background-color .15s;
}
.textarea { resize: vertical; min-height: 140px; border-radius: var(--radius-m); padding: 16px; }
.input:focus, .textarea:focus, .select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); background: #fff; }
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: #B42318; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.chips legend { font-size: 14px; font-weight: 500; margin-bottom: 10px; padding: 0; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); font-size: 14px; font-weight: 500; cursor: pointer; transition: all .15s; }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text); line-height: 1.45; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); flex-shrink: 0; }
.devis__note { font-size: 13px; color: var(--muted); text-align: center; }
.devis__error { font-size: 14px; color: #B42318; background: #FEF3F2; border-radius: var(--radius-s); padding: 12px 14px; }
.devis__error[hidden] { display: none; }
.devis__summary { background: var(--accent-soft); border-radius: var(--radius-m); padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.devis__summary strong { font-size: 13px; font-family: var(--font-mono); color: var(--accent); text-transform: uppercase; letter-spacing: .06em; font-weight: 500; }
.devis__summary p { font-size: 15px; color: var(--ink); }
.devis__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.devis__actions .btn--primary { flex: 1; }
.devis__success { text-align: center; align-items: center; padding: 16px 0; }
.devis__success-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--ok-bg); display: flex; align-items: center; justify-content: center; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Bandeau noms ---------- */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.marquee ul { list-style: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; padding: 22px 0; font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -.01em; }
.marquee a { color: #6B7086; }
.marquee a:hover { color: var(--ink); }

/* ---------- Cartes projets ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); font-family: var(--font-body); font-size: 14px; font-weight: 500; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.head-row .section-head { margin-bottom: 0; }
.grid-projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 20px; list-style: none; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; height: 100%; transition: transform .2s, box-shadow .2s; position: relative; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.card__visual { aspect-ratio: 2 / 1; background: var(--tile); position: relative; overflow: hidden; }
.card__visual img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.tile { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; background: var(--tile); }
.tile::before { content: ""; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 40px; background: var(--gradient-brand); opacity: .22; transform: rotate(18deg); }
.tile span { position: relative; font-family: var(--font-display); font-weight: 800; font-size: 40px; letter-spacing: -.03em; color: #F7F7F4; line-height: 1; }
.card__body { padding: 22px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.card__title { font-size: 22px; letter-spacing: -.02em; }
.card__title a { color: var(--ink); }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card__desc { font-size: 15.5px; line-height: 1.55; color: var(--text); flex: 1; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid #EFEFEA; font-size: 14px; }
.card__stack { font-family: var(--font-mono); font-size: 12px; color: var(--muted); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card__cta { white-space: nowrap; flex-shrink: 0; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.card[hidden] { display: none; }

.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; }
.badge--live { color: var(--ok-fg); background: var(--ok-bg); } .badge--live::before { background: var(--ok-dot); }
.badge--beta { color: var(--warn-fg); background: var(--warn-bg); } .badge--beta::before { background: var(--warn-dot); }
.badge--prelaunch { color: var(--info-fg); background: var(--info-bg); } .badge--prelaunch::before { background: var(--info-dot); }
.badge--concept { color: var(--idle-fg); background: var(--idle-bg); } .badge--concept::before { background: var(--idle-dot); }

/* ---------- Méthode ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 24px; counter-reset: step; }
.steps li { border-top: 2px solid var(--ink); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.steps__num { font-family: var(--font-mono); font-size: 13px; color: var(--accent); }
.steps p { font-size: 15px; color: var(--text); }

/* ---------- Bloc sombre IA ---------- */
.dark { background: var(--dark); color: #F7F7F4; }
.dark h2, .dark h3 { color: #F7F7F4; }
.dark .eyebrow { color: #AEB6CF; }
.dark .lead { color: var(--dark-text); }
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split > * { flex: 1 1 420px; min-width: 0; }
.split__copy { display: flex; flex-direction: column; gap: 20px; }
.ia-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.ia-grid li { border: 1px solid var(--dark-line); border-radius: var(--radius-m); padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.ia-grid code { font-family: var(--font-mono); font-size: 13px; color: var(--teal-on-dark); }
.ia-grid p { font-size: 15px; color: #E4E6EE; }

/* ---------- Expertises / blocs ---------- */
.feature-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.feature__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.feature p { font-size: 15.5px; color: var(--text); }
.feature ul { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--text); }
.feature li { display: flex; gap: 10px; }
.feature li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); margin-top: 9px; flex-shrink: 0; }
.feature__link { margin-top: auto; padding-top: 6px; }

/* ---------- Fiche projet ---------- */
.project-hero { padding: 48px 0 56px; }
.project-hero__grid { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.project-hero__copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.project-hero__visual { flex: 1 1 520px; min-width: 0; border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 2 / 1; position: relative; background: var(--tile); box-shadow: var(--shadow-card); }
.project-hero__visual img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.project-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }
.facts { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); overflow: hidden; }
.facts li { padding: 20px 22px; display: flex; flex-direction: column; gap: 4px; border-right: 1px solid var(--line); }
.facts li:last-child { border-right: 0; }
.facts dt, .facts .k { font-size: 13px; color: var(--muted); }
.facts .v { font-weight: 600; font-size: 15px; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } .facts li { border-right: 0; border-bottom: 1px solid var(--line); } .facts li:last-child { border-bottom: 0; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.panel p { color: var(--text); font-size: 16.5px; line-height: 1.65; }
.panel--accent { background: var(--accent-soft); border-color: transparent; }
.gallery { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 20px; }
.gallery li { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); aspect-ratio: 2 / 1; position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; font-family: var(--font-mono); font-size: 13px; color: var(--muted); background: repeating-linear-gradient(135deg, #F1F1EC 0 12px, #F7F7F4 12px 24px); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.tags li { font-family: var(--font-mono); font-size: 13px; padding: 8px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); }
.pager { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 28px; }
.pager a { display: flex; flex-direction: column; gap: 4px; color: var(--ink); min-height: 44px; }
.pager small { color: var(--muted); font-size: 13px; }
.pager strong { font-family: var(--font-display); font-size: 22px; letter-spacing: -.02em; }
.pager a:hover strong { color: var(--accent); }
.todo { background: #FFF7E6; color: #7A4B00; border-radius: 6px; padding: 0 4px; }

/* ---------- CTA ---------- */
.cta { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 24px; padding: 112px 0; }
.cta img { height: 72px; width: auto; }
.cta h2 { max-width: 820px; font-weight: 800; font-size: clamp(34px, 5vw, 64px); line-height: 1; letter-spacing: -.035em; }
.cta p { font-size: 18px; color: var(--text); }

/* ---------- Contact ---------- */
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.contact-list li { display: flex; flex-direction: column; gap: 2px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list .k { font-size: 13px; color: var(--muted); }
.contact-list .v { font-size: 18px; font-weight: 600; }

/* ---------- Pied de page ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding: 56px 0 32px; font-size: 14px; color: var(--muted); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer__brand { display: flex; flex-direction: column; gap: 12px; max-width: 320px; }
.site-footer__brand img { height: 32px; width: auto; align-self: flex-start; }
.site-footer h2 { font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; }
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.site-footer ul a { color: var(--muted); display: inline-block; padding: 6px 0; }
.site-footer ul a:hover { color: var(--ink); }
.site-footer__bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 20px; padding: 96px 0; }

@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .section { padding: 72px 0; }
  .hero { padding: 32px 0 64px; }
  .devis { padding: 22px; border-radius: 20px; }
  .cta { padding: 80px 0; }
}
