/* ==========================================================================
   FieldOps — Site marketing
   Système de design (registre marketing) dérivé de design.md / DESIGN.md
   Palette Vert canopée #0F6B4E · Ambre #E08A2E · Manrope · rayons 12px
   ========================================================================== */

:root {
  --bg: #ffffff;
  --surface: #f2f6f4;
  --surface-2: #e9f0ec;
  --ink: #17211d;
  --muted: #5c6b64;
  --primary: #0f6b4e;
  --primary-deep: #0a4a37;
  --primary-soft: rgba(15, 107, 78, 0.08);
  --accent: #e08a2e;
  --border: #dce4e0;
  --white: #ffffff;

  --shadow-sm: 0 1px 2px rgba(15, 107, 78, 0.05);
  --shadow-md: 0 12px 32px rgba(15, 107, 78, 0.1);
  --shadow-lg: 0 28px 60px rgba(15, 107, 78, 0.14);

  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --container: 1320px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section-y: clamp(4.5rem, 9vw, 8rem);

  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -0.02em; font-weight: 800; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 4px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--surface { background: var(--surface); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.maxw-narrow { max-width: 720px; }
.maxw-mid { max-width: 920px; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
}
.h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1.04; }
.h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
.h3 { font-size: 1.375rem; }
.lead { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--muted); line-height: 1.6; max-width: 60ch; }
.muted { color: var(--muted); }
.text-balance { text-wrap: balance; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--primary-deep); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-secondary:hover { background: var(--primary-soft); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.12); }
.btn-white { background: #fff; color: var(--primary-deep); }
.btn-white:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18); }
.btn-lg { padding: 1.1rem 1.9rem; font-size: 1.0625rem; }

/* flèche dans une pastille */
.btn .chip {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.6rem; height: 1.6rem; border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  transition: transform 0.25s var(--ease);
}
.btn-white .chip, .btn-secondary .chip { background: var(--primary-soft); color: var(--primary); }
.btn:hover .chip { transform: translateX(2px); }
.btn .chip svg { width: 0.9rem; height: 0.9rem; }

