/* EuropaGlass – Page Services
   Même ADN que la tour 3D : bleu verre, or, Syne + Inter + Manrope, verre dépoli.
   Tout est scopé sous #eg-services pour ne pas toucher au thème. */

#eg-services {
    --navy: #0A1A33;
    --blue: #1557A6;
    --sky: #5FB4E6;
    --ice: #DDF1FB;
    --accent: #F5C542;
    --muted: rgba(221, 241, 251, 0.72);
    --faint: rgba(221, 241, 251, 0.45);
    --glass: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(221, 241, 251, 0.16);
    --font-main: 'Inter', system-ui, sans-serif;
    --font-heading: 'Syne', 'Inter', sans-serif;
    --font-nav: 'Manrope', 'Inter', sans-serif;

    position: relative;
    width: 100%;
    overflow: hidden;
    overflow: clip;
    margin: 0;
    padding: 0;
    background: #06132A;
    color: #fff;
    font-family: var(--font-main);
    font-size: 15px;
    line-height: 1.6;
    text-align: left;
    -webkit-font-smoothing: antialiased;
}
/* Pleine largeur même dans un conteneur étroit du thème */
#eg-services { width: 100vw !important; max-width: 100vw !important; margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important; }
.egs-fullpage-body { margin: 0; background: #06132A; }

#eg-services *, #eg-services *::before, #eg-services *::after { box-sizing: border-box; }
#eg-services h1, #eg-services h2, #eg-services p, #eg-services ul, #eg-services li { margin: 0; padding: 0; text-transform: none; }
#eg-services ul, #eg-services li { list-style: none; }
#eg-services li::marker { content: none; }
#eg-services span, #eg-services b, #eg-services i { padding: 0; margin: 0; border: 0; background: none; font-size: inherit; line-height: inherit; font-family: inherit; }
#eg-services a { text-decoration: none; font-family: inherit; }
#eg-services img { display: block; max-width: 100%; border: 0; box-shadow: none; }
#eg-services br + br, #eg-services p:empty { display: none; }
#eg-services a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

#eg-services .egs-wrap { width: min(1200px, calc(100% - 72px)); margin: 0 auto; }

/* ---------- Hero (fond identique à la tour) ---------- */
#eg-services .egs-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 0 0 112px;
    background: radial-gradient(circle at 50% 30%, #1D6FB8 0%, #0B3563 48%, #040D1C 100%);
}
#eg-services .egs-shine {
    position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
        linear-gradient(125deg, transparent 62%, rgba(190, 230, 255, 0.06) 63%, transparent 68%),
        linear-gradient(125deg, transparent 74%, rgba(190, 230, 255, 0.04) 75%, transparent 78%);
}
#eg-services .egs-sparkles { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
#eg-services .egs-sparkle {
    position: absolute;
    bottom: -20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(221, 241, 251, 0.5) 35%, transparent 70%);
    animation: egsRise linear forwards;
}
@keyframes egsRise {
    0% { transform: translateY(0); opacity: 0; }
    10% { opacity: 0.7; }
    90% { opacity: 0.5; }
    100% { transform: translateY(-110vh) translateX(20px) scale(0.5); opacity: 0; }
}

/* Header — identique à la tour 3D */
#eg-services .egs-header {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 2rem 4%;
}
#eg-services a.egs-logo { display: flex !important; align-items: center; gap: 0.7rem; padding: 0 !important; margin: 0 !important; color: var(--ice) !important; }
#eg-services .egs-logo-text { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; line-height: 1.1; }
#eg-services img.egs-logo-mark { display: block !important; width: auto !important; height: 60px !important; max-width: none !important; margin: 0 !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important; }
#eg-services img.egs-logo-word { display: block !important; width: auto !important; height: 23px !important; max-width: none !important; margin: 0 !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important; }
#eg-services .egs-logo-sub { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
/* Menu et « Devis gratuit » dans un même bloc : toujours côte à côte, même hauteur (identique à Contact / Devis / tour) */
#eg-services .egs-header { flex-wrap: nowrap !important; }
#eg-services .egs-header p { display: contents !important; }
#eg-services .egs-header br { display: none !important; }
#eg-services .egs-navgroup { display: flex !important; flex: none !important; align-items: center; gap: 0.6rem; margin: 0 !important; }
#eg-services .egs-navgroup > *, #eg-services .egs-nav a { margin: 0 !important; align-self: center !important; }
@media (min-width: 1100px) {
    #eg-services a.egs-logo { flex: 1 1 0 !important; min-width: 0; }
    #eg-services .egs-header::after { content: ""; flex: 1 1 0; min-width: 0; }
}
#eg-services .egs-nav {
    display: flex;
    flex: none !important;
    width: auto !important;
    height: 50px;
    align-items: center;
    box-sizing: border-box;
    gap: 0.5rem;
    max-width: none;
    margin: 0;
    padding: 0.4rem;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
#eg-services .egs-nav a {
    padding: 0.5rem 1.2rem !important;
    border-radius: 100px;
    color: var(--muted) !important;
    font-family: var(--font-nav) !important;
    font-size: 0.85rem !important;
    font-weight: 500;
    line-height: 1.2 !important;
    white-space: nowrap;
    transition: all 0.3s ease;
}
#eg-services .egs-nav a:hover, #eg-services .egs-nav a.is-active { background: var(--accent); color: var(--navy) !important; }
#eg-services a.egs-quote-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 0.6rem;
    height: 50px;
    box-sizing: border-box;
    padding: 0 1.6rem !important;
    border-radius: 100px;
    background: var(--accent);
    color: var(--navy) !important;
    font-family: var(--font-main) !important;
    font-size: 0.85rem !important;
    font-weight: 700;
    line-height: 1.2 !important;
    white-space: nowrap;
    box-shadow: 0 10px 28px rgba(245, 197, 66, 0.28);
    transition: all 0.3s ease;
}
#eg-services a.egs-quote-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(245, 197, 66, 0.4); }

#eg-services .egs-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 56px;
    align-items: center;
    padding-top: 36px;
}
#eg-services .egs-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.24em;
}
#eg-services .egs-eyebrow i { display: block; width: 26px; height: 2px; border-radius: 2px; background: var(--accent); }
#eg-services .egs-center { display: flex; justify-content: center; }
#eg-services .egs-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(2.6rem, 5vw, 5rem);
    line-height: 0.95;
    letter-spacing: -0.03em;
    color: #fff;
}
#eg-services .egs-outline { color: transparent; -webkit-text-stroke: 1.5px var(--ice); }
#eg-services .egs-lead { max-width: 500px; margin-top: 1.4rem; color: var(--muted); font-size: 1.02rem; line-height: 1.7; }
#eg-services .egs-badge { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; }
#eg-services .egs-badge-icon {
    display: flex; align-items: center; justify-content: center;
    flex: none; width: 48px; height: 48px;
    border-radius: 12px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--ice);
}
#eg-services .egs-badge-text { display: flex; flex-direction: column; line-height: 1.35; }
#eg-services .egs-badge-text b { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.1em; color: var(--muted); }
#eg-services .egs-badge-text span { font-size: 0.9rem; font-weight: 600; }

