/* ==========================================================================
   Webmaster Freelance Toulouse : feuille de style unique
   Design tokens et échelle typographique : voir README du handoff design.
   ========================================================================== */

/* Polices auto-hébergées (sous-ensemble latin, woff2) */
@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/anton-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/archivo-latin-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/plexmono-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/plexmono-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0E0E0C;
  --ink: #F2F1EC;
  --muted: #9B998F;
  --line: #2A2A26;
  --card: #161613;
  --accent: #FF5C1F;
  --accent-ink: #0E0E0C;
  --error: #FF9A7A;
  --header-h: 66px;
  --section-pt: clamp(40px, 5vw, 72px);
  --section-pb: clamp(64px, 8vw, 112px);
  --placeholder-bg: repeating-linear-gradient(135deg, #1B1B17 0 10px, #141412 10px 20px);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 32px - var(--section-pt));
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Archivo', Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--ink); }
::selection { background: var(--accent); color: var(--accent-ink); }

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 12px 18px;
  font-weight: 700;
}
.skip-link:focus { top: 12px; color: var(--accent-ink); }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 900px; margin: 0 auto; padding: 0 24px; }

/* ---- Section rhythm ---- */
.section { border-bottom: 1px solid var(--line); }
.section-inner { padding-block: var(--section-pt) var(--section-pb); }
.section--toulouse .section-inner { padding-block: var(--section-pt) clamp(56px, 7vw, 96px); }
.section--contact .section-inner { padding-block: var(--section-pt) clamp(72px, 9vw, 120px); }

.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: var(--accent);
  margin: 0 0 26px;
}
.eyebrow--inverse { color: inherit; opacity: 0.75; }

/* ---- Headings ---- */
h1, h2, h3 { font-family: 'Archivo', sans-serif; }

.h1-hero {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(50px, 11.5vw, 168px);
  line-height: 0.94;
  letter-spacing: 0.01em;
  margin: 0 0 28px;
  color: var(--ink);
}
.h1-hero > span { display: block; }
.h1-hero .outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
}

.h2 {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(30px, 5vw, 62px);
  line-height: 1.05;
  margin: 0 0 24px;
  text-wrap: balance;
}
.h2--nointro { margin-bottom: 44px; max-width: 24ch; }

.h2-toulouse {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(32px, 5.5vw, 76px);
  line-height: 1;
  margin: 0;
}

.h2-contact {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(40px, 7vw, 104px);
  line-height: 0.96;
  margin: 0 0 28px;
}

.h2-apropos {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(28px, 4.5vw, 56px);
  line-height: 1.05;
  margin: 0 0 28px;
}

