/* Mise en page. Couleurs et formes : tema.css */
@font-face { font-family: "Manrope Variable"; src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Manrope Variable"; src: url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0100-02BA, U+1E00-1EFF; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

body {
    background: var(--hd-fond);
    color: var(--hd-texte);
    font-family: var(--hd-police);
    font-size: 16px;
    line-height: 1.6;
}

#haut {
    position: absolute;
    top: 0;
    height: 40px;
    width: 1px;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--hd-titres);
    font-weight: var(--hd-titres-poids);
}

a {
    color: var(--hd-lien);
    text-decoration: none;
    transition: color 200ms, background-color 200ms;
}

a:hover, a:focus {
    color: var(--hd-lien-survol);
}

a:focus-visible, button:focus-visible {
    outline: 2px solid var(--hd-lien);
    outline-offset: 2px;
}

.btn {
    font-weight: 700;
    border-radius: var(--hd-rayon-bouton);
    transition: background-color 200ms, color 200ms, transform 120ms;
}

.btn:active {
    transform: scale(.98);
}

.btn-lg {
    font-size: 17px;
    padding: 13px 26px;
}

.btn.btn-primary {
    background-color: var(--hd-accent);
    border: 1px solid var(--hd-accent);
    color: var(--hd-accent-texte);
}

.btn.btn-primary:hover,
.btn.btn-primary:focus-visible {
    background-color: var(--hd-accent-survol);
    border-color: var(--hd-accent-survol);
    color: var(--hd-accent-texte);
}

.btn.btn-secondaire {
    background: #fff;
    border: 1px solid var(--hd-trait);
    color: var(--hd-titres);
}

.btn.btn-secondaire:hover {
    border-color: var(--hd-titres);
    color: var(--hd-titres);
}

/* En-tête : logo au centre, menus de chaque côté, langues sous un icône à droite. */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
}

#navbar {
    background: var(--hd-nav-fond);
    border-radius: 0 0 var(--hd-rayon) var(--hd-rayon);
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}

.nav-grille {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1320px;
    min-height: 64px;
    margin-inline: auto;
    padding-inline: 12px;
}

#navbar .navbar-brand {
    position: absolute;
    left: 50%;
    top: 0;
    margin: 0;
    padding: 0;
    width: 220px;
    height: 150px;
    z-index: 2;
    background: url(../../img/logos/logo-helvetia_335x225.png) no-repeat center / contain;
    transform: translateX(-50%);
    transform-origin: top center;
    transition: transform 250ms ease;
}

#header.defile .navbar-brand {
    transform: translateX(-50%) scale(.42);
}

#navbar .navbar-toggler {
    border-color: rgba(255, 255, 255, .5);
    margin-block: 10px;
}

#navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255%2C255%2C255%2C0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

#navbar .nav-link {
    padding: 23px 16px;
    font-size: 17px;
    line-height: 18px;
    white-space: nowrap;
    color: var(--hd-nav-texte);
    text-align: center;
}

#navbar .nav-link:hover,
#navbar .nav-link:focus-visible,
#navbar .nav-link.show,
#navbar .nav-link.active {
    background-color: var(--hd-nav-actif-fond);
    color: var(--hd-nav-actif-texte);
}

.lang-bouton {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    padding: 0 10px;
    background: transparent;
    border: 0;
    color: var(--hd-nav-texte);
    font-size: 14px;
    font-weight: 600;
}

.lang-bouton .bi-globe {
    font-size: 18px;
    transition: color 200ms, transform 200ms;
}

.lang-bouton:hover .bi-globe,
.lang-bouton:focus-visible .bi-globe,
.lang-bouton[aria-expanded="true"] .bi-globe {
    color: #fff;
    transform: rotate(15deg);
}

.nav-langue .dropdown-menu,
.nav-cote .dropdown-menu {
    --bs-dropdown-link-active-bg: var(--hd-accent);
    --bs-dropdown-link-active-color: var(--hd-accent-texte);
    --bs-dropdown-link-color: var(--hd-texte);
    --bs-dropdown-min-width: 90px;
    border: 0;
    border-radius: var(--hd-rayon);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .16);
    padding: 6px;
    margin-top: 8px;
}

