/* ==========================================================================
   CompliciTech — Prototype de site
   Feuille de style commune à toutes les pages
   ========================================================================== */

:root {
  --paper: #F6F8FA;
  --paper-raised: #FFFFFF;
  --ink: #191B22;
  --ink-soft: #5F6B7A;
  --ink-faint: #8B95A3;
  --line: #DCE8F8;
  --line-soft: #E9EFF7;
  --signal: #0070C0;
  --signal-bright: #136FD8;
  --signal-dark: #045394;
  --signal-wash: #E7EEFB;
  --good: #4B9B5C;
  --good-wash: #E9F4EA;
  --warn: #B98A2E;
  --alert: #AF3636;
  --alert-wash: #F8E9E9;
  --shadow: 15, 26, 38;

  --font-display: 'Plus Jakarta Sans', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Manrope', 'Segoe UI', Arial, sans-serif;

  --r-lg: 3rem;
  --r-md: 1.6rem;
  --r-sm: 1rem;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #10161F;
    --paper-raised: #171F2A;
    --ink: #EDF0F5;
    --ink-soft: #AEB8C4;
    --ink-faint: #77828F;
    --line: #263447;
    --line-soft: #1D2836;
    --signal: #3C9AE8;
    --signal-bright: #5FB0F2;
    --signal-dark: #78C0F5;
    --signal-wash: #16283C;
    --good: #6CBC7B;
    --good-wash: #17281B;
    --warn: #D6A94F;
    --alert: #D97C7C;
    --alert-wash: #2E1B1B;
    --shadow: 4, 9, 15;
  }
}
:root[data-theme="dark"] {
  --paper: #10161F;
  --paper-raised: #171F2A;
  --ink: #EDF0F5;
  --ink-soft: #AEB8C4;
  --ink-faint: #77828F;
  --line: #263447;
  --line-soft: #1D2836;
  --signal: #3C9AE8;
  --signal-bright: #5FB0F2;
  --signal-dark: #78C0F5;
  --signal-wash: #16283C;
  --good: #6CBC7B;
  --good-wash: #17281B;
  --warn: #D6A94F;
  --alert: #D97C7C;
  --alert-wash: #2E1B1B;
  --shadow: 4, 9, 15;
}

* { box-sizing: border-box; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 1.6rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 3.2rem;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  text-wrap: balance;
  margin: 0;
  color: var(--ink);
}
p { margin: 0 0 1.6rem; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 1.4rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--signal);
  font-weight: 700;
}

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
  border-radius: 3px;
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.5rem;
  padding: 1.5rem 2.8rem;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--signal);
  color: #FBFDFB;
  box-shadow: 0 2px 4px rgba(var(--shadow), 0.16);
}
.btn-primary:hover { background: var(--signal-dark); transform: translateY(-1px); box-shadow: 0 10px 24px -8px rgba(var(--shadow), 0.35); }
.btn-ghost {
  background: transparent;
  color: var(--signal);
  border-color: var(--signal);
}
.btn-ghost:hover { background: var(--signal-wash); }
.btn-sm { padding: 1.1rem 2.2rem; font-size: 1.4rem; }