/* Flèche « Découvrir nos services » en bas du hero */
#eg-services a.egs-scroll {
    position: absolute; left: 50%; bottom: 22px; z-index: 3;
    transform: translateX(-50%);
    display: flex !important; flex-direction: column; align-items: center; gap: 0.55rem;
    padding: 0 !important;
    color: var(--muted) !important;
    font-family: var(--font-main) !important;
    font-size: 0.7rem !important;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none !important;
    white-space: nowrap;
}
#eg-services .egs-scroll-arrow {
    display: flex; align-items: center; justify-content: center;
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--accent);
    animation: egsBounce 2s ease-in-out infinite;
    transition: background 0.3s ease, color 0.3s ease;
}
#eg-services a.egs-scroll:hover { color: #fff !important; }
#eg-services a.egs-scroll:hover .egs-scroll-arrow { background: var(--accent); color: var(--navy); }
@keyframes egsBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* Petite tour qui tourne sur elle-même (CSS 3D) */
#eg-services .egs-tower {
    --tw-w: 150px;   /* largeur d'une façade */
    --tw-h: 330px;   /* hauteur de la tour */
    --pod-w: 200px;  /* socle */
    --pod-h: 46px;
    position: relative;
    justify-self: center;
    width: 320px;
    height: 470px;
    pointer-events: none;
}
#eg-services .egs-tw-halo {
    position: absolute; left: 50%; top: 46%;
    width: 380px; height: 380px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(95, 180, 230, 0.32) 0%, rgba(95, 180, 230, 0.08) 45%, transparent 70%);
}
#eg-services .egs-tw-scene {
    position: absolute; left: 50%; top: 40px;
    width: var(--tw-w); height: var(--tw-h);
    margin-left: calc(var(--tw-w) / -2);
    perspective: 1100px;
    perspective-origin: 50% 30%;
}
#eg-services .egs-tw-spin {
    position: absolute; inset: 0;
    transform-style: preserve-3d;
    animation: egsTowerSpin 16s linear infinite;
}
@keyframes egsTowerSpin {
    from { transform: rotateX(-12deg) rotateY(0deg); }
    to   { transform: rotateX(-12deg) rotateY(360deg); }
}
/* Façades vitrées : montants, étages et reflet qui glisse */
#eg-services .egs-tw-face {
    position: absolute; left: 0; top: 0;
    width: var(--tw-w); height: var(--tw-h);
    backface-visibility: hidden;
    border: 1px solid rgba(221, 241, 251, 0.35);
    background:
        linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.28) 42%, transparent 54%) no-repeat,
        repeating-linear-gradient(90deg, rgba(221, 241, 251, 0.55) 0 2px, transparent 2px 30px),
        repeating-linear-gradient(0deg, rgba(221, 241, 251, 0.4) 0 2px, transparent 2px 26px),
        linear-gradient(180deg, #5FB4E6 0%, #1D6FB8 45%, #0B3563 100%);
    background-size: 300% 100%, auto, auto, auto;
    background-position: 120% 0, 0 0, 0 0, 0 0;
    animation: egsTowerGlare 8s ease-in-out infinite;
}
@keyframes egsTowerGlare {
    0%, 100% { background-position: 120% 0, 0 0, 0 0, 0 0; }
    50%      { background-position: -20% 0, 0 0, 0 0, 0 0; }
}
#eg-services .egs-tw-front { transform: translateZ(calc(var(--tw-w) / 2)); }
#eg-services .egs-tw-back  { transform: rotateY(180deg) translateZ(calc(var(--tw-w) / 2)); }
#eg-services .egs-tw-right { transform: rotateY(90deg) translateZ(calc(var(--tw-w) / 2)); filter: brightness(0.72); }
#eg-services .egs-tw-left  { transform: rotateY(-90deg) translateZ(calc(var(--tw-w) / 2)); filter: brightness(0.82); }
/* Enseigne dorée en haut des façades */
#eg-services .egs-tw-sign {
    position: absolute; left: 8px; right: 8px; top: 10px;
    overflow: hidden;
    padding: 5px 0;
    background: rgba(4, 13, 28, 0.82);
    border-top: 1px solid var(--accent);
    border-bottom: 1px solid var(--accent);
    color: var(--accent);
    font-family: var(--font-heading);
    font-size: calc(var(--tw-w) * 0.058);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1;
    white-space: nowrap;
    text-align: center;
    text-shadow: 0 0 8px rgba(245, 197, 66, 0.6);
}
/* Toit avec liseré doré */
#eg-services .egs-tw-roof {
    position: absolute; left: 0; top: calc(var(--tw-w) / -2);
    width: var(--tw-w); height: var(--tw-w);
    transform: rotateX(90deg);
    background: linear-gradient(135deg, #0B3563, #040D1C);
    border: 2px solid var(--accent);
    box-shadow: 0 0 22px rgba(245, 197, 66, 0.45);
}
/* Socle en pierre avec l'entrée */
#eg-services .egs-tw-pod {
    position: absolute;
    left: calc((var(--tw-w) - var(--pod-w)) / 2);
    top: calc(var(--tw-h) - var(--pod-h));
    width: var(--pod-w); height: var(--pod-h);
    backface-visibility: hidden;
    background: linear-gradient(180deg, #D9DEE6 0%, #A9B2BF 100%);
    border-top: 3px solid var(--accent);
}
#eg-services .egs-tw-pod i {
    position: absolute; left: 50%; bottom: 0;
    width: 46px; height: 30px;
    margin-left: -23px;
    background: linear-gradient(180deg, #F5C542 0%, #FFE9A8 100%);
    box-shadow: 0 0 18px rgba(245, 197, 66, 0.8);
}
#eg-services .egs-tw-pod-front { transform: translateZ(calc(var(--pod-w) / 2)); }
#eg-services .egs-tw-pod-back  { transform: rotateY(180deg) translateZ(calc(var(--pod-w) / 2)); }
#eg-services .egs-tw-pod-right { transform: rotateY(90deg) translateZ(calc(var(--pod-w) / 2)); filter: brightness(0.75); }
#eg-services .egs-tw-pod-left  { transform: rotateY(-90deg) translateZ(calc(var(--pod-w) / 2)); filter: brightness(0.85); }
#eg-services .egs-tw-pod-top {
    position: absolute;
    left: calc((var(--tw-w) - var(--pod-w)) / 2);
    top: calc(var(--tw-h) - var(--pod-h) - var(--pod-w) / 2);
    width: var(--pod-w); height: var(--pod-w);
    transform: rotateX(90deg);
    background: #8C96A5;
}
#eg-services .egs-tw-shadow {
    /* derrière le bâtiment, au pied du socle */
    position: absolute; left: 50%;
    top: calc(40px + var(--tw-h) - 18px);
    width: calc(var(--pod-w) * 1.5); height: 56px;
    margin-left: calc(var(--pod-w) * -0.75);
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(4, 13, 28, 0.65) 0%, transparent 70%);
}