.nav-langue .dropdown-item,
.nav-cote .dropdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 40px;
    border-radius: calc(var(--hd-rayon) - 2px);
}

@media (min-width: 992px) {
    /* 130 px de chaque côté du centre : la place du logo. */
    .nav-cote {
        flex: 1 1 0;
    }

    .nav-gauche {
        justify-content: flex-end;
        padding-right: 130px;
    }

    .nav-droite {
        justify-content: flex-start;
        padding-left: 130px;
    }

    .nav-langue {
        position: absolute;
        right: 12px;
        top: 10px;
    }

    .nav-cote .dropdown-menu {
        margin-top: 0;
    }
}

/* Six boutons et le logo : plus serré sur les petits ordinateurs. */
@media (min-width: 992px) and (max-width: 1199.98px) {
    #navbar .nav-link {
        padding-inline: 8px;
        font-size: 15px;
    }

    .nav-gauche {
        padding-right: 118px;
    }

    .nav-droite {
        padding-left: 118px;
    }

    #navbar .navbar-brand {
        width: 190px;
        height: 130px;
    }
}

@media (max-width: 991.98px) {
    .nav-grille {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    #navbar .navbar-brand {
        width: 105px;
        height: 72px;
    }

    #header.defile .navbar-brand {
        transform: translateX(-50%) scale(.85);
    }

    #navbarNav {
        order: 3;
        flex-basis: 100%;
    }

    .nav-gauche {
        padding-top: 12px;
    }

    .nav-cote .dropdown-menu {
        text-align: center;
        margin-inline: 16px;
    }

    .nav-cote .dropdown-item {
        justify-content: center;
    }

    #navbar .nav-link {
        padding: 12px 16px;
    }
}

/* Accueil */
#accueil {
    position: relative;
    isolation: isolate;
    display: flex;
    overflow: hidden;
    min-height: min(86vh, 720px);
}

.hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    z-index: -2;
    opacity: 0;
    transition: opacity 1.4s ease;
}

.hero-photo.est-visible {
    opacity: 1;
}

.hero-pause {
    position: absolute;
    right: 16px;
    bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 44px;
    padding: 0 14px;
    border: 0;
    border-radius: var(--hd-rayon);
    background: rgba(30, 32, 35, .6);
    color: #fff;
    font-size: 14px;
}

.hero-pause:hover {
    background: rgba(30, 32, 35, .85);
}

@media (prefers-reduced-motion: reduce) {
    .hero-photo {
        transition: none;
    }
}

/* La barre fixe ne doit pas couper les visages. */
.hero-photo {
    top: 64px;
    height: calc(100% - 64px);
}

/* Voile à gauche pour lire le texte, sur un léger voile orange (couleur du logo). */
#accueil::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(95deg, rgba(30, 32, 35, .8) 0%, rgba(30, 32, 35, .64) 50%, rgba(30, 32, 35, 0) 80%),
        linear-gradient(rgba(240, 150, 20, .16), rgba(240, 150, 20, .16));
}

.hero-contenu {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1240px;
    margin-inline: auto;
    padding: 110px 24px 56px;
}

.hero-texte {
    max-width: 600px;
}

.hero-texte h1 {
    color: #fff;
    font-size: clamp(32px, 4.2vw, 54px);
    line-height: 1.12;
    letter-spacing: -.02em;
    margin-bottom: 16px;
    text-wrap: balance;
}

.hero-texte p {
    color: rgba(255, 255, 255, .94);
    font-size: clamp(17px, 1.5vw, 20px);
    line-height: 1.5;
    margin-bottom: 28px;
}

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

.hero-actions .btn-secondaire {
    background: rgba(255, 255, 255, .12);
    color: #fff;
    border-color: rgba(255, 255, 255, .7);
}