/* ---------- Header ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.8rem 0;
  gap: 2rem;
}
.logo {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}
.logo .dot { color: var(--signal); }
.logo-img {
  height: 4.2rem;
  width: auto;
}
.nav-links {
  display: flex;
  gap: 2.6rem;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: color 0.15s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--signal); }

.nav-links .nav-cta a,
.nav-links .nav-cta a:hover,
.nav-links .nav-cta a.active {
  color: #FBFDFB;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.6rem;
}
.nav-toggle span {
  display: block;
  width: 2.4rem;
  height: 0.2rem;
  background-color: var(--ink);
  margin: 0.5rem 0;
  border-radius: 2px;
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 6.6rem;
    left: 0;
    right: 0;
    background: var(--paper-raised);
    border-bottom: 1px solid var(--line-soft);
    flex-direction: column;
    align-items: stretch;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
    gap: 0;
  }
  .nav-links.open { max-height: 50rem; }
  .nav-links li { border-bottom: 1px solid var(--line-soft); }
  .nav-links a { display: block; padding: 1.6rem 3.2rem; }
  .nav-cta { display: none; }
  .nav-toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  padding: clamp(4rem, 2rem + 6vw, 9rem) 0 clamp(4rem, 2rem + 5vw, 7rem);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -22rem;
  right: -18rem;
  width: 56rem;
  height: 56rem;
  border-radius: 50%;
  background: radial-gradient(circle, var(--signal-wash) 0%, transparent 68%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 5.6rem;
  align-items: center;
  position: relative;
}
.hero-copy .eyebrow { margin-bottom: 1.8rem; display: block; }
.hero-copy h1 {
  font-size: clamp(3rem, 1.2rem + 3.4vw, 4.8rem);
  letter-spacing: -0.01em;
  color: var(--ink);
}
.hero-copy h1 strong {
  font-weight: 800;
  color: var(--signal);
}
.hero-pain {
  margin-top: 2.2rem;
  font-size: 1.8rem;
  color: var(--ink-soft);
  max-width: 46ch;
  line-height: 1.65;
}
.hero-actions {
  margin-top: 3.4rem;
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
}
.hero-note {
  margin-top: 2.2rem;
  font-size: 1.4rem;
  color: var(--ink-faint);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.hero-note svg { flex-shrink: 0; }

/* --- Hero simple (pages internes, sans panneau visuel) --- */
.hero-simple .hero-grid { grid-template-columns: 1fr; }
.hero-simple .hero-copy { max-width: 68rem; margin: 0 auto; text-align: center; }
.hero-simple .hero-actions { justify-content: center; }

/* ---------- Contenu légal (mentions légales, confidentialité) ---------- */
.legal-content {
  max-width: 68rem;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 1.6rem;
  line-height: 1.7;
}
.legal-content h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  margin: 5.2rem 0 2rem;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  margin: 3rem 0 1.2rem;
}
.legal-content p { margin: 0 0 1.6rem; }
.legal-content ul, .legal-content ol {
  margin: 0 0 1.6rem;
  padding-left: 2.2rem;
}
.legal-content li { margin-bottom: 0.6rem; }
.legal-content a { color: var(--signal); text-decoration: underline; }
.legal-content a:hover { color: var(--signal-bright); }
.legal-content strong { color: var(--ink); }

@media (max-width: 640px) {
  .legal-toc ol { columns: 1; }
}

/* ---------- Image placeholders ---------- */
.img-placeholder {
  background: var(--paper-raised);
  border: 2px dashed var(--line);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3.2rem;
  color: var(--ink-faint);
  min-height: 26rem;
  gap: 1rem;
}
.img-placeholder .ph-icon { font-size: 3.4rem; }
.img-placeholder .ph-label { font-weight: 700; font-size: 1.4rem; color: var(--ink-soft); }
.img-placeholder .ph-note { font-size: 1.2rem; }

/* ---------- Floating hero image ---------- */
.hero-float-img {
  width: 108%;
  max-width: 108%;
  height: auto;
  border-radius: var(--r-lg);
  box-shadow: 0 3.2rem 6rem -2rem rgba(var(--shadow), 0.32), 0 1.2rem 2.4rem -1rem rgba(var(--shadow), 0.18);
  transform: translateY(-0.8rem);
}

@media (max-width: 900px) {
  .hero-float-img { width: 100%; max-width: 100%; }
}

