/* LUMEA OS — système visuel du site public (refonte 13/11/2026).
   Charcoal #191919 · Ivory #F7F5F0 · Champagne #C5A46D (accent uniquement) · Playfair Display + Inter. */
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 400 900; font-display: swap; src: url('/fonts/PlayfairDisplay-latin-var.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 400 900; font-display: swap; src: url('/fonts/PlayfairDisplay-latinext-var.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/fonts/Inter-normal-400.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --charcoal: #191919;
  --charcoal-2: #232220;
  --ivory: #F7F5F0;
  --ivory-2: #EFEBE2;
  --white: #FFFFFF;
  --champagne: #C5A46D;
  --champagne-ink: #7A5A26;     /* champagne lisible sur fond clair (contraste AA) */
  --ink: #191919;
  --ink-2: #4A4741;             /* texte secondaire, 8:1 sur ivory */
  --ink-3: #6B675F;             /* légendes, 5:1 sur ivory */
  --line: #E2DDD2;
  --line-dark: #34322E;
  --ok: #2F6B4F;
  --warn: #9A5B13;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(25,25,25,.06), 0 12px 32px -18px rgba(25,25,25,.28);
  --shadow-lg: 0 2px 4px rgba(25,25,25,.06), 0 40px 80px -40px rgba(25,25,25,.45);
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--champagne-ink); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--charcoal); color: var(--ivory); padding: 10px 16px; border-radius: var(--radius-sm); text-decoration: none; }
.skip-link:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-tight { padding: clamp(48px, 6vw, 72px) 0; }
.section-white { background: var(--white); }
.section-sand { background: var(--ivory-2); }
.section-dark { background: var(--charcoal); color: var(--ivory); }
.section-dark .lede, .section-dark p { color: #CFCAC0; }

/* Typographie */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; line-height: 1.12; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 4.2vw, 3.5rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); }
h4 { font-family: var(--sans); font-size: 1rem; font-weight: 600; margin: 0; }
p { margin: 0; }
.eyebrow { display: inline-block; font-family: var(--sans); font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--champagne-ink); }
.section-dark .eyebrow { color: var(--champagne); }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--ink-3); }
.small { font-size: .875rem; }
.head { max-width: 760px; display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 56px); }
.head.center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }
.tabular { font-variant-numeric: tabular-nums; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: var(--radius-sm); border: 1px solid transparent; font-size: .95rem; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease; white-space: nowrap; }
.btn-primary { background: var(--charcoal); color: var(--ivory); }
.btn-primary:hover { background: #000; }
.btn-gold { background: var(--champagne); color: var(--charcoal); }
.btn-gold:hover { background: #D3B57F; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.section-dark .btn-ghost { border-color: var(--line-dark); color: var(--ivory); }
.section-dark .btn-ghost:hover { border-color: var(--ivory); }
.btn-link { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--champagne); padding-bottom: 2px; }
.btn-link:hover { border-color: var(--ink); }
.btn .arrow { transition: transform .18s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* En-tête */
.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-h); background: rgba(247,245,240,.88); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { width: 64px; height: auto; }
.nav-main { display: flex; gap: 4px; margin-right: auto; }
.nav-main a { padding: 8px 12px; border-radius: var(--radius-sm); font-size: .925rem; font-weight: 500; color: var(--ink-2); text-decoration: none; }
.nav-main a:hover, .nav-main a[aria-current="page"] { color: var(--ink); background: rgba(25,25,25,.05); }
.nav-side { display: flex; align-items: center; gap: 10px; }
.nav-side .login { font-size: .925rem; font-weight: 500; color: var(--ink-2); text-decoration: none; padding: 8px 10px; }
.nav-side .login:hover { color: var(--ink); }
.nav-side .btn { min-height: 40px; padding: 0 16px; font-size: .9rem; }
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.lang-switch a { display: inline-flex; align-items: center; padding: 0 8px; min-height: 32px; font-size: .72rem; font-weight: 600; letter-spacing: .05em; color: var(--ink-3); text-decoration: none; }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a[aria-current="true"] { background: var(--charcoal); color: var(--ivory); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius-sm); width: 44px; height: 44px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; transition: transform .2s ease, background .2s ease; }
.nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-panel { display: none; }

