/* Site vitrine BDS MicroTech : thème clair, sans dépendance. */
:root {
    --bg: #f7f9fc;
    --surface: #ffffff;
    --subtle: #eef3fb;
    --text: #0f172a;
    --text-2: #475569;
    --text-3: #64748b;
    --accent: #2563eb;
    --accent-dark: #1d4ed8;
    --accent-soft: #eaf1fd;
    --line: #e2e8f0;
    --ok: #15803d;
    --ok-soft: #ecfdf3;
    --warn-soft: #fffbeb;
    --warn-line: #fde8b6;
    --radius: 14px;
    --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 8px 24px rgba(15, 23, 42, .06);
    --wrap: 1120px;
    color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); text-wrap: balance; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.heading { max-width: 680px; margin: 0 auto 40px; text-align: center; }
.heading p { color: var(--text-2); font-size: 1.05rem; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin-bottom: .6rem; }

.button {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .85rem 1.4rem; border-radius: 999px; border: 1px solid transparent;
    font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
    background: var(--accent); color: #fff; transition: background .15s, transform .15s;
}
.button:hover { background: var(--accent-dark); transform: translateY(-1px); }
.button.secondary { background: var(--surface); color: var(--text); border-color: var(--line); }
.button.secondary:hover { background: var(--subtle); }
.button.block { width: 100%; }

/* En-tête */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--text-2); text-decoration: none; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav .button { color: #fff; padding: .6rem 1.1rem; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font: inherit; cursor: pointer; }
@media (max-width: 860px) {
    .menu-toggle { display: block; }
    .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; }
    .nav.open { display: flex; }
    .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
    .nav .button { margin-top: 12px; border: 0; }
}

/* Accueil */
.hero { padding: 64px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero p.lead { font-size: 1.15rem; color: var(--text-2); max-width: 560px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.hero figure { margin: 0; position: relative; }
.hero figure img { border-radius: 20px; box-shadow: 0 24px 60px rgba(15, 23, 42, .14); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.hero .badge { position: absolute; left: -18px; bottom: 22px; background: var(--surface); border-radius: 14px; box-shadow: var(--shadow); padding: 12px 16px; font-size: .9rem; }
.hero .badge strong { display: block; font-size: 1.3rem; color: var(--accent); }
@media (max-width: 860px) {
    .hero .wrap { grid-template-columns: 1fr; gap: 28px; }
    .hero .badge { left: 12px; }
}
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: var(--text-2); }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks li::before { content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 700; color: var(--ok); background: var(--ok-soft); margin-top: 2px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.service { display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
.service:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(15, 23, 42, .1); }
.service .art { background: var(--accent-soft); padding: 22px; border-bottom: 1px solid var(--line); }
.service .art img { height: 72px; width: auto; margin: 0 auto; }
.service .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.service .body p { color: var(--text-2); margin: 0; }
.service .more { margin-top: auto; padding-top: 10px; color: var(--accent); font-weight: 600; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { padding: 26px; position: relative; }
.step::before { counter-increment: step; content: counter(step); width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 700; color: #fff; background: var(--accent); margin-bottom: 14px; }
.step p { color: var(--text-2); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.pricing { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; align-items: stretch; }
.price-main { padding: 30px; background: linear-gradient(135deg, var(--accent), #1e40af); color: #fff; border: 0; }
.price-main h3 { color: #fff; font-size: 1.4rem; }
.price-main .amount { font-size: 3rem; font-weight: 800; line-height: 1; margin: 6px 0 14px; }
.price-main p { color: rgba(255, 255, 255, .88); }
.price-main .checks { color: #fff; }
.price-main .checks li::before { background: rgba(255, 255, 255, .2); color: #fff; }
.price-side { display: grid; gap: 20px; }
.price-side .card { padding: 22px; }
.price-side p { color: var(--text-2); margin: 0; }
@media (max-width: 860px) { .pricing { grid-template-columns: 1fr; } }

.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.review .stars { color: #f59e0b; letter-spacing: 2px; }
.review blockquote { margin: 0; color: var(--text-2); }
.review cite { font-style: normal; font-weight: 600; margin-top: auto; }
.review cite span { color: var(--text-3); font-weight: 400; font-size: .85rem; }
@media (max-width: 860px) { .reviews { grid-template-columns: 1fr; } }

.cta { padding: 44px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; background: var(--surface); }
.cta p { color: var(--text-2); margin: 0; }
@media (max-width: 700px) { .cta { grid-template-columns: 1fr; padding: 28px; } }

.notice { background: var(--warn-soft); border: 1px solid var(--warn-line); border-radius: 12px; padding: 14px 18px; color: #78350f; font-size: .95rem; }

/* Pages intérieures */
.page-head { padding: 52px 0 24px; }
.page-head p { color: var(--text-2); font-size: 1.1rem; max-width: 720px; }
.breadcrumb { font-size: .9rem; color: var(--text-3); margin-bottom: 12px; }
.breadcrumb a { color: var(--text-3); }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.4rem; margin-top: 1.8em; }
.prose p, .prose li { color: var(--text-2); }
.prose .legal { white-space: pre-line; }
.two-cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 860px) { .two-cols { grid-template-columns: 1fr; } }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { margin: 10px 0 0; color: var(--text-2); }
.aside { padding: 24px; position: sticky; top: 90px; }

/* Formulaire */
.form { padding: 28px; display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 700px) { .form .row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field small { display: block; color: var(--text-3); margin-top: 4px; }
.field input, .field select, .field textarea {
    width: 100%; font: inherit; color: var(--text); background: #fff;
    border: 1px solid #cbd5e1; border-radius: 10px; padding: .7rem .85rem;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent-soft); border-color: var(--accent); }
.field textarea { min-height: 140px; resize: vertical; }
.choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 700px) { .choices { grid-template-columns: 1fr; } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: block; height: 100%; border: 1px solid #cbd5e1; border-radius: 12px; padding: 12px 14px; cursor: pointer; background: #fff; }
.choice span strong { display: block; }
.choice span small { color: var(--text-3); }
.choice input:checked + span { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 1px var(--accent); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); }
.errors { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; border-radius: 12px; padding: 12px 16px; }
.hp { position: absolute; left: -9999px; }
.success { padding: 36px; text-align: center; }
.success .icon { width: 64px; height: 64px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; font-size: 1.8rem; margin: 0 auto 16px; }

/* Pied de page */
.site-footer { background: #0f172a; color: #cbd5e1; padding: 48px 0 28px; margin-top: 0; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer img { height: 32px; width: auto; margin-bottom: 14px; }
.site-footer h3 { color: #fff; font-size: 1rem; }
.site-footer a { color: #cbd5e1; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer .legal { border-top: 1px solid #1e293b; margin-top: 32px; padding-top: 18px; font-size: .85rem; color: #94a3b8; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr; } }
