/* =========================================================
   SkyPharma — feuille de style du site public
   Couleurs du logo : bleu marine et orange.
   Contrastes vérifiés WCAG AA (texte >= 4.5:1, grands titres >= 3:1) :
   - bouton orange : texte bleu marine foncé sur orange (5.1:1)
   - petits textes orange / verts : teintes foncées (5:1)
   Espacements sur une grille de 8 px.
   ========================================================= */
:root {
  --navy: #14507a;
  --navy-dark: #0c3553;
  --navy-900: #0a2a42;
  --navy-50: #eef4f9;
  --navy-100: #dbe8f2;
  --orange: #f08a24;          /* fonds, accents, icônes */
  --orange-hover: #f59a3e;
  --orange-text: #b45309;     /* petit texte orange (5:1) */
  --orange-title: #d9741a;    /* grands titres seulement (3.3:1) */
  --orange-50: #fff5eb;
  --green: #15803d;
  --green-50: #ecfdf3;
  --red: #b91c1c;
  --ink: #0f1f2e;
  --text: #2c3e50;
  --muted: #52637a;           /* 6.1:1 sur blanc */
  --line: #e2e8ef;
  --bg: #ffffff;
  --bg-soft: #f5f8fb;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(15, 31, 46, .06);
  --shadow: 0 1px 2px rgba(15, 31, 46, .05), 0 10px 30px rgba(15, 31, 46, .07);
  --shadow-lg: 0 24px 60px rgba(12, 53, 83, .16);
  --wrap: 1200px;
  --header-h: 72px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: var(--navy); text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

/* ---------- Typographie ---------- */
h1, h2, h3, h4 { color: var(--ink); letter-spacing: -.02em; line-height: 1.15; }
h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-text); margin-bottom: 12px; }
.lead { font-size: 19px; color: var(--muted); }

