
/* =========================================================
   HOME
========================================================= */

.home-page {
    position: relative;
    z-index: 1;
    overflow: hidden;
    isolation: isolate;
}

.page-bg-video-wrap {
    position: fixed;
    inset: 0;
    z-index: -10;
    overflow: hidden;
    background: #111;
    pointer-events: none;
}

.page-bg-video-wrap .page-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    filter: saturate(.82) contrast(1.05);
    transform: scale(1.02);
    transition: opacity 1300ms ease-in-out;
    will-change: opacity;
}

.page-bg-video-wrap .page-bg-video.is-active {
    opacity: 1;
}

.home-intro-sequence .home-hero-content,
.home-intro-sequence .home-stats {
    opacity: 0;
    filter: blur(10px);
    transform: scale(.94);
    transform-origin: center center;
    pointer-events: none;
    transition: opacity 1100ms cubic-bezier(.16, 1, .3, 1);
    will-change: opacity;
}

.home-intro-sequence .home-hero-content {
    animation: none;
}

.home-intro-sequence .home-stats {
    transform: translateY(42px);
}

.home-intro-sequence.is-home-revealed .home-hero-content,
.home-intro-sequence.is-home-revealed .home-stats {
    opacity: 1;
    filter: blur(0);
    pointer-events: auto;
}

.home-intro-sequence.is-home-revealed .home-hero-content {
    transform: scale(1);
}

.home-intro-sequence.is-home-revealed .home-stats {
    transform: translateY(0);
}

/* =========================================================
   HERO
========================================================= */

.hero-home {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: grid;
    grid-template-rows: 1fr auto;
    align-items: center;
    overflow: hidden;
    padding-top: 110px;
    padding-bottom: 0;
    color: var(--white);
    isolation: isolate;
}

.hero-video {
    display: none;
}

.hero-home::before {
    display: none;
}

.hero-home::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    background:
        linear-gradient(105deg, rgba(0, 0, 0, .52), rgba(0, 0, 0, .24) 42%, rgba(0, 0, 0, .10)),
        linear-gradient(180deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .04) 45%, rgba(0, 0, 0, .32));
    backdrop-filter: blur(0px);
}

.home-hero-content {
    width: 100%;
    margin: 0 auto;
    align-self: center;
    animation: riseIn .8s ease both;
}

.home-hero-content h1 {
    max-width: 100vw;
    margin: 0 auto 50px;
    color: var(--white);
    font-size: clamp(46px, 6.8vw, 75px);
    font-weight: 900;
    line-height: 1.02;
    text-align: center;
    text-shadow: 0 6px 22px rgba(0, 0, 0, .58);
}

.home-hero-lead {
    display: none;
    max-width: 680px;
    margin: -28px auto 38px;
    color: rgba(255, 255, 255, .86);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.55;
    text-align: center;
    text-shadow: 0 3px 14px rgba(0, 0, 0, .46);
}

.home-hero-bottom {
    position: relative;
    display: grid;
    gap: clamp(24px, 8vw, 130px);
    align-items:center;
    justify-items:center;
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: 0;
}

.home-hero-copy {
    width: min(600px, 100%);
    min-width: 0;
    padding: 22px 24px;
    background: rgba(10, 11, 12, .24);
    border-radius: var(--radius);
    box-shadow: 0 18px 48px rgba(0, 0, 0, .18);
}

.home-hero-copy p:last-child {
    margin: 0;
    color: rgba(255, 255, 255, .86);
    font-size: 20px;
}

.home-hero-content .eyebrow {
    color: var(--white);
}

.home-hero-contact {
    display: flex;
    align-items: center;
    gap: 18px;
    justify-content: flex-end;
}

.home-hero-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 4px;
    color: var(--white);
    font-size: 15px;
    font-weight: 900;
    text-decoration: none;
    text-shadow: 0 3px 12px rgba(0, 0, 0, .45);
}

.home-hero-link::after {
    margin-left: 9px;
    content: "\f061";
    font-family: "Font Awesome 5 Free";
    font-size: 12px;
    font-weight: 900;
    transition: transform .2s ease;
}