/* ---------- Diagnostic / visual panel ---------- */
.diag-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: 0 3.2rem 6rem -2rem rgba(var(--shadow), 0.22);
  overflow: hidden;
}
.diag-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 3rem;
  border-bottom: 1px solid var(--line-soft);
}
.diag-head-title {
  font-family: var(--font-body);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.diag-dots { display: flex; gap: 0.6rem; }
.diag-dots span {
  width: 0.8rem; height: 0.8rem; border-radius: 50%;
  background: var(--line);
}
.diag-body { padding: 2.8rem 3rem 2.6rem; }
.diag-row {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.diag-row:last-of-type { border-bottom: none; }
.diag-label {
  flex: 1;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
}
.diag-bar-track {
  width: 11rem;
  height: 0.7rem;
  border-radius: 999px;
  background: var(--line-soft);
  overflow: hidden;
}
.diag-bar-fill { height: 100%; border-radius: 999px; }
.fill-alert { background: var(--alert); }
.fill-warn { background: var(--warn); }
.fill-good { background: var(--good); }
.diag-score {
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-weight: 700;
  width: 3.6rem;
  text-align: right;
  color: var(--ink-soft);
}
.diag-foot {
  margin-top: 1.8rem;
  padding-top: 1.8rem;
  border-top: 1px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}
.diag-verdict { font-size: 1.4rem; color: var(--ink-soft); }
.diag-verdict strong { color: var(--signal); font-weight: 700; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero::before { width: 42rem; height: 42rem; top: -14rem; right: -16rem; }
}

/* ---------- Sections shared ---------- */
section { padding: clamp(4rem, 2rem + 5vw, 8rem) 0; }
.bg-alt { background: var(--paper-raised); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }

.section-header {
  max-width: 66rem;
  margin: 0 auto 5rem;
  text-align: center;
}
.section-header .eyebrow { margin-bottom: 1.6rem; display: block; }
.section-header h2 { font-size: clamp(2.6rem, 1.2rem + 3vw, 4rem); }
.section-header p {
  margin-top: 1.6rem;
  font-size: 1.8rem;
  color: var(--ink-soft);
  line-height: 1.67;
}

/* ---------- Problem statement (pages service) ---------- */
.problem-statement {
  max-width: 78rem;
  margin: 0 auto;
  text-align: center;
}
.problem-statement .big-statement {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 1.2rem + 2vw, 3rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 2rem;
}
.problem-statement p.lead-text {
  font-size: 1.8rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* ---------- Offer tiles (accueil) ---------- */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2.4rem;
}
.offer-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 3.2rem 3rem;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.offer-card:hover {
  border-color: var(--signal);
  transform: translateY(-4px);
  box-shadow: 0 2.2rem 4rem -2rem rgba(var(--shadow), 0.3);
}
.offer-icon {
  width: 4.8rem;
  height: 4.8rem;
  border-radius: var(--r-sm);
  background: var(--signal-wash);
  color: var(--signal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.offer-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink);
}
.offer-pain {
  font-size: 1.5rem;
  color: var(--ink-soft);
  flex-grow: 1;
  line-height: 1.6;
}
.offer-arrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--signal);
  transition: gap 0.2s ease;
}
.offer-card:hover .offer-arrow { gap: 1.4rem; }

@media (max-width: 1180px) {
  .offers-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .offers-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .offers-grid { grid-template-columns: 1fr; }
}

/* ---------- Réassurance / à propos court ---------- */
.reassurance {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5.6rem;
  align-items: center;
}
.reassurance-visual {
  display: flex;
  justify-content: center;
}
.reassurance-img {
  width: 100%;
  max-width: 32rem;
  height: auto;
  border-radius: var(--r-lg);
  box-shadow: 0 3.2rem 6rem -2rem rgba(var(--shadow), 0.32), 0 1.2rem 2.4rem -1rem rgba(var(--shadow), 0.18);
  transform: translateY(-0.8rem);
}
.stats-row {
  display: flex;
  gap: 3.2rem;
  margin-top: 2.8rem;
  flex-wrap: wrap;
}
.stat-item { min-width: 12rem; }
.stat-number {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--ink);
  display: block;
}
.stat-label { font-size: 1.4rem; color: var(--ink-faint); }

