/* =========================================================
   SCOOTERS-CHOLET / NANTES — UI JOYEUSE (MINI CSS)
   ========================================================= */

/* ===============================
   Palette Site – Identité locale
   =============================== */

:root {
    /* Rouge Cholet (accent principal) */
    --site-primary: #c4161c;          /* rouge profond, sportif, élégant */
    --site-primary-soft: #fdeaea;     /* rouge très clair (fonds, badges) */
    --site-secondary: #8f0f14;        /* rouge plus sombre */

    /* Gris / neutres */
    --site-dark: #1f2933;             /* texte principal */
    --site-dark-soft: #4b5563;        /* texte secondaire */
    --site-border: #e5e7eb;           /* séparateurs, cards */

    /* Fond général */
    --site-bg-soft: #f9fafb;          /* fond page */
    --site-bg-card: #ffffff;          /* fond cards */

    /* Accent chaud (confiance / humain) */
    --site-accent: #f59e0b;           /* ambre doux (CTA secondaires, hover léger) */
}

html {
    scroll-behavior: smooth;
}


h1, h2, h3 {
    color: var(--site-dark);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--site-primary);
    margin-top: 0.5rem;
}



/* Header */
.site-logo {
    color: var(--site-primary);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.site-logo:hover {
    color: var(--site-primary);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1020; /* au-dessus du contenu, sous modals */
    background: #fff;
    border-bottom: 3px solid var(--site-primary);
}

/* ===============================
   NAVIGATION — OVERRIDE BOOTSTRAP
   =============================== */

/* Desktop + Mobile */
.site-header a.nav-link,
.offcanvas a.nav-link {
    color: var(--site-dark);
    font-weight: 600;
    text-decoration: none;
    transition: color .15s ease;
}

/* Hover / focus */
.site-header a.nav-link:hover,
.site-header a.nav-link:focus,
.offcanvas a.nav-link:hover,
.offcanvas a.nav-link:focus {
    color: var(--site-primary);
}

/* Lien actif */
.site-header a.nav-link.active,
.offcanvas a.nav-link.active {
    color: var(--site-primary);
}

/* Suppression totale des styles Bootstrap parasites */
.site-header a.nav-link:focus-visible,
.offcanvas a.nav-link:focus-visible {
    outline: none;
    box-shadow: none;
}


/* Menu mobile */
.offcanvas,
.navbar-collapse {
    background-color: #fff;
}


/* Navigation desktop */
.main-nav a {
    text-decoration: none;
    color: #1f2933;
    font-weight: 500;
    position: relative;
}

.main-nav a:hover {
    color: var(--site-primary);
}

/* Contact (accent discret) */
.nav-contact {
    font-weight: 600;
    color: var(--site-primary) !important;
}

/* Supprimer tout bleu Bootstrap parasite */
a {
    color: inherit;
}


/* Hero */
.hero-site {
    background: linear-gradient(135deg, var(--site-primary), var(--site-secondary));
    color: #fff;
}

.hero-site h1 {
    color: #ffffff;
}

.hero-site p {
    color: rgba(255, 255, 255, 0.9);
}

/* Section fond doux */
.bg-soft {
    background: var(--site-bg-soft);
}

/* Cards catalogue */
.catalog-card {
    border-radius: 18px;
    transition: transform .25s ease, box-shadow .25s ease;
}

.catalog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(0,0,0,.12);
}

.catalog-bg {
    position: relative;
    overflow: hidden;
    color: #222;
}

.catalog-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-repeat: repeat;
    background-size: 100px 100px;
    z-index: 0;
}

.catalog-bg .card-body {
    position: relative;
    z-index: 1;
    background: rgba(255,255,255,0.9);
    border-radius: 14px;
}

.catalog-title {
    font-size: 1.1rem;      /* desktop */
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #1f2933;
}


/* Images par rubrique */
.bg-scooter-50::before {
    background-image: url("/assets/img/TY50QT-19E-FAST.webp");
}

.bg-scooter-125::before {
    background-image: url("/assets/img/TY50QT-22F-TALIA-BK.webp");
}

.bg-scooter-electrique::before {
    background-image: url("/assets/img/AT-E-XDV-GN.webp");
}

.bg-moto-50::before {
    background-image: url("/assets/img/VI-VEN-20-NO.webp");
}

.bg-moto-125::before {
    background-image: url("/assets/img/MA-AVENGERS125E5NOIRM.webp");
}

.bg-moto-elec::before {
    background-image: url("/assets/img/DI-DT-PRO-48.webp");
}

.bg-velo-elec::before {
    background-image: url("/assets/img/AC-V981028T.webp");
}

.bg-tricycle::before {
    background-image: url("/assets/img/PR-213769.webp");
}


/* Icônes SVG */
.catalog-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1rem;
    fill: var(--site-primary);
}

/* Boutons */
.btn-site {
    background: var(--site-primary);
    color: #fff;
    border: none;
    font-weight: 700;
    border-radius: 999px;
    padding: .6rem 1.4rem;
    box-shadow: 0 6px 0 rgba(0,0,0,0.15);
    transition: 
        transform .15s ease,
        box-shadow .15s ease,
        background-color .15s ease;
}

.btn-site:hover {
    background: #a91217; /* rouge légèrement plus sombre */
    color: #fff;
    transform: translateY(-2px);
    box-shadow:
        0 10px 0 rgba(0,0,0,0.15),
        0 0 0 4px rgba(245,158,11,0.25); /* ambre */
}

.btn-site:active {
    transform: translateY(2px);
    box-shadow: 0 3px 0 rgba(0,0,0,0.2);
}

/* Rassurance */
.rassurance-item {
    font-weight: 500;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
}


/* Texte SEO bas */
.text-seo {
    max-width: 900px;
}

/* Burger mobile — SVG inline */
.burger-icon {
    color: var(--site-primary);
    display: block;
}

button:hover .burger-icon {
    color: #a91217; /* rouge hover */
}



/* Marques */ 
.brand-header {
    display: flex;
    align-items: center;
}

.brand-logo {
    display: block;
    height: 36px;
    margin-right: 1rem;
    max-width: 300px;
    object-fit: contain;
    width: auto;
}

.brand-title {
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--site-primary);
}


/* ===============================
   CTA PRODUITS — PORTFOLIO
   =============================== */

/* CTA principal */
.btn-cta-primary {
    background: var(--site-primary);
    color: #fff;
    border: none;
    font-weight: 800;
    border-radius: 999px;
    padding: .65rem 1.2rem;
    letter-spacing: 0.02em;
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
    box-shadow: 0 6px 0 rgba(0,0,0,0.15);
}

.btn-cta-primary:hover {
    background: #a11217;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 0 rgba(0,0,0,0.15);
}

/* CTA secondaire (informatif) */
.btn-cta-secondary {
    background: transparent;
    color: var(--site-dark);
    border: 2px solid var(--site-border);
    font-weight: 600;
    border-radius: 999px;
    padding: .55rem 1.2rem;
    transition: color .15s ease, border-color .15s ease;
}

.btn-cta-secondary:hover {
    color: var(--site-primary);
    border-color: var(--site-primary);
}

/* Mention locale */
.cta-local {
    font-size: .85rem;
    text-align: center;
    color: var(--site-dark-soft);
}