/* ---------- Services ---------- */
#eg-services .egs-service {
    position: relative;
    isolation: isolate;
    padding: 96px 0;
    scroll-margin-top: 16px;
    background:
        radial-gradient(ellipse at 10% 0%, rgba(29, 111, 184, 0.28), transparent 55%),
        linear-gradient(180deg, #0A2348 0%, #071A38 100%);
}
#eg-services .egs-service:nth-child(even) {
    background:
        radial-gradient(ellipse at 90% 100%, rgba(29, 111, 184, 0.3), transparent 55%),
        linear-gradient(180deg, #0B2B57 0%, #0A2348 100%);
}
#eg-services .egs-service::after {
    content: '';
    position: absolute; left: 0; right: 0; top: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(130, 200, 247, 0.4) 50%, transparent);
}
/* Mise en valeur quand on arrive depuis la tour (« En savoir plus ») */
#eg-services .egs-service.is-target .egs-frame { animation: egsTarget 2.4s ease-out 0.3s 2; }
@keyframes egsTarget {
    0%, 100% { box-shadow: 0 0 0 0 rgba(245, 197, 66, 0); }
    35% { box-shadow: 0 0 0 6px rgba(245, 197, 66, 0.35), 0 0 60px rgba(245, 197, 66, 0.35); }
}

#eg-services .egs-service-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 72px;
    align-items: center;
}
#eg-services .egs-service:nth-child(even) .egs-visual { order: 2; }

/* Visuel : une vitre encadrée d'or, comme les vitres services de la tour */
#eg-services .egs-visual {
    position: relative;
    height: 380px;
    border-radius: 6px;
    overflow: hidden;
    background: linear-gradient(160deg, #5FB4E6 0%, #1557A6 55%, #0A1A33 100%);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}
#eg-services .egs-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
#eg-services .egs-visual:hover img { transform: scale(1.05); }
#eg-services .egs-visual::after {
    content: '';
    position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(to top, rgba(4, 13, 28, 0.45), transparent 50%);
}
#eg-services .egs-frame {
    position: absolute; inset: 10px; z-index: 3;
    border: 1.5px solid rgba(245, 197, 66, 0.75);
    border-radius: 3px;
    pointer-events: none;
    transition: inset 0.4s ease, border-color 0.4s ease;
}
#eg-services .egs-visual:hover .egs-frame { inset: 14px; border-color: var(--accent); }
#eg-services .egs-num {
    position: absolute; z-index: 4; top: 22px; left: 22px;
    padding: 0.15rem 0.55rem;
    border-radius: 6px;
    background: rgba(10, 26, 51, 0.8);
    color: var(--accent);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
}
#eg-services .egs-glare {
    position: absolute; z-index: 2; top: -60%; left: -60%;
    width: 45%; height: 220%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
    transform: rotate(25deg);
    animation: egsShine 5s ease-in-out infinite;
    pointer-events: none;
}
@keyframes egsShine { 0%, 60% { transform: translateX(0) rotate(25deg); } 100% { transform: translateX(500%) rotate(25deg); } }

/* Illustration pour le service sans photo (films de protection) */
#eg-services .egs-visual-art { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
#eg-services .egs-art-pane {
    position: absolute; inset: 18% 22%;
    border: 6px solid #c9d3dc;
    background:
        linear-gradient(90deg, transparent 49%, rgba(201, 211, 220, 0.9) 49%, rgba(201, 211, 220, 0.9) 51%, transparent 51%),
        linear-gradient(160deg, rgba(221, 241, 251, 0.35), rgba(21, 87, 166, 0.25));
}
#eg-services .egs-art-film {
    position: absolute; top: 18%; bottom: 18%; left: 22%; width: 0;
    background: linear-gradient(90deg, rgba(245, 197, 66, 0.18), rgba(255, 255, 255, 0.35));
    border-right: 3px solid var(--accent);
    animation: egsFilm 4s ease-in-out infinite;
}
@keyframes egsFilm { 0% { width: 0; } 55%, 80% { width: 56%; } 100% { width: 56%; opacity: 0; } }
#eg-services .egs-art-shield {
    position: relative; z-index: 2;
    display: flex; align-items: center; justify-content: center;
    width: 84px; height: 84px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--navy);
    box-shadow: 0 0 0 10px rgba(245, 197, 66, 0.18), 0 20px 40px rgba(0, 0, 0, 0.35);
}
#eg-services .egs-art-shield svg { width: 40px; height: 40px; }

#eg-services .egs-cat {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.1rem;
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
#eg-services .egs-cat-icon {
    display: flex; align-items: center; justify-content: center;
    width: 34px; height: 34px;
    border-radius: 10px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--ice);
}
#eg-services .egs-cat-icon svg { width: 17px; height: 17px; }
#eg-services .egs-content h2 {
    max-width: 540px;
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 2.8vw, 2.6rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: #fff;
}
#eg-services .egs-content p { max-width: 540px; margin-top: 1.2rem; color: var(--muted); font-size: 1rem; line-height: 1.8; }
#eg-services .egs-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
#eg-services .egs-tags li {
    padding: 0.5rem 0.85rem;
    border-radius: 100px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--ice);
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.2;
}

/* Boutons (identiques à la fiche service de la tour) */
#eg-services .egs-actions, #eg-services .egs-final-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin-top: 2rem; }
#eg-services a.egs-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    height: 46px !important;
    margin: 0 !important;
    padding: 0 5px 0 18px !important;
    border-radius: 100px !important;
    border: 1px solid var(--glass-border) !important;
    background: rgba(10, 26, 51, 0.6) !important;
    color: #fff !important;
    font-family: var(--font-main) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    transition: background 0.3s ease, transform 0.3s ease;
}
#eg-services a.egs-btn:hover { background: rgba(10, 26, 51, 0.9) !important; transform: translateY(-3px); }
#eg-services .egs-plus {
    display: flex !important; align-items: center; justify-content: center;
    flex: none; width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--accent) !important;
    color: var(--navy);
    font-size: 20px !important;
    font-weight: 800;
    line-height: 1 !important;
}
#eg-services a.egs-btn-ghost {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    height: 46px !important;
    margin: 0 !important;
    padding: 0 18px !important;
    border-radius: 100px !important;
    border: 1px solid var(--glass-border) !important;
    background: rgba(255, 255, 255, 0.06) !important;
    color: #fff !important;
    font-family: var(--font-main) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    transition: background 0.3s ease, border-color 0.3s ease;
}
#eg-services a.egs-btn-ghost span:last-child { color: var(--accent); transition: transform 0.3s ease; }
#eg-services a.egs-btn-ghost:hover { background: rgba(255, 255, 255, 0.14) !important; border-color: rgba(255, 255, 255, 0.4) !important; }
#eg-services a.egs-btn-ghost:hover span:last-child { transform: translateX(3px); }
#eg-services .egs-btn-label { display: block; line-height: 1 !important; }

/* ---------- Fin de page ---------- */
#eg-services .egs-final {
    position: relative;
    padding: 72px 0 80px;
    text-align: center;
    background: radial-gradient(circle at 50% 40%, #1D6FB8 0%, #0B3563 48%, #040D1C 100%);
}
#eg-services .egs-final-title { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
#eg-services .egs-final p { max-width: 480px; margin: 1.4rem auto 0; color: var(--muted); font-size: 1.02rem; }
#eg-services .egs-final-actions { justify-content: center; }