.link-arrow { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; color: var(--primary); }
.link-arrow svg { width: 1rem; height: 1rem; transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header / Nav ---------- */
.site-header { position: sticky; top: 0; z-index: 100; padding-top: 0.85rem; }
.nav {
  display: flex; align-items: center; gap: 1.5rem;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.55rem 0.7rem 0.55rem 1.1rem;
  box-shadow: var(--shadow-sm);
}
.brand { display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 800; font-size: 1.2rem; color: var(--ink); letter-spacing: -0.02em; }
.brand svg, .brand img { width: 1.9rem; height: 1.9rem; }
.nav-links { display: flex; align-items: center; gap: 0.25rem; margin-left: auto; }
.nav-links a {
  color: var(--ink); font-weight: 600; font-size: 0.95rem;
  padding: 0.5rem 0.85rem; border-radius: 999px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.nav-links a:hover { background: var(--surface); }
.nav-links a.active { color: var(--primary); }
.nav-cta { display: flex; align-items: center; gap: 0.5rem; }
.nav-login { color: var(--ink); font-weight: 600; font-size: 0.95rem; padding: 0.5rem 0.6rem; }
.nav-login:hover { color: var(--primary); }
.nav-toggle { display: none; background: transparent; border: 0; padding: 0.5rem; color: var(--ink); }
.nav-toggle svg { width: 1.6rem; height: 1.6rem; }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: flex; flex-direction: column; padding: 1.5rem var(--gutter);
  transform: translateY(-100%); opacity: 0; visibility: hidden;
  transition: transform 0.45s var(--ease), opacity 0.3s var(--ease), visibility 0.45s;
}
.mobile-menu.open { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-menu .menu-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-menu nav a { font-size: 1.6rem; font-weight: 800; color: var(--ink); padding: 0.75rem 0; border-bottom: 1px solid var(--border); }
.mobile-menu .menu-actions { margin-top: auto; display: flex; flex-direction: column; gap: 0.75rem; padding-top: 1.5rem; }
.mobile-menu .menu-actions .btn { justify-content: center; }

/* ---------- Trial / announcement bar ---------- */
.topbar {
  background: var(--surface); color: var(--ink);
  font-size: 0.875rem; font-weight: 600; text-align: center;
  padding: 0.5rem var(--gutter);
  border-bottom: 1px solid var(--border);
}
.topbar a { font-weight: 700; }
.topbar .dot { color: var(--muted); margin-inline: 0.4rem; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(3rem, 6vw, 5.5rem) var(--section-y); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1.25fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-copy { max-width: 36rem; }
.hero h1 { margin-bottom: 1.25rem; }
.hero .lead { margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }
.hero-proof { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; color: var(--muted); font-size: 0.9rem; font-weight: 600; }
.hero-proof span { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero-proof svg { width: 1.05rem; height: 1.05rem; color: var(--primary); }

/* ---------- Device frames ---------- */
.device { position: relative; }
.laptop { width: 100%; }
/* Ratio 3:2 = ratio natif des captures (1536x1024) : aucun rognage. */
.laptop .screen {
  position: relative;
  border: 10px solid #1c2622; border-radius: 16px; background: #1c2622;
  box-shadow: var(--shadow-lg);
  overflow: hidden; aspect-ratio: 3 / 2;
}
.laptop .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.laptop .base { height: 14px; margin: 0 auto; width: 112%; max-width: none; transform: translateX(-5.3%);
  background: linear-gradient(#d7ddda, #b9c4bf); border-radius: 0 0 14px 14px; }
.laptop .base::after { content: ""; display: block; width: 16%; height: 5px; margin: 0 auto; background: #aab4af; border-radius: 0 0 8px 8px; }

/* Les visuels mobiles sont des maquettes d'appareil (châssis complet inclus
   dans l'image, fond transparent) : aucun rognage, ombre portée qui épouse
   le contour du téléphone. */
.phone {
  width: 100%; max-width: 250px;
  position: relative; line-height: 0;
}
.phone img {
  width: 100%; height: auto; display: block;
  filter: drop-shadow(0 14px 28px rgba(23, 33, 29, 0.22));
}

.tablet {
  width: 100%;
  border: 11px solid #1c2622; border-radius: 22px; background: #1c2622;
  box-shadow: var(--shadow-lg); overflow: hidden; aspect-ratio: 3 / 2;
}
.tablet img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

/* hero device cluster */
.device-cluster { position: relative; }
.device-cluster .laptop { width: 92%; }
.device-cluster .phone { position: absolute; right: -2%; bottom: -8%; width: 27%; max-width: 170px; z-index: 3; }
.device-cluster .tablet { position: absolute; right: 0; top: -10%; width: 44%; z-index: 0; opacity: 0.96; }

/* ---------- Feature split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--wide-media { grid-template-columns: 2fr 3fr; }
.split.reverse .split-media { order: -1; }
.split-copy h2 { margin-bottom: 1rem; }
.split-copy .lead { margin-bottom: 1.5rem; }

.check-list { display: grid; gap: 0.85rem; margin-top: 1.5rem; }
.check-list li { display: flex; gap: 0.75rem; align-items: flex-start; padding-bottom: 0.85rem; border-bottom: 1px solid var(--border); }
.check-list li:last-child { border-bottom: 0; }
.check-list .ico { flex: none; width: 1.5rem; height: 1.5rem; border-radius: 999px; background: var(--primary); color: #fff; display: grid; place-items: center; margin-top: 1px; }
.check-list .ico svg { width: 0.85rem; height: 0.85rem; }
.check-list b { display: block; font-weight: 700; }
.check-list span { color: var(--muted); font-size: 0.95rem; }
/* Variante compacte (cartes tarifs) : coche dessinée, texte discret. */
.check-list--compact { gap: 0.55rem; margin-top: 1.1rem; }
.check-list--compact li { position: relative; padding: 0 0 0.55rem 1.5rem; font-size: 0.93rem; color: var(--muted); line-height: 1.45; }
.check-list--compact li::before { content: ""; position: absolute; left: 0; top: 0.32em; width: 0.85rem; height: 0.45rem; border-left: 2.5px solid var(--primary); border-bottom: 2.5px solid var(--primary); transform: rotate(-45deg); }

/* phone row (fan) */
.phone-row { display: flex; justify-content: center; align-items: flex-end; gap: clamp(0.5rem, 2vw, 1.5rem); }
.phone-row .phone { flex: 1 1 0; }
.phone-row .phone:nth-child(2) { transform: translateY(-1.5rem) scale(1.04); z-index: 2; }

/* ---------- Section heading block ---------- */
.section-head { max-width: 640px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { margin-inline: auto; }
.section-head h2 { margin-bottom: 1rem; }

/* ---------- Bento / cards ---------- */
.cards { display: grid; gap: 1.25rem; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.75rem; box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card.hoverable:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card .card-ico { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border-radius: 14px; background: var(--surface); color: var(--primary); margin-bottom: 1.1rem; }
.card .card-ico svg { width: 1.5rem; height: 1.5rem; }
.card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.card p { color: var(--muted); font-size: 0.97rem; }
/* Variante compacte horizontale : icône à gauche, texte à droite. */
.card--row { display: flex; align-items: flex-start; gap: 0.95rem; padding: 1.1rem 1.3rem; }
.card--row .card-ico { width: 2.4rem; height: 2.4rem; border-radius: 11px; margin-bottom: 0; flex: none; }
.card--row .card-ico svg { width: 1.3rem; height: 1.3rem; }
.card--row h3 { font-size: 1.02rem; margin-bottom: 0.3rem; }
.card--row p { font-size: 0.87rem; line-height: 1.45; }
.card--span { grid-column: 1 / -1; }
.role-tag { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--primary); background: var(--surface); padding: 0.3rem 0.7rem; border-radius: 999px; margin-bottom: 0.85rem; }

/* ---------- Roles bento (solution hero) ---------- */
.roles { display: grid; grid-template-columns: 0.9fr 1.3fr 1.1fr; gap: 1.25rem; align-items: stretch; }
.role-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.25rem; display: flex; flex-direction: column; gap: 1rem; }
.role-panel .frame { margin-top: auto; }

/* ---------- Terrain band ---------- */
.terrain {
  position: relative; min-height: 60vh; display: flex; align-items: flex-end;
  background: linear-gradient(90deg, rgba(10,74,55,0.85) 0%, rgba(10,74,55,0.45) 45%, rgba(10,74,55,0.15) 100%), url("../img/terrain.png");
  background-size: cover; background-position: center;
}
.terrain .container { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.terrain .eyebrow { color: #b9e0d0; }
.terrain h2 { color: #fff; max-width: 18ch; margin-bottom: 1rem; }
.terrain p { color: rgba(255, 255, 255, 0.88); max-width: 46ch; }
.terrain .proof-row { margin-top: 1.5rem; color: rgba(255, 255, 255, 0.85); font-weight: 600; font-size: 0.95rem; display: flex; flex-wrap: wrap; gap: 0.4rem 0.5rem; align-items: center; }
.terrain .proof-row .dot { opacity: 0.6; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: stretch; }
.plan {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 2rem 1.75rem; display: flex; flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan.featured { border: 2px solid var(--primary); box-shadow: var(--shadow-md); position: relative; }
.plan .badge { position: absolute; top: -0.85rem; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; padding: 0.35rem 0.9rem; border-radius: 999px; }
.plan h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.plan .price { display: flex; align-items: baseline; gap: 0.3rem; margin-bottom: 0.5rem; }
.plan .price .amount { font-size: 2.75rem; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.plan .price .per { color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.plan .desc { color: var(--muted); font-size: 0.95rem; min-height: 3.2em; margin-bottom: 1.25rem; }
.plan .feats { display: grid; gap: 0.7rem; margin-bottom: 1.75rem; }
.plan .feats li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.95rem; }
.plan .feats .ico { flex: none; width: 1.25rem; height: 1.25rem; border-radius: 999px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; margin-top: 2px; }
.plan .feats .ico svg { width: 0.75rem; height: 0.75rem; }
.plan .feats li.heading { color: var(--muted); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; }
.plan .feats li.heading .ico { display: none; }
.plan .btn { margin-top: auto; justify-content: center; }
.pricing-note { text-align: center; color: var(--muted); font-size: 0.95rem; margin-top: 1.75rem; }

/* ---------- Bande Marque blanche ---------- */
.wl-band { margin-top: 1.5rem; display: grid; grid-template-columns: 1.4fr auto; gap: 2rem; align-items: center; border-color: var(--primary); }
.wl-band .wl-info h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.wl-band .wl-cta { text-align: right; }
.wl-band .wl-cta .price { display: flex; align-items: baseline; gap: 0.3rem; justify-content: flex-end; margin-bottom: 0.5rem; }
.wl-band .wl-cta .price .amount { font-size: 2.75rem; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.wl-band .wl-cta .price .per { color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.wl-band .wl-cta .btn { margin-top: 0.75rem; }
@media (max-width: 760px) {
  .wl-band { grid-template-columns: 1fr; gap: 1.25rem; }
  .wl-band .wl-cta { text-align: left; }
  .wl-band .wl-cta .price { justify-content: flex-start; }
  .wl-band .wl-cta .btn { display: flex; width: 100%; justify-content: center; }
}

/* ---------- Comparison table ---------- */
.compare-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; }
table.compare { width: 100%; border-collapse: collapse; min-width: 680px; }
table.compare th, table.compare td { padding: 1rem 1.1rem; text-align: center; border-bottom: 1px solid var(--border); }
table.compare thead th { font-weight: 700; font-size: 0.95rem; color: var(--muted); }
table.compare tbody th { text-align: left; font-weight: 600; color: var(--ink); }
table.compare .col-fo { background: var(--surface); border-left: 1px solid var(--border); border-right: 1px solid var(--border); }
table.compare thead .col-fo { border-top: 2px solid var(--primary); border-radius: 12px 12px 0 0; color: var(--primary); font-weight: 800; }
table.compare tbody tr:last-child td, table.compare tbody tr:last-child th { border-bottom: 0; }
table.compare .yes { color: var(--primary); display: inline-grid; place-items: center; }
table.compare .yes svg { width: 1.15rem; height: 1.15rem; }
table.compare .no { color: var(--muted); opacity: 0.5; }
table.compare .txt { color: var(--muted); font-size: 0.9rem; }
.compare-fo-head { display: inline-flex; align-items: center; gap: 0.4rem; justify-content: center; }
.compare-fo-head svg { width: 1.2rem; height: 1.2rem; }

/* ---------- FAQ accordion ---------- */
.faq { display: grid; gap: 0; max-width: 820px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: transparent; border: 0; padding: 1.4rem 0.25rem; text-align: left;
  font-size: 1.125rem; font-weight: 700; color: var(--ink);
}
.faq-q .pm { flex: none; width: 1.5rem; height: 1.5rem; color: var(--primary); transition: transform 0.3s var(--ease); }
.faq-item[open] .faq-q .pm, .faq-item.open .faq-q .pm { transform: rotate(180deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.32s var(--ease); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { color: var(--muted); padding: 0 0.25rem 1.4rem; max-width: 65ch; }

/* ---------- CTA dark ---------- */
.cta-dark { background: linear-gradient(160deg, var(--primary) 0%, var(--primary-deep) 100%); color: #fff; border-radius: var(--radius-xl); padding: clamp(2.5rem, 6vw, 4.5rem); position: relative; overflow: hidden; }
.cta-dark::after { content: ""; position: absolute; right: -6%; top: 50%; transform: translateY(-50%); width: 320px; height: 320px; border-radius: 999px; border: 60px solid rgba(255, 255, 255, 0.05); }
.cta-dark .brand-mark { width: 2.5rem; height: 2.5rem; margin-bottom: 1.25rem; }
.cta-dark h2 { color: #fff; max-width: 16ch; margin-bottom: 1rem; font-size: clamp(2rem, 4.5vw, 3.25rem); }
.cta-dark p { color: rgba(255, 255, 255, 0.82); max-width: 52ch; margin-bottom: 2rem; }
.cta-dark .hero-actions { position: relative; z-index: 1; }
.cta-mini { text-align: center; }
.cta-mini h2 { margin-bottom: 0.75rem; }
.cta-mini .lead { margin-inline: auto; margin-bottom: 2rem; }
.cta-mini .hero-actions { justify-content: center; }

/* ---------- Support search ---------- */
.search-box { display: flex; align-items: center; gap: 0.75rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 0.95rem 1.1rem; max-width: 480px; transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.search-box:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.search-box svg { width: 1.25rem; height: 1.25rem; color: var(--muted); flex: none; }
.search-box input { border: 0; outline: 0; font-family: inherit; font-size: 1rem; width: 100%; color: var(--ink); background: transparent; }

/* ---------- Figure (generated comps as design reference, optional) ---------- */
.figure { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #cdd6d1; padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 2.5rem; }
.site-footer .brand { color: #fff; margin-bottom: 1rem; }
.footer-tagline { color: #9fb0a8; max-width: 30ch; }
.footer-col h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: #9fb0a8; margin-bottom: 1rem; font-weight: 700; }
.footer-col a { display: block; color: #cdd6d1; padding: 0.3rem 0; font-size: 0.95rem; font-weight: 500; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: center; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.875rem; color: #9fb0a8; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-bottom a { color: #9fb0a8; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 300;
  max-width: 560px; margin-inline: auto;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 1.4rem 1.5rem;
  transform: translateY(150%); transition: transform 0.5s var(--ease);
}
.cookie.show { transform: translateY(0); }
.cookie h4 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.cookie p { color: var(--muted); font-size: 0.9rem; margin-bottom: 1rem; }
.cookie p a { font-weight: 700; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.cookie-actions .btn { padding: 0.7rem 1.2rem; font-size: 0.9rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .mobile-menu, .cookie, .btn, .card, .plan { transition: none !important; }
}

/* ---------- Legal pages ---------- */
.legal { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.5rem; }
.legal .updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 2.5rem; }
.legal h2 { font-size: 1.5rem; margin: 2.5rem 0 0.85rem; }
.legal h3 { font-size: 1.15rem; margin: 1.75rem 0 0.5rem; }
.legal p, .legal li { color: var(--ink); margin-bottom: 0.85rem; line-height: 1.7; }
.legal ul { list-style: disc; padding-left: 1.25rem; margin-bottom: 1rem; }
.legal a { font-weight: 600; text-decoration: underline; }
.legal table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; }
.legal table th, .legal table td { border: 1px solid var(--border); padding: 0.7rem 0.9rem; text-align: left; font-size: 0.95rem; }
.legal table th { background: var(--surface); font-weight: 700; }

/* ---------- Guide « Bien démarrer » ---------- */
.guide-layout { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.guide-back {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.9rem; font-weight: 700; color: var(--primary);
  background: var(--white); border: 1px solid var(--border); border-radius: 999px;
  padding: 0.5rem 1.1rem 0.5rem 0.85rem; margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.guide-back svg { width: 1rem; height: 1rem; transition: transform 0.25s var(--ease); }
.guide-back:hover { background: var(--primary-soft); box-shadow: var(--shadow-md); }
.guide-back:hover svg { transform: translateX(-4px); }
.guide-toc { position: sticky; top: 112px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.25rem 1rem; box-shadow: var(--shadow-sm); }
.guide-toc h2 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin: 0 0 0.75rem 0.5rem; }
.guide-toc a { display: flex; align-items: baseline; gap: 0.6rem; padding: 0.45rem 0.5rem; border-radius: 10px; color: var(--ink); font-size: 0.92rem; font-weight: 600; line-height: 1.35; }
.guide-toc a:hover { background: var(--primary-soft); }
.guide-toc a.current { background: var(--primary-soft); color: var(--primary); }
.guide-toc .n { flex: none; font-size: 0.78rem; font-weight: 800; color: var(--primary); width: 1.35rem; }
.guide-steps { display: grid; gap: clamp(3rem, 6vw, 4.5rem); }
.guide-step { scroll-margin-top: 130px; }
.guide-step .step-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.85rem; }
.guide-step .step-num { flex: none; width: 2.6rem; height: 2.6rem; border-radius: 999px; background: var(--primary); color: #fff; font-weight: 800; font-size: 1.15rem; display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.guide-step h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.guide-step .role-tag { margin: 0 0 0.85rem; }
.guide-step > p { color: var(--muted); max-width: 62ch; margin-bottom: 1.25rem; }
.guide-actions { counter-reset: act; display: grid; gap: 0.65rem; margin: 0 0 1.5rem; padding: 0; list-style: none; max-width: 640px; }
.guide-actions li { counter-increment: act; position: relative; padding: 0.8rem 1rem 0.8rem 3rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.97rem; line-height: 1.5; }
.guide-actions li::before { content: counter(act); position: absolute; left: 0.9rem; top: 0.85rem; width: 1.5rem; height: 1.5rem; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-size: 0.8rem; font-weight: 800; display: grid; place-items: center; }
.guide-actions b { font-weight: 700; }
.guide-shot { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-md); background: var(--white); line-height: 0; }
.guide-shot img { width: 100%; height: auto; }
.shot-cap { display: block; font-size: 0.86rem; color: var(--muted); margin: 0.55rem 0 0; max-width: 640px; }
.shot-cap b { color: var(--ink); font-weight: 700; }
.guide-shot--phone { max-width: 320px; border-radius: 30px; border: 9px solid #1c2622; background: #1c2622; }
.guide-shot--phone img { border-radius: 20px; }
.guide-shot-row { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: flex-start; }
.guide-tip { display: flex; gap: 0.8rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 0.95rem 1.1rem; margin-top: 1.25rem; max-width: 640px; font-size: 0.93rem; color: var(--muted); }
.guide-tip svg { flex: none; width: 1.15rem; height: 1.15rem; color: var(--accent); margin-top: 2px; }
.guide-tip b { color: var(--ink); }

/* Guide complet : sommaire long groupé par partie + intertitres de partie. */
.guide-toc--full { max-height: calc(100vh - 140px); overflow: auto; }
.guide-toc .toc-group { display: block; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.09em; color: var(--muted); margin: 0.9rem 0.5rem 0.35rem; }
.guide-toc .toc-group:first-of-type { margin-top: 0.2rem; }
.guide-part { scroll-margin-top: 130px; padding-top: 0.5rem; border-top: 2px solid var(--border); }
.guide-part .part-eyebrow { display: inline-block; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary); margin-bottom: 0.4rem; }
.guide-part h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); margin-bottom: 0.5rem; }
.guide-part > p { color: var(--muted); max-width: 68ch; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .guide-layout { grid-template-columns: 1fr; }
  .guide-toc { position: static; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: none; }
  .device-cluster { max-width: 560px; margin-inline: auto; margin-top: 1rem; }
  .split, .split--wide-media { grid-template-columns: 1fr; gap: 2rem; }
  .split.reverse .split-media { order: 0; }
  .roles { grid-template-columns: 1fr; }
  .cards-3 { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .plan.featured { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 760px) {
  .nav-links, .nav-cta .nav-login, .nav-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .nav { padding: 0.5rem 0.6rem 0.5rem 1rem; }
  .cards-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .phone-row .phone:nth-child(2) { transform: none; }
}
