/* VibesHosting : design hébergeur européen clair et structuré (thème clair par défaut + sombre) */
:root,
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #ffffff;
  --alt: #f6f8fa;
  --panel: #ffffff;
  --panel-2: #f1f5f9;
  --line: #e2e8f0;
  --line-2: #cbd5e1;
  --text: #0f172a;
  --muted: #475569;
  --accent: #059669;
  --accent-2: #047857;
  --accent-ink: #ffffff;
  --accent-soft: #ecfdf5;
  --util-bg: #0f172a;
  --util-ink: #cbd5e1;
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, 0.10);
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0c1017;
  --alt: #11161f;
  --panel: #131922;
  --panel-2: #1a222e;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f1f5f9;
  --muted: #94a3b8;
  --accent: #10b981;
  --accent-2: #059669;
  --accent-ink: #02140d;
  --accent-soft: rgba(16, 185, 129, 0.12);
  --util-bg: #070a0f;
  --util-ink: #94a3b8;
  --shadow: 0 16px 36px -14px rgba(0, 0, 0, 0.5);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15.5px/1.6 var(--font-sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -0.025em; line-height: 1.18; font-weight: 700; }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
::selection { background: rgba(5, 150, 105, 0.22); }

.wrap { width: min(100% - 32px, 1140px); margin-inline: auto; }
.muted { color: var(--muted); }
.muted a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.muted a:hover { color: var(--accent); text-decoration-color: var(--accent); }
.eyebrow { font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.sub { margin-top: 8px; max-width: 60ch; }
.skip { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 10px 14px; border-radius: 6px; background: var(--text); color: var(--bg); font-weight: 600; text-decoration: none; transform: translateY(-160%); }
.skip:focus { transform: none; }

/* Barre utilitaire supérieure (style hébergeur pro) */
.utilbar { background: var(--util-bg); color: var(--util-ink); font-size: 12.5px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.utilbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; padding: 4px 0; flex-wrap: wrap; }
.utilbar-links { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.utilbar-links a { text-decoration: none; color: var(--util-ink); transition: color .15s; }
.utilbar-links a:hover { color: #ffffff; }
.utilbar-links b { color: #ffffff; font-weight: 600; }
.live { display: inline-flex; align-items: center; gap: 7px; color: var(--util-ink); text-decoration: none; font-weight: 500; }
.live:hover { color: #ffffff; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: #64748b; flex: none; }
.live.ok i { background: #10b981; }
.live.down i { background: #ef4444; }

/* En-tête principal */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; text-decoration: none; letter-spacing: -0.025em; }
.brand svg { width: 32px; height: 32px; stroke: none; }
.nav { display: flex; gap: 24px; margin-right: auto; }
.nav a { color: var(--muted); font-size: 14.5px; font-weight: 600; text-decoration: none; transition: color .15s; }
.nav a:hover { color: var(--text); }
.top-act { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.icon-btn { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); color: var(--muted); cursor: pointer; transition: color .15s, border-color .15s, background-color .15s; }
.icon-btn:hover { color: var(--text); border-color: var(--line-2); background: var(--panel-2); }
.menu-btn { display: none; }
.nav .nav-mobile { display: none; }
.i-moon { display: none; }
:root[data-theme="light"] .i-sun { display: none; }
:root[data-theme="light"] .i-moon { display: block; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 6px; border: 1px solid transparent; font: inherit; font-weight: 600; font-size: 14.5px; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s; }
.btn-sm { height: 36px; padding: 0 13px; font-size: 13.5px; }
.btn-block { width: 100%; }
.btn-main { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn-main:hover { background: var(--accent-2); border-color: var(--accent-2); color: #ffffff; }
.btn-line { border-color: var(--line-2); background: var(--panel); color: var(--text); }
.btn-line:hover { border-color: var(--text); background: var(--panel-2); }

/* Héros : clair, direct, orienté catalogue */
.hero { padding: 60px 0 56px; background: var(--alt); border-bottom: 1px solid var(--line); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 44px; align-items: center; }
.hero h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.lead { margin-top: 16px; max-width: 52ch; font-size: 16px; line-height: 1.65; color: var(--muted); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 24px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); list-style: none; color: var(--muted); font-size: 13.5px; font-weight: 500; }
.hero-facts li::before { content: "—"; margin-right: 6px; color: var(--accent); font-weight: 700; }

/* Boîte catalogue rapide dans le héros */
.catalog-box { border: 1px solid var(--line-2); border-radius: 8px; background: var(--panel); box-shadow: var(--shadow); overflow: hidden; }
.catalog-head { display: flex; justify-content: space-between; align-items: center; padding: 11px 18px; background: var(--panel-2); border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.cat-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 18px; text-decoration: none; border-bottom: 1px solid var(--line); transition: background-color .12s; }
.cat-row:last-child { border-bottom: 0; }
.cat-row:hover { background: var(--alt); }
.cat-row b { display: block; font-size: 15px; font-weight: 700; color: var(--text); }
.cat-row span { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.cat-price { text-align: right; white-space: nowrap; flex: none; }
.cat-price strong { font-size: 18px; font-weight: 800; color: var(--text); margin: 0 2px; font-variant-numeric: tabular-nums; }
.cat-price small { font-size: 12px; color: var(--muted); }
.cat-row:hover b { color: var(--accent); }

/* Bandeau 4 points clés */
.facts-strip { border-bottom: 1px solid var(--line); background: var(--bg); }
.facts-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts-in > div { padding: 24px 20px; border-right: 1px solid var(--line); }
.facts-in > div:first-child { padding-left: 0; }
.facts-in > div:last-child { border-right: 0; padding-right: 0; }
.facts-in b { display: block; font-size: 14.5px; margin-bottom: 5px; }
.facts-in p { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.facts-in a { color: var(--text); font-weight: 600; text-decoration: none; }
.facts-in a:hover { color: var(--accent); }

/* Sections */
.block { padding: 64px 0; }
.block-alt { background: var(--alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.block h2 { font-size: clamp(23px, 2.8vw, 30px); font-weight: 800; letter-spacing: -0.025em; }
.block-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: 26px; }
.block-head .muted { margin-top: 6px; }
.toggles { display: flex; flex-wrap: wrap; gap: 8px; }
.seg { display: inline-flex; padding: 3px; border: 1px solid var(--line-2); border-radius: 6px; background: var(--panel-2); }
.seg button { height: 34px; padding: 0 13px; border: 0; border-radius: 4px; background: none; color: var(--muted); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background-color .15s, color .15s; }
.seg button:hover { color: var(--text); }
.seg button[aria-selected="true"], .seg button[aria-pressed="true"] { background: var(--panel); color: var(--text); box-shadow: 0 1px 2px rgba(15,23,42,0.08); }
.save { margin-left: 4px; color: var(--accent); font-family: var(--font-mono); font-size: 11.5px; }

/* Tarifs */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plans-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin-inline: auto; }
.plans-5 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.plans-5 .plan { padding: 20px 16px 18px; }
.plans-5 .price b { font-size: 30px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 24px 22px 22px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--panel); }
.plan-pick { border-color: var(--accent); box-shadow: inset 0 3px 0 0 var(--accent); }
.tag { position: absolute; top: -11px; left: 18px; padding: 2px 8px; border-radius: 4px; background: var(--accent); color: var(--accent-ink); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.plan h3 { font-size: 18px; font-weight: 700; }
.plan-for { margin-top: 5px; color: var(--muted); font-size: 13.5px; min-height: 2.7em; }
.price { margin-top: 14px; display: flex; align-items: baseline; gap: 5px; }
.price b { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.price span { color: var(--muted); font-size: 13.5px; }
.price-note { min-height: 1.4em; margin-top: 2px; color: var(--muted); font-size: 12.5px; }
.plan ul { flex: 1; margin: 16px 0 20px; padding: 16px 0 0; border-top: 1px solid var(--line); list-style: none; display: grid; gap: 9px; align-content: start; font-size: 14px; }
.plan li { display: flex; gap: 9px; align-items: flex-start; }
.plan li::before { content: ""; flex: none; width: 15px; height: 15px; margin-top: 4px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l2.8 2.8 6.2-6.3' fill='none' stroke='%23059669' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat; }
.plans-foot { margin-top: 16px; font-size: 13.5px; text-align: center; }

/* Grille d'outils connectée (style tableau éditorial, pas de bulles IA) */
.tools-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 26px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--panel); overflow: hidden; }
.tool { padding: 24px 26px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.tool:nth-child(2n) { border-right: 0; }
.tool:nth-last-child(-n+2) { border-bottom: 0; }
.tool h3 { font-size: 16.5px; font-weight: 700; }
.tool p { margin-top: 7px; color: var(--muted); font-size: 14.5px; line-height: 1.55; }

/* Garanties : liste structurée sobre */
.feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 32px; margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--line); }
.feat h3 { font-size: 15.5px; font-weight: 700; }
.feat p { margin-top: 6px; color: var(--muted); font-size: 14px; line-height: 1.55; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr); gap: 40px; align-items: start; }
.faq-cats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.faq-cat { height: 32px; padding: 0 12px; border-radius: 5px; border: 1px solid var(--line-2); background: var(--panel); color: var(--muted); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: color .15s, border-color .15s, background-color .15s; }
.faq-cat:hover { color: var(--text); border-color: var(--text); }
.faq-cat.on { background: var(--text); border-color: var(--text); color: var(--bg); }
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 2px; font-weight: 600; font-size: 15px; cursor: pointer; list-style: none; transition: color .15s; }
.faq summary:hover { color: var(--accent); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; display: grid; place-items: center; flex: none; width: 22px; height: 22px; color: var(--muted); font-size: 18px; font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "−"; color: var(--text); }
.faq details p { padding: 0 2px 16px; color: var(--muted); max-width: 64ch; font-size: 14.5px; }
.faq details p a { color: var(--accent); }

/* Contact */
.contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding: 30px 32px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--alt); }
.contact .muted { margin-top: 6px; max-width: 56ch; }
.contact-act { display: flex; flex-wrap: wrap; gap: 10px; }

/* Pied de page */
.foot { border-top: 1px solid var(--line); padding: 48px 0 32px; color: var(--muted); font-size: 13.5px; background: var(--panel); }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 28px; }
.foot-brand .brand { color: var(--text); margin-bottom: 10px; }
.foot-brand p { max-width: 34ch; }
.foot nav { display: grid; gap: 8px; align-content: start; }
.foot nav b { color: var(--text); font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 2px; }
.foot a { text-decoration: none; transition: color .15s; }
.foot a:hover { color: var(--text); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12.5px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Tablette */
@media (max-width: 980px) {
  .hero-in { grid-template-columns: 1fr; gap: 32px; }
  .facts-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts-in > div { border-bottom: 1px solid var(--line); padding: 18px 16px; }
  .facts-in > div:nth-child(2n) { border-right: 0; }
  .facts-in > div:first-child { padding-left: 16px; }
  .faq-grid { grid-template-columns: 1fr; gap: 20px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
/* Téléphone */
@media (max-width: 860px) {
  .plans, .plans-2, .plans-5, .feats { grid-template-columns: 1fr; max-width: none; }
  .plan-for { min-height: 0; }
  .menu-btn { display: grid; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px 16px 14px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav .nav-mobile { display: block; color: var(--accent); font-weight: 700; }
  .nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); font-size: 15.5px; }
  .hero { padding: 44px 0 40px; }
  .block { padding: 48px 0; }
}
@media (max-width: 640px) {
  .tools-grid { grid-template-columns: 1fr; }
  .tool { border-right: 0; border-bottom: 1px solid var(--line) !important; }
  .tool:last-child { border-bottom: 0 !important; }
  .facts-in { grid-template-columns: 1fr; }
  .facts-in > div { border-right: 0; padding: 16px 0 !important; }
  .foot-grid { grid-template-columns: 1fr; }
  .top-act .top-cta { display: none; }
  .toggles .seg[role="tablist"] { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .toggles .seg[role="tablist"] button { flex: 1 1 0; padding: 0 6px; }
  .game-pill { flex: 1 1 28%; justify-content: center; padding: 0 10px; }
}
@media (max-width: 420px) {
  .top-act .btn-line { display: none; }
  .seg button { padding: 0 10px; }
  .contact { padding: 22px; }
}

/* Offres en pause */
.btn-off { opacity: .6; pointer-events: none; cursor: default; }
.plans-note { margin: -10px 0 18px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 6px; background: var(--accent-soft); color: var(--text); font-size: 14px; }

/* Pied de page compact des autres pages (statut, pages légales) */
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.foot-in nav { display: flex; flex-wrap: wrap; gap: 18px; }

/* Serveurs de jeux : choix du jeu */
.game-pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 20px; }
.game-pill { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 6px; border: 1px solid var(--line-2); background: var(--panel); color: var(--muted); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: color .15s, border-color .15s, background-color .15s; }
.game-pill small { font-size: 11px; font-weight: 500; opacity: .75; font-family: var(--font-mono); }
.game-pill:hover { color: var(--text); border-color: var(--text); }
.game-pill.on { background: var(--text); border-color: var(--text); color: var(--bg); }
.game-pill.on small { color: var(--bg); opacity: .8; font-weight: 600; }
.plans-game { margin-bottom: 4px; }

/* Pastille d'état du réseau */
.foot-status { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 5px 10px; border: 1px solid var(--line-2); border-radius: 5px; background: var(--alt); color: var(--muted); font-size: 12px; font-weight: 600; text-decoration: none; transition: border-color .15s, color .15s; }
.foot-status:hover { border-color: var(--text); color: var(--text); }
.foot-status .s-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); flex: none; }
.foot-status.ok .s-dot { background: var(--accent); }
.foot-status.down .s-dot { background: #ef4444; }

.back-top { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 38px; height: 38px; border-radius: 6px; border: 1px solid var(--line-2); background: var(--panel); color: var(--text); font: 600 16px/1 var(--font-sans); cursor: pointer; box-shadow: var(--shadow); transition: border-color .15s, color .15s; }
.back-top:hover { border-color: var(--text); color: var(--accent); }
.back-top[hidden] { display: none; }
.faq-search { display: block; width: 100%; max-width: 340px; height: 38px; margin-top: 12px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 6px; background: var(--panel); color: var(--text); font: inherit; font-size: 13.5px; outline: none; transition: border-color .15s; }
.faq-search:focus { border-color: var(--accent); }
.faq-empty { padding: 16px; border: 1px dashed var(--line-2); border-radius: 6px; margin: 0; font-size: 14px; }
.faq-empty[hidden] { display: none; }
.pause-banner { display: flex; flex-direction: column; gap: 3px; margin: 0 0 24px; padding: 14px 18px; border: 1px solid #f59e0b; border-left: 4px solid #d97706; border-radius: 6px; background: rgba(245, 158, 11, 0.08); color: var(--text); font-size: 14px; line-height: 1.5; }
.pause-banner strong { font-size: 14.5px; color: #b45309; }
:root[data-theme="dark"] .pause-banner strong { color: #fbbf24; }
.pause-banner a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }

/* Section mise en avant financement CotizUp */
.fund-sec { padding: 34px 0 12px; background: var(--bg); }
.fund-box { display: flex; align-items: center; justify-content: space-between; gap: 28px 36px; padding: 32px 36px; border: 1px solid var(--accent); border-left: 5px solid var(--accent); border-radius: 8px; background: var(--util-bg); color: #f8fafc; box-shadow: var(--shadow); }
.fund-copy { max-width: 660px; }
.fund-kicker { display: inline-block; margin-bottom: 8px; padding: 3px 9px; border-radius: 4px; background: rgba(16, 185, 129, 0.16); color: #34d399; font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.fund-box h2 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; color: #ffffff; line-height: 1.2; letter-spacing: -0.025em; }
.fund-box p { margin-top: 10px; color: #cbd5e1; font-size: 15px; line-height: 1.6; }
.fund-act { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex: none; }
.btn-lg { height: 50px; padding: 0 26px; font-size: 16px; font-weight: 700; }
.fund-act small { color: #94a3b8; font-size: 12px; text-align: right; }
@media (max-width: 860px) {
  .fund-box { flex-direction: column; align-items: flex-start; padding: 24px 22px; }
  .fund-act { align-items: flex-start; width: 100%; }
  .fund-act .btn-lg { width: 100%; }
  .fund-act small { text-align: left; }
}

/* === Refonte multi-pages (généré depuis site-src/pages.css) === */
.ic { width: 20px; height: 20px; }
.utilbar-links .util-fund { color: #34d399; font-weight: 600; }
.nowrap { white-space: nowrap; }
.pause-banner a { white-space: nowrap; }

/* En-tête : navigation avec mega-menu « Offres » */
.nav { align-self: stretch; align-items: center; }
.nav > a[aria-current="page"], .nav-dd-btn.is-current { color: var(--text); }
.nav-dd { align-self: stretch; display: flex; align-items: center; }
.nav-dd-btn { display: inline-flex; align-items: center; gap: 4px; padding: 0; border: 0; background: none; color: var(--muted); font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; transition: color .15s; }
.nav-dd-btn:hover, .nav-dd.open .nav-dd-btn { color: var(--text); }
.nav-dd-btn .chev { width: 15px; height: 15px; transition: transform .15s; }
.nav-dd.open .nav-dd-btn .chev { transform: rotate(180deg); }
.mega { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 28px 40px -28px rgba(15, 23, 42, 0.28); }
.nav-dd.open .mega { display: block; }
@media (hover: hover) and (min-width: 1001px) { .nav-dd:hover .mega { display: block; } .nav-dd:hover .nav-dd-btn { color: var(--text); } }
.nav-dd.shut .mega { display: none !important; }
.mega-in { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 28px; padding: 22px 0 24px; }
.mega-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.nav .mega-item { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1px solid var(--line); border-radius: 8px; color: var(--text); text-decoration: none; transition: border-color .15s, background-color .15s; }
.nav .mega-item:hover { border-color: var(--accent); background: var(--alt); }
.mega-ic { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 8px; background: var(--accent-soft); color: var(--accent); }
.mega-txt b { display: block; font-size: 15px; font-weight: 700; }
.mega-txt small { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; font-weight: 500; line-height: 1.45; }
.mega-txt em { display: block; margin-top: 8px; color: var(--accent); font-style: normal; font-size: 12.5px; font-weight: 700; font-family: var(--font-mono); }
.mega-side { display: grid; align-content: start; gap: 2px; padding-left: 24px; border-left: 1px solid var(--line); }
.mega-side b { margin-bottom: 6px; color: var(--muted); font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; }
.nav .mega-side a { padding: 6px 0; color: var(--text); font-size: 14px; font-weight: 600; }
.nav .mega-side a:hover { color: var(--accent); }

/* Petits éléments communs */
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 700; font-size: 14.5px; text-decoration: none; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .15s; }
.link-arrow:hover svg { transform: translateX(3px); }
.btn svg { width: 16px; height: 16px; }
code.c { padding: 2px 6px; border: 1px solid var(--line); border-radius: 4px; background: var(--panel-2); color: var(--text); font-family: var(--font-mono); font-size: 12.5px; white-space: nowrap; }
.copy-btn { margin-left: 6px; padding: 2px 8px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--panel); color: var(--muted); font: inherit; font-size: 11.5px; font-weight: 600; cursor: pointer; vertical-align: 1px; transition: color .15s, border-color .15s; }
.copy-btn:hover { color: var(--text); border-color: var(--text); }
.copy-btn.done { color: var(--accent); border-color: var(--accent); }
.fi { display: inline-grid; place-items: center; width: 38px; height: 38px; flex: none; border: 1px solid var(--line-2); border-radius: 8px; background: var(--panel); color: var(--accent); }
.fi svg { width: 19px; height: 19px; }
.block-tight { padding-top: 0; }
.block-tight-top { padding-top: 36px; }
.split { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 44px; align-items: start; }
.split-link { margin-top: 18px; }
.prose p { color: var(--muted); font-size: 15.5px; line-height: 1.75; }
.prose p + p { margin-top: 14px; }

/* Maquettes d'interface (illustrations en HTML) */
.hero-visual, .phero-visual { min-width: 0; }
.mock { border: 1px solid var(--line-2); border-radius: 10px; background: var(--panel); box-shadow: 0 24px 50px -26px rgba(15, 23, 42, 0.30); overflow: hidden; font-size: 13px; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: var(--panel-2); border-bottom: 1px solid var(--line); }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); flex: none; }
.mock-url { flex: 1; min-width: 0; margin-left: 8px; padding: 3px 10px; border: 1px solid var(--line); border-radius: 5px; background: var(--panel); color: var(--muted); font-family: var(--font-mono); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-body { display: grid; grid-template-columns: 158px minmax(0, 1fr); min-height: 290px; }
.mock-body-1 { grid-template-columns: minmax(0, 1fr); }
.mock-side { display: grid; align-content: start; gap: 2px; padding: 12px 10px; border-right: 1px solid var(--line); background: var(--alt); }
.mock-side span { display: flex; align-items: center; gap: 8px; padding: 7px 9px; border-radius: 5px; color: var(--muted); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.mock-side span svg { width: 15px; height: 15px; }
.mock-side span.on { background: var(--panel); color: var(--text); box-shadow: 0 1px 2px rgba(15, 23, 42, 0.07); }
.mock-side span em { margin-left: auto; padding: 0 6px; border-radius: 4px; background: var(--accent); color: var(--accent-ink); font-style: normal; font-size: 11px; }
.mock-side .mock-new { justify-content: center; margin-bottom: 6px; background: var(--accent); color: var(--accent-ink); }
.mock-main { min-width: 0; padding: 16px; }
.mock-main-flush { padding: 0; }
.mock-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.mock-h b { font-size: 15px; }
.mock-tabs { display: flex; gap: 4px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.mock-tabs span { padding: 4px 10px; border-radius: 5px; color: var(--muted); font-size: 12px; font-weight: 600; }
.mock-tabs span.on { background: var(--panel-2); color: var(--text); }
.mock-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 10px; }
.mock-kpi { padding: 9px 10px; border: 1px solid var(--line); border-radius: 6px; min-width: 0; }
.mock-kpi small { display: block; color: var(--muted); font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-kpi b { display: block; margin-top: 2px; font-size: 15px; }
.mock-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.mock-row > div { flex: 1; min-width: 0; }
.mock-row b { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-row small { display: block; color: var(--muted); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mi { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 7px; background: var(--accent-soft); color: var(--accent); }
.mi svg { width: 16px; height: 16px; }
.pill { display: inline-flex; align-items: center; gap: 5px; flex: none; padding: 2px 8px; border-radius: 4px; background: var(--accent-soft); color: var(--accent-2); font-size: 11px; font-weight: 700; white-space: nowrap; }
:root[data-theme="dark"] .pill { color: var(--accent); }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.mock-btn { flex: none; padding: 4px 9px; border: 1px solid var(--line-2); border-radius: 5px; color: var(--text); font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.mock-btn-main { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
.mock-foot { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11.5px; }
.mock-foot .bar { flex: 1; height: 6px; border-radius: 3px; background: var(--panel-2); overflow: hidden; }
.mock-foot .bar i { display: block; height: 100%; background: var(--accent); }
.mock-cap { margin-top: 10px; color: var(--muted); font-size: 12px; text-align: center; }
.mail-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.mail-row { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 11px 14px; border-bottom: 1px solid var(--line); color: var(--muted); }
.mail-row b { color: var(--text); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mail-row span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mail-row time { font-size: 11.5px; }
.mail-row.unread { box-shadow: inset 3px 0 0 var(--accent); }
.mail-row.unread b, .mail-row.unread span { color: var(--text); font-weight: 700; }
.bot-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.bot-head b { display: block; font-size: 14px; }
.bot-head small { color: var(--muted); font-size: 11.5px; }
.bot-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.bot-stats span { padding: 10px 14px; border-right: 1px solid var(--line); }
.bot-stats span:last-child { border-right: 0; }
.bot-stats small { display: block; color: var(--muted); font-size: 10.5px; }
.bot-stats b { font-size: 13px; }
.term { display: grid; gap: 1px; min-height: 168px; padding: 14px 16px; background: #0b1220; color: #cbd5e1; font-family: var(--font-mono); font-size: 11.5px; line-height: 1.65; }
.term span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.term .m { color: #64748b; }
.term .g { color: #34d399; }
.term .y { color: #fbbf24; }
.term .caret { color: #34d399; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.bot-actions { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 14px; }

/* Accueil : cartes des gammes */
.prod-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.prod { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--panel); transition: border-color .15s, box-shadow .15s; }
.prod:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.prod-ic { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); }
.prod-ic svg { width: 22px; height: 22px; }
.prod h3 { font-size: 19px; }
.prod h3 a { text-decoration: none; }
.prod h3 a:hover { color: var(--accent); }
.prod > p { margin-top: 6px; color: var(--muted); font-size: 14.5px; }
.prod ul { flex: 1; display: grid; gap: 8px; align-content: start; margin: 16px 0; padding: 14px 0 0; border-top: 1px solid var(--line); list-style: none; font-size: 14px; }
.prod li { display: flex; gap: 8px; }
.prod li svg, .chips svg { width: 16px; height: 16px; margin-top: 3px; color: var(--accent); stroke-width: 2.2; }
.prod-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.prod-price small { color: var(--muted); font-size: 12.5px; }
.prod-price b { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.plans-foot a { color: var(--text); font-weight: 600; }
.plans-foot a:hover { color: var(--accent); }

/* Étapes numérotées */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 28px 0 0; padding: 0; list-style: none; border: 1px solid var(--line-2); border-radius: 8px; background: var(--panel); overflow: hidden; }
.steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step { padding: 22px 22px 24px; border-right: 1px solid var(--line); }
.step:last-child { border-right: 0; }
.step-n { display: inline-grid; place-items: center; width: 32px; height: 32px; margin-bottom: 14px; border-radius: 6px; background: var(--text); color: var(--bg); font-family: var(--font-mono); font-size: 12.5px; font-weight: 600; }
.step h3 { font-size: 15.5px; }
.step p { margin-top: 6px; color: var(--muted); font-size: 14px; line-height: 1.6; }

/* Outils (4 cartes) */
.tools-grid .tool { display: flex; flex-direction: column; }
.tool-ic { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 14px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); }
.tool .link-arrow { margin-top: 14px; font-size: 13.5px; }

/* Grilles de fonctionnalités */
.fgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 28px; margin-top: 28px; }
.fgrid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fitem .fi { margin-bottom: 14px; }
.fitem h3 { font-size: 15.5px; }
.fitem p { margin-top: 6px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.fitem p a { color: var(--text); font-weight: 600; }

/* Fiche technique */
.spec { margin: 0; border: 1px solid var(--line-2); border-radius: 8px; background: var(--panel); overflow: hidden; }
.spec-row { display: grid; grid-template-columns: minmax(150px, 0.8fr) minmax(0, 1.2fr); gap: 16px; padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.spec-row:last-child { border-bottom: 0; }
.spec-row dt { color: var(--muted); font-weight: 500; }
.spec-row dd { margin: 0; font-weight: 600; min-width: 0; }
.spec-row dd a { color: var(--accent); }
.spec-row dd .muted { font-weight: 500; font-size: 13px; }

/* Pages intérieures : en-tête de page */
.phero { padding: 30px 0 56px; background: var(--alt); border-bottom: 1px solid var(--line); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; color: var(--muted); font-size: 13px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.crumbs [aria-current] { color: var(--text); font-weight: 600; }
.phero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.phero h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.phero-center { text-align: left; }
.phero-center h1, .phero-center .lead { max-width: 720px; }
.price-chip { display: inline-block; margin-top: 22px; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 6px; background: var(--panel); color: var(--muted); font-size: 13.5px; }
.price-chip b { margin: 0 3px; color: var(--text); font-size: 19px; font-weight: 800; white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 18px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 13.5px; font-weight: 600; }
.chips li { display: inline-flex; gap: 6px; }
.chips svg { margin-top: 2px; }

/* Langages (bots) */
.langs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line-2); border-radius: 8px; background: var(--panel); overflow: hidden; }
.lang { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 18px 22px; border-right: 1px solid var(--line); }
.lang:last-child { border-right: 0; }
.lang b { font-size: 17px; }
.lang span { color: var(--muted); font-size: 13px; font-family: var(--font-mono); }

/* Tableau comparatif */
.cmp-wrap { margin-top: 24px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--panel); overflow-x: auto; }
.cmp { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 14px; }
.cmp th, .cmp td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.cmp tbody th { color: var(--muted); font-weight: 500; text-align: left; }
.cmp thead th { background: var(--panel-2); color: var(--text); font-size: 14px; font-weight: 700; vertical-align: bottom; }
.cmp thead th:first-child { text-align: left; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.cmp thead th small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; font-weight: 500; }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp td { font-weight: 600; }
.cmp .yes svg { width: 18px; height: 18px; color: var(--accent); stroke-width: 2.4; vertical-align: middle; }
.cmp .no { color: var(--muted); font-weight: 400; }
.cmp .pick { background: color-mix(in srgb, var(--accent) 6%, transparent); }
.cmp thead th.pick { box-shadow: inset 0 3px 0 var(--accent); }

/* Bandeau d'appel à l'action */
.cta-band { padding: 54px 0; background: var(--util-bg); color: #f8fafc; }
.cta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.cta-band h2 { color: #ffffff; font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; }
.cta-band p { max-width: 56ch; margin-top: 8px; color: #cbd5e1; }
.cta-act { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-band .btn-line { border-color: rgba(255, 255, 255, 0.28); background: transparent; color: #ffffff; }
.cta-band .btn-line:hover { border-color: #ffffff; background: rgba(255, 255, 255, 0.06); }

/* Centre d'aide */
.help-search { position: relative; max-width: 620px; margin-top: 24px; }
.help-search svg { position: absolute; left: 16px; top: 15px; color: var(--muted); }
.help-search input { width: 100%; height: 52px; padding: 0 16px 0 46px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--panel); color: var(--text); font: inherit; font-size: 15.5px; box-shadow: var(--shadow); outline: none; transition: border-color .15s, box-shadow .15s; }
.help-search input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.help-pop { margin-top: 14px; color: var(--muted); font-size: 13.5px; }
.help-pop a { color: var(--text); font-weight: 600; text-decoration: none; }
.help-pop a:hover { color: var(--accent); }
.block-help { padding-top: 40px; }
.help-cats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.hcat { display: flex; flex-direction: column; padding: 18px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--panel); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.hcat:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.hcat b { margin-top: 12px; font-size: 15px; }
.hcat small { margin-top: 3px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.hcat em { margin-top: 10px; color: var(--accent); font-style: normal; font-size: 12px; font-weight: 700; font-family: var(--font-mono); }
.help-sec { margin-top: 52px; scroll-margin-top: 84px; }
.help-sec h2 { display: flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 800; }
.help-sec > .spec { margin-top: 18px; }
.help-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.help-art { padding: 20px 22px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--panel); scroll-margin-top: 84px; }
.help-art:target { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.help-meta { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 8px; color: var(--muted); font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; }
.help-art h3 { font-size: 16.5px; }
.help-art > p:not(.help-meta) { margin-top: 5px; color: var(--muted); font-size: 14px; }
.help-art ol { display: grid; gap: 8px; margin: 14px 0 0; padding-left: 20px; font-size: 14px; line-height: 1.55; }
.help-art ol li::marker { color: var(--accent); font-weight: 700; }
.help-art a { color: var(--accent); }
.help-empty { margin-top: 24px; padding: 18px; border: 1px dashed var(--line-2); border-radius: 8px; color: var(--muted); }
.help-empty a { color: var(--text); font-weight: 600; }

/* À propos */
.about-card { padding: 22px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--panel); box-shadow: var(--shadow); }
.about-card .spec { border: 0; border-radius: 0; background: none; }
.about-card .spec-row { padding: 11px 0; }
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.value { padding: 22px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--panel); }
.value h3 { margin-top: 14px; font-size: 16.5px; }
.value p { margin-top: 6px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.mini-prods { display: grid; gap: 10px; }
.mini-prod { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--panel); text-decoration: none; transition: border-color .15s; }
.mini-prod:hover { border-color: var(--accent); }
.mini-prod > span:nth-child(2) { flex: 1; }
.mini-prod b { display: block; font-size: 15.5px; }
.mini-prod small { color: var(--muted); font-size: 13px; }
.mini-prod > svg { color: var(--muted); }
.fund-sec-page { padding: 8px 0 64px; }

/* Contact */
.ch-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ch { padding: 22px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--panel); }
.ch h3 { margin-top: 14px; color: var(--muted); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.ch .big { display: inline-block; margin-top: 4px; color: var(--text); font-size: 18px; font-weight: 800; text-decoration: none; word-break: break-all; }
.ch .big:hover { color: var(--accent); }
.ch p { margin-top: 6px; color: var(--muted); font-size: 14px; }
.side-list { display: grid; gap: 14px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 14.5px; color: var(--muted); }
.side-list li { display: flex; gap: 12px; }
.side-list svg { margin-top: 2px; color: var(--accent); }
.side-list a { color: var(--text); font-weight: 600; }
.cform { position: relative; display: grid; gap: 16px; padding: 26px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--panel); box-shadow: var(--shadow); }
.cform .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cform label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; }
.cform input, .cform select, .cform textarea { width: 100%; height: 44px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 6px; background: var(--bg); color: var(--text); font: inherit; font-size: 14.5px; font-weight: 400; outline: none; transition: border-color .15s, box-shadow .15s; }
.cform textarea { height: auto; min-height: 160px; padding: 10px 12px; resize: vertical; line-height: 1.55; }
.cform input:focus, .cform select:focus, .cform textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.cform .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.cform-foot a { color: var(--text); }
.form-msg { padding: 12px 14px; border: 1px solid var(--accent); border-radius: 6px; background: var(--accent-soft); font-size: 14px; }
.form-msg.err { border-color: #ef4444; background: rgba(239, 68, 68, 0.08); }

/* Pied de page enrichi */
.foot-grid-5 { grid-template-columns: 1.7fr repeat(4, minmax(0, 1fr)); }
.foot-contact { display: grid; gap: 6px; margin-top: 14px; }
.foot-contact a { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; }
.foot-contact svg { width: 15px; height: 15px; color: var(--accent); }

/* Maquettes plus étroites : la colonne latérale disparaît pour laisser lire les lignes */
@media (max-width: 1180px) {
  .mock-hero .mock-body { grid-template-columns: minmax(0, 1fr); }
  .mock-hero .mock-side { display: none; }
}

/* Navigation repliée (tablette et téléphone) */
@media (max-width: 1000px) {
  .menu-btn { display: grid; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; align-self: auto; gap: 0; max-height: calc(100vh - 64px); overflow-y: auto; padding: 8px 16px 14px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav .nav-mobile { display: block; color: var(--accent); font-weight: 700; }
  .nav > a, .nav-dd-btn { width: 100%; justify-content: space-between; padding: 12px 4px; border-bottom: 1px solid var(--line); font-size: 15.5px; }
  .nav-dd { display: block; }
  .mega { position: static; border: 0; box-shadow: none; background: none; }
  .mega-in { grid-template-columns: 1fr; gap: 0; width: 100%; padding: 8px 0; }
  .mega-grid { grid-template-columns: 1fr; gap: 8px; }
  .nav .mega-item { padding: 12px; border-bottom: 1px solid var(--line); }
  .mega-side { display: none; }
}
@media (max-width: 980px) {
  .phero-in, .split { grid-template-columns: 1fr; gap: 30px; }
  .fgrid, .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps, .steps-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step { border-bottom: 1px solid var(--line); }
  .step:nth-child(2n) { border-right: 0; }
  .step:nth-last-child(-n+2) { border-bottom: 0; }
  .steps-3 .step:nth-child(3) { grid-column: 1 / -1; border-bottom: 0; }
  .help-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-grid-5 { grid-template-columns: 1fr 1fr; }
  .foot-grid-5 .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .prod-grid, .help-list, .ch-grid, .langs { grid-template-columns: 1fr; }
  .lang { border-right: 0; border-bottom: 1px solid var(--line); }
  .lang:last-child { border-bottom: 0; }
  .fgrid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phero { padding: 22px 0 44px; }
}
@media (max-width: 640px) {
  .utilbar-links a:not(.util-phone) { display: none; }
  .utilbar-in { flex-wrap: nowrap; }
  .fgrid, .fgrid-3, .values, .steps, .steps-3 { grid-template-columns: 1fr; }
  .step, .step:nth-child(2n) { border-right: 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
  .spec-row { grid-template-columns: 1fr; gap: 2px; }
  .help-cats { grid-template-columns: 1fr 1fr; }
  .cform { padding: 20px; }
  .cform .row2 { grid-template-columns: 1fr; }
  .mock-body { grid-template-columns: 1fr; min-height: 0; }
  .mock-side { display: none; }
  .mock-row .mock-btn { display: none; }
  .mail-row { grid-template-columns: 86px minmax(0, 1fr) auto; }
  .foot-grid-5 { grid-template-columns: 1fr; }
  .cta-act .btn { flex: 1 1 auto; }
}
