/* VibesHosting : style sobre, deux thèmes, police système */
:root {
  color-scheme: dark;
  --bg: #101112;
  --panel: #17181a;
  --panel-2: #1e2022;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f1f2f3;
  --muted: #a3a7ab;
  --accent: #34c27a;
  --accent-ink: #07150d;
  --accent-soft: rgba(52, 194, 122, 0.12);
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f7f7f5;
  --panel: #ffffff;
  --panel-2: #f0f0ed;
  --line: rgba(0, 0, 0, 0.08);
  --line-2: rgba(0, 0, 0, 0.16);
  --text: #141516;
  --muted: #5d6166;
  --accent: #17894f;
  --accent-ink: #ffffff;
  --accent-soft: rgba(23, 137, 79, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -0.01em; line-height: 1.2; }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.wrap { width: min(100% - 32px, 1080px); margin-inline: auto; }
.muted { color: var(--muted); }
.skip { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 10px 14px; border-radius: 8px; background: var(--text); color: var(--bg); font-weight: 600; text-decoration: none; transform: translateY(-160%); }
.skip:focus { transform: none; }

/* En-tête */
.top { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; text-decoration: none; }
.brand svg { width: 30px; height: 30px; }
.b-bg { fill: var(--accent); stroke: none; }
.b-v { stroke: var(--accent-ink); stroke-width: 3; }
.nav { display: flex; gap: 22px; margin-right: auto; }
.nav a { color: var(--muted); font-size: 15px; font-weight: 500; text-decoration: none; }
.nav a:hover { color: var(--text); }
.top-act { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.icon-btn { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 8px; background: none; color: var(--text); cursor: pointer; }
.icon-btn:hover { background: var(--panel-2); }
.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: 44px; padding: 0 20px; border-radius: 8px; border: 1px solid transparent; font: inherit; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn-sm { height: 38px; padding: 0 14px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-main { background: var(--accent); color: var(--accent-ink); }
.btn-main:hover { filter: brightness(1.07); }
.btn-line { border-color: var(--line-2); background: none; color: var(--text); }
.btn-line:hover { background: var(--panel-2); }

/* Accueil */
.hero { padding: 88px 0 72px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.hero h1 { font-size: clamp(32px, 5vw, 54px); font-weight: 750; letter-spacing: -0.025em; max-width: 17ch; text-wrap: balance; }
.lead { margin-top: 18px; max-width: 56ch; font-size: 18px; color: var(--muted); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 14px; }
.hero-facts li::before { content: "✓"; margin-right: 7px; color: var(--accent); font-weight: 700; }

/* Blocs */
.block { padding: 56px 0; border-top: 1px solid var(--line); }
.block h2 { font-size: 28px; font-weight: 700; }
.block-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: 28px; }
.block-head .muted { margin-top: 6px; }
.toggles { display: flex; flex-wrap: wrap; gap: 10px; }
.seg { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.seg button { height: 36px; padding: 0 14px; border: 0; border-radius: 7px; background: none; color: var(--muted); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.seg button[aria-selected="true"], .seg button[aria-pressed="true"] { background: var(--panel-2); color: var(--text); }
.save { margin-left: 4px; color: var(--accent); font-size: 12px; }

/* Tarifs */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 26px 24px 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.plan-pick { border-color: var(--accent); }
.tag { position: absolute; top: -11px; left: 22px; padding: 2px 10px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 700; }
.plan h3 { font-size: 19px; }
.plan-for { margin-top: 6px; color: var(--muted); font-size: 14px; min-height: 2.9em; }
.price { margin-top: 18px; display: flex; align-items: baseline; gap: 6px; }
.price b { font-size: 36px; font-weight: 750; letter-spacing: -0.02em; }
.price span { color: var(--muted); font-size: 14px; }
.price-note { min-height: 1.4em; margin-top: 2px; color: var(--muted); font-size: 13px; }
.plan ul { flex: 1; margin: 18px 0 22px; padding: 0; list-style: none; display: grid; gap: 9px; align-content: start; font-size: 15px; }
.plan li { display: flex; gap: 9px; }
.plan li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 4px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='%2334c27a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }

/* Inclus */
.feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.feat { padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.feat h3 { font-size: 16px; }
.feat p { margin-top: 6px; color: var(--muted); font-size: 15px; }

/* FAQ */
.faq { margin-top: 20px; border-top: 1px solid var(--line); max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 2px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 22px; font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 2px 18px; color: var(--muted); max-width: 64ch; }

/* Contact */
.contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding: 30px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.contact .muted { margin-top: 8px; max-width: 58ch; }

/* Pied de page */
.foot { border-top: 1px solid var(--line); padding: 26px 0 34px; color: var(--muted); font-size: 14px; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.foot nav { display: flex; gap: 18px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--text); }

@media (max-width: 860px) {
  .plans, .feats { grid-template-columns: 1fr; }
  .plan-for { min-height: 0; }
  .nav { display: none; }
  .hero { padding: 56px 0 48px; }
  .block { padding: 44px 0; }
}
@media (max-width: 420px) {
  .top-act .btn-sm { display: none; }
  .seg button { padding: 0 11px; }
  .contact { padding: 22px; }
}