.hero-actions .btn-secondaire:hover {
    background: #fff;
    color: var(--hd-titres);
}

.confiance {
    background: var(--hd-contact-fond);
}

.confiance ul {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px 24px;
    list-style: none;
    margin-block: 0;
    padding-block: 20px;
}

.confiance li {
    display: flex;
    justify-content: center;
}

.confiance a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
}

.confiance a:hover,
.confiance a:focus-visible {
    color: var(--hd-accent);
}

.confiance .bi {
    color: var(--hd-accent);
    font-size: 22px;
}

/* Sections */
.contenu {
    width: 100%;
    max-width: 1240px;
    margin-inline: auto;
    padding-inline: 24px;
}

.section {
    padding-block: clamp(56px, 7vw, 96px);
}

.section-teinte {
    background: var(--hd-teinte);
}

.section h2 {
    font-size: clamp(27px, 3vw, 38px);
    letter-spacing: -.015em;
    margin-bottom: 14px;
}

.section-intro {
    max-width: 62ch;
    font-size: 18px;
    margin-bottom: 32px;
}

/* Services : le déménagement en pleine largeur, puis les trois autres. */
#services h2 {
    margin-bottom: 32px;
}

.grille-services {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service {
    background: #fff;
    border-radius: var(--hd-rayon);
    box-shadow: var(--hd-ombre);
    overflow: hidden;
}

.service img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.service-corps {
    padding: 22px 24px 18px;
}

.service h3 {
    font-size: 21px;
    margin-bottom: 10px;
}

.service h3 .bi {
    color: var(--hd-lien);
    margin-right: 4px;
}

.service p {
    margin-bottom: 10px;
    font-size: 15.5px;
}

.service-demenagement {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 55% 1fr;
    align-items: center;
}

.service-demenagement .service-corps {
    padding: 32px clamp(24px, 4vw, 56px);
}

.service-demenagement h3 {
    font-size: 28px;
}

.service-demenagement p {
    font-size: 17px;
}

.btn-plus {
    background: none;
    border: 0;
    padding: 8px 0;
    min-height: 44px;
    color: var(--hd-lien);
    font-weight: 600;
    font-size: 15px;
}

.btn-plus .bi {
    display: inline-block;
    transition: transform 200ms;
}

.btn-plus:not(.collapsed) .bi {
    transform: rotate(180deg);
}

/* Pourquoi nous */
.pourquoi {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}

.pourquoi-photo {
    width: 100%;
    height: auto;
    border-radius: var(--hd-rayon);
    box-shadow: var(--hd-ombre);
}

.atouts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px 28px;
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
}

.atouts > li {
    display: flex;
    gap: 14px;
}

.atouts > li > .bi {
    flex: none;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: var(--hd-rayon);
    background: rgba(247, 166, 0, .18);
    color: #9A6200;
    font-size: 20px;
}

.atouts h3 {
    font-size: 17px;
    margin-bottom: 4px;
}

.atouts p {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
}

.atouts p::first-letter {
    text-transform: uppercase;
}

/* Comment ça se passe : ligne qui relie les étapes. */
#etapes h2 {
    text-align: center;
    margin-bottom: 40px;
}

.etapes {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.etapes::before {
    content: "";
    position: absolute;
    top: 48px;
    left: 12.5%;
    right: 12.5%;
    border-top: 2px solid var(--hd-trait);
}

.etapes li {
    position: relative;
    text-align: center;
    padding: 16px 12px 20px;
    border-radius: var(--hd-rayon);
}

/* Survol : l'étape ressort, son icône s'agrandit et prend la couleur foncée. */
@media (hover: hover) {
    .etapes li.reveler,
    .etapes li.reveler.cache.vu {
        transition: opacity 600ms cubic-bezier(.16, 1, .3, 1), transform 600ms cubic-bezier(.16, 1, .3, 1), background-color 200ms, box-shadow 200ms;
    }

    .etape-icone {
        transition: background-color 200ms, color 200ms, transform 200ms cubic-bezier(.16, 1, .3, 1);
    }

    .etapes li:hover {
        background: var(--hd-fond);
        box-shadow: var(--hd-ombre);
    }

    .etapes li:hover .etape-icone {
        background: var(--hd-nav-actif-fond);
        color: #fff;
        transform: scale(1.1);
    }
}

@media (hover: hover) and (prefers-reduced-motion: reduce) {
    .etapes li:hover .etape-icone {
        transform: none;
    }
}

.etape-icone {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--hd-accent);
    color: var(--hd-accent-texte);
    font-size: 26px;
    box-shadow: 0 0 0 8px var(--hd-fond);
}