.home-hero-link:hover::after {
    transform: translateX(4px);
}

.hero-contact-card {
    display: inline-grid;
    gap: 8px;
    min-width: 230px;
    padding: 17px 20px;
    color: var(--white);
    background: linear-gradient(135deg, rgba(17, 18, 20, .76), rgba(17, 18, 20, .46));
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: var(--radius);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .28);
}

.hero-home h1,
.hero-home p,
.hero-home .hero-subtitle,
.hero-home .hero-text {
    text-shadow: 0 3px 14px rgba(0, 0, 0, .45);
}

.contact-label {
    color: var(--yellow);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.contact-hours {
    color: rgba(255, 255, 255, .76);
    font-size: 14px;
}

.contact-hours b {
    margin-left: 8px;
    color: var(--white);
}

.contact-phone {
    color: var(--white);
    font-size: 18px;
    font-weight: 900;
    line-height: 1.1;
}

/* =========================================================
   STATS
========================================================= */

.stats-band {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: none;
    min-height: clamp(118px, 14vh, 145px);
    margin: 0;
    align-self: end;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(246, 184, 15, .32), rgba(229, 158, 0, .44)),
        rgba(246, 184, 15, .68);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .14);
    backdrop-filter: blur(1px);
}

.stats-band div {
    position: relative;
    overflow: hidden;
    display: grid;
    align-content: center;
    padding: 20px 22px 22px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    text-align: center;
    backdrop-filter: none;
    transition: background .25s ease;
}

.stats-band div:hover {
    transform: none;
}

.stats-band div::before,
.stats-band div::after {
    display: none;
}

.stats-band strong {
    position: relative;
    display: block;
    color: var(--white);
    font-size: clamp(32px, 3.4vw, 48px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: .04em;
    text-shadow: 0 4px 14px rgba(0, 0, 0, .48);
}

.stats-band strong::after {
    display: none;
}

.stats-band span {
    position: relative;
    display: block;
    margin-top: 7px;
    color: rgba(255, 255, 255, .9);
    font-size: clamp(14px, 1.25vw, 17px);
    font-weight: 600;
    text-shadow: 0 2px 9px rgba(0, 0, 0, .42);
}

/* =========================================================
   SECTIONS GLOBALES
========================================================= */

main {
    overflow: hidden;
}

.dark-section,
.presence-section,
.expertise-strip,
.clients-section {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding-left: clamp(28px, 7vw, 120px);
    padding-right: clamp(28px, 7vw, 120px);
}

.dark-section.reveal,
.expertise-strip.reveal,
.clients-section.reveal,
.presence-section.reveal,
.stats-band.reveal {
    opacity: 1 !important;
    transform: none !important;
}

/* =========================================================
   HISTORIQUE / ADN
========================================================= */

.dark-section {
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(280px, .58fr) minmax(0, 1.42fr);
    grid-template-areas:
        "heading panel"
        "cta panel";
    column-gap: clamp(34px, 5vw, 82px);
    row-gap: 22px;
    min-height: 390px;
    align-items: center;
    margin-top: 0;
    padding-top: clamp(72px, 8vw, 120px);
    padding-bottom: clamp(72px, 8vw, 120px);
    color: var(--white);
    /* background:
        radial-gradient(circle at 82% 12%, rgba(246, 184, 15, .24), transparent 28%),
        linear-gradient(135deg, rgba(255, 255, 255, .07) 0 1px, transparent 1px) 0 0 / 32px 32px,
        linear-gradient(135deg, #17191b, #303538); */
    background: #161719;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

/* .dark-section::before {
    position: absolute;
    top: -120px;
    right: -100px;
    width: 330px;
    height: 330px;
    content: "";
    background: radial-gradient(circle, rgba(246, 184, 15, .2), transparent 66%);
} */

.dark-section p {
    color: rgba(255, 255, 255, .8);
    line-height: 1.75;
}

.dark-section-heading {
    grid-area: heading;
    align-self: end;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.dark-section h2 {
    margin-bottom: 0;
    font-size: clamp(32px, 3vw, 52px);
    white-space: nowrap;
}

.history-panel {
    grid-area: panel;
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    overflow: hidden;
    padding: clamp(22px, 2.6vw, 34px);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .045)),
        rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 24px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .20);
}

