/* ==========================================================================
   AlloPRO — couche de design (chargée après style.css)
   Même identité (bleu AlloPRO, fond clair), mais un système unique :
   une police, une échelle typographique, un style de bouton, de carte et de champ.
   ========================================================================== */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.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: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #0b1533;
  --blue-900: #0b1533;
  --muted: #5a6684;
  --line: #e3e9f4;
  --border: #e3e9f4;
  --field-line: #d3dbea;
  --surface: #ffffff;
  --page: #f6f8fc;
  --blue-50: #f3f7ff;
  --blue-100: #e7efff;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow: 0 1px 2px rgba(11, 21, 51, .04), 0 12px 32px rgba(11, 21, 51, .06);
  --shadow-sm: 0 1px 2px rgba(11, 21, 51, .05), 0 4px 14px rgba(11, 21, 51, .04);
  --shadow-lg: 0 2px 4px rgba(11, 21, 51, .04), 0 24px 56px rgba(11, 21, 51, .10);
}

/* ---------- Base ---------- */
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-feature-settings: "cv11", "ss01", "calt";
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
button, input, textarea, select { font-family: inherit; }
::selection { background: rgba(11, 85, 255, .16); }

h1, h2, h3, h4 { color: var(--ink); text-wrap: balance; }
h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -.032em;
  font-weight: 800;
  margin-bottom: 18px;
  overflow-wrap: break-word;
}
h2 {
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  line-height: 1.15;
  letter-spacing: -.024em;
  font-weight: 750;
  margin-bottom: 12px;
}
h3 { font-size: 1.08rem; line-height: 1.3; letter-spacing: -.01em; font-weight: 650; }
p { text-wrap: pretty; }
.lead {
  font-size: clamp(1.02rem, 1.4vw, 1.16rem);
  line-height: 1.6;
  color: var(--muted);
  max-width: 60ch;
  font-weight: 400;
}
.container { width: min(1120px, calc(100% - 48px)); }
.narrow { width: min(720px, calc(100% - 48px)); }
.section-pad { padding: 72px 0; }
.compact-top { padding-top: 8px; }