/* ---------- Navigation flottante pendant le défilement ---------- */
#eg-services .egs-floatnav {
    position: fixed;
    left: 50%;
    bottom: 18px;
    z-index: 60;
    display: flex;
    gap: 4px;
    max-width: calc(100vw - 24px);
    padding: 5px;
    border-radius: 100px;
    background: rgba(10, 26, 51, 0.82);
    border: 1px solid var(--glass-border);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    overflow-x: auto;
    scrollbar-width: none;
    transform: translate(-50%, 140%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.4s ease;
}
#eg-services .egs-floatnav::-webkit-scrollbar { display: none; }
#eg-services .egs-floatnav.is-shown { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
#eg-services .egs-floatnav a {
    flex: none;
    padding: 9px 14px !important;
    border-radius: 100px;
    color: var(--muted) !important;
    font-family: var(--font-nav) !important;
    font-size: 12px !important;
    font-weight: 700;
    line-height: 1 !important;
    white-space: nowrap;
    transition: background 0.25s ease, color 0.25s ease;
}
#eg-services .egs-floatnav a b { margin-right: 6px; color: var(--accent); font-family: var(--font-heading); }
#eg-services .egs-floatnav a:hover { background: rgba(255, 255, 255, 0.08); color: #fff !important; }
#eg-services .egs-floatnav a.is-active { background: var(--accent); color: var(--navy) !important; }
#eg-services .egs-floatnav a.is-active b { color: var(--navy); }

/* ---------- « En plus » : Films & Stop Tag, sous les services numérotés ---------- */
#eg-services .egs-extra {
    position: relative;
    padding: 64px 0 96px;
    scroll-margin-top: 16px;
    background: linear-gradient(180deg, #0A2348 0%, #071A38 100%);
}
#eg-services .egs-extra::before {
    content: '';
    position: absolute; left: 0; right: 0; top: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(130, 200, 247, 0.4) 50%, transparent);
}
#eg-services .egs-extra-card {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 36px;
    align-items: center;
    padding: 36px 40px;
    border-radius: 24px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-left: 3px solid var(--accent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
#eg-services .egs-extra-icon {
    display: flex; align-items: center; justify-content: center;
    width: 76px; height: 76px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--navy);
    box-shadow: 0 0 0 9px rgba(245, 197, 66, 0.16);
}
#eg-services .egs-extra-icon svg { width: 34px; height: 34px; }
#eg-services .egs-extra-media {
    position: relative;
    width: 440px; height: 300px;
    border-radius: 16px;
    background: linear-gradient(160deg, #5FB4E6 0%, #1557A6 55%, #0A1A33 100%);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}
#eg-services .egs-extra-media img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
#eg-services .egs-extra-media .egs-extra-icon { position: absolute; right: -14px; bottom: -14px; width: 56px; height: 56px; box-shadow: 0 0 0 6px rgba(245, 197, 66, 0.16); }
#eg-services .egs-extra-media .egs-extra-icon svg { width: 24px; height: 24px; }
/* Photo petite, sur le côté : à gauche pour la 1re carte, à droite pour la suivante */
#eg-services .egs-extra-card.has-media { grid-template-columns: 260px minmax(0, 1fr) auto; }
#eg-services .egs-extra-card.has-media .egs-extra-media { width: 260px; height: 200px; }
#eg-services .egs-extra-media img { object-position: center center; }
#eg-services .egs-extra + .egs-extra .egs-extra-card.has-media { grid-template-columns: minmax(0, 1fr) auto 260px; }
#eg-services .egs-extra + .egs-extra .egs-extra-card.has-media .egs-extra-media { order: 3; }
#eg-services .egs-extra + .egs-extra .egs-extra-card.has-media .egs-extra-body { order: 1; }
#eg-services .egs-extra + .egs-extra .egs-extra-card.has-media > .egs-btn { order: 2; }
#eg-services .egs-extra + .egs-extra .egs-extra-media .egs-extra-icon { right: auto; left: -14px; }
@media (max-width: 960px) {
    #eg-services .egs-extra-card.has-media { grid-template-columns: 210px minmax(0, 1fr); }
    #eg-services .egs-extra-card.has-media .egs-extra-media { width: 210px; height: 170px; grid-row: span 2; }
    #eg-services .egs-extra-card.has-media > .egs-btn { justify-self: start; }
    #eg-services .egs-extra + .egs-extra .egs-extra-card.has-media { grid-template-columns: minmax(0, 1fr) 210px; }
    #eg-services .egs-extra + .egs-extra .egs-extra-card.has-media .egs-extra-media { grid-column: 2; grid-row: 1 / span 2; }
    #eg-services .egs-extra + .egs-extra .egs-extra-card.has-media .egs-extra-body,
    #eg-services .egs-extra + .egs-extra .egs-extra-card.has-media > .egs-btn { grid-column: 1; }
}
#eg-services .egs-extra-plus {
    display: flex; align-items: center; justify-content: center;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--navy);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0;
}
#eg-services .egs-extra-body .egs-cat { margin-bottom: 0.7rem; }
#eg-services .egs-extra h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2.2vw, 1.9rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #fff;
}
#eg-services .egs-extra p { max-width: 620px; margin-top: 0.8rem; color: var(--muted); font-size: 0.98rem; line-height: 1.7; }
#eg-services .egs-extra .egs-tags { margin-top: 1rem; }
#eg-services .egs-extra.is-target .egs-extra-card { animation: egsTarget 2.4s ease-out 0.3s 2; }