.history-panel::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    content: "";
    background: linear-gradient(90deg, transparent, rgba(246, 184, 15, .90), transparent);
}

.history-panel p {
    position: relative;
    margin: 0;
    padding: 8px clamp(20px, 2.4vw, 34px);
    color: rgba(255, 255, 255, .86);
    font-size: clamp(15px, 1vw, 17px);
    line-height: 1.78;
    text-align: justify;
    text-align-last: left;
}

.history-panel p + p {
    border-left: 1px solid rgba(255, 255, 255, .12);
}

/* .history-panel p::before {
    display: block;
    margin-bottom: 12px;
    color: var(--yellow);
    content: "01";
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .12em;
} */

/* .history-panel p:nth-child(2)::before {
    content: "02";
} */

.history-panel strong {
    color: var(--white);
}

.dark-section > .section-btn {
    grid-area: cta;
    justify-self: center;
    align-self: start;
    margin-top: 0;
}

.section-btn {
    background: linear-gradient(135deg, rgba(246, 184, 15, .90), rgba(223, 151, 0, .78));
    border-color: rgba(255, 255, 255, .28);
    box-shadow: 0 22px 52px rgba(0, 0, 0, .26), 0 10px 30px rgba(246, 184, 15, .22), inset 0 1px 0 rgba(255, 255, 255, .38);
    color: white!important;
    margin-top: 18px;
}

/* =========================================================
   EXPERTISES
========================================================= */