/* ---------- Boutons (cibles tactiles >= 48 px) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: 12px; border: 2px solid transparent;
  font-weight: 700; font-size: 16px; line-height: 1.2; white-space: nowrap;
  transition: background-color .15s, border-color .15s, box-shadow .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 17px; }
.btn-primary { background: var(--orange); color: var(--navy-900); box-shadow: 0 8px 20px rgba(240, 138, 36, .28); }
.btn-primary:hover { background: var(--orange-hover); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-light { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-light:hover { background: rgba(255, 255, 255, .16); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; box-shadow: none; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.site-header .wrap { display: flex; align-items: center; gap: 32px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; min-height: 48px; }
.brand img { height: 44px; width: auto; }
.brand-text { font-weight: 800; font-size: 22px; color: var(--navy); letter-spacing: -.02em; }
.brand-text b { color: var(--orange); }
.nav { display: flex; gap: 4px; }
.nav a { padding: 10px 14px; border-radius: 10px; color: var(--text); font-weight: 500; font-size: 16px; }
.nav a:hover { background: var(--bg-soft); color: var(--navy); }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.link-login { font-weight: 600; color: var(--navy); padding: 12px 14px; border-radius: 10px; }
.link-login:hover { background: var(--bg-soft); }
.menu-toggle { display: none; width: 48px; height: 48px; border: 0; background: none; border-radius: 12px; font-size: 22px; color: var(--navy); align-items: center; justify-content: center; }
.menu-toggle:hover { background: var(--bg-soft); }
.mobile-nav { display: none; }

/* Écrans intermédiaires (≈ 960-1150 px) : menu resserré pour que « Créer mon compte » reste visible */
@media (max-width: 1150px) {
  .site-header .wrap { gap: 16px; }
  .nav a { padding: 10px 9px; font-size: 15px; }
  .header-actions .btn { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 960px) {
  .nav, .header-actions .link-login { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-actions .btn { min-height: 44px; padding: 10px 16px; font-size: 15px; }
  .mobile-nav.open { display: flex; flex-direction: column; padding: 8px 16px 20px; border-top: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
  .mobile-nav a { padding: 14px 8px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
  .mobile-nav a:last-child { border-bottom: 0; }
}
@media (max-width: 480px) {
  .site-header .wrap { gap: 12px; }
  .brand img { height: 40px; }
  .site-header .header-actions .btn { display: none; }
  .signup-page .site-header .header-actions .link-login { display: inline-block; }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { margin-bottom: 16px; }
.section-head.left { margin-left: 0; text-align: left; }
@media (max-width: 700px) { .section { padding: 64px 0; } .section-head { margin-bottom: 36px; } .lead { font-size: 17px; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 64px 0 0; background: linear-gradient(180deg, #fff 0%, var(--navy-50) 100%); }
.hero::before { content: ''; position: absolute; width: 640px; height: 640px; right: -220px; top: -260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(240, 138, 36, .18), transparent); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero-copy { padding-bottom: 72px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 24px; }
.pill span { background: var(--green-50); color: var(--green); border-radius: 999px; padding: 2px 10px; font-size: 13px; }
.hero h1 { font-size: clamp(36px, 4.4vw, 56px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--orange-title); }
.hero .lead { margin-bottom: 32px; max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.checks-inline { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; color: var(--text); font-size: 15px; font-weight: 500; }
.checks-inline i { color: var(--green); margin-right: 8px; }

.hero-visual { position: relative; align-self: end; }
.hero-photo { border-radius: var(--radius-lg) var(--radius-lg) 0 0; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 5 / 4; background: var(--navy-100); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.mock-card { position: absolute; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); padding: 16px 18px; }
.mock-sales { left: -40px; bottom: 48px; width: 230px; }
.mock-sales .label { font-size: 13px; color: var(--muted); font-weight: 600; }
.mock-sales .value { font-size: 17px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; margin: 2px 0 10px; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 44px; }
.bars span { flex: 1; border-radius: 4px 4px 0 0; background: var(--navy-100); }
.bars span.on { background: var(--navy); }
.mock-sync { right: -16px; top: 32px; display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 700; color: var(--ink); }
.mock-sync i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--green-50); color: var(--green); font-size: 18px; }
.mock-sync small { display: block; font-weight: 500; color: var(--muted); }

@media (max-width: 960px) {
  .hero { padding-top: 40px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 8px; }
  .hero-copy { padding-bottom: 32px; }
  .mock-sales { left: 12px; bottom: 16px; width: 210px; }
  .mock-sync { right: 12px; top: 12px; }
}
@media (max-width: 480px) { .hero-ctas .btn { width: 100%; } .mock-sales { display: none; } }

/* ---------- Bande moyens de paiement ---------- */
.trustbar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trustbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 22px; padding-bottom: 22px; flex-wrap: wrap; }
.trustbar p { font-size: 15px; font-weight: 600; color: var(--muted); }
.trustbar .logos { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.trustbar .logos img { height: 34px; width: auto; }
@media (max-width: 700px) { .trustbar .wrap { justify-content: center; text-align: center; } .trustbar .logos { justify-content: center; gap: 20px; } .trustbar .logos img { height: 26px; } }

/* ---------- Fonctionnalités (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card p { color: var(--muted); font-size: 16px; margin-top: 8px; }
.icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; margin-bottom: 20px; background: var(--navy-50); color: var(--navy); }
.icon.orange { background: var(--orange-50); color: var(--orange-text); }
.icon.green { background: var(--green-50); color: var(--green); }
.card-feature { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; background: linear-gradient(135deg, var(--navy), var(--navy-dark)); border: 0; color: #fff; }
.card-feature h3 { color: #fff; font-size: 26px; }
.card-feature p { color: rgba(255, 255, 255, .82); font-size: 17px; }
.card-feature .icon { background: rgba(255, 255, 255, .12); color: var(--orange); }
.card-feature ul { list-style: none; display: grid; gap: 10px; margin-top: 20px; font-size: 16px; }
.card-feature ul i { color: var(--orange); margin-right: 10px; }
.card-feature img { border-radius: 14px; width: 100%; height: 100%; max-height: 300px; object-fit: cover; }
@media (max-width: 960px) { .bento { grid-template-columns: 1fr 1fr; } .card-feature { grid-column: span 2; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .card-feature { grid-column: auto; grid-template-columns: 1fr; padding: 24px; } }

/* ---------- Bande hors-ligne ---------- */
.offline { background: var(--navy-900); color: #fff; position: relative; overflow: hidden; }
.offline::after { content: ''; position: absolute; left: -200px; bottom: -300px; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(closest-side, rgba(240, 138, 36, .22), transparent); }
.offline .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.offline h2 { color: #fff; margin-bottom: 16px; }
.offline .eyebrow { color: var(--orange); }
.offline .lead { color: rgba(255, 255, 255, .8); }
.facts { display: grid; gap: 16px; }
.fact { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.fact i { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; background: rgba(240, 138, 36, .16); color: var(--orange); font-size: 18px; }
.fact strong { display: block; color: #fff; font-size: 17px; }
.fact span { color: rgba(255, 255, 255, .78); font-size: 15px; }
@media (max-width: 960px) { .offline .wrap { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; position: relative; }
.steps::before { content: ''; position: absolute; top: 24px; left: 16%; right: 16%; height: 2px; background: repeating-linear-gradient(90deg, var(--navy-100) 0 10px, transparent 10px 18px); }
.step { position: relative; text-align: center; padding: 0 12px; }
.step-num { width: 50px; height: 50px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 800; font-size: 19px; box-shadow: 0 0 0 8px #fff; position: relative; }
.step p { color: var(--muted); margin-top: 8px; font-size: 16px; }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps::before { display: none; }
  .step { text-align: left; display: grid; grid-template-columns: 50px 1fr; gap: 0 16px; padding: 0; }
  .step-num { margin: 0; grid-row: span 2; }
}

/* ---------- Tarifs ---------- */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 24px 24px; display: flex; flex-direction: column; position: relative; }
.price-card.featured { border: 2px solid var(--orange); box-shadow: var(--shadow-lg); }
.price-card .tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--orange); color: var(--navy-900); font-size: 13px; font-weight: 700; padding: 4px 14px; border-radius: 999px; white-space: nowrap; }
.price-card .name { font-weight: 700; color: var(--ink); font-size: 19px; }
.price-card .amount { font-size: 40px; font-weight: 800; color: var(--navy); margin: 12px 0 4px; letter-spacing: -.03em; line-height: 1.1; }
.price-card .amount small { font-size: 16px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.price-card .note { color: var(--muted); font-size: 15px; min-height: 24px; }
.price-card .save { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--green); background: var(--green-50); padding: 2px 10px; border-radius: 999px; align-self: flex-start; }
.price-card ul { list-style: none; margin: 20px 0 24px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 15px; }
.price-card ul i { color: var(--green); margin-right: 10px; }
.price-card .btn { margin-top: auto; }
.pricing-foot { text-align: center; color: var(--muted); margin-top: 28px; font-size: 15px; }
@media (max-width: 1060px) { .pricing { grid-template-columns: 1fr 1fr; gap: 28px 20px; } }
@media (max-width: 560px) { .pricing { grid-template-columns: 1fr; } }

/* ---------- Téléchargements ---------- */
.downloads { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.dl-card { border-radius: var(--radius-lg); padding: 32px; border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; gap: 16px; }
.dl-card .head { display: flex; align-items: center; gap: 16px; }
.dl-card .os { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 28px; background: var(--navy-50); color: var(--navy); }
.dl-card.android .os { background: var(--green-50); color: var(--green); }
.dl-card .head small { display: block; color: var(--muted); font-size: 14px; font-weight: 500; }
.dl-card p { color: var(--muted); font-size: 16px; }
.dl-card .btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; padding-top: 8px; }
@media (max-width: 800px) { .downloads { grid-template-columns: 1fr; } .dl-card { padding: 24px; } .dl-card .btns .btn { flex: 1 1 100%; } }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: start; }
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary { font-weight: 700; color: var(--ink); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '\f078'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 14px; color: var(--orange-text); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details p { padding: 0 24px 20px; color: var(--muted); }
.faq-contact { margin-top: 24px; }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Appel final ---------- */
.cta-band { background: linear-gradient(135deg, var(--navy), var(--navy-dark)); color: #fff; border-radius: var(--radius-lg); padding: 56px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-band::after { content: ''; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(240, 138, 36, .3), transparent); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: rgba(255, 255, 255, .82); font-size: 18px; }
.cta-band .btns { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 700px) { .cta-band { padding: 36px 24px; } .cta-band .btns, .cta-band .btn { width: 100%; } }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy-900); color: #b9c6d3; padding: 64px 0 32px; }
.site-footer .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.site-footer a { color: #b9c6d3; display: block; padding: 6px 0; font-size: 15px; }
@media (max-width: 860px) { .site-footer a { padding: 11px 0; } }
.site-footer a:hover { color: #fff; }
.site-footer .logo-chip { display: inline-flex; background: #fff; border-radius: 12px; padding: 8px 12px; margin-bottom: 16px; }
.site-footer .logo-chip img { height: 34px; width: auto; }
.site-footer p { font-size: 15px; }
.site-footer .bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 48px; padding-top: 24px; font-size: 14px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer .cols { grid-template-columns: 1fr; gap: 28px; } }

.whatsapp-float { position: fixed; right: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 28px; box-shadow: 0 8px 22px rgba(37, 211, 102, .4); z-index: 60; }

/* =========================================================
   Page d'inscription (une seule page, 3 étapes)
   ========================================================= */
.signup-page { background: var(--bg-soft); min-height: 100vh; }
.signup { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; padding: 36px 24px 120px; }
.signup-main { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); }
.signup h1 { font-size: clamp(26px, 3.4vw, 34px); font-weight: 800; margin-bottom: 4px; }
.signup .sub { color: var(--muted); margin-bottom: 26px; }

.progress { display: flex; gap: 8px; margin-bottom: 28px; list-style: none; }
.progress li { flex: 1; font-size: 14px; font-weight: 600; color: var(--muted); }
.progress li::before { content: ''; display: block; height: 5px; border-radius: 99px; background: var(--line); margin-bottom: 8px; }
.progress li.done::before, .progress li.active::before { background: var(--orange); }
.progress li.active { color: var(--ink); }

.step-panel { display: none; padding: 0; }
.step-panel.active { display: block; animation: fade .2s ease; }
@keyframes fade { from { transform: translateY(6px); } to { transform: none; } }
.step-panel h2 { font-size: 22px; margin-bottom: 4px; }
.step-panel .hint { color: var(--muted); font-size: 15px; margin-bottom: 18px; }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 12px; }
.plan { position: relative; display: block; cursor: pointer; }
.plan input { position: absolute; opacity: 0; pointer-events: none; }
.plan .box { display: block; border: 2px solid var(--line); border-radius: var(--radius); padding: 16px; height: 100%; transition: border-color .15s, background .15s; }
.plan .box strong { display: block; color: var(--ink); font-size: 16px; }
.plan .box .p { display: block; font-size: 22px; font-weight: 800; color: var(--navy); margin-top: 6px; }
.plan .box small { display: block; color: var(--muted); font-size: 13px; }
.plan .badge { position: absolute; top: -10px; right: 10px; background: var(--green); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 99px; }
.plan input:checked ~ .box { border-color: var(--orange); background: var(--orange-50); }
.plan input:focus-visible ~ .box { outline: 3px solid var(--orange); outline-offset: 2px; }

.size-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.stepper { display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.stepper .lbl { font-weight: 600; color: var(--ink); font-size: 15px; }
.stepper .lbl small { display: block; color: var(--muted); font-weight: 500; font-size: 13px; }
.stepper .ctrl { display: flex; align-items: center; gap: 10px; }
.stepper button { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-size: 20px; font-weight: 700; color: var(--navy); }
.stepper button:hover { border-color: var(--navy); }
.stepper output { min-width: 22px; text-align: center; font-weight: 800; font-size: 17px; color: var(--ink); }
.demo-note { margin-top: 18px; padding: 12px 14px; background: var(--green-50); color: #14532d; border-radius: 12px; font-size: 15px; }
@media (max-width: 560px) { .size-row { grid-template-columns: 1fr; } }

.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; color: var(--ink); font-size: 15px; margin-bottom: 6px; }
.field .opt { color: var(--muted); font-weight: 500; font-size: 13px; }
.input { position: relative; }
.input > i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.input input {
  width: 100%; height: 52px; border: 1px solid #b8c4d0; border-radius: 12px; padding: 0 14px 0 42px;
  font: inherit; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s;
}
.input input::placeholder { color: #7a8a9c; }
.input input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(20, 80, 122, .14); }
.input .toggle-pass { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--muted); width: 44px; height: 44px; border-radius: 10px; }
.field.has-error .input input { border-color: var(--red); border-width: 2px; }
.field .err { color: var(--red); font-size: 14px; margin-top: 6px; display: none; }
.field.has-error .err { display: block; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 560px) { .grid-2 { grid-template-columns: 1fr; } }

.operators { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 18px; }
.operator { border: 2px solid var(--line); border-radius: 12px; background: #fff; height: 64px; padding: 8px; display: grid; place-items: center; }
.operator img { max-height: 40px; width: auto; object-fit: contain; }
.operator.active { border-color: var(--orange); background: var(--orange-50); }
@media (max-width: 560px) { .operators { grid-template-columns: repeat(3, 1fr); } }

.actions { display: flex; gap: 12px; margin-top: 24px; }
.actions .btn-ghost { flex: 0 0 auto; }
.actions .btn-primary { flex: 1; }

.alert { padding: 12px 14px; border-radius: 12px; font-size: 15px; margin-bottom: 16px; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert-info { background: var(--navy-50); color: var(--navy-dark); border: 1px solid #cfe0ee; }
.alert-test { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }

.summary { position: sticky; top: 96px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); }
.summary h3 { font-size: 17px; margin-bottom: 14px; }
.summary .row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.summary .row span:last-child { font-weight: 600; color: var(--ink); text-align: right; }
.summary .total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; }
.summary .total strong { font-size: 30px; color: var(--navy); letter-spacing: -1px; }
.summary .discount { color: var(--green); font-size: 14px; font-weight: 600; min-height: 20px; }
.summary .secure { margin-top: 16px; color: var(--muted); font-size: 13px; display: flex; gap: 8px; }
.mobile-total { display: none; }
@media (max-width: 960px) {
  .signup { grid-template-columns: 1fr; padding: 24px 16px 110px; }
  .summary { display: none; }
  .signup-main { padding: 24px 18px; }
  .mobile-total {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff;
    border-top: 1px solid var(--line); padding: 12px 20px; justify-content: space-between; align-items: center; box-shadow: 0 -8px 24px rgba(15, 31, 46, .08);
  }
  .mobile-total strong { font-size: 22px; color: var(--navy); }
  .mobile-total small { display: block; color: var(--muted); font-size: 13px; }
}
@media (max-width: 480px) { .plan .box { padding: 12px; } .plan .box .p { font-size: 19px; } }

.state { text-align: center; padding: 20px 0 8px; }
.state .big-ico { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px; font-size: 32px; }
.state.wait .big-ico { background: var(--orange-50); color: var(--orange-text); }
.state.ok .big-ico { background: var(--green-50); color: var(--green); }
.state p { color: var(--muted); max-width: 460px; margin: 0 auto 10px; }
.state .countdown { font-weight: 800; color: var(--ink); font-size: 22px; margin: 12px 0; }
.state .btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 22px; }
.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Secteurs (CNTD One) ---------- */
.sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sector-card { display: flex; align-items: center; gap: 16px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); transition: border-color .15s, box-shadow .15s, transform .15s; min-height: 96px; }
.sector-card:hover { border-color: var(--navy); box-shadow: var(--shadow); transform: translateY(-2px); }
.sector-card .icon { margin: 0; flex-shrink: 0; }
.sector-card strong { display: block; color: var(--ink); font-size: 18px; }
.sector-card small { display: block; color: var(--muted); font-size: 14px; line-height: 1.4; }
.sector-card .go { margin-left: auto; color: var(--navy); }
@media (max-width: 960px) { .sectors { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .sectors { grid-template-columns: 1fr; } }
.sectors-pick .box { text-align: left; }
.sector-ico { display: block; font-size: 20px; color: var(--navy); margin-bottom: 8px; }
.plan input:checked ~ .box .sector-ico { color: var(--orange-text); }
.plans.sectors-pick { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 560px) { .plans.sectors-pick { grid-template-columns: 1fr 1fr; } }
