/* Theme locationng — centre de location d'outils. Rouge, blanc et noir. */
:root {
    --ng-black: #0b0b0c;
    --ng-coal: #17181b;
    --ng-steel: #26282d;
    --ng-red: #e11d2a;
    --ng-red-dark: #b5121d;
    --ng-white: #ffffff;
    --ng-paper: #f5f5f4;
    --ng-text: #1c1c1e;
    --ng-muted: #6b7280;
    --border: #e5e7eb;
    --radius: 10px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html { background: var(--ng-black); }
body { margin: 0; font-family: Inter, system-ui, sans-serif; color: var(--ng-text); background: var(--ng-paper); line-height: 1.55;
    min-height: 100vh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; }
body > footer.site { flex-shrink: 0; }
img { max-width: 100%; }
a { color: var(--ng-red); }
a:hover { color: var(--ng-red-dark); }
h1, h2, h3, h4 { font-family: Montserrat, Inter, sans-serif; line-height: 1.15; }
.container { width: min(1200px, 100% - 2rem); margin-inline: auto; }

/* Bandeau du haut */
.topbar { background: var(--ng-black); color: #d1d5db; font-size: .82rem; }
.topbar .inner { display: flex; justify-content: space-between; gap: 1rem; padding: .4rem 0; flex-wrap: wrap; }
.topbar a { color: var(--ng-white); font-weight: 600; text-decoration: none; }
.topbar .sep { color: var(--ng-red); margin: 0 .4rem; }

/* En-tete */
header.site { background: var(--ng-coal); border-bottom: 3px solid var(--ng-red); position: sticky; top: 0; z-index: 50; }
header.site .inner { display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: 1rem; }
.logo { display: block; height: 50px; width: auto; }
.logo-footer { height: 46px; margin-bottom: .8rem; }
.logo-xl { height: auto; width: min(640px, 90%); margin: 0 auto 1.4rem; }
.brand { display: inline-flex; align-items: baseline; gap: .35rem; text-decoration: none; font-family: Montserrat, sans-serif; font-weight: 900; letter-spacing: .02em; }
.brand-loc { color: var(--ng-white); font-size: 1.5rem; }
.brand-ng { color: var(--ng-red); font-size: 1.6rem; font-style: italic; }
.brand-ng b { color: var(--ng-white); }
.brand-fils { color: var(--ng-white); font-size: .8rem; font-weight: 800; }
.nav { display: flex; align-items: center; gap: 1.2rem; }
.nav a { color: #e5e7eb; text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--ng-red); }
.nav .nav-cta { background: var(--ng-red); color: var(--ng-white); padding: .5rem .9rem; border-radius: 999px; }
.nav .nav-cta:hover { background: var(--ng-red-dark); color: var(--ng-white); }
.nav .badge { display: inline-block; min-width: 1.4em; padding: 0 .35em; margin-left: .2rem; border-radius: 999px; background: var(--ng-white); color: var(--ng-red); font-size: .78rem; text-align: center; }
.nav-toggle, .nav-burger { display: none; }
/* Selecteur de langue (vue rebel/lang-switcher du theme) */
.rebel-lang { display: inline-flex; gap: .3rem; align-items: center; }
.rebel-lang a, .rebel-lang .lang-on { display: inline-block; padding: .3rem .55rem; border-radius: 6px; font-size: .82rem; font-weight: 800;
    font-family: Montserrat, sans-serif; letter-spacing: .04em; text-decoration: none; line-height: 1; }
.rebel-lang .lang-on { background: var(--ng-red); color: var(--ng-white); }
.rebel-lang a { color: #e5e7eb; border: 1px solid #52525b; }
.rebel-lang a:hover { color: var(--ng-black); background: #fff; border-color: #fff; }

/* Boutons (aussi utilises par l'addon : .btn, .btn-line) */
.btn { display: inline-block; padding: .7rem 1.3rem; border-radius: 999px; border: 2px solid var(--ng-red); background: var(--ng-red); color: var(--ng-white);
    font-weight: 700; font-family: Montserrat, sans-serif; text-decoration: none; cursor: pointer; font-size: .95rem; transition: transform .15s, background .15s; }
.btn:hover { background: var(--ng-red-dark); border-color: var(--ng-red-dark); color: var(--ng-white); transform: translateY(-1px); }
.btn-line, .btn-ghost { background: transparent; color: var(--ng-red); }
.btn-line:hover { background: var(--ng-red); color: var(--ng-white); }
.btn-ghost { color: var(--ng-white); border-color: var(--ng-white); }
.btn-ghost:hover { background: var(--ng-white); color: var(--ng-black); border-color: var(--ng-white); }
.btn-orange { background: var(--ng-red); border-color: var(--ng-red); }
.btn-orange:hover { background: var(--ng-red-dark); border-color: var(--ng-red-dark); }
.btn-red { }

/* Slider plein ecran */
.hero { position: relative; height: min(62vh, 560px); min-height: 360px; overflow: hidden; background: var(--ng-black); color: var(--ng-white); }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; }
.slide.is-on { opacity: 1; visibility: visible; }
.slide-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide-contain .slide-bg { object-fit: contain; background: var(--ng-black); }
.slide.is-on .kb { animation: ng-kenburns 9s ease-out both; }
@keyframes ng-kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.slide-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,11,12,.92) 0%, rgba(11,11,12,.55) 45%, rgba(11,11,12,.05) 75%); }
.slide-text { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; max-width: 1200px; }
.slide-text > * { max-width: 620px; }
.slide-text.center { align-items: center; text-align: center; }
.slide-text.center > * { max-width: 760px; }
.slide-text-end { justify-content: flex-end; align-items: flex-end; padding-bottom: 4.5rem; }
.slide.is-on .slide-text > * { animation: ng-rise .8s ease both; }
.slide.is-on .slide-text > *:nth-child(2) { animation-delay: .15s; }
.slide.is-on .slide-text > *:nth-child(3) { animation-delay: .3s; }
.slide.is-on .slide-text > *:nth-child(4) { animation-delay: .45s; }
@keyframes ng-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.kicker { display: inline-block; align-self: flex-start; background: var(--ng-red); color: var(--ng-white); font-weight: 800; text-transform: uppercase;
    letter-spacing: .08em; font-size: .78rem; padding: .3rem .7rem; border-radius: 4px; margin: 0 0 1rem; }
.hero h1 { font-size: clamp(2.2rem, 5.5vw, 4.2rem); font-weight: 900; text-transform: uppercase; margin: 0 0 1rem; }
.hero h1 span { color: var(--ng-red); }
.hero .lead { font-size: 1.15rem; color: #e5e7eb; margin: 0 0 1rem; }
.hero .actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: .5rem; }
.slide-brand { background: radial-gradient(circle at 30% 20%, var(--ng-steel), var(--ng-black) 70%); }
.slide-brand::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px;
    background: repeating-linear-gradient(-45deg, var(--ng-red) 0 18px, var(--ng-black) 18px 36px); }
