/* ==========================================================================
   NEXOM — Feuille de style
   Design : tech sobre & premium — VARIANTE CLAIRE (blanc + bleu électrique)
   Site statique, sans framework. Édité via Claude.
   ========================================================================== */

:root {
  /* Couleurs — thème clair */
  --bg: #FFFFFF;
  --bg-soft: #F5F7FA;
  --surface: #FFFFFF;
  --surface-2: #F0F3F7;
  --border: rgba(14, 17, 22, 0.10);
  --border-strong: rgba(14, 17, 22, 0.18);
  --text: #0E1116;
  --text-muted: #4A5563;
  --text-dim: #7A8694;
  --accent: #2D7FF9;
  --accent-soft: rgba(45, 127, 249, 0.10);
  --accent-hover: #1F6FE5;
  --accent-2: #0FA877;

  /* Typo */
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-head: "Manrope", var(--font-body);

  /* Échelle & rythme */
  --container: 1140px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(14, 17, 22, 0.08);
  --shadow-accent: 0 8px 24px rgba(45, 127, 249, 0.20);
  --section-y: clamp(64px, 9vw, 120px);
}

/* Reset léger ---------------------------------------------------------------*/
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; width: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; margin: 0; }

/* Utilitaires ---------------------------------------------------------------*/
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--section-y) 0; }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.lead { color: var(--text-muted); font-size: 1.12rem; max-width: 62ch; }
.text-muted { color: var(--text-muted); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Boutons -------------------------------------------------------------------*/
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head);
  font-weight: 600; font-size: 0.97rem;
  padding: 13px 24px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-block { width: 100%; justify-content: center; }
.btn-arrow::after { content: "→"; transition: transform .2s ease; }
.btn-arrow:hover::after { transform: translateX(3px); }

/* En-tête -------------------------------------------------------------------*/
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.brand { display: flex; align-items: flex-end; gap: 1px; }
.brand-word { font-family: var(--font-head); font-weight: 700; font-size: 1.32rem; letter-spacing: -0.02em; color: var(--text); text-transform: lowercase; line-height: 1; }
.brand-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin: 0 0 5px 4px; flex: none; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), #1f5fd0);
  color: #fff; font-weight: 800; font-size: 1.05rem;
  box-shadow: var(--shadow-accent);
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { color: var(--text-muted); font-size: 0.96rem; font-weight: 500; transition: color .18s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); cursor: pointer; padding: 6px; }
.nav-toggle svg { width: 26px; height: 26px; }

/* Hero ----------------------------------------------------------------------*/
.hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 8vw, 110px); overflow: hidden;
  background: #F5F7FA url("assets/hero-bg.jpg") center / cover no-repeat; }
