:root {
    --navy: #173061;
    --cyan: #09a4bf;
    --blue: #087b9f;
    --ink: #292c30;
    --menu-navy: #112855;
    --menu-navy-dark: #091a3a;
    --menu-orange: #f28c18;
    --menu-orange-dark: #d86f00;
    --menu-surface: #fff;
    --menu-line: #e4e8ee
}

/* ========================================================================== 
   REFONTE MOBILE FX 2026
   ========================================================================== */

:root {
    --brand: #112855;
    --brand-deep: #07152f;
    --brand-soft: #eaf0fb;
    --accent: #f28c18;
    --accent-deep: #d86f00;
    --paper: #ffffff;
    --canvas: #f3f6fb;
    --text: #172033;
    --muted-modern: #667085;
    --line-modern: #dde4ee;
    --shadow-soft: 0 18px 60px rgba(17, 40, 85, .1);
    --shadow-card: 0 12px 35px rgba(17, 40, 85, .08);
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--canvas);
    color: var(--text);
    font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.65;
}

body::selection {
    color: #fff;
    background: var(--brand);
}

.site-shell {
    min-height: 100vh;
    overflow: visible;
}

.top {
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 12px 36px rgba(7, 21, 47, .2);
}

/* Accueil immersif --------------------------------------------------------- */
.home-hero {
    position: relative;
    min-height: calc(100svh - 76px);
    isolation: isolate;
    overflow: hidden;
    background: var(--brand-deep);
}

.home-slider.slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: 0;
    border-radius: 0;
    background:
        radial-gradient(circle at 72% 38%, rgba(44, 83, 150, .62), transparent 42%),
        var(--brand-deep);
}

.home-slider::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(4, 13, 31, .87) 0%, rgba(7, 21, 47, .5) 46%, rgba(7, 21, 47, .08) 78%),
        linear-gradient(0deg, rgba(4, 13, 31, .68), transparent 42%);
    pointer-events: none;
}

.home-slider .slide {
    background: var(--brand-deep);
}

.home-slider .slide>img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: 72% center;
}

.home-slider .slide--0>img {
    object-fit: cover;
    object-position: center;
}

.hero-branding {
    position: absolute;
    z-index: 4;
    top: 50%;
    left: max(6vw, calc((100vw - 1320px) / 2));
    width: min(680px, 58vw);
    color: #fff;
    transform: translateY(-52%);
}

.eyebrow,
.section-kicker {
    margin: 0 0 14px;
    color: var(--accent);
    font-size: .78rem;
    font-weight: 850;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.hero-branding h1 {
    margin: 0;
    font-size: clamp(2.8rem, 6vw, 6.4rem);
    font-weight: 900;
    letter-spacing: -.065em;
    line-height: .92;
}

.hero-branding h1 span {
    color: #dbe6fa;
    font-size: .63em;
    letter-spacing: -.045em;
}

.hero-branding>p:not(.eyebrow) {
    max-width: 640px;
    margin: 26px 0 0;
    color: #d6deed;
    font-size: clamp(1rem, 1.5vw, 1.25rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 21px;
    border: 1px solid transparent;
    border-radius: 13px;
    font-weight: 800;
    line-height: 1.15;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button--primary {
    color: #1d1409;
    background: var(--accent);
    box-shadow: 0 10px 28px rgba(242, 140, 24, .3);
}

.button--primary:hover {
    color: #1d1409;
    background: #ff9d2f;
}

.button--ghost {
    color: #fff;
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .34);
    backdrop-filter: blur(10px);
}

.button--dark {
    color: #fff;
    background: var(--brand);
}

.button--light {
    color: var(--brand);
    background: #fff;
}

.home-slider .slider-caption {
    z-index: 3;
    right: max(5vw, calc((100vw - 1320px) / 2));
    bottom: 46px;
    left: auto;
    width: min(440px, 34vw);
    min-height: 0;
    padding: 17px 20px;
    color: #fff;
    background: rgba(7, 21, 47, .68);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 16px;
    backdrop-filter: blur(14px);
}

.home-slider .slider-caption strong {
    font-size: 1rem;
    letter-spacing: .07em;
}

.home-slider .slider-caption span {
    color: #dbe4f4;
}

.home-slider .slider-prev,
.home-slider .slider-next {
    z-index: 4;
    top: 50%;
    width: 48px;
    height: 58px;
    color: #fff;
    background: rgba(7, 21, 47, .5);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 13px;
    backdrop-filter: blur(8px);
    transform: translateY(-50%);
}

.home-slider .slider-prev { left: 20px; }
.home-slider .slider-next { right: 20px; }

.home-slider .slider-dots {
    z-index: 4;
    right: 50%;
    bottom: 24px;
    gap: 8px;
    transform: translateX(50%);
}

.home-slider .slider-dots button {
    position: relative;
    width: 38px;
    height: 4px;
    overflow: hidden;
    border-radius: 99px;
    background: rgba(255, 255, 255, .4);
    transition: background-color .2s ease;
}

.home-slider .slider-dots button::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--accent);
    border-radius: inherit;
    transform: scaleX(0);
    transform-origin: left center;
}

.home-slider .slider-dots .active::after {
    animation: slider-dot-progress var(--slide-duration, 6000ms) linear forwards;
}

@keyframes slider-dot-progress {
    to { transform: scaleX(1); }
}

.hero-scroll {
    position: absolute;
    z-index: 4;
    bottom: 20px;
    left: max(6vw, calc((100vw - 1320px) / 2));
    color: #fff;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-decoration: none;
    text-transform: uppercase;
}

.hero-scroll span {
    display: inline-block;
    margin-left: 8px;
    color: var(--accent);
    animation: scroll-nudge 1.5s ease-in-out infinite;
}

@keyframes scroll-nudge {
    50% { transform: translateY(5px); }
}

/* Sections de l'accueil --------------------------------------------------- */
.home-content {
    padding: 70px 0 0;
    background: var(--canvas);
}

.modern-section {
    width: min(1320px, calc(100% - 40px));
    margin: 0 auto 100px;
}

.modern-section h2 {
    margin: 0;
    color: var(--brand);
    font-size: clamp(2rem, 4vw, 4rem);
    letter-spacing: -.05em;
    line-height: 1.02;
}

