:root {
    --brand: #EF4D48;
    --brand-dark: #d63a35;
    --brand-light: #ff8a85;
    --ink: #1c1f24;
    --wa: #25D366;
    --bs-body-font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --bs-body-color: #3a3f47;
}

html { scroll-padding-top: 90px; }
body { -webkit-font-smoothing: antialiased; }
@media (max-width: 991.98px) { body { padding-bottom: 64px; } }

a { color: var(--brand); }
a:hover { color: var(--brand-dark); }

.text-brand { color: var(--brand) !important; }
.text-brand-light { color: var(--brand-light) !important; }
.opacity-90 { opacity: .9; }

.btn-brand {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--brand);
    --bs-btn-border-color: var(--brand);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--brand-dark);
    --bs-btn-hover-border-color: var(--brand-dark);
    --bs-btn-active-bg: var(--brand-dark);
    --bs-btn-active-color: #fff;
    font-weight: 600;
}
.btn-wa { background: var(--wa); color: #fff; font-weight: 600; }
.btn-wa:hover { background: #1eb457; color: #fff; }

/* Topbar & nav */
.topbar { background: var(--ink); color: rgba(255,255,255,.75); font-size: .825rem; padding: .4rem 0; }
.topbar a { color: rgba(255,255,255,.85); text-decoration: none; }
.topbar a:hover { color: #fff; }

.logo svg { height: 44px; width: auto; display: block; }
.navbar .nav-link { color: var(--ink); }
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--brand); }

/* Hero */
.hero {
    position: relative;
    padding: 6rem 0 5rem;
    background:
        linear-gradient(100deg, rgba(20,22,26,.94) 0%, rgba(20,22,26,.82) 55%, rgba(239,77,72,.55) 100%),
        url('../img/depannage.webp') center / cover no-repeat;
}
.hero h1 { line-height: 1.15; }
.hero-checks li { margin-right: 1.25rem; }
.hero-checks i { color: var(--brand-light); margin-right: .25rem; }
.hero-card { border-radius: 1.25rem; }
.hero-card li { padding: .35rem 0; border-bottom: 1px dashed #e5e7eb; }
.hero-card li:last-child { border-bottom: 0; }

.pulse {
    display: inline-block; width: .55rem; height: .55rem; border-radius: 50%;
    background: #22c55e; margin-right: .4rem; vertical-align: middle;
    box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: pulse 1.8s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 .6rem rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }

.callband { background: var(--brand); color: #fff; }

/* Sections */
.section { padding: 5.5rem 0; }
.eyebrow {
    display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
    text-transform: uppercase; color: var(--brand); margin-bottom: .5rem;
}
.section-title { font-weight: 800; color: var(--ink); margin-bottom: 1rem; }

.icon-box {
    width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
    background: rgba(239,77,72,.1); color: var(--brand); font-size: 1.6rem;
}
.icon-wa { background: rgba(37,211,102,.12); color: var(--wa); }

.service-card, .contact-card { border-radius: 1rem; transition: transform .2s, box-shadow .2s; }
.service-card:hover, a.contact-card:hover { transform: translateY(-4px); box-shadow: 0 1rem 2rem rgba(0,0,0,.08) !important; }
.service-card:hover .icon-box { background: var(--brand); color: #fff; }

/* About */
.about-badge {
    position: absolute; right: -10px; bottom: -20px; background: var(--brand); color: #fff;
    border-radius: 1rem; padding: 1rem 1.4rem; text-align: center; line-height: 1.1;
}
.about-badge strong { display: block; font-size: 2rem; font-weight: 800; }
.about-badge span { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.adv { background: #fff; border-radius: .75rem; padding: .85rem 1rem; box-shadow: 0 .125rem .5rem rgba(0,0,0,.05); height: 100%; }
.adv i { font-size: 1.5rem; color: var(--brand); }

/* Accordions */
.accordion { --bs-accordion-active-bg: rgba(239,77,72,.07); --bs-accordion-active-color: var(--ink); --bs-accordion-btn-focus-box-shadow: 0 0 0 .2rem rgba(239,77,72,.2); }
.accordion-button { font-weight: 600; }
.faq .accordion-item { border-radius: .75rem !important; margin-bottom: .75rem; border: 1px solid #eceef1; overflow: hidden; }

/* Tarifs */
.tarifs { background: var(--ink) !important; }
.price-card { border-radius: 1.25rem; max-width: 440px; }
.price { font-size: 4.5rem; font-weight: 800; color: var(--ink); line-height: 1; }
.price small { display: block; font-size: .9rem; font-weight: 500; color: #6c757d; margin-bottom: .25rem; }
.price span { font-size: 2rem; vertical-align: top; color: var(--brand); }
.price-card li { padding: .3rem 0; }

/* Zones */
.zone-pill {
    min-width: 54px; padding: .5rem .9rem; border-radius: 999px; background: #fff;
    border: 2px solid var(--brand); color: var(--brand); font-weight: 700;
}

/* Footer */
.footer { background: #14161a; }
.footer a { color: rgba(255,255,255,.65); text-decoration: none; }
.footer a:hover { color: #fff; }
.footer li { padding: .2rem 0; }

/* Mobile CTA & WhatsApp */
.mobile-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; display: flex; gap: .5rem;
    padding: .5rem .75rem calc(.5rem + env(safe-area-inset-bottom, 0px));
    background: #fff; box-shadow: 0 -4px 16px rgba(0,0,0,.1);
}
.mobile-cta .btn { border-radius: 999px; padding: .65rem; }

.wa-float {
    position: fixed; right: 24px; bottom: 24px; z-index: 1030; width: 58px; height: 58px; border-radius: 50%;
    background: var(--wa); color: #fff; font-size: 1.8rem; align-items: center; justify-content: center;
    box-shadow: 0 6px 20px rgba(37,211,102,.45); transition: transform .2s;
}
.wa-float:hover { color: #fff; transform: scale(1.08); }

@media (max-width: 575.98px) {
    .hero { padding: 4rem 0 3.5rem; }
    .section { padding: 4rem 0; }
    .logo svg { height: 38px; }
    .about-badge { right: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    .pulse { animation: none; }
    .service-card, .contact-card, .wa-float { transition: none; }
}
