/* ==========================================================================
   BUILDSOLAR — feuille de style moderne
   Fusion des deux univers de la marque : le bleu marine/or élégant du groupe
   Buildex et l'énergie sombre/orange vif du solaire. Fond encre profond,
   accents "soleil" or -> orange, cartes claires en alternance, animations
   douces. Une seule feuille pour buildexsolar(.html/-en.html) et details1-7.
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Montserrat:wght@700;800;900&display=swap");

:root {
    /* Fond "encre" premium (inspiré du style sombre) */
    --ink: #070c15;
    --ink-2: #0b1526;
    --ink-3: #101d33;
    --ink-line: rgba(255, 255, 255, .09);

    /* Bleu marine élégant (inspiré du style clair/or) */
    --navy: #0d2e52;
    --navy-light: #164e87;
    --blue: #2d7dd2;

    /* Accent "soleil" : or -> orange, point commun aux deux références */
    --gold: #f5b132;
    --gold-light: #ffd873;
    --orange: #e8720c;
    --sun-gradient: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 45%, var(--orange) 100%);

    /* Texte sur fond sombre */
    --text: #f4f7fb;
    --text-muted: #a9b6c8;

    /* Sections claires en alternance */
    --light-bg: #f3f6fb;
    --light-card: #ffffff;
    --light-text: #131e30;
    --light-text-muted: #5c6b80;
    --light-line: rgba(13, 46, 82, .09);

    --container: 1180px;
    --radius: 20px;
    --radius-sm: 12px;
    --ease: cubic-bezier(.4, 0, .2, 1);

    --shadow-dark: 0 24px 48px -20px rgba(0, 0, 0, .6);
    --shadow-gold: 0 16px 34px -12px rgba(232, 114, 12, .45);
    --shadow-soft: 0 18px 40px -22px rgba(13, 46, 82, .28);

    --font-head: "Montserrat", "Segoe UI", sans-serif;
    --font-body: "Inter", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--ink);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
p { color: var(--text-muted); margin: 0 0 1em; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); margin: 0; }

::selection { background: var(--gold); color: #1a1204; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-thumb {
    border-radius: 6px;
    background: linear-gradient(180deg, var(--gold-light), var(--orange));
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* --------------------------------------------------------------------
   Utilitaires
   -------------------------------------------------------------------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-head);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 14px;
}
.eyebrow::before {
    content: "";
    width: 26px;
    height: 2px;
    background: var(--sun-gradient);
    border-radius: 2px;
}

.section { padding: 96px 0; }
.section--tight { padding: 70px 0; }
.section--light {
    background: var(--light-bg);
    color: var(--light-text);
}
.section--light p { color: var(--light-text-muted); }
.section--light .eyebrow { color: var(--orange); }

.section-head { max-width: 640px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 {
    font-size: clamp(1.7rem, 3.2vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text);
}
.section--light .section-head h2 { color: var(--light-text); }
.section-head p { margin-top: 14px; font-size: 1.02rem; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .82rem;
    letter-spacing: .5px;
    text-transform: uppercase;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn-sun {
    background: var(--sun-gradient);
    color: #211404;
    box-shadow: var(--shadow-gold);
}
.btn-sun:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -12px rgba(232, 114, 12, .6); }
.btn-outline {
    background: transparent;
    border-color: rgba(255, 255, 255, .3);
    color: var(--text);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-light); transform: translateY(-3px); }
.section--light .btn-outline { border-color: rgba(13, 46, 82, .25); color: var(--light-text); }
.section--light .btn-outline:hover { border-color: var(--orange); color: var(--orange); }

/* --------------------------------------------------------------------
   En-tête
   -------------------------------------------------------------------- */
