/* ==========================================================================
   DATAVERA — style.css
   Design system : tokens, composants, sections, responsive.
   ========================================================================== */

/* ---------- Polices auto-hébergées (aucune dépendance externe) ---------- */
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/figtree-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20CF, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/figtree-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/figtree-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20CF, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/figtree-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/figtree-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20CF, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/figtree-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/figtree-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20CF, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/figtree-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/figtree-latin-ext-800-normal.woff2") format("woff2");
  unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20CF, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/figtree-latin-800-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: "Caprasimo";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/caprasimo-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20CF, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Caprasimo";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/caprasimo-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #f9f4ed;
  --surface: #ffffff;
  --surface-soft: #f5ead8;
  --ink: #2e2b25;
  --ink-2: #3d3a32;
  --slate: #645c50;
  --slate-2: #82796a;
  --line: #eee7db;

  --accent: #b2622d;
  --accent-dark: #8c491a;
  --accent-soft: #fff2eb;
  --accent-100: #fff2eb;
  --accent-200: #ffe1d0;
  --accent-300: #ffc6a5;
  --accent-500: #d67f48;
  --accent-700: #8c491a;

  --accent-2: #728157;
  --accent-2-soft: #f0fae1;
  --accent-2-300: #ccdbb2;

  --neutral-300: #dcd3c4;
  --neutral-400: #c0b6a5;

  --font-heading: "Caprasimo", Georgia, serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(46, 43, 37, 0.14);
  --shadow-md: 0 3px 10px rgba(46, 43, 37, 0.14);
  --shadow-lg: 0 16px 40px rgba(46, 43, 37, 0.18);

  --nav-height: 76px;
  --container: 1180px;
}

/* ---------- Reset ---------- */
* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
}
p { margin: 0; }
a { color: var(--accent); text-decoration: none; }
img { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

section { padding: clamp(64px, 8vw, 108px) 0; }
.section-tight { padding: clamp(48px, 6vw, 72px) 0; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--accent-700);
  margin: 0 0 14px;
}

.section-head {
  max-width: 640px;
  margin: 0 0 48px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 3.4vw, 44px); margin: 0 0 16px; }
.section-head p { font-size: 18px; color: var(--slate); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 30px;
  border-radius: var(--radius-pill);
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--accent-500); }
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--neutral-300);
}
.btn-secondary:hover { background: var(--accent-soft); border-color: var(--accent-300); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); }
.btn-ghost-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.32);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.1); }
.btn-sm { padding: 11px 20px; font-size: 14px; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(249, 244, 237, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav .container {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 36px);
  height: var(--nav-height);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--ink);
}
.nav-brand .dot {
  width: 26px; height: 26px;
  border-radius: 9px;
  background: var(--ink);
  display: grid;
  place-items: center;
  flex: none;
}
.nav-brand .dot span {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--slate);
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  margin-left: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile-panel {
  display: none;
  position: fixed;
  inset: var(--nav-height) 0 0 0;
  background: var(--bg);
  z-index: 90;
  padding: 24px clamp(20px, 6vw, 40px) 40px;
  overflow-y: auto;
}
.nav-mobile-panel.open { display: block; }
.nav-mobile-panel a {
  display: block;
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.nav-mobile-panel .btn { width: 100%; margin-top: 24px; }

/* ---------- Hero ---------- */
.hero {
  padding: clamp(32px, 5vw, 56px) 0 clamp(48px, 6vw, 72px);
}
.hero-card {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  padding: clamp(40px, 6vw, 88px) 0;
  box-shadow: var(--shadow-lg);
}
.hero-glow {
  position: absolute;
  width: 780px; height: 560px;
  border-radius: 50%;
  top: -280px; right: -160px;
  background: radial-gradient(circle at 50% 50%, rgba(214,127,72,0.30), rgba(214,127,72,0) 68%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: 720px;
  margin: 0;
  text-align: left;
}
.hero-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent-300);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  margin: 0 0 32px;
}
.hero h1 {
  font-size: clamp(34px, 4.6vw, 58px);
  color: #fff;
  margin: 0 0 24px;
}
.hero-sub {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  max-width: 620px;
  margin: 0 0 40px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 14px;
}
.hero-speed {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-300);
  margin: 20px 0 0;
}