/* Apparition au défilement */
#eg-services.egs-js .egs-reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
#eg-services.egs-js .egs-reveal.is-visible { opacity: 1; transform: none; }
#eg-services.egs-js .egs-content.egs-reveal { transition-delay: 0.12s; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    #eg-services .egs-nav a { padding: 0.5rem 0.85rem !important; }
}
@media (max-width: 960px) {
    #eg-services .egs-hero-inner { grid-template-columns: 1fr; gap: 20px; }
    #eg-services .egs-service-inner { gap: 40px; }
    #eg-services .egs-visual { height: 320px; }
}
@media (max-width: 820px) {
    #eg-services .egs-nav { display: none !important; }
    #eg-services .egs-header { padding: 1.2rem 4%; }
}
@media (max-width: 720px) {
    #eg-services .egs-wrap { width: calc(100% - 36px); }
    #eg-services .egs-hero { padding-bottom: 96px; }
    #eg-services .egs-hero-inner { padding-top: 12px; }
    #eg-services .egs-service { padding: 56px 0; }
    #eg-services .egs-service-inner { grid-template-columns: 1fr; gap: 26px; }
    #eg-services .egs-service:nth-child(even) .egs-visual { order: 0; }
    #eg-services .egs-visual { height: 250px; }
    #eg-services .egs-tower { --tw-w: 104px; --tw-h: 230px; --pod-w: 140px; --pod-h: 34px; width: 240px; height: 330px; }
    #eg-services .egs-tw-halo { width: 280px; height: 280px; }
    #eg-services .egs-tw-sign { left: 6px; right: 6px; top: 7px; padding: 4px 0; }
    #eg-services .egs-tw-pod i { width: 32px; height: 22px; margin-left: -16px; }
    #eg-services .egs-tw-shadow { height: 40px; }
    #eg-services .egs-final { padding: 56px 0 64px; }
    #eg-services .egs-extra { padding: 40px 0 56px; }
    #eg-services .egs-extra-card { grid-template-columns: 1fr; gap: 20px; padding: 26px 22px; }
    #eg-services .egs-extra-icon { width: 58px; height: 58px; }
    #eg-services .egs-extra-icon svg { width: 26px; height: 26px; }
    #eg-services .egs-extra-card.has-media,
    #eg-services .egs-extra + .egs-extra .egs-extra-card.has-media { grid-template-columns: 1fr; }
    #eg-services .egs-extra-card.has-media .egs-extra-media,
    #eg-services .egs-extra + .egs-extra .egs-extra-card.has-media .egs-extra-media { order: 0; grid-column: auto; grid-row: auto; width: calc(100% - 14px); height: 190px; }
    #eg-services .egs-extra + .egs-extra .egs-extra-card.has-media .egs-extra-body,
    #eg-services .egs-extra + .egs-extra .egs-extra-card.has-media > .egs-btn { order: 0; grid-column: auto; }
    #eg-services .egs-extra + .egs-extra .egs-extra-media .egs-extra-icon { left: auto; right: -14px; }
    #eg-services .egs-extra-card.has-media > .egs-btn { justify-self: stretch; }
    #eg-services .egs-extra-media .egs-extra-icon { width: 48px; height: 48px; }
    #eg-services .egs-extra-media .egs-extra-icon svg { width: 22px; height: 22px; }
    #eg-services .egs-floatnav { bottom: 12px; }
}
@media (max-width: 520px) {
    #eg-services .egs-header { gap: 0.6rem; }
    #eg-services img.egs-logo-mark { height: 42px !important; }
    #eg-services img.egs-logo-word { height: 15px !important; }
    #eg-services .egs-logo-sub { font-size: 0.55rem; letter-spacing: 0.08em; }
    #eg-services a.egs-quote-btn { height: 40px; padding: 0 0.9rem !important; font-size: 0.74rem !important; gap: 0.35rem; flex: none; }
    #eg-services .egs-actions { flex-direction: column; align-items: stretch; }
    #eg-services a.egs-btn, #eg-services a.egs-btn-ghost { justify-content: space-between !important; }
}
@media (prefers-reduced-motion: reduce) {
    #eg-services .egs-glare, #eg-services .egs-art-film, #eg-services .egs-sparkles { animation: none; display: none; }
    #eg-services .egs-scroll-arrow { animation: none; }
    #eg-services .egs-tw-spin { animation: none; transform: rotateX(-12deg) rotateY(-30deg); }
    #eg-services .egs-tw-face { animation: none; }
    #eg-services.egs-js .egs-reveal { opacity: 1; transform: none; transition: none; }
}

/* Vidéo à droite du titre (à la place de la petite tour) */
#eg-services .egs-video { position: relative; justify-self: center; width: 100%; max-width: 560px; }
#eg-services .egs-video-halo { position: absolute; inset: -12%; border-radius: 50%; background: radial-gradient(circle, rgba(95, 180, 230, 0.35) 0%, rgba(29, 111, 184, 0.12) 45%, rgba(29, 111, 184, 0) 70%); pointer-events: none; z-index: 0; }
#eg-services video.egs-video-el {
    position: relative; z-index: 1; display: block; width: 100%; height: auto; max-height: 72vh; object-fit: contain;
    margin: 0 !important; border-radius: 24px; background: #040D1C;
    border: 1px solid rgba(221, 241, 251, 0.22);
    box-shadow: 0 30px 70px rgba(2, 10, 30, 0.55), 0 0 0 6px rgba(255, 255, 255, 0.04);
}
@media (max-width: 960px) {
    #eg-services .egs-video { max-width: 520px; margin-top: 8px; }
    #eg-services video.egs-video-el { max-height: 60vh; }
}

/* Commandes de la vidéo : pause / lecture et son */
#eg-services .egs-video-ctrl { position: absolute; z-index: 2; left: 14px; bottom: 14px; display: flex; gap: 8px; }
#eg-services button.egs-vbtn {
    display: inline-flex; align-items: center; gap: 6px; height: 42px; min-width: 42px; padding: 0 12px; margin: 0;
    border: 1px solid rgba(221, 241, 251, 0.3) !important; border-radius: 100px !important;
    background: rgba(4, 13, 28, 0.62) !important; color: #fff !important; cursor: pointer;
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    font: 600 0.8rem/1 'Inter', sans-serif; box-shadow: 0 8px 20px rgba(2, 10, 30, 0.35);
    transition: background 0.2s ease, transform 0.2s ease;
}
#eg-services button.egs-vbtn:hover { background: rgba(4, 13, 28, 0.82) !important; transform: translateY(-1px); }
#eg-services button.egs-vbtn:focus-visible { outline: 2px solid #F5C542; outline-offset: 2px; }
#eg-services .egs-vbtn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
#eg-services .egs-vbtn svg .ln { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }
#eg-services .egs-vbtn .i-play, #eg-services .egs-vbtn .i-sound { display: none; }
#eg-services .egs-vbtn.is-paused .i-pause, #eg-services .egs-vbtn.is-on .i-muted { display: none; }
#eg-services .egs-vbtn.is-paused .i-play, #eg-services .egs-vbtn.is-on .i-sound { display: block; }
#eg-services .egs-vbtn.is-on { background: #F5C542 !important; color: #0A1A33 !important; border-color: #F5C542 !important; }