.etapes h3 {
    font-size: 18px;
    margin-bottom: 6px;
}

.etapes p {
    margin: 0;
    font-size: 15px;
}

/* Devis */
.devis {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: start;
}

.devis-texte p {
    font-size: 17px;
}

.devis-slogan {
    color: var(--hd-titres);
    font-weight: 700;
    margin-bottom: 22px;
}

.devis-slogan .bi {
    color: var(--hd-lien);
}

.devis-plans {
    background: #fff;
    border-radius: var(--hd-rayon);
    box-shadow: var(--hd-ombre);
    padding: 12px 28px 24px;
}

.onglets {
    gap: 4px;
    border-bottom: 1px solid var(--hd-trait);
    margin-bottom: 18px;
}

.onglets .nav-link {
    background: none;
    border: 0;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    padding: 14px 12px;
    color: var(--hd-texte);
    font-weight: 600;
}

.onglets .nav-link:hover {
    color: var(--hd-titres);
}

.onglets .nav-link.active {
    color: var(--hd-titres);
    border-bottom-color: var(--hd-accent);
}

.plan-liste,
.plan-liste ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.plan-liste {
    columns: 2;
    column-gap: 28px;
}

.plan-liste .plan-name,
.plan-liste .plan-price {
    display: none;
}

.plan-liste li {
    position: relative;
    padding: 6px 0 6px 28px;
    break-inside: avoid;
}

.plan-liste li::before {
    content: "\F26E";
    font-family: bootstrap-icons;
    position: absolute;
    left: 0;
    top: 5px;
    color: var(--hd-lien);
    font-size: 18px;
}

/* Conseils : photos avec titre sur voile. */
.grille-conseils {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 210px;
    gap: 16px;
}

.conseil {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--hd-rayon);
}

.conseil img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms cubic-bezier(.16, 1, .3, 1);
}

.conseil:hover img,
.conseil:focus-visible img {
    transform: scale(1.04);
}

.conseil::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(25, 27, 30, .78) 0%, rgba(25, 27, 30, 0) 58%);
}

.conseil h3 {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 14px;
    z-index: 1;
    margin: 0;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

.conseil-1 {
    grid-column: span 2;
    grid-row: span 2;
}

.conseil-1 h3 {
    font-size: 24px;
}

.conseil-8 {
    grid-column: span 2;
}

/* Fenêtre d'un conseil : photo avec titre, texte aéré, précédent et suivant. */
.conseil-entete {
    position: relative;
    flex: none;
    height: clamp(150px, 26vh, 230px);
    overflow: hidden;
    border-radius: var(--bs-modal-inner-border-radius) var(--bs-modal-inner-border-radius) 0 0;
}

.conseil-entete img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.conseil-entete::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(25, 27, 30, .82) 0%, rgba(25, 27, 30, .1) 65%);
}

.conseil-entete h2 {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 18px;
    z-index: 1;
    margin: 0;
    color: #fff;
    font-size: clamp(22px, 3vw, 30px);
    line-height: 1.2;
}

.conseil-entete .btn-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 1;
    padding: 10px;
    background-color: rgba(25, 27, 30, .55);
    border-radius: 50%;
    opacity: 1;
}

.conseil-texte {
    padding: 24px clamp(20px, 4vw, 40px);
    font-size: 16px;
    line-height: 1.65;
}