@media (max-width: 1120px) {
  .nav-main, .nav-side .login, .nav-side .lang-switch { display: none; }
  .site-header .wrap { justify-content: space-between; gap: 12px; }
  .nav-toggle { display: inline-flex; }
  .mobile-panel { display: block; position: fixed; inset: var(--header-h) 0 0 0; background: var(--ivory); padding: 20px var(--gutter) 32px; overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s; z-index: 99; }
  .mobile-panel.open { transform: none; opacity: 1; visibility: visible; }
  .mobile-panel nav { display: grid; }
  .mobile-panel nav a { padding: 16px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.4rem; text-decoration: none; }
  .mobile-panel .mobile-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; }
  .mobile-panel .mobile-foot a { color: var(--ink-2); }
}
@media (max-width: 420px) { .nav-side .btn { padding: 0 12px; font-size: .85rem; } }
body.menu-open { overflow: hidden; }

/* Hero */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 22px; }
.hero-copy h1 em { font-style: italic; color: var(--champagne-ink); }
.hero-for { font-size: .9rem; color: var(--ink-3); display: flex; align-items: center; gap: 10px; }
.hero-for::before { content: ''; width: 24px; height: 1px; background: var(--champagne); }
.hero-secondary { font-size: .925rem; color: var(--ink-2); }
.hero-secondary a { color: var(--ink); font-weight: 600; }

/* Mise en scène produit (captures réelles uniquement) */
.stage { position: relative; padding: 0 0 48px 0; }
.frame { background: var(--charcoal); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid #000; }
.frame-bar { height: 30px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: #111; }
.frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: #3A3833; display: block; }
.frame-bar span { margin-left: 10px; font-size: .7rem; color: #8C877D; letter-spacing: .04em; }
.frame img { width: 100%; }
.phone { position: absolute; width: 27%; min-width: 120px; right: -2%; bottom: 0; border-radius: 22px; padding: 6px; background: #0E0E0E; box-shadow: var(--shadow-lg); }
.phone img { border-radius: 17px; }
.chip { position: absolute; left: -3%; bottom: 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px 14px; display: grid; gap: 2px; max-width: 250px; }
.chip b { font-size: .82rem; } .chip span { font-size: .78rem; color: var(--ink-3); }
.chip .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--champagne); margin-right: 6px; }
.shot-note { margin-top: 14px; font-size: .78rem; color: var(--ink-3); }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .stage { padding-bottom: 0; }
  .phone { position: relative; right: auto; bottom: auto; width: 46%; max-width: 220px; margin: -64px 12px 0 auto; }
  .chip { position: relative; left: auto; bottom: auto; margin-top: 14px; max-width: none; }
}

/* Problème : dispersé vs centralisé */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.compare-col { padding: clamp(24px, 3.5vw, 40px); display: grid; gap: 18px; align-content: start; }
.compare-col + .compare-col { border-left: 1px solid var(--line); background: var(--charcoal); color: var(--ivory); }
.compare-col h3 { font-size: 1.25rem; }
.compare ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.compare li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: .95rem; }
.compare li svg { margin-top: 3px; }
.compare-col + .compare-col li { color: #DDD8CE; }
.channels { display: flex; flex-wrap: wrap; gap: 8px; }
.channels span { font-size: .78rem; padding: 5px 10px; border: 1px dashed #BDB6A8; border-radius: 999px; color: var(--ink-2); }
.hub { display: flex; align-items: center; gap: 10px; font-size: .8rem; color: var(--champagne); letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } .compare-col + .compare-col { border-left: 0; border-top: 1px solid var(--line); } }

/* Sections éditoriales capture / texte */
.feature-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.feature-row + .feature-row { margin-top: clamp(56px, 8vw, 96px); }
.feature-row.reverse { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.feature-row.reverse .feature-media { order: 2; }
.feature-text { display: grid; gap: 14px; }
.feature-text ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 10px; }
.feature-text li { position: relative; padding-left: 20px; color: var(--ink-2); }
.feature-text li::before { content: ''; position: absolute; left: 0; top: .72em; width: 8px; height: 1px; background: var(--champagne-ink); }
.feature-media .frame { box-shadow: var(--shadow); }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); background: var(--white); width: max-content; }
.tag.plan { border-color: rgba(197,164,109,.55); color: var(--champagne-ink); }
@media (max-width: 860px) { .feature-row, .feature-row.reverse { grid-template-columns: 1fr; } .feature-row.reverse .feature-media { order: 0; } }