/* ---------- Feature list (pages service) ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.4rem;
}
.feature-item {
  display: flex;
  gap: 1.8rem;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 2.6rem;
}
.feature-number {
  flex-shrink: 0;
  width: 4.2rem;
  height: 4.2rem;
  border-radius: 50%;
  background: var(--signal-wash);
  color: var(--signal);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-item h3 { font-size: 1.8rem; margin-bottom: 0.8rem; }
.feature-item p { color: var(--ink-soft); font-size: 1.5rem; margin-bottom: 0; }
.feature-item p a {
  color: var(--signal);
  text-decoration: underline;
  font-weight: 600;
}
.feature-item p a:hover { color: var(--signal-bright); }

@media (max-width: 700px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* ---------- Pricing box ---------- */
.pricing-box {
  background: var(--paper-raised);
  border: 2px solid var(--signal);
  border-radius: var(--r-lg);
  padding: 4rem;
  max-width: 78rem;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 2.2rem 4rem -2rem rgba(var(--shadow), 0.2);
}
.price-range {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 1.4rem + 3vw, 3.6rem);
  font-weight: 800;
  color: var(--ink);
  margin: 1.2rem 0;
}
.price-range span { color: var(--signal); }
.price-range-prefix {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--ink-soft);
  vertical-align: middle;
  margin-right: 0.4rem;
}
.pricing-note {
  color: var(--ink-faint);
  font-size: 1.4rem;
  max-width: 56rem;
  margin: 1.2rem auto 0;
}

/* ---------- Use case ---------- */
.usecase-box {
  background: var(--paper-raised);
  border-left: 5px solid var(--signal);
  border-radius: var(--r-md);
  padding: 3.2rem 3.6rem;
  box-shadow: 0 2.2rem 4rem -2rem rgba(var(--shadow), 0.2);
  max-width: 82rem;
  margin: 0 auto;
}
.usecase-box .eyebrow { margin-bottom: 0.8rem; display: block; }

/* ---------- Subtle link (DSI) ---------- */
.subtle-link-box { text-align: center; padding: 3.2rem 0 0.8rem; }
.subtle-link {
  color: var(--ink-faint);
  font-size: 1.5rem;
  border-bottom: 1px dashed var(--ink-faint);
  transition: color 0.15s ease, border-color 0.15s ease;
}
.subtle-link:hover { color: var(--signal); border-color: var(--signal); }

/* ---------- Qui suis-je ---------- */
.profile-block {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 5.6rem;
  align-items: start;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem;
  margin-top: 2.4rem;
}
.value-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 2.6rem;
}
.value-card h3 { font-size: 1.8rem; margin-bottom: 0.8rem; }
.value-card p { font-size: 1.5rem; margin-bottom: 0; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.8rem;
}
.contact-info-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 3.4rem;
  box-shadow: 0 2.2rem 4rem -2rem rgba(var(--shadow), 0.2);
  height: fit-content;
}
.contact-info-card ul {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}
.contact-info-card li { display: flex; gap: 1.4rem; align-items: flex-start; }
.contact-info-card .info-icon {
  width: 4rem;
  height: 4rem;
  border-radius: var(--r-sm);
  background: var(--signal-wash);
  color: var(--signal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-form {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 3.4rem;
  box-shadow: 0 2.2rem 4rem -2rem rgba(var(--shadow), 0.2);
}
.form-group { margin-bottom: 2rem; }
.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.7rem;
  color: var(--ink);
  font-size: 1.4rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1.3rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 1.5rem;
  color: var(--ink);
  background: var(--paper);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--signal);
  background: var(--paper-raised);
}
.form-group input.field-invalid,
.form-group textarea.field-invalid {
  border-color: var(--alert);
  background: var(--alert-wash);
}
.field-error {
  font-size: 1.3rem;
  color: var(--alert);
  margin-top: 0.6rem;
  margin-bottom: 0;
  min-height: 0;
}
.form-note { font-size: 1.3rem; color: var(--ink-faint); margin-top: 1rem; margin-bottom: 0; }
.form-required { color: var(--signal); }
.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.form-status {
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 1.2rem;
  margin-bottom: 0;
}
.form-status:empty { display: none; }
.form-status-success { color: var(--good); }
.form-status-error { color: var(--alert); }