/* Fonds de hero spécifiques par page */
.hero-pro { background-image: url("assets/hero-professionnels.jpg"); }
.hero-part { background-image: url("assets/hero-particuliers.jpg"); }
.hero-partenaires { background-image: url("assets/hero-partenaires.jpg"); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(to right, rgba(255,255,255,0.80) 0%, rgba(255,255,255,0.66) 44%, rgba(255,255,255,0.42) 74%, rgba(255,255,255,0.20) 100%),
    radial-gradient(900px 460px at 82% -8%, rgba(45, 127, 249, 0.10), transparent 60%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(circle at 70% 20%, #000 0%, transparent 70%);
  mask-image: radial-gradient(circle at 70% 20%, #000 0%, transparent 70%);
}
.hero h1 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); max-width: 16ch; margin-bottom: 22px; }
.hero .lead { font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: none; color: #161C24; }
/* Panneau "verre dépoli" derrière le texte du hero (option 2) */
.hero-copy {
  display: inline-block;
  max-width: min(660px, 100%);
  background: rgba(255, 255, 255, 0.20);
  -webkit-backdrop-filter: blur(12px) saturate(125%);
  backdrop-filter: blur(12px) saturate(125%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 22px;
  padding: clamp(26px, 3vw, 40px);
  box-shadow: 0 12px 40px rgba(14, 17, 22, 0.10);
}
.hero-copy .hero-actions { margin-bottom: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* Bandeau statistiques ------------------------------------------------------*/
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; }
.stat { border: 1px solid var(--border); background: var(--surface); border-radius: var(--radius); padding: 24px; }
.stat-kicker { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); }
.stat-value { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; margin: 8px 0 6px; }
.stat-value span { color: var(--accent); }
.stat-desc { color: var(--text-muted); font-size: 0.95rem; }

/* Section header ------------------------------------------------------------*/
.section-head { max-width: 64ch; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 16px; }

/* Cartes doubles (deux expertises) ------------------------------------------*/
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.duo-card {
  border: 1px solid var(--border); background: var(--surface);
  border-radius: var(--radius); padding: 36px;
  display: flex; flex-direction: column;
  transition: border-color .2s ease, transform .2s ease;
}
.duo-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.duo-tag { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.duo-card h3 { font-size: 1.45rem; margin-bottom: 12px; }
.duo-card .duo-list { margin: 22px 0 28px; display: grid; gap: 11px; }
.duo-list li { position: relative; padding-left: 26px; color: var(--text-muted); font-size: 0.98rem; }
.duo-list li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 14px; height: 8px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.duo-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 12px; }

/* Grille de features --------------------------------------------------------*/
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.features.cols-2 { grid-template-columns: repeat(2, 1fr); }
.feature {
  border: 1px solid var(--border); background: var(--surface);
  border-radius: var(--radius); padding: 28px;
  transition: border-color .2s ease, background .2s ease;
}
.feature:hover { border-color: var(--border-strong); background: var(--surface-2); }
.feature-icon {
  width: 44px; height: 44px; border-radius: 11px; margin-bottom: 18px;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
}
.feature-icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.12rem; margin-bottom: 9px; }
.feature p { color: var(--text-muted); font-size: 0.96rem; margin: 0; }

/* Bloc texte + visuel -------------------------------------------------------*/
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.split-media {
  border: 1px solid var(--border); border-radius: var(--radius);
  background:
    radial-gradient(500px 300px at 30% 20%, rgba(45,127,249,0.18), transparent 60%),
    linear-gradient(160deg, var(--surface-2), var(--bg-soft));
  min-height: 340px; position: relative; overflow: hidden;
  display: grid; place-items: center;
}
/* Emplacement pour vraie photo : remplacer .split-media par <img class="split-photo"> */
.split-photo { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border); }
.media-note { color: var(--text-dim); font-size: 0.85rem; text-align: center; padding: 0 24px; }
/* Colonne latérale (carte) du split : s'étire pour s'aligner sur la colonne texte */
.split-aside { align-self: stretch; display: flex; }
.split-aside > * { width: 100%; }

/* Citation mise en avant (pull-quote) -------------------------------------- */
.pull-quote {
  margin: 0; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--accent-soft);
  border: 1px solid rgba(45, 127, 249, 0.18);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: clamp(28px, 3.5vw, 40px);
}
.pull-quote p {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.3;
  letter-spacing: -0.01em; color: var(--text); margin: 0 0 14px;
}
.pull-quote .pull-quote-src {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent);
}

/* Étapes (timeline) ---------------------------------------------------------*/
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.steps.cols-5 { grid-template-columns: repeat(5, 1fr); }
.steps.cols-3 { grid-template-columns: repeat(3, 1fr); }
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 26px 26px 28px;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.step-num { display: inline-block; font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; color: var(--accent); letter-spacing: 0.02em; margin-bottom: 6px; }
.step h3 { font-size: 1.12rem; margin: 4px 0 10px; }
.step p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }

/* Liste à puces engagements -------------------------------------------------*/
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px; }
.checklist li { position: relative; padding-left: 30px; color: var(--text-muted); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 16px; height: 9px; border-left: 2px solid var(--accent-2); border-bottom: 2px solid var(--accent-2);
  transform: rotate(-45deg);
}

/* Bloc info réglementaire (pro) ---------------------------------------------*/
.reg { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.reg-card { border: 1px solid var(--border); background: var(--surface); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.reg-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.reg-card p { color: var(--text-muted); margin: 0; font-size: 0.98rem; }
.reg-badge { display: inline-block; align-self: flex-start; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-2); background: rgba(15, 168, 119, 0.10); border: 1px solid rgba(15, 168, 119, 0.28); border-radius: 999px; padding: 4px 12px; margin-bottom: 14px; }
.reg-icon { width: 46px; height: 46px; border-radius: 12px; align-self: flex-start; display: grid; place-items: center; background: rgba(15, 168, 119, 0.10); color: var(--accent-2); margin-bottom: 20px; }
.reg-icon svg { width: 24px; height: 24px; }
.reg-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.reg-tag { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-muted); background: var(--bg-soft); border: 1px solid var(--border); border-radius: 999px; padding: 5px 12px; }

/* Bandeau CTA / Rendez-vous -------------------------------------------------*/
.cta-band {
  border: 1px solid var(--border); border-radius: var(--radius);
  background:
    radial-gradient(600px 300px at 80% 0%, rgba(45,127,249,0.16), transparent 60%),
    var(--surface);
  padding: clamp(32px, 5vw, 56px);
}
.rdv { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 44px; align-items: start; }
.rdv-points { display: grid; gap: 14px; margin-top: 24px; }
.rdv-points li { padding-left: 28px; position: relative; color: var(--text-muted); }
.rdv-points li strong { color: var(--text); }
.rdv-points li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft);
}
.calendly-embed {
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  min-height: 640px; background: #fff;
}
.calendly-inline-widget { min-width: 320px; height: 640px; }

