/* =========================================================
   Atalyn, landing liste d'attente
   Blanc pur lumineux, structure claire éditoriale (réf. Cuppa).
   Charte STRICTE : blanc #fff, dark coffee #332414, black #000.
   Palette secondaire réservée aux accents fonctionnels.
   DM Sans (+ DM Mono pour les labels).
   ========================================================= */

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #faf7f3;          /* fond chaud, aligné sur le fond de l'app (UX/UI) */

  --coffee: #332414;
  --black: #000000;
  --green: #149744;              /* vert "positif / marge" de l'app (UX/UI) */

  --ink: #332414;                /* titres : dark coffee */
  --ink-soft: rgba(51, 36, 20, 0.78);
  --ink-faint: rgba(51, 36, 20, 0.7);
  --line: rgba(51, 36, 20, 0.12);
  --line-2: rgba(51, 36, 20, 0.20);

  /* accents fonctionnels (palette secondaire de la charte) */
  --c-devis: #6098a7;            /* Pacific Blue */
  --c-facture: #1b2e3d;          /* Jet Black */
  --c-suivi: #807a64;            /* Grey Olive */
  --c-stocks: #949219;           /* Olive */
  --c-vocal: #925d23;            /* Golden Earth */
  --c-planning: #3f4616;         /* Olive Leaf */

  --r-xl: 28px;
  --r-lg: 20px;
  --r: 16px;
  --r-sm: 12px;
  --pill: 100px;
  --maxw: 1180px;

  --sh-sm: 0 4px 18px rgba(51, 36, 20, 0.05);
  --sh: 0 14px 44px rgba(51, 36, 20, 0.07);
  --sh-lg: 0 30px 70px rgba(51, 36, 20, 0.10);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg); color: var(--ink);
  font-family: "DM Sans", system-ui, -apple-system, sans-serif;
  font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--coffee); outline-offset: 2px; border-radius: 4px; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ===================== TYPO ===================== */
.label {
  display: inline-block; font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.8rem; letter-spacing: 0.02em; color: var(--c-vocal); margin-bottom: 22px;
}
.label::before { content: "/ "; opacity: 0.55; }
.label-on-accent { color: #f6e7d3; }

.section-title {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; color: var(--ink);
  max-width: 20ch; text-wrap: balance;
}
.section-title .hl { color: var(--c-vocal); }
.section-lead { font-size: clamp(1.04rem, 1.4vw, 1.2rem); color: var(--ink-soft); line-height: 1.55; max-width: 56ch; margin-top: 20px; text-wrap: pretty; }
.section-head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.section-head .section-title, .section-head .section-lead { max-width: 100%; }
.section-head .section-lead { margin-left: auto; margin-right: auto; }

/* ===================== BOUTONS ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: inherit; font-size: 1rem; font-weight: 600; white-space: nowrap;
  padding: 14px 26px; border-radius: var(--r-sm); border: 1px solid transparent; cursor: pointer;
  transition: transform 0.15s var(--ease-out), background 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), color 0.2s;
}
.btn:active { transform: scale(0.975); }
.btn-primary { background: var(--coffee); color: #fff; box-shadow: 0 8px 22px -10px rgba(51, 36, 20, 0.7); }
.btn-primary:hover { background: #20160c; box-shadow: 0 12px 28px -10px rgba(51, 36, 20, 0.8); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--coffee); }
.btn-light { background: #fff; color: var(--coffee); }
.btn-light:hover { background: #f3ece3; }

/* ===================== NAV ===================== */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 70; display: flex; justify-content: center; padding: 14px 16px; }
.nav-pill {
  display: inline-flex; align-items: center; gap: 18px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: saturate(180%) blur(22px); -webkit-backdrop-filter: saturate(180%) blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.65); border-radius: var(--pill);
  padding: 7px 8px 7px 18px; width: auto; max-width: calc(100% - 16px);
  box-shadow: 0 1px 4px rgba(51, 36, 20, 0.1), 0 8px 30px rgba(51, 36, 20, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: box-shadow 0.3s var(--ease-out), background 0.3s var(--ease-out);
}
.nav.scrolled .nav-pill { background: rgba(255, 255, 255, 0.72); box-shadow: 0 1px 4px rgba(51, 36, 20, 0.2), 0 8px 30px rgba(51, 36, 20, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.7); }
.nav-logo { display: flex; align-items: center; gap: 9px; }
.nav-mark { width: 21px; height: 21px; }
.nav-word { font-weight: 700; letter-spacing: 0.06em; font-size: 1rem; color: var(--black); }
.nav-links { display: flex; gap: 20px; margin: 0 6px; }
.nav-links a { color: var(--ink-soft); font-size: 0.9rem; font-weight: 500; transition: color 0.2s var(--ease-out); }
.nav-links a:hover { color: var(--ink); }
.nav-cta { padding: 9px 18px; font-size: 0.9rem; border-radius: var(--pill); }