.brand-xl { margin-bottom: 1.2rem; }
.brand-xl .brand-loc { font-size: clamp(2.4rem, 7vw, 5rem); }
.brand-xl .brand-ng { font-size: clamp(2.6rem, 7.5vw, 5.4rem); }
.brand-xl .brand-fils { font-size: clamp(1rem, 2vw, 1.6rem); }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 48px; height: 48px; border-radius: 50%;
    border: 2px solid rgba(255,255,255,.5); background: rgba(0,0,0,.35); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.hero-arrow:hover { background: var(--ng-red); border-color: var(--ng-red); }
.hero-arrow.prev { left: 1rem; } .hero-arrow.next { right: 1rem; }
.hero-dots { position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%); display: flex; gap: .5rem; z-index: 5; }
.hero-dots button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: transparent; padding: 0; cursor: pointer; }
.hero-dots button.on { background: var(--ng-red); border-color: var(--ng-red); }
.hero-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255,255,255,.15); z-index: 5; }
.hero-progress span { display: block; height: 100%; width: 0; background: var(--ng-red); }

/* Blocs de l'accueil */
.block { padding: 1.6rem 0 .4rem; }
.title { font-size: clamp(1.35rem, 2.6vw, 1.9rem); font-weight: 900; text-transform: uppercase; margin: 0 0 1rem; }
.title span { border-bottom: 5px solid var(--ng-red); padding-bottom: .2rem; }
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1rem; }
.cat { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 130px; padding: .8rem; border-radius: var(--radius);
    overflow: hidden; background: var(--ng-coal); color: var(--ng-white); text-decoration: none; }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; transition: transform .4s, opacity .4s; }
.cat::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.85), rgba(0,0,0,0) 70%); z-index: 1; }
.cat:hover img { transform: scale(1.07); opacity: .6; }
.cat:hover { color: var(--ng-white); box-shadow: inset 0 -5px 0 var(--ng-red); }
.cat-name, .cat-count { position: relative; z-index: 2; }
.cat-name { font-family: Montserrat, sans-serif; font-weight: 800; font-size: 1.15rem; text-transform: uppercase; }
.cat-count { font-size: .82rem; color: var(--ng-red); font-weight: 600; }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.step { background: var(--ng-white); border-radius: var(--radius); padding: 1rem 1.1rem; border-top: 5px solid var(--ng-red); }
.step b { display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--ng-black); color: var(--ng-red); font-family: Montserrat, sans-serif; font-size: 1.2rem; }
.step h3 { margin: .7rem 0 .3rem; text-transform: uppercase; font-size: 1.05rem; }
.step p { margin: 0; color: var(--ng-muted); }
.items { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.item { display: flex; flex-direction: column; background: var(--ng-white); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ng-text);
    border: 1px solid var(--border); transition: transform .2s, box-shadow .2s; }
