/* ============================================================
   NOTORIS — style.css
   Charte graphique v1.0
   ============================================================ */

:root {
  --primary: #5B7EC4;
  --secondary: #A8B8D8;
  --ink: #1E2A3A;
  --ink-2: #6B7A99;
  --ink-3: #9AA8C2;
  --ink-cta: #4A6DB3;
  --ink-cta-hover: #3D5FA0;
  --bg: #F7F8FC;
  --card: #EEF1F8;
  --border: #E2E7F0;
  --positive: #5C9C76;
  --negative: #C26868;

  --font-display: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(30, 42, 58, 0.04);
  --shadow-md: 0 4px 18px rgba(30, 42, 58, 0.06);
  --shadow-lg: 0 18px 60px rgba(30, 42, 58, 0.08);

  --section-pad: 120px;
  --container-max: 1200px;
}

/* ============================================================
   RESET / BASE
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }
button { font-family: inherit; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 999px; }
::-webkit-scrollbar-track { background: transparent; }
::selection { background: var(--secondary); color: var(--ink); }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

h1, h2, h3 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1.1;
}

h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

h2 {
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -0.03em;
  line-height: 1.12;
}

h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

p { margin: 0; }

.subhead {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 20px;
}

.section-sub {
  font-size: 18px;
  color: var(--ink-2);
  max-width: 640px;
  margin-top: 16px;
  line-height: 1.55;
}

.accent { color: var(--primary); }

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: background 160ms ease, color 160ms ease, transform 80ms ease, border-color 160ms ease, box-shadow 200ms ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--ink-cta);
  color: #FFFFFF;
}
.btn-primary:hover { background: var(--ink-cta-hover); }
.btn-primary:active { transform: translateY(1px); }

.btn-secondary {
  background: #FFFFFF;
  color: var(--ink);
  border-color: var(--border);
}
.btn-secondary:hover { background: var(--card); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.85); }

.btn-pill { border-radius: var(--radius-pill); }

.btn-block { width: 100%; }

.btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* ============================================================
   NAVIGATION
   ============================================================ */

#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 240ms ease, border-color 240ms ease, backdrop-filter 240ms ease;
  background: transparent;
  border-bottom: 1px solid transparent;
}

#nav.scrolled {
  background: rgba(247, 248, 252, 0.78);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 32px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  color: var(--primary);
  font-weight: 800;
}

/* Wordmark "notoris" : Plus Jakarta Sans 800, lowercase, kerning serré (-0.04em).
   Le point typographique est remplacé par .wm-dot — un cercle parfait
   dont le diamètre vaut 0.22 × font-size (cf. charte « notoris point »). */
.nav-wordmark {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
}

.wm-dot {
  display: inline-block;
  width: 0.22em;
  height: 0.22em;
  border-radius: 50%;
  background: var(--primary);
  margin-left: 0.015em;
  flex-shrink: 0;
}

/* Variante sombre — point en Mist (= --secondary) sur fond Ink */
footer .nav-wordmark { color: #FFFFFF; }
footer .wm-dot { background: var(--secondary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 160ms ease;
}
.nav-links a:hover { color: var(--ink); }

.nav-cta { padding: 10px 18px; font-size: 14px; }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-sm);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 200ms ease, opacity 200ms ease;
}

/* ============================================================
   HERO
   ============================================================ */

#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 32px 80px;
  overflow: hidden;
  background: var(--bg);
}

/* Canvas Network Pulse — fond animé */
#network-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}

/* Voile dégradé qui adoucit les bords du canvas et fond la zone vers la section suivante */
#hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 60% at 50% 100%, rgba(247, 248, 252, 1) 0%, rgba(247, 248, 252, 0) 70%),
    radial-gradient(80% 60% at 50% 0%, rgba(247, 248, 252, 0.6) 0%, rgba(247, 248, 252, 0) 70%);
  z-index: 1;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 920px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  will-change: transform, opacity;
}

.hero-inner h1 { color: var(--ink); }

.hero-sub {
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--ink-2);
  max-width: 640px;
  line-height: 1.55;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 4px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
  width: 100%;
  max-width: 980px;
}

.hero-stats .stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 18px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(226, 231, 240, 0.7);
  border-radius: var(--radius-lg);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.stat-value {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--primary);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.5;
  max-width: 260px;
}

