/* =========================================================
   RAMDE SOURCE INTERNATIONAL — DESIGN SYSTEM "AGRI-FORWARD"
   Styles communs à toutes les pages.
   Les styles propres à chaque page sont dans css/pages/*.css
========================================================= */

:root {
    --c-yellow: #F9F445;
    --c-yellow-soft: rgba(249, 244, 69, 0.12);
    --c-dark: #09090b;
    --c-black: #050505;
    --c-charcoal: #141416;
    --c-card-bg: #1a1a1d;
    --c-panel: #111111;
    --c-text-main: #e2e2e2;
    --c-text-muted: #9ca3af;
    --c-border: rgba(255, 255, 255, 0.08);

    --font-display: 'Oswald', 'Arial Narrow', sans-serif;
    --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --container: 1280px;
    --radius: 2px;
    --header-h: 88px;
    --ease-premium: cubic-bezier(0.23, 1, 0.32, 1);
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 10px);
    -webkit-text-size-adjust: 100%;
}
html, body { width: 100%; max-width: 100%; overflow-x: clip; }

body {
    background-color: var(--c-dark);
    color: var(--c-text-main);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    overflow-wrap: break-word;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }

img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--c-yellow); color: var(--c-dark); }

:focus-visible { outline: 2px solid var(--c-yellow); outline-offset: 3px; }

.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 10001;
    background: var(--c-yellow); color: var(--c-dark); padding: 10px 18px;
    font-weight: 700; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 16px; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    text-transform: uppercase;
    line-height: 1.15;
    letter-spacing: 0.5px;
    color: #fff;
    font-weight: 600;
}
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
strong { color: #fff; font-weight: 700; }

.icon { width: 1em; height: 1em; display: inline-block; vertical-align: -0.14em; flex-shrink: 0; }

.text-yellow { color: var(--c-yellow); }
.text-justify { text-align: justify; hyphens: auto; }
.container { width: 90%; max-width: var(--container); margin: 0 auto; position: relative; }
.section-padding { padding: clamp(64px, 9vw, 110px) 0; }
.section-alt { background: var(--c-panel); }
p.intro-text { font-size: 1.05rem; margin-bottom: 20px; color: var(--c-text-muted); }

.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    color: var(--c-yellow); font-weight: 700; letter-spacing: 2px;
    text-transform: uppercase; font-size: .8rem; margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--c-yellow); }

.section-head-center { text-align: center; margin-bottom: 60px; }
.section-head-center .eyebrow::after { content: ''; width: 28px; height: 2px; background: var(--c-yellow); }

/* Grain */
.noise-bg {
    position: fixed; inset: 0; opacity: 0.035; pointer-events: none; z-index: 999;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

.pattern-lines {
    background-image: repeating-linear-gradient(45deg, rgba(0,0,0,0.07) 0px, rgba(0,0,0,0.07) 2px, transparent 2px, transparent 8px);
}

/* Barre de progression de lecture */
.scroll-progress {
    position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 10002;
    background: var(--c-yellow); transform-origin: 0 50%; transform: scaleX(var(--progress, 0));
    pointer-events: none;
}

/* =========================================================
   BOUTONS
========================================================= */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 16px 30px;
    font-family: var(--font-display); font-weight: 600; letter-spacing: 1px;
    text-transform: uppercase; text-decoration: none; text-align: center;
    font-size: 0.9rem; line-height: 1.2;
    border: 1px solid var(--c-yellow);
    cursor: pointer; position: relative; z-index: 1; overflow: hidden;
    transition: color .3s, background-color .3s, border-color .3s, transform .3s var(--ease-premium), box-shadow .3s;
}
.btn .icon { transition: transform .3s var(--ease-premium); }
.btn:hover .icon-arrow-right { transform: translateX(4px); }

.btn-primary {
    background-color: var(--c-yellow); color: var(--c-dark);
    background-image: repeating-linear-gradient(45deg, rgba(0,0,0,0.05) 0px, rgba(0,0,0,0.05) 2px, transparent 2px, transparent 6px);
}
.btn-primary:hover { background-color: #fff; background-image: none; border-color: #fff; transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,.35); }

.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.22); }
.btn-outline:hover { border-color: var(--c-yellow); color: var(--c-yellow); transform: translateY(-3px); }