.item:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(0,0,0,.12); color: var(--ng-text); }
.item-img { aspect-ratio: 4 / 3; background: #fff; display: grid; place-items: center; }
.item-img img { width: 100%; height: 100%; object-fit: contain; }
.item-name { padding: .8rem 1rem 0; font-weight: 700; }
.item-price { padding: .2rem 1rem 1rem; color: var(--ng-red); font-weight: 800; font-family: Montserrat, sans-serif; }
.band { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 1.6rem 0; padding: 1.1rem 1.6rem; border-radius: var(--radius);
    background: var(--ng-red); color: var(--ng-white); text-decoration: none; font-size: 1.1rem; }
.band:hover { color: var(--ng-white); background: var(--ng-red-dark); }
.band strong { font-family: Montserrat, sans-serif; font-size: 1.35rem; text-transform: uppercase; }
.band-arrow { font-size: 2.6rem; animation: ng-nudge 1s ease-in-out infinite; }
@keyframes ng-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(12px); } }

/* Pages de l'addon location (classes loc-*) — espacements resserres */
main .container > section { padding-top: 1rem !important; padding-bottom: .5rem !important; }
main .container > section h1 { margin: .3rem 0 .8rem; font-size: clamp(1.4rem, 2.6vw, 2rem); }
main .container > section h2 { margin: 1rem 0 .5rem !important; }
.loc-field { margin-bottom: .6rem !important; }
.loc-bar { margin: .2rem 0 .6rem !important; }
.loc-promo { margin: 1.2rem 0 !important; padding: .8rem 1.1rem !important; }
.loc-note { margin: .6rem 0 !important; padding: .6rem .9rem !important; }
main .container > section img[style*="max-height:480px"] { max-height: 340px !important; }
.loc-lines th, .loc-lines td { padding: .35rem .4rem !important; }
.page .prose { margin-top: .5rem; }
main .container > section { background: transparent; }
.card { background: var(--ng-white); border: 1px solid var(--border); border-radius: var(--radius); }
.loc-input { border: 1px solid #d1d5db; border-radius: 8px; background: #fff; font: inherit; }
.loc-input:focus { outline: 2px solid var(--ng-red); outline-offset: 1px; border-color: var(--ng-red); }
.loc-note { border-left-color: var(--ng-red) !important; background: rgba(225,29,42,.06) !important; border-radius: 0 8px 8px 0; }
.loc-promo { background: var(--ng-black) !important; border-color: var(--ng-red) !important; }
.loc-lines { background: #fff; border-radius: var(--radius); }
.loc-bar .btn { padding: .5rem 1rem; font-size: .88rem; }

/* Pied de page */
footer.site { background: var(--ng-black); color: #9ca3af; margin-top: 1.5rem; border-top: 5px solid var(--ng-red); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; padding: 1.6rem 0 1rem; }
footer.site h4 { color: var(--ng-white); text-transform: uppercase; margin: 0 0 .7rem; }
footer.site a { color: #e5e7eb; text-decoration: none; }
footer.site a:hover { color: var(--ng-red); }
.brand-footer .brand-loc { font-size: 1.3rem; }
footer.site .copy { border-top: 1px solid #27272a; padding: .6rem 0; font-size: .82rem; }
/* Credit quebecois.cloud : centre, mini bouclier qui brille au survol */
footer.site .credit { text-align: center; padding: 0 0 .7rem; }
footer.site .credit a { display: inline-flex; align-items: center; gap: .45rem; color: #9ca3af; font-size: .8rem; text-decoration: none; }
footer.site .credit img { width: 20px; height: auto; opacity: .75; transition: transform .25s, filter .25s, opacity .25s; }
footer.site .credit a:hover, footer.site .credit a:focus-visible { color: #fff; }
footer.site .credit a:hover img, footer.site .credit a:focus-visible img {
    opacity: 1; transform: scale(1.25); filter: brightness(1.35) drop-shadow(0 0 6px #38bdf8) drop-shadow(0 0 12px rgba(56,189,248,.6)); }

/* Mobile */
@media (max-width: 860px) {
    .nav-burger { display: block; width: 34px; height: 26px; position: relative; cursor: pointer; }
    .nav-burger span, .nav-burger::before, .nav-burger::after { content: ""; position: absolute; left: 0; right: 0; height: 3px; background: #fff; border-radius: 2px; }
    .nav-burger span { top: 11px; } .nav-burger::before { top: 0; } .nav-burger::after { bottom: 0; }
    .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: .9rem;
        padding: 1rem; background: var(--ng-coal); border-bottom: 3px solid var(--ng-red); }
    .nav-toggle:checked ~ .nav { display: flex; }
    .hero-arrow { display: none; }
    .slide-shade { background: rgba(11,11,12,.7); }
    .band { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
    .slide, .slide.is-on .kb, .slide.is-on .slide-text > *, .band-arrow { animation: none !important; transition: none !important; }
}

/* Page contact (/form/contact) : infos a gauche, formulaire a droite */
.contact-grid { display: grid; grid-template-columns: minmax(240px, 1fr) 2fr; gap: 1.5rem; align-items: start; }
.contact-info { background: var(--ng-black); color: #fff; border-radius: 8px; padding: 1.2rem 1.4rem; }
.contact-info h2 { margin-top: 0 !important; color: var(--ng-red); }
.contact-info a { color: #fff; }
.contact-info .contact-tel { font-size: 1.4rem; font-weight: 800; color: var(--ng-red); text-decoration: none; }
.contact-form { background: #fff; border-radius: 8px; padding: 1rem 1.2rem; border: 1px solid rgba(0,0,0,.08); }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-hours-title { margin: .8rem 0 .3rem; font-size: .95rem; color: var(--ng-red); text-transform: uppercase; letter-spacing: .03em; }
.contact-hours { border-collapse: collapse; margin-bottom: .8rem; font-size: .95rem; }
.contact-hours td { padding: .15rem 1rem .15rem 0; }

/* Addon location : fleche et bordure de la pub en rouge (l'addon met de l'orange par defaut) */
.loc-promo .loc-arrow { color: var(--ng-red) !important; }
.loc-rate.is-on { border-color: var(--ng-red); box-shadow: 0 0 0 2px var(--ng-red); }
.contact-info .contact-rdv { color: var(--ng-white); border-color: var(--ng-white); }
.contact-info .contact-rdv:hover { background: var(--ng-white); color: var(--ng-black); }

/* Home band: arrows twice as big, one at each end. */
.band { gap: 1.2rem; }
.band-arrow { font-size: 5.2rem; line-height: 1; }
@media (max-width: 700px) { .band-arrow { font-size: 3rem; } }

/* Footer: logo, tagline, icons, Facebook logo, services. */
.footer-grid.footer-pro { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; align-items: start; }
.footer-pro .logo-footer { display: block; width: 222px; max-width: 100%; height: auto; margin-bottom: .8rem; }
.footer-pro .footer-tagline { margin: 0 0 .6rem; font-family: Montserrat, sans-serif; font-weight: 800; font-size: .95rem; line-height: 1.35; text-transform: uppercase; letter-spacing: .03em; color: #ffffff; }
.footer-pro h4 { display: flex; align-items: center; gap: .45rem; margin: 0 0 .8rem; padding-bottom: .45rem; border-bottom: 2px solid #e10600; font-family: Montserrat, sans-serif; font-weight: 800; font-size: 1rem; text-transform: uppercase; letter-spacing: .04em; color: #ffffff; }
.footer-pro .ficon { width: 18px; height: 18px; flex: 0 0 18px; color: #e10600; }
.footer-pro ul { list-style: none; margin: 0 0 .8rem; padding: 0; }
.footer-pro .footer-contact li { display: flex; align-items: flex-start; gap: .55rem; margin-bottom: .55rem; color: #e5e7eb; }
.footer-pro .footer-contact .ficon { margin-top: .15rem; }
.footer-pro .footer-services li { position: relative; padding-left: 1rem; margin-bottom: .35rem; color: #e5e7eb; }
.footer-pro .footer-services li::before { content: "›"; position: absolute; left: 0; color: #e10600; font-weight: 800; }
.footer-pro a { text-decoration: none; transition: color .15s; }
.footer-pro a:hover { color: #ffffff; text-decoration: underline; }
.footer-pro .footer-fb { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: #1877f2; color: #ffffff; }
.footer-pro .footer-fb:hover { background: #0f5fd0; text-decoration: none; }
footer.site .copy { border-top: 1px solid rgba(255,255,255,.12); margin-top: 1.5rem; padding-top: 1rem; }
@media (max-width: 900px) { .footer-grid.footer-pro { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid.footer-pro { grid-template-columns: 1fr; } }
