/* SmartGalaxy — feuille de style unique (FR + AR)
   Mise en page : bandes "espace" sombres (accueil, boutique, contact) qui
   alternent avec des bandes claires de lecture. Mobile d'abord. */
:root {
  --space: #010B18;        /* fond espace */
  --space-2: #06182B;      /* cartes sur fond sombre */
  --space-line: #17304A;
  --lime: #8CC63F;         /* accent du logo (sur fond sombre) */
  --lime-hi: #A6DD4E;
  --emerald: #059669;      /* vert du logiciel (sur fond clair) */
  --emerald-dk: #047857;
  --paper: #FFFFFF;
  --paper-2: #F3F7F5;      /* gris très légèrement vert */
  --ink: #0B1A2A;
  --ink-2: #44566B;
  --line: #DCE5E1;
  --on-dark: #EAF1F8;
  --on-dark-2: #A9BACB;
  --todo-bg: #FFF6D6;
  --todo-ink: #6B4E00;
  --wa: #25D366;

  --f-display: "Poppins", "Segoe UI", Roboto, Arial, sans-serif;
  --f-body: "Poppins", "Segoe UI", Roboto, Arial, sans-serif;

  --r: 14px;
  --gut: clamp(16px, 4vw, 32px);
  --max: 1160px;
  color-scheme: light;
}
html[lang="ar"] {
  --f-display: "Cairo", "Segoe UI", Tahoma, Arial, sans-serif;
  --f-body: "Cairo", "Segoe UI", Tahoma, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-body); font-size: 1rem; line-height: 1.65;
  overflow-x: hidden;
}
html[lang="ar"] body { line-height: 1.8; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.2; margin: 0; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 8px; top: -60px; background: var(--lime); color: var(--space); padding: 8px 14px; border-radius: 8px; z-index: 100; font-weight: 600; }
.skip:focus { top: 8px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(56px, 9vw, 104px); }
.section--alt { background: var(--paper-2); }
.section--dark { background: var(--space); color: var(--on-dark); }
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--emerald); margin-bottom: 10px; }
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: .95rem; }
.section--dark .eyebrow, .hero .eyebrow { color: var(--lime); }
.h2 { font-size: clamp(1.6rem, 4.6vw, 2.5rem); font-weight: 700; }
.lead { font-size: clamp(1rem, 2.4vw, 1.12rem); color: var(--ink-2); max-width: 62ch; margin-top: 14px; }
.section--dark .lead { color: var(--on-dark-2); }
.head { margin-bottom: clamp(28px, 5vw, 48px); }