/* Badge with pulsing dot */
.badge-pulse {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.badge-pulse .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--positive);
  position: relative;
  box-shadow: 0 0 0 0 rgba(92, 156, 118, 0.6);
  animation: pulse 1.8s cubic-bezier(0.66, 0, 0, 1) infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0   rgba(92, 156, 118, 0.55); }
  70%  { box-shadow: 0 0 0 12px rgba(92, 156, 118, 0); }
  100% { box-shadow: 0 0 0 0   rgba(92, 156, 118, 0); }
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 24px;
  height: 40px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: opacity 240ms ease;
}
.scroll-line {
  width: 2px;
  height: 10px;
  background: var(--primary);
  border-radius: 999px;
  animation: scroll-pulse 1.6s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%   { transform: translateY(-6px); opacity: 0;  }
  35%  { opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* ============================================================
   SECTIONS
   ============================================================ */

section {
  padding: var(--section-pad) 0;
  scroll-margin-top: 24px;
  position: relative;
}

#problem { background: var(--bg); }
#services { background: #FFFFFF; }
#process { background: var(--bg); }
#tarifs { background: var(--bg); }
#contact { background: #FFFFFF; }

section h2 + .section-sub { margin-top: 18px; }

.grid {
  display: grid;
  gap: 24px;
  margin-top: 56px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ============================================================
   CARDS
   ============================================================ */

.card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
  position: relative;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(91, 126, 196, 0.35);
}

.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-2); line-height: 1.6; }

/* Service cards */
.service { display: flex; flex-direction: column; }
.service-num {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--primary);
  margin-bottom: 18px;
}

.service.featured,
.price.featured {
  background: linear-gradient(160deg, #FFFFFF 0%, #EEF1F8 100%);
  border-color: var(--primary);
  box-shadow: 0 24px 60px rgba(74, 109, 179, 0.14);
}
.service.featured { transform: translateY(-4px); }
.service.featured:hover { transform: translateY(-7px); }

/* Ribbon "Populaire" / "Au cœur de notre méthode" */
.ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink-cta);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(74, 109, 179, 0.3);
}

/* Checklist */
.checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 18px 0 28px;
  flex: 1;
}
.checklist li {
  position: relative;
  padding-left: 28px;
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.5;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--card);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A6DB3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
}

/* Steps */
.steps .step {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform 260ms ease, box-shadow 260ms ease;
  position: relative;
}
.steps .step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--card);
  color: var(--primary);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 18px;
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--ink-2); line-height: 1.6; }

/* Pricing */
.price {
  display: flex;
  flex-direction: column;
}
.price-head {
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.price-name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}
.price-amount {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 12px;
}
.price-amount .amount {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--ink);
  line-height: 1;
}
.price-amount .unit {
  font-size: 15px;
  color: var(--ink-2);
  font-weight: 500;
}

/* ============================================================
   CONTACT
   ============================================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 { margin-top: 0; }
.contact-info .section-sub { margin-bottom: 36px; }

.info-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 16px;
}
.info-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
}
.info-list svg { flex: none; color: var(--primary); margin-top: 2px; }
.info-list strong { color: var(--ink); font-weight: 600; }

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 36px;
}
.contact-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field > span {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.field em {
  font-style: normal;
  color: var(--ink-3);
  font-weight: 500;
}
.field input,
.field select,
.field textarea {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
  width: 100%;
}
.field textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.5;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7A99' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  padding-right: 40px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--primary);
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(91, 126, 196, 0.12);
}

.form-status {
  font-size: 14px;
  margin: 4px 0 0;
  min-height: 1em;
  line-height: 1.5;
}
.form-status.is-success {
  color: #2E5F3F;
  background: #E4EFE4;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
}
.form-status.is-error {
  color: #8B3A3A;
  background: #F4E2E2;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
}

/* ============================================================
   FOOTER
   ============================================================ */

footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 0 36px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
footer .nav-logo { color: #FFFFFF; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  transition: color 160ms ease;
}
.footer-links a:hover { color: #FFFFFF; }
.copyright {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  width: 100%;
  text-align: center;
  padding-top: 24px;
  margin-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ============================================================
   LEGAL PAGES (mentions légales, politique de confidentialité)
   ============================================================ */

.legal-page {
  padding: 140px 0 96px;
  background: var(--bg);
}

.legal-page h1 {
  font-size: clamp(36px, 5vw, 56px);
  margin: 10px 0 12px;
}

.legal-updated {
  font-size: 14px;
  color: var(--ink-3);
  margin: 0 0 48px;
}
.legal-updated em {
  font-style: normal;
  color: var(--ink-2);
  background: var(--card);
  padding: 2px 8px;
  border-radius: 4px;
}

.legal-article {
  max-width: 760px;
  margin: 0;
}

.legal-article h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 48px 0 16px;
  line-height: 1.3;
}

.legal-article h2:first-of-type { margin-top: 0; }

.legal-article p {
  font-size: 15.5px;
  color: var(--ink-2);
  line-height: 1.7;
  margin: 0 0 16px;
}

.legal-article p strong,
.legal-list strong {
  color: var(--ink);
  font-weight: 600;
}

.legal-article em {
  font-style: normal;
  color: var(--ink-2);
  background: rgba(91, 126, 196, 0.10);
  border: 1px dashed rgba(91, 126, 196, 0.45);
  padding: 1px 7px;
  border-radius: 4px;
  font-size: 0.95em;
}

.legal-list {
  padding: 0;
  margin: 0 0 20px;
  list-style: none;
}
.legal-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: 15.5px;
  color: var(--ink-2);
  line-height: 1.65;
}
.legal-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.legal-link {
  color: var(--primary);
  font-weight: 600;
  border-bottom: 1px solid rgba(91, 126, 196, 0.4);
  transition: color 160ms ease, border-color 160ms ease;
}
.legal-link:hover {
  color: var(--ink-cta);
  border-bottom-color: var(--ink-cta);
}