.h3-service {
  font-size: clamp(21px, 3vw, 31px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.h3-card { font-size: 17px; font-weight: 700; margin: 0 0 8px; }
.h3-faq { font-size: clamp(17px, 2vw, 20px); font-weight: 600; margin: 0; }

.intro {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 52px;
  text-wrap: pretty;
}

.card-body { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 0; text-wrap: pretty; }

.label-mono { font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: var(--muted); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  flex-shrink: 0;
}
.logo-cursor {
  color: var(--accent);
  animation: blink 1.2s step-end infinite;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12.5px;
  flex-wrap: nowrap;
  justify-content: flex-end;
}
.nav-links { color: var(--muted); }
.nav-links:hover, .nav-links[aria-current="true"] { color: var(--accent); }
.back-link { color: var(--muted); }
.back-link:hover { color: var(--accent); }
.nav-cta {
  background: var(--accent);
  color: var(--accent-ink);
  padding: 10px 18px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.nav-cta:hover { background: var(--ink); color: var(--bg); }

@media (max-width: 760px) { .nav-links { display: none; } }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.hero-inner { max-width: 1280px; margin: 0 auto; width: 100%; padding: 140px 24px 0; }

.availability {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: var(--accent);
  margin: 0 0 24px;
}

.hero-lede {
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 32px;
  max-width: 52ch;
  text-wrap: pretty;
  transition-delay: 0.25s;
}
.hero-lede em { color: var(--ink); font-style: normal; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; transition-delay: 0.3s; }

.btn {
  display: inline-block;
  font-family: 'Archivo', sans-serif;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  padding: 17px 30px;
  font-weight: 700;
  font-size: 16px;
  transition: transform 0.2s, background 0.2s, color 0.2s;
}
.btn-primary:hover { transform: translateY(-3px); background: var(--ink); color: var(--bg); }
.btn-secondary {
  padding: 17px 26px;
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 500;
  font-size: 16px;
  background: transparent;
  transition: border-color 0.2s, color 0.2s;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

.reassurance {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0 0 48px;
  border-top: 1px solid var(--line);
  transition-delay: 0.35s;
}
.reassurance > div { padding: 20px 32px 0 0; margin-right: 32px; border-right: 1px solid var(--line); }
.reassurance > div:last-child { padding-right: 0; margin-right: 0; border-right: none; }
.reassurance dd {
  margin: 0 0 4px;
  font-family: 'Anton', sans-serif;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1;
  color: var(--accent);
}
.reassurance dt { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--muted); margin: 0; }

.marquee-wrap {
  border-top: 1px solid var(--line);
  overflow: hidden;
  padding: 14px 0;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  gap: 40px;
  animation: marquee 30s linear infinite;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
  color: var(--muted);
  padding-right: 40px;
}
.marquee-track .sep { color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ==========================================================================
   Grilles bordées (technique gap:1px sur fond --line)
   ========================================================================== */
.line-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.line-grid > * { background: var(--bg); transition: background 0.3s; }
.line-grid > *:hover { background: var(--card); }

.grid-250 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-260 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-280 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-290 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid-230 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid-300 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

/* Staggered reveal delays for grid children */
.line-grid > *:nth-child(1), .stagger > *:nth-child(1) { transition-delay: 0s; }
.line-grid > *:nth-child(2), .stagger > *:nth-child(2) { transition-delay: 0.08s; }
.line-grid > *:nth-child(3), .stagger > *:nth-child(3) { transition-delay: 0.16s; }
.line-grid > *:nth-child(4), .stagger > *:nth-child(4) { transition-delay: 0.24s; }

/* ==========================================================================
   03. Constat
   ========================================================================== */
.pain-card { padding: 30px 26px; }
.pain-glyph { font-family: 'IBM Plex Mono', monospace; font-size: 26px; color: var(--accent); margin: 0 0 16px; }
.pivot-line { font-size: clamp(17px, 2.2vw, 24px); line-height: 1.5; margin: 0; max-width: 40ch; font-weight: 600; text-wrap: pretty; }
.pivot-line .accent { color: var(--accent); }

/* ==========================================================================
   04. Services
   ========================================================================== */
.services-list { border-top: 1px solid var(--line); }
.service-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(18px, 4vw, 52px);
  padding: clamp(26px, 4vw, 42px) 12px;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s, padding-left 0.3s;
}
.service-row:hover { background: var(--card); padding-left: 26px; }
.service-num {
  font-family: 'Anton', sans-serif;
  font-size: clamp(26px, 4vw, 46px);
  color: transparent;
  -webkit-text-stroke: 1.5px var(--muted);
  line-height: 1;
}
.service-desc { font-size: 16px; line-height: 1.65; color: var(--muted); margin: 0 0 14px; max-width: 66ch; text-wrap: pretty; }
.service-tags { font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; color: var(--accent); margin: 0; }

/* ==========================================================================
   05. Méthode
   ========================================================================== */
.steps-list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(26px, 3vw, 40px); }
.step-num {
  font-family: 'Anton', sans-serif;
  font-size: 52px;
  line-height: 1;
  color: var(--accent);
  margin: 0 0 16px;
  border-top: 2px solid var(--accent);
  padding-top: 20px;
}
.steps-list > *:nth-child(1) { transition-delay: 0s; }
.steps-list > *:nth-child(2) { transition-delay: 0.1s; }
.steps-list > *:nth-child(3) { transition-delay: 0.2s; }
.steps-list > *:nth-child(4) { transition-delay: 0.3s; }

/* ==========================================================================
   06. Réalisations
   ========================================================================== */
.case-visual {
  aspect-ratio: 16 / 10;
  background: var(--placeholder-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line);
}
.case-visual p { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--muted); margin: 0; text-align: center; padding: 0 16px; }
.case-body { padding: 24px 26px 28px; }
.case-sector { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--muted); margin: 0 0 8px; }
.case-name { font-size: 20px; font-weight: 700; margin: 0 0 14px; }
.case-desc { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 0 0 18px; text-wrap: pretty; }
.case-metrics { display: flex; flex-wrap: wrap; gap: 20px; margin: 0; font-family: 'IBM Plex Mono', monospace; }
.case-metrics dd { margin: 0; font-size: 20px; color: var(--accent); font-weight: 600; }
.case-metrics dt { font-size: 11px; color: var(--muted); margin: 0; }