/* ---------- Solutions (problèmes + solutions fusionnés) ---------- */
.ps-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 640px) {
  .ps-grid { grid-template-columns: 1fr; }
}
.ps-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.ps-card:hover { border-color: var(--accent-300); box-shadow: var(--shadow-sm); }
.ps-icon {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-200);
  display: grid;
  place-items: center;
  flex: none;
}
.ps-card h3 { font-size: 21px; color: var(--ink); }
.ps-card > p { font-size: 16px; color: var(--slate); line-height: 1.55; }
.ps-answer {
  font-size: 14px;
  color: var(--accent-700);
  font-weight: 600;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  margin-top: 4px;
}

/* ---------- Méthode ---------- */
.method-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(36px, 5vw, 56px);
}
.method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 32px;
  position: relative;
}
.method-line {
  position: absolute;
  top: 23px; left: 6%; right: 6%;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--neutral-300));
}
.method-step { position: relative; display: flex; flex-direction: column; gap: 14px; }
.method-badge {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
}
.method-step:first-child .method-badge { background: var(--accent); }
.method-step h3 { font-size: 19px; font-weight: 700; font-family: var(--font-body); color: var(--ink); }
.method-step p { font-size: 15px; color: var(--slate); }

/* ---------- À propos ---------- */
.about-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 5vw, 56px);
  margin-bottom: 44px;
}
.about-content {
  max-width: 760px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.about-content p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--slate);
  text-align: left;
}
.about-lead {
  font-size: 19px !important;
  font-weight: 400;
  color: var(--ink) !important;
  margin-top: 8px;
}
.about-closing {
  font-weight: 400;
  color: var(--slate);
  font-size: 17px;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 20px;
}
.value-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  text-align: center;
}
.value-card h3 {
  font-size: 18px;
  font-weight: 700;
  font-family: var(--font-body);
  color: var(--accent-700);
  margin-bottom: 10px;
}
.value-card p { font-size: 15px; color: var(--slate); line-height: 1.55; }

/* ---------- Facturation ---------- */
.pricing {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(40px, 5vw, 64px);
  position: relative;
  overflow: hidden;
}
.pricing-glow {
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214,127,72,0.28), rgba(214,127,72,0) 70%);
  top: -160px; right: -100px;
  pointer-events: none;
}
.pricing-head { position: relative; max-width: 640px; margin: 0 0 48px; }
.pricing-head .eyebrow { color: var(--accent-200); }
.pricing-head h2 { font-size: clamp(30px, 3.4vw, 44px); margin: 0 0 16px; }
.pricing-head p { font-size: 18px; color: rgba(255,255,255,0.72); }
.pricing-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 28px;
  margin-bottom: 40px;
}
.pricing-modes {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 780px) {
  .pricing-modes { grid-template-columns: 1fr; }
}
.pricing-modes .pricing-step {
  padding: 24px 24px 0 0;
  border-top: 2px solid var(--accent);
  padding-top: 20px;
}
.pricing-step { display: flex; flex-direction: column; gap: 10px; }
.pricing-step .num {
  font-family: var(--font-heading);
  font-size: 26px;
  color: var(--accent-300);
}
.pricing-step h3 { font-size: 17px; font-weight: 700; font-family: var(--font-body); }
.pricing-step p { font-size: 15px; color: rgba(255,255,255,0.68); }
.pricing-foot {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(255,255,255,0.14);
  padding-top: 32px;
}
.pricing-foot p { font-size: 16px; color: rgba(255,255,255,0.78); max-width: 460px; }

