* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #111;
    color: #ddd;
    font-family: Arial, sans-serif;
    font-size: 15px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main { flex: 1; }
a { color: #ddd; text-decoration: none; }

/* HEADER */
.site-header {
    background-color: #1a1a1a;
    border-bottom: 1px solid #333;
    position: sticky;
    top: 0;
    z-index: 10;
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ddd;
}

.brand-mark {
    background-color: #c9a84c;
    color: #111;
    font-weight: bold;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 13px;
}

.brand-text strong { display: block; font-size: 15px; }
.brand-text small { color: #888; font-size: 12px; }

.nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav a {
    color: #ccc;
    font-size: 14px;
}

.nav a:hover { color: #fff; }

.btn {
    background-color: #c9a84c;
    color: #111 !important;
    padding: 8px 16px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 14px;
    display: inline-block;
}

.btn:hover { background-color: #e8c76a; }

.btn-ghost {
    background-color: transparent;
    color: #ccc !important;
    border: 1px solid #444;
}

.btn-ghost:hover { background-color: #222; color: #fff !important; }
.btn-lg { padding: 12px 24px; font-size: 15px; }
.btn-full { width: 100%; text-align: center; }

/* BURGER */
.burger {
    display: none;
    margin-left: auto;
    background: none;
    border: 1px solid #444;
    border-radius: 4px;
    padding: 6px 8px;
    cursor: pointer;
}

.burger span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: #ccc;
    margin: 4px 0;
}

/* LAYOUT */
.section { padding: 50px 0; }
.section.alt { background-color: #161616; }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HERO */
.hero { padding: 60px 0 40px; }

.hero-inner {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.hero-inner > div:first-child { flex: 1.3; }

.hero-card {
    flex: 0.8;
    background-color: #1e1e1e;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 20px;
}

.hero-card-top {
    border-bottom: 1px solid #333;
    padding-bottom: 12px;
    margin-bottom: 14px;
}

.hero-card-top h3 { font-size: 15px; margin-bottom: 4px; }
.hero-card-top p { color: #888; font-size: 13px; }

.pill {
    display: inline-block;
    background-color: #1e1e1e;
    border: 1px solid #333;
    color: #888;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    margin-bottom: 14px;
}

.hero h1 {
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 14px;
    color: #fff;
}

.lead { color: #999; font-size: 15px; line-height: 1.6; }

.hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.api-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    background-color: #1e1e1e;
    border: 1px solid #333;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    color: #888;
}

.dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: #555;
}

.api-badge.ok .dot { background-color: #2ecc71; }
.api-badge.bad .dot { background-color: #e74c3c; }

h2 { font-size: 24px; margin-bottom: 26px; color: #fff; }

/* CARDS */
.card {
    background-color: #1a1a1a;
    border: 1px solid #2e2e2e;
    border-radius: 8px;
    padding: 20px;
}

.card h3 { font-size: 16px; margin-bottom: 10px; color: #eee; }
.card-accent { border-color: #c9a84c; }

.card-media .media {
    height: 110px;
    background-color: #222;
    border: 1px solid #2e2e2e;
    border-radius: 6px;
    margin-bottom: 12px;
}

/* GRILLES */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }

/* CHECKLIST */
.checklist { list-style: none; padding: 0; margin: 12px 0 18px; }
.checklist li {
    padding: 7px 0 7px 22px;
    position: relative;
    color: #aaa;
    font-size: 14px;
    border-bottom: 1px solid #222;
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: #2ecc71; }

/* PRIX */
.price { font-size: 28px; font-weight: bold; color: #c9a84c; margin: 10px 0 6px; }
.price span { font-size: 14px; color: #888; font-weight: normal; }

/* FORMULAIRES */
.field { display: block; margin-bottom: 14px; }
.field span { display: block; color: #999; font-size: 13px; margin-bottom: 5px; }

input, textarea {
    width: 100%;
    padding: 9px 12px;
    background-color: #222;
    border: 1px solid #333;
    border-radius: 5px;
    color: #ddd;
    font-size: 14px;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #c9a84c;
}

/* CRÉNEAUX */
.slots { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }

.slot {
    padding: 9px 14px;
    background-color: #222;
    border: 1px solid #333;
    border-radius: 5px;
    cursor: pointer;
    color: #ddd;
    font-size: 14px;
}

.slot:hover { border-color: #c9a84c; }
.slot.selected { border-color: #c9a84c; background-color: #2a2010; color: #e8c76a; }
.slot.disabled { opacity: 0.35; cursor: not-allowed; }

/* MESSAGES */
.hint {
    margin-top: 14px;
    padding: 10px 14px;
    border: 1px dashed #333;
    border-radius: 5px;
    color: #888;
    font-size: 13px;
}

.note { color: #777; font-size: 13px; margin-top: 16px; }
.muted { color: #888; font-size: 13px; }

/* CTA */
.cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

/* FOOTER */
.site-footer {
    background-color: #1a1a1a;
    border-top: 1px solid #2e2e2e;
    padding: 20px 0;
}

.footer-inner { display: flex; justify-content: space-between; align-items: center; }
.footer-inner p { color: #666; font-size: 13px; }
.footer-links { display: flex; gap: 16px; }
.footer-links a { color: #666; font-size: 13px; }
.footer-links a:hover { color: #aaa; }

/* RESPONSIVE */
@media (max-width: 900px) {
    .hero-inner { flex-direction: column; }
    .hero h1 { font-size: 28px; }
}

@media (max-width: 760px) {
    .nav { display: none; }
    .burger { display: block; }
    body.nav-open .nav {
        display: flex;
        position: absolute;
        top: 62px;
        left: 0;
        right: 0;
        background-color: #1a1a1a;
        border-bottom: 1px solid #333;
        flex-direction: column;
        padding: 16px 20px;
        gap: 14px;
    }
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .cta { flex-direction: column; align-items: flex-start; }
    .hero-actions { flex-direction: column; }
}
