/* ============================================
   ZAPRAM - Le bon réflexe informatique
   Charte : Bleu Klein #002395 · gris clair #F5F5F7 · texte #1D1D1F
   Polices : Montserrat (titres) + Inter (texte), hébergées localement
   ============================================ */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/montserrat-latin-wght-normal.woff2") format("woff2");
}

:root {
  --primary: #002395;        /* Bleu Klein */
  --primary-dark: #001a75;
  --primary-light: #e6e9ff;
  --secondary: #1e3a8a;
  --text: #1d1d1f;
  --text-light: #515154;     /* contraste 7,5:1 sur blanc */
  --bg: #ffffff;
  --bg-gray: #f5f5f7;
  --border: #e0e0e6;
  --ok-bg: #e7f6ea;
  --ok-text: #14572a;
  --err-bg: #fdecea;
  --err-text: #9b1c14;
  --shadow: 0 2px 8px rgba(0, 0, 0, .08);
  --shadow-hover: 0 6px 18px rgba(0, 0, 0, .12);
  --radius: 12px;
  --radius-sm: 8px;
  --header-h: 64px;
  --callbar-h: 60px;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  padding-top: var(--header-h);
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--primary); }
h1, h2, h3 { font-family: var(--font-heading); line-height: 1.25; color: var(--text); }
main:focus { outline: none; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 4rem 0; }
.section--gray { background: var(--bg-gray); }
@media (max-width: 767px) { .section { padding: 2.75rem 0; } }
.section-head { text-align: center; margin-bottom: 2.25rem; }
.section-head h2 { font-size: clamp(1.5rem, 4vw, 2rem); margin-bottom: .5rem; }
.section-head p { color: var(--text-light); }
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }

/* ---------- HEADER ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .25s ease;
}
.header.scrolled { box-shadow: var(--shadow); }
.nav-container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--text); min-width: 0; }
.logo-icon { width: 40px; height: 40px; flex-shrink: 0; }
.logo-text { font-family: var(--font-heading); font-size: 1.35rem; font-weight: 700; color: var(--primary); letter-spacing: -.01em; }
.logo-baseline { display: none; font-size: .8125rem; color: var(--text-light); padding-left: .65rem; border-left: 1px solid var(--border); line-height: 1.2; }
@media (min-width: 1200px) { .logo-baseline { display: block; } }

.main-nav { display: none; margin-left: auto; }
.nav-menu { display: flex; list-style: none; gap: 1.75rem; }
.nav-menu a, .mobile-menu a {
  text-decoration: none; color: var(--text);
  font-family: var(--font-heading); font-weight: 500;
}
.nav-menu a { font-size: .9rem; padding: .5rem 0; position: relative; }
.nav-menu a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--primary); transition: width .25s ease; }
.nav-menu a:hover, .nav-menu a[aria-current="page"] { color: var(--primary); }
.nav-menu a:hover::after, .nav-menu a[aria-current="page"]::after { width: 100%; }

.call-btn {
  display: none; align-items: center; gap: .5rem;
  background: var(--primary); color: #fff; padding: .6rem 1.1rem;
  border-radius: var(--radius); text-decoration: none;
  font-family: var(--font-heading); font-size: .875rem; font-weight: 600;
  transition: background .2s ease, transform .2s ease;
}
.call-btn:hover { background: var(--primary-dark); transform: translateY(-1px); }

.hamburger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 10px; cursor: pointer;
  background: none; border: 0; border-radius: var(--radius-sm);
}
.hamburger span { display: block; height: 2px; width: 100%; background: var(--text); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; top: var(--header-h); left: 0; right: 0;
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
  padding: .5rem 1.25rem 1.25rem; z-index: 999;
  visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
.mobile-menu.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.mobile-menu ul { list-style: none; }
.mobile-menu a { display: block; font-size: 1.0625rem; padding: .9rem 0; border-bottom: 1px solid var(--border); }
.mobile-menu a[aria-current="page"] { color: var(--primary); font-weight: 700; }

@media (min-width: 900px) {
  .main-nav { display: block; }
  .call-btn { display: inline-flex; }
  .hamburger, .mobile-menu { display: none; }
}

/* Barre d'appel collée en bas sur mobile */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
  height: var(--callbar-h);
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  background: var(--primary); color: #fff; text-decoration: none;
  font-family: var(--font-heading); font-weight: 600; font-size: 1rem;
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -2px 12px rgba(0, 0, 0, .15);
}
@media (max-width: 899px) { body { padding-bottom: calc(var(--callbar-h) + env(safe-area-inset-bottom)); } }
@media (min-width: 900px) { .callbar { display: none; } }