.conseil-texte h4 {
    margin: 22px 0 8px;
    padding-left: 12px;
    border-left: 3px solid var(--hd-accent);
    font-size: 18px;
    font-weight: 700;
    color: var(--hd-titres);
}

.conseil-texte h4:first-child {
    margin-top: 0;
}

.conseil-texte ul {
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
}

.conseil-texte li {
    position: relative;
    padding: 4px 0 4px 26px;
}

.conseil-texte li::before {
    content: "\F26E";
    font-family: bootstrap-icons;
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--hd-lien);
    font-size: 18px;
}

.conseil-pied {
    justify-content: space-between;
    gap: 8px;
    padding: 12px clamp(16px, 3vw, 28px);
}

.conseil-nav {
    display: flex;
    gap: 8px;
}

.facultatif {
    font-weight: 400;
    color: var(--hd-texte);
}

.lien-devis {
    font-weight: 700;
}

/* Contact */
.section-contact {
    /* Le repère tombe dans l'espace entre les colonnes ; le centre de l'image est l'adresse exacte. */
    --repere-x: 42.5%;
    --repere-y: 230px;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--hd-contact-fond);
    color: var(--hd-contact-texte);
}

@media (min-width: 1240px) {
    .section-contact {
        --repere-x: calc(50% - 93px);
    }
}

.contact-fond {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.contact-fond::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(47, 51, 55, .58);
}

.contact-carte {
    position: absolute;
    left: var(--repere-x);
    top: var(--repere-y);
    max-width: none;
    transform: translate(-50%, -50%);
}

.contact-repere {
    position: absolute;
    z-index: 1;
    left: var(--repere-x);
    top: var(--repere-y);
    transform: translate(-50%, -100%);
    color: var(--hd-accent);
    font-size: 48px;
    line-height: 1;
    filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .55));
    transition: color 200ms;
}

.contact-repere:hover {
    color: #fff;
}

.contact-credit {
    position: absolute;
    z-index: 1;
    right: 10px;
    bottom: 6px;
    color: rgba(255, 255, 255, .85);
    font-size: 11px;
}

.contact-credit a {
    color: inherit;
}

.contact-infos {
    display: flex;
    flex-direction: column;
    background: rgba(47, 51, 55, .88);
    border-radius: var(--hd-rayon);
    padding: clamp(22px, 2.6vw, 32px);
}

.contact {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: clamp(32px, 5vw, 72px);
}

.contact-infos h2 {
    color: var(--hd-contact-titres);
}

.contact-infos a {
    color: var(--hd-contact-texte);
}

.contact-infos a:hover {
    color: var(--hd-accent);
}

.contact-infos strong {
    color: var(--hd-contact-titres);
}

.contact-infos .contact-tel {
    display: inline-block;
    color: var(--hd-contact-titres);
    font-size: clamp(24px, 2.6vw, 32px);
    font-weight: 700;
    margin-block: 8px 20px;
}

.contact-icones {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    list-style: none;
    margin: auto 0 0;
    padding: 20px 0 0;
}

.contact-infos .contact-icones a {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    font-size: 19px;
    transition: background-color 200ms, color 200ms, transform 120ms;
}

.contact-infos .contact-icones a:hover,
.contact-infos .contact-icones a:focus-visible {
    background: var(--hd-accent);
    color: var(--hd-accent-texte);
    transform: translateY(-2px);
}

.contact-form {
    background: var(--hd-contact-carte);
    color: var(--hd-texte);
    border-radius: var(--hd-rayon);
    padding: clamp(24px, 3vw, 36px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .18);
}

.contact-form h2 {
    font-size: 22px;
    margin-bottom: 18px;
}

.form-label {
    font-weight: 600;
    font-size: 14px;
    color: var(--hd-titres);
    margin-bottom: 6px;
}