.topbar {
    background: var(--ink-2);
    border-bottom: 1px solid var(--ink-line);
    font-family: var(--font-head);
    font-size: .72rem;
    letter-spacing: .4px;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar .brand-switch { display: flex; align-items: center; gap: 6px; }
.topbar .brand-switch a {
    padding: 5px 12px;
    border-radius: 50px;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    transition: var(--ease) .25s;
}
.topbar .brand-switch a.is-current {
    background: var(--sun-gradient);
    color: #211404;
}
.topbar .lang-switch { display: flex; align-items: center; gap: 8px; }
.topbar .lang-switch a { display: flex; opacity: .55; transition: opacity .25s var(--ease); border-radius: 3px; overflow: hidden; }
.topbar .lang-switch a img { height: 16px; width: auto; }
.topbar .lang-switch a.is-current, .topbar .lang-switch a:hover { opacity: 1; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(7, 12, 21, .78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease), padding .3s var(--ease);
}
.site-header.is-scrolled {
    background: rgba(7, 12, 21, .95);
    border-color: var(--ink-line);
    box-shadow: 0 16px 34px -18px rgba(0, 0, 0, .7);
}
.site-header__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 42px; width: auto; border-radius: 8px; background: #fff; padding: 3px 6px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--font-head); font-size: 1.05rem; font-weight: 800; letter-spacing: .3px; }
.brand-text span { font-size: .68rem; color: var(--text-muted); letter-spacing: .3px; }

.main-nav ul { display: flex; gap: 38px; }
.main-nav a {
    position: relative;
    padding-bottom: 6px;
    font-family: var(--font-head);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color .25s var(--ease);
}
.main-nav a::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 0; height: 2px;
    background: var(--sun-gradient);
    transition: width .3s var(--ease);
}
.main-nav a:hover, .main-nav a.active { color: var(--text); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-actions .btn { padding: 11px 22px; font-size: .74rem; }

.hamburger {
    display: none;
    width: 44px; height: 44px;
    align-items: center; justify-content: center; flex-direction: column; gap: 5px;
    background: var(--sun-gradient);
    border: 0; border-radius: 10px; cursor: pointer;
    box-shadow: var(--shadow-gold);
}
.hamburger span { width: 20px; height: 2px; background: #241505; border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------
   Menu latéral / overlay
   -------------------------------------------------------------------- */
.overlay {
    position: fixed; inset: 0;
    background: rgba(4, 7, 12, .6);
    backdrop-filter: blur(2px);
    opacity: 0; visibility: hidden;
    transition: opacity .3s var(--ease), visibility .3s var(--ease);
    z-index: 1100;
}
.overlay.active { opacity: 1; visibility: visible; }

.side-menu {
    position: fixed; top: 0; right: -340px;
    width: 320px; max-width: 88vw; height: 100%;
    background: linear-gradient(180deg, var(--ink-2), var(--ink));
    border-left: 1px solid var(--ink-line);
    z-index: 1200;
    padding: 30px 26px;
    overflow-y: auto;
    transition: right .4s var(--ease);
}
.side-menu.active { right: 0; }
.side-menu .side-logo { height: 46px; width: auto; background: #fff; border-radius: 8px; padding: 4px 8px; margin-bottom: 18px; }
.close-menu {
    position: absolute; top: 22px; right: 22px;
    width: 34px; height: 34px; border-radius: 50%;
    background: rgba(255, 255, 255, .08); border: 0; color: var(--text);
    cursor: pointer; font-size: 1rem;
}
.side-content p { color: var(--text-muted); font-size: .92rem; }
.side-content h3, .side-content h5 {
    font-size: .72rem; text-transform: uppercase; letter-spacing: 1.4px;
    color: var(--gold); margin: 22px 0 12px;
}
.side-content ul { display: flex; flex-direction: column; gap: 2px; margin-bottom: 18px; }
.side-content ul li a {
    display: block; padding: 11px 2px; font-family: var(--font-head);
    font-weight: 600; letter-spacing: .3px; color: var(--text-muted);
    border-bottom: 1px solid var(--ink-line); transition: color .25s var(--ease);
}
.side-content ul li a:hover { color: var(--gold-light); }
.contact-item-h { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: .88rem; color: var(--text-muted); flex-wrap: wrap; }
.contact-item-h i { color: var(--gold); width: 16px; text-align: center; }
.contact-item-h a { color: var(--text-muted); transition: color .25s var(--ease); }
.contact-item-h a:hover { color: var(--gold-light); }
.social-icons { display: flex; gap: 10px; margin: 16px 0; }
.social-link {
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .07); color: var(--text);
    transition: var(--ease) .25s;
}
.social-link:hover { background: var(--sun-gradient); color: #241505; transform: translateY(-2px); }
.side-menu .contact-btn {
    display: block; text-align: center; margin-top: 16px;
    padding: 13px; border-radius: 50px;
    background: var(--sun-gradient); color: #241505;
    font-family: var(--font-head); font-weight: 700; font-size: .82rem;
    text-transform: uppercase; letter-spacing: .4px;
}

@media (max-width: 960px) {
    .main-nav { display: none; }
    .hamburger { display: flex; }
    .header-actions { display: none; }
}
@media (max-width: 420px) {
    .brand-text { display: none; }
}

/* --------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 94vh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    padding: 150px 0 130px;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 12%, rgba(245, 177, 50, .22), transparent 45%),
        linear-gradient(100deg, rgba(6, 10, 18, .93) 0%, rgba(6, 10, 18, .8) 38%, rgba(6, 10, 18, .48) 70%, rgba(6, 10, 18, .3) 100%),
        url("../../images/img6.jpg") center 60% / cover no-repeat;
}
.hero__inner { position: relative; z-index: 2; max-width: var(--container); margin: 0 auto; padding: 0 24px; width: 100%; }
.hero__content { max-width: 660px; }
.hero__content h1 {
    font-size: clamp(2.1rem, 4.6vw, 3.6rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: .2px;
    margin: 0 0 22px;
}
.hero__content h1 span {
    background: var(--sun-gradient);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { font-size: 1.12rem; color: #d9e2ee; max-width: 540px; margin: 0 0 34px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }

.hero-stats {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: var(--container);
    margin: 56px auto 0;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.hero-stats .stat {
    background: rgba(16, 29, 51, .78);
    border: 1px solid var(--ink-line);
    backdrop-filter: blur(6px);
    border-radius: var(--radius-sm);
    padding: 22px 18px;
    text-align: center;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.hero-stats .stat:hover { transform: translateY(-5px); border-color: rgba(245, 177, 50, .4); box-shadow: var(--shadow-dark); }
.hero-stats .stat-top { display: flex; align-items: baseline; justify-content: center; gap: 6px; }
.hero-stats .stat-top i { color: var(--gold); font-size: 1rem; }
.hero-stats h3 { font-size: clamp(1.5rem, 3vw, 2.05rem); font-weight: 800; }
.hero-stats .stat-suffix { font-size: 1.2rem; font-weight: 800; color: var(--text); }
.hero-stats .des { margin: 6px 0 0; font-size: .8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); }

@media (max-width: 700px) {
    .hero { padding: 130px 0 90px; min-height: auto; }
    .hero-stats { grid-template-columns: 1fr; margin-top: 40px; }
}

/* --------------------------------------------------------------------
   Reveal au scroll
   -------------------------------------------------------------------- */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.js .reveal { opacity: 1; transform: none; transition: none; } }

/* --------------------------------------------------------------------
   Mission / expertise (3 cartes)
   -------------------------------------------------------------------- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 26px;
}
.feature-card {
    background: var(--ink-3);
    border: 1px solid var(--ink-line);
    border-radius: var(--radius);
    padding: 34px 28px;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.feature-card:hover { transform: translateY(-6px); border-color: rgba(245, 177, 50, .4); box-shadow: var(--shadow-dark); }
.section--light .feature-card {
    background: var(--light-card);
    border-color: var(--light-line);
    box-shadow: var(--shadow-soft);
}
.icon-badge {
    width: 58px; height: 58px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.35rem; color: #241505;
    background: var(--sun-gradient);
    box-shadow: var(--shadow-gold);
    margin-bottom: 20px;
}
.feature-card h3 { font-size: 1.12rem; font-weight: 700; margin: 0 0 10px; }
.feature-card p { margin: 0; font-size: .95rem; }

/* --------------------------------------------------------------------
   Chiffres clés (funfact)
   -------------------------------------------------------------------- */
.funfact {
    background: linear-gradient(120deg, var(--navy), var(--navy-light));
    position: relative;
    overflow: hidden;
}
.funfact::before {
    content: "";
    position: absolute; inset: 0;
    background: radial-gradient(circle at 12% 30%, rgba(255, 255, 255, .1), transparent 45%),
                radial-gradient(circle at 90% 75%, rgba(245, 177, 50, .18), transparent 45%);
}
.funfact__inner {
    position: relative; z-index: 1;
    max-width: var(--container); margin: 0 auto; padding: 56px 24px;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center;
}
.funfact .grid { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.funfact .icon {
    width: 54px; height: 54px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .12); color: var(--gold-light); font-size: 1.2rem;
}
.funfact h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; color: #fff; }
.funfact p { margin: 0; color: rgba(255, 255, 255, .78); font-size: .84rem; text-transform: uppercase; letter-spacing: 1px; }

@media (max-width: 700px) { .funfact__inner { grid-template-columns: 1fr; gap: 34px; } }

/* --------------------------------------------------------------------
   Section "A propos" (équipe / services / techno / support)
   -------------------------------------------------------------------- */
.about-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.about-block { display: flex; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--ink-line); }
.about-block:last-child { border-bottom: 0; }
.about-block__icon {
    flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; color: #241505; background: var(--sun-gradient); box-shadow: var(--shadow-gold);
}
.about-block__num { font-family: var(--font-head); font-size: .75rem; font-weight: 800; color: var(--gold); letter-spacing: 1px; }
.about-block h3 { font-size: 1.05rem; font-weight: 700; margin: 4px 0 6px; }
.about-block p { margin: 0; font-size: .93rem; }

.about-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-dark); border: 1px solid var(--ink-line); position: relative; }
.about-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.about-media::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(6, 10, 18, .55));
}