.legal-article abbr {
  text-decoration: none;
  border-bottom: 1px dotted var(--ink-3);
  cursor: help;
}

@media (max-width: 768px) {
  .legal-page { padding: 110px 0 64px; }
  .legal-article h2 { font-size: 19px; margin-top: 36px; }
  .legal-article p,
  .legal-list li { font-size: 15px; }
}


/* ============================================================
   SCROLL REVEAL
   ============================================================ */

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 650ms cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 650ms cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* In the hero, reveals must trigger immediately so the parallax
   transform on .hero-inner doesn't fight with translateY. */
#hero [data-reveal] {
  opacity: 1;
  transform: none;
  transition: none;
}

/* ============================================================
   RESPONSIVE — mobile first refinements
   ============================================================ */

@media (max-width: 1024px) {
  :root { --section-pad: 96px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  :root { --section-pad: 72px; }
  .container { padding: 0 20px; }
  .nav-inner { padding: 14px 20px; }

  .nav-links {
    position: fixed;
    inset: 64px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 20px;
    background: rgba(247, 248, 252, 0.95);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 220ms ease, opacity 220ms ease;
  }
  .nav-links li {
    border-bottom: 1px solid var(--border);
  }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a {
    display: block;
    padding: 14px 0;
    font-size: 16px;
  }
  #nav.open .nav-links {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }

  #hero { padding: 110px 20px 70px; }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 40px;
  }
  .hero-stats .stat { padding: 20px 16px; }

  .grid { margin-top: 36px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }

  .card, .steps .step { padding: 24px; }

  .contact-form { padding: 24px; }
  .contact-form .row { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 18px; }

  .service.featured { transform: none; }
  .service.featured:hover { transform: translateY(-3px); }
}

@media (max-width: 420px) {
  h1 { font-size: 38px; }
  h2 { font-size: 28px; }
  .price-amount .amount { font-size: 44px; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ── COOKIE BANNER ── */
#cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 9999;
  width: calc(100% - 3rem);
  max-width: 680px;
  background: rgba(13, 19, 24, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.2rem 1.5rem;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
              opacity 0.3s ease;
  opacity: 0;
}

#cookie-banner.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

#cookie-banner.hiding {
  transform: translateX(-50%) translateY(120%);
  opacity: 0;
}

#cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

#cookie-banner-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.25rem;
}

#cookie-banner-text p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  margin: 0;
}

#cookie-banner-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

#cookie-refuse {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.55rem 1.2rem;
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
}

#cookie-refuse:hover {
  border-color: rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
}

#cookie-accept {
  background: var(--primary);
  color: #FFFFFF;
  border: none;
  padding: 0.55rem 1.2rem;
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s, background 0.2s;
  white-space: nowrap;
}

#cookie-accept:hover {
  background: var(--ink-cta-hover);
  transform: translateY(-1px);
}

@media (max-width: 540px) {
  #cookie-banner {
    bottom: 1rem;
    width: calc(100% - 2rem);
    padding: 1rem 1.2rem;
  }
  #cookie-banner-inner {
    flex-direction: column;
    gap: 1rem;
  }
  #cookie-banner-actions {
    width: 100%;
  }
  #cookie-refuse,
  #cookie-accept {
    flex: 1;
    text-align: center;
  }
}

.hero-location {
  font-size: 0.82rem;
  color: var(--ink-2);
  letter-spacing: 0.04em;
  margin-bottom: 1.8rem;
  margin-top: -0.8rem;
}

/* ── Lien « Espace Client » dans la nav (pill outline neutre) ── */
.nav-links .nav-client {
  display: inline-flex;
  align-items: center;
  color: var(--ink-2) !important;
  border: 1px solid var(--border);
  padding: 6px 14px !important;
  border-radius: var(--radius-pill);
  font-size: 14px !important;
  font-weight: 500;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease !important;
}
.nav-links .nav-client:hover {
  border-color: var(--secondary) !important;
  color: var(--primary) !important;
  background: rgba(91, 126, 196, 0.06);
}

/* ── Bloc « Intervention locale » sous l'info-list de la section contact ── */
.contact-detail-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
}
.contact-detail-item strong {
  color: var(--ink);
  font-weight: 600;
}
.contact-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  margin-top: 8px;
  box-shadow: 0 0 0 4px rgba(91, 126, 196, 0.12);
}