/* ---------- Réalisations ---------- */
.cases-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}
.cases-head .note { font-size: 14px; color: var(--slate-2); max-width: 280px; margin: 0; }
.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 20px;
}
.case-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.case-media {
  aspect-ratio: 16 / 10;
  background: var(--surface-soft);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}
.case-media span {
  font-size: 13px;
  color: var(--slate-2);
  font-weight: 600;
}
.case-media-video { padding: 0; }
.case-video {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  background: var(--ink);
}
.case-body { padding: 26px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.case-tag {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--accent-700);
  background: var(--accent-soft);
  border: 1px solid var(--accent-200);
  border-radius: var(--radius-pill);
  padding: 5px 12px;
}
.case-block { display: flex; flex-direction: column; gap: 4px; }
.case-block .label { font-size: 11px; font-weight: 700; letter-spacing: 0.03em; color: var(--slate-2); text-transform: uppercase; }
.case-block p { font-size: 15px; color: var(--slate); }
.case-body h3 { font-size: 19px; font-weight: 700; font-family: var(--font-body); color: var(--ink); }
.case-body > p { font-size: 15px; color: var(--slate); line-height: 1.6; }

/* ---------- CTA final ---------- */
.cta-final {
  background: var(--ink);
  border-radius: var(--radius-xl);
  padding: clamp(48px, 6vw, 80px) clamp(28px, 4vw, 64px);
  color: #fff;
  position: relative;
  overflow: hidden;
  overflow-x: hidden;
}
.cta-final .glow {
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(114,129,87,0.3), rgba(114,129,87,0) 70%);
  bottom: -180px; left: -60px;
  pointer-events: none;
}
.cta-final-inner { position: relative; max-width: 680px; }
.cta-final h2 { font-size: clamp(32px, 3.8vw, 52px); margin: 0 0 18px; }
.cta-final p { font-size: 19px; color: rgba(255,255,255,0.74); margin: 0 0 34px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
}
.contact-intro h2 { font-size: clamp(34px, 3.6vw, 50px); margin: 0 0 20px; }
.contact-intro > p { font-size: 18px; color: var(--slate); max-width: 480px; margin: 0 0 36px; }
.contact-points { display: flex; flex-direction: column; gap: 22px; margin-bottom: 32px; }
.contact-point { display: flex; gap: 14px; align-items: flex-start; }
.contact-point .n {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-700);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  flex: none;
}
.contact-point p { font-size: 16px; color: var(--slate); }
.contact-point strong { color: var(--ink); }
.contact-note { font-size: 14px; color: var(--slate-2); }
.contact-direct {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 18px;
  font-size: 16px;
  color: var(--slate);
}
.contact-direct a { color: var(--ink); font-weight: 600; }
.contact-direct a:hover { color: var(--accent-700); }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 3.5vw, 40px);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 13px; font-weight: 700; color: var(--ink); }
.field .optional { font-weight: 400; color: var(--slate-2); }
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 15px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg);
  color: var(--ink);
  width: 100%;
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 120px; }
.field-hp { position: absolute; left: -9999px; top: -9999px; }
.form-msg {
  font-size: 14px;
  text-align: center;
  color: var(--slate-2);
  min-height: 20px;
}
.form-msg.success { color: var(--accent-2); font-weight: 600; }
.form-msg.error { color: #b3311c; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #fff;
  padding: clamp(48px, 6vw, 64px) 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 40px;
  align-items: start;
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand .dot {
  width: 24px; height: 24px;
  border-radius: 8px;
  background: #fff;
  display: grid;
  place-items: center;
}
.footer-brand .dot span { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); display: block; }
.footer-brand strong { font-family: var(--font-heading); font-size: 19px; }
.footer-tagline { font-size: 15px; color: rgba(255,255,255,0.6); max-width: 320px; }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.72);
  display: grid;
  place-items: center;
  transition: background 0.15s ease, color 0.15s ease;
}
.footer-social a:hover { background: var(--accent); color: #fff; }
.footer-col p.label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin: 0 0 14px;
}
.footer-col a, .footer-col .footer-line {
  display: block;
  font-size: 15px;
  color: rgba(255,255,255,0.72);
  margin-bottom: 12px;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}