@media (max-width: 900px) {
    .about-layout { grid-template-columns: 1fr; }
    .about-media { order: -1; }
    .about-media img { aspect-ratio: 16 / 9; }
}

/* --------------------------------------------------------------------
   Grille de services
   -------------------------------------------------------------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}
.service-card {
    background: var(--light-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
    display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 30px 50px -20px rgba(13, 46, 82, .4); }
.service-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.service-card:hover .service-card__media img { transform: scale(1.07); }
.service-card__num {
    position: absolute; top: 14px; left: 14px;
    width: 34px; height: 34px; border-radius: 50%;
    background: rgba(7, 12, 21, .72); color: var(--gold-light);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-head); font-weight: 800; font-size: .8rem;
    backdrop-filter: blur(4px);
}
.service-card__body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.service-card__body h3 { font-size: 1.02rem; font-weight: 700; color: var(--light-text); margin: 0 0 8px; }
.service-card__body p { font-size: .87rem; margin: 0 0 16px; flex: 1; }
.service-card__link {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-head); font-size: .74rem; font-weight: 700;
    letter-spacing: .6px; text-transform: uppercase; color: var(--orange);
}
.service-card__link i { transition: transform .25s var(--ease); }
.service-card:hover .service-card__link i { transform: translateX(4px); }

/* --------------------------------------------------------------------
   Bandeau CTA
   -------------------------------------------------------------------- */