.home-intro.modern-section {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(420px, .8fr);
    gap: clamp(40px, 7vw, 100px);
    align-items: center;
}

.home-intro.modern-section>div:first-child>p:last-child {
    max-width: 720px;
    color: var(--muted-modern);
    font-size: 1.12rem;
}

.intro-addresses {
    display: grid;
    gap: 12px;
}

.intro-addresses a {
    position: relative;
    display: grid;
    gap: 2px;
    padding: 20px 54px 20px 22px;
    color: var(--text);
    background: #fff;
    border: 1px solid var(--line-modern);
    border-radius: 18px;
    box-shadow: var(--shadow-card);
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease;
}

.intro-addresses a::after {
    content: "→";
    position: absolute;
    top: 50%;
    right: 22px;
    color: var(--accent);
    font-size: 24px;
    transform: translateY(-50%);
}

.intro-addresses a:hover {
    border-color: var(--accent);
    transform: translateX(5px);
}

.intro-addresses span {
    color: var(--muted-modern);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.intro-addresses strong {
    color: var(--brand);
    font-size: 1.25rem;
}

.intro-addresses small {
    color: var(--muted-modern);
}

.section-heading {
    max-width: 850px;
    margin-bottom: 38px;
}

.section-heading--row {
    max-width: none;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
}

.section-heading--row>p {
    max-width: 460px;
    margin: 0 0 8px;
    color: var(--muted-modern);
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.service-card {
    position: relative;
    min-height: 430px;
    display: flex;
    align-items: end;
    overflow: hidden;
    color: #fff;
    background: var(--brand);
    border-radius: 24px;
    box-shadow: var(--shadow-card);
    text-decoration: none;
    isolation: isolate;
}

.service-card::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(0deg, rgba(4, 13, 31, .96) 0%, rgba(7, 21, 47, .28) 68%, rgba(7, 21, 47, .06));
}

.service-card img {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.service-card:hover img {
    transform: scale(1.06);
}

.service-card>div {
    padding: 26px;
}

.service-card h3 {
    margin: 0 0 8px;
    font-size: 1.55rem;
}

.service-card p {
    margin: 0 0 18px;
    color: #d8e1f1;
    line-height: 1.45;
}

.service-card__number {
    position: absolute;
    top: 19px;
    left: 21px;
    color: #fff;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .1em;
}

.card-link {
    color: var(--accent);
    font-size: .86rem;
    font-weight: 850;
}

.featured-offer {
    min-height: 590px;
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    overflow: hidden;
    background: #fff;
    border-radius: 32px;
    box-shadow: var(--shadow-soft);
}

.featured-offer__visual {
    min-height: 500px;
    display: grid;
    place-items: center;
    padding: 45px;
    background:
        radial-gradient(circle at 50% 50%, rgba(61, 102, 176, .35), transparent 58%),
        var(--brand);
}

.featured-offer__visual img {
    width: min(100%, 640px);
    max-height: 520px;
    object-fit: contain;
    filter: drop-shadow(0 22px 30px rgba(0, 0, 0, .2));
}

.featured-offer__content {
    align-self: center;
    padding: clamp(36px, 6vw, 85px);
}

.featured-offer__content h2 {
    font-size: clamp(2.2rem, 4vw, 4.3rem);
}

.featured-offer__content>p:not(.section-kicker) {
    color: var(--muted-modern);
    font-size: 1.06rem;
}

.check-list {
    display: grid;
    gap: 13px;
    margin: 25px 0 30px;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 31px;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    width: 21px;
    height: 21px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--accent);
    border-radius: 50%;
    font-size: .72rem;
    font-weight: 900;
}

/* Les anciennes bannières deviennent une galerie horizontale. */
.home-promos .sidebar,
.page-wrap>.sidebar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 32px 0 0;
}

.home-promos .side-card,
.page-wrap>.sidebar .side-card {
    margin: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line-modern);
    border-radius: 22px;
    box-shadow: var(--shadow-card);
}

.home-promos .side-card h3,
.page-wrap>.sidebar .side-card h3 {
    min-height: 0;
    margin: 0;
    padding: 16px 20px;
    color: #fff;
    background: var(--brand);
    border: 0;
    font-size: 1rem;
    letter-spacing: .05em;
}

.home-promos .side-card>div,
.page-wrap>.sidebar .side-card>div {
    height: 260px;
    display: grid;
    place-items: center;
    padding: 18px;
}

.home-promos .side-ad,
.page-wrap>.sidebar .side-ad {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.security-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 15% 30%, rgba(242, 140, 24, .18), transparent 32%),
        var(--brand);
    border-radius: 32px;
}

.security-feature__content {
    padding: clamp(40px, 7vw, 90px);
}

.security-feature h2 {
    color: #fff;
}

.security-feature p:not(.section-kicker) {
    color: #d6deed;
    font-size: 1.06rem;
}

.security-feature img {
    width: 100%;
    height: 100%;
    min-height: 480px;
    object-fit: cover;
}

.store-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: clamp(35px, 6vw, 70px);
    color: #fff;
    background: var(--accent);
    border-radius: 30px;
}

.store-cta .section-kicker {
    color: #5f3100;
}

.store-cta h2 {
    max-width: 850px;
    color: #1e160e;
}

/* Pages internes ---------------------------------------------------------- */
body:not(.home-page) .page-wrap {
    width: min(1240px, calc(100% - 40px));
    min-height: 65vh;
    display: block;
    margin: clamp(35px, 6vw, 80px) auto 80px;
}

body:not(.home-page) .left-column {
    min-width: 0;
}

body:not(.home-page) .content {
    position: relative;
    min-width: 0;
    padding: clamp(28px, 5vw, 68px);
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(221, 228, 238, .85);
    border-radius: 30px;
    box-shadow: var(--shadow-soft);
}

body:not(.home-page) .content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 130px;
    height: 5px;
    background: var(--accent);
    border-radius: 0 0 8px 0;
}

body:not(.home-page) .content h1 {
    max-width: 950px;
    margin: 0 0 28px;
    color: var(--brand);
    font-size: clamp(2.15rem, 5vw, 4.8rem);
    font-weight: 900;
    letter-spacing: -.055em;
    line-height: .98;
}