/* ===================== HERO ===================== */
.hero { position: relative; padding: 160px 0 80px; overflow: hidden; }
/* fond image (chantier vu du ciel) + fondus blancs progressifs, miroir du CTA final */
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; background-image: url("assets/hero-chantier.jpeg"); background-size: cover; background-position: center bottom; }
.hero-bg::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(0deg, #fff0 0%, #fff0 22%, #fff 56%); }
.hero-bg::after { content: ""; position: absolute; inset: auto 0% 0%; height: 30%; pointer-events: none; background-image: linear-gradient(#fff0, #fff 72%); }
.hero-inner { position: relative; z-index: 1; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-title { font-size: clamp(2.7rem, 6.2vw, 4.6rem); font-weight: 700; line-height: 1.0; letter-spacing: -0.038em; max-width: 15ch; color: var(--ink); text-wrap: balance; }
.hero-title .hl { color: var(--c-vocal); }
.hero-sub { font-size: clamp(1.08rem, 1.5vw, 1.26rem); color: var(--ink-soft); line-height: 1.5; max-width: 52ch; margin-top: 22px; text-wrap: pretty; }

.lead-form { margin-top: 32px; width: 100%; max-width: 480px; }
.lead-row { display: flex; gap: 10px; }
.lead-input {
  flex: 1; min-width: 0; font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: 14px 20px; border-radius: var(--r-sm); background: #fff; border: 1px solid var(--line-2);
  box-shadow: var(--sh-sm);
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.lead-input::placeholder { color: var(--ink-faint); }
.lead-input:focus { outline: none; border-color: var(--coffee); box-shadow: 0 0 0 3px rgba(51, 36, 20, 0.12); }
.lead-input.invalid { border-color: #c0492f; box-shadow: 0 0 0 3px rgba(192, 73, 47, 0.16); }
.lead-btn { flex-shrink: 0; }
.lead-reassure { font-size: 0.88rem; color: var(--ink-faint); margin-top: 13px; }

/* ===================== SHOWCASE : 3 téléphones ===================== */
.showcase-wrap { position: relative; z-index: 1; margin-top: clamp(52px, 7vw, 96px); }
.showcase {
  position: relative; margin: 0 auto; max-width: 920px; min-height: 540px;
  display: flex; justify-content: center; align-items: flex-end;
}
/* lueur douce sous les écrans, charte coffee/golden, très légère */
.showcase-glow {
  position: absolute; left: 50%; bottom: 6%; transform: translateX(-50%);
  width: 78%; height: 70%; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(146, 93, 35, 0.12), transparent 70%);
  filter: blur(8px);
}

/* cadre commun téléphone */
.phone { position: relative; background: #1c140c; border-radius: 40px; padding: 9px; box-shadow: 0 34px 70px -28px rgba(51, 36, 20, 0.5); border: 1px solid rgba(0,0,0,0.06); }
.phone-notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 100px; height: 20px; background: #1c140c; border-radius: 0 0 13px 13px; z-index: 4; }
.phone-screen { position: relative; background: #ece5dd; border-radius: 31px; overflow: hidden; display: flex; flex-direction: column; }

/* téléphone central (démo WhatsApp), au premier plan */
.phone-center { z-index: 3; width: 296px; }
.phone-center .phone-screen { height: 520px; }

/* téléphones latéraux (dashboard app Atalyn), en retrait */
.phone-side { position: absolute; bottom: 28px; z-index: 1; width: 250px; }
.phone-side .phone-screen { height: 448px; background: #fff; }
.phone-side.left { left: 2%; transform: rotate(-7deg) scale(0.92); transform-origin: bottom center; }
.phone-side.right { right: 2%; transform: rotate(7deg) scale(0.92); transform-origin: bottom center; }

.stage-note { display: block; text-align: center; font-family: "DM Mono", monospace; font-size: 0.76rem; color: var(--ink-faint); margin-top: 20px; }

/* --- écran WhatsApp (démo) --- */
.wa-header { display: flex; align-items: center; gap: 10px; background: #075e54; color: #fff; padding: 30px 15px 11px; }
.wa-avatar { width: 33px; height: 33px; background: #fff; border-radius: 50%; padding: 5px; }
.wa-name { font-weight: 600; font-size: 0.94rem; }
.wa-status { font-size: 0.73rem; opacity: 0.85; }
.wa-body { flex: 1; padding: 14px 11px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; overflow: hidden; background-image: radial-gradient(rgba(0,0,0,0.02) 1px, transparent 1px); background-size: 16px 16px; }
.wa-scene { display: flex; flex-direction: column; gap: 10px; }
.wa-scene[data-scene="2"] { display: none; }
.wa-msg { max-width: 86%; padding: 9px 12px; border-radius: 12px; font-size: 0.88rem; line-height: 1.4; box-shadow: 0 1px 1px rgba(0,0,0,0.07); }
.wa-out { align-self: flex-end; background: #dcf8c6; color: #1f2a23; border-bottom-right-radius: 4px; }
.wa-in { align-self: flex-start; background: #fff; color: #2b2b2b; border-bottom-left-radius: 4px; }
.wa-voice { display: flex; align-items: center; gap: 8px; }
.wa-play { color: #075e54; font-size: 0.8rem; }
.wa-wave { display: flex; align-items: center; gap: 2px; flex: 1; height: 20px; }
.wa-wave i { width: 3px; border-radius: 2px; background: #7faf8c; height: 30%; }
.wa-time { font-size: 0.7rem; color: #5b6b60; }
.wa-transcript { margin-top: 6px; padding-top: 6px; border-top: 1px solid rgba(0,0,0,0.07); font-style: italic; color: #41513f; font-size: 0.82rem; }
.wa-photo-msg { padding: 4px; max-width: 66%; }
.wa-photo-msg img { width: 100%; border-radius: 9px; height: 96px; object-fit: cover; }
.wa-typing { align-self: flex-start; background: #fff; padding: 11px 14px; border-radius: 12px; border-bottom-left-radius: 4px; display: inline-flex; gap: 4px; width: max-content; }
.wa-typing span { width: 7px; height: 7px; border-radius: 50%; background: #b7c2ba; }
.wa-card { align-self: flex-start; width: 95%; background: #fff; border-radius: 11px; padding: 12px; box-shadow: 0 8px 20px -8px rgba(0,0,0,0.28); color: #2b2b2b; }
.card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 9px; }
.card-label { font-weight: 700; font-size: 0.64rem; letter-spacing: 0.1em; color: #fff; background: var(--cc); padding: 3px 8px; border-radius: 5px; }
.card-meta { font-size: 0.7rem; color: #8a8a8a; }
.card-client { font-weight: 600; font-size: 0.85rem; margin-bottom: 8px; }
.card-line { display: flex; justify-content: space-between; font-size: 0.78rem; color: #555; padding: 4px 0; border-bottom: 1px solid #f0f0f0; }
.card-total { display: flex; justify-content: space-between; font-weight: 700; font-size: 0.86rem; margin-top: 7px; color: #1f2a23; }
.cr-row { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; padding: 3px 0; }
.cr-tick { color: #3a9d5d; font-weight: 700; }
.cr-done { color: #2b2b2b; }
.cr-next { color: #7a7a7a; }
.cr-dot { width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--c-suivi); }
.cr-bar { height: 6px; background: #eee; border-radius: 4px; margin-top: 9px; overflow: hidden; }
.cr-bar span { display: block; height: 100%; width: 60%; background: var(--c-suivi); border-radius: 4px; }
.cr-pct { font-size: 0.72rem; color: #888; margin-top: 5px; }

/* --- écran app Atalyn (dashboard) --- */
.app-screen { height: 100%; background: #fff; display: flex; flex-direction: column; color: var(--coffee); }
.app-head { padding: 26px 16px 14px; border-bottom: 1px solid var(--line); }
.app-title { display: block; font-weight: 700; font-size: 1rem; letter-spacing: -0.01em; }
.app-sub { font-size: 0.74rem; color: var(--ink-faint); }
.app-body { padding: 14px 14px 0; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.app-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.app-stat { background: var(--surface-2); border: 1px solid var(--line); border-radius: 11px; padding: 10px 11px; }
.app-stat-k { display: block; font-size: 0.66rem; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.05em; }
.app-stat-v { font-weight: 700; font-size: 1.02rem; }
.app-stat-v.up { color: var(--green); }
.app-shot { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.app-chart { display: flex; align-items: flex-end; gap: 6px; height: 76px; padding: 10px 11px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 11px; }
.app-chart i { flex: 1; background: var(--c-vocal); border-radius: 3px 3px 0 0; opacity: 0.85; }
.app-list { display: flex; flex-direction: column; }
.app-item { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 2px; border-bottom: 1px solid var(--line); }
.app-item:last-child { border-bottom: none; }
.app-item-main { display: flex; flex-direction: column; }
.app-item-t { font-weight: 600; font-size: 0.82rem; }
.app-item-s { font-size: 0.7rem; color: var(--ink-faint); }
.app-pill { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.04em; padding: 3px 8px; border-radius: var(--pill); color: #fff; white-space: nowrap; }
.app-doc { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.app-doc-t { font-weight: 600; font-size: 0.82rem; }
.app-doc-s { font-size: 0.7rem; color: var(--ink-faint); margin-top: 1px; }
.app-doc-v { font-weight: 700; font-size: 0.82rem; }

/* métiers */
.trades { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: clamp(56px, 8vw, 96px); }
.trades-intro { font-family: "DM Mono", monospace; font-size: 0.84rem; color: var(--ink-soft); font-weight: 500; }
.trades-list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 9px 10px; }
.trades-list li { font-size: 0.9rem; font-weight: 500; color: var(--ink-soft); padding: 7px 15px; border: 1px solid var(--line); border-radius: var(--pill); background: #fff; }

/* sections padding */
.pain, .how, .allinone, .efact, .who, .faq { padding: clamp(80px, 11vw, 150px) 0; }
.how { background: var(--surface-2); }

/* ===================== DOULEUR ===================== */
.pain-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.pain-media { overflow: hidden; border-radius: var(--r-lg); box-shadow: var(--sh); }
.pain-media img { width: 100%; height: 100%; max-height: 480px; object-fit: cover; }
.pain-figure { margin-top: 26px; font-size: 1.06rem; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 22px; max-width: 46ch; }
.pain-figure strong { color: var(--c-vocal); font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em; }

/* ===================== COMMENT (3 temps) ===================== */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 30px 26px; transition: transform 0.4s var(--ease-out); }
.step:hover { transform: translateY(-4px); }
.step-num { display: block; font-family: "DM Mono", monospace; font-size: 1.9rem; color: var(--c-vocal); margin-bottom: 16px; }
.step-title { font-size: 1.4rem; font-weight: 600; margin-bottom: 10px; }
.step p { color: var(--ink-soft); font-size: 1rem; max-width: 34ch; }

/* ===================== TOUT-EN-UN (grille de fonctionnalités) ===================== */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; transition: transform 0.4s var(--ease-out); }
.tile:hover { transform: translateY(-4px); }
.tile-icon { width: 48px; height: 48px; border-radius: var(--r-sm); background: var(--c); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; box-shadow: 0 8px 18px -8px var(--c); }
.tile-icon img { width: 26px; height: 26px; filter: brightness(0) invert(1); }
.tile-body { margin-top: 0; }
.tile h3 { font-size: 1.18rem; font-weight: 600; margin-bottom: 7px; display: flex; align-items: center; gap: 9px; }
.tile p { color: var(--ink-soft); font-size: 0.96rem; }
.badge { font-family: "DM Mono", monospace; font-size: 0.6rem; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; background: var(--c-stocks); padding: 3px 8px; border-radius: var(--pill); }
.tile-feature { background: linear-gradient(160deg, #fff 0%, #faf6f0 100%); border-color: var(--line-2); }
.tile-soon { opacity: 0.9; }

/* ===================== E-FACTURATION ===================== */
.efact-card { position: relative; overflow: hidden; border-radius: 20px; background: var(--coffee); color: #fff; padding: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: center; box-shadow: var(--sh-lg); }
.efact-card .section-title { color: #fff; max-width: 22ch; }
.efact-card .section-title .hl { color: #c79a5e; }
.efact-card .section-lead { color: rgba(255,255,255,0.78); max-width: 48ch; }
.efact-card .btn { margin-top: 28px; }
.efact-mark { font-family: "DM Mono", monospace; font-size: clamp(5rem, 13vw, 10rem); font-weight: 500; letter-spacing: -0.04em; color: rgba(255,255,255,0.10); text-align: right; line-height: 0.8; }

/* ===================== QUI ===================== */
.who-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.who-head .section-title, .who-head .section-lead { max-width: 100%; }
.who-head .section-lead { margin-left: auto; margin-right: auto; }
.who-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 44px); }
.who-point { padding-top: 24px; border-top: 2px solid var(--coffee); }
.who-point h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 9px; }
.who-point p { color: var(--ink-soft); font-size: 0.98rem; }

/* ===================== FAQ ===================== */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 5vw, 70px); align-items: start; }
.faq-head .section-title, .faq-head .section-lead { max-width: 100%; }
.faq-head .btn { margin-top: 26px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; padding: 22px 0; font-weight: 600; font-size: 1.08rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; transition: color 0.2s var(--ease-out); }
.faq-item summary:hover { color: var(--c-vocal); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.45rem; font-weight: 300; color: var(--c-vocal); transition: transform 0.3s var(--ease-out); line-height: 1; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--ink-soft); padding: 0 0 22px; max-width: 62ch; }

/* ===================== CTA FINAL (vrai miroir du hero : plein écran, sans cadre) ===================== */
.finale { position: relative; overflow: hidden; padding: clamp(150px, 16vw, 200px) 0 0; }
/* image de fond pleine largeur + fondus blancs progressifs haut et bas (comme le hero) */
.finale-bg { position: absolute; inset: 0; pointer-events: none; background-image: url("assets/hero-chantier.jpeg"); background-size: cover; background-position: center bottom; }
.finale-bg::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(0deg, #fff0 0%, #fff0 32%, #fff 64%); }
.finale-bg::after { content: ""; position: absolute; inset: auto 0% 0%; height: 22%; pointer-events: none; background-image: linear-gradient(#fff0, #fff); }
.finale-inner { position: relative; z-index: 1; text-align: center; display: flex; flex-direction: column; align-items: center; padding-bottom: clamp(260px, 34vw, 460px); }
.finale-title { max-width: 16ch; margin: 0; }
.finale-sub { margin-top: 22px; }
.lead-form-center { margin: 34px auto 0; }
.lead-success { max-width: 460px; margin: 8px auto 0; }
.success-check { width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 18px; background: var(--coffee); color: #fff; font-size: 1.8rem; display: flex; align-items: center; justify-content: center; }
.lead-success h3 { font-size: 1.42rem; margin-bottom: 8px; color: var(--ink); }
.lead-success p { color: var(--ink-soft); }

/* ===================== FOOTER ===================== */
.footer { padding: 50px 0; border-top: 1px solid var(--line); background: #fff; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-top { display: flex; align-items: center; gap: 10px; }
.footer-mark { width: 23px; height: 23px; }
.footer-word { font-weight: 700; letter-spacing: 0.06em; color: var(--black); }
.footer-base { color: var(--ink-faint); font-size: 0.9rem; margin-top: 6px; }
.footer-social { display: flex; gap: 22px; }
.footer-social a { color: var(--ink-soft); font-size: 0.92rem; transition: color 0.2s var(--ease-out); }
.footer-social a:hover { color: var(--c-vocal); }
.footer-legal { color: var(--ink-faint); font-size: 0.85rem; }
.footer-mark { filter: brightness(0); }

/* ===================== MOSAÏQUE DE MOCKUPS ===================== */
.mosaic { padding: clamp(80px, 11vw, 150px) 0; }
.mosaic-top { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.mosaic-bottom { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mzcard { position: relative; background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; padding: 26px; transition: transform 0.4s var(--ease-out); }
.mzcard:hover { transform: translateY(-4px); }
/* ombre douce au survol via pseudo (opacité = GPU), jamais d'animation de box-shadow ; neutralisée au tactile */
.tile::after, .mzcard::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: var(--sh); opacity: 0; transition: opacity 0.4s var(--ease-out); }
.tile:hover::after, .mzcard:hover::after { opacity: 1; }
@media (hover: none) {
  .tile:hover, .mzcard:hover { transform: none; }
  .tile:hover::after, .mzcard:hover::after { opacity: 0; }
}
.mz-mock { position: relative; height: 184px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); overflow: hidden; margin-bottom: 22px; display: flex; align-items: center; justify-content: center; }
.mosaic-top .mz-mock { height: 230px; }
.mzcard-text h3 { font-size: 1.32rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 7px; }
.mzcard-text p { color: var(--ink-soft); font-size: 0.98rem; }

/* mock : chat */
.mz-chat { flex-direction: column; gap: 12px; padding: 26px; align-items: flex-start; background: radial-gradient(rgba(51,36,20,0.025) 1px, transparent 1px); background-size: 15px 15px; background-color: #fff; }
.mz-bubble { align-self: flex-end; max-width: 80%; background: #075e54; color: #fff; padding: 12px 15px; border-radius: 14px 14px 4px 14px; font-size: 0.92rem; line-height: 1.4; }
.mz-bubble-by { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 0.72rem; opacity: 0.85; }
.mz-bubble-by img { width: 16px; height: 16px; background: #fff; border-radius: 50%; padding: 2px; }
.mz-typing { align-self: flex-start; background: #fff; border: 1px solid var(--line); padding: 11px 14px; border-radius: 14px 14px 14px 4px; display: inline-flex; gap: 5px; }
.mz-typing span { width: 7px; height: 7px; border-radius: 50%; background: #c4bcae; }

/* mock : orbite */
.mz-orbit { background: radial-gradient(60% 60% at 50% 50%, rgba(146,93,35,0.06), transparent 70%), #fff; }
.mz-orbit-ring { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); border: 1px dashed var(--line-2); border-radius: 50%; }
.mz-orbit-ring.r1 { width: 130px; height: 130px; }
.mz-orbit-ring.r2 { width: 210px; height: 210px; }
.mz-orbit-core { position: relative; width: 56px; height: 56px; border-radius: 16px; background: var(--coffee); display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 26px -10px rgba(51,36,20,0.6); }
.mz-orbit-core img { width: 28px; height: 28px; }
.mz-dot { position: absolute; width: 30px; height: 30px; border-radius: 9px; box-shadow: 0 6px 14px -6px rgba(0,0,0,0.4); }
.mz-dot { top: 50%; left: 50%; }
.mz-dot.d1 { margin: -93px 0 0 -15px; }
.mz-dot.d2 { margin: -39px 0 0 -89px; }
.mz-dot.d3 { margin: 48px 0 0 -61px; }
.mz-dot.d4 { margin: 48px 0 0 31px; }
.mz-dot.d5 { margin: -39px 0 0 59px; }

/* mock : fenêtre dashboard */
.mz-window { flex-direction: column; align-items: stretch; padding: 0; }
.mz-window-bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.mz-window-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.mz-window-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.mz-skel { height: 9px; border-radius: 5px; background: var(--line); }
.mz-skel.w60 { width: 60%; } .mz-skel.w90 { width: 90%; }
.mz-window-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 6px; }
.mz-window-grid span { height: 42px; border-radius: 9px; background: var(--surface-2); border: 1px solid var(--line); }

/* mock : insight */
.mz-insight { flex-direction: column; align-items: stretch; padding: 22px; gap: 8px; }
.mz-insight-k { font-size: 0.78rem; color: var(--ink-faint); }
.mz-insight-v { font-size: 1.7rem; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 9px; }
.mz-tag { font-size: 0.62rem; font-weight: 700; color: #fff; background: var(--green); padding: 3px 8px; border-radius: var(--pill); }
.mz-bars { margin-top: auto; display: flex; align-items: flex-end; gap: 6px; height: 60px; }
.mz-bars i { flex: 1; background: var(--green); border-radius: 3px 3px 0 0; opacity: 0.85; }

/* mock : courbe */
.mz-line { flex-direction: column; align-items: stretch; padding: 22px; }
.mz-line-top { font-size: 1.5rem; font-weight: 700; }
.mz-line-top span { font-size: 0.72rem; font-weight: 500; color: var(--ink-faint); }
.mz-line-svg { width: 100%; height: 70px; margin-top: auto; }
.mz-line-tip { align-self: flex-end; font-size: 0.7rem; font-weight: 700; color: var(--coffee); background: var(--surface-2); border: 1px solid var(--line); padding: 3px 8px; border-radius: var(--pill); margin-top: -6px; }

/* ===================== INTÉGRATIONS (arc) ===================== */
.integ { padding: clamp(80px, 11vw, 150px) 0; overflow: hidden; }
.integ-inner { position: relative; }
.integ-arc { position: absolute; left: 50%; bottom: -40px; transform: translateX(-50%); width: min(760px, 90%); height: 760px; border-radius: 50%; border: 1px solid var(--line); background: radial-gradient(50% 50% at 50% 50%, rgba(146,93,35,0.05), transparent 60%); z-index: 0; }
.integ .section-head { position: relative; z-index: 1; margin-bottom: 56px; }
.integ .section-head .btn { margin-top: 28px; }
.integ-row { position: relative; z-index: 1; display: flex; justify-content: center; align-items: center; gap: clamp(18px, 4vw, 52px); }
.integ-badge { width: 70px; height: 70px; border-radius: 50%; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); display: flex; align-items: center; justify-content: center; }
.integ-badge img { width: 30px; height: 30px; filter: brightness(0); }
.integ-badge.big { width: 92px; height: 92px; box-shadow: var(--sh-lg); }
.integ-badge.big img { width: 42px; height: 42px; filter: none; }
.integ-badge.integ-text { width: auto; min-width: 70px; height: 70px; padding: 0 18px; font-weight: 700; font-size: 1rem; color: var(--coffee); }
.integ-note { position: relative; z-index: 1; text-align: center; margin-top: 28px; font-family: "DM Mono", monospace; font-size: 0.8rem; color: var(--ink-faint); }

/* ===================== VISION (cartes empilées) ===================== */
.beliefs { padding: clamp(80px, 11vw, 150px) 0 clamp(120px, 14vw, 220px); }
.stack { max-width: 720px; margin: 0 auto; }
.stack-card { position: sticky; top: calc(120px + var(--i) * 22px); background: #fff; border-radius: 18px; padding: clamp(32px, 5vw, 52px); box-shadow: var(--sh); margin-bottom: 26px; }
.stack-card:nth-child(2) { background: var(--coffee); }
.stack-card:nth-child(2) h3 { color: #fff; }
.stack-card:nth-child(2) p { color: rgba(255,255,255,0.8); }
.stack-card:nth-child(2) .stack-num { color: #c79a5e; }
.stack-num { display: block; font-family: "DM Mono", monospace; font-size: 1.4rem; color: var(--c-vocal); margin-bottom: 16px; }
.stack-card h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 12px; }
.stack-card p { color: var(--ink-soft); font-size: 1.06rem; max-width: 48ch; }

/* ===================== PLACEHOLDER FLAG ===================== */
.placeholder-flag { display: block; width: max-content; max-width: 100%; margin: -40px auto 40px; font-family: "DM Mono", monospace; font-size: 0.72rem; color: var(--ink-faint); border: 1px dashed var(--line-2); border-radius: var(--pill); padding: 6px 14px; }

/* ===================== TÉMOIGNAGES ===================== */
.reviews { padding: clamp(80px, 11vw, 150px) 0; background: var(--surface-2); }
.rv-list { max-width: 920px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.rv-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.rv-open { display: flex; gap: 26px; padding: 26px; align-items: center; }
.rv-photo { flex-shrink: 0; width: 132px; height: 132px; border-radius: var(--r); background: linear-gradient(160deg, var(--surface-2), #ece4d6); border: 1px dashed var(--line-2); }
.rv-body { flex: 1; }
.rv-quote { font-size: 1.16rem; font-weight: 600; line-height: 1.4; color: var(--ink); }
.rv-meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 18px; }
.rv-name { display: block; font-weight: 700; }
.rv-role { display: block; font-size: 0.85rem; color: var(--ink-faint); }
.rv-logo { font-family: "DM Mono", monospace; font-size: 0.78rem; color: var(--ink-faint); }
details.rv-item summary { list-style: none; cursor: pointer; padding: 22px 26px; display: flex; align-items: center; gap: 4px 16px; flex-wrap: wrap; }
details.rv-item summary::-webkit-details-marker { display: none; }
details.rv-item summary::after { content: "+"; margin-left: auto; font-size: 1.4rem; font-weight: 300; color: var(--c-vocal); }
details.rv-item[open] summary::after { content: "\2013"; }
details.rv-item .rv-quote { padding: 0 26px 24px; font-size: 1.02rem; font-weight: 500; }

/* ===================== TARIFS ===================== */
.pricing { padding: clamp(80px, 11vw, 150px) 0; }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 920px; margin: 0 auto; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: clamp(30px, 4vw, 44px); display: flex; flex-direction: column; }
.price-card-feature { background: var(--coffee); color: #fff; border-color: transparent; box-shadow: var(--sh-lg); }
.price-tag { font-family: "DM Mono", monospace; font-size: 0.74rem; color: var(--ink-faint); letter-spacing: 0.03em; }
.price-card-feature .price-tag { color: rgba(255,255,255,0.6); }
.price-plan { font-size: 1.7rem; font-weight: 700; margin: 6px 0 14px; }
.price-amount { font-size: 2.6rem; font-weight: 700; letter-spacing: -0.03em; }
.price-amount span { font-size: 0.96rem; font-weight: 500; color: var(--ink-faint); margin-left: 4px; }
.price-card-feature .price-amount span { color: rgba(255,255,255,0.6); }
.price-desc { color: var(--ink-soft); margin: 14px 0; }
.price-card-feature .price-desc { color: rgba(255,255,255,0.78); }
.price-feats { list-style: none; display: flex; flex-direction: column; gap: 11px; margin: 8px 0 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.price-card-feature .price-feats { border-top-color: rgba(255,255,255,0.18); }
.price-feats li { position: relative; padding-left: 26px; font-size: 0.96rem; }
.price-feats li::before { content: "✓"; position: absolute; left: 0; color: var(--c-vocal); font-weight: 700; }
.price-card-feature .price-feats li::before { color: #d9b27e; }
.price-card .btn { margin-top: auto; }
.price-note { text-align: center; font-size: 0.85rem; color: var(--ink-faint); margin: 22px auto 0; max-width: 62ch; }

/* ===================== FOOTER (multi-colonnes) ===================== */
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer-brand { max-width: 320px; }
.footer-mail { display: inline-block; margin-top: 16px; font-weight: 600; color: var(--coffee); border-bottom: 1px solid var(--line-2); }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-h { font-family: "DM Mono", monospace; font-size: 0.74rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 4px; }
.footer-col a { color: var(--ink-soft); font-size: 0.95rem; transition: color 0.2s var(--ease-out); }
.footer-col a:hover { color: var(--c-vocal); }
.footer-base-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid var(--line); }

/* ===================== REVEAL ===================== */
.js .reveal { opacity: 0; transform: translateY(26px); }
.js .showcase .phone { opacity: 0; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 980px) {
  .hero { padding: 132px 0 56px; }
  .pain-grid, .who-points, .faq-grid, .efact-card { grid-template-columns: 1fr; }
  .pain-media { order: -1; }
  .steps { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile-feature { grid-column: span 2; }
  .efact-mark { display: none; }
  .nav-links { display: none; }
  .showcase { min-height: 0; }
  .phone-side { display: none; }
  .who-point { border-top: 2px solid var(--coffee); padding-top: 22px; }
  .mosaic-top, .mosaic-bottom, .price-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .rv-open { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .lead-row { flex-direction: column; }
  .lead-btn { width: 100%; }
  .bento { grid-template-columns: 1fr; }
  .tile-feature { grid-column: span 1; }
  .nav-word { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-base-row { flex-direction: column; gap: 8px; }
  .integ-row { gap: 12px; flex-wrap: wrap; }
}

/* ===================== REDUCED MOTION ===================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .showcase .phone { opacity: 1 !important; transform: none !important; }
  .phone-side.left { transform: rotate(-7deg) scale(0.92) !important; }
  .phone-side.right { transform: rotate(7deg) scale(0.92) !important; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ===================== Liens légaux (formulaires + footer) ===================== */
.lead-reassure a { color: var(--ink-faint); text-decoration: underline; text-underline-offset: 2px; transition: color 0.2s var(--ease-out); }
.lead-reassure a:hover { color: var(--ink); }
.footer-legal a { color: var(--ink-faint); text-decoration: underline; text-underline-offset: 2px; transition: color 0.2s var(--ease-out); }
.footer-legal a:hover { color: var(--ink); }

/* ===================== Pages légales ===================== */
.legal { padding: 150px 0 90px; }
.legal-inner { max-width: 720px; }
.legal h1 { font-size: clamp(2.1rem, 4.6vw, 3rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.06; color: var(--ink); text-wrap: balance; }
.legal-updated { font-family: "DM Mono", monospace; font-size: 0.78rem; color: var(--ink-faint); margin-top: 14px; }
.legal h2 { font-size: 1.28rem; font-weight: 700; letter-spacing: -0.015em; color: var(--ink); margin: 44px 0 12px; }
.legal p { color: var(--ink-soft); margin-top: 10px; max-width: 62ch; text-wrap: pretty; }
.legal ul { margin: 12px 0 0 2px; padding-left: 20px; display: grid; gap: 7px; }
.legal li { color: var(--ink-soft); max-width: 60ch; }
.legal a { color: var(--coffee); font-weight: 600; border-bottom: 1px solid var(--line-2); }
.legal-note { font-size: 0.88rem; color: var(--ink-faint); border: 1px dashed var(--line-2); border-radius: var(--r-sm); padding: 12px 16px; margin-top: 18px; max-width: 62ch; }

/* ===================== Page article (guide e-facturation) ===================== */
.article .legal-inner { max-width: 760px; }
.art-intro { font-size: clamp(1.05rem, 1.4vw, 1.18rem); color: var(--ink-soft); line-height: 1.55; margin-top: 22px; max-width: 60ch; text-wrap: pretty; }
.art-box { border: 1px solid var(--line); border-left: 3px solid var(--c-vocal); border-radius: var(--r); padding: 22px 26px 26px; margin-top: 28px; background: var(--surface-2); }
.art-box h2 { margin: 0 0 4px; font-size: 1.1rem; }
.art-table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 0.95rem; }
.art-table th, .art-table td { text-align: left; padding: 12px 14px; border: 1px solid var(--line); color: var(--ink-soft); vertical-align: top; }
.art-table th { color: var(--ink); font-weight: 600; background: var(--surface-2); white-space: nowrap; }
.art-sources { font-size: 0.85rem; color: var(--ink-faint); margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line); }
.art-sources a { color: var(--ink-faint); font-weight: 500; border-bottom: 1px solid var(--line-2); }
.art-cta { margin-top: 54px; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px 32px; background: var(--surface-2); }
.art-cta h2 { margin: 0; font-size: 1.5rem; letter-spacing: -0.02em; }
.art-cta p { margin-top: 10px; }
.art-cta .btn { margin-top: 20px; }
.article .faq-list { margin-top: 8px; }
.integ-note-link a { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; color: var(--ink-soft); transition: color 0.2s var(--ease-out); }
.integ-note-link a:hover { color: var(--c-vocal); }

/* ===================== LA JOURNÉE (remplace la grille bento, 30/07/2026) ===================== */
.journey { list-style: none; max-width: 720px; margin: 0 auto; padding: 0; counter-reset: none; }
.jstep { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding-bottom: 34px; position: relative; }
.jstep::before { content: ""; position: absolute; left: 23px; top: 56px; bottom: 2px; width: 2px; background: var(--line); border-radius: 2px; }
.jstep:last-child { padding-bottom: 0; }
.jstep:last-child::before { display: none; }
.jmark { width: 48px; height: 48px; border-radius: var(--r-sm); background: var(--c); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 18px -8px var(--c); }
.jmark img { width: 24px; height: 24px; filter: brightness(0) invert(1); }
.jmark-empty { background: transparent; border: 2px dashed var(--line-2); box-shadow: none; }
.jtime { display: block; font-family: "DM Mono", ui-monospace, monospace; font-size: 0.76rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--c); font-weight: 500; margin-bottom: 9px; }
.jstep:last-child .jtime { color: var(--ink-faint); }
.jsaid { font-size: 1.08rem; font-weight: 500; color: var(--ink); line-height: 1.4; text-wrap: pretty; }
.jdid { color: var(--ink-soft); font-size: 0.97rem; margin-top: 7px; text-wrap: pretty; }
.jsoon { max-width: 720px; margin: 30px auto 0; padding-top: 22px; border-top: 1px solid var(--line); color: var(--ink-faint); font-size: 0.92rem; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
@media (max-width: 560px) {
  .jstep { grid-template-columns: 40px 1fr; gap: 15px; padding-bottom: 30px; }
  .jstep::before { left: 19px; top: 48px; }
  .jmark { width: 40px; height: 40px; }
  .jmark img { width: 21px; height: 21px; }
  .jsaid { font-size: 1.02rem; }
}
.jtime .badge { margin-left: 8px; vertical-align: 1px; }