/* ---------- HERO ---------- */
.hero { position: relative; overflow: hidden; padding: 4.5rem 0 4rem; background: linear-gradient(135deg, var(--primary-light) 0%, var(--bg) 60%); }
.hero--page { padding: 3.25rem 0 2.5rem; }
.hero--gray { background: var(--bg-gray); }
@media (max-width: 767px) { .hero { padding: 2.5rem 0 2.5rem; } .hero--page { padding: 2rem 0 1.75rem; } }
.hero-content { position: relative; z-index: 1; max-width: 640px; }
.hero h1 { font-size: clamp(1.75rem, 5.2vw, 2.75rem); font-weight: 700; margin-bottom: 1.1rem; letter-spacing: -.01em; }
.hero--page h1 { font-size: clamp(1.6rem, 4.5vw, 2.25rem); }
.hero p { font-size: 1.125rem; color: var(--text-light); margin-bottom: 1.75rem; max-width: 560px; }
.hero-cta { display: flex; gap: .85rem; flex-wrap: wrap; }
.hero-visual { position: absolute; right: 4%; top: 50%; transform: translateY(-50%); width: 300px; height: 300px; opacity: .08; pointer-events: none; }
@media (max-width: 899px) { .hero-visual { display: none; } }

/* ---------- BOUTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .8rem 1.6rem; border-radius: var(--radius);
  text-decoration: none; font-family: var(--font-heading); font-size: .9rem; font-weight: 600;
  border: 2px solid transparent; cursor: pointer; transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn-secondary { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-secondary:hover { background: var(--primary-light); }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: var(--bg-gray); }
@media (max-width: 480px) { .hero-cta .btn { width: 100%; } }

/* ---------- CARTES ---------- */
.grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.card {
  display: block; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.75rem; text-decoration: none; color: var(--text); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--primary); }
.card-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--primary-light); color: var(--primary); border-radius: var(--radius-sm); margin-bottom: 1.1rem; }
.card h3 { font-size: 1.0625rem; font-weight: 600; margin-bottom: .5rem; }
.card p { color: var(--text-light); font-size: .9375rem; line-height: 1.55; }
.section--gray .card { background: #fff; }

/* Partenaires : 2 blocs seulement */
.partners-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; margin: 0 auto; }
@media (max-width: 640px) { .partners-grid { grid-template-columns: 1fr; } }
.partner-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; text-align: center; transition: transform .25s ease, box-shadow .25s ease; }
.partner-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.partner-badge { width: 64px; height: 64px; margin: 0 auto 1rem; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--primary-light); color: var(--primary); font-family: var(--font-heading); font-weight: 700; font-size: 1.5rem; }
.partner-card h3 { font-size: 1.125rem; margin-bottom: .5rem; }
.partner-card p { color: var(--text-light); font-size: .9375rem; }