@media (max-width: 900px) {
  .reassurance, .profile-block, .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Closing CTA ---------- */
.closing {
  background: var(--signal);
  color: var(--paper);
  border-radius: var(--r-lg);
  padding: clamp(3.2rem, 1.2rem + 4vw, 6.4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  position: relative;
  overflow: hidden;
}
.closing::before, .closing::after {
  content: "";
  position: absolute;
  width: 26rem;
  height: 26rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  filter: blur(70px);
}
.closing::before { left: -13rem; top: -13rem; }
.closing::after { right: -13rem; bottom: -13rem; }
.closing-copy { max-width: 54rem; position: relative; }
.closing-copy .eyebrow { color: rgba(255,255,255,0.85); margin-bottom: 1.4rem; display: block; }
.closing h2 {
  color: #FFFFFF;
  font-size: clamp(2.4rem, 1.2rem + 2.4vw, 3.4rem);
}
.closing p {
  margin-top: 1.6rem;
  color: rgba(255,255,255,0.82);
  font-size: 1.7rem;
  line-height: 1.65;
}
.closing-actions {
  display: flex;
  gap: 1.4rem;
  flex-shrink: 0;
  position: relative;
  flex-wrap: wrap;
}
.closing .btn-primary { background: #FFFFFF; color: var(--signal-dark); }
.closing .btn-primary:hover { background: #F0F5FC; }
.closing .btn-ghost { border-color: rgba(255,255,255,0.5); color: #FFFFFF; }
.closing .btn-ghost:hover { background: rgba(255,255,255,0.12); }

@media (max-width: 860px) {
  .closing { flex-direction: column; align-items: flex-start; }
}

/* ---------- Footer ---------- */
footer.site-footer {
  padding: 5.6rem 0 4rem;
  margin-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 3.2rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--line-soft);
}
.footer-brand .logo { margin-bottom: 1.4rem; display: block; }
.footer-brand p {
  font-size: 1.4rem;
  color: var(--ink-faint);
  max-width: 30ch;
  line-height: 1.6;
  margin-bottom: 0;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 1.6rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 1.1rem; }
.footer-col li { font-size: 1.5rem; color: var(--ink-soft); }
.footer-col a {
  text-decoration: none;
  font-size: 1.5rem;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}
.footer-col a:hover { color: var(--signal); }
.footer-bottom {
  padding-top: 2.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
}
.footer-bottom p { font-size: 1.4rem; color: var(--ink-faint); margin-bottom: 0; }
.footer-legal { display: flex; gap: 2.2rem; }
.footer-legal a { font-size: 1.4rem; color: var(--ink-faint); text-decoration: none; }
.footer-legal a:hover { color: var(--signal); }

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .wrap { padding: 0 2rem; }
}

/* ---------- Bandeau cookies ---------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  background: var(--paper-raised);
  border-top: 1px solid var(--line);
  box-shadow: 0 -1.2rem 3rem -1rem rgba(var(--shadow), 0.25);
  padding: 1.6rem 0;
}
.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.4rem;
  flex-wrap: wrap;
}
.cookie-banner p {
  margin: 0;
  font-size: 1.4rem;
  color: var(--ink-soft);
  max-width: 62rem;
}
.cookie-banner a { color: var(--signal); text-decoration: underline; }
.cookie-banner-actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .cookie-banner-inner { flex-direction: column; align-items: stretch; }
  .cookie-banner-actions { justify-content: flex-end; }
}