/* ---------- Téléphone : bouton ☰ et menu plein écran (comme sur l'accueil et la page Contact) ---------- */
#eg-services .egs-burger { display: none !important; }
.egs-mmwrap .egs-mm-toggle { position: fixed !important; top: 0 !important; left: 0 !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; margin: 0 !important; }
@media (max-width: 820px) {
    #eg-services .egs-navgroup a.egs-quote-btn { display: none !important; }
    #eg-services .egs-burger {
        display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
        flex: none; width: 46px !important; height: 46px !important; margin: 0 !important; padding: 0 !important;
        border-radius: 50% !important; border: 1px solid rgba(255, 255, 255, 0.22) !important; background: rgba(255, 255, 255, 0.08) !important;
        color: #fff; cursor: pointer; font-size: 0 !important; line-height: 0 !important;
        backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    }
    #eg-services .egs-burger i { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
}
.egs-mmwrap .egs-mm {
    position: fixed; inset: 0; z-index: 2147483000;
    display: flex; flex-direction: column; justify-content: flex-start;
    padding: 1.2rem 5% calc(6rem + env(safe-area-inset-bottom)); overflow-y: auto;
    background: rgba(4, 13, 28, 0.94); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
    color: #fff; font-family: 'Inter', system-ui, sans-serif; text-align: left;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s linear 0.45s;
}
.egs-mmwrap .egs-mm-toggle:checked ~ .egs-mm { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
html:has(#egs-mm-toggle:checked), html:has(#egs-mm-toggle:checked) body { overflow: hidden !important; }
.egs-mmwrap .egs-mm a { text-decoration: none !important; }
.egs-mmwrap .egs-mm-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.egs-mmwrap .egs-mm a.egs-logo { gap: 0.5rem; }
.egs-mmwrap .egs-mm img.egs-logo-mark { height: 42px !important; }
.egs-mmwrap .egs-mm img.egs-logo-word { height: 15px !important; }
.egs-mmwrap .egs-mm .egs-logo-sub { font-size: 0.55rem; letter-spacing: 0.08em; }
.egs-mmwrap .egs-mm label.egs-mm-close { display: block !important; position: relative; flex: none; width: 46px; height: 46px; margin: 0 !important; padding: 0 !important; border-radius: 50%; background: var(--accent, #F5C542); color: #0A1A33; cursor: pointer; }
.egs-mmwrap .egs-mm-close i { position: absolute; left: 50%; top: 50%; width: 18px; height: 2px; margin: -1px 0 0 -9px; border-radius: 2px; background: currentColor; transform: rotate(45deg); }
.egs-mmwrap .egs-mm-close i + i { transform: rotate(-45deg); }
.egs-mmwrap .egs-mm-nav { display: flex; flex-direction: column; margin-top: clamp(0.8rem, 3vh, 2rem); }
.egs-mmwrap .egs-mm-nav a {
    display: flex; align-items: baseline; gap: 0.9rem; padding: clamp(0.6rem, 1.9vh, 0.95rem) 0 !important; margin: 0 !important;
    border-bottom: 1px solid rgba(221, 241, 251, 0.12);
    font-family: 'Syne', 'Inter', sans-serif; font-weight: 800; font-size: clamp(1.3rem, min(7vw, 4.4vh), 2.1rem); line-height: 1.1; letter-spacing: -0.02em; color: #fff !important;
}
.egs-mmwrap .egs-mm-nav a b { font-family: 'Inter', sans-serif; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; color: #F5C542; }
.egs-mmwrap .egs-mm-nav a.is-active { color: #F5C542 !important; }
.egs-mmwrap .egs-mm-foot { display: flex; flex-direction: column; gap: 0.6rem; margin-top: clamp(1.2rem, 4vh, 2.2rem); }
.egs-mmwrap .egs-mm-foot a { display: flex; flex: none; align-items: center; justify-content: center; gap: 0.6rem; height: 50px; margin: 0 !important; border-radius: 100px; font-family: 'Manrope', 'Inter', sans-serif; font-weight: 700; font-size: 0.95rem; }
.egs-mmwrap .egs-mm a.egs-mm-quote { background: #F5C542; color: #0A1A33 !important; }
.egs-mmwrap .egs-mm a.egs-mm-tel { border: 1px solid rgba(221, 241, 251, 0.16); background: rgba(255, 255, 255, 0.06); color: #fff !important; }
.egs-mmwrap .egs-mm *, .egs-mmwrap .egs-mm *::before, .egs-mmwrap .egs-mm *::after { box-sizing: border-box; }
.egs-mmwrap .egs-mm a.egs-logo { display: flex !important; align-items: center; padding: 0 !important; margin: 0 !important; color: #DDF1FB !important; }
.egs-mmwrap .egs-mm .egs-logo-text { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; line-height: 1.1; }
.egs-mmwrap .egs-mm img.egs-logo-mark, .egs-mmwrap .egs-mm img.egs-logo-word { display: block !important; width: auto !important; max-width: none !important; margin: 0 !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important; }
.egs-mmwrap .egs-mm .egs-logo-sub { text-transform: uppercase; color: rgba(221, 241, 251, 0.72); white-space: nowrap; }
.egs-mmwrap .egs-mm-nav a b { margin: 0; padding: 0; }
.egs-mmwrap { display: contents; }

/* ---------- Responsive renforcé (1.4.8) : tablette et téléphone ---------- */
/* Tablette : une seule colonne, photo en pleine largeur au-dessus du texte */
@media (max-width: 900px) {
    #eg-services .egs-service-inner { grid-template-columns: 1fr !important; gap: 28px; }
    #eg-services .egs-service:nth-child(even) .egs-visual { order: 0; }
    #eg-services .egs-visual { width: 100%; height: auto !important; aspect-ratio: 16 / 9; max-height: 420px; }
    #eg-services .egs-content { max-width: 680px; }
    #eg-services .egs-hero-inner { text-align: left; }
    #eg-services .egs-video { max-width: 100%; }
}
/* Téléphone */
@media (max-width: 720px) {
    #eg-services .egs-hero h1, #eg-services .egs-hero-title { font-size: clamp(2.1rem, 10.5vw, 2.8rem) !important; line-height: 1.02; }
    #eg-services .egs-service { padding: 44px 0; }
    #eg-services .egs-service-inner { gap: 22px; }
    #eg-services .egs-visual { aspect-ratio: 4 / 3; border-radius: 14px; }
    #eg-services .egs-content h2 { font-size: clamp(1.5rem, 7vw, 1.9rem) !important; line-height: 1.12; word-break: normal; overflow-wrap: break-word; hyphens: auto; }
    #eg-services .egs-content p { font-size: 0.97rem; line-height: 1.65; }
    #eg-services .egs-tags { gap: 0.4rem; margin-top: 1.1rem; }
    #eg-services .egs-tags li { font-size: 0.74rem; padding: 0.4rem 0.7rem; }
    #eg-services .egs-actions { margin-top: 1.4rem; gap: 0.6rem; }
    #eg-services .egs-extra { padding: 28px 0 40px; }
    #eg-services .egs-extra-card { padding: 22px 18px; gap: 16px; }
    #eg-services .egs-extra-card.has-media .egs-extra-media,
    #eg-services .egs-extra + .egs-extra .egs-extra-card.has-media .egs-extra-media { width: 100% !important; height: auto !important; aspect-ratio: 16 / 10; }
    #eg-services .egs-extra h2 { font-size: 1.45rem; }
    #eg-services .egs-final { padding: 48px 0 56px; }
    #eg-services .egs-final-title { font-size: clamp(1.7rem, 8vw, 2.2rem); }
    #eg-services video.egs-video-el { max-height: 52vh; border-radius: 18px; }
}
/* Petits téléphones */
@media (max-width: 380px) {
    #eg-services .egs-wrap { width: calc(100% - 28px); }
    #eg-services .egs-content h2 { font-size: 1.4rem !important; }
    #eg-services .egs-tags li { font-size: 0.7rem; }
}

/* =========================================================================
   Thème clair (1.5.0) : mêmes couleurs que la nouvelle page d'accueil
   (blanc, ciel bleu, bleu EuropaGlass #1C6DD0, texte bleu nuit #0B2545)
   ========================================================================= */
#eg-services {
    --navy: #0B2545; --blue: #1C6DD0; --sky: #4FA3F7; --ice: #0B2545; --accent: #1C6DD0;
    --muted: #4A5D78; --faint: #7A8BA3; --glass: rgba(255, 255, 255, 0.8); --glass-border: rgba(11, 37, 69, 0.1);
    background: #FFFFFF; color: #0B2545;
}
.egs-fullpage-body { background: #FFFFFF; }
#eg-services a:focus-visible { outline-color: #4FA3F7; }

/* Hero : ciel clair */
#eg-services .egs-hero { background: linear-gradient(180deg, #CFE2F5 0%, #E8F1FA 45%, #FFFFFF 100%); }
#eg-services .egs-shine { background: radial-gradient(ellipse at 78% 20%, rgba(255, 214, 170, 0.45), transparent 55%), radial-gradient(ellipse at 15% 0%, rgba(255, 255, 255, 0.8), transparent 50%); }
#eg-services .egs-sparkle { background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.6) 35%, transparent 70%); }
#eg-services a.egs-logo { color: #0B2545 !important; }
#eg-services .egs-logo-sub { color: #4A5D78; }
#eg-services .egs-nav { background: rgba(255, 255, 255, 0.8); border-color: rgba(255, 255, 255, 0.95); box-shadow: 0 8px 28px rgba(11, 37, 69, 0.1); }
#eg-services .egs-nav a { color: #0B2545 !important; font-weight: 600; }
#eg-services .egs-nav a:hover { background: rgba(28, 109, 208, 0.08); color: #0B2545 !important; }
#eg-services .egs-nav a.is-active { background: #0B2545; color: #fff !important; }
#eg-services a.egs-quote-btn { background: #1C6DD0; color: #fff !important; box-shadow: 0 10px 26px rgba(28, 109, 208, 0.35); }
#eg-services a.egs-quote-btn:hover { background: #155CB4; box-shadow: 0 14px 32px rgba(28, 109, 208, 0.42); }
#eg-services .egs-eyebrow { color: #4A5D78; }
#eg-services .egs-title { color: #0B2545; }
#eg-services .egs-outline { -webkit-text-stroke-color: #0B2545; }
#eg-services .egs-badge-icon { background: #fff; border-color: rgba(11, 37, 69, 0.08); color: #1C6DD0; box-shadow: 0 6px 18px rgba(11, 37, 69, 0.08); }
#eg-services .egs-badge-text b { color: #1C6DD0; font-weight: 700; }
#eg-services a.egs-scroll { color: #4A5D78 !important; }
#eg-services a.egs-scroll:hover { color: #0B2545 !important; }
#eg-services .egs-scroll-arrow { background: #fff; border-color: rgba(11, 37, 69, 0.1); color: #1C6DD0; box-shadow: 0 6px 18px rgba(11, 37, 69, 0.1); }
#eg-services a.egs-scroll:hover .egs-scroll-arrow { background: #1C6DD0; color: #fff; }
#eg-services .egs-video-halo { background: radial-gradient(circle, rgba(79, 163, 247, 0.3) 0%, rgba(79, 163, 247, 0.1) 45%, rgba(79, 163, 247, 0) 70%); }
#eg-services video.egs-video-el { background: #DCE8F5; border-color: rgba(255, 255, 255, 0.9); box-shadow: 0 30px 70px rgba(11, 37, 69, 0.25), 0 0 0 6px rgba(255, 255, 255, 0.6); }
#eg-services button.egs-vbtn { background: rgba(255, 255, 255, 0.88) !important; color: #0B2545 !important; border-color: rgba(11, 37, 69, 0.1) !important; box-shadow: 0 8px 20px rgba(11, 37, 69, 0.15); }
#eg-services button.egs-vbtn:hover { background: #fff !important; }
#eg-services button.egs-vbtn:focus-visible { outline-color: #4FA3F7; }
#eg-services .egs-vbtn.is-on { background: #1C6DD0 !important; color: #fff !important; border-color: #1C6DD0 !important; }

/* Services : alternance blanc / bleu ciel très pâle */
#eg-services .egs-service { background: #FFFFFF; }
#eg-services .egs-service:nth-child(even) { background: linear-gradient(180deg, #F2F7FD 0%, #EAF3FC 100%); }
#eg-services .egs-service::after, #eg-services .egs-extra::before { background: linear-gradient(90deg, transparent, rgba(28, 109, 208, 0.18) 50%, transparent); }
@keyframes egsTarget {
    0%, 100% { box-shadow: 0 0 0 0 rgba(28, 109, 208, 0); }
    35% { box-shadow: 0 0 0 6px rgba(28, 109, 208, 0.3), 0 0 60px rgba(28, 109, 208, 0.3); }
}
#eg-services .egs-visual { border-radius: 18px; background: linear-gradient(160deg, #DCEBFA 0%, #B9D3EE 100%); box-shadow: 0 26px 60px rgba(11, 37, 69, 0.18); }
#eg-services .egs-visual::after { background: linear-gradient(to top, rgba(11, 37, 69, 0.28), transparent 45%); }
#eg-services .egs-frame { border-color: rgba(255, 255, 255, 0.85); border-radius: 12px; }
#eg-services .egs-visual:hover .egs-frame { border-color: #fff; }
#eg-services .egs-num { background: #fff; color: #1C6DD0; border-radius: 10px; box-shadow: 0 6px 16px rgba(11, 37, 69, 0.15); }
#eg-services .egs-cat { color: #1C6DD0; }
#eg-services .egs-cat-icon { background: linear-gradient(150deg, #F2F8FE, #DCEBFA); border-color: transparent; color: #1C6DD0; }
#eg-services .egs-content h2 { color: #0B2545; }
#eg-services .egs-content p { color: #4A5D78; }
#eg-services .egs-tags li { background: #fff; border-color: rgba(11, 37, 69, 0.1); color: #0B2545; box-shadow: 0 4px 12px rgba(11, 37, 69, 0.05); }
#eg-services .egs-service:nth-child(odd) .egs-tags li { background: #F3F8FE; box-shadow: none; }

/* Boutons */
#eg-services a.egs-btn { background: #1C6DD0 !important; border-color: #1C6DD0 !important; color: #fff !important; box-shadow: 0 10px 24px rgba(28, 109, 208, 0.3); }
#eg-services a.egs-btn:hover { background: #155CB4 !important; }
#eg-services .egs-plus { background: #fff !important; color: #1C6DD0; }
#eg-services a.egs-btn-ghost { background: #fff !important; border-color: rgba(11, 37, 69, 0.14) !important; color: #0B2545 !important; }
#eg-services a.egs-btn-ghost span:last-child { color: #1C6DD0; }
#eg-services a.egs-btn-ghost:hover { background: #F3F8FE !important; border-color: rgba(28, 109, 208, 0.4) !important; }

/* Fin de page */
#eg-services .egs-final { background: linear-gradient(180deg, #FFFFFF 0%, #E3EEF9 55%, #CFE2F5 100%); }
#eg-services .egs-final p { color: #4A5D78; }

/* Navigation flottante */
#eg-services .egs-floatnav { background: rgba(255, 255, 255, 0.9); border-color: rgba(11, 37, 69, 0.08); box-shadow: 0 18px 40px rgba(11, 37, 69, 0.18); }
#eg-services .egs-floatnav a { color: #4A5D78 !important; }
#eg-services .egs-floatnav a b { color: #1C6DD0; }
#eg-services .egs-floatnav a:hover { background: rgba(28, 109, 208, 0.08); color: #0B2545 !important; }
#eg-services .egs-floatnav a.is-active { background: #0B2545; color: #fff !important; }
#eg-services .egs-floatnav a.is-active b { color: #8FC3FA; }

/* « En plus » */
#eg-services .egs-extra { background: linear-gradient(180deg, #F2F7FD 0%, #FFFFFF 100%); }
#eg-services .egs-extra + .egs-extra { background: #FFFFFF; }
#eg-services .egs-extra-card { background: #fff; border-color: rgba(11, 37, 69, 0.08); border-left-color: #1C6DD0; box-shadow: 0 18px 46px rgba(11, 37, 69, 0.08); }
#eg-services .egs-extra-icon { background: #1C6DD0; color: #fff; box-shadow: 0 0 0 9px rgba(28, 109, 208, 0.12); }
#eg-services .egs-extra-media { background: linear-gradient(160deg, #DCEBFA 0%, #B9D3EE 100%); box-shadow: 0 18px 40px rgba(11, 37, 69, 0.16); }
#eg-services .egs-extra-media .egs-extra-icon { box-shadow: 0 0 0 6px rgba(28, 109, 208, 0.14); }
#eg-services .egs-extra-plus { background: #1C6DD0; color: #fff; }
#eg-services .egs-extra h2 { color: #0B2545; }
#eg-services .egs-extra p { color: #4A5D78; }

/* Illustration (si un service n'a pas de photo) */
#eg-services .egs-art-film { background: linear-gradient(90deg, rgba(79, 163, 247, 0.18), rgba(255, 255, 255, 0.45)); border-right-color: #1C6DD0; }
#eg-services .egs-art-shield { background: #1C6DD0; color: #fff; box-shadow: 0 0 0 10px rgba(28, 109, 208, 0.15), 0 20px 40px rgba(11, 37, 69, 0.2); }

/* Petite tour 3D (si elle est encore utilisée) : liserés bleus au lieu de l'or */
#eg-services .egs-tw-sign { border-color: #4FA3F7; color: #DDF1FB; text-shadow: none; }
#eg-services .egs-tw-roof { border-color: #4FA3F7; box-shadow: none; }
#eg-services .egs-tw-pod { border-top-color: #4FA3F7; }
#eg-services .egs-tw-pod i { background: linear-gradient(180deg, #FFE7C2 0%, #FFFFFF 100%); box-shadow: 0 0 18px rgba(255, 214, 170, 0.8); }
#eg-services .egs-tw-shadow { background: radial-gradient(ellipse, rgba(11, 37, 69, 0.25) 0%, transparent 70%); }

/* Téléphone : bouton ☰ et menu plein écran en clair */
@media (max-width: 820px) {
    #eg-services .egs-burger { border-color: rgba(11, 37, 69, 0.12) !important; background: #fff !important; color: #0B2545; box-shadow: 0 4px 14px rgba(11, 37, 69, 0.08); }
}
.egs-mmwrap .egs-mm { background: rgba(255, 255, 255, 0.97); color: #0B2545; }
.egs-mmwrap .egs-mm label.egs-mm-close { background: #0B2545 !important; color: #fff !important; }
.egs-mmwrap .egs-mm-nav a { color: #0B2545 !important; border-bottom-color: rgba(11, 37, 69, 0.1); }
.egs-mmwrap .egs-mm-nav a b { color: #1C6DD0; }
.egs-mmwrap .egs-mm-nav a.is-active { color: #1C6DD0 !important; }
.egs-mmwrap .egs-mm a.egs-mm-quote { background: #1C6DD0; color: #fff !important; }
.egs-mmwrap .egs-mm a.egs-mm-tel { border-color: rgba(11, 37, 69, 0.14); background: #fff; color: #0B2545 !important; }
.egs-mmwrap .egs-mm a.egs-logo { color: #0B2545 !important; }
.egs-mmwrap .egs-mm .egs-logo-sub { color: #4A5D78; }

/* =========================================================================
   1.5.1 — Cartes « En plus » : placement fixe (zones nommées), plus de chevauchement
   Photo d'un côté ; titre, texte et étiquettes de l'autre ; bouton sous le texte.
   ========================================================================= */
#eg-services .egs-extra-card.has-media,
#eg-services .egs-extra + .egs-extra .egs-extra-card.has-media {
    grid-template-columns: 260px minmax(0, 1fr) !important;
    grid-template-rows: auto auto;
    grid-template-areas: "media body" "media btn";
    column-gap: 40px; row-gap: 18px; align-items: center;
}
#eg-services .egs-extra.is-alt .egs-extra-card.has-media {
    grid-template-columns: minmax(0, 1fr) 260px !important;
    grid-template-areas: "body media" "btn media";
}
#eg-services .egs-extra-card.has-media .egs-extra-media,
#eg-services .egs-extra + .egs-extra .egs-extra-card.has-media .egs-extra-media { grid-area: media !important; order: 0 !important; width: 260px; height: 200px; align-self: center; }
#eg-services .egs-extra-card.has-media .egs-extra-body,
#eg-services .egs-extra + .egs-extra .egs-extra-card.has-media .egs-extra-body { grid-area: body !important; order: 0 !important; min-width: 0; align-self: end; }
#eg-services .egs-extra-card.has-media > .egs-btn,
#eg-services .egs-extra + .egs-extra .egs-extra-card.has-media > .egs-btn { grid-area: btn !important; order: 0 !important; justify-self: start !important; align-self: start; }
#eg-services .egs-extra .egs-extra-media .egs-extra-icon { right: -14px; left: auto; }
#eg-services .egs-extra.is-alt .egs-extra-media .egs-extra-icon { right: auto; left: -14px; }
@media (max-width: 960px) {
    #eg-services .egs-extra-card.has-media,
    #eg-services .egs-extra + .egs-extra .egs-extra-card.has-media { grid-template-columns: 210px minmax(0, 1fr) !important; column-gap: 28px; }
    #eg-services .egs-extra.is-alt .egs-extra-card.has-media { grid-template-columns: minmax(0, 1fr) 210px !important; }
    #eg-services .egs-extra-card.has-media .egs-extra-media,
    #eg-services .egs-extra + .egs-extra .egs-extra-card.has-media .egs-extra-media { width: 210px; height: 170px; }
}
@media (max-width: 720px) {
    #eg-services .egs-extra-card.has-media,
    #eg-services .egs-extra + .egs-extra .egs-extra-card.has-media,
    #eg-services .egs-extra.is-alt .egs-extra-card.has-media {
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-areas: "media" "body" "btn";
        row-gap: 18px;
    }
    #eg-services .egs-extra-card.has-media .egs-extra-media,
    #eg-services .egs-extra + .egs-extra .egs-extra-card.has-media .egs-extra-media { width: 100% !important; height: auto !important; aspect-ratio: 16 / 10; }
    #eg-services .egs-extra.is-alt .egs-extra-media .egs-extra-icon { left: auto; right: -10px; }
    #eg-services .egs-extra .egs-extra-media .egs-extra-icon { right: -10px; bottom: -10px; }
    #eg-services .egs-extra .egs-extra-card.has-media > .egs-btn { justify-self: stretch !important; justify-content: space-between !important; }
}