/* ---------- À PROPOS / SPLIT ---------- */
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; gap: 2rem; } }
.split h2 { font-size: clamp(1.5rem, 4vw, 1.875rem); margin-bottom: 1.25rem; }
.split p { color: var(--text-light); margin-bottom: 1.1rem; }
.lead { font-size: 1.125rem; line-height: 1.7; color: var(--text) !important; }
.highlights { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; margin: 1.5rem 0 1.75rem; }
.highlight { display: inline-flex; align-items: center; gap: .5rem; font-size: .9375rem; color: var(--text-light); }
.highlight svg, .checklist svg { color: var(--primary); flex-shrink: 0; }
.visual-panel { background: var(--bg-gray); border-radius: var(--radius); padding: 2rem; text-align: center; min-height: 260px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; }
.visual-panel--blue { background: var(--primary); color: #fff; }
.visual-panel.visual-panel--blue p { color: #fff; }
.visual-panel p { color: var(--text-light); margin: 0; font-size: .9375rem; }
.callout { background: var(--primary-light); border-left: 4px solid var(--primary); border-radius: var(--radius-sm); padding: 1.25rem 1.5rem; margin: 1.5rem 0; }
.callout h3 { font-size: 1rem; display: flex; align-items: center; gap: .5rem; margin-bottom: .5rem; }
.callout p { margin: 0; color: var(--text); font-size: .9375rem; }
.quote { background: var(--bg-gray); border-radius: var(--radius); padding: 1.5rem; margin: 1.75rem 0; }
.quote h3 { font-size: 1rem; display: flex; align-items: center; gap: .5rem; margin-bottom: .75rem; }
.quote p { margin: 0; }

.checklist { list-style: none; display: grid; gap: .65rem; }
.checklist li { display: flex; gap: .65rem; align-items: flex-start; color: var(--text-light); }
.checklist svg { margin-top: .2rem; }
.checklist--dark li { color: var(--text); }

/* ---------- SERVICES (détail) ---------- */
.detail-head { display: flex; align-items: flex-start; gap: 1.1rem; margin-bottom: 1.25rem; }
.detail-head .card-icon { width: 56px; height: 56px; margin: 0; flex-shrink: 0; }
.detail-head h2 { font-size: clamp(1.25rem, 3.4vw, 1.625rem); margin-bottom: .25rem; }
.detail-head p { color: var(--text-light); font-size: .9375rem; }
.detail-intro { color: var(--text-light); margin-bottom: 1.5rem; max-width: 760px; }
.detail-cols { display: grid; gap: 1.5rem 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.detail-cols h3 { font-size: 1rem; margin-bottom: .75rem; }
.panel { background: var(--bg-gray); border-radius: var(--radius); padding: 1.5rem; }
.panel--white { background: #fff; border: 1px solid var(--border); }
.panel h3 { font-size: 1rem; margin-bottom: .6rem; }
.panel p { color: var(--text-light); font-size: .9375rem; }
.panel ul { list-style: none; color: var(--text-light); font-size: .9375rem; display: grid; gap: .4rem; }
.panel ul li::before { content: "•"; color: var(--primary); font-weight: 700; margin-right: .5rem; }
.detail-foot { margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.section--gray .detail-foot { border-color: #d9d9df; }

/* Zone d'intervention */
.chips { list-style: none; display: grid; gap: .65rem; }
.chips li { padding: .6rem 1rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.note { background: var(--primary-light); color: var(--primary); border-radius: var(--radius-sm); padding: 1rem; text-align: center; font-weight: 600; }

/* ---------- CTA ---------- */
.cta-section { background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%); color: #fff; text-align: center; padding: 3.5rem 0; }
.cta-section h2 { color: #fff; font-size: clamp(1.4rem, 4vw, 1.875rem); margin-bottom: .75rem; }
.cta-section p { font-size: 1.0625rem; opacity: .95; margin: 0 auto 1.75rem; max-width: 600px; }
.cta-actions { display: flex; gap: .85rem; justify-content: center; flex-wrap: wrap; }
.cta-note { margin-top: 1rem; font-size: .875rem; opacity: .9; }
.cta-section .btn-secondary { color: #fff; border-color: #fff; }
.cta-section .btn-secondary:hover { background: rgba(255, 255, 255, .15); }

/* ---------- CONTACT ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; gap: 2rem; } }
.contact-info { background: var(--bg-gray); border-radius: var(--radius); padding: 2rem; }
.contact-info h2, .contact-form h2 { font-size: 1.25rem; margin-bottom: 1.5rem; }
.contact-item { display: flex; gap: 1rem; margin-bottom: 1.35rem; }
.contact-item > svg { color: var(--primary); flex-shrink: 0; margin-top: .2rem; }
.contact-item h3 { font-size: 1rem; margin-bottom: .15rem; }
.contact-item p { color: var(--text-light); font-size: .9375rem; overflow-wrap: anywhere; }
.contact-item a { color: var(--primary); }
.social { margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid #d9d9df; }
.social h3 { font-size: 1rem; margin-bottom: .75rem; }
.social a { display: inline-flex; align-items: center; gap: .5rem; color: var(--text); font-weight: 500; text-decoration: none; }
.social a:hover { color: var(--primary); }

.contact-form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; }
.form-group { margin-bottom: 1.15rem; }
.form-group label { display: block; font-family: var(--font-heading); font-size: .875rem; font-weight: 500; margin-bottom: .4rem; }
.form-group input, .form-group textarea {
  width: 100%; padding: .8rem 1rem; border: 1px solid #b9b9c2; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 1rem; color: var(--text); background: #fff;
}
.form-group input:focus, .form-group textarea:focus { outline: 2px solid var(--primary); outline-offset: 1px; border-color: var(--primary); }
.form-group textarea { min-height: 130px; resize: vertical; }
.form-hint { font-size: .8125rem; color: var(--text-light); margin-bottom: 1rem; }
.form-submit { width: 100%; }
.form-status { margin-top: 1rem; padding: .85rem 1rem; border-radius: var(--radius-sm); font-size: .9375rem; display: none; }
.form-status.is-visible { display: block; }
.form-status.ok { background: var(--ok-bg); color: var(--ok-text); }
.form-status.err { background: var(--err-bg); color: var(--err-text); }

.rdv { text-align: center; max-width: 560px; margin: 0 auto; }
.rdv p { color: var(--text-light); margin-bottom: 1.25rem; }

.map-wrap { position: relative; height: 420px; background: var(--bg-gray); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
@media (max-width: 600px) { .map-wrap { height: 340px; } }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-consent { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; padding: 1.5rem; text-align: center; color: var(--text-light); }
.map-consent p { max-width: 460px; font-size: .9375rem; }
.map-caption { margin-top: 1rem; text-align: center; color: var(--text-light); font-size: .9375rem; }

/* ---------- TEXTE LÉGAL ---------- */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.25rem; margin: 2rem 0 .6rem; }
.legal p, .legal li { color: var(--text-light); margin-bottom: .6rem; }
.legal ul { padding-left: 1.25rem; }
.todo { background: #fff4d6; color: #5b4300; padding: 0 .35rem; border-radius: 4px; font-weight: 600; }
.legal-warn { background: #fff4d6; color: #5b4300; border-radius: var(--radius-sm); padding: 1rem 1.25rem; margin-bottom: 1.5rem; font-size: .9375rem; }

/* ---------- 404 ---------- */
.error-page { min-height: 60vh; display: flex; align-items: center; justify-content: center; padding: 3rem 1.25rem; text-align: center; }
.error-page h1 { font-size: clamp(4rem, 18vw, 8rem); line-height: 1; color: var(--primary); margin-bottom: .75rem; }
.error-page h2 { font-size: 1.5rem; margin-bottom: .75rem; }
.error-page p { color: var(--text-light); margin-bottom: 1.75rem; }

/* ---------- FOOTER ---------- */
.footer { background: var(--text); color: #fff; padding: 3rem 0 1.5rem; }
.footer-content { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); margin-bottom: 2rem; }
.logo--footer { margin-bottom: 1rem; }
.logo--footer .logo-text { color: #fff; font-size: 1.25rem; }
.footer-about, .footer-muted { font-size: .875rem; color: #d2d2d7; line-height: 1.6; }
.footer-title { font-family: var(--font-heading); font-size: 1rem; font-weight: 600; margin-bottom: 1rem; color: #fff; }
.footer-section ul { list-style: none; }
.footer-section li { margin-bottom: .55rem; }
.footer-section li a { color: #f5f5f7; text-decoration: none; font-size: .875rem; }
.footer-section li a:hover { text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 1.25rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: .875rem; color: #d2d2d7; }
.footer-bottom a { color: #fff; font-size: .875rem; }
.to-top { display: inline-flex; align-items: center; gap: .35rem; text-decoration: none; }
.to-top:hover { text-decoration: underline; }

/* ---------- ACCESSIBILITÉ & ANIMATIONS ---------- */
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
.footer :focus-visible, .cta-section :focus-visible, .callbar:focus-visible { outline-color: #fff; }
.skip-link { position: absolute; top: -60px; left: 8px; background: var(--primary); color: #fff; padding: .6rem 1rem; z-index: 2000; border-radius: var(--radius-sm); transition: top .2s; }
.skip-link:focus { top: 8px; }

/* Les blocs hors écran sont masqués puis révélés par le JS (jamais masqués sans JS) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 480px) {
  .contact-info, .contact-form { padding: 1.5rem; }
  .card { padding: 1.5rem; }
}

/* ---------- PAGES D'OFFRE ---------- */
.hero-cert { display: flex; align-items: center; gap: .5rem; margin: 1.25rem 0 0 !important; font-size: .9375rem !important; color: var(--text) !important; }
.hero-cert svg { color: var(--primary); flex-shrink: 0; }
.breadcrumb { font-size: .875rem !important; margin-bottom: .75rem !important; }
.breadcrumb a { color: var(--text-light); }
.split--top { align-items: start; }
.steps { list-style: none; counter-reset: step; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.steps li { counter-increment: step; background: var(--bg-gray); border-radius: var(--radius); padding: 1.5rem; }
.steps li::before { content: counter(step); display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff; font-family: var(--font-heading); font-weight: 700; margin-bottom: .85rem; }
.steps h3 { font-size: 1.0625rem; margin-bottom: .4rem; }
.steps p { color: var(--text-light); font-size: .9375rem; }
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: .75rem; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0 1.25rem; }
.faq summary { cursor: pointer; padding: 1rem 0; font-family: var(--font-heading); font-weight: 600; list-style-position: outside; }
.faq details p { color: var(--text-light); padding-bottom: 1.1rem; }
.partner-logo { height: 64px; width: auto; max-width: 200px; margin: 0 auto 1rem; display: block; object-fit: contain; }

/* ===== Logo animé (charte 1.2) : un va-et-vient à l'arrivée, puis au survol ===== */
.zp-dot { stroke-dasharray:0 100;stroke-dashoffset:-7.8;stroke-width:7.2; }
.zp-ring { stroke-dasharray:51.195 17.92;stroke-dashoffset:-8.96; }
.zp-live .zp-dot { transition: stroke-dasharray .4s cubic-bezier(.6,0,.3,1), stroke-dashoffset .4s cubic-bezier(.6,0,.3,1), stroke-width .4s cubic-bezier(.6,0,.3,1); animation: zp-in-dot 2.2s .6s 1; }
.zp-live .zp-ring { transition: stroke-dasharray .4s cubic-bezier(.6,0,.3,1), stroke-dashoffset .4s cubic-bezier(.6,0,.3,1); animation: zp-in-ring 2.2s .6s 1; }
.logo:hover .zp-dot, .logo:focus-visible .zp-dot { stroke-dasharray:13.4 100;stroke-dashoffset:-5.7;stroke-width:3.8; }
.logo:hover .zp-ring, .logo:focus-visible .zp-ring { stroke-dasharray:55.205 13.91;stroke-dashoffset:-6.955; }
@keyframes zp-in-dot {
  0% { stroke-dasharray:0 100;stroke-dashoffset:-7.8;stroke-width:7.2; animation-timing-function: cubic-bezier(.6,0,.3,1); }
  23%, 77% { stroke-dasharray:13.4 100;stroke-dashoffset:-5.7;stroke-width:3.8; animation-timing-function: cubic-bezier(.6,0,.3,1); }
  100% { stroke-dasharray:0 100;stroke-dashoffset:-7.8;stroke-width:7.2; }
}
@keyframes zp-in-ring {
  0% { stroke-dasharray:51.195 17.92;stroke-dashoffset:-8.96; animation-timing-function: cubic-bezier(.6,0,.3,1); }
  23%, 77% { stroke-dasharray:55.205 13.91;stroke-dashoffset:-6.955; animation-timing-function: cubic-bezier(.6,0,.3,1); }
  100% { stroke-dasharray:51.195 17.92;stroke-dashoffset:-8.96; }
}
@media (prefers-reduced-motion: reduce) {
  .zp-live .zp-dot, .zp-live .zp-ring { animation: none !important; transition: none !important; }
}

/* ===== Portrait (page À propos) ===== */
.portrait { margin: 0 auto; width: 100%; max-width: 400px; }
.portrait img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.portrait figcaption { margin-top: .85rem; text-align: center; font-size: .9375rem; color: var(--text-light); line-height: 1.5; }
.portrait figcaption strong { color: var(--text); font-family: var(--font-heading); }

/* ===== Page IA : repère en trois couleurs ===== */
.level { border-top: 5px solid var(--level, var(--primary)); }
.level-tag { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: .75rem; font-family: var(--font-heading); font-weight: 700; font-size: .8125rem !important; letter-spacing: .06em; text-transform: uppercase; color: var(--text) !important; }
.level-tag::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--level); flex-shrink: 0; }
.level--vert { --level: #1f8a4c; }
.level--orange { --level: #c96a00; }
.level--rouge { --level: #c0271c; }
.section-note { max-width: 720px; margin: 1.75rem auto 0; text-align: center; color: var(--text-light); font-size: .9375rem; }

/* ===== Formulaire « charte IA » (listmonk) ===== */
.lead-form h3 { font-size: 1.25rem; margin-bottom: 1.25rem; }
.lead-consent { display: flex; gap: .6rem; align-items: flex-start; }
.lead-consent input { width: auto; margin-top: .3rem; flex-shrink: 0; }
.lead-consent label { font-family: var(--font-body); font-weight: 400; font-size: .875rem; color: var(--text-light); margin: 0; }
.lead-form altcha-widget { display: block; margin: 0 0 1rem; --altcha-max-width: 100%; --altcha-color-border: var(--border); --altcha-border-radius: 8px; --altcha-color-checkbox: var(--primary); }

/* ===== Accueil : zone d'intervention ===== */
.zone-cities { max-width: 760px; margin: 1.75rem auto 0; text-align: center; color: var(--text-light); }
.zone-cities strong { color: var(--text); }

/* Menu à 6 entrées : pas de retour à la ligne, espacement réduit sur écran moyen */
.nav-menu a { white-space: nowrap; }
@media (min-width: 900px) and (max-width: 1099px) { .nav-menu { gap: 1.1rem; } }

/* ===== Menu déroulant « Services » (entreprises) ===== */
.has-sub { position: relative; }
.has-sub > a::before { content: ""; position: absolute; right: -.95rem; top: 50%; width: .4rem; height: .4rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-70%) rotate(45deg); opacity: .6; }
.nav-menu .has-sub { margin-right: .8rem; }
.has-sub.is-parent > a { color: var(--primary); }
.has-sub.is-parent > a::after { width: 100%; }
.sub-menu { list-style: none; position: absolute; top: calc(100% + .6rem); left: -1rem; min-width: 290px; padding: .5rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-hover); visibility: hidden; opacity: 0; transform: translateY(-4px); transition: opacity .15s ease, transform .15s ease, visibility 0s linear .15s; z-index: 1001; }
.sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -.8rem; height: .8rem; }
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.sub-menu a { display: block; padding: .55rem .75rem; border-radius: var(--radius-sm); font-size: .9rem; }
.sub-menu a::after { display: none; }
.sub-menu a:hover, .sub-menu a[aria-current="page"] { background: var(--primary-light); color: var(--primary); }
.mobile-menu li.sub a { padding-left: 1.1rem; font-size: .975rem; font-weight: 400; color: var(--text-light); border-bottom-style: dashed; }
.mobile-menu li.sub a[aria-current="page"] { color: var(--primary); font-weight: 600; }
.partner-card h3 a { color: inherit; text-decoration: none; }
.partner-card h3 a:hover { color: var(--primary); }
.partner-link { margin-top: .6rem; }
.partner-link a { font-weight: 600; }