.cta-banner {
    background: linear-gradient(120deg, var(--orange), var(--gold) 70%);
    position: relative; overflow: hidden;
}
.cta-banner::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(circle at 90% 20%, rgba(255, 255, 255, .28), transparent 45%);
}
.cta-banner__inner {
    position: relative; z-index: 1;
    max-width: var(--container); margin: 0 auto; padding: 46px 24px;
    display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cta-banner h3 { color: #241505; font-size: clamp(1.15rem, 2.4vw, 1.5rem); font-weight: 800; max-width: 620px; margin: 0; }
.cta-banner .btn-sun { background: #16130c; color: #fff; box-shadow: 0 16px 30px -10px rgba(0, 0, 0, .5); }
.cta-banner .btn-sun:hover { box-shadow: 0 22px 40px -12px rgba(0, 0, 0, .6); }

/* --------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------- */
.contact-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: stretch; }
.contact-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-dark); border: 1px solid var(--ink-line); min-height: 340px; }
.contact-map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }
.contact-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
    display: flex; align-items: center; gap: 16px;
    background: var(--ink-3); border: 1px solid var(--ink-line);
    border-radius: var(--radius-sm); padding: 20px 22px;
    transition: transform .3s var(--ease), border-color .3s var(--ease);
}
a.contact-card:hover { transform: translateY(-3px); border-color: rgba(245, 177, 50, .4); }
.contact-card__icon {
    flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--sun-gradient); color: #241505; font-size: 1.05rem;
}
.contact-card__body span { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 3px; }
.contact-card__body strong, .contact-card__body p { font-size: .95rem; color: var(--text); font-weight: 600; margin: 0; }

@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------- */
.site-footer { background: #04070d; padding-top: 30px; position: relative; }
.site-footer::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--sun-gradient);
}
.footer-grid {
    max-width: var(--container); margin: 0 auto; padding: 0 24px 30px;
    display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 36px;
}
.footer-brand img { height: 46px; width: auto; background: #fff; border-radius: 8px; padding: 4px 8px; margin-bottom: 14px; }
.footer-brand p { font-size: .9rem; max-width: 300px; }
.footer-col h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: 1.4px; color: var(--gold); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col li { font-size: .9rem; color: var(--text-muted); display: flex; align-items: flex-start; gap: 10px; }
.footer-col a:hover { color: var(--gold-light); }
.footer-col i { color: var(--gold); margin-top: 3px; }
.footer-bottom {
    border-top: 1px solid var(--ink-line); padding: 16px 24px;
    display: flex; align-items: center; justify-content: center; gap: 16px;
    font-size: .78rem; color: var(--text-muted); position: relative;
}
.back-to-top {
    position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
    width: 32px; height: 32px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--sun-gradient); color: #241505;
    box-shadow: var(--shadow-gold); transition: transform .3s var(--ease);
    cursor: pointer;
}
.back-to-top:hover { transform: translateY(-50%) translateY(-4px); }