.logos-band {
  margin-top: 40px;
  border: 1px dashed var(--line);
  padding: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  justify-content: center;
}
.logos-band p { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--muted); margin: 0; }

/* ==========================================================================
   07. Toulouse (section inversée)
   ========================================================================== */
.section--toulouse { background: var(--accent); color: var(--accent-ink); border-bottom: 1px solid var(--line); }
.toulouse-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(32px, 5vw, 72px); align-items: start; }
.toulouse-copy { display: grid; gap: 18px; font-size: 16.5px; line-height: 1.7; }
.toulouse-copy p { margin: 0; text-wrap: pretty; }

/* ==========================================================================
   08. Témoignages
   ========================================================================== */
.testimonial { margin: 0; padding: 32px 28px; display: flex; flex-direction: column; gap: 20px; }
.quote-mark { font-family: 'Anton', sans-serif; font-size: 40px; line-height: 0.5; color: var(--accent); margin: 0; }
.testimonial blockquote { margin: 0; font-size: 16.5px; line-height: 1.65; text-wrap: pretty; }
.testimonial figcaption { font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; color: var(--muted); margin-top: auto; }
.rating-line { margin: 28px 0 0; font-family: 'IBM Plex Mono', monospace; font-size: 14px; color: var(--muted); }
.rating-line a { border-bottom: 1px solid currentColor; }

/* ==========================================================================
   09. Tarifs
   ========================================================================== */
.price-card { padding: 32px 28px; display: flex; flex-direction: column; gap: 18px; }
.price-card--featured {
  background: var(--card);
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}
.price-card--featured:hover { background: var(--card); }
.price-badge { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: var(--accent); margin: 0 0 10px; text-transform: uppercase; letter-spacing: 0.1em; }
.price-title { font-size: 19px; font-weight: 700; margin: 0 0 6px; }
.price-kind { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--muted); margin: 0; }
.price-value { font-family: 'Anton', sans-serif; font-size: 40px; line-height: 1; margin: 0; color: var(--accent); }
.price-value .unit { font-family: 'Archivo', sans-serif; font-size: 14px; color: var(--muted); font-weight: 400; }
.price-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.price-list li { display: flex; gap: 10px; }
.price-list .arrow { color: var(--accent); }
.price-card .btn { margin-top: auto; padding: 13px 20px; font-weight: 600; font-size: 14.5px; text-align: center; }
.price-card .btn-secondary { border: 1px solid var(--line); color: var(--ink); }
.price-card .btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.price-card .btn-primary:hover { transform: none; }
.price-note { margin: 24px 0 0; font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: var(--muted); }

/* ==========================================================================
   10. FAQ
   ========================================================================== */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-x { font-family: 'IBM Plex Mono', monospace; color: var(--accent); font-size: 22px; transition: transform 0.25s; flex-shrink: 0; }
.faq-item[open] .faq-x { transform: rotate(45deg); }
.faq-answer { font-size: 15.5px; line-height: 1.7; color: var(--muted); margin: 0; padding: 0 0 24px; max-width: 68ch; text-wrap: pretty; }