body:not(.home-page) .content h2 {
    margin: 42px 0 13px;
    color: var(--brand);
    font-size: clamp(1.45rem, 2.5vw, 2.35rem);
    letter-spacing: -.035em;
    line-height: 1.08;
}

body:not(.home-page) .content h3 {
    color: var(--brand);
}

body:not(.home-page) .content p,
body:not(.home-page) .content li {
    color: #3e4859;
    font-size: 1.02rem;
}

body:not(.home-page) .content a {
    color: var(--brand);
    text-decoration-color: var(--accent);
    text-underline-offset: 4px;
}

.linked-title,
.internet-telecom-page h1,
.internet-telecom-page h2 {
    color: var(--brand) !important;
    text-decoration-color: var(--accent) !important;
    text-decoration-thickness: 3px !important;
    text-underline-offset: 7px;
}

.article-image,
.internet-telecom-page .intro-image,
.internet-telecom-page .service-image {
    max-width: 100%;
    padding: 12px;
    background: #f8fafc;
    border: 1px solid var(--line-modern);
    border-radius: 20px;
    box-shadow: var(--shadow-card);
}

.phone-image,
.repair-page-image,
.reprise-page-image,
.coriolis-photo {
    width: min(100%, 520px);
    margin: 10px auto 32px;
    object-fit: contain;
}

.service-block {
    display: grid;
    grid-template-columns: minmax(230px, .38fr) minmax(0, 1fr);
    gap: clamp(25px, 4vw, 55px);
    align-items: center;
    margin: 28px 0 55px;
    padding: clamp(20px, 3vw, 35px);
    background: #f8fafc;
    border: 1px solid var(--line-modern);
    border-radius: 24px;
}

.service-block .article-image {
    width: 100%;
    margin: 0;
}

.service-block h2 {
    margin-top: 0 !important;
}

.content hr {
    height: 1px;
    margin: 45px 0;
    background: var(--line-modern);
    border: 0;
}

.price-table {
    width: 100%;
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--line-modern);
    border-radius: 16px;
}

.price-table th {
    padding: 15px 18px;
    color: #fff;
    background: var(--brand);
    text-align: left;
}

.price-table td {
    padding: 14px 18px;
    border-top: 1px solid var(--line-modern);
}

.price-table tr:nth-child(even) td {
    background: #f7f9fc;
}