.expertise-strip {
    padding-top: clamp(76px, 8vw, 124px);
    padding-bottom: clamp(76px, 8vw, 124px);
    background: linear-gradient(90deg, rgba(20, 22, 24, .035) 1px, transparent 1px) 0 0 / 56px 56px, linear-gradient(180deg, #ffffff, #f2f4f5);
    text-align: center;
}

.expertise-strip h2 {
    position: relative;
    display: inline-block;
    font-size: clamp(34px, 4vw, 56px);
}

.expertise-strip h2::after {
    position: absolute;
    right: 25%;
    bottom: -12px;
    left: 25%;
    height: 4px;
    content: "";
    background: var(--yellow);
    border-radius: 999px;
}

.expertise-intro {
    max-width: 880px;
    margin: 24px auto 0;
    color: var(--muted);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.7;
    text-align: center;
}

.expertise-strip .section-btn {
    color: var(--black);
    background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
    border-color: rgba(223, 151, 0, .65);
    box-shadow: 0 18px 42px rgba(223, 151, 0, .30), inset 0 1px 0 rgba(255, 255, 255, .42);
}

.expertise-strip .section-btn:hover {
    background: linear-gradient(135deg, #ffc933, var(--yellow));
    box-shadow: 0 22px 52px rgba(223, 151, 0, .36), inset 0 1px 0 rgba(255, 255, 255, .46);
}

/* MOSAÏQUE EXPERTISES */

.expertise-mosaic {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    width: 100%;
    max-width: 1480px;
    margin: 56px auto 36px;
}

.expertise-mosaic article {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--soft);
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(15, 18, 20, .12);
    transition: transform .25s ease, box-shadow .25s ease;
}

.expertise-mosaic article::before {
    position: absolute;
    inset: 0;
    z-index: 1;
    content: "";
    background: linear-gradient(180deg, rgba(0, 0, 0, .02), rgba(0, 0, 0, .16));
    pointer-events: none;
}

.expertise-mosaic article:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.expertise-mosaic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.expertise-mosaic article:hover img {
    transform: scale(1.05);
}

.expertise-lightbox-trigger {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    padding: 0;
    overflow: hidden;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.expertise-lightbox-trigger::after {
    position: absolute;
    inset: 0;
    z-index: 3;
    content: "";
    background: rgba(0, 0, 0, .22);
    opacity: 0;
    transition: opacity .2s ease;
}

.expertise-lightbox-trigger > i {
    position: absolute;
    inset: 50% auto auto 50%;
    z-index: 4;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    color: var(--black);
    background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
    border-radius: 50%;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .32);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(.82);
    transition:
        opacity .2s ease,
        transform .2s ease;
}

.expertise-lightbox-trigger:hover::after,
.expertise-lightbox-trigger:focus-visible::after {
    opacity: 1;
}

.expertise-lightbox-trigger:hover > i,
.expertise-lightbox-trigger:focus-visible > i {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

body.lightbox-open {
    overflow: hidden;
}

.project-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: grid;
    place-items: center;
    justify-content: center;
    padding: clamp(20px, 4vw, 70px);
    background: rgba(8, 9, 10, .92);
    backdrop-filter: blur(14px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity .25s ease,
        visibility .25s ease;
}

.project-lightbox.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.project-lightbox-content {
    position: relative;
    width: auto;
    height: 80vh;
}

.project-lightbox-content img {
    max-width: 100%;
    max-height: 100%;
    display: block;
    object-fit: contain;
    border-radius: 22px;
    box-shadow: 0 32px 110px rgba(0, 0, 0, .55);
    transform: scale(.96);
    opacity: 0;
    transition:
        transform .25s ease,
        opacity .25s ease;
}

.project-lightbox.is-open .project-lightbox-content img {
    transform: scale(1);
    opacity: 1;
}

.project-lightbox-close,
.project-lightbox-arrow {
    position: absolute;
    z-index: 10;
    display: grid;
    place-items: center;
    color: var(--white);
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    cursor: pointer;
    backdrop-filter: blur(12px);
    transition:
        background .2s ease,
        transform .2s ease,
        color .2s ease;
}

.project-lightbox-close:hover,
.project-lightbox-arrow:hover {
    color: var(--black);
    background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
    transform: scale(1.06);
}

.project-lightbox-close {
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    font-size: 19px;
}

.project-lightbox-arrow {
    top: 50%;
    width: 58px;
    height: 58px;
    font-size: 24px;
    transform: translateY(-50%);
}

.project-lightbox-arrow:hover {
    transform: translateY(-50%) scale(1.06);
}

.project-lightbox-prev {
    left: 26px;
}

.project-lightbox-next {
    right: 26px;
}

/* =========================================================
   CLIENTS
========================================================= */

.clients-section {
    overflow: hidden;
    margin-top: 0;
    padding-top: clamp(76px, 8vw, 120px);
    padding-bottom: clamp(76px, 8vw, 120px);
    color: var(--white);
    background:
        linear-gradient(135deg, rgba(246, 184, 15, .14), transparent 46%),
        linear-gradient(180deg, rgba(12, 13, 15, .72), rgba(12, 13, 15, .84));
    border: 0;
    border-radius: 0;
    box-shadow: none;
}
/* 
.clients-section::before {
    position: absolute;
    top: -130px;
    right: -120px;
    width: 320px;
    height: 320px;
    content: "";
    background: radial-gradient(circle, rgba(246, 184, 15, .22), transparent 66%);
} */

.clients-heading {
    position: relative;
    max-width: 850px;
    margin: 0 auto 38px;
    text-align: center;
}

.clients-heading h2 {
    color: var(--white);
    font-size: clamp(34px, 4vw, 56px);
}

.clients-heading .eyebrow {
    color: var(--yellow);
}

.clients-heading p:last-child {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, .76);
    text-wrap : nowrap;
}

.clients-heading-line {
    white-space: nowrap;
}

.clients-group {
    position: relative;
    max-width: 1480px;
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;
}

.clients-group h3 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    color: var(--white);
    font-size: 16px;
    font-weight: 900;
    text-transform: uppercase;
}