.form-control,
.form-select {
    min-height: 46px;
    border-color: #C8CBCF;
    border-radius: var(--hd-rayon-champ);
    color: var(--hd-titres);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--hd-lien);
    box-shadow: 0 0 0 3px rgba(154, 98, 0, .15);
}

.form-control::placeholder {
    color: #7A7E82;
}

.form-control.is-invalid,
.form-select.is-invalid {
    border-color: #C81E2B;
}

.form-bas {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 20px;
}

.btn-loi {
    background: none;
    border: 0;
    min-height: 44px;
    color: var(--hd-texte);
    font-size: 13.5px;
    text-align: left;
}

/* Champ piège : invisible pour les personnes, rempli par les robots. */
.piege {
    position: absolute;
    left: -9999px;
}

/* Pied de page */
#footer {
    background: var(--hd-contact-fond);
    color: var(--hd-contact-texte);
    border-top: 1px solid rgba(128, 128, 128, .25);
    font-size: 14px;
}

.pied {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 24px;
    padding-block: 20px;
}

#footer a {
    color: var(--hd-contact-texte);
}

#footer a:hover {
    color: var(--hd-accent);
}

.modal-dialog {
    margin-block: 5vh;
}

/* Barre d'action du téléphone */
.barre-mobile {
    display: none;
}

/* Apparition à l'arrivée dans l'écran. Sans JS ou avec mouvement réduit, rien n'est caché. */
.reveler.cache {
    opacity: 0;
    transform: translateY(18px);
}

.reveler.cache.vu {
    opacity: 1;
    transform: none;
    transition: opacity 600ms cubic-bezier(.16, 1, .3, 1), transform 600ms cubic-bezier(.16, 1, .3, 1);
}

@media (max-width: 991.98px) {
    /* Mobile : la carte occupe le haut de la section, le contenu commence dessous. */
    .section-contact {
        --repere-x: 50%;
        --repere-y: 140px;
        padding-top: 220px;
    }

    .grille-services,
    .pourquoi,
    .devis,
    .contact {
        grid-template-columns: 1fr;
    }

    .service-demenagement {
        display: block;
    }

    .confiance ul {
        grid-template-columns: 1fr 1fr;
    }

    .confiance li {
        justify-content: flex-start;
    }

    .etapes {
        grid-template-columns: 1fr 1fr;
        gap: 32px 16px;
    }

    .etapes::before {
        display: none;
    }

    .grille-conseils {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 170px;
    }

    .conseil-8 {
        grid-column: span 2;
    }

    /* Le logo mobile occupe le haut : le texte du haut de page commence dessous. */
    .hero-contenu {
        padding: 100px 20px 44px;
    }

    #accueil::before {
        background:
            linear-gradient(180deg, rgba(30, 32, 35, .62), rgba(30, 32, 35, .72)),
            linear-gradient(rgba(240, 150, 20, .16), rgba(240, 150, 20, .16));
    }

    .barre-mobile {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1020;
        display: grid;
        grid-template-columns: 1fr 1.4fr;
        gap: 8px;
        padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
        background: #fff;
        box-shadow: 0 -2px 12px rgba(0, 0, 0, .12);
    }

    .barre-mobile .btn {
        min-height: 46px;
    }

    #footer {
        padding-bottom: 66px;
    }
}

@media (max-width: 575.98px) {
    .atouts,
    .plan-liste {
        grid-template-columns: 1fr;
        columns: 1;
    }

    .contact-liens {
        grid-template-columns: 1fr;
    }

    .hero-actions .btn {
        flex: 1 1 100%;
    }

    .onglets .nav-link {
        padding-inline: 8px;
        font-size: 14px;
    }
}

/* Fenêtre du devis : colonne de confiance, formulaire par groupes. */
.devis-fenetre {
    display: grid;
    grid-template-columns: 300px 1fr;
    overflow: hidden;
    border: 0;
    border-radius: 14px;
    max-height: calc(100dvh - 32px);
}

.modal-dialog:has(.devis-fenetre) {
    margin-block: 16px;
    min-height: calc(100dvh - 32px);
}