.locations {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.locations article {
    display: grid;
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid var(--line-modern);
    border-radius: 22px;
}

.locations iframe {
    width: 100%;
    height: 370px;
    border: 0;
}

.locations article p {
    margin: 0;
    padding: 25px;
}

.sitemap {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.sitemap section {
    padding: 22px;
    background: #f8fafc;
    border: 1px solid var(--line-modern);
    border-radius: 18px;
}

/* Formulaire de devis */
.quote-form {
    max-width: 920px;
    margin: 30px auto 0;
    padding: clamp(24px, 5vw, 52px);
    background: #f8fafc;
    border: 1px solid var(--line-modern);
    border-radius: 24px;
}

.quote-fields {
    gap: 22px;
}

.quote-field label {
    color: var(--brand);
    font-weight: 800;
}

.quote-field input,
.quote-field select,
.quote-field textarea {
    min-height: 52px;
    padding: 13px 15px;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 11px;
}

.quote-field input:focus,
.quote-field select:focus,
.quote-field textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(242, 140, 24, .15);
    outline: 0;
}

.quote-actions button {
    min-height: 50px;
    padding: 12px 22px;
    color: #fff;
    background: var(--brand);
    border: 0;
    border-radius: 11px;
    font-weight: 800;
}

.quote-actions button.secondary {
    color: var(--brand);
    background: #fff;
    border: 1px solid var(--line-modern);
}

/* Pied de page ------------------------------------------------------------ */
.site-footer {
    margin-top: 80px;
    padding: 70px max(20px, calc((100% - 1320px) / 2)) 24px;
    color: #d8e1f1;
    background:
        radial-gradient(circle at 85% 0%, rgba(242, 140, 24, .17), transparent 30%),
        var(--brand-deep);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr .8fr;
    gap: clamp(28px, 5vw, 70px);
}

.site-footer h2 {
    margin: 0 0 12px;
    color: #fff;
    font-size: .85rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.site-footer p {
    margin: 8px 0;
    color: #aebbd1;
}

.site-footer a {
    color: #fff;
    text-decoration: none;
}

.site-footer nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-brand>a {
    display: inline-block;
    color: var(--accent);
    font-size: 1.8rem;
    font-weight: 950;
    letter-spacing: -.05em;
    text-transform: uppercase;
}

.footer-brand>a span {
    color: #fff;
}

.footer-brand p {
    max-width: 330px;
}

.footer-bottom {
    margin: 55px 0 0 !important;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: .82rem;
}

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1100px) {
    .home-hero {
        min-height: calc(100svh - 64px);
    }

    .hero-branding {
        left: 7vw;
        width: min(760px, 78vw);
    }

    .home-slider .slide>img {
        object-position: center;
        opacity: .68;
    }

    .home-slider .slider-caption {
        display: none;
    }

    .service-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-intro.modern-section,
    .featured-offer,
    .security-feature {
        grid-template-columns: 1fr;
    }

    .home-intro.modern-section {
        gap: 35px;
    }

    .featured-offer__visual {
        min-height: 380px;
    }

    .security-feature img {
        min-height: 360px;
        max-height: 520px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .home-hero {
        min-height: calc(100svh - 64px);
    }

    .hero-branding {
        top: 45%;
        left: 20px;
        width: calc(100% - 40px);
        transform: translateY(-50%);
    }

    .hero-branding h1 {
        font-size: clamp(2.55rem, 14vw, 4.4rem);
    }

    .hero-branding>p:not(.eyebrow) {
        font-size: .98rem;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-scroll {
        display: none;
    }

    .home-slider .slider-prev,
    .home-slider .slider-next {
        width: 38px;
        height: 48px;
        opacity: .8;
    }

    .home-slider .slider-prev { left: 8px; }
    .home-slider .slider-next { right: 8px; }

    .modern-section {
        width: min(100% - 24px, 1320px);
        margin-bottom: 65px;
    }

    .home-content {
        padding-top: 50px;
    }

    .modern-section h2 {
        font-size: clamp(2rem, 11vw, 3rem);
    }

    .service-cards,
    .home-promos .sidebar,
    .page-wrap>.sidebar,
    .locations,
    .sitemap {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 390px;
    }

    .section-heading--row,
    .store-cta {
        align-items: stretch;
        flex-direction: column;
    }

    .featured-offer,
    .security-feature,
    .store-cta {
        border-radius: 22px;
    }

    .featured-offer__visual {
        min-height: 280px;
        padding: 22px;
    }

    .featured-offer__content,
    .security-feature__content {
        padding: 30px 24px;
    }

    .home-promos .side-card>div,
    .page-wrap>.sidebar .side-card>div {
        height: 230px;
    }

    body:not(.home-page) .page-wrap {
        width: min(100% - 20px, 1240px);
        margin-top: 28px;
    }

    body:not(.home-page) .content {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .service-block {
        grid-template-columns: 1fr;
        padding: 17px;
    }

    .locations iframe {
        height: 300px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .site-footer {
        margin-top: 50px;
        padding-top: 50px;
    }
}

/* Adaptation des contenants aux dimensions réelles des images. */
img {
    max-width: 100%;
}

.home-slider .slide:not([hidden]) {
    display: grid;
    place-items: center;
}

.home-slider .slide[hidden] {
    display: none !important;
}

.home-slider .slide>img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.home-slider .slide.has-media-landscape>img,
.home-slider .slide.has-media-panorama>img {
    width: 100%;
    height: 100%;
}

.home-slider .slide.has-media-portrait>img,
.home-slider .slide.has-media-square>img {
    width: auto;
    height: min(82%, 760px);
    margin-left: min(34vw, 520px);
}

.home-slider .slide--0>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-left: 0;
}

.service-card {
    background: linear-gradient(145deg, #eef3fb, #dfe8f7);
}

.service-card img {
    object-fit: contain;
    object-position: center 36%;
    padding: 22px 20px 96px;
}

.service-card.has-media-landscape img,
.service-card.has-media-panorama img {
    width: 100%;
    height: 100%;
    padding: 18px 18px 105px;
    object-fit: contain;
}

.service-card::after {
    background: linear-gradient(0deg, rgba(4, 13, 31, .97) 0%, rgba(7, 21, 47, .18) 65%, rgba(7, 21, 47, 0));
}

.featured-offer__visual {
    overflow: hidden;
}

.featured-offer__visual img {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: calc(100vh - 170px);
    object-fit: contain;
}

.featured-offer__content .coriolis-photo {
    display: block;
    width: auto;
    max-width: min(100%, 360px);
    max-height: 460px;
    margin: 5px;
    object-fit: contain;
}

.home-promos .side-card,
.page-wrap>.sidebar .side-card {
    min-width: 0;
}

.home-promos .side-card>div,
.page-wrap>.sidebar .side-card>div {
    height: auto;
    min-height: 250px;
    max-height: 540px;
    aspect-ratio: var(--media-ratio, 1 / 1);
    overflow: hidden;
}

.home-promos .side-ad,
.page-wrap>.sidebar .side-ad {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.security-feature {
    align-items: stretch;
}

.security-feature>img {
    width: 100%;
    height: 100%;
    min-width: 0;
    max-width: 100%;
    max-height: 720px;
    padding: 30px;
    object-fit: contain;
    object-position: center bottom;
}

.service-block {
    grid-template-columns: minmax(260px, 38%) minmax(0, 1fr);
}

.service-block>.article-image {
    width: 100%;
    height: auto;
    max-height: 360px;
    padding: 0;
    object-fit: contain;
}

.service-block.has-media-portrait {
    grid-template-columns: minmax(220px, 30%) minmax(0, 1fr);
}

.service-block.has-media-panorama {
    grid-template-columns: 1fr;
}

.service-block.has-media-panorama>.article-image {
    width: 100%;
    max-height: 230px;
}

body:not(.home-page) .content>.article-image:not(.coriolis-photo),
body:not(.home-page) .internet-telecom-page .intro-image,
body:not(.home-page) .internet-telecom-page .service-image {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 520px;
    margin-right: auto;
    margin-left: auto;
    object-fit: contain;
}

body:not(.home-page) .content>.article-image.media-panorama,
body:not(.home-page) .internet-telecom-page .media-panorama {
    width: 100%;
    max-height: 310px;
}

body:not(.home-page) .content>.article-image.media-portrait {
    max-height: 560px;
}

.showcase>img {
    width: 100%;
    height: 100vh;
    max-width: 100%;
    max-height: 100vh;
    object-fit: contain;
}

@media (max-width: 1100px) {
    .home-slider .slide.has-media-portrait>img,
    .home-slider .slide.has-media-square>img {
        height: min(72%, 620px);
        margin-left: min(24vw, 280px);
    }
}

@media (max-width: 760px) {
    .home-slider .slide.has-media-portrait>img,
    .home-slider .slide.has-media-square>img {
        width: 100%;
        height: 100%;
        margin-left: 0;
        padding: 22px;
        object-fit: contain;
        opacity: .44;
    }

    .service-block,
    .service-block.has-media-portrait,
    .service-block.has-media-panorama {
        grid-template-columns: 1fr;
    }

    .service-block>.article-image,
    .service-block.has-media-panorama>.article-image {
        max-height: 300px;
    }

    .home-promos .side-card>div,
    .page-wrap>.sidebar .side-card>div {
        min-height: 0;
        max-height: none;
    }

    .security-feature>img {
        min-height: 0;
        max-height: 500px;
        padding: 18px;
    }
}

/* Ajustements de la version à textes d'origine. */
.home-page .hero-branding h1 {
    font-size: clamp(2.35rem, 3.7vw, 5.2rem);
    line-height: .97;
}

.home-page .hero-branding h1 span {
    font-size: .54em;
    line-height: 1.12;
}

.service-card h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.25rem, 2vw, 1.85rem);
    letter-spacing: -.025em;
    line-height: 1.08;
}

.featured-offer {
    grid-template-columns: minmax(340px, .75fr) minmax(0, 1.25fr);
}

.featured-offer__visual {
    align-items: start;
}

.featured-offer__visual img {
    position: sticky;
    top: 120px;
}

.original-copy h2 a {
    color: var(--brand);
    text-decoration-color: var(--accent);
    text-underline-offset: 7px;
}

.original-copy h3 {
    margin: 30px 0 9px;
    color: var(--brand);
    font-size: 1.35rem;
    line-height: 1.15;
}

.original-copy li {
    margin: 8px 0;
}

.security-feature h2 a {
    color: #fff;
    text-decoration-color: var(--accent);
    text-underline-offset: 7px;
}

@media (max-width: 1100px) {
    .featured-offer {
        grid-template-columns: 1fr;
    }

    .featured-offer__visual img {
        position: static;
    }

    .top {
        overflow: hidden scroll;
    }
}

@media (max-width: 760px) {
    .home-page .hero-branding h1 {
        font-size: clamp(2rem, 9vw, 3.15rem);
    }

    .home-page .hero-branding h1 span {
        font-size: .58em;
    }

    .top {
        overflow: hidden scroll;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-scroll span { animation: none; }
    .home-slider .slider-dots .active::after {
        animation: none;
        transform: scaleX(1);
    }
    .service-card img,
    .button,
    .intro-addresses a { transition: none; }
}

@layer legacy {

/* ========================================================================== 
   MENU MOBILE FX V5 — inspiré de l'interface du SAV
   Il remplace intégralement l'ancien habillage sans modifier le reste du site.
   ========================================================================== */

.top {
    position: relative;
    z-index: 100;
    height: auto;
    min-height: 76px;
    padding: 0 clamp(16px, 3vw, 52px);
    color: #fff;
    background:
        radial-gradient(circle at 88% -80%, rgba(242, 140, 24, .26), transparent 38%),
        linear-gradient(112deg, var(--menu-navy-dark), var(--menu-navy) 55%, #183568);
    /*border-radius: 0 0 42px 42px;*/
    box-shadow: 0 12px 30px rgba(9, 26, 58, .2);
}

.top::after {
    content: "";
    position: absolute;
    right: 45px;
    bottom: 0;
    left: 45px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--menu-orange), transparent);
    opacity: .75;
    pointer-events: none;
}

.top nav {
    width: min(1320px, 100%);
    height: auto;
    min-height: 76px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: stretch;
}

.menu-toggle {
    display: none;
    align-items: center;
    gap: 10px;
    color: #fff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 10px;
    font-weight: 800;
    cursor: pointer;
}

.nav-list {
    width: 100%;
    height: auto;
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 2px;
    background: transparent;
    border: 0;
    border-radius: 0;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: stretch;
}

.nav-item>a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 76px;
    height: auto;
    padding: 0 clamp(10px, 1.15vw, 18px);
    color: #dce5f5;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .02em;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    transition: color .2s ease, background-color .2s ease;
}

.nav-item>a::after {
    content: "";
    position: absolute;
    right: 14px;
    bottom: 0;
    left: 14px;
    height: 4px;
    border-radius: 4px 4px 0 0;
    background: var(--menu-orange);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .2s ease;
}

.nav-item>a:hover,
.nav-item>a:focus-visible,
.nav-item>a.current,
.nav-item.menu-open>a {
    color: #fff;
    background: rgba(255, 255, 255, .07);
    border-radius: 0;
    box-shadow: none;
}

.nav-item>a:hover::after,
.nav-item>a:focus-visible::after,
.nav-item>a.current::after,
.nav-item.menu-open>a::after {
    transform: scaleX(1);
}

.nav-item>a[aria-haspopup="true"] {
    padding-right: clamp(25px, 2.1vw, 35px);
}

.nav-item>a[aria-haspopup="true"]::before {
    content: "";
    position: absolute;
    right: 13px;
    top: 50%;
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-70%) rotate(45deg);
    transition: transform .2s ease;
}

.nav-item:hover>a[aria-haspopup="true"]::before,
.nav-item:focus-within>a[aria-haspopup="true"]::before,
.nav-item.menu-open>a[aria-haspopup="true"]::before {
    transform: translateY(-25%) rotate(225deg);
}

.dropdown,
.sub-dropdown {
    display: none;
    position: absolute;
    z-index: 120;
    width: min(300px, 85vw);
    padding: 8px;
    background: var(--menu-surface);
    border: 1px solid var(--menu-line);
    /*border-top: 4px solid var(--menu-orange);*/
    border-radius: 0 0 15px 15px;
    box-shadow: 0 20px 45px rgba(9, 26, 58, .22);
    animation: menu-panel-in .18s ease-out;
}

.dropdown {
    top: calc(100% - 1px);
    left: 0;
}

.nav-item:last-child>.dropdown,
.nav-item:nth-last-child(2)>.dropdown {
    right: 0;
    left: auto;
}

.nav-item:hover>.dropdown,
.nav-item:focus-within>.dropdown,
.submenu-host:hover>.sub-dropdown,
.submenu-host:focus-within>.sub-dropdown {
    display: block;
}

.nav-item.menu-open>.dropdown,
.submenu-host.menu-open>.sub-dropdown {
    display: block;
}

.dropdown>a,
.submenu-host>a,
.sub-dropdown>a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 45px;
    padding: 10px 40px 10px 13px;
    color: #243451;
    background: transparent;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
    transition: color .16s ease, background-color .16s ease, padding-left .16s ease;
}

.dropdown>a+a,
.submenu-host+a,
.dropdown>a+.submenu-host,
.sub-dropdown>a+a {
    border-top: 1px solid #eef1f5;
}

.dropdown>a::before,
.submenu-host>a::before,
.sub-dropdown>a::before {
    content: "";
    position: absolute;
    left: 13px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--menu-orange);
    opacity: 0;
    transform: scale(.4);
    transition: opacity .16s ease, transform .16s ease;
}

.dropdown>a:hover,
.dropdown>a:focus-visible,
.submenu-host>a:hover,
.submenu-host>a:focus-visible,
.submenu-host.menu-open>a,
.sub-dropdown>a:hover,
.sub-dropdown>a:focus-visible {
    color: var(--menu-navy);
    background: #fff4e8;
    padding-left: 25px;
}

.dropdown>a:hover::before,
.dropdown>a:focus-visible::before,
.submenu-host>a:hover::before,
.submenu-host>a:focus-visible::before,
.submenu-host.menu-open>a::before,
.sub-dropdown>a:hover::before,
.sub-dropdown>a:focus-visible::before {
    opacity: 1;
    transform: scale(1);
}

.submenu-host {
    position: relative;
}

.submenu-host>a::after {
    content: "›";
    position: absolute;
    right: 14px;
    color: var(--menu-orange-dark);
    font-size: 20px;
    line-height: 1;
    transition: transform .2s ease;
}

.submenu-host:hover>a::after,
.submenu-host:focus-within>a::after,
.submenu-host.menu-open>a::after {
    transform: translateX(3px);
}

.submenu-host>a>span {
    display: none;
}

.sub-dropdown {
    top: -4px;
    left: calc(100% - 1px);
    border-radius: 15px;
}

@keyframes menu-panel-in {
    from {
        opacity: 0;
        transform: translateY(-7px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1100px) {
    .top {
        min-height: 64px;
        padding: 0;
        /*border-radius: 0 0 25px 25px;*/
    }

    .top::after {
        right: 24px;
        left: 24px;
    }

    .top nav {
        min-height: 64px;
        display: block;
        padding: 8px 12px 12px;
    }

    .menu-toggle {
        width: 100%;
        min-height: 48px;
        display: flex;
        justify-content: space-between;
        padding: 0 15px;
        font-size: 14px;
    }

    .menu-toggle::after {
        content: "☰";
        font-size: 19px;
        font-weight: 400;
    }

    .top nav.open .menu-toggle::after {
        content: "×";
        font-size: 25px;
    }

    .nav-list {
        display: none;
        flex-direction: column;
        gap: 3px;
        margin-top: 8px;
        padding: 7px;
        background: rgba(4, 15, 36, .42);
        border: 1px solid rgba(255, 255, 255, .1);
        border-radius: 13px;
    }

    .top nav.open .nav-list {
        display: flex;
    }

    .nav-item {
        display: block;
    }

    .nav-item>a {
        min-height: 48px;
        padding: 10px 42px 10px 14px;
        border-radius: 9px;
        text-align: left;
        white-space: normal;
    }

    .nav-item>a::after {
        top: 9px;
        right: auto;
        bottom: 9px;
        left: 0;
        width: 4px;
        height: auto;
        border-radius: 0 4px 4px 0;
        transform: scaleY(0);
    }

    .nav-item>a:hover::after,
    .nav-item>a:focus-visible::after,
    .nav-item>a.current::after,
    .nav-item.menu-open>a::after {
        transform: scaleY(1);
    }

    .nav-item>a[aria-haspopup="true"]::before {
        right: 18px;
    }

    .nav-item:hover>a[aria-haspopup="true"]::before,
    .nav-item:focus-within>a[aria-haspopup="true"]::before {
        transform: translateY(-70%) rotate(45deg);
    }

    .nav-item.menu-open>a[aria-haspopup="true"]::before {
        transform: translateY(-25%) rotate(225deg);
    }

    .dropdown,
    .sub-dropdown {
        position: static;
        width: 100%;
        margin: 3px 0 7px;
        padding: 6px;
        border: 0;
        border-left: 3px solid var(--menu-orange);
        border-radius: 0 11px 11px 0;
        box-shadow: none;
        animation: menu-mobile-in .18s ease-out;
    }

    /* Sur écran tactile, pas d'ouverture persistante liée à un faux survol. */
    .nav-item:hover>.dropdown,
    .nav-item:focus-within>.dropdown,
    .submenu-host:hover>.sub-dropdown,
    .submenu-host:focus-within>.sub-dropdown {
        display: none;
    }

    .nav-item.menu-open>.dropdown,
    .submenu-host.menu-open>.sub-dropdown {
        display: block;
    }

    .sub-dropdown {
        margin: 3px 0 3px 12px;
        width: calc(100% - 12px);
        background: #f3f6fa;
    }

    .dropdown>a,
    .submenu-host>a,
    .sub-dropdown>a {
        min-height: 44px;
        padding: 9px 40px 9px 14px;
    }

    .dropdown>a:hover,
    .dropdown>a:focus-visible,
    .submenu-host>a:hover,
    .submenu-host>a:focus-visible,
    .submenu-host.menu-open>a,
    .sub-dropdown>a:hover,
    .sub-dropdown>a:focus-visible {
        padding-left: 25px;
    }

    .submenu-host>a::after {
        transform: rotate(90deg);
        transition: transform .2s ease;
    }

    .submenu-host:hover>a::after,
    .submenu-host:focus-within>a::after {
        transform: rotate(90deg);
    }

    .submenu-host.menu-open>a::after {
        transform: rotate(270deg);
    }

    @keyframes menu-mobile-in {
        from {
            opacity: 0;
            transform: translateY(-5px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

@media (max-width: 650px) {
    /*.top {
        border-radius: 0 0 18px 18px;
    }*/

    .top nav {
        padding-right: 8px;
        padding-left: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dropdown,
    .sub-dropdown {
        animation: none;
    }
}

* {
    box-sizing: border-box
}

html,
body {
    margin: 0;
    min-height: 100%;
    background: #fff;
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px
}

/*img {
    margin: 10px;
}*/

a {
    color: #1859b4
}

.page-wrap {
    width: 1320px;
    margin: 16px auto 0;
    display: grid;
    grid-template-columns: 986px 318px;
    gap: 16px;
    align-items: start;
    min-height: 850px
}

.slider {
    height: 820px;
    position: relative;
    overflow: hidden;
    border: 1px solid #d4d9df;
    border-radius: 4px;
    background: #fff
}

.slide {
    position: absolute;
    inset: 0
}

.slideshow-transition-fade {
    animation: slideshow-fade .8s ease-out
}

.slideshow-transition-left {
    animation: slideshow-left .8s ease-out
}

.slideshow-transition-right {
    animation: slideshow-right .8s ease-out
}

.slideshow-transition-zoom {
    animation: slideshow-zoom .8s ease-out
}

@keyframes slideshow-fade {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes slideshow-left {
    from {
        opacity: 0;
        transform: translateX(-8%)
    }

    to {
        opacity: 1;
        transform: translateX(0)
    }
}

@keyframes slideshow-right {
    from {
        opacity: 0;
        transform: translateX(8%)
    }

    to {
        opacity: 1;
        transform: translateX(0)
    }
}

@keyframes slideshow-zoom {
    from {
        opacity: 0;
        transform: scale(1.08)
    }

    to {
        opacity: 1;
        transform: scale(1)
    }
}

.slide>img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain
}

.slider-caption {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    min-height: 65px;
    padding: 11px 20px;
    color: #fff;
    background: #1717179c;
    display: flex;
    flex-direction: column;
    justify-content: center
}

.slider-caption strong {
    font-size: 20px
}

.slider-caption span {
    font-size: 15px;
    margin-top: 3px
}

.slider-prev,
.slider-next {
    opacity: 0;
    position: absolute;
    z-index: 2;
    top: 44%;
    width: 30px;
    height: 44px;
    border: 0;
    background: #fff9;
    color: #777;
    font-size: 27px
}

.slider:hover .slider-prev,
.slider:hover .slider-next {
    opacity: 1
}

.slider-prev {
    left: 4px
}

.slider-next {
    right: 4px
}

.slider-dots {
    position: absolute;
    z-index: 2;
    right: 18px;
    bottom: 4px;
    display: flex;
    gap: 5px
}

.slider-dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #aaa
}

.slider-dots .active {
    background: #f19b28
}

.content {
    padding: 20px 0 45px;
    line-height: 1.45;
    min-width: 0
}

.content h1 {
    margin: 0 0 14px;
    font-size: 39px;
    line-height: 1.12;
    font-weight: 750
}

.content h2 {
    margin: 24px 0 9px;
    font-size: 26px;
    line-height: 1.15
}

.content h3 {
    margin: 19px 0 7px;
    font-size: 18px
}

.content p {
    margin: 10px 0
}

.content ul {
    margin: 12px 0;
    padding-left: 30px
}

.content li {
    margin: 12px 0
}

.article-image {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 10px 0 18px
}

.linked-title {
    color: #1859b4;
    text-decoration: underline
}

.sidebar {
    min-width: 0
}

.side-card {
    border: 1px solid #d4d9df;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 16px;
    background: #fff
}

.side-card h3 {
    margin: 0;
    min-height: 52px;
    padding: 12px 16px;
    background: #f6f6f6;
    border-bottom: 1px solid #d4d9df;
    font-size: 25px;
    line-height: 1.1
}

.side-card>div {
    padding: 16px;
    text-align: center
}

.side-ad {
    width: 100%;
    height: auto;
    margin: 0
}

.repair-card>div {
    height: 461px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #fff 48%, #e6fbfb)
}

.repair-card b {
    font-size: 34px
}

.repair-card span {
    font-size: 13px
}

.repair-card strong {
    margin-top: 28px;
    color: #05b9ba;
    font-size: 72px;
    line-height: .8
}

.repair-card small {
    font-size: 32px
}

.monsherif-card>div {
    /*min-height: 280px;
    padding-top: 72px;*/
    color: #26286c
}

.monsherif-card strong {
    font-size: 24px
}

.monsherif-card span {
    display: block;
    font-size: 12px;
    margin: 15px
}

.monsherif-card b {
    font-size: 14px;
    color: #e52b2b
}

.home-intro {
    text-align: center;
    font-family: Georgia, "Times New Roman", serif
}

.home-intro p {
    font-size: 24px;
    margin: 16px 0
}

.home-intro strong {
    display: block;
    font-family: Arial, sans-serif;
    font-size: 24px;
    line-height: 1.3
}

.tariff-image {
    width: 650px;
    margin: 20px 0 24px
}

.coriolis-photo {
    float: left;
    width: 318px;
    margin: 0 14px 14px 0
}

.clic-intro {
    overflow: hidden;
    clear: both;
    margin-top: 48px
}

.clic-photo {
    float: left;
    width: 300px;
    margin: 8px 10px 12px 0
}

.clic-intro p {
    text-align: justify
}

.phone-image {
    width: 245px
}

.repair-page-image {
    width: 345px
}

.reprise-page-image {
    width: 271px
}

.bazile-domplus {
    width: 630px;
    margin: 28px auto
}

.free-title {
    text-align: center
}

.free-banner {
    display: block;
    width: 100%;
    height: 258px;
    object-fit: cover;
    margin: 8px 0 32px;
    filter: brightness(.72)
}

.product-grid {
    display: flex;
    flex-direction: column;
    gap: 55px;
    margin-top: 35px
}

.product-grid article {
    display: grid;
    grid-template-columns: 190px 1fr;
    align-items: center;
    min-height: 205px
}

.product-grid article .article-image {
    grid-row: 1/5;
    width: 185px;
    margin: 0
}

.product-grid article h3 {
    display: none
}

.service-block {
    display: block;
    margin-bottom: 35px
}

.service-block>.article-image {
    max-width: 440px;
    max-height: 230px
}

.service-block h2 {
    font-size: 18px
}

/*.services-page {}*/

.quote-form {
    max-width: 650px
}

.quote-form label {
    display: grid;
    grid-template-columns: 185px 1fr;
    gap: 10px;
    margin: 12px 0
}

.quote-form input,
.quote-form select,
.quote-form textarea {
    width: 100%;
    border: 1px solid #bbb;
    padding: 8px
}

.form-actions {
    margin-left: 195px;
    display: flex;
    gap: 8px
}

.form-actions button {
    padding: 8px 16px
}

.price-table {
    width: auto;
    border-collapse: collapse
}

.price-table th,
.price-table td {
    border: 0;
    padding: 2px 28px 2px 0;
    text-align: left
}

.content hr {
    border: 0;
    border-top: 1px solid #ccc;
    margin: 22px 0
}

.locations {
    display: flex;
    flex-direction: column;
    gap: 30px
}

.locations article {
    display: grid;
    grid-template-columns: 760px 200px;
    gap: 25px
}

.locations iframe {
    width: 760px;
    height: 450px;
    border: 0
}

.locations p {
    font-size: 19px
}

.locations p strong {
    font-size: 26px
}

footer {
    min-height: 165px;
    background: linear-gradient(105deg, #172f60, #443d79);
    padding: 52px calc((100% - 1320px)/2)
}

footer nav {
    display: flex;
    flex-direction: column;
    gap: 9px
}

footer a {
    color: #fff;
    font-size: 13px;
    text-decoration: none
}

.showcase {
    min-height: 100vh;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative
}

.showcase>img {
    max-width: 100%;
    max-height: 100vh;
    object-fit: contain
}

.showcase-bar {
    position: absolute;
    left: 15.6%;
    right: 15.6%;
    bottom: 5%;
    min-height: 65px;
    padding: 10px 15px;
    background: #ffffff00;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.showcase-bar button {
    border: 0;
    background: #ffffff18;
    color: #fff;
    font-size: 32px
}

@media(prefers-reduced-motion:reduce) {
    .slideshow-transition-fade,
    .slideshow-transition-left,
    .slideshow-transition-right,
    .slideshow-transition-zoom {
        animation: none
    }
}

@media(max-width:1380px) {
    .page-wrap {
        width: calc(100% - 32px);
        grid-template-columns: minmax(0, 986px) 318px
    }

    footer {
        padding-left: 16px
    }
}

@media(max-width:1100px) {
    .page-wrap {
        width: 100%;
        margin: 0;
        display: block
    }

    .slider {
        border-radius: 0;
        height: 290px
    }

    .content {
        padding: 20px
    }

    .sidebar {
        display: none
    }

    .locations article {
        grid-template-columns: 1fr
    }

    .locations iframe {
        width: 100%
    }
}

@media(max-width:650px) {

    html,
    body {
        font-size: 15px
    }

    .slider {
        height: 210px
    }

    .slider-caption {
        left: 8px;
        right: 8px;
        bottom: 8px;
        min-height: 50px;
        padding: 8px 12px
    }

    .slider-caption strong {
        font-size: 15px
    }

    .slider-caption span {
        font-size: 11px
    }

    .content h1 {
        font-size: 30px
    }

    .content h2 {
        font-size: 23px
    }

    .home-intro p {
        font-size: 19px
    }

    .home-intro strong {
        font-size: 19px
    }

    .tariff-image {
        width: 100%
    }

    .coriolis-photo,
    .clic-photo {
        float: none;
        width: min(100%, 320px);
        margin: 10px auto
    }

    .quote-form label {
        grid-template-columns: 1fr
    }

    .form-actions {
        margin-left: 0
    }

    .locations iframe {
        height: 300px
    }

    .showcase-bar {
        left: 4%;
        right: 4%;
        bottom: 8%
    }
}

}

/* Bannière secondaire, replacée après le contenu des pages internes. */
body:not(.home-page) .page-wrap>.sidebar {
    grid-template-columns: 1fr;
}

body:not(.home-page) .page-wrap>.sidebar .side-card {
    display: grid;
    grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
    align-items: stretch;
}

body:not(.home-page) .page-wrap>.sidebar .side-card h3 {
    display: grid;
    place-items: center start;
    padding: 26px;
    font-size: clamp(1.2rem, 3vw, 2rem);
}

body:not(.home-page) .page-wrap>.sidebar .side-card>div {
    height: auto;
    min-height: 250px;
    max-height: 540px;
    aspect-ratio: var(--media-ratio, 3 / 4);
}

.reveal-pending {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .55s ease, transform .55s ease;
}

.reveal-pending.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 760px) {
    body:not(.home-page) .page-wrap>.sidebar .side-card {
        grid-template-columns: 1fr;
    }

    body:not(.home-page) .page-wrap>.sidebar .side-card>div {
        min-height: 0;
        max-height: none;
    }
}

/* Correctifs responsive : menu mobile défilable et titre adapté en hauteur. */
@media (max-width: 1100px) {
    .top {
        max-height: 100svh;
        max-height: 100dvh;
        overflow: hidden;
        overscroll-behavior: contain;
    }

    .top nav.open .nav-list {
        max-height: calc(100svh - 76px);
        max-height: calc(100dvh - 76px);
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior-y: contain;
        scrollbar-gutter: stable;
        touch-action: pan-y;
        -webkit-overflow-scrolling: touch;
    }

    .home-hero {
        min-height: calc(100svh - 64px);
        min-height: calc(100dvh - 64px);
    }

    .hero-branding {
        max-height: none;
        overflow: visible;
        padding-block: 0;
    }

    .home-page .hero-branding h1 {
        font-size: clamp(1.65rem, min(6.5vw, 6.5svh), 3.8rem);
        line-height: .98;
        text-wrap: balance;
    }
}

@media (max-width: 760px) {
    .hero-branding {
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
    }

    .home-page .hero-branding h1 {
        font-size: clamp(1.25rem, min(8vw, 5.4svh), 2.75rem);
        letter-spacing: -.045em;
        line-height: 1;
    }

    .home-page .hero-branding h1 span {
        font-size: .55em;
        line-height: 1.08;
    }

    .hero-branding .eyebrow {
        margin-bottom: clamp(5px, 1.5svh, 12px);
    }

    .hero-branding>p:not(.eyebrow) {
        margin-top: clamp(8px, 2svh, 18px);
        font-size: clamp(.82rem, min(3.8vw, 2.35svh), .98rem);
        line-height: 1.4;
    }

    .hero-actions {
        gap: 8px;
        margin-top: clamp(10px, 2.5svh, 22px);
    }

    .hero-actions .button {
        min-height: 42px;
        padding-block: 9px;
    }
}

@media (max-width: 1100px) and (max-height: 560px) and (orientation: landscape) {
    .hero-branding {
        left: max(54px, 5vw);
        width: min(720px, calc(100% - 108px));
        padding-block: 4px;
    }

    .home-page .hero-branding h1 {
        font-size: clamp(1.15rem, min(4.6vw, 5.6svh), 2.25rem);
    }

    .hero-branding .eyebrow {
        margin-bottom: 4px;
    }

    .hero-branding>p:not(.eyebrow) {
        margin-top: 6px;
        line-height: 1.25;
    }

    .hero-actions {
        flex-direction: row;
        gap: 8px;
        margin-top: 9px;
    }

    .hero-actions .button {
        width: auto;
        min-height: 38px;
        padding: 7px 13px;
    }
}