/* ---------- En-tête ---------- */
.site-header {
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
}
.nav { height: 68px; }
.brand { font-size: 1.32rem; font-weight: 800; letter-spacing: -.03em; gap: 10px; }
.brand-word strong { font-weight: 800; }
.brand-logo { width: 34px; height: 34px; filter: none; }
.nav-menu { gap: 6px; }
.nav-menu > a:not(.btn), .link-button {
  font-size: .94rem;
  font-weight: 550;
  color: #33405f;
  padding: 8px 12px;
  border-radius: var(--r-sm);
  border: 0;
  transition: background .15s ease, color .15s ease;
}
.nav-menu > a:not(.btn):hover, .link-button:hover { background: var(--blue-50); color: var(--ink); }
.nav-menu .nav-active {
  color: var(--blue-700) !important;
  background: var(--blue-100);
  border: 0;
  border-radius: var(--r-sm);
  padding: 8px 12px;
}
.nav-account-link, .logout-link { font-weight: 550 !important; }
.logout-link { color: #b42318 !important; }
.logout-link:hover { background: #fff1f0 !important; }
.nav-menu > .btn { margin-left: 8px; }
.nav-toggle {
  border: 1px solid var(--line);
  background: white;
  border-radius: var(--r-sm);
  padding: 9px 14px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: none;
}

/* ---------- Boutons ---------- */
.btn {
  border-radius: var(--r-sm);
  padding: 11px 18px;
  font-weight: 600;
  font-size: .96rem;
  line-height: 1.25;
  letter-spacing: -.005em;
  border: 1px solid transparent;
  gap: 8px;
  transition: background .15s ease, box-shadow .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:hover { transform: none; }
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--blue-600);
  color: white;
  box-shadow: 0 1px 2px rgba(11, 21, 51, .12), 0 6px 16px rgba(11, 85, 255, .22);
}
.btn-primary:hover { background: #0a49dc; color: white; box-shadow: 0 1px 2px rgba(11, 21, 51, .14), 0 10px 24px rgba(11, 85, 255, .28); }
.btn-secondary, .btn-ghost, .btn-outline {
  background: white;
  color: var(--ink);
  border: 1px solid var(--field-line);
  box-shadow: 0 1px 2px rgba(11, 21, 51, .04);
}
.btn-secondary:hover, .btn-ghost:hover, .btn-outline:hover { background: var(--blue-50); border-color: #b9c8e6; color: var(--ink); }
.btn-white { background: white; color: var(--blue-700); box-shadow: 0 1px 2px rgba(11, 21, 51, .1); }
.btn-white:hover { background: #f3f7ff; color: var(--blue-700); }
.btn-large { padding: 14px 22px; font-size: 1rem; border-radius: 12px; }
.btn-danger { border-radius: var(--r-sm); box-shadow: none; }
.btn-ghost-danger { background: transparent; border-color: transparent; box-shadow: none; color: #b42318; }
.btn-disabled, .btn:disabled { box-shadow: none; }

/* ---------- Étiquettes ---------- */
.eyebrow {
  background: transparent;
  border: 0;
  padding: 0;
  border-radius: 0;
  color: var(--blue-600);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.eyebrow.light { background: transparent; color: rgba(255, 255, 255, .8); }
.badge {
  background: var(--blue-100);
  color: var(--blue-700);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: .78rem;
  font-weight: 650;
}

/* ---------- Cartes ---------- */
.tool-card, .value-card, .panel, .pricing-card, .form-card, .contact-card, .content-card,
.dash-card, .public-preview-card, .lead-card, .admin-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.tool-card p, .value-card span, .pricing-card p, .panel p, .contact-card p, .content-card p { font-weight: 400; }
.form-card { padding: 28px; box-shadow: var(--shadow); }
.dash-card { padding: 24px 26px; border-radius: 18px; }

/* ---------- Messages ---------- */
.flashes { margin-top: 20px; }
.flash {
  border-radius: var(--r-md);
  padding: 12px 16px 12px 44px;
  position: relative;
  box-shadow: none;
  font-weight: 500;
  font-size: .96rem;
}
.flash::before {
  content: "i";
  position: absolute;
  left: 14px;
  top: 12px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .75rem;
  font-weight: 800;
  color: white;
  background: var(--blue-600);
}
.flash-success { background: #effcf5; border-color: #b9ebd2; color: #0a5c3d; }
.flash-success::before { content: "✓"; background: #12a56a; }
.flash-danger { background: #fff4f3; border-color: #f7c9c4; color: #8f1d14; }
.flash-danger::before { content: "!"; background: #d92d20; }
.flash-warning { background: #fff9ec; border-color: #f4dba3; color: #7a4d00; }
.flash-warning::before { content: "!"; background: #dc8a00; }
.flash-info { background: #f1f6ff; border-color: #cfdcfb; color: #1b3a8a; }

/* ---------- Formulaires ---------- */
.form-card label, .quick-contact-form label, .dash-form label, .lead-status-form label {
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink);
  gap: 6px;
}
.form-card input:not([type="checkbox"]):not([type="radio"]):not([type="color"]):not([type="file"]),
.form-card textarea, .form-card select,
.quick-contact-form input:not([type="checkbox"]):not([type="radio"]), .quick-contact-form textarea, .quick-contact-form select,
.dash-form input:not([type="checkbox"]):not([type="radio"]), .dash-form select,
.lead-status-form select {
  border: 1px solid var(--field-line);
  border-radius: var(--r-sm);
  background: white;
  padding: 11px 13px;
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(11, 21, 51, .03);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-card textarea, .quick-contact-form textarea { line-height: 1.5; }
.form-card input::placeholder, .form-card textarea::placeholder,
.quick-contact-form input::placeholder, .quick-contact-form textarea::placeholder,
.dash-form input::placeholder { color: #98a2b8; font-weight: 400; opacity: 1; }
.form-card input:focus, .form-card textarea:focus, .form-card select:focus,
.quick-contact-form input:focus, .quick-contact-form textarea:focus,
.dash-form input:focus, .dash-form select:focus {
  outline: 0;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(11, 85, 255, .14);
}
.field-note, .small-note { font-size: .86rem; line-height: 1.5; color: var(--muted); font-weight: 400; }
.field-note strong { font-weight: 600; color: var(--ink); }
.form-row { gap: 14px; }

/* Champ téléphone : même gabarit que les autres champs */
.phone-input-shell {
  border: 1px solid var(--field-line);
  border-radius: var(--r-sm);
  background: white;
  box-shadow: 0 1px 2px rgba(11, 21, 51, .03);
  overflow: hidden;
}
.phone-input-shell:focus-within { border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(11, 85, 255, .14); }
.phone-input-shell input, .form-card .phone-input-shell input, .quick-contact-form .phone-input-shell input {
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  background: transparent !important;
}
.phone-prefix { background: #f6f8fc; border-right: 1px solid var(--field-line); font-weight: 500; color: var(--muted); }
.phone-prefix strong { font-weight: 600; color: var(--ink); }

/* Case à cocher sur une ligne, texte à côté */
.checkbox-line, .form-card label.checkbox-line, .check-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500;
  font-size: .95rem;
  line-height: 1.45;
  cursor: pointer;
}
.checkbox-line input, .check-line input {
  flex: none;
  width: 18px !important;
  height: 18px;
  margin: 2px 0 0;
  padding: 0 !important;
  accent-color: var(--blue-600);
}
.checkbox-line span, .check-line span { flex: 1; }

/* Fichier et couleur */
.form-card input[type="file"] {
  width: 100%;
  border: 1px dashed #c3cfe6;
  border-radius: var(--r-sm);
  background: #fafbfe;
  padding: 10px;
  font-size: .88rem;
  font-weight: 400;
  color: var(--muted);
}
.form-card input[type="file"]::file-selector-button {
  margin-right: 12px;
  border: 1px solid var(--field-line);
  border-radius: 8px;
  background: white;
  padding: 7px 12px;
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
.form-card input[type="color"] {
  width: 64px;
  height: 40px;
  padding: 4px;
  border: 1px solid var(--field-line);
  border-radius: var(--r-sm);
  background: white;
  cursor: pointer;
}
.password-toggle { border-radius: 8px; }

/* ---------- Pied de page ---------- */
.footer {
  background: white;
  border-top: 1px solid var(--line);
  padding: 48px 0 28px;
  margin-top: 0;
}
.footer-grid { gap: 40px; align-items: start; }
.footer h4 { font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.footer a:not(.brand) { display: block; color: #33405f; font-weight: 450; font-size: .95rem; padding: 4px 0; }
.footer a:not(.brand):hover { color: var(--blue-600); }
.footer p { color: var(--muted); font-size: .95rem; max-width: 38ch; margin-top: 12px; }
.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .86rem;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- Bandeau d'appel à l'action ---------- */
.cta-band {
  border-radius: 24px;
  background: linear-gradient(135deg, #0b55ff 0%, #0a3fd0 100%);
  box-shadow: 0 24px 60px rgba(11, 85, 255, .22);
  padding: 44px 48px;
}
.cta-band h2 { color: white; font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-bottom: 8px; }
.cta-band p { color: rgba(255, 255, 255, .82); font-weight: 400; font-size: 1.02rem; }

/* ---------- Pages d'en-tête simples (contact, tarifs, fonctionnement) ---------- */
.page-hero { padding: 64px 0 28px; background: transparent; border: 0; }
.page-hero h1 { margin-top: 14px; }
.infographic-hero, .compact-page-hero { background: transparent; border-bottom: 0; }
.hero-mini-board, .compact-status-board, .price-stamp {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: 10px;
}
.hero-mini-board div, .compact-status-board div {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 13px 12px;
}
.hero-mini-board div:last-child, .compact-status-board div:last-child { border-bottom: 0; }
.hero-mini-board strong, .compact-status-board strong { font-weight: 650; color: var(--ink); }
.hero-mini-board span, .compact-status-board span { color: var(--muted); font-weight: 400; }

/* ---------- Accueil ---------- */
.hero-pro { background: transparent; padding-top: 56px; }
.hero-pro::after { display: none; }
.hero-split-title .title-main { letter-spacing: -.035em; }
.hero-actions { gap: 10px; }
.hero-benefits { border-left: 1px solid var(--line); }
.hero-benefits .benefit-text { font-weight: 450; color: #33405f; }
.hero-benefits .benefit-text strong { font-weight: 650; color: var(--ink); }
.hero-benefits b { border-radius: 10px; }
.hero-offer-list article {
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  box-shadow: none;
  background: white;
}
.hero-offer-list article.is-trial-row { border-color: #b9ebd2; background: #f4fdf8; }
.hero-offer-list article > b { border-radius: 999px; font-weight: 600; font-size: .82rem; }
.compact-section-head h2 { margin-top: 10px; }
.compact-step-grid article, .compact-action-path article {
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  background: white;
}
.compact-action-path article strong { font-weight: 650; letter-spacing: -.01em; }
.compact-action-path article span { font-weight: 400; }
.compact-action-head b { border-radius: 10px; font-weight: 700; }
.compact-action-icon { border-radius: 10px; }

/* ---------- Tarifs ---------- */
.compact-pricing-head { text-align: center; }
.compact-pricing-head .lead { margin-inline: auto; }
.pricing-trial-highlight {
  display: inline-block;
  margin-top: 18px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #effcf5;
  border: 1px solid #b9ebd2;
  color: #0a5c3d;
  font-size: .94rem;
  font-weight: 550;
}
.plan-grid { gap: 20px; max-width: 1120px; align-items: stretch; }
.pricing-card.plan-card { padding: 28px; gap: 18px; border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.pricing-card.plan-card.featured { border: 1.5px solid var(--blue-600); box-shadow: 0 16px 44px rgba(11, 85, 255, .14); }
.trial-card { border-color: var(--line) !important; }
.plan-card-top { min-height: 0; gap: 6px; }
.plan-card h2 { font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; }
.plan-tagline { margin: 4px 0 0; min-height: 44px; font-size: .95rem; font-weight: 400; line-height: 1.45; }
.plan-price strong { font-size: 2.6rem; font-weight: 800; letter-spacing: -.04em; }
.plan-price span, .plan-quota span { font-weight: 450; }
.plan-quota {
  border: 0;
  background: var(--blue-50);
  border-radius: var(--r-sm);
  padding: 10px 12px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.plan-quota strong { font-size: 1.05rem; font-weight: 700; color: var(--blue-700); }
.plan-trial-line { font-size: .88rem; font-weight: 500; min-height: 38px; display: flex; align-items: center; }
.plan-trial-line.is-trial {
  justify-content: center;
  border-radius: var(--r-sm);
  background: #effcf5;
  border: 1px solid #b9ebd2;
  color: #0a5c3d;
  font-size: .9rem;
  font-weight: 600;
  padding: 0 12px;
}
.plan-trial-line.no-trial { color: var(--muted); }
.plan-card .check-list { gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.check-list li { font-weight: 450; font-size: .95rem; color: #25304d; padding-left: 28px; }
.check-list li::before {
  content: "";
  top: .28em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #e3f8ee url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2312a56a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.plan-overage-note { margin-top: 26px; font-size: .9rem; font-weight: 400; color: var(--muted); text-align: center; max-width: 76ch; margin-inline: auto; }
.plan-ribbon { top: -12px; left: 26px; border-radius: 999px; font-size: .76rem; font-weight: 650; letter-spacing: .01em; padding: 4px 11px; }

/* ---------- Connexion, inscription ---------- */
.auth-section { min-height: 0; padding: 64px 0 88px; }
.auth-grid { gap: 56px; align-items: center; }
.auth-copy h1 { margin-top: 14px; font-size: clamp(2rem, 3.6vw, 2.8rem); }
.auth-copy p { color: var(--muted); font-size: 1.05rem; max-width: 44ch; }
.dev-reset-link { border-radius: var(--r-sm); }

/* ---------- Page publique d'un professionnel ---------- */
.public-client-body { background: var(--page); }
.focused-contact-page { padding: 44px 0 64px; }
.focused-public-header h1 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -.035em; margin-bottom: 6px; }
.focused-public-header > p { font-weight: 500; }
.focused-public-header .eyebrow {
  background: color-mix(in srgb, var(--profile-accent, #0b55ff) 9%, white);
  color: var(--profile-accent, var(--blue-600));
  padding: 5px 11px;
  border-radius: 999px;
  letter-spacing: .04em;
}
.trade-badge { border-radius: 16px; box-shadow: var(--shadow-sm); }
.client-description { border-radius: var(--r-md); border: 1px solid var(--line); box-shadow: none; font-weight: 400; color: #33405f; }
.quick-contact-shell { border-radius: 22px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.quick-contact-heading h2 { font-size: clamp(1.4rem, 3.4vw, 1.85rem); letter-spacing: -.025em; }
.quick-contact-heading > span { font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.quick-contact-heading p { font-weight: 400; }
.choice-fieldset legend, .slot-fieldset legend, .booking-fieldset legend { font-size: .9rem; font-weight: 600; }
.choice-card > span { border-radius: var(--r-md); border: 1px solid var(--field-line); background: white; box-shadow: none; }
.choice-card input:checked + span {
  border-color: var(--profile-accent, var(--blue-600));
  background: color-mix(in srgb, var(--profile-accent, #0b55ff) 5%, white);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--profile-accent, #0b55ff) 16%, transparent);
}
.choice-card strong { font-weight: 650; letter-spacing: -.01em; }
.choice-card small { font-weight: 400; }
.choice-icon { border-radius: 10px; }
.slot-fieldset span { border-radius: var(--r-sm); border: 1px solid var(--field-line); background: white; font-weight: 550; box-shadow: none; }
.slot-fieldset input:checked + span {
  border-color: var(--profile-accent, var(--blue-600));
  background: color-mix(in srgb, var(--profile-accent, #0b55ff) 6%, white);
  color: var(--ink);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--profile-accent, #0b55ff) 16%, transparent);
}
.booking-day, .booking-slot span { border-radius: var(--r-sm); border-color: var(--field-line); font-weight: 550; }
.focused-availability { border-radius: var(--r-md); border: 1px solid var(--line); box-shadow: none; background: white; }
.focused-availability strong { font-weight: 650; }
.confirmation-card { border-radius: var(--r-lg); }
.demo-offer-button { border-radius: 12px; }

/* ---------- Espace client ---------- */
.dash-header { padding: 40px 0 20px; }
.dash-header h1 { font-size: clamp(1.7rem, 3.4vw, 2.1rem); letter-spacing: -.03em; font-weight: 750; margin-bottom: 6px; }
.dash-status-line { font-weight: 450; font-size: .98rem; }
.dash-pill { font-size: .8rem; font-weight: 600; padding: 4px 10px; }
.dash-link-box { border-radius: var(--r-md); box-shadow: var(--shadow-sm); padding: 12px 14px; }
.dash-link-box > span { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.dash-link-box > strong { font-weight: 600; font-size: .98rem; }
.dash-link-actions .btn { padding: 8px 13px; font-size: .9rem; }
.dash-nav {
  padding: 4px;
  border-radius: 12px;
  background: #edf1f8;
  border: 0;
  gap: 2px;
  margin-bottom: 24px;
}
.dash-nav a { border-radius: 9px; padding: 9px 14px; font-weight: 550; font-size: .94rem; color: #4a5676; }
.dash-nav a:hover { background: rgba(255, 255, 255, .6); color: var(--ink); }
.dash-nav a.active { background: white; color: var(--ink); box-shadow: 0 1px 2px rgba(11, 21, 51, .1), 0 2px 8px rgba(11, 21, 51, .06); }
.dash-nav a.active svg { color: var(--blue-600); }
.dash-nav a svg { width: 17px; height: 17px; }
.dash-card h2 { font-size: 1.08rem; font-weight: 650; letter-spacing: -.015em; }
.dash-card-head { margin-bottom: 18px; }
.dash-more { font-weight: 550; font-size: .92rem; }
.dash-count { font-weight: 500; font-size: .9rem; }
.dash-badge { font-weight: 600; font-size: .76rem; padding: 3px 9px; }
.dash-note { font-size: .93rem; line-height: 1.55; }
.dash-steps li { border-radius: var(--r-md); background: #f6f8fc; padding: 14px 16px; }
.dash-steps li.is-next { background: white; box-shadow: inset 0 0 0 1.5px var(--blue-600), 0 6px 18px rgba(11, 85, 255, .08); }
.dash-step-mark { width: 28px; height: 28px; font-weight: 650; font-size: .86rem; }
.dash-step-text strong { font-weight: 600; }
.dash-step-text span { font-size: .9rem; }
.dash-lead-main strong { font-weight: 600; }
.dash-lead-main span { font-weight: 400; font-size: .9rem; }
.dash-leads li { padding: 14px 0; }
.dash-call { padding: 8px 14px; font-size: .9rem; }
.lead-status { font-size: .78rem; font-weight: 600; padding: 4px 10px; }
.dash-empty { border-radius: var(--r-md); background: #f6f8fc; padding: 20px; }
.dash-empty strong { font-weight: 600; }
.dash-kpis { gap: 14px; }
.dash-kpis div { background: #f6f8fc; border-radius: var(--r-md); padding: 16px 18px; }
.dash-kpis strong { font-size: 1.85rem; font-weight: 750; letter-spacing: -.03em; }
.dash-kpis span { font-weight: 450; font-size: .9rem; }
.period-switch { border-radius: 10px; padding: 3px; background: #edf1f8; border: 0; }
.period-switch a { border-radius: 8px; font-weight: 550; font-size: .86rem; padding: 6px 12px; color: #4a5676; }
.period-switch a.active { background: white; color: var(--ink); box-shadow: 0 1px 2px rgba(11, 21, 51, .1); }
.kpi-chart { border-radius: var(--r-md); border: 1px solid var(--line); background: white; box-shadow: none; }
.chart-legend span { font-weight: 450; font-size: .86rem; }
.dash-plan-name { font-size: 1.45rem; font-weight: 750; letter-spacing: -.03em; }
.dash-plan-price { font-weight: 450; font-size: .95rem; }
.dash-quota-top { font-weight: 500; font-size: .93rem; }
.dash-quota-top strong { font-weight: 650; }
.sms-progress { height: 8px; border-radius: 999px; background: #e8edf6; }
.dash-domain-name { font-size: 1.2rem; font-weight: 700; letter-spacing: -.02em; }
.sms-preview-text { border-radius: var(--r-md); border: 1px solid var(--line); background: #f6f8fc; font-family: inherit; font-size: .93rem; }
.dash-filters a { font-weight: 550; font-size: .9rem; padding: 7px 13px; border-color: var(--field-line); }
.dash-filters a.active { background: var(--ink); border-color: var(--ink); }
.dash-lead-top h2 { font-size: 1.12rem; font-weight: 650; }
.dash-lead-meta { font-weight: 400; font-size: .9rem; }
.dash-lead-message { font-weight: 450; color: #25304d; line-height: 1.55; }
.dash-lead-facts dt { font-size: .74rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.dash-lead-facts dd { font-weight: 550; }
.dash-day span { font-weight: 550; font-size: .92rem; border-color: var(--field-line); }
.dash-preview-slots span { font-weight: 500; }

/* Éditeur « Ma page » */
.profile-editor-grid { gap: 24px; align-items: start; }
.public-preview-card { position: sticky; top: 92px; padding: 24px; box-shadow: var(--shadow); }
.public-preview-card h2 { font-size: 1.4rem; letter-spacing: -.025em; margin-top: 10px; }
.preview-meta { font-weight: 550; font-size: .92rem; }
.preview-request-box { border-radius: var(--r-md); background: #f6f8fc; }
.preview-request-box strong { font-weight: 600; }

/* Détail d'une demande */
.lead-view-card { padding: 32px; border-radius: 22px; box-shadow: var(--shadow); }
.lead-view-card h1 { font-size: clamp(1.7rem, 4vw, 2.2rem); margin-top: 10px; margin-bottom: 4px; }
.lead-view-sub { font-weight: 450; }
.lead-view-grid > div, .lead-view-message { border-radius: var(--r-md); background: #f6f8fc; border: 0; }
.lead-view-grid span, .lead-view-message span { font-size: .74rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.lead-view-grid strong { font-weight: 600; }
.lead-view-message p { font-weight: 450; }

/* Page inactive / erreur */
.inactive-subscription-card, .error-card { padding: 36px; }
.inactive-subscription-card h1, .error-card h1 { font-size: clamp(1.7rem, 3.6vw, 2.2rem); margin-top: 12px; }

/* ---------- Pages légales ---------- */
.legal-page .content-card { padding: 36px; border-radius: 22px; }
.content-card h2 { font-size: 1.2rem; letter-spacing: -.015em; margin-top: 28px; }
.content-card dt { font-size: .78rem; font-weight: 600; color: var(--muted); }
.content-card dd { font-weight: 500; }

/* ---------- Administration ---------- */
.admin-shell { padding-top: 40px; padding-bottom: 72px; }
.admin-hero h1 { font-size: clamp(1.8rem, 3.4vw, 2.3rem); margin: 8px 0 6px; }
.admin-hero p { color: var(--muted); font-weight: 400; }
.admin-kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.admin-kpi-grid > * { border-radius: var(--r-md); border: 1px solid var(--line); box-shadow: none; background: white; padding: 16px; }
.admin-kpi-grid span { font-size: .8rem; font-weight: 550; color: var(--muted); }
.admin-kpi-grid strong { font-size: 1.5rem; font-weight: 750; letter-spacing: -.03em; }
.admin-kpi-grid small { font-weight: 400; color: var(--muted); }
.admin-status-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 10px; }
.admin-status-strip > * { border-radius: var(--r-sm); border: 1px solid var(--line); box-shadow: none; background: white; padding: 12px 14px; min-width: 0; }
.admin-status-strip span { font-size: .78rem; font-weight: 550; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.admin-status-strip strong { font-size: 1.25rem; font-weight: 700; }
.admin-panel { padding: 22px; border-radius: 18px; }
.admin-panel h2 { font-size: 1.08rem; font-weight: 650; letter-spacing: -.015em; margin: 0; }
.admin-panel-head { margin-bottom: 16px; }
.admin-panel-head span, .admin-panel-head small { font-weight: 500; font-size: .84rem; color: var(--muted); }
.admin-chart-panel { display: flex; flex-direction: column; justify-content: flex-start; }
.admin-horizontal-chart { display: grid; gap: 10px; align-content: start; }
.admin-horizontal-row { min-width: 0; }
.admin-horizontal-row > span:first-child, .admin-horizontal-row > strong:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; font-weight: 500; font-size: .9rem; }
.admin-table th { font-size: .72rem; font-weight: 700; letter-spacing: .07em; color: var(--muted); }
.admin-table td { font-weight: 450; font-size: .93rem; }

/* ---------- Mobile ---------- */
@media (max-width: 960px) {
  .auth-grid { gap: 28px; }
  .public-preview-card { position: static; }
  .cta-band { padding: 32px 26px; }
}
@media (max-width: 720px) {
  .container, .narrow { width: calc(100% - 32px); }
  .section-pad { padding: 48px 0; }
  .page-hero { padding: 40px 0 18px; }
  .auth-section { padding: 36px 0 56px; }
  .form-card { padding: 20px; }
  .dash-card { padding: 18px; }
  .dash-header { padding: 26px 0 16px; }
  .footer { padding: 36px 0 24px; }
  .hero-benefits { border-left: 0; }
  .lead-view-card, .inactive-subscription-card, .error-card, .legal-page .content-card { padding: 22px; }
  .nav-menu.open { border-radius: var(--r-md); border: 1px solid var(--line); box-shadow: var(--shadow); }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* ==========================================================================
   Ajustements page par page
   ========================================================================== */

/* Titres : un peu moins serrés sur les très grands corps */
h1 { letter-spacing: -.028em; }
.dash-header + .flashes, main > .flashes { margin-bottom: -8px; }

/* Accueil : la liste des offres s'aligne sur la grille de la page */
.hero-offer-list { max-width: none; margin-top: 28px; gap: 10px; }
.hero-offer-list article { padding: 16px 20px; grid-template-columns: minmax(150px, .24fr) minmax(0, 1fr) auto; }
.hero-offer-list article > div span { font-size: .8rem; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.hero-offer-list article > div strong { font-size: 1.12rem; font-weight: 700; letter-spacing: -.02em; }
.offer-bullets li { font-weight: 500; font-size: .95rem; color: #25304d; }
.compact-cta-section { padding-top: 24px; }

/* Fonctionnement : étapes en lignes sobres */
.compact-timeline article, .compact-flow-grid article, .step-row {
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  box-shadow: none;
  background: white;
}
.compact-timeline article b { font-weight: 700; }
.compact-timeline article strong { font-weight: 650; }
.compact-timeline article span { font-weight: 400; color: var(--muted); }

/* Inscription : étapes et encart d'exemple */
.register-steps, .signup-steps { border-radius: var(--r-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }

/* Pages légales : une seule colonne lisible */
.legal-layout { grid-template-columns: minmax(0, 760px); justify-content: center; }
.legal-updated { border: 0; background: transparent; padding: 0; font-weight: 450; font-size: .92rem; }
.legal-content { gap: 14px; }
.legal-content h2 { font-size: 1.2rem; margin-top: 22px; padding-top: 26px; border-top: 1px solid var(--line); }
.legal-content p, .legal-content li { font-weight: 400; line-height: 1.65; color: #46526f; }
.legal-content strong { font-weight: 600; color: var(--ink); }
.legal-definition-list { gap: 0; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.legal-definition-list div {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: white;
  padding: 12px 16px;
  grid-template-columns: minmax(150px, .34fr) minmax(0, 1fr);
  align-items: baseline;
}
.legal-definition-list div:last-child { border-bottom: 0; }
.legal-definition-list div:nth-child(odd) { background: #fafbfe; }
.legal-definition-list dt { font-size: .86rem; font-weight: 500; color: var(--muted); }
.legal-definition-list dd { font-weight: 500; color: var(--ink); }
.legal-table { border-radius: var(--r-md); }
.legal-table div:first-child { background: var(--ink); }

/* Activation depuis une page démo */
.demo-activation-page { min-height: 0; background: transparent; padding-top: 40px; }
.demo-activation-container { max-width: 1040px; }
.demo-activation-grid { gap: 22px; }
.demo-activation-card { border-radius: 20px; box-shadow: var(--shadow); border: 1px solid var(--line); gap: 14px; }
.demo-call-card { border-top: 1px solid var(--line); }
.demo-account-card { border: 1.5px solid #12a56a; box-shadow: 0 16px 44px rgba(18, 165, 106, .12); }
.activation-card-icon { border-radius: 12px; width: 40px; height: 40px; font-size: 1.15rem; }
.activation-card-label { font-size: .74rem; font-weight: 700; letter-spacing: .09em; }
.demo-activation-card h2 { font-size: 1.45rem; letter-spacing: -.025em; margin-top: 0; }
.demo-activation-card > p { font-weight: 400; font-size: .98rem; }
.demo-activation-form label { font-size: .9rem; font-weight: 600; gap: 6px; }
.demo-activation-form input {
  border: 1px solid var(--field-line);
  border-radius: var(--r-sm);
  background: white;
  padding: 11px 13px;
  font-size: 1rem;
  font-weight: 400;
  box-shadow: 0 1px 2px rgba(11, 21, 51, .03);
}
.demo-activation-form input::placeholder { color: #98a2b8; font-weight: 400; }
.demo-schedule-picker { border-radius: var(--r-md); border: 1px solid var(--line); background: #f8fafd; }
.demo-date-chip { border-radius: 999px; font-weight: 550; font-size: .84rem; }
.demo-time-choice span, .demo-time-choice { border-radius: var(--r-sm); font-weight: 550; }
.activation-price-line { border-radius: var(--r-sm); font-weight: 500; }
.activation-reassurance { font-weight: 400; }

/* Bloc d'offre en bas des pages démo */
.demo-offer-cta { border-radius: 22px; }
.demo-offer-detail { border-radius: var(--r-md); }

/* Administration : grilles sans carte orpheline */
.admin-kpi-grid { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.admin-status-strip { grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); }
.admin-actions { gap: 8px; }
.admin-pill { font-weight: 600; font-size: .76rem; border-radius: 999px; padding: 3px 9px; }
.admin-shell .eyebrow, .admin-eyebrow { background: transparent; padding: 0; }
.admin-shell input, .admin-shell select, .admin-shell textarea {
  border: 1px solid var(--field-line);
  border-radius: var(--r-sm);
  font-weight: 400;
  background: white;
}
.admin-shell label { font-weight: 600; font-size: .86rem; }

/* Numéro intelligent */
.compact-timeline { gap: 10px; }
.number-status { border-radius: var(--r-md); }
.public-page-options > div { border-radius: var(--r-md); border: 1px solid var(--line); background: #f8fafd; }
.settings-list div { border-radius: var(--r-sm); background: #f6f8fc; }
.settings-list span { font-weight: 400; }
.settings-list strong { font-weight: 600; }

@media (max-width: 720px) {
  .hero-offer-list article { grid-template-columns: 1fr; gap: 10px; }
  .legal-definition-list div { grid-template-columns: 1fr; gap: 2px; }
  .demo-activation-grid { grid-template-columns: 1fr; }
}

/* Derniers réglages */
.admin-panel > h2 { margin-bottom: 14px; }
.admin-panel label { margin-top: 2px; }
.kpi-chart { overflow: hidden; }
.kpi-chart .chart-column { min-width: 0; flex: 1 1 0; }
@media (max-width: 720px) {
  .hero-benefits > span { justify-content: flex-start; text-align: left; }
  .hero-benefits .benefit-text { text-align: left; }
  .kpi-chart { gap: 2px; padding-inline: 8px; }
  .kpi-chart .chart-column small { font-size: .62rem; }
  .kpi-chart .chart-column:nth-child(even) small { visibility: hidden; }
  .chart-bars { gap: 1px; }
  .chart-bars .bar { min-width: 3px; width: 4px; }
}
.kpi-chart { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.kpi-chart .chart-column small { white-space: nowrap; text-align: center; }

/* ==========================================================================
   Pages de contenu : métiers, FAQ, fil d'Ariane
   ========================================================================== */
.hero-lead { margin: 0 0 22px; max-width: 54ch; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .86rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--muted); font-weight: 500; }
.breadcrumb a:hover { color: var(--blue-600); }
.breadcrumb span:last-child { color: var(--ink); font-weight: 550; }
.compact-section-head .lead { margin-top: 6px; }

.seo-two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.seo-card { padding: 28px; }
.seo-card h2 { font-size: 1.3rem; margin: 0 0 10px; }
.seo-card p { color: #46526f; line-height: 1.65; margin-bottom: 12px; }
.seo-card p:last-child { margin-bottom: 0; }
.seo-card .check-list { margin: 16px 0 0; }

.seo-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.seo-feature-grid article { padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: white; box-shadow: var(--shadow-sm); }
.seo-feature-grid h3 { margin: 0 0 6px; font-size: 1.02rem; }
.seo-feature-grid p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.55; }

.faq-list { display: grid; gap: 10px; margin-top: 20px; }
.faq-list details { border: 1px solid var(--line); border-radius: var(--r-md); background: white; padding: 0 18px; }
.faq-list details[open] { box-shadow: var(--shadow-sm); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 28px 16px 0;
  position: relative;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -7px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform .15s ease;
}
.faq-list details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-list summary:focus-visible { outline: 3px solid rgba(11, 85, 255, .35); outline-offset: 4px; border-radius: 6px; }
.faq-list details p { margin: 0 0 18px; color: #46526f; line-height: 1.65; max-width: 68ch; }

.trade-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.trade-links a {
  padding: 8px 14px;
  border: 1px solid var(--field-line);
  border-radius: 999px;
  background: white;
  color: #25304d;
  font-size: .92rem;
  font-weight: 500;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.trade-links a:hover { border-color: var(--blue-600); color: var(--blue-700); background: var(--blue-50); }

.trade-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.trade-card {
  display: grid;
  gap: 6px;
  align-content: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: white;
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.trade-card:hover { border-color: var(--blue-600); box-shadow: 0 12px 32px rgba(11, 85, 255, .12); color: var(--ink); }
.trade-card h2 { font-size: 1.12rem; margin: 0; letter-spacing: -.015em; }
.trade-card p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.5; }
.trade-card span { margin-top: 6px; color: var(--blue-600); font-weight: 600; font-size: .9rem; }

@media (max-width: 900px) {
  .seo-feature-grid, .trade-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .seo-two-col, .seo-feature-grid, .trade-card-grid { grid-template-columns: 1fr; }
  .seo-card { padding: 20px; }
}
.hero-lead { margin-top: 14px; }