@media (max-width: 800px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 12px; }
    .back-to-top { position: static; transform: none; }
}

/* --------------------------------------------------------------------
   Pages "details" — bandeau + galerie + contenu + sidebar
   -------------------------------------------------------------------- */
.page-banner {
    position: relative;
    padding: 168px 0 64px;
    text-align: center;
    background:
        radial-gradient(circle at 85% 15%, rgba(245, 177, 50, .22), transparent 45%),
        linear-gradient(160deg, #060a12, #0b1526 60%, #14100a 150%);
    border-bottom: 1px solid var(--ink-line);
}
.page-banner .eyebrow { justify-content: center; }
.page-banner h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; margin: 4px 0 14px; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: .84rem; color: var(--text-muted); }
.breadcrumb a { color: var(--text-muted); transition: color .25s var(--ease); }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb span { color: var(--gold-light); font-weight: 600; }

.service-single { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }

.service-gallery {
    border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-dark);
    border: 1px solid var(--ink-line); position: relative; background: #04070d;
}
.service-gallery .swiper-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.service-gallery .swiper { aspect-ratio: 16 / 10; }
/* Repli robuste : si la librairie Swiper (CDN externe) ne se charge pas,
   ces règles de base affichent au moins la première image proprement,
   au lieu d'empiler toutes les diapositives verticalement. Sans effet
   une fois Swiper initialisé (son propre CSS prend le relais). */
.service-gallery .swiper { position: relative; overflow: hidden; }
.service-gallery .swiper-wrapper { display: flex; }
.service-gallery .swiper-slide { flex: 0 0 100%; width: 100%; height: 100%; }
.service-gallery .swiper-button-next, .service-gallery .swiper-button-prev {
    color: #fff; background: rgba(7, 12, 21, .55); width: 42px !important; height: 42px !important;
    border-radius: 50%; backdrop-filter: blur(4px);
}
.service-gallery .swiper-button-next::after, .service-gallery .swiper-button-prev::after { font-size: 16px !important; }
.service-gallery .swiper-pagination-bullet { background: #fff; opacity: .5; }
.service-gallery .swiper-pagination-bullet-active { opacity: 1; background: var(--gold); }

.service-content { margin-top: 34px; }
.service-content h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 16px; }
.service-content p { font-size: 1rem; }
.service-points { display: flex; flex-direction: column; gap: 14px; margin: 24px 0 30px; }
.service-point { display: flex; align-items: flex-start; gap: 14px; }
.service-point .dot {
    flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
    background: var(--sun-gradient); color: #241505;
    display: flex; align-items: center; justify-content: center; font-size: .85rem;
}
.service-point strong { display: block; font-size: .96rem; margin-bottom: 2px; }
.service-point span { font-size: .88rem; color: var(--text-muted); }

.service-sidebar { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 100px; }
.service-list-widget {
    background: var(--ink-3); border: 1px solid var(--ink-line);
    border-radius: var(--radius); overflow: hidden;
}
.service-list-widget__head {
    background: var(--sun-gradient); color: #241505;
    padding: 16px 20px; font-family: var(--font-head); font-weight: 800;
    font-size: .8rem; text-transform: uppercase; letter-spacing: .8px;
}
.service-list-widget ul { display: flex; flex-direction: column; }
.service-list-widget li a {
    display: block; padding: 13px 20px; font-size: .88rem; color: var(--text-muted);
    border-top: 1px solid var(--ink-line); transition: var(--ease) .25s;
}
.service-list-widget li a:hover { background: rgba(245, 177, 50, .08); color: var(--gold-light); }
.service-list-widget li.current a { background: rgba(245, 177, 50, .12); color: var(--gold-light); font-weight: 700; }

.sidebar-cta {
    background: linear-gradient(150deg, var(--navy), var(--navy-light));
    border-radius: var(--radius); padding: 28px 24px; text-align: center;
}
.sidebar-cta h4 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.sidebar-cta p { font-size: .86rem; margin-bottom: 18px; }
.sidebar-cta .btn { width: 100%; justify-content: center; }

@media (max-width: 960px) {
    .service-single { grid-template-columns: 1fr; }
    .service-sidebar { position: static; }
}

/* --------------------------------------------------------------------
   Divers
   -------------------------------------------------------------------- */
.section-divider { height: 1px; background: var(--ink-line); max-width: var(--container); margin: 0 auto; }