.devis-cote {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 28px 26px;
    color: #fff;
    background: var(--hd-contact-fond);
    overflow: hidden;
}

.devis-cote-photo {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% center;
}

.devis-cote::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(47, 51, 55, .78) 0%, rgba(47, 51, 55, .9) 55%, rgba(47, 51, 55, .96) 100%);
}

.devis-cote-logo {
    width: 150px;
    height: auto;
}

.devis-cote-liste {
    display: grid;
    gap: 14px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 15px;
    font-weight: 600;
}

.devis-cote-liste li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.devis-cote-liste .bi {
    flex: none;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--hd-accent);
    color: var(--hd-accent-texte);
    font-size: 14px;
}

.devis-cote-tel {
    margin-top: auto;
    font-size: 14px;
}

.devis-cote-tel span {
    display: block;
    color: #C9CDD1;
    margin-bottom: 4px;
}

.devis-cote-tel a {
    color: #fff;
    font-size: 21px;
    font-weight: 700;
    white-space: nowrap;
}

.devis-cote-tel a:hover {
    color: var(--hd-accent);
}

.devis-principal {
    min-width: 0;
    padding: 24px clamp(20px, 3vw, 36px);
    overflow-y: auto;
}

.devis-entete {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.devis-entete h2 {
    font-size: clamp(22px, 2.4vw, 28px);
    letter-spacing: -.015em;
}

.devis-groupe {
    margin-bottom: 14px;
}

.devis-groupe legend {
    float: none;
    width: auto;
    margin-bottom: 6px;
    padding: 0;
    color: var(--hd-titres);
    font-size: 15px;
    font-weight: 700;
}

.choix-services {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    border-radius: var(--hd-rayon);
}

.choix-services.is-invalid {
    outline: 2px solid #C81E2B;
    outline-offset: 3px;
}

.choix-service {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 62px;
    padding: 7px 6px;
    border: 1px solid #C8CBCF;
    border-radius: var(--hd-rayon);
    color: var(--hd-titres);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: background-color 150ms, border-color 150ms, transform 120ms;
}

.choix-service .bi {
    font-size: 22px;
    color: var(--hd-lien);
}

.choix-service:hover {
    border-color: var(--hd-accent);
    background: rgba(247, 166, 0, .08);
}

.btn-check:checked + .choix-service {
    background: var(--hd-accent);
    border-color: var(--hd-accent);
    color: var(--hd-accent-texte);
}

.btn-check:checked + .choix-service .bi {
    color: var(--hd-accent-texte);
}

.btn-check:focus-visible + .choix-service {
    outline: 2px solid var(--hd-lien);
    outline-offset: 2px;
}

.choix-service:active {
    transform: scale(.98);
}

#form-devis .row {
    --bs-gutter-y: 10px;
}

#form-devis .form-label {
    margin-bottom: 3px;
    font-size: 13.5px;
}

#form-devis .form-control,
#form-devis .form-select {
    min-height: 38px;
    padding-block: 6px;
    font-size: 15px;
}

#form-devis textarea.form-control {
    min-height: 58px;
}

#form-devis .form-bas {
    margin-top: 2px;
}

.tooltip-inner {
    max-width: none;
}

/* Message après un envoi */
.toast-zone {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1090;
    max-width: min(420px, calc(100vw - 32px));
}

.toast-envoi {
    width: auto;
    border: 0;
    border-left: 4px solid #2E8B57;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .22);
    color: var(--hd-titres);
}

.toast-envoi .toast-body {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    font-size: 15px;
}

.toast-envoi .bi-check-circle-fill {
    color: #2E8B57;
    font-size: 20px;
    line-height: 1.2;
}

.toast-envoi .btn-close {
    flex: none;
    margin-left: auto;
}

@media (max-width: 991.98px) {
    .devis-fenetre {
        grid-template-columns: 1fr;
    }

    .devis-cote {
        display: none;
    }

    .toast-zone {
        right: 16px;
        bottom: 74px;
    }
}

