/* Quartio — site public. Charte visuelle d'ADVEN Conseil :
   pétrole + vert ADVEN, dégradé, Inter / Inter Display, titres en majuscules, boutons pilules. */
@font-face { font-family: "Inter"; src: url("/assets/fonts/Inter-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/Inter-Medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/Inter-SemiBold.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("/assets/fonts/InterDisplay-SemiBold.woff") format("woff"); font-weight: 600; font-display: swap; }

:root {
  --ink: #0F2430;
  --petrol: #0A3B4E;
  --ink-2: #0E4A5E;
  --footer: #072B39;
  --white: #FFFFFF;
  --gray: #F2F6F4;
  --line: #DFE7E3;
  --line-strong: #C3D1CA;
  --muted: #4A5A60;
  --muted-dark: #B9D0CF;
  --accent: #1C7A47;
  --accent-dark: #135C35;
  --accent-tint: #E6F4EA;
  --green-bright: #5BBF3E;
  --accent-on-dark: #8EDC6E;
  --amber: #F2B441;
  --hero-gradient: linear-gradient(105deg, #06374A 0%, #0D4F57 32%, #1B6E4D 62%, #3E9A42 86%, #56B43C 100%);
  --display: "Inter Display", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; margin: 0; line-height: 1.08; letter-spacing: -0.015em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; top: 16px; inset-inline-start: 16px; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
.skip:focus { clip-path: none; width: auto; height: auto; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 6px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.section { padding: 112px 0; }
.section-sm { padding: 72px 0; }
.bg-gray { background: var(--gray); }
.bg-petrol { background: var(--petrol); color: var(--white); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.bg-petrol .eyebrow { color: var(--accent-on-dark); }
.h2 { font-size: clamp(30px, 4.2vw, 54px); line-height: 1.04; text-transform: uppercase; }
.h3 { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.1; text-transform: uppercase; }
.lead { font-size: 19px; color: var(--muted); }
.bg-petrol .lead { color: var(--muted-dark); }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 56px; }
.head-row > div { max-width: 760px; }
.head-row > p { max-width: 420px; color: var(--muted); }
.bg-petrol .head-row > p { color: var(--muted-dark); }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px; font: 600 16px var(--body); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn svg { width: 18px; height: 18px; transition: transform .15s; }
.btn:hover svg { transform: translateX(3px); }
.btn-petrol { background: var(--petrol); color: var(--white); }
.btn-petrol:hover { background: var(--accent); color: var(--white); }
.btn-lime { background: var(--green-bright); color: var(--ink); }
.btn-lime:hover { background: #79D25C; color: var(--ink); }
.btn-ghost { border-color: var(--petrol); color: var(--petrol); background: transparent; }
.btn-ghost:hover { background: var(--petrol); color: var(--white); }
.btn-ghost-light { border-color: rgba(255,255,255,.85); color: var(--white); background: rgba(4,40,54,.35); }
.btn-ghost-light:hover { background: var(--white); color: var(--petrol); }
.btn-white { background: var(--white); color: var(--petrol); }
.btn-white:hover { background: var(--accent-tint); color: var(--petrol); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* Barre utilitaire et en-tête */
.topbar { background: var(--gray); color: var(--muted); font-size: 13px; border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: var(--ink); text-decoration: none; }
.topbar a:hover { color: var(--accent); }
.topbar .right { display: flex; gap: 20px; flex-wrap: wrap; }
.site-top { position: sticky; top: 0; z-index: 50; }
.site-top.scrolled { box-shadow: 0 8px 28px rgba(10,59,78,.1); }
.header { background: var(--white); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 80px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--petrol); }
.logo-mark { width: 40px; height: 40px; flex: none; }
.logo-word { font-family: var(--display); font-weight: 600; font-size: 26px; letter-spacing: -0.02em; }
.logo-by { display: block; font-family: var(--body); font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: -2px; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 600; }
.nav a { white-space: nowrap; }
.logo > span { white-space: nowrap; }
.nav > a:not(.btn) { color: var(--petrol); text-decoration: none; text-transform: uppercase; letter-spacing: .02em; position: relative; }
.nav > a:not(.btn)::after { content: ""; position: absolute; inset-inline: 0; bottom: -6px; height: 2px; background: var(--petrol); transform: scaleX(0); transition: transform .2s; }
.nav > a:not(.btn):hover::after { transform: scaleX(1); }
.nav .btn { min-height: 44px; padding: 0 22px; font-size: 15px; }
.menu-btn { display: none; width: 46px; height: 46px; align-items: center; justify-content: center; background: none; border: 1.5px solid var(--petrol); border-radius: 10px; color: var(--petrol); cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }

/* Héros */
.hero, .page-head { position: relative; overflow: hidden; background: var(--hero-gradient); color: var(--white); }
.hero::before, .page-head::before { content: ""; position: absolute; width: 760px; height: 760px; border-radius: 50%; inset-inline-end: -200px; top: 50%; transform: translateY(-50%); background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.14), rgba(255,255,255,.03) 60%, transparent 61%); border: 1.5px solid rgba(255,255,255,.16); pointer-events: none; }
.hero::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; inset-inline-start: 38%; bottom: -260px; border: 1.5px solid rgba(255,255,255,.12); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-top: 96px; padding-bottom: 168px; }
.hero-tag { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-on-dark); margin-bottom: 26px; }
.hero-tag::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.hero h1 { font-size: clamp(40px, 5.6vw, 80px); line-height: 0.98; letter-spacing: -0.025em; text-transform: uppercase; margin-bottom: 28px; }
.hero h1 em { font-style: normal; color: var(--accent-on-dark); display: block; }
.hero .lead { color: #DDEEE8; max-width: 600px; margin-bottom: 36px; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 15px; color: #DDEEE8; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; color: var(--accent-on-dark); }

/* Maquette produit (horaire) */
.mock { position: relative; }
.mock-app { background: var(--white); color: var(--ink); border-radius: 18px; box-shadow: 0 40px 80px rgba(2,24,33,.45); overflow: hidden; font-size: 13px; }
.mock-bar { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); background: #FBFCFB; }
.mock-bar strong { font-family: var(--display); font-size: 15px; color: var(--petrol); }
.mock-dots { display: flex; gap: 6px; }
.mock-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); display: block; }
.mock-pill { font-size: 11px; font-weight: 600; color: var(--accent-dark); background: var(--accent-tint); padding: 4px 10px; border-radius: 999px; }
.mock-grid { display: grid; grid-template-columns: 96px repeat(5, 1fr); }
.mock-grid > div { border-bottom: 1px solid var(--line); border-inline-end: 1px solid var(--line); padding: 8px 6px; min-height: 46px; }
.mock-grid .hd { min-height: 0; font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; background: #FBFCFB; text-align: center; }
.mock-grid .who { font-weight: 600; font-size: 12px; line-height: 1.2; display: flex; align-items: center; gap: 6px; }
.mock-grid .who i { width: 22px; height: 22px; border-radius: 50%; background: var(--accent-tint); color: var(--accent-dark); font-style: normal; font-size: 10px; display: flex; align-items: center; justify-content: center; flex: none; }
.shift { display: block; border-radius: 6px; padding: 4px 6px; font-size: 11px; font-weight: 600; line-height: 1.25; }
.shift small { display: block; font-weight: 500; opacity: .8; }
.s-day { background: #E3F1F5; color: #0A4B62; border-inline-start: 3px solid #1B7EA0; }
.s-eve { background: var(--accent-tint); color: var(--accent-dark); border-inline-start: 3px solid var(--accent); }
.s-night { background: #ECE9F7; color: #3E3577; border-inline-start: 3px solid #6A5BC6; }
.s-open { background: #FFF6E2; color: #7A5300; border: 1.5px dashed var(--amber); }
.mock-foot { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; font-size: 12px; color: var(--muted); background: #FBFCFB; }
.mock-foot b { color: var(--ink); }
.mock-toast { position: absolute; inset-inline-start: -36px; bottom: -118px; width: 270px; background: var(--white); color: var(--ink); border-radius: 14px; padding: 14px 16px; box-shadow: 0 24px 50px rgba(2,24,33,.35); display: flex; gap: 12px; font-size: 13px; line-height: 1.4; border-inline-start: 4px solid var(--green-bright); }
.mock-toast .ic { width: 34px; height: 34px; border-radius: 50%; background: var(--accent-tint); color: var(--accent); display: flex; align-items: center; justify-content: center; flex: none; }
.mock-toast .ic svg { width: 18px; height: 18px; }
.mock-toast b { display: block; font-size: 13px; }

/* Bandeau des avantages */
.perks .wrap { padding-top: 56px; padding-bottom: 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.perk { display: flex; gap: 16px; }
.perk h3 { font-size: 17px; margin-bottom: 4px; letter-spacing: -0.01em; }
.perk p { color: var(--muted); font-size: 15px; }
.icon-box { width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--accent-tint); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.icon-box svg { width: 22px; height: 22px; }

/* Problèmes */
.pains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pain { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 28px; }
.pain .before { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #A2463A; margin-bottom: 10px; }
.pain h3 { font-size: 20px; margin-bottom: 10px; }
.pain p { color: var(--muted); font-size: 15px; }
.pain .after { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; font-weight: 500; color: var(--accent-dark); display: flex; gap: 8px; }
.pain .after svg { width: 18px; height: 18px; flex: none; margin-top: 3px; }

/* Cartes de fonctionnalités */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--petrol); border-radius: 14px; padding: 30px; display: flex; flex-direction: column; gap: 12px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.card:hover { border-top-color: var(--green-bright); box-shadow: 0 18px 40px rgba(10,59,78,.10); transform: translateY(-3px); }
.bg-gray .card { border-color: var(--white); border-top-color: var(--petrol); }
.bg-gray .card:hover { border-top-color: var(--green-bright); }
.card h3 { font-size: 21px; letter-spacing: -0.01em; }
.card p { color: var(--muted); font-size: 16px; }
.bullets { list-style: none; margin: 4px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.bullets li { display: flex; gap: 10px; align-items: baseline; }
.bullets li::before { content: ""; width: 8px; height: 2px; flex: none; background: var(--accent); transform: translateY(-4px); }
.soon { align-self: flex-start; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #7A5300; background: #FFF1CF; padding: 4px 10px; border-radius: 999px; }
.roadmap { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.roadmap strong { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-inline-end: 6px; }
.roadmap span { font-size: 14px; padding: 7px 14px; background: var(--white); border: 1px dashed var(--line-strong); border-radius: 999px; color: var(--muted); }

/* Zoom sur une fonctionnalité */
.zoom { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; padding: 56px 0; }
.zoom + .zoom { border-top: 1px solid var(--line); }
.zoom.flip .zoom-text { order: 2; }
.zoom-text h3 { margin-bottom: 18px; }
.zoom-text .lead { font-size: 18px; margin-bottom: 24px; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.checks li { position: relative; padding-inline-start: 30px; }
.checks li::before { content: ""; position: absolute; inset-inline-start: 3px; top: 7px; width: 12px; height: 7px; border-left: 2.2px solid var(--accent); border-bottom: 2.2px solid var(--accent); transform: rotate(-45deg); }
.bg-petrol .checks li::before { border-color: var(--accent-on-dark); }
.panel { background: var(--gray); border-radius: 18px; padding: 28px; }
.panel-card { background: var(--white); border-radius: 12px; box-shadow: 0 10px 30px rgba(10,59,78,.08); padding: 18px 20px; font-size: 14px; }
.panel-card + .panel-card { margin-top: 12px; }
.panel-title { font-family: var(--display); font-size: 16px; color: var(--petrol); margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; }
.rank { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); }
.rank:first-of-type { border-top: 0; }
.rank .n { width: 26px; height: 26px; border-radius: 50%; background: var(--gray); font-size: 12px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.rank small { display: block; color: var(--muted); font-size: 12px; }
.badge { font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.b-ok { background: var(--accent-tint); color: var(--accent-dark); }
.b-no { background: #FBE7E4; color: #A2463A; }
.b-wait { background: #FFF1CF; color: #7A5300; }
.b-info { background: #E3F1F5; color: #0A4B62; }
.ts-row { display: grid; grid-template-columns: minmax(0,1.2fr) 64px 64px 132px; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13px; }
.ts-row > :nth-child(2), .ts-row > :nth-child(3) { text-align: right; }
.ts-row > :last-child { justify-self: end; }
.ts-row.hd { border-top: 0; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.week div { background: var(--gray); border-radius: 8px; padding: 8px 4px; text-align: center; font-size: 11px; color: var(--muted); }
.week div b { display: block; font-size: 14px; color: var(--ink); }
.week .on { background: var(--accent-tint); color: var(--accent-dark); }
.week .off { background: #FBE7E4; color: #A2463A; }

/* Étapes */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.steps li { border-top: 4px solid var(--green-bright); padding-top: 24px; }
.steps .n { font-family: var(--display); font-size: 44px; font-weight: 600; color: var(--accent); margin-bottom: 12px; line-height: 1; }
.steps h3 { font-size: 20px; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 16px; }

/* Secteurs */
.sector { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.bg-gray .sector { border-color: var(--white); }
.sector-head { display: flex; align-items: center; gap: 14px; }
.sector h3 { font-size: 20px; }
.sector p { color: var(--muted); font-size: 15px; }

/* Bandeau secteur public */
.public { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.dark-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.dark-card { background: var(--ink-2); border-top: 4px solid var(--green-bright); border-radius: 14px; padding: 24px; }
.dark-card h3 { font-size: 18px; margin-bottom: 8px; }
.dark-card p { color: var(--muted-dark); font-size: 15px; }

/* Téléphone */
.phone-wrap { display: flex; justify-content: center; }
.phone { width: 300px; background: #0B1E27; border-radius: 40px; padding: 12px; box-shadow: 0 40px 80px rgba(10,59,78,.25); }
.phone-screen { background: var(--white); border-radius: 30px; overflow: hidden; }
.phone-top { background: var(--hero-gradient); color: var(--white); padding: 26px 20px 20px; }
.phone-top small { color: #CFE6DF; font-size: 12px; }
.phone-top h4 { font-size: 20px; margin-top: 4px; }
.phone-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.p-card { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.p-card b { display: block; font-size: 14px; }
.p-card span { color: var(--muted); font-size: 12px; }
.p-card .p-btn { margin-top: 8px; display: block; text-align: center; background: var(--petrol); color: var(--white); border-radius: 999px; padding: 9px; font-weight: 600; font-size: 13px; }
.p-card .p-btn.lime { background: var(--green-bright); color: var(--ink); }

/* Sécurité */
.sec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 40px; }
.sec { display: flex; gap: 16px; }
.sec h3 { font-size: 18px; margin-bottom: 6px; }
.sec p { color: var(--muted); font-size: 15px; }

/* Tarification */
.pricing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.price-card { border-radius: 18px; padding: 40px; display: flex; flex-direction: column; gap: 16px; }
.price-card.trial { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--green-bright); }
.price-card.quote { background: var(--petrol); color: var(--white); }
.price-card .big { font-family: var(--display); font-size: 52px; font-weight: 600; line-height: 1; letter-spacing: -0.02em; }
.price-card .big small { font-size: 18px; font-weight: 500; letter-spacing: 0; }
.price-card p { color: var(--muted); }
.price-card.quote p { color: var(--muted-dark); }
.price-card .btn { align-self: flex-start; margin-top: auto; }

/* FAQ */
.faq { max-width: 900px; margin: 0 auto; border-top: 2px solid var(--petrol); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 68px; padding: 20px 0; font-family: var(--display); font-size: 19px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 28px; color: var(--accent); font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); padding-bottom: 24px; }

/* Appel à l'action */
.cta-band { background: var(--hero-gradient); color: var(--white); border-radius: 22px; padding: 64px; display: flex; flex-wrap: wrap; gap: 32px 48px; align-items: center; justify-content: space-between; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; inset-inline-end: -120px; top: -160px; border: 1.5px solid rgba(255,255,255,.16); }
.cta-band > * { position: relative; }
.cta-band > div { flex: 999 1 480px; min-width: 0; }
.cta-band h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.08; margin-bottom: 14px; text-transform: uppercase; }
.cta-band p { color: #DDEEE8; max-width: 640px; font-size: 18px; }

/* Pied de page */
.footer { background: var(--footer); color: var(--muted-dark); font-size: 15px; }
.footer .wrap { padding-top: 72px; padding-bottom: 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer h4 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer a { color: var(--muted-dark); text-decoration: none; }
.footer a:hover { color: var(--white); }
.footer .logo { color: var(--white); margin-bottom: 16px; }
.footer .logo-by { color: var(--muted-dark); }
.footer-by { display: flex; align-items: center; gap: 12px; margin-top: 22px; font-size: 13px; }
.footer-by img { height: 40px; width: auto; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: 13px; }

/* Page d'inscription */
.page-head .wrap { position: relative; z-index: 1; padding-top: 72px; padding-bottom: 184px; }
.page-head h1 { font-size: clamp(34px, 5vw, 64px); line-height: 1; letter-spacing: -0.025em; text-transform: uppercase; margin-bottom: 18px; max-width: 900px; }
.page-head .lead { color: #DDEEE8; max-width: 680px; }
.signup { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: start; }
.form-card { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--petrol); border-radius: 18px; padding: 40px; margin-top: -120px; position: relative; z-index: 2; box-shadow: 0 30px 60px rgba(10,59,78,.12); }
.form-card h2 { font-size: 26px; text-transform: uppercase; margin-bottom: 8px; }
.form-card h2 + p { color: var(--muted); margin-bottom: 28px; }
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 15px; }
.field small { color: var(--muted); font-size: 13px; }
.field input, .field select { font: inherit; font-size: 16px; min-height: 50px; padding: 0 14px; border: 1.5px solid var(--line-strong); border-radius: 10px; background: var(--white); color: var(--ink); }
.field input:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.sector-pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sector-pick label { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 14px; border: 1.5px solid var(--line-strong); border-radius: 10px; font-weight: 500; font-size: 15px; cursor: pointer; }
.sector-pick input { accent-color: var(--accent); width: 18px; height: 18px; margin: 0; }
.sector-pick label:has(input:checked) { border-color: var(--accent); background: var(--accent-tint); }
.consent { font-size: 13px; color: var(--muted); }
.form-msg { padding: 14px 16px; border-radius: 10px; font-size: 15px; }
.form-msg.err { background: #FBE7E4; color: #7E2F25; }
.success { text-align: start; }
.success .icon-box { width: 64px; height: 64px; margin-bottom: 20px; }
.success .icon-box svg { width: 30px; height: 30px; }
.aside { padding-top: 48px; display: flex; flex-direction: column; gap: 28px; }
.aside h3 { font-size: 20px; text-transform: uppercase; margin-bottom: 14px; }

/* Responsive */
@media (max-width: 1080px) {
  .hero .wrap, .zoom, .public, .signup { grid-template-columns: minmax(0, 1fr); }
  .zoom.flip .zoom-text { order: 0; }
  .perks .wrap, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3, .sec-grid, .pains { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mock-toast { inset-inline-start: 12px; }
  .form-card { margin-top: -120px; }
  .aside { padding-top: 0; }
}
@media (max-width: 1240px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 32px 24px; }
  .nav.open { display: flex; }
  .nav > a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 12px; }
  .header { position: relative; }
}
@media (max-width: 680px) {
  .wrap { padding: 0 20px; }
  .section { padding: 80px 0; }
  .perks .wrap, .steps, .grid-3, .grid-2, .sec-grid, .pains, .pricing, .dark-grid, .footer-grid, .form .row, .sector-pick { grid-template-columns: 1fr; }
  .cta-band, .price-card, .form-card { padding: 32px 24px; }
  .mock-grid { grid-template-columns: 74px repeat(5, 1fr); }
  .mock-grid > div:nth-child(6n), .mock-grid > div:nth-child(6n+5) { display: none; }
  .mock-grid { grid-template-columns: 74px repeat(3, 1fr); }
  .mock-toast { position: static; width: auto; margin-top: 14px; }
  .topbar .topbar-text { display: none; }
}

/* Langues et sens de lecture (arabe) */
.topbar .langs { display: inline-flex; gap: 2px; padding-inline-start: 14px; border-inline-start: 1px solid var(--line-strong); }
.topbar .langs a { padding: 0 7px; border-radius: 4px; text-decoration: none; }
.topbar .langs a[aria-current="true"] { background: var(--petrol); color: var(--white); font-weight: 600; }
@media (max-width: 640px) { .topbar .right > a { display: none; } .topbar .langs { border: 0; padding: 0; } .topbar .wrap { justify-content: space-between; align-items: center; } }
[dir="rtl"] svg.flip, [dir="rtl"] span.flip, [dir="rtl"] .btn svg { transform: scaleX(-1); }
[dir="rtl"] .h2, [dir="rtl"] .h3, [dir="rtl"] h1, [dir="rtl"] .eyebrow { letter-spacing: 0; text-transform: none; }
[dir="rtl"] body { line-height: 1.75; }
.field-hint { font-size: 14px; color: var(--accent-dark); background: var(--accent-tint); border-radius: 8px; padding: 10px 12px; margin-top: 8px; }
.field-hint[hidden] { display: none; }
.topbar .left { display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.topbar .back-adven { font-weight: 600; color: var(--petrol); display: inline-flex; gap: 6px; align-items: center; padding-inline-end: 14px; border-inline-end: 1px solid var(--line-strong); }
.topbar .back-adven:hover { color: var(--accent); }
.topbar .back-adven .flip { display: inline-block; }
@media (max-width: 680px) { .topbar .back-adven { border: 0; padding: 0; } }

/* Intégrations */
.integ { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: center; }
.integ-hub { position: relative; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(91,191,62,.18), transparent 70%); display: grid; place-items: center; }
.integ-hub::before, .integ-hub::after { content: ""; position: absolute; inset: 8%; border-radius: 50%; border: 1.5px dashed var(--line-strong); animation: tourne 40s linear infinite; }
.integ-hub::after { inset: 24%; border-style: solid; border-color: rgba(28,122,71,.25); animation-direction: reverse; }
@keyframes tourne { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .integ-hub::before, .integ-hub::after { animation: none; } }
.hub-core { position: relative; z-index: 1; width: 120px; height: 120px; border-radius: 50%; background: var(--petrol); color: var(--white); display: grid; place-items: center; align-content: center; gap: 6px; box-shadow: 0 18px 40px rgba(10,59,78,.25); }
.hub-core .logo-mark { width: 40px; height: 40px; color: var(--white); }
.hub-core b { font-family: var(--display); font-size: 17px; }
.integ-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 18px; }
.integ-cat { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.integ-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.integ-head h3 { font-size: 19px; margin-bottom: 4px; }
.integ-head p { font-size: 14px; color: var(--muted); line-height: 1.45; }
.brands { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.brands li { font-size: 13px; font-weight: 600; color: var(--petrol); background: var(--gray); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }
.integ-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; margin-top: 36px; }
.integ-foot .checks { display: grid; gap: 8px; }
.integ-note { margin-top: 22px; font-size: 13px; color: var(--muted); max-width: 900px; }
@media (max-width: 1080px) { .integ { grid-template-columns: minmax(0, 1fr); } .integ-hub { width: 200px; margin: 0 auto; } }

/* Aperçu (galerie de captures) */
.gallery { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 32px; align-items: start; }
.gal-tabs { display: grid; gap: 10px; }
.gal-tab { text-align: start; font: inherit; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-inline-start: 4px solid var(--line); border-radius: 12px; padding: 16px 18px; cursor: pointer; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; row-gap: 4px; transition: border-color .15s, box-shadow .15s; }
.gal-tab .n { grid-row: span 2; font-family: var(--display); font-weight: 600; color: var(--accent); font-size: 15px; }
.gal-tab b { font-size: 17px; }
.gal-tab small { font-size: 14px; color: var(--muted); line-height: 1.45; }
.gal-tab:hover { border-color: var(--line-strong); }
.gal-tab[aria-selected="true"] { border-color: var(--line); border-inline-start-color: var(--green-bright); box-shadow: 0 14px 30px rgba(10,59,78,.10); }
.gal-shot { margin: 0; }
.gal-shot[hidden] { display: none; }
.frame { border-radius: 14px; overflow: hidden; border: 1px solid var(--line-strong); box-shadow: 0 30px 60px rgba(10,59,78,.18); background: var(--white); }
.frame-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--gray); border-bottom: 1px solid var(--line); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.frame-bar span { margin-inline-start: 12px; font-size: 12px; color: var(--muted); background: var(--white); border-radius: 6px; padding: 3px 10px; }
.frame img { width: 100%; height: auto; display: block; }
.gal-shot figcaption { display: none; }
.gal-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 36px; }
.gal-cta span { color: var(--muted); font-size: 15px; }
@media (max-width: 1080px) {
  .gallery { grid-template-columns: minmax(0, 1fr); }
  .gal-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gal-tab small { display: none; }
}
.integ-caps { display: grid; gap: 8px; font-size: 15px; line-height: 1.5; }
.integ-caps li::before { top: 6px; }

/* Menu des langues (drapeaux) */
.lang-menu { position: relative; }
.lang-menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--white); color: var(--ink); font-weight: 600; font-size: 13px; line-height: 1.4; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary::after { content: ""; width: 6px; height: 6px; border-inline-end: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); margin-inline-start: 2px; }
.lang-menu[open] summary::after { transform: translateY(1px) rotate(-135deg); }
.lang-menu .drapeau { width: 20px; height: 14px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); flex: none; }
.lang-list { position: absolute; top: calc(100% + 6px); inset-inline-end: 0; min-width: 170px; list-style: none; margin: 0; padding: 6px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 18px 36px rgba(11,13,18,.14); z-index: 60; }
.lang-list a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 7px; color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500; }
.lang-list a:hover { background: var(--gray); }
.lang-list a[aria-current="true"] { background: var(--accent-tint); font-weight: 600; }
.lang-menu.lang-mobile .lang-list { position: static; box-shadow: none; border: 0; padding: 6px 0 0; }