.clients-group h3::before {
    width: 34px;
    height: 2px;
    content: "";
    background: var(--yellow);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.clients-grid-large {
    grid-template-columns: repeat(5, 1fr);
}

.clients-grid article {
    min-height: 150px;
    cursor: pointer;
    display: grid;
    place-items: center;
    padding: 22px;
    background: rgba(255, 255, 255, .86);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 22px;
    box-shadow: 0 12px 30px rgba(15, 18, 20, .14);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.clients-grid article:hover {
    transform: translateY(-5px);
    border-color: rgba(246, 184, 15, .45);
    box-shadow: 0 20px 44px rgba(15, 18, 20, .18);
}

.clients-grid img {
    max-width: 160px;
    max-height: 80px;
    object-fit: contain;
    opacity: .92;

    transition:
        opacity .22s ease,
        transform .22s ease;
}

.clients-grid article:hover img {
    opacity: 1;
    transform: scale(1.03);
}

/* =========================================================
   PRESENCE / LEAFLET AGENCES
========================================================= */

.presence-section {
    --presence-map-height: clamp(680px, calc(100vh - 90px), 900px);
    --presence-map-height: clamp(680px, calc(100svh - 90px), 900px);
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    height: auto;
    min-height: var(--presence-map-height);
    max-height: none;
    padding: 0;
    background: linear-gradient(90deg, rgba(20, 22, 24, .035) 1px, transparent 1px) 0 0 / 56px 56px, linear-gradient(180deg, #ffffff, #f2f4f5);
}

.presence-content {
    position: relative;
    z-index: 2;
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(76px, 8vw, 120px) clamp(34px, 6vw, 110px);
}

.presence-section h2 {
    margin-bottom: 28px;
    font-size: clamp(34px, 4vw, 56px);
}

.presence-content > p:last-child {
    margin-top: 26px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.75;
}

.agency-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.agency-list li {
    margin: 0;
    padding: 0;
}

.agency-list li::before {
    display: none;
}

.agency-link {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
    color: var(--ink);
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(20, 20, 20, .08);
    border-radius: 18px;
    box-shadow: 0 14px 36px rgba(15, 18, 20, .08);
    cursor: pointer;
    font: inherit;
    font-weight: 900;
    text-align: left;
    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease,
        background .22s ease;
}

.agency-link::before {
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    content: "";
    background: var(--yellow);
    border-radius: 50%;
    box-shadow: 0 0 0 7px rgba(246, 184, 15, .16);
}

.agency-link::after {
    content: "\f061";
    font-family: "Font Awesome 5 Free";
    display: grid;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    place-items: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
    border-radius: 50%;
    font-size: 16px;
    font-weight: 900;
    transition: transform .22s ease;
}

.agency-link:hover,
.agency-link.is-active {
    background: var(--white);
    border-color: rgba(246, 184, 15, .55);
    box-shadow: 0 22px 52px rgba(15, 18, 20, .14);
    transform: translateX(6px);
}

.agency-link:hover::after,
.agency-link.is-active::after {
    /* transform: translateX(4px); */
}

.presence-map-wrap {
    position: relative;
    width: 100%;
    height: auto;
    min-height: var(--presence-map-height);
    align-self: stretch;
    overflow: hidden;
    background: #dfe4e7;
    border-radius: 0;
    box-shadow: none;
}

.presence-map-wrap::before {
    display: none;
}

.tpgeo-map {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    background: #dfe4e7;
}

.tpgeo-map .leaflet-control-attribution {
    font-size: 10px;
}

.tpgeo-map .leaflet-control-zoom {
    overflow: hidden;
    border: 0;
    border-radius: 14px;
    box-shadow: 0 14px 34px rgba(15, 18, 20, .16);
}

.tpgeo-map .leaflet-control-zoom a {
    width: 38px;
    height: 38px;
    color: var(--ink);
    border: 0;
    font-size: 20px;
    line-height: 38px;
}

.tpgeo-marker {
    position: relative;
    display: block;
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
    border: 4px solid #ffffff;
    border-radius: 50% 50% 50% 0;
    box-shadow:
        0 12px 28px rgba(0, 0, 0, .28),
        0 0 0 8px rgba(246, 184, 15, .18);
    transform: rotate(-45deg);
}

.tpgeo-marker::before {
    position: absolute;
    inset: 7px;
    content: "";
    background: #ffffff;
    border-radius: 50%;
}

.tpgeo-marker::after {
    position: absolute;
    inset: -18px;
    content: "";
    border: 1px solid rgba(246, 184, 15, .45);
    border-radius: 50%;
    animation: markerPulse 1.8s ease-out infinite;
    transform: rotate(45deg);
}

.tpgeo-marker-icon {
    background: transparent;
    border: 0;
}

.leaflet-popup-content-wrapper {
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 22px 60px rgba(15, 18, 20, .22);
}

.leaflet-popup-content {
    min-width: 220px;
    margin: 0;
}

.agency-popup {
    padding: 18px 18px 16px;
}

.agency-popup strong {
    display: block;
    margin-bottom: 4px;
    color: var(--ink);
    font-size: 17px;
    font-weight: 900;
}

.agency-popup span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.leaflet-popup-tip {
    box-shadow: none;
}

@keyframes markerPulse {
    from {
        opacity: .7;
        transform: scale(.72);
    }

    to {
        opacity: 0;
        transform: scale(1.45);
    }
}

/* =========================================================
   FOOTER AU-DESSUS DE LA VIDEO FIXE
========================================================= */

.site-footer {
    position: relative;
    z-index: 5;
    background:
        linear-gradient(135deg, rgba(246, 184, 15, .10), transparent 40%),
        #161719;
    isolation: isolate;
}

.site-footer::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    background: #161719;
}

/* =========================================================
   RESPONSIVE TABLETTES / MOBILES
========================================================= */

@media (max-width: 1200px) {
    .home-hero-content {
        width: min(960px, calc(100% - 48px));
    }

    .home-hero-content h1 {
        margin-bottom: 40px;
        font-size: clamp(42px, 5.5vw, 62px);
    }

    .stats-band {
        min-height: clamp(108px, 13vh, 132px);
    }

    .stats-band div {
        padding-top: 18px;
        padding-bottom: 20px;
    }

    .home-hero-copy {
        min-width: 0;
        width: min(620px, 100%);
    }

    .clients-heading p:last-child {
        text-wrap : wrap;
    }


    .expertise-mosaic {
        grid-template-columns: repeat(4, 1fr);
    }

    .presence-section {
        --presence-map-height: clamp(620px, calc(100vh - 90px), 780px);
        --presence-map-height: clamp(620px, calc(100svh - 90px), 780px);
        grid-template-columns: minmax(300px, .9fr) minmax(480px, 1.1fr);
        gap: 38px;
        background: #ffffff;
    }
}

@media (max-width: 900px) {
    .page-bg-video {
        transform: scale(1.08);
        filter: saturate(.78) contrast(1.05);
    }

    .hero-home {
        min-height: 100svh;
        /* padding: 96px 22px 0; */
        grid-template-rows: 1fr auto;
    }


    .home-hero-content {
        width: 100%;
        align-self: center;
        padding: 0;
    }

    .home-hero-content h1 {
        max-width: 760px;
        margin: 0 auto 28px;
        font-size: clamp(38px, 8vw, 58px);
        line-height: 1.03;
        text-align: center;
    }

    .home-hero-lead {
        display: block;
    }

    .home-hero-bottom {
        width: min(680px, 100%);
        display: grid;
        grid-template-columns: 1fr;
        gap: 22px;
        justify-items: center;
    }

    .home-hero-copy {
        width: 100%;
        min-width: 0;
        padding: 20px 22px;
        background: rgba(10, 11, 12, .34);
        backdrop-filter: blur(12px);
    }

    .home-hero-copy p:last-child {
        font-size: 18px;
        line-height: 1.55;
    }

    .home-hero-contact {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .home-hero-contact .btn {
        min-width: 220px;
    }

    .stats-band {
        min-height: 130px;
        grid-template-columns: repeat(2, 1fr);
        gap: 1px;
        padding: 1px;
        background:
            linear-gradient(90deg, rgba(246, 184, 15, .22), rgba(229, 158, 0, .34)),
            rgba(246, 184, 15, .58);
    }

    .stats-band div {
        display: grid;
        align-content: center;
        padding: 22px 10px;
        background: rgba(255, 255, 255, .08);
        border: 1px solid rgba(255, 255, 255, .13);
    }

    .stats-band strong {
        font-size: clamp(30px, 7vw, 44px);
    }

    .stats-band span {
        margin-top: 6px;
        font-size: 14px;
        line-height: 1.2;
    }

    .dark-section,
    .expertise-strip,
    .clients-section,
    .presence-section {
        padding-left: 22px;
        padding-right: 22px;
    }

    .dark-section {
        min-height: auto;
        grid-template-columns: 1fr;
        grid-template-areas:
            "heading"
            "panel"
            "cta";
        gap: 22px;
        padding-top: 70px;
        padding-bottom: 70px;
        text-align: left;
    }

    .dark-section h2 {
        white-space: normal;
    }

    .dark-section-heading {
        align-items: flex-start;
        text-align: left;
    }

    .dark-section > .section-btn {
        justify-self: center;
        margin-top: 2px;
    }

    .history-panel {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .history-panel p {
        padding: 0;
    }

    .history-panel p + p {
        margin-top: 22px;
        padding-top: 22px;
        border-top: 1px solid rgba(255, 255, 255, .12);
        border-left: 0;
    }

    .expertise-strip {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .expertise-strip h2,
    .clients-heading h2,
    .presence-section h2 {
        font-size: clamp(32px, 7vw, 46px);
    }

    .expertise-mosaic {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        margin: 42px auto 30px;
    }

    .expertise-mosaic article {
        border-radius: 16px;
    }

    .clients-section {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .clients-grid,
    .clients-grid-large {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .clients-grid article {
        min-height: 130px;
        padding: 20px;
    }

    .presence-section {
        --presence-map-height: clamp(420px, 58vh, 560px);
        --presence-map-height: clamp(420px, 58svh, 560px);
        grid-template-columns: 1fr;
        gap: 0;
        height: auto;
        min-height: auto;
        max-height: none;
        padding: 0;
        background: #ffffff;
    }

    .presence-content {
        max-width: 100%;
        padding: 70px 22px;
    }

    .presence-map-wrap {
        height: var(--presence-map-height);
        min-height: var(--presence-map-height);
    }
}

@media (max-width: 640px) {
    .hero-home {
        min-height: 100dvh;
        /* padding: 82px 18px 0; */
    }

    .home-hero-content {
        align-self: center;
        padding: 82px 18px 0;

    }

    .home-hero-content h1 {
        margin-bottom: 16px;
        font-size: clamp(32px, 10vw, 44px);
        line-height: 1.04;
        text-align: left;
    }

    .home-hero-lead {
        margin: 0 0 24px;
        font-size: 15px;
        line-height: 1.55;
        text-align: left;
    }

    .home-hero-bottom {
        justify-items: stretch;
        gap: 18px;
    }

    .home-hero-copy {
        padding: 18px;
        border-radius: 14px;
        background: rgba(10, 11, 12, .40);
    }

    .home-hero-copy .eyebrow {
        font-size: 11px;
        line-height: 1.25;
    }

    .home-hero-copy p:last-child {
        font-size: 16px;
    }

    .home-hero-contact {
        display: grid;
        justify-content: stretch;
        gap: 10px;
    }

    .home-hero-contact .btn,
    .hero-contact-card {
        width: 100%;
        min-width: 0;
    }

    .home-hero-link {
        width: 100%;
        min-height: 44px;
        padding: 0 16px;
        background: rgba(255, 255, 255, .11);
        border: 1px solid rgba(255, 255, 255, .16);
        border-radius: 999px;
    }

    .stats-band {
        min-height: auto;
        grid-template-columns: repeat(2, 1fr);
        padding: 10px;
        gap: 10px;
        /* background: rgba(246, 184, 15, .54); */
        background: linear-gradient(135deg, rgba(246, 184, 15, .90), rgba(223, 151, 0, .78));
    }

    .stats-band div {
        min-height: 104px;
        padding: 18px 10px 20px;
        border-radius: 16px;
        background:
            linear-gradient(145deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .05)),
            rgba(181, 122, 0, .16);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16);
    }

    .stats-band strong {
        font-size: clamp(27px, 9vw, 38px);
        letter-spacing: .02em;
    }

    .stats-band span {
        max-width: 110px;
        margin: 6px auto 0;
        font-size: 12px;
        line-height: 1.15;
    }

    .dark-section,
    .expertise-strip,
    .clients-section,
    .presence-section {
        padding-left: 18px;
        padding-right: 18px;
    }

    .dark-section,
    .expertise-strip,
    .clients-section,
    .presence-section {
        padding-top: 52px;
        padding-bottom: 52px;
    }

    .presence-section {
        --presence-map-height: clamp(340px, 52vh, 440px);
        --presence-map-height: clamp(340px, 52svh, 440px);
        padding: 0;
    }

    .presence-content {
        padding: 52px 18px;
    }

    .dark-section {
        gap: 16px;
    }

    .dark-section h2,
    .expertise-strip h2,
    .clients-heading h2,
    .presence-section h2 {
        line-height: 1.05;
    }

    .history-panel {
        padding: 20px;
        border-radius: 18px;
    }

    .history-panel p {
        font-size: 15px;
        line-height: 1.65;
    }

    .expertise-mosaic {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-top: 30px;
        margin-bottom: 26px;
    }

    .expertise-mosaic article {
        border-radius: 14px;
    }

    .project-lightbox {
        padding: 16px;
    }

    .project-lightbox-content {
        width: 100%;
        height: 78vh;
    }

    .project-lightbox-content img {
        border-radius: 16px;
    }

    .project-lightbox-close {
        top: 14px;
        right: 14px;
        width: 42px;
        height: 42px;
    }

    .project-lightbox-arrow {
        width: 44px;
        height: 44px;
        font-size: 18px;
        background: rgba(0, 0, 0, .42);
    }

    .project-lightbox-prev {
        left: 12px;
    }

    .project-lightbox-next {
        right: 12px;
    }

    .expertise-lightbox-trigger > i {
        width: 40px;
        height: 40px;
    }

    .clients-heading {
        margin-bottom: 30px;
    }

    .clients-heading-line {
        white-space: normal;
    }

    .clients-grid,
    .clients-grid-large {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .clients-grid article {
        min-height: 100px;
        padding: 16px;
        border-radius: 16px;
    }

    .clients-grid img {
        max-width: 150px;
        max-height: 58px;
    }

    .presence-section h2 {
        font-size: clamp(30px, 9vw, 42px);
    }

    .presence-content > p:last-child {
        font-size: 16px;
        line-height: 1.65;
    }

    .agency-link {
        padding: 16px;
        border-radius: 16px;
    }

    .presence-map-wrap {
        height: var(--presence-map-height);
        min-height: var(--presence-map-height);
        border-radius: 0;
    }

    .presence-map-wrap::before {
        inset: 12px;
        border-radius: 16px;
    }

}

@media (max-width: 420px) {
    .hero-home {
        /* padding-left: 14px;
        padding-right: 14px; */
    }

    .home-hero-content h1 {
        font-size: clamp(30px, 10.2vw, 36px);
    }

    .home-hero-copy {
        padding: 16px;
    }

    .stats-band {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-band div {
        min-height: 96px;
        padding: 16px 10px;
    }

    .stats-band span {
        max-width: none;
        font-size: 13px;
    }

    .expertise-mosaic {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .expertise-mosaic article:nth-child(n+9) {
        display: none;
    }

    .agency-link {
        gap: 12px;
        padding: 15px;
    }

    .agency-link::after {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
    }

    .presence-map-wrap {
        height: var(--presence-map-height);
        min-height: var(--presence-map-height);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