/* ---------- Emplacements à compléter ---------- */
.todo {
  display: inline-block; background: var(--todo-bg); color: var(--todo-ink);
  border: 1.5px dashed #D9A600; border-radius: 6px; padding: 1px 8px;
  font-size: .9em; font-weight: 500; line-height: 1.5;
}
.todo-note { display: block; margin-top: 18px; padding: 12px 14px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1.2 var(--f-body); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn--wa { background: var(--lime); color: var(--space); }
.btn--wa:hover { background: var(--lime-hi); }
.btn--ghost { border-color: rgba(234, 241, 248, .35); color: var(--on-dark); background: transparent; }
.btn--ghost:hover { border-color: var(--on-dark); }
.btn--green { background: var(--emerald); color: #fff; }
.btn--green:hover { background: var(--emerald-dk); }
.btn--line { border-color: var(--emerald); color: var(--emerald-dk); background: transparent; }
.btn--line:hover { background: var(--emerald); color: #fff; }
.btn--block { width: 100%; }

/* ---------- En-tête ---------- */
.topbar {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--space); color: var(--on-dark);
  border-bottom: 1px solid var(--space-line);
}
.topbar__in { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: "Poppins", var(--f-display); font-weight: 700; font-size: 1.12rem; letter-spacing: .02em; }
.brand img { width: 40px; height: 32px; object-fit: contain; }
.brand b { color: var(--lime); font-weight: 700; }
.brand small { display: block; font-size: .58rem; letter-spacing: .3em; color: var(--on-dark-2); font-weight: 500; margin-top: -2px; }
.nav { display: none; }
.nav a { text-decoration: none; color: var(--on-dark-2); font-size: .94rem; padding: 6px 2px; white-space: nowrap; }
.nav a:hover { color: #fff; }
.topbar__end { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.lang { text-decoration: none; border: 1px solid var(--space-line); border-radius: 999px; padding: 6px 12px; font-size: .9rem; font-weight: 600; color: var(--on-dark); }
.lang:hover { border-color: var(--lime); }
.lang [lang="ar"] { font-family: "Cairo", sans-serif; }
.topbar .btn { min-height: 40px; padding: 8px 16px; font-size: .9rem; display: none; white-space: nowrap; }
.menu-btn { width: 44px; height: 44px; display: grid; place-items: center; background: transparent; border: 1px solid var(--space-line); border-radius: 10px; color: var(--on-dark); cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }
.drawer { border-top: 1px solid var(--space-line); padding-block: 12px 18px; }
.drawer a { display: block; padding: 12px 4px; color: var(--on-dark); text-decoration: none; border-bottom: 1px solid var(--space-line); font-weight: 500; }
.drawer .btn { margin-top: 16px; border-bottom: 0; color: var(--space); }
@media (min-width: 1140px) {
  .nav { display: flex; gap: 20px; margin-inline-start: 28px; }
  .menu-btn, .drawer { display: none !important; }
  .topbar .btn { display: inline-flex; }
}

/* ---------- Accueil ---------- */
.hero { position: relative; background: var(--space); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.hero__sky { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; opacity: .9; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 80% at 50% 100%, rgba(1, 11, 24, 0) 0%, rgba(1, 11, 24, .55) 60%, var(--space) 100%); pointer-events: none; }
.hero__in { display: grid; gap: 40px; padding-block: clamp(40px, 8vw, 88px) clamp(48px, 8vw, 96px); align-items: center; }
.hero h1 { font-size: clamp(2rem, 7.4vw, 3.6rem); font-weight: 700; letter-spacing: -.015em; }
html[lang="ar"] .hero h1 { letter-spacing: 0; font-weight: 800; line-height: 1.35; }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero__sub { margin-top: 18px; font-size: clamp(1.02rem, 2.6vw, 1.2rem); color: var(--on-dark-2); max-width: 54ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__cta .btn { flex: 1 1 220px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 26px; list-style: none; font-size: .92rem; color: var(--on-dark-2); }
.facts li { display: inline-flex; align-items: center; gap: 8px; }
.facts svg { width: 18px; height: 18px; color: var(--lime); flex: none; }
.hero__visual { position: relative; padding-bottom: 28px; padding-inline-end: 12%; isolation: isolate; }
.hero__visual::before {
  content: ""; position: absolute; z-index: -1; inset: -42% -22% -36% -26%;
  background: url("../img/galaxie.webp") center / contain no-repeat; opacity: 1;
  -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent);
          mask-image: radial-gradient(closest-side, #000 72%, transparent);
}
@media (max-width: 899px) { .hero__visual::before { inset: -12% -14% -30% -18%; } }
html[dir="rtl"] .hero__visual::before { transform: scaleX(-1); }
.hero__visual .shot--phone { position: absolute; inset-inline-end: 0; bottom: 0; width: 30%; min-width: 110px; }
@media (min-width: 900px) { .hero__in { grid-template-columns: 1.02fr 1fr; } }

/* ---------- Cadres de captures (maquettes) ---------- */
.shot { margin: 0; }
.shot__frame { background: #0E1B2B; border-radius: 14px; padding: 10px; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .06) inset; }
.shot--laptop .shot__frame { border-radius: 14px 14px 4px 4px; padding: 10px 10px 12px; }
.shot--laptop::after { content: ""; display: block; height: 12px; margin-inline: -4%; background: linear-gradient(#22344A, #0E1B2B); border-radius: 0 0 12px 12px; }
.shot--phone .shot__frame { border-radius: 26px; padding: 8px; }
.shot--tablet .shot__frame { border-radius: 20px; padding: 14px; }
.shot__screen { position: relative; overflow: hidden; border-radius: 6px; background: #F4F7F6; aspect-ratio: 16 / 10; }
.shot--phone .shot__screen { aspect-ratio: 9 / 19; border-radius: 18px; }
.shot--tablet .shot__screen { aspect-ratio: 4 / 3; border-radius: 8px; }
.shot__screen > img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.shot figcaption { margin-top: 12px; font-size: .85rem; color: var(--ink-2); text-align: center; }
.section--dark .shot figcaption, .hero .shot figcaption { color: var(--on-dark-2); }

/* Esquisse d'interface affichée tant que la vraie capture n'est pas là */
.ph { position: absolute; inset: 0; display: grid; padding: 6%; gap: 4%; font-size: 10px; }
.ph i { display: block; background: #DDE6E2; border-radius: 3px; }
.ph .g { background: var(--emerald); }
.ph .l { background: var(--lime); }
.ph__label {
  position: absolute; inset-inline: 8px; bottom: 8px; z-index: 2; text-align: center;
  background: rgba(1, 11, 24, .82); color: #fff; border-radius: 6px; padding: 4px 8px;
  font: 600 11px/1.4 var(--f-body); letter-spacing: .02em;
}
/* caisse */
.ph--pos { grid-template-columns: 1.6fr 1fr; }
.ph--pos .tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6%; align-content: start; }
.ph--pos .tiles i { aspect-ratio: 1; }
.ph--pos .ticket { background: #fff; border-radius: 4px; padding: 8%; display: grid; gap: 7px; align-content: start; box-shadow: 0 1px 0 #DDE6E2; }
.ph--pos .ticket i { height: 6px; }
.ph--pos .ticket .g { height: 16px; margin-top: 8px; }
/* grille tailles couleurs */
.ph--grid { grid-template-columns: repeat(6, 1fr); align-content: start; gap: 6px; }
.ph--grid i { height: 18px; background: #fff; box-shadow: 0 0 0 1px #DDE6E2 inset; }
.ph--grid .hd { background: #C9D6D1; }
.ph--grid .g { background: rgba(5, 150, 105, .35); }
/* tableau de bord */
.ph--dash { grid-template-columns: repeat(3, 1fr); grid-template-rows: auto 1fr; }
.ph--dash .k { height: 34px; background: #fff; box-shadow: 0 0 0 1px #DDE6E2 inset; position: relative; }
.ph--dash .k::after { content: ""; position: absolute; inset-inline-start: 10%; top: 40%; width: 50%; height: 7px; background: var(--emerald); border-radius: 2px; }
.ph--dash .bars { grid-column: 1 / -1; display: flex; align-items: flex-end; gap: 4%; background: #fff; border-radius: 4px; padding: 5%; }
.ph--dash .bars i { flex: 1; background: var(--emerald); border-radius: 2px 2px 0 0; }
/* facture */
.ph--doc { background: #fff; margin: 5% 14%; padding: 8%; gap: 7px; align-content: start; box-shadow: 0 6px 18px rgba(0, 0, 0, .08); }
.ph--doc i { height: 6px; }
.ph--doc .row { display: grid; grid-template-columns: 3fr 1fr 1fr; gap: 6px; }
/* boutique téléphone */
.ph--shop { grid-template-columns: 1fr 1fr; align-content: start; gap: 8px; padding: 8%; }
.ph--shop .bar { grid-column: 1 / -1; height: 22px; background: var(--space); border-radius: 6px; }
.ph--shop .card { background: #fff; border-radius: 6px; padding: 6px; display: grid; gap: 5px; box-shadow: 0 0 0 1px #DDE6E2 inset; }
.ph--shop .card i:first-child { aspect-ratio: 1; }
.ph--shop .card i { height: 5px; }
.ph--shop .cart { grid-column: 1 / -1; height: 24px; background: var(--emerald); border-radius: 999px; margin-top: 6px; }

/* ---------- Mise en avant des fonctions ---------- */
.spot { display: grid; gap: 28px; align-items: center; }
.spot + .spot { margin-top: clamp(56px, 9vw, 96px); }
.spot h3 { font-size: clamp(1.35rem, 3.6vw, 1.9rem); font-weight: 700; }
.spot__text p { color: var(--ink-2); margin-top: 12px; max-width: 56ch; }
.ticks { list-style: none; display: grid; gap: 10px; margin-top: 20px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.ticks svg { width: 22px; height: 22px; color: var(--emerald); margin-top: 2px; }
.section--dark .ticks svg { color: var(--lime); }
.tag { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--emerald-dk); background: rgba(5, 150, 105, .1); border-radius: 999px; padding: 2px 10px; vertical-align: middle; margin-inline-start: 8px; }
html[lang="ar"] .tag { letter-spacing: 0; font-size: .8rem; }
.section--dark .tag { color: var(--lime); background: rgba(140, 198, 63, .12); }
@media (min-width: 880px) {
  .spot { grid-template-columns: 1fr 1.15fr; gap: 64px; }
  .spot--flip .spot__media { order: -1; }
}

/* ---------- Grille des modules ---------- */
.mods { display: grid; gap: 14px; margin-top: clamp(48px, 8vw, 80px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.mod { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.mod__ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--space); color: var(--lime); }
.mod__ic svg { width: 24px; height: 24px; }
.mod h3 { font-size: 1.08rem; font-weight: 600; margin-top: 6px; }
.mod p { color: var(--ink-2); font-size: .95rem; }
.mod details { margin-top: 4px; border-top: 1px solid var(--line); padding-top: 10px; }
.mod summary { cursor: pointer; font-weight: 600; font-size: .9rem; color: var(--emerald-dk); list-style: none; display: flex; align-items: center; gap: 6px; min-height: 32px; }
.mod summary::-webkit-details-marker { display: none; }
.mod summary::after { content: "+"; font-size: 1.2rem; line-height: 1; }
.mod details[open] summary::after { content: "−"; }
.mod details ul { list-style: none; display: grid; gap: 6px; margin-top: 8px; font-size: .92rem; color: var(--ink-2); }
.mod details li { padding-inline-start: 16px; position: relative; }
.mod details li::before { content: ""; position: absolute; inset-inline-start: 0; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--emerald); }
.mod--wide { grid-column: 1 / -1; }

/* ---------- Secteurs ---------- */
.sectors { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); list-style: none; }
.sector { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; padding: 18px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); }
.sector svg { width: 48px; height: 48px; padding: 11px; border-radius: 12px; background: rgba(5, 150, 105, .1); color: var(--emerald-dk); }
.sector h3 { font-size: 1rem; font-weight: 600; }
.sector p { font-size: .9rem; color: var(--ink-2); margin-top: 4px; }

/* ---------- Boutique en ligne ---------- */
.shop { display: grid; gap: 40px; align-items: center; }
.shop__phone { max-width: 270px; margin-inline: auto; width: 70%; }
.addr { margin-top: 24px; padding: 14px 16px; border-radius: 12px; background: var(--space-2); border: 1px solid var(--space-line); font-size: .92rem; color: var(--on-dark-2); }
.addr code { font-family: ui-monospace, Menlo, Consolas, monospace; color: var(--lime); font-size: .95em; word-break: break-all; direction: ltr; unicode-bidi: embed; }
.note { margin-top: 14px; font-size: .9rem; color: var(--on-dark-2); }
@media (min-width: 880px) { .shop { grid-template-columns: 1.2fr .8fr; gap: 64px; } }

/* ---------- Offres ---------- */
.plans { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.plan { position: relative; display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 12px; padding: 26px 22px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); min-width: 0; }
.plan--hl { background: var(--space); color: var(--on-dark); border-color: var(--space); }
.plan--hl .plan__for, .plan--hl .ticks li { color: var(--on-dark-2); }
.plan--hl .ticks svg { color: var(--lime); }
.plan__kicker { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--emerald); }
html[lang="ar"] .plan__kicker { letter-spacing: 0; font-size: .9rem; }
.plan--hl .plan__kicker { color: var(--lime); }
.plan h3 { font-size: 1.4rem; font-weight: 700; }
.plan__for { color: var(--ink-2); font-size: .95rem; }
.plan .ticks { margin-top: 4px; font-size: .95rem; }
.price { font-family: var(--f-display); font-size: 1.05rem; padding-top: 14px; border-top: 1px dashed var(--line); }
.plan--hl .price { border-color: var(--space-line); }
.opts { margin-top: 28px; padding: 22px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); }
.opts h3 { font-size: 1.1rem; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: 14px; }
.chips li { border: 1px solid var(--line); background: var(--paper-2); border-radius: 999px; padding: 6px 14px; font-size: .9rem; }
.extra { display: grid; gap: 14px; margin-top: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.extra > div { padding: 20px 22px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); }
.extra h3 { font-size: 1.02rem; font-weight: 600; margin-bottom: 8px; }
.extra p { color: var(--ink-2); font-size: .95rem; }

/* ---------- Pourquoi ---------- */
.why { display: grid; gap: 40px; align-items: center; }
.why__list { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); list-style: none; }
.why__list h3 { font-size: 1.05rem; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.why__list h3 svg { width: 26px; height: 26px; color: var(--emerald); flex: none; }
.why__list p { color: var(--ink-2); font-size: .95rem; margin-top: 6px; }
@media (min-width: 960px) { .why { grid-template-columns: 1.25fr .75fr; gap: 64px; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 18px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--emerald); flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 18px 18px; color: var(--ink-2); }

/* ---------- Accès client ---------- */
.access { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; padding: clamp(22px, 4vw, 34px); border-radius: 20px; background: var(--space); color: var(--on-dark); border: 1px solid var(--space-line); }
.access h2 { font-size: clamp(1.3rem, 3.4vw, 1.7rem); font-weight: 700; }
.access p { color: var(--on-dark-2); }
.access__row { display: flex; flex-wrap: wrap; gap: 10px; }
.access__field { flex: 1 1 240px; min-width: 0; display: flex; align-items: stretch; border-radius: 12px; overflow: hidden; border: 1px solid var(--space-line); background: var(--space-2); direction: ltr; }
.access__field input { flex: 1; min-width: 0; border: 0; background: transparent; color: #fff; padding: 12px 14px; font: 500 1rem var(--f-body); }
.access__field input:focus { outline: none; }
.access__field:focus-within { border-color: var(--lime); }
.access__field span { display: grid; place-items: center; padding-inline: 12px; font-size: .82rem; color: var(--on-dark-2); background: rgba(255, 255, 255, .03); white-space: nowrap; }
.access__url { font-size: .88rem; color: var(--on-dark-2); min-height: 1.4em; }
.access__url code { color: var(--lime); direction: ltr; unicode-bidi: embed; word-break: break-all; }
.access__err { color: #FFB4A8; font-size: .9rem; }
@media (min-width: 880px) { .access { grid-template-columns: 1fr 1.2fr; align-items: center; gap: 32px; } }
@media (max-width: 420px) { .access__field span { display: none; } }

/* ---------- Contact ---------- */
.contact { display: grid; gap: 28px; }
.ways { display: grid; gap: 10px; list-style: none; }
.way { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--space-2); border: 1px solid var(--space-line); text-decoration: none; color: var(--on-dark); }
.way:hover { border-color: var(--lime); }
.way svg { width: 46px; height: 46px; padding: 11px; border-radius: 12px; background: rgba(140, 198, 63, .12); color: var(--lime); }
.way small { display: block; color: var(--on-dark-2); font-size: .82rem; }
.way strong { font-weight: 600; direction: ltr; unicode-bidi: isolate; }
.form { display: grid; gap: 14px; padding: clamp(20px, 4vw, 30px); border-radius: 20px; background: var(--paper); color: var(--ink); }
.form h3 { font-size: 1.25rem; font-weight: 700; }
.form p.small { font-size: .9rem; color: var(--ink-2); }
.form .two { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: .9rem; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 13px; background: #fff;
  font: 400 1rem var(--f-body); color: var(--ink);
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(5, 150, 105, .15); }
.form__ok { font-size: .92rem; color: var(--emerald-dk); }
@media (min-width: 900px) { .contact { grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; } }

/* ---------- Pied de page ---------- */
.footer { background: #00040D; color: var(--on-dark-2); padding-block: 48px calc(96px + env(safe-area-inset-bottom, 0px)); font-size: .92rem; }
.footer__grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.footer h3 { color: var(--on-dark); font-size: .95rem; font-weight: 600; margin-bottom: 10px; }
.footer ul { list-style: none; display: grid; gap: 6px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }
.footer__base { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--space-line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* ---------- Bouton WhatsApp flottant ---------- */
.wa-float {
  position: fixed; z-index: 60; inset-inline-end: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border-radius: 999px;
  background: var(--wa); color: #06301A; font-weight: 700; text-decoration: none; font-size: .95rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .3);
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { filter: brightness(1.05); }
@media (max-width: 380px) { .wa-float span { display: none; } .wa-float { padding: 14px; } }

/* Offre unique (en ligne) */
.plans:has(.plan--solo) { grid-template-columns: minmax(0, 1fr); }
.plan--solo { grid-template-rows: none; gap: 24px; padding: clamp(24px, 4vw, 40px); }
.plan--solo h3 { font-size: clamp(1.4rem, 3.4vw, 1.9rem); margin-block: 6px 8px; }
.plan--solo .ticks { margin-top: 18px; }
.plan--solo code { display: inline-block; font-family: ui-monospace, Menlo, Consolas, monospace; color: var(--lime); font-size: .9em; overflow-wrap: anywhere; }
.plan__side { align-self: end; }
.plan--solo .price { border-color: var(--space-line); }
@media (min-width: 880px) {
  .plan--solo { grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: end; }
  .plan--solo .plan__side .price { border-top: 0; padding-top: 0; font-size: 1.15rem; }
}

/* Grille tarifaire (3 formules) */
.plans--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); align-items: stretch; }
.plans--3 .plan { display: flex; flex-direction: column; gap: 10px; }
.plans--3 .plan .ticks { flex: 1; margin-block: 6px 10px; }
.plan__badge { align-self: flex-start; background: var(--lime); color: var(--space); font-size: .75rem; font-weight: 700; border-radius: 999px; padding: 3px 12px; }
.plan__price { font-family: var(--f-display); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; padding-block: 12px; border-block: 1px dashed var(--line); }
.plan--hl .plan__price { border-color: var(--space-line); }
.plan__price strong { font-size: clamp(1.8rem, 5vw, 2.2rem); font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.plan__price span { color: var(--ink-2); font-weight: 500; }
.plan--hl .plan__price span, .plan--hl .plan__price small { color: var(--on-dark-2); }
.plan__price small { flex-basis: 100%; font-size: .85rem; color: var(--ink-2); font-family: var(--f-body); }
.plans__note { margin-top: 14px; font-size: .9rem; color: var(--ink-2); }
.chips--price li { display: inline-flex; gap: 8px; align-items: baseline; }
.chips--price b { color: var(--emerald-dk); font-weight: 700; white-space: nowrap; }
@media (min-width: 980px) { .plans--3 .plan--hl { transform: translateY(-8px); } }
.plans--3 .plan .ticks { align-content: start; }