/* Formulaire ----------------------------------------------------------------*/
.form-card { border: 1px solid var(--border); background: var(--surface); border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.9rem; font-weight: 600; color: var(--text); }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0; max-width: 100%;
  background: var(--bg-soft); border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  color: var(--text); padding: 13px 14px; font-family: var(--font-body); font-size: 1rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note { color: var(--text-dim); font-size: 0.85rem; margin-top: 14px; }

/* Pied de page --------------------------------------------------------------*/
.site-footer { border-top: 1px solid var(--border); background: var(--bg-soft); padding: 64px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.footer-about p { color: var(--text-muted); font-size: 0.95rem; max-width: 42ch; }
.footer-loc { color: var(--text-dim); font-size: 0.9rem; margin-top: 14px; }
.footer-col h4 { font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 16px; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--text-muted); font-size: 0.95rem; transition: color .15s ease; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--border); margin-top: 48px; padding-top: 24px;
  color: var(--text-dim); font-size: 0.88rem;
}
.footer-bottom a { color: var(--text-dim); }
.footer-bottom a:hover { color: var(--text-muted); }
.footer-legal { display: flex; gap: 20px; }

/* Responsive ----------------------------------------------------------------*/
@media (max-width: 900px) {
  .duo, .split, .reg, .rdv, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .features, .features.cols-2 { grid-template-columns: 1fr 1fr; }
  .steps, .steps.cols-5, .steps.cols-3 { grid-template-columns: 1fr 1fr; }
  .checklist { grid-template-columns: 1fr; }
  .split { gap: 32px; }
  .split-media { min-height: 240px; order: -1; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.open + .mobile-menu { display: block; }
  .features, .features.cols-2, .stats, .steps, .steps.cols-5, .steps.cols-3 { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .calendly-inline-widget { min-width: 0; width: 100%; }
  .calendly-embed { min-height: 560px; }
  .cta-band { padding: clamp(20px, 5vw, 56px); }
}

/* Menu mobile ---------------------------------------------------------------*/
.mobile-menu {
  display: none; border-bottom: 1px solid var(--border); background: var(--bg-soft);
  padding: 14px 0 22px;
}
.mobile-menu .container { display: grid; gap: 6px; }
.mobile-menu a { padding: 12px 8px; color: var(--text-muted); border-radius: 8px; font-weight: 500; }
.mobile-menu a:hover { background: var(--surface); color: var(--text); }
.mobile-menu .btn { margin-top: 10px; }
.mobile-menu .btn-primary { color: #fff; font-weight: 700; }

/* Étiquette pilier sur carte métier ----------------------------------------*/
.metier-tag {
  display: inline-block; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase; color: var(--accent);
  background: var(--accent-soft); border-radius: 999px; padding: 3px 10px;
  margin-bottom: 12px;
}

/* Section « Ils nous font confiance » --------------------------------------*/
.trust-section { padding-top: clamp(48px, 7vw, 84px); padding-bottom: clamp(48px, 7vw, 84px); }
.logo-strip {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch;
  gap: 22px; max-width: 920px; margin: 0 auto;
}
.logo-item {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  border: 1px solid var(--border); background: var(--surface);
  border-radius: var(--radius); padding: 26px 34px; min-width: 220px;
  transition: border-color .2s ease, transform .2s ease;
}
.logo-item:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.logo-item img {
  height: 56px; width: auto; object-fit: contain;
  filter: grayscale(100%); opacity: 0.78; transition: filter .25s ease, opacity .25s ease;
}
.logo-item:hover img { filter: grayscale(0%); opacity: 1; }
.logo-caption { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-dim); }

/* FAQ (accordéon natif) -----------------------------------------------------*/
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq-item {
  border: 1px solid var(--border); background: var(--surface);
  border-radius: var(--radius-sm); padding: 4px 22px;
  transition: border-color .2s ease;
}
.faq-item[open] { border-color: var(--border-strong); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 18px 30px 18px 0; position: relative;
  font-family: var(--font-head); font-weight: 600; font-size: 1.04rem; color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; font-weight: 400; color: var(--accent); transition: transform .2s ease;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { color: var(--text-muted); margin: 0 0 18px; font-size: 0.98rem; }

@media (max-width: 620px) {
  .logo-item { min-width: 0; width: 100%; }
}

/* Accessibilité -------------------------------------------------------------*/
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