/* ==========================================================================
   11. À propos
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(32px, 5vw, 72px); align-items: start; }
.portrait-placeholder {
  aspect-ratio: 1;
  background: var(--placeholder-bg);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.portrait-placeholder p { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--muted); margin: 0; text-align: center; padding: 0 20px; }
.identity-card { margin: 0 0 20px; border: 1px solid var(--line); background: var(--card); display: grid; }
.identity-card > div { padding: 20px 24px; border-bottom: 1px solid var(--line); }
.identity-card > div:last-child { border-bottom: 0; }
.identity-card dt { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--muted); margin: 0 0 6px; }
.identity-card dd { margin: 0; font-family: 'Anton', sans-serif; font-size: clamp(24px, 3vw, 34px); line-height: 1.05; text-transform: uppercase; }
.identity-card > div:nth-child(n+3) dd { color: var(--accent); }
.about-copy { display: grid; gap: 18px; font-size: 16.5px; line-height: 1.7; color: var(--muted); }
.about-copy p { margin: 0; text-wrap: pretty; }
.about-copy .highlight { color: var(--ink); font-weight: 600; }

/* ==========================================================================
   12. Contact
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(36px, 6vw, 80px); align-items: start; }
.contact-lede { font-size: 17px; line-height: 1.65; color: var(--muted); margin: 0 0 36px; max-width: 46ch; text-wrap: pretty; }
.contact-coords {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14.5px;
  display: grid;
  gap: 14px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}
.contact-coords p { margin: 0; }
.contact-coords .lbl { color: var(--muted); }
.contact-coords a { font-size: 17px; font-weight: 600; }
.contact-coords a.link-underline { border-bottom: 1px solid currentColor; font-size: inherit; font-weight: 400; }
.contact-hours { font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: var(--muted); margin: 0; line-height: 1.8; }

.contact-form {
  display: grid;
  gap: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  padding: clamp(24px, 3vw, 40px);
  align-content: start;
}
.field { display: grid; gap: 8px; }
.field label {
  font-size: 12px;
  font-weight: 600;
  font-family: 'IBM Plex Mono', monospace;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.field input, .field textarea, .field select {
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 10px 2px;
  font-size: 16px;
  font-family: 'Archivo', sans-serif;
  color: var(--ink);
}
.field select option { background: var(--card); color: var(--ink); }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: 0; font-size: 14px; font-family: 'IBM Plex Mono', monospace; }
.form-msg--error { color: var(--error); }
.form-msg--ok { color: var(--accent); }
.submit-btn {
  background: var(--accent);
  color: var(--accent-ink);
  border: none;
  padding: 18px 28px;
  font-size: 16px;
  font-weight: 700;
  font-family: 'Archivo', sans-serif;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, color 0.2s;
}
.submit-btn:hover { transform: translateY(-3px); background: var(--ink); color: var(--bg); }
.submit-btn:disabled { cursor: not-allowed; opacity: 0.7; transform: none; }
.form-legal { margin: 0; font-size: 12px; line-height: 1.55; color: var(--muted); font-family: 'IBM Plex Mono', monospace; }

/* ==========================================================================
   13. Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--line);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: var(--muted);
}
.footer-grid {
  padding: clamp(40px, 5vw, 64px) 24px 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 36px;
}
.footer-title { margin: 0 0 14px; color: var(--ink); font-weight: 600; }
.footer-grid address { font-style: normal; line-height: 1.8; margin: 0; }
.footer-nav { display: grid; gap: 9px; }
.footer-nav a { color: var(--muted); }
.footer-nav a:hover { color: var(--accent); }
.footer-zone { margin: 0; line-height: 1.8; }
.footer-bottom { border-top: 1px solid var(--line); }
.footer-bottom .container {
  padding: 22px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-legal a { color: var(--muted); }
.footer-legal a:hover { color: var(--accent); }

/* ==========================================================================
   Barre CTA fixe (mobile uniquement)
   ========================================================================== */
.mobile-cta { display: none; }

@media (max-width: 760px) {
  .mobile-cta {
    display: flex;
    gap: 10px;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 55;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--bg) 92%, transparent);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
  }
  .mobile-cta a {
    flex: 1;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
  }
  .mobile-cta .mc-primary { background: var(--accent); color: var(--accent-ink); }
  .mobile-cta .mc-tel { border: 1px solid var(--line); color: var(--ink); }
  body { padding-bottom: 68px; }
}

/* ==========================================================================
   Pages légales et 404
   ========================================================================== */