.btn-dark { background: var(--c-dark); color: #fff; border-color: var(--c-dark); }
.btn-dark:hover { background: #fff; color: var(--c-dark); border-color: #fff; transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,.25); }
.btn-ghost-dark { background: transparent; color: var(--c-dark); border-color: rgba(9,9,11,.55); }
.btn-ghost-dark:hover { background: var(--c-dark); color: #fff; border-color: var(--c-dark); transform: translateY(-3px); }

.btn-link {
    display: inline-flex; align-items: center; gap: 10px;
    color: var(--c-yellow); text-decoration: none; font-family: var(--font-display);
    text-transform: uppercase; letter-spacing: 1px; font-weight: 600; font-size: .9rem;
    border: none; padding: 4px 0; background: none;
    background-image: linear-gradient(var(--c-yellow), var(--c-yellow));
    background-size: 0 1px; background-position: 0 100%; background-repeat: no-repeat;
    transition: background-size .35s var(--ease-premium);
}
.btn-link:hover { background-size: 100% 1px; }
.btn-link:hover .icon { transform: translateX(4px); }
.btn-link .icon { transition: transform .3s; }

/* =========================================================
   ANIMATIONS D'APPARITION
========================================================= */
.js .reveal-item {
    opacity: 0; transform: translateY(34px);
    transition: opacity .9s var(--ease-premium), transform .9s var(--ease-premium);
    transition-delay: var(--d, 0s);
}
.js .reveal-item.visible { opacity: 1; transform: none; }

@keyframes kenBurns {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.12) translate(-1.5%, -1%); }
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

/* =========================================================
   HERO DES PAGES INTÉRIEURES (les hauteurs/alignements sont
   définis dans la feuille de chaque page)
========================================================= */
.page-hero { position: relative; overflow: hidden; padding-top: var(--header-h); isolation: isolate; }
.page-hero-bg {
    position: absolute; inset: 0; z-index: -2;
    background-size: cover; background-position: center;
    animation: kenBurns 30s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}
.page-hero::after {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(to bottom, rgba(5,5,5,.75) 0%, transparent 30%, transparent 70%, var(--c-dark) 100%);
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero .page-title { animation: fadeUp 1s var(--ease-premium) .1s both; }
.page-hero .page-subtitle { animation: fadeUp 1s var(--ease-premium) .25s both; }
.page-hero .page-tag, .page-hero .hero-badge { animation: fadeUp 1s var(--ease-premium) both; }
.js .page-hero .page-hero-content.reveal-item { opacity: 1; transform: none; }

/* Fil d'Ariane visuel sur les pages de service */
.page-tag, .hero-badge { letter-spacing: 2px; text-transform: uppercase; }

/* =========================================================
   HEADER
========================================================= */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
    height: var(--header-h);
    display: flex; align-items: center;
    background: linear-gradient(to bottom, rgba(5,5,5,.85), rgba(5,5,5,0));
    border-bottom: 1px solid transparent;
    transition: height .4s var(--ease-out), background-color .4s, box-shadow .4s, border-color .4s, transform .4s var(--ease-out);
}
.site-header.scrolled {
    --header-h: 72px;
    background: rgba(5,5,5,.92);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    backdrop-filter: blur(18px) saturate(140%);
    box-shadow: 0 10px 40px rgba(0,0,0,.55);
    border-bottom-color: var(--c-border);
}
.site-header.hidden { transform: translateY(-100%); }
.site-header.mega-open { background: rgba(5,5,5,.97); }

.nav-container {
    width: 92%; max-width: 1400px; margin: 0 auto; height: 100%;
    display: flex; justify-content: space-between; align-items: center; gap: 30px;
}
.brand { display: flex; align-items: center; height: 100%; flex-shrink: 0; }
.brand img { height: 42px; width: auto; transition: height .4s var(--ease-out); }
.site-header.scrolled .brand img { height: 36px; }

.desktop-nav { display: flex; align-items: center; gap: 36px; height: 100%; }
.nav-link {
    display: inline-flex; align-items: center; gap: 6px;
    color: #cfcfcf; text-decoration: none; font-size: 13px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1.2px;
    padding: 10px 0; position: relative; transition: color .3s;
}
.nav-link::after {
    content: ''; position: absolute; bottom: 2px; left: 0; width: 100%; height: 2px;
    background: var(--c-yellow); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease-premium);
}
.nav-link:hover, .nav-link.is-active { color: #fff; }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-caret { font-size: 12px; transition: transform .3s; }
.nav-item-mega.open .nav-caret { transform: rotate(180deg); }

/* Méga-menu */
.nav-item-mega { height: 100%; display: flex; align-items: center; }
.mega-dropdown {
    position: absolute; top: 100%; left: 0; width: 100%;
    background: rgba(12,12,13,.98);
    border-top: 1px solid var(--c-border); border-bottom: 2px solid var(--c-yellow);
    box-shadow: 0 40px 80px rgba(0,0,0,.6);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .35s var(--ease-out), transform .35s var(--ease-out), visibility .35s;
}
.nav-item-mega.open .mega-dropdown { opacity: 1; visibility: visible; transform: none; }
.mega-inner { width: 92%; max-width: 1400px; margin: 0 auto; padding: 32px 0 36px; }
.mega-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 22px; gap: 20px; }
.mega-head .eyebrow { margin-bottom: 4px; }
.mega-title { font-family: var(--font-display); text-transform: uppercase; font-size: 1.5rem; color: #fff; letter-spacing: .5px; }
.mega-all { display: inline-flex; align-items: center; gap: 8px; color: var(--c-yellow); text-decoration: none; font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: 1px; }
.mega-all:hover .icon { transform: translateX(4px); }
.mega-all .icon { transition: transform .3s; }

.mega-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.mega-card {
    position: relative; height: 128px; overflow: hidden; text-decoration: none;
    background: #000; border: 1px solid var(--c-border); border-radius: 3px;
    transition: transform .4s var(--ease-premium), border-color .3s;
}
.mega-card:hover, .mega-card:focus-visible, .mega-card.is-active { transform: translateY(-4px); border-color: var(--c-yellow); }
.mc-img {
    position: absolute; inset: 0; background-size: cover; background-position: center;
    filter: grayscale(100%) brightness(.55); transition: filter .5s, transform .7s var(--ease-premium);
}
.mega-card:hover .mc-img, .mega-card.is-active .mc-img { filter: grayscale(0%) brightness(.8); transform: scale(1.08); }
.mc-content {
    position: absolute; inset: 0; padding: 14px;
    display: flex; flex-direction: column; justify-content: flex-end; gap: 2px;
    background: linear-gradient(to top, rgba(0,0,0,.92) 10%, rgba(0,0,0,.1));
}
.mc-icon { color: var(--c-yellow); font-size: 20px; margin-bottom: auto; opacity: .9; }
.mc-title { color: #fff; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; line-height: 1.25; }
.mc-pole { color: #9a9a9a; font-size: 11px; }
.mega-card-cta { background: var(--c-yellow); border-color: var(--c-yellow); }
.mega-card-cta .mc-content { background: repeating-linear-gradient(45deg, rgba(0,0,0,0.05) 0 2px, transparent 2px 7px); }
.mega-card-cta .mc-icon, .mega-card-cta .mc-title { color: var(--c-dark); }
.mega-card-cta .mc-pole { color: rgba(9,9,11,.7); font-weight: 600; }
.mega-card-cta:hover { border-color: #fff; background: #fff; }

/* Bouton devis */
.nav-actions { display: flex; align-items: center; gap: 14px; }
.quote-btn {
    background: var(--c-yellow); color: #000; padding: 12px 24px 12px 28px;
    font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
    text-decoration: none; font-size: 13px; letter-spacing: 1px;
    display: flex; align-items: center; gap: 10px;
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 0% 100%);
    transition: background-color .3s, padding .3s var(--ease-premium);
}
.quote-btn:hover { background: #fff; padding-left: 34px; }
.quote-btn .btn-icon { display: flex; transition: transform .3s; }
.quote-btn:hover .btn-icon { transform: translateX(4px); }

.burger-toggle {
    display: none; width: 44px; height: 44px; cursor: pointer;
    align-items: center; justify-content: center;
    background: transparent; border: 1px solid rgba(255,255,255,.18); border-radius: 3px;
}
.burger-box { width: 20px; display: flex; flex-direction: column; gap: 5px; }
.burger-box span { width: 100%; height: 2px; background: #fff; transition: .3s; }
.burger-box span:nth-child(2) { width: 70%; margin-left: auto; }

/* Menu mobile */
.mobile-backdrop {
    position: fixed; inset: 0; z-index: 10000; background: rgba(0,0,0,.6);
    -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
    opacity: 0; visibility: hidden; transition: .4s;
}
.mobile-menu {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 10001;
    width: 88%; max-width: 420px; background: #09090b;
    border-left: 1px solid var(--c-border);
    transform: translateX(100%); transition: transform .55s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex; flex-direction: column; visibility: hidden;
}
.menu-open .mobile-backdrop { opacity: 1; visibility: visible; }
.menu-open .mobile-menu { transform: none; visibility: visible; box-shadow: -40px 0 90px rgba(0,0,0,.7); }
.mobile-inner { padding: 22px 26px 30px; overflow-y: auto; height: 100%; overscroll-behavior: contain; }
.m-header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 20px; margin-bottom: 26px; border-bottom: 1px solid var(--c-border); }
.m-logo { height: 34px; width: auto; }
.m-close { background: none; border: 1px solid var(--c-border); color: #fff; width: 42px; height: 42px; font-size: 20px; display: grid; place-items: center; cursor: pointer; border-radius: 3px; }
.m-nav { display: flex; flex-direction: column; }
.m-link {
    font-family: var(--font-display); text-transform: uppercase; font-size: 1.9rem; line-height: 1.25;
    color: #fff; text-decoration: none; padding: 6px 0; transition: color .3s, padding .3s;
}
.m-link:hover { color: var(--c-yellow); padding-left: 10px; }
.menu-open .m-link { animation: fadeUp .6s var(--ease-premium) both; }
.menu-open .m-link:nth-child(2) { animation-delay: .05s; }
.menu-open .m-link:nth-child(3) { animation-delay: .1s; }
.menu-open .m-link:nth-child(4) { animation-delay: .15s; }
.m-sep { display: flex; justify-content: space-between; color: var(--c-yellow); font-size: .72rem; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; margin: 30px 0 14px; }
.m-sep span { color: #555; letter-spacing: 1px; }
.mobile-carousel {
    display: flex; gap: 12px; overflow-x: auto; margin: 0 -26px; padding: 0 26px 16px;
    scroll-snap-type: x mandatory; scrollbar-width: none;
}
.mobile-carousel::-webkit-scrollbar { display: none; }
.m-card {
    flex: 0 0 150px; height: 190px; scroll-snap-align: start; position: relative; overflow: hidden;
    background-size: cover; background-position: center; border-radius: 6px;
    border: 1px solid var(--c-border); text-decoration: none;
}
.m-card span {
    position: absolute; inset: auto 0 0 0; padding: 30px 12px 12px;
    background: linear-gradient(to top, #000 20%, transparent);
    color: #fff; font-size: .85rem; font-weight: 700; display: flex; flex-direction: column; gap: 6px;
}
.m-card .icon { color: var(--c-yellow); font-size: 18px; }
.m-bottom { margin-top: 26px; border-top: 1px solid var(--c-border); padding-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.m-link-small { color: #aaa; text-decoration: none; font-size: .95rem; display: flex; align-items: center; gap: 10px; }
.m-link-small .icon { color: var(--c-yellow); }
.m-cta {
    display: block; background: var(--c-yellow); color: #000; text-align: center; margin-top: 6px;
    padding: 16px; font-family: var(--font-display); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; text-decoration: none;
    clip-path: polygon(5% 0, 100% 0, 100% 100%, 0% 100%);
}

/* =========================================================
   CTA FINAL (bande jaune)
========================================================= */
.cta-end {
    position: relative; overflow: hidden; text-align: center;
    background-color: var(--c-yellow); color: var(--c-dark);
    background-image: repeating-linear-gradient(45deg, rgba(0,0,0,0.06) 0px, rgba(0,0,0,0.06) 2px, transparent 2px, transparent 10px);
    padding: 0 0 clamp(60px, 8vw, 100px);
}
.cta-marquee { overflow: hidden; border-bottom: 1px solid rgba(9,9,11,.15); padding: 18px 0; margin-bottom: clamp(50px, 7vw, 90px); background: var(--c-dark); }
.cta-marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.cta-marquee span {
    font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.1rem, 2vw, 1.5rem);
    letter-spacing: 2px; color: #fff; padding: 0 28px; display: inline-flex; align-items: center; gap: 56px; white-space: nowrap;
}
.cta-marquee span::after { content: '✦'; color: var(--c-yellow); font-size: .8em; margin-right: -28px; }
@keyframes marquee { to { transform: translateX(-50%); } }

.cta-content { display: flex; flex-direction: column; align-items: center; }
.cta-title { color: var(--c-dark); font-size: clamp(2rem, 4.5vw, 3.4rem); margin-bottom: 18px; line-height: 1.1; }
.cta-text { max-width: 700px; margin: 0 auto 40px; font-weight: 500; font-size: 1.1rem; }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.cta-foot { margin-top: 56px; font-size: .78rem; letter-spacing: 1.5px; opacity: .6; font-weight: 600; }

/* =========================================================
   NAVIGATION ENTRE SERVICES
========================================================= */
.service-nav { background: var(--c-black); border-top: 1px solid var(--c-border); }
.service-nav-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; }
.sn-link { display: flex; flex-direction: column; gap: 6px; padding: 34px 0; text-decoration: none; }
.sn-next { text-align: right; align-items: flex-end; }
.sn-label { display: inline-flex; align-items: center; gap: 8px; color: #777; font-size: .75rem; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; }
.sn-prev .sn-label .icon { transform: rotate(180deg); }
.sn-title { font-family: var(--font-display); text-transform: uppercase; color: #fff; font-size: clamp(1.1rem, 2.2vw, 1.6rem); transition: color .3s; }
.sn-link:hover .sn-title { color: var(--c-yellow); }
.sn-all {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
    padding: 0 40px; margin: 20px 0; border-left: 1px solid var(--c-border); border-right: 1px solid var(--c-border);
    color: #888; text-decoration: none; font-size: .7rem; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 700;
}
.sn-all .icon { font-size: 22px; color: var(--c-yellow); }
.sn-all:hover { color: #fff; }

/* =========================================================
   FOOTER
========================================================= */
.site-footer {
    position: relative; overflow: hidden;
    background: var(--c-black); color: #8a8a8a;
    padding-top: 90px; border-top: 1px solid var(--c-border);
}
.footer-watermark { position: absolute; top: -40px; right: -120px; width: 640px; opacity: .03; pointer-events: none; transform: rotate(-12deg); filter: grayscale(1); }
.footer-content { position: relative; z-index: 2; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 1fr 1fr 1.3fr; gap: 44px; margin-bottom: 60px; }
.f-logo img { height: 48px; width: auto; margin-bottom: 24px; }
.f-mission { font-size: .95rem; line-height: 1.7; margin-bottom: 26px; max-width: 300px; }
.f-mission .highlight { color: #fff; font-weight: 600; }
.f-social-row { display: flex; gap: 10px; }
.social-btn {
    width: 42px; height: 42px; display: grid; place-items: center; font-size: 20px;
    background: #0f0f0f; border: 1px solid var(--c-border); color: #fff; text-decoration: none; transition: .3s;
}
.social-btn:hover { background: var(--c-yellow); color: var(--c-dark); border-color: var(--c-yellow); transform: translateY(-3px); }
.f-whatsapp { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 600; font-size: .9rem; padding: 10px 16px; border: 1px solid var(--c-border); background: #0f0f0f; transition: .3s; }
.f-whatsapp .icon { color: #25D366; font-size: 20px; }
.f-whatsapp:hover { border-color: #25D366; transform: translateY(-2px); }

.f-heading { font-family: var(--font-display); color: #fff; font-size: .95rem; letter-spacing: 1.5px; margin-bottom: 22px; opacity: .55; font-weight: 500; }
.f-links { list-style: none; }
.f-links li { margin-bottom: 11px; }
.f-links a { color: #8a8a8a; text-decoration: none; font-size: .92rem; display: inline-flex; align-items: center; transition: color .3s, padding .3s; }
.f-links a::before { content: '→'; opacity: 0; margin-right: -12px; transition: .3s; color: var(--c-yellow); font-size: .8rem; }
.f-links a:hover { color: #fff; padding-left: 4px; }
.f-links a:hover::before { opacity: 1; margin-right: 8px; }

.contact-box { background: #0f0f0f; padding: 24px; border: 1px solid var(--c-border); border-left: 2px solid var(--c-yellow); }
.c-item { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: #fff; font-size: .9rem; text-decoration: none; }
a.c-item:hover { color: var(--c-yellow); }
.c-item .icon, .c-email .icon { color: var(--c-yellow); }
.c-email { display: flex; align-items: center; gap: 10px; color: var(--c-yellow); text-decoration: none; font-weight: 700; font-size: .92rem; margin-top: 16px; word-break: break-all; }
.c-email:hover { color: #fff; }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 28px 90px 40px 0; border-top: 1px solid var(--c-border); }
.copyright { font-size: .85rem; opacity: .7; }
.maaco-signature {
    display: flex; align-items: center; gap: 14px; text-decoration: none;
    background: rgba(255,255,255,.03); padding: 8px 20px; border-radius: 50px; border: 1px solid var(--c-border);
    transition: .4s;
}
.maaco-signature:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); transform: translateY(-2px); }
.maaco-signature .label { font-size: .7rem; text-transform: uppercase; letter-spacing: 1px; color: #777; font-weight: 700; }
.maaco-signature .separator { width: 1px; height: 15px; background: #333; }
.maaco-signature img { height: 24px; width: auto; filter: grayscale(100%) brightness(1.5); transition: .4s; }
.maaco-signature:hover img { filter: none; }

/* =========================================================
   BOUTONS FLOTTANTS
========================================================= */
.wa-float {
    position: fixed; right: 22px; bottom: 22px; z-index: 900;
    display: flex; align-items: center; gap: 0;
    background: #25D366; color: #fff; text-decoration: none; border-radius: 40px;
    height: 58px; min-width: 58px; padding: 0 17px; font-size: 24px;
    box-shadow: 0 12px 30px rgba(0,0,0,.4);
    transition: gap .4s var(--ease-premium), padding .4s var(--ease-premium), transform .3s;
    animation: waIn .8s var(--ease-premium) 1.5s both;
}
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #25D366; animation: waPulse 2.6s ease-out infinite 2.5s; }
.wa-float-label { max-width: 0; overflow: hidden; white-space: nowrap; font-size: .9rem; font-weight: 700; transition: max-width .45s var(--ease-premium); }
.wa-float:hover { gap: 10px; padding-right: 22px; transform: translateY(-2px); }
.wa-float:hover .wa-float-label { max-width: 220px; }
@keyframes waIn { from { opacity: 0; transform: scale(.5) translateY(20px); } }
@keyframes waPulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }

.to-top {
    position: fixed; right: 30px; bottom: 96px; z-index: 900;
    width: 42px; height: 42px; display: grid; place-items: center; font-size: 18px;
    background: rgba(20,20,22,.9); color: #fff; border: 1px solid var(--c-border); cursor: pointer;
    opacity: 0; visibility: hidden; transform: translateY(10px); transition: .35s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--c-yellow); color: var(--c-dark); border-color: var(--c-yellow); }

/* =========================================================
   PAGE 404
========================================================= */
.page-404 { min-height: 80vh; display: flex; align-items: center; padding: calc(var(--header-h) + 60px) 0 80px; text-align: center; }
.err-code { font-family: var(--font-display); font-size: clamp(7rem, 22vw, 14rem); line-height: 1; color: transparent; -webkit-text-stroke: 2px rgba(249,244,69,.5); display: block; }
.page-404 h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 10px 0 16px; }
.page-404 p { color: var(--c-text-muted); margin-bottom: 36px; }
.err-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1180px) {
    .desktop-nav { gap: 24px; }
    .mega-grid { grid-template-columns: repeat(4, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .f-brand-col { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
    :root { --header-h: 74px; }
    .desktop-nav, .quote-btn { display: none; }
    .burger-toggle { display: flex; }
    .brand img { height: 36px; }
    .site-header { background: linear-gradient(to bottom, rgba(5,5,5,.9), rgba(5,5,5,.2)); }
}
@media (max-width: 760px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .f-contact-col { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; text-align: center; padding: 28px 0 90px; }
    .footer-watermark { display: none; }
    .service-nav-inner { grid-template-columns: 1fr 1fr; }
    .sn-all { display: none; }
    .sn-link { padding: 26px 0; }
}
@media (max-width: 600px) {
    .btn { width: 100%; }
    .cta-actions { width: 100%; flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; }
    .wa-float { right: 16px; bottom: 16px; height: 54px; min-width: 54px; padding: 0 15px; }
    .to-top { right: 22px; bottom: 82px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .js .reveal-item { opacity: 1; transform: none; }
}