/* Grille de capacités */
.caps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cap { padding: 26px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 8px; align-content: start; background: var(--white); }
.cap h3 { font-family: var(--sans); font-size: 1rem; font-weight: 600; }
.cap p { font-size: .925rem; color: var(--ink-2); }
.cap .num { font-size: .75rem; color: var(--champagne-ink); font-weight: 600; letter-spacing: .1em; }
@media (max-width: 860px) { .caps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .caps { grid-template-columns: 1fr; } }

/* Parcours d'une demande */
.journey { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.journey-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; position: relative; }
.journey-step { width: 100%; text-align: left; background: none; border: 0; padding: 16px 16px 16px 56px; border-radius: var(--radius); cursor: pointer; position: relative; display: grid; gap: 4px; transition: background .2s ease; }
.journey-step:hover { background: rgba(25,25,25,.035); }
.journey-step[aria-selected="true"] { background: var(--white); box-shadow: var(--shadow); }
.journey-step .n { position: absolute; left: 14px; top: 16px; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: .8rem; font-weight: 600; color: var(--ink-3); background: var(--ivory); transition: all .2s ease; }
.journey-step[aria-selected="true"] .n { background: var(--charcoal); border-color: var(--charcoal); color: var(--ivory); }
.journey-step .t { font-weight: 600; font-size: 1rem; }
.journey-step .d { font-size: .9rem; color: var(--ink-2); display: none; }
.journey-step[aria-selected="true"] .d { display: block; }
.journey-progress { height: 2px; background: var(--line); border-radius: 2px; margin-top: 14px; overflow: hidden; }
.journey-progress i { display: block; height: 100%; width: 20%; background: var(--champagne); transition: width .35s ease; }
.journey-stage { position: sticky; top: calc(var(--header-h) + 24px); }
.journey-panel[hidden] { display: none; }
.journey-panel .phone-solo { max-width: 300px; margin: 0 auto; border-radius: 28px; padding: 7px; background: #0E0E0E; box-shadow: var(--shadow-lg); }
.journey-panel .phone-solo img { border-radius: 22px; }
.journey-mobile-shot { display: none; }
@media (max-width: 860px) {
  .journey { grid-template-columns: 1fr; }
  .journey-stage { display: none; }
  .journey-step { cursor: default; background: var(--white); box-shadow: none; border: 1px solid var(--line); }
  .journey-step .d { display: block; }
  .journey-step[aria-selected="true"] { box-shadow: none; }
  .journey-step .n { background: var(--charcoal); border-color: var(--charcoal); color: var(--ivory); }
  .journey-steps { gap: 12px; }
  .journey-steps::before { content: ''; position: absolute; left: 28px; top: 20px; bottom: 20px; width: 1px; background: var(--line); }
  .journey-mobile-shot { display: block; margin-top: 12px; border-radius: var(--radius-sm); border: 1px solid var(--line); }
  .journey-mobile-shot.phone-shot { max-width: 220px; }
  .journey-progress { display: none; }
}

/* Portail invité */
.portal { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.portal-phones { display: flex; gap: 18px; justify-content: center; align-items: flex-end; }
.portal-phones figure { margin: 0; border-radius: 26px; padding: 6px; background: #0E0E0E; box-shadow: var(--shadow-lg); width: min(46%, 260px); }
.portal-phones figure:first-child { transform: translateY(-28px); }
.portal-phones img { border-radius: 20px; }
.list-check { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.list-check li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; }
.list-check svg { margin-top: 4px; }
@media (max-width: 860px) { .portal { grid-template-columns: 1fr; } .portal-phones figure:first-child { transform: none; } }

/* Rôles (onglets) */
.roles-tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 28px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.roles-tabs button { flex-shrink: 0; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-dark); background: transparent; color: #CFCAC0; border-radius: 999px; cursor: pointer; font-size: .9rem; font-weight: 500; transition: all .18s ease; }
.roles-tabs button:hover { color: var(--ivory); border-color: #6B675F; }
.roles-tabs button[aria-selected="true"] { background: var(--ivory); color: var(--charcoal); border-color: var(--ivory); }
.roles-tabs button.lead { border-color: rgba(197,164,109,.6); }
.role-panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 56px); align-items: center; }
.role-panel[hidden] { display: none; }
.role-panel .role-copy { display: grid; gap: 14px; }
.role-panel h3 { color: var(--ivory); font-size: clamp(1.5rem, 2.5vw, 2rem); }
.role-panel ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; color: #DDD8CE; }
.role-panel li { padding-left: 18px; position: relative; }
.role-panel li::before { content: ''; position: absolute; left: 0; top: .72em; width: 8px; height: 1px; background: var(--champagne); }
.role-panel .frame { border-color: #2B2A27; }
@media (max-width: 860px) { .role-panel { grid-template-columns: 1fr; } }

/* Intelligence : liste à deux colonnes */
.intel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.intel-item { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); }
.intel-item h3 { font-family: var(--sans); font-size: .95rem; font-weight: 600; }
.intel-item p { font-size: .925rem; color: var(--ink-2); }
.intel-item .tag { margin-top: 8px; }
@media (max-width: 860px) { .intel { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .intel-item { grid-template-columns: 1fr; gap: 6px; } }

/* Sécurité */
.sec { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; }
.sec > div { padding: 24px 20px; display: grid; gap: 10px; align-content: start; }
.sec > div + div { border-left: 1px solid var(--line-dark); }
.sec h3 { font-family: var(--sans); font-size: .95rem; font-weight: 600; color: var(--ivory); }
.sec p { font-size: .875rem; }
@media (max-width: 1024px) { .sec { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sec > div + div { border-left: 0; } .sec > div { border-top: 1px solid var(--line-dark); } .sec > div:nth-child(-n+2) { border-top: 0; } .sec > div:nth-child(even) { border-left: 1px solid var(--line-dark); } }
@media (max-width: 560px) { .sec { grid-template-columns: 1fr; } .sec > div:nth-child(even) { border-left: 0; } .sec > div:nth-child(2) { border-top: 1px solid var(--line-dark); } }

/* Intégrations */
.int { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.int-col { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 14px; align-content: start; }
.int-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.int-col li { display: grid; gap: 2px; }
.int-col li span { font-size: .875rem; color: var(--ink-2); }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.status.pending::before { background: var(--warn); }
.status.pending { color: var(--warn); } .status { color: var(--ok); }
@media (max-width: 760px) { .int { grid-template-columns: 1fr; } }

/* Tarifs */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 16px; position: relative; }
.plan.featured { border-color: var(--charcoal); box-shadow: var(--shadow-lg); }
.plan .badge { position: absolute; top: -12px; left: 26px; background: var(--charcoal); color: var(--ivory); font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.plan .badge::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--champagne); margin-right: 7px; vertical-align: middle; }
.plan-name { font-family: var(--serif); font-size: 1.6rem; }
.plan-price { font-family: var(--serif); font-size: 2.6rem; line-height: 1; font-variant-numeric: tabular-nums; }
.plan-price small { font-family: var(--sans); font-size: .9rem; color: var(--ink-3); font-weight: 500; }
.plan-for { font-size: .9rem; color: var(--ink-2); min-height: 3em; }
.plan ul { list-style: none; padding: 16px 0 0; margin: 0; display: grid; gap: 10px; border-top: 1px solid var(--line); align-content: start; }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; font-size: .9rem; }
.plan li.limit { color: var(--ink-3); }
.plan li svg { margin-top: 4px; }
.plan .btn { width: 100%; }
.plans-terms { margin-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.plans-terms div { border-top: 1px solid var(--line); padding-top: 16px; display: grid; gap: 6px; }
.plans-terms h3, .plans-terms h2 { font-family: var(--sans); font-size: .95rem; font-weight: 600; }
.plans-terms p { font-size: .875rem; color: var(--ink-2); }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } .plan.featured { order: -1; } .plans-terms { grid-template-columns: 1fr; } .plan-for { min-height: 0; } }

.plan-ctas { display: grid; gap: 6px; }
.btn-sub { background: transparent; border: 0; min-height: 44px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }
.btn-sub:hover { color: var(--ink); }
.btn-sub[disabled] { opacity: .6; cursor: wait; }
.plans-enterprise { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.plan-dark { background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal); grid-template-rows: auto auto auto auto 1fr auto; }
.plan-dark .eyebrow { color: var(--champagne); }
.plan-dark .plan-for, .plan-dark li { color: #DDD8CE; }
.plan-dark .plan-price small { color: #B8B2A6; }
.plan-dark ul { border-top-color: var(--line-dark); }
.plan-dark li.limit { color: #A9A397; }
.plan-dark li svg { color: var(--champagne); }
.sub-note { margin-top: 18px; text-align: center; }
@media (max-width: 960px) { .plans-enterprise { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; } }

/* Tableau comparatif */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); -webkit-overflow-scrolling: touch; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .9rem; }
.compare-table th, .compare-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare-table thead th { font-family: var(--serif); font-weight: 500; font-size: 1.1rem; background: var(--ivory); position: sticky; top: 0; }
.compare-table thead th.featured { background: var(--charcoal); color: var(--ivory); }
.compare-table td:not(:first-child), .compare-table th:not(:first-child) { text-align: center; width: 18%; }
.compare-table tbody th { font-weight: 500; }
.compare-table .group th { background: var(--ivory-2); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.yes { color: var(--ok); font-weight: 600; } .no { color: #A9A397; }

/* Accompagnement */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: s; }
.steps li { padding: 24px 20px 0 0; border-top: 1px solid var(--line); position: relative; display: grid; gap: 8px; align-content: start; counter-increment: s; }
.steps li::before { content: counter(s, decimal-leading-zero); font-size: .75rem; font-weight: 600; letter-spacing: .1em; color: var(--champagne-ink); }
.steps li::after { content: ''; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--champagne); }
.steps h3 { font-family: var(--sans); font-size: 1rem; font-weight: 600; }
.steps p { font-size: .9rem; color: var(--ink-2); }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr; } .steps li { padding: 0 0 24px 24px; border-top: 0; border-left: 1px solid var(--line); } .steps li::after { top: 4px; left: -4px; } }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 64px); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 20px 40px 20px 0; cursor: pointer; font-size: 1.02rem; font-weight: 600; position: relative; min-height: 44px; }
.faq-q::after { content: ''; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg); transition: transform .2s ease; }
.faq-q[aria-expanded="true"]::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-a { padding: 0 0 22px; color: var(--ink-2); max-width: 70ch; }
.faq-a[hidden] { display: none; }
.faq-a a { color: var(--ink); }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }

/* Ressources */
.resources { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 20px; }
.resource { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 12px; align-content: start; text-decoration: none; transition: border-color .18s ease, transform .18s ease; }
.resource:hover { border-color: var(--ink); }
.resource.lead { background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal); }
.resource.lead p { color: #CFCAC0; }
.resource h3 { font-size: 1.3rem; }
.resource p { font-size: .9rem; color: var(--ink-2); }
.resource .go { font-weight: 600; font-size: .9rem; }
.resource .go::after { content: ' →'; }
@media (max-width: 860px) { .resources { grid-template-columns: 1fr; } }

/* CTA finale + formulaire */
.final { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.final-copy { display: grid; gap: 18px; }
.form { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); display: grid; gap: 14px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 6px; }
.form input, .form textarea, .form select { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #CFC9BD; border-radius: var(--radius-sm); background: var(--white); font: inherit; font-size: 16px; color: var(--ink); }
.form textarea { min-height: 96px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { outline: 2px solid var(--champagne-ink); outline-offset: 0; border-color: var(--champagne-ink); }
.form details summary { cursor: pointer; font-size: .875rem; color: var(--ink-2); min-height: 32px; display: flex; align-items: center; }
.form details[open] > div { margin-top: 10px; }
.form .fine { font-size: .78rem; color: var(--ink-3); }
.form .fine a { color: var(--ink-2); }
.form-success { display: none; background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 32px; text-align: center; }
.form-error { color: #9B2C1F; font-size: .875rem; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 860px) { .final { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form .row { grid-template-columns: 1fr; } }

/* Pied de page */
.site-footer { background: var(--charcoal); color: #B8B2A6; padding: 64px 0 32px; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer-grid h2 { font-family: var(--sans); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ivory); font-weight: 600; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a { color: #B8B2A6; text-decoration: none; }
.footer-grid a:hover { color: var(--ivory); }
.footer-brand img { width: 72px; filter: brightness(0) invert(1); opacity: .9; }
.footer-brand p { margin-top: 14px; max-width: 32ch; }
.footer-base { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .8rem; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* Sous-navigation de page */
.subnav { position: sticky; top: var(--header-h); z-index: 50; background: rgba(247,245,240,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.subnav .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a { flex-shrink: 0; padding: 14px 12px; font-size: .875rem; color: var(--ink-2); text-decoration: none; border-bottom: 2px solid transparent; }
.subnav a:hover, .subnav a.active { color: var(--ink); border-bottom-color: var(--champagne); }
.page-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(32px, 5vw, 56px); }
.page-hero .head { margin-bottom: 0; }

/* Cookies */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150; max-width: 560px; margin-left: auto; background: var(--charcoal); color: #DDD8CE; border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-lg); font-size: .85rem; display: none; gap: 14px; }
.cookie-banner.visible { display: grid; }
.cookie-banner a { color: var(--ivory); }
.cookie-actions { display: flex; gap: 10px; justify-content: flex-end; }
.cookie-actions button { min-height: 40px; padding: 0 16px; border-radius: var(--radius-sm); cursor: pointer; font-weight: 600; font-size: .85rem; }
.cookie-decline { background: transparent; border: 1px solid #5A5750; color: var(--ivory); }
.cookie-accept { background: var(--ivory); border: 1px solid var(--ivory); color: var(--charcoal); }

/* Apparition progressive : visible par défaut, animée seulement si JS + mouvement autorisé */
.js-anim .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js-anim .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js-anim .reveal { opacity: 1; transform: none; }
}

/* Suggestion de langue (version française uniquement) */
.lang-suggest { position: fixed; top: calc(var(--header-h) + 10px); right: 16px; left: auto; z-index: 120; display: flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 6px 6px 6px 14px; font-size: .875rem; max-width: calc(100% - 32px); }
.lang-suggest a { color: var(--ink); font-weight: 600; }
.lang-suggest button { background: none; border: 0; width: 36px; height: 36px; cursor: pointer; font-size: 1.2rem; color: var(--ink-3); }
.sub-note.is-error { color: #9B2C1F; }

/* Japonais : titres et texte avec des polices adaptées (Playfair/Inter n'ont pas les kanji) */
html[lang="ja"] { --serif: 'Hiragino Mincho ProN', 'Yu Mincho', 'Noto Serif JP', serif; --sans: 'Hiragino Sans', 'Yu Gothic UI', 'Meiryo', 'Noto Sans JP', sans-serif; }
html[lang="ja"] h1, html[lang="ja"] h2 { letter-spacing: 0; line-height: 1.3; }
html[lang="ja"] .eyebrow { letter-spacing: .08em; }
/* Arabe : polices système adaptées + mise en page de droite à gauche */
html[lang="ar"] { --serif: 'Noto Naskh Arabic', 'Amiri', 'Times New Roman', serif; --sans: 'Segoe UI', 'Noto Sans Arabic', Tahoma, sans-serif; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { line-height: 1.35; letter-spacing: 0; }
html[lang="ar"] .eyebrow { letter-spacing: 0; }
[dir="rtl"] .feature-text li, [dir="rtl"] .role-panel li { padding-left: 0; padding-right: 20px; }
[dir="rtl"] .feature-text li::before, [dir="rtl"] .role-panel li::before { left: auto; right: 0; }
[dir="rtl"] .journey-step { text-align: right; padding: 16px 56px 16px 16px; }
[dir="rtl"] .journey-step .n { left: auto; right: 14px; }
[dir="rtl"] .phone { right: auto; left: -2%; }
[dir="rtl"] .chip { left: auto; right: -3%; }
[dir="rtl"] .compare-col + .compare-col { border-left: 0; border-right: 1px solid var(--line); }
[dir="rtl"] .faq-q { text-align: right; padding: 20px 0 20px 40px; }
[dir="rtl"] .faq-q::after { right: auto; left: 6px; }
[dir="rtl"] .compare-table th, [dir="rtl"] .compare-table td { text-align: right; }
[dir="rtl"] .compare-table td:not(:first-child), [dir="rtl"] .compare-table th:not(:first-child) { text-align: center; }
[dir="rtl"] .plan .badge { left: auto; right: 26px; }
[dir="rtl"] .plan .badge::before { margin-right: 0; margin-left: 7px; }
[dir="rtl"] .steps li { padding: 24px 0 0 20px; }
[dir="rtl"] .steps li::after { left: auto; right: 0; }
[dir="rtl"] .hero-for::before { order: 0; }
[dir="rtl"] .btn .arrow { transform: none; }
[dir="rtl"] .btn:hover .arrow { transform: translateX(-3px); }
[dir="rtl"] .resource .go::after { content: ' ←'; }
[dir="rtl"] .cookie-banner { margin-left: 0; margin-right: auto; }
[dir="rtl"] .sec > div + div { border-left: 0; border-right: 1px solid var(--line-dark); }
[dir="rtl"] .lang-suggest { right: auto; left: 16px; }
@media (max-width: 960px) {
  [dir="rtl"] .phone { left: auto; margin: -64px auto 0 12px; }
  [dir="rtl"] .chip { right: auto; }
  [dir="rtl"] .steps li { padding: 0 24px 24px 0; border-left: 0; border-right: 1px solid var(--line); }
  [dir="rtl"] .steps li::after { right: -4px; }
}
@media (max-width: 860px) { [dir="rtl"] .journey-steps::before { left: auto; right: 28px; } }
@media (max-width: 1024px) { [dir="rtl"] .sec > div + div { border-right: 0; } [dir="rtl"] .sec > div:nth-child(even) { border-left: 0; border-right: 1px solid var(--line-dark); } }
@media (max-width: 760px) { [dir="rtl"] .compare-col + .compare-col { border-right: 0; } }
@media (max-width: 560px) { [dir="rtl"] .sec > div:nth-child(even) { border-right: 0; } }

.local-price-note{max-width:var(--container,1200px);margin:0 auto 1rem;padding:0 1rem;text-align:center;font-size:.875rem;color:var(--muted,#6b6b6b)}