@media (max-width: 575.98px) {
    .choix-services {
        grid-template-columns: 1fr 1fr;
    }
}

/* Pages de service */
.service-page {
    font-weight: 600;
    font-size: 15px;
}

.page-tete {
    background: var(--hd-teinte);
    padding: 120px 0 56px;
}

.page-tete-grille {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
}

.fil {
    margin-bottom: 14px;
    font-size: 14px;
}

.fil .bi {
    font-size: 11px;
    margin-inline: 4px;
}

.page-tete h1 {
    font-size: clamp(32px, 4vw, 50px);
    line-height: 1.12;
    letter-spacing: -.02em;
    margin-bottom: 14px;
}

.page-tete p {
    font-size: 18px;
    margin-bottom: 24px;
}

.page-actions .btn-secondaire {
    background: #fff;
    border-color: var(--hd-trait);
    color: var(--hd-titres);
}

.page-photo {
    width: 100%;
    max-height: 380px;
    object-fit: cover;
    border-radius: var(--hd-rayon);
    box-shadow: var(--hd-ombre);
}

.page-corps {
    display: grid;
    grid-template-columns: 8fr 4fr;
    gap: clamp(32px, 5vw, 72px);
    padding-block: clamp(40px, 6vw, 72px);
}

.page-texte {
    min-width: 0;
    max-width: 72ch;
}

.page-texte section {
    margin-bottom: 36px;
}

.page-texte h2 {
    font-size: clamp(23px, 2.4vw, 29px);
    margin-bottom: 12px;
}

.page-liste {
    columns: 1;
}

.page-faq {
    --bs-accordion-border-color: var(--hd-trait);
    --bs-accordion-border-radius: var(--hd-rayon);
    --bs-accordion-inner-border-radius: var(--hd-rayon);
    --bs-accordion-active-bg: rgba(247, 166, 0, .12);
    --bs-accordion-active-color: var(--hd-titres);
    --bs-accordion-btn-color: var(--hd-titres);
    --bs-accordion-btn-focus-box-shadow: 0 0 0 2px var(--hd-lien);
}

.page-faq .accordion-button {
    font-weight: 600;
}

.page-cote {
    position: sticky;
    top: 90px;
    align-self: start;
    display: grid;
    gap: 20px;
}

.page-carte {
    background: var(--hd-contact-fond);
    color: #fff;
    border-radius: var(--hd-rayon);
    padding: 24px;
}

.page-carte h2 {
    color: #fff;
    font-size: 21px;
    margin-bottom: 16px;
}

.page-carte .devis-cote-liste {
    margin-bottom: 20px;
}

.page-liens h2 {
    font-size: 17px;
    margin-bottom: 8px;
}

.page-liens ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.page-liens a {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
}

/* Mentions légales et confidentialité */
.pied-legal {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px 18px;
}

.texte-legal h3 {
    margin: 20px 0 6px;
    font-size: 17px;
}

.texte-legal h3:first-of-type {
    margin-top: 0;
}

.legal-note {
    padding: 10px 14px;
    border-radius: var(--hd-rayon);
    background: var(--hd-teinte);
    font-size: 14px;
}

.texte-legal mark {
    background: #FFE08A;
    color: #33260F;
    padding: 0 4px;
}

/* Pied : une ligne de liens, séparés par une barre. */
.pied-pages {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    gap: 4px 0;
    padding-block: 18px 0;
    font-size: 13.5px;
}

.pied-pages > * + *::before {
    content: "/";
    display: inline-block;
    margin-inline: 10px;
    opacity: .5;
}

@media (max-width: 1199.98px) {
    .grille-services {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 991.98px) {
    .grille-services {
        grid-template-columns: 1fr;
    }

    .page-tete {
        padding-top: 96px;
    }

    .page-tete-grille,
    .page-corps {
        grid-template-columns: 1fr;
    }

    .page-cote {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .choix-services {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Page 404 */
.page-404 {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-align: center;
    padding: 24px;
}