.legal { padding-block: calc(var(--header-h) + 40px) clamp(64px, 9vw, 110px); }
.legal .container { max-width: 860px; }
.legal h1 {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1;
  letter-spacing: 0.01em;
  margin: 0 0 16px;
}
.legal .updated { font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: var(--muted); margin: 0 0 40px; }
.legal h2 { font-size: 20px; font-weight: 700; margin: 40px 0 12px; }
.legal p, .legal li { font-size: 16px; line-height: 1.7; color: var(--muted); max-width: 68ch; text-wrap: pretty; }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal a { border-bottom: 1px solid currentColor; }

.notfound { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-block: calc(var(--header-h) + 40px) 64px; }
.notfound .code {
  font-family: 'Anton', sans-serif;
  font-size: clamp(96px, 22vw, 280px);
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 2px var(--accent);
  margin: 0 0 24px;
}
.notfound h1 { font-family: 'Anton', sans-serif; font-weight: 400; text-transform: uppercase; font-size: clamp(30px, 5vw, 62px); line-height: 1.05; margin: 0 0 20px; }
.notfound p { font-size: 17px; line-height: 1.65; color: var(--muted); max-width: 52ch; margin: 0 0 32px; }
.notfound-links { display: flex; flex-wrap: wrap; gap: 12px; }

/* ==========================================================================
   Consentement cookies
   ========================================================================== */
.consent {
  position: fixed;
  left: 16px; bottom: 16px;
  z-index: 90;
  width: min(520px, calc(100% - 32px));
  background: var(--card);
  border: 1px solid var(--line);
  padding: 20px;
}
.consent[hidden], .consent [hidden] { display: none; }
.consent-title { font-weight: 700; font-size: 16px; margin: 0 0 8px; }
.consent-text { font-size: 14px; line-height: 1.6; color: var(--muted); margin: 0 0 16px; }
.consent-text a { border-bottom: 1px solid currentColor; }
.consent-custom { margin: 0 0 16px; }
.consent-check { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.consent-check input { width: 18px; height: 18px; accent-color: var(--accent); }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.consent-btn {
  background: var(--accent);
  color: var(--accent-ink);
  border: none;
  min-height: 44px;
  padding: 0 20px;
  font: 700 15px 'Archivo', sans-serif;
  cursor: pointer;
}
.consent-btn:hover { background: var(--ink); }
.consent-link {
  background: none;
  border: none;
  color: var(--ink);
  font: 500 14px 'Archivo', sans-serif;
  text-decoration: underline;
  cursor: pointer;
  min-height: 44px;
  padding: 0 8px;
}
.cookie-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--muted);
  cursor: pointer;
}
.cookie-link:hover { color: var(--accent); }
@media (max-width: 760px) {
  .consent { left: 0; right: 0; bottom: 0; width: 100%; border-width: 1px 0 0; }
}
.form-legal a { border-bottom: 1px solid currentColor; }
@media (max-width: 760px) { .grecaptcha-badge { bottom: 84px !important; } }
.legal h3 { font-size: 17px; font-weight: 700; margin: 26px 0 8px; }

/* ==========================================================================
   Reveals au scroll
   ========================================================================== */
.rv {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.rv.on { opacity: 1; transform: none; }

@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Comparatif freelance / agence, zones d'intervention
   ========================================================================== */
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.compare { width: 100%; border-collapse: collapse; border: 1px solid var(--line); font-size: 15.5px; line-height: 1.6; }
.compare th, .compare td { padding: 18px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); background: var(--card); }
.compare tbody th { font-weight: 600; width: 20%; }
.compare td { color: var(--muted); width: 40%; }
.compare td.me { color: var(--ink); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 760px) {
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare thead { display: none; }
  .compare tbody tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  .compare tbody th { padding: 14px 20px 4px; border: 0; width: 100%; }
  .compare td { padding: 6px 20px; border: 0; width: 100%; }
  .compare td::before { content: attr(data-label); display: block; font: 600 11px 'IBM Plex Mono', monospace; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 2px; }
  .compare td.me::before { color: var(--accent); }
}
.zone-list { list-style: none; margin: 40px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; font-family: 'IBM Plex Mono', monospace; font-size: 13px; }
.zone-list li { border: 1px solid currentColor; padding: 6px 14px; }

/* Grille de 4 formules de tarifs */
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-4 { grid-template-columns: 1fr; } }
.formula-help { margin-top: 24px; }