.footer-bottom a { color: rgba(255,255,255,0.45); }
.footer-bottom a:hover { color: #fff; }

/* ---------- Reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); }
.reveal.is-visible { opacity: 1; transform: none; transition: opacity 0.6s ease, transform 0.6s ease; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Focus & selection ---------- */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--accent-200); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links, .nav-cta .btn-dark { display: none; }
  .nav-toggle { display: block; }
  .form-row { grid-template-columns: 1fr; }
  .cases-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .hero-actions .btn { width: 100%; }
  .pricing-foot { flex-direction: column; align-items: flex-start; }
}

/* ---------- Bandeau de consentement cookies (niveau pro) ---------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 300;
  background: var(--ink);
  border-top: 3px solid var(--accent);
  padding: 32px clamp(20px, 5vw, 48px);
  box-shadow: 0 -12px 40px rgba(0,0,0,0.35);
}
.cookie-banner-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cookie-banner-text { max-width: 680px; }
.cookie-banner-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 400;
  color: #fff;
  margin: 0 0 10px;
}
.cookie-banner-text p:not(.cookie-banner-title) {
  font-size: 15px;
  color: rgba(255,255,255,0.82);
  margin: 0;
  line-height: 1.6;
}
.cookie-banner-text a { color: var(--accent-300); }
.cookie-banner-actions {
  display: flex;
  gap: 12px;
  flex: none;
  flex-wrap: wrap;
}
.cookie-banner .btn { padding: 14px 26px; font-size: 15px; }
.cookie-banner .btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.32);
}
.cookie-banner .btn-secondary:hover { background: rgba(255,255,255,0.1); }

/* ---------- Panneau de préférences (modale) ---------- */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(20,18,15,0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.cookie-modal-overlay.is-open { display: flex; }
.cookie-modal {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 36px);
  max-width: 520px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.cookie-modal h2 { font-size: 22px; color: var(--ink); margin-bottom: 10px; }
.cookie-modal-intro { font-size: 14px; color: var(--slate); margin-bottom: 22px; line-height: 1.5; }
.cookie-category {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}
.cookie-category-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 6px;
}
.cookie-category-name { font-size: 15px; font-weight: 700; color: var(--ink); }
.cookie-category p { font-size: 13px; color: var(--slate-2); line-height: 1.5; margin: 0; }
.cookie-category p a { color: var(--accent-700); }

.cookie-toggle {
  position: relative;
  width: 42px; height: 24px;
  border-radius: var(--radius-pill);
  background: var(--neutral-300);
  border: none;
  cursor: pointer;
  flex: none;
  padding: 0;
  transition: background-color 0.15s ease;
}
.cookie-toggle-dot {
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.15s ease;
}
.cookie-toggle.is-on { background: var(--accent); }
.cookie-toggle.is-on .cookie-toggle-dot { transform: translateX(18px); }
.cookie-toggle-locked {
  background: var(--accent-2);
  cursor: default;
  opacity: 0.85;
}
.cookie-toggle-locked .cookie-toggle-dot { transform: translateX(18px); }

.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
  flex-wrap: wrap;
}

/* ---------- Bouton permanent de réouverture ---------- */
.cookie-reopen-link {
  position: fixed;
  left: 16px; bottom: 16px;
  z-index: 250;
  background: var(--surface);
  color: var(--slate);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.cookie-reopen-link:hover { color: var(--ink); border-color: var(--accent-300); }

@media (max-width: 640px) {
  .cookie-banner-inner { flex-direction: column; align-items: stretch; }
  .cookie-banner-actions { justify-content: stretch; }
  .cookie-banner-actions .btn { flex: 1; }
  .cookie-reopen-link { left: 12px; bottom: 12px; padding: 7px 14px; font-size: 11px; }
}
