/********** Template CSS **********/
:root {
    --primary: #1587d7;
    --light: #F1F8FF;
    --dark: #0F172B;
}

.fw-medium {
    font-weight: 500 !important;
}

.fw-semi-bold {
    font-weight: 600 !important;
}

/*** Entête : colonne du menu ***/
/* Logo (col-lg-2 = 16,666 %) + menu (col-lg-10 = 83,333 %) ne font pas
   tout à fait 100 % : avec la mise à l'échelle Windows (125 %, 150 %),
   l'arrondi laissait un trait d'un pixel au bord droit de l'entête.
   La colonne du menu prend donc exactement l'espace restant. */
@media (min-width: 992px) {
    .container-fluid.bg-dark.px-0 > .row.gx-0 > .col-lg-10 {
        flex: 1 1 0;
        width: auto;
    }
}

/*** Bouton retour en haut ***/
/* Pastille ronde avec anneau de progression du défilement.
   Le contenu (SVG) est injecté par main.js.
   Le bouton porte aussi .btn-primary : les sélecteurs incluent
   .btn-primary pour l'emporter sur ".btn.btn-primary { color: #FFF }"
   déclaré plus bas, sinon la flèche serait blanche sur fond blanc. */
.btn.btn-primary.back-to-top,
.btn.back-to-top {
    position: fixed;
    right: 45px;
    bottom: 45px;
    z-index: 99;
    width: 54px;
    height: 54px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: #FFFFFF;
    color: var(--primary);
    box-shadow: 0 10px 28px rgba(15, 23, 43, .18), 0 2px 6px rgba(15, 23, 43, .08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(.9);
    transition: opacity .35s ease, transform .35s cubic-bezier(.22, .9, .3, 1),
                visibility 0s linear .35s, background .25s ease, color .25s ease, box-shadow .25s ease;
}

.btn.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    transition-delay: 0s;
}

.btn.btn-primary.back-to-top:hover,
.btn.btn-primary.back-to-top:focus-visible,
.btn.back-to-top:hover,
.btn.back-to-top:focus-visible {
    background: var(--primary);
    color: #FFFFFF;
    box-shadow: 0 14px 32px rgba(21, 135, 215, .38);
    transform: translateY(-3px) scale(1);
}

.btn.back-to-top:focus-visible {
    outline: 3px solid rgba(21, 135, 215, .35);
    outline-offset: 3px;
}

.back-to-top .btt-ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    pointer-events: none;
}

.back-to-top .btt-ring-track {
    fill: none;
    stroke: rgba(21, 135, 215, .14);
    stroke-width: 3;
}

.back-to-top .btt-ring-progress {
    fill: none;
    stroke: var(--primary);
    stroke-width: 3;
    stroke-linecap: round;
    transition: stroke-dashoffset .1s linear, stroke .25s ease;
}

.btn.back-to-top:hover .btt-ring-track { stroke: rgba(255, 255, 255, .25); }
.btn.back-to-top:hover .btt-ring-progress { stroke: #FFFFFF; }

.back-to-top .btt-arrow {
    position: relative;
    width: 20px;
    height: 20px;
    transition: transform .3s cubic-bezier(.22, .9, .3, 1);
}

.btn.back-to-top:hover .btt-arrow { transform: translateY(-3px); }

@media (max-width: 480px) {
    .btn.btn-primary.back-to-top,
    .btn.back-to-top { right: 16px; bottom: 16px; width: 48px; height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
    .btn.back-to-top,
    .back-to-top .btt-arrow,
    .back-to-top .btt-ring-progress { transition: none; }
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    text-transform: uppercase;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 2px;
}


/*** Navbar ***/
.navbar-dark .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-dark .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }
}

/* Menu déroulant "Boutique" : panneau arrondi, icône + sous-titre par lien
   (icônes et sous-titres en CSS pour ne pas modifier le menu de chaque page) */
.navbar .dropdown-menu {
    min-width: 270px;
    padding: 8px;
    border: 1px solid #E5EAF2;
    border-radius: 16px !important;
    background: #FFFFFF;
    box-shadow: 0 24px 50px rgba(15, 23, 43, .18), 0 4px 12px rgba(15, 23, 43, .06);
}

.navbar .dropdown-menu.show {
    animation: menu-apparition .22s cubic-bezier(.2, .8, .3, 1);
}

@keyframes menu-apparition {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: none; }
}

.navbar .dropdown-item {
    display: grid;
    grid-template-columns: 42px 1fr;
    grid-template-rows: auto auto;
    column-gap: 12px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: .9rem;
    font-weight: 700;
    color: var(--dark);
    white-space: normal;
    transition: background-color .2s ease, color .2s ease;
}

.navbar .dropdown-item + .dropdown-item {
    margin-top: 2px;
}

/* Icône */
.navbar .dropdown-item::before {
    grid-row: 1 / span 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(21, 135, 215, .1);
    color: var(--primary);
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: .95rem;
    content: "\f054";
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.navbar .dropdown-item[href$="/superette"]::before     { content: "\f07a"; } /* panier */
.navbar .dropdown-item[href$="/recharges-gaz"]::before { content: "\f06d"; } /* flamme */

/* Sous-titre */
.navbar .dropdown-item::after {
    grid-column: 2;
    margin-top: 1px;
    font-family: 'Heebo', sans-serif;
    font-size: .76rem;
    font-weight: 400;
    color: #8A93A3;
}

.navbar .dropdown-item[href$="/superette"]::after     { content: "Produits du quotidien"; }
.navbar .dropdown-item[href$="/recharges-gaz"]::after { content: "Bouteilles de gaz & recharges"; }

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
    background: #F1F7FD;
    color: var(--primary);
}

.navbar .dropdown-item:hover::before,
.navbar .dropdown-item:focus::before,
.navbar .dropdown-item.active::before {
    background: linear-gradient(135deg, #22A6F5 0%, var(--primary) 60%, #0F6DB8 100%);
    color: #FFFFFF;
    transform: scale(1.05);
}

.navbar .dropdown-item.active,
.navbar .dropdown-item:active {
    background: #F1F7FD;
    color: var(--primary);
}

/* Flèche du lien "Boutique" qui pivote à l'ouverture */
.navbar .dropdown-toggle::after {
    transition: transform .25s ease;
}

.navbar .dropdown.show > .dropdown-toggle::after,
.navbar .dropdown-toggle.show::after {
    transform: rotate(180deg);
}

/* Menu mobile (fond sombre) : sous-menu intégré, sans panneau blanc */
@media (max-width: 991.98px) {
    .navbar .dropdown-menu {
        min-width: 0;
        margin: 0 0 8px !important;
        padding: 6px;
        border: 1px solid rgba(255, 255, 255, .08);
        background: rgba(255, 255, 255, .04);
        box-shadow: none;
    }

    .navbar .dropdown-item {
        color: #FFFFFF;
    }

    .navbar .dropdown-item::before {
        background: rgba(21, 135, 215, .2);
    }

    .navbar .dropdown-item::after {
        color: rgba(255, 255, 255, .55);
    }

    .navbar .dropdown-item:hover,
    .navbar .dropdown-item:focus,
    .navbar .dropdown-item.active {
        background: rgba(255, 255, 255, .06);
        color: #FFFFFF;
    }
}

/* Petits ordinateurs / tablettes en paysage (992-1299px) : le menu complet
   passait sur plusieurs lignes ("STUDIOS / & / APPARTS"). On le resserre. */
@media (min-width: 992px) and (max-width: 1299.98px) {
    .navbar-dark .navbar-nav .nav-link {
        margin-right: clamp(10px, 1.6vw, 20px);
        font-size: 13px;
        white-space: nowrap;
    }

    .navbar-dark .navbar-nav .dropdown-toggle::after {
        margin-left: .2em;
    }

    .navbar .btn.btn-primary.rounded-0 {
        padding-left: 14px !important;
        padding-right: 14px !important;
        font-size: 13px;
        white-space: nowrap;
    }

    .navbar .btn.btn-primary.rounded-0 .fa-arrow-right {
        margin-left: .5rem !important;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 43, .7);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

/*** Bannière d'accueil : transitions variées ***/
/* Le carrousel est en mode "carousel-fade" (images superposées).
   La nouvelle image apparaît par-dessus l'ancienne avec un effet choisi
   par main.js (classe .fx-*), différent à chaque changement. L'ancienne
   reste affichée dessous jusqu'à la fin de l'effet. */
#header-carousel {
    --fx-duree: 1.2s;
    overflow: hidden;
}

#header-carousel.carousel-fade .carousel-item {
    transition: none;
}

/* Image entrante : au-dessus, animée par l'effet choisi */
#header-carousel.carousel-fade .carousel-item-next.carousel-item-start,
#header-carousel.carousel-fade .carousel-item-prev.carousel-item-end,
#header-carousel.carousel-fade .carousel-item.active {
    opacity: 1;
    z-index: 1;
}

/* Image sortante (elle porte encore .active) : reste visible SOUS la
   nouvelle pendant l'effet. Doit rester après la règle précédente.
   Bootstrap lit ce délai pour savoir quand la transition se termine. */
#header-carousel.carousel-fade .carousel-item.active.carousel-item-start,
#header-carousel.carousel-fade .carousel-item.active.carousel-item-end {
    opacity: 1;
    z-index: 0;
    transition: opacity 0s var(--fx-duree);
}

#header-carousel .carousel-item.fx-zoom     { animation: fx-zoom     var(--fx-duree) cubic-bezier(.22, .9, .3, 1) both; }
#header-carousel .carousel-item.fx-cercle   { animation: fx-cercle   var(--fx-duree) cubic-bezier(.65, 0, .35, 1) both; }
#header-carousel .carousel-item.fx-rideau   { animation: fx-rideau   var(--fx-duree) cubic-bezier(.65, 0, .35, 1) both; }
#header-carousel .carousel-item.fx-montee   { animation: fx-montee   var(--fx-duree) cubic-bezier(.65, 0, .35, 1) both; }
#header-carousel .carousel-item.fx-flou     { animation: fx-flou     var(--fx-duree) ease-out both; }
#header-carousel .carousel-item.fx-diagonale { animation: fx-diagonale var(--fx-duree) cubic-bezier(.65, 0, .35, 1) both; }

@keyframes fx-zoom {
    from { opacity: 0; transform: scale(1.25); }
    to   { opacity: 1; transform: scale(1); }
}

@keyframes fx-cercle {
    from { clip-path: circle(0% at 50% 50%); }
    to   { clip-path: circle(75% at 50% 50%); }
}

@keyframes fx-rideau {
    from { clip-path: inset(0 50% 0 50%); }
    to   { clip-path: inset(0 0 0 0); }
}

@keyframes fx-montee {
    from { clip-path: inset(100% 0 0 0); transform: translateY(6%); }
    to   { clip-path: inset(0 0 0 0); transform: translateY(0); }
}

@keyframes fx-flou {
    from { opacity: 0; filter: blur(18px) brightness(1.3); transform: scale(1.05); }
    to   { opacity: 1; filter: blur(0) brightness(1); transform: scale(1); }
}

@keyframes fx-diagonale {
    from { clip-path: polygon(0 0, 0 0, 0 0, 0 0); }
    to   { clip-path: polygon(0 0, 200% 0, 0 200%, 0 0); }
}

/* Légende : voile en dégradé + contenu centré */
#header-carousel .banniere-legende {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    background:
        radial-gradient(ellipse at 50% 45%, rgba(15, 23, 43, .35) 0%, rgba(15, 23, 43, 0) 65%),
        linear-gradient(180deg, rgba(15, 23, 43, .55) 0%, rgba(15, 23, 43, .45) 45%, rgba(15, 23, 43, .80) 100%);
}

#header-carousel .banniere-contenu {
    /* 80 % max : le texte reste entre les flèches précédent / suivant */
    max-width: min(820px, 80%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Étiquette au-dessus du titre */
#header-carousel .banniere-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    margin-bottom: 22px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    font-family: 'Heebo', sans-serif;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #FFFFFF;
}

/* Titre */
#header-carousel .banniere-titre {
    margin: 0 0 34px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: clamp(2.1rem, 5.2vw, 4.4rem);
    line-height: 1.08;
    letter-spacing: -.02em;
    color: #FFFFFF;
    text-shadow: 0 4px 28px rgba(0, 0, 0, .35);
    text-wrap: balance;
}

/* Boutons */
#header-carousel .banniere-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

#header-carousel .banniere-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 56px;
    padding: 0 30px;
    border-radius: 999px;
    font-family: 'Heebo', sans-serif;
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease;
}

#header-carousel .banniere-btn:hover { transform: translateY(-2px); }

#header-carousel .banniere-btn:focus-visible {
    outline: 3px solid rgba(143, 211, 255, .8);
    outline-offset: 3px;
    box-shadow: none;
}

#header-carousel .banniere-btn-principal {
    padding-right: 8px;
    border: none;
    background: linear-gradient(135deg, #22A6F5 0%, var(--primary) 55%, #0F6DB8 100%);
    color: #FFFFFF;
    box-shadow: 0 12px 30px rgba(21, 135, 215, .45);
}

#header-carousel .banniere-btn-principal:hover {
    color: #FFFFFF;
    box-shadow: 0 16px 36px rgba(21, 135, 215, .6);
}

#header-carousel .banniere-btn-icone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .2);
    font-size: .85rem;
    transition: transform .25s ease, background-color .25s ease;
}

#header-carousel .banniere-btn-principal:hover .banniere-btn-icone {
    transform: translateX(4px);
    background: rgba(255, 255, 255, .3);
}

#header-carousel .banniere-btn-verre {
    border: 1.5px solid rgba(255, 255, 255, .7);
    background: rgba(255, 255, 255, .1);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: #FFFFFF;
}

#header-carousel .banniere-btn-verre i { font-size: 1rem; }

#header-carousel .banniere-btn-verre:hover {
    border-color: #FFFFFF;
    background: #FFFFFF;
    color: var(--dark);
}

/* Textes : l'ancien s'efface tout de suite, le nouveau apparaît quand
   l'image est presque en place (évite deux textes superposés).
   Attention : uniquement des "animation", jamais de "transition" ici :
   Bootstrap 5.0 prendrait leur événement transitionend pour la fin du
   changement d'image et couperait l'effet. */
#header-carousel .carousel-item.active.carousel-item-start .carousel-caption > div,
#header-carousel .carousel-item.active.carousel-item-end .carousel-caption > div {
    animation: fx-texte-sortie .3s ease both;
}

@keyframes fx-texte-sortie {
    from { opacity: 1; }
    to   { opacity: 0; }
}

#header-carousel .carousel-item-next.carousel-item-start .carousel-caption > div,
#header-carousel .carousel-item-prev.carousel-item-end .carousel-caption > div {
    animation: fx-texte var(--fx-duree) ease both;
}

@keyframes fx-texte {
    0%, 45% { opacity: 0; }
    100%    { opacity: 1; }
}

/* Léger zoom continu sur l'image affichée (effet "Ken Burns") */
#header-carousel .carousel-item img {
    transform-origin: 50% 50%;
}

#header-carousel .carousel-item.active img {
    animation: fx-kenburns 9s ease-out both;
}

@keyframes fx-kenburns {
    from { transform: scale(1); }
    to   { transform: scale(1.08); }
}

/* Animations réduites (réglage système) : simple fondu, sans zoom */
@media (prefers-reduced-motion: reduce) {
    #header-carousel .carousel-item[class*="fx-"],
    #header-carousel .carousel-item.active img {
        animation: none;
    }
    #header-carousel.carousel-fade .carousel-item {
        opacity: 0;
        transition: opacity .6s ease;
    }
    #header-carousel.carousel-fade .carousel-item.active,
    #header-carousel.carousel-fade .carousel-item-next.carousel-item-start,
    #header-carousel.carousel-fade .carousel-item-prev.carousel-item-end {
        opacity: 1;
    }
    #header-carousel.carousel-fade .carousel-item.active.carousel-item-start,
    #header-carousel.carousel-fade .carousel-item.active.carousel-item-end {
        opacity: 0;
        transition: opacity 0s .6s;
    }
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 520px;
    }

    /* height !important : l'image porte la classe Bootstrap .h-75
       (75 % en !important), qui laissait une bande grise sous la photo. */
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100% !important;
        object-fit: cover;
    }

    /* Flèches plus discrètes pour ne pas gêner le texte */
    #header-carousel .carousel-control-prev,
    #header-carousel .carousel-control-next {
        width: 8%;
    }

    #header-carousel .carousel-control-prev-icon,
    #header-carousel .carousel-control-next-icon {
        width: 1.8rem;
        height: 1.8rem;
    }
}

@media (max-width: 575.98px) {
    /* Bannière moins haute sur téléphone (≈ la moitié de l'écran) */
    #header-carousel .carousel-item {
        min-height: 430px;
    }

    #header-carousel .banniere-legende {
        padding: 0 20px 56px;
    }

    /* Sur téléphone, on change d'image en glissant du doigt */
    #header-carousel .carousel-control-prev,
    #header-carousel .carousel-control-next {
        display: none;
    }

    #header-carousel .banniere-contenu {
        max-width: 100%;
    }

    #header-carousel .banniere-badge {
        max-width: 100%;
        padding: 6px 12px;
        margin-bottom: 14px;
        font-size: clamp(.56rem, 2.6vw, .68rem);
        letter-spacing: .06em;
        white-space: nowrap;
    }

    #header-carousel .banniere-titre {
        margin-bottom: 22px;
        font-size: clamp(1.75rem, 8.4vw, 2.3rem);
    }

    /* Les deux boutons côte à côte, même largeur */
    #header-carousel .banniere-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
        max-width: 400px;
        gap: 10px;
    }

    #header-carousel .banniere-btn {
        gap: 8px;
        min-width: 0;
        min-height: 46px;
        padding: 6px 12px;
        font-size: clamp(.62rem, 2.9vw, .74rem);
        letter-spacing: .03em;
        line-height: 1.2;
        text-align: center;
    }

    #header-carousel .banniere-btn-principal {
        padding-right: 5px;
    }

    #header-carousel .banniere-btn-icone {
        flex-shrink: 0;
        width: 32px;
        height: 32px;
        font-size: .72rem;
    }

    #header-carousel .banniere-btn-verre i {
        font-size: .85rem;
    }
}

/* Petits téléphones : icône du bouton secondaire masquée pour garder le texte sur une ligne */
@media (max-width: 439.98px) {
    #header-carousel .banniere-btn {
        padding: 6px 8px;
        letter-spacing: .01em;
    }

    #header-carousel .banniere-btn-principal {
        padding-left: 12px;
        padding-right: 5px;
    }

    #header-carousel .banniere-btn-verre i {
        display: none;
    }
}

/*** Commande de gaz (page Recharges & Gaz) ***/
.gaz-commande {
    background: linear-gradient(180deg, #FFFFFF 0%, #F3F8FE 100%);
}

.gaz-intro {
    max-width: 560px;
    margin: 0 auto 40px;
    color: #6B7280;
}

.gaz-grille {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: start;
    gap: 28px;
}

.gaz-principal {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gaz-etape {
    padding: 26px 28px;
    border: 1px solid #E5EAF2;
    border-radius: 22px;
    background: #FFFFFF;
    box-shadow: 0 10px 30px rgba(15, 23, 43, .05);
}

.gaz-etape-titre {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
}

.gaz-etape-titre span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #22A6F5 0%, var(--primary) 60%, #0F6DB8 100%);
    color: #FFFFFF;
    font-size: .85rem;
}

/* 1. Type de commande */
.gaz-types {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.gaz-type input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.gaz-type-carte {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    height: 100%;
    padding: 16px 18px;
    border: 2px solid #E5EAF2;
    border-radius: 16px;
    background: #FFFFFF;
    cursor: pointer;
    transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.gaz-type-carte:hover {
    border-color: rgba(21, 135, 215, .45);
}

.gaz-type-icone {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(21, 135, 215, .1);
    color: var(--primary);
    font-size: 1.05rem;
    transition: background-color .2s ease, color .2s ease;
}

.gaz-type-texte {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.gaz-type-texte strong {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: var(--dark);
}

.gaz-type-texte small {
    margin-top: 2px;
    font-size: .8rem;
    color: #6B7280;
}

.gaz-type-coche {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border: 2px solid #D5DEEA;
    border-radius: 50%;
    color: transparent;
    font-size: .6rem;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.gaz-type input:checked + .gaz-type-carte {
    border-color: var(--primary);
    background: rgba(21, 135, 215, .05);
    box-shadow: 0 8px 22px rgba(21, 135, 215, .14);
}

.gaz-type input:checked + .gaz-type-carte .gaz-type-icone {
    background: linear-gradient(135deg, #22A6F5 0%, var(--primary) 60%, #0F6DB8 100%);
    color: #FFFFFF;
}

.gaz-type input:checked + .gaz-type-carte .gaz-type-coche {
    border-color: var(--primary);
    background: var(--primary);
    color: #FFFFFF;
}

.gaz-type input:focus-visible + .gaz-type-carte {
    outline: 3px solid rgba(21, 135, 215, .4);
    outline-offset: 2px;
}

/* 2. Lignes de bouteilles */
.gaz-lignes {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Ligne : la taille sur toute la largeur, puis opération / quantité / prix */
.gaz-ligne {
    display: grid;
    grid-template-columns: auto auto 1fr auto;
    grid-template-areas:
        "taille taille taille suppr"
        "op qte prix prix";
    align-items: end;
    gap: 14px;
    padding: 16px;
    border: 1px solid #E5EAF2;
    border-radius: 16px;
    background: #F8FAFD;
    transition: border-color .2s ease, background-color .2s ease;
}

.gaz-ligne:focus-within {
    border-color: rgba(21, 135, 215, .45);
    background: #FFFFFF;
}

.gaz-ligne-nouvelle {
    animation: gaz-ligne-entree .3s ease;
}

@keyframes gaz-ligne-entree {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: none; }
}

.gaz-ligne-taille { grid-area: taille; min-width: 0; }
.gaz-ligne-op     { grid-area: op; }
.gaz-ligne-qte    { grid-area: qte; }
.gaz-ligne-prix   { grid-area: prix; }
.gaz-ligne-suppr  { grid-area: suppr; }

.gaz-ligne-champ > label,
.gaz-ligne-label {
    display: block;
    margin-bottom: 6px;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #6B7280;
}

.gaz-select {
    width: 100%;
    min-width: 0;
    text-overflow: ellipsis;
    height: 46px;
    padding: 0 36px 0 14px;
    border: 1px solid #D5DEEA;
    border-radius: 12px;
    background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%236B7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 12px;
    -webkit-appearance: none;
    appearance: none;
    font-family: 'Heebo', sans-serif;
    font-size: .95rem;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
}

.gaz-select:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(21, 135, 215, .15);
}

/* Achat / Échange */
.gaz-segment {
    display: inline-flex;
    padding: 4px;
    border-radius: 12px;
    background: #E9EEF5;
}

.gaz-segment input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.gaz-segment span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 38px;
    padding: 0 14px;
    border-radius: 9px;
    font-size: .85rem;
    font-weight: 600;
    color: #6B7280;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.gaz-segment span i {
    font-size: .8rem;
}

.gaz-segment input:checked + span {
    background: #FFFFFF;
    color: var(--primary);
    box-shadow: 0 3px 10px rgba(15, 23, 43, .1);
}

.gaz-segment input:focus-visible + span {
    outline: 2px solid var(--primary);
}

/* Quantité */
.gaz-stepper {
    display: inline-flex;
    align-items: center;
    height: 46px;
    border: 1px solid #D5DEEA;
    border-radius: 12px;
    background: #FFFFFF;
    overflow: hidden;
}

.gaz-stepper button {
    width: 38px;
    height: 100%;
    border: none;
    background: transparent;
    color: var(--dark);
    font-size: .75rem;
    transition: background-color .15s ease, color .15s ease;
}

.gaz-stepper button:hover {
    background: rgba(21, 135, 215, .1);
    color: var(--primary);
}

.gaz-stepper input {
    width: 46px;
    height: 100%;
    border: none;
    border-left: 1px solid #EEF1F6;
    border-right: 1px solid #EEF1F6;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    color: var(--dark);
    -moz-appearance: textfield;
}

.gaz-stepper input::-webkit-outer-spin-button,
.gaz-stepper input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.gaz-stepper input:focus {
    outline: none;
    background: #F3F8FE;
}

/* Prix de la ligne */
.gaz-ligne-prix {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    min-height: 46px;
    text-align: right;
}

.gaz-ligne-prix small {
    font-size: .76rem;
    color: #8A93A3;
    white-space: nowrap;
}

.gaz-ligne-prix strong {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    white-space: nowrap;
}

.gaz-ligne-vide .gaz-ligne-prix strong {
    color: #C1C8D3;
}

.gaz-ligne-suppr {
    width: 42px;
    height: 46px;
    border: none;
    border-radius: 12px;
    background: transparent;
    color: #9AA3B2;
    transition: background-color .2s ease, color .2s ease;
}

.gaz-ligne-suppr:hover:not(:disabled) {
    background: #FDECEE;
    color: #D63649;
}

.gaz-ligne-suppr:disabled {
    opacity: .35;
    cursor: default;
}

.gaz-ajouter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 12px;
    padding: 14px;
    border: 2px dashed #C9D6E6;
    border-radius: 16px;
    background: transparent;
    color: var(--primary);
    font-weight: 600;
    transition: background-color .2s ease, border-color .2s ease;
}

.gaz-ajouter:hover {
    border-color: var(--primary);
    background: rgba(21, 135, 215, .05);
}

/* 3. Coordonnées : champs avec icône et libellé flottant */
.gaz-champs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.gaz-champ {
    position: relative;
}

.gaz-champ-large {
    grid-column: 1 / -1;
}

.gaz-champ > i {
    position: absolute;
    top: 21px;
    left: 16px;
    z-index: 1;
    color: #9AA3B2;
    font-size: .9rem;
    transition: color .2s ease;
}

.gaz-champ input,
.gaz-champ textarea {
    display: block;
    width: 100%;
    padding: 24px 16px 8px 44px;
    border: 1px solid #D5DEEA;
    border-radius: 14px;
    background: #FFFFFF;
    font-size: .98rem;
    color: var(--dark);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.gaz-champ textarea {
    resize: vertical;
    min-height: 96px;
}

.gaz-champ label {
    position: absolute;
    top: 17px;
    left: 44px;
    font-size: .95rem;
    color: #8A93A3;
    pointer-events: none;
    transform-origin: left top;
    transition: transform .18s ease, color .18s ease;
}

.gaz-champ input:focus,
.gaz-champ textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(21, 135, 215, .15);
}

.gaz-champ input:focus ~ label,
.gaz-champ textarea:focus ~ label,
.gaz-champ input:not(:placeholder-shown) ~ label,
.gaz-champ textarea:not(:placeholder-shown) ~ label {
    transform: translateY(-10px) scale(.76);
    color: var(--primary);
}

.gaz-champ:focus-within > i {
    color: var(--primary);
}

/* Récapitulatif */
.gaz-recap {
    position: sticky;
    top: 20px;
    padding: 24px;
    border-radius: 22px;
    background: #FFFFFF;
    box-shadow: 0 24px 60px rgba(15, 23, 43, .12);
    border: 1px solid #E5EAF2;
}

.gaz-recap-entete {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 16px;
}

.gaz-recap-entete h5 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
}

.gaz-recap-entete h5 i {
    color: var(--primary);
}

.gaz-recap-tarif {
    padding: 4px 10px;
    border-radius: 999px;
    background: #F1F4F8;
    color: #6B7280;
    font-size: .72rem;
    font-weight: 600;
    white-space: nowrap;
}

.gaz-recap-tarif.gros {
    background: rgba(21, 135, 215, .12);
    color: var(--primary);
}

.gaz-recap-lignes {
    margin: 0 0 4px;
    padding: 0;
    list-style: none;
}

.gaz-recap-lignes li {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px dashed #E5EAF2;
}

.gaz-recap-lignes li span {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.gaz-recap-lignes li strong {
    font-size: .9rem;
    font-weight: 600;
    color: var(--dark);
}

.gaz-recap-lignes li small {
    font-size: .76rem;
    color: #8A93A3;
}

.gaz-recap-lignes li b {
    font-family: 'Montserrat', sans-serif;
    font-size: .92rem;
    color: var(--dark);
    white-space: nowrap;
}

.gaz-recap-vide {
    margin: 0 0 12px;
    padding: 14px;
    border-radius: 12px;
    background: #F6F9FC;
    color: #8A93A3;
    font-size: .88rem;
    text-align: center;
}

/* Progression vers le tarif grossiste */
.gaz-palier {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #FFF8EA;
    color: #8A5A00;
    font-size: .84rem;
}

.gaz-palier i {
    margin-right: 6px;
}

.gaz-palier-barre {
    height: 6px;
    margin-top: 8px;
    border-radius: 6px;
    background: rgba(217, 138, 0, .18);
    overflow: hidden;
}

.gaz-palier-barre span {
    display: block;
    height: 100%;
    border-radius: 6px;
    background: #F0A400;
    transition: width .35s ease;
}

.gaz-palier.atteint {
    background: #ECF8F1;
    color: #157A46;
}

.gaz-palier.atteint .gaz-palier-barre {
    background: rgba(30, 158, 90, .15);
}

.gaz-palier.atteint .gaz-palier-barre span {
    background: #1E9E5A;
}

.gaz-suggestion {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    margin-top: 14px;
    padding: 12px 14px;
    border: 1px solid rgba(21, 135, 215, .35);
    border-radius: 14px;
    background: rgba(21, 135, 215, .06);
    color: var(--dark);
    font-size: .84rem;
    text-align: left;
    transition: background-color .2s ease;
}

.gaz-suggestion i {
    margin-top: 3px;
    color: var(--primary);
}

.gaz-suggestion:hover {
    background: rgba(21, 135, 215, .12);
}

.gaz-recap-total {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 10px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 2px solid #EEF1F6;
}

.gaz-recap-total span {
    display: flex;
    flex-direction: column;
    font-weight: 600;
    color: var(--dark);
}

.gaz-recap-total small {
    font-size: .76rem;
    font-weight: 400;
    color: #8A93A3;
}

.gaz-recap-total strong {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
    color: var(--primary);
    white-space: nowrap;
}

.gaz-recap-devis {
    display: flex;
    gap: 8px;
    margin: 10px 0 0;
    font-size: .78rem;
    color: #8A5A00;
}

.gaz-recap-devis i {
    margin-top: 3px;
}

.gaz-envoyer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 56px;
    margin-top: 18px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #22A6F5 0%, var(--primary) 55%, #0F6DB8 100%);
    color: #FFFFFF;
    font-size: .92rem;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    box-shadow: 0 12px 28px rgba(21, 135, 215, .38);
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.gaz-envoyer:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(21, 135, 215, .5);
}

.gaz-envoyer.inactif {
    opacity: .55;
    box-shadow: none;
}

.gaz-envoyer.secousse {
    animation: gaz-secousse .45s ease;
}

@keyframes gaz-secousse {
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}

.gaz-message {
    margin: 10px 0 0;
    padding: 10px 12px;
    border-radius: 12px;
    background: #FDF2F3;
    color: #A61B29;
    font-size: .84rem;
    text-align: center;
}

.gaz-recap-mention {
    margin: 12px 0 0;
    font-size: .76rem;
    color: #8A93A3;
    text-align: center;
}

.gaz-recap-mention i {
    margin-right: 6px;
}

/* Barre de total fixe (mobile / tablette uniquement) */
.gaz-barre-mobile {
    display: none;
}

@media (max-width: 991.98px) {
    .gaz-barre-mobile {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: 12px;
        z-index: 1030;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 10px 10px 10px 20px;
        border-radius: 18px;
        background: var(--dark);
        color: #FFFFFF;
        box-shadow: 0 16px 40px rgba(15, 23, 43, .35);
        transform: translateY(140%);
        transition: transform .3s cubic-bezier(.2, .8, .3, 1);
    }

    .gaz-barre-mobile.visible {
        transform: none;
    }

    .gaz-barre-mobile span {
        display: flex;
        flex-direction: column;
        line-height: 1.2;
    }

    .gaz-barre-mobile small {
        font-size: .74rem;
        color: rgba(255, 255, 255, .65);
    }

    .gaz-barre-mobile strong {
        font-family: 'Montserrat', sans-serif;
        font-size: 1.3rem;
        font-weight: 700;
    }

    .gaz-barre-mobile a {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 12px 16px;
        border-radius: 12px;
        background: var(--primary);
        color: #FFFFFF;
        font-size: .82rem;
        font-weight: 600;
    }

    /* La barre ne doit pas masquer la bulle WhatsApp ni la flèche de retour */
    body:has(.gaz-barre-mobile.visible) .back-to-top,
    body:has(.gaz-barre-mobile.visible) .wa-widget {
        opacity: 0 !important;
        pointer-events: none !important;
    }
}

/* Messages après envoi */
.gaz-erreurs {
    display: flex;
    gap: 12px;
    max-width: 900px;
    margin: 0 auto 24px;
    padding: 14px 18px;
    border: 1px solid #F5C2C7;
    border-radius: 14px;
    background: #FDF2F3;
    color: #A61B29;
}

.gaz-erreurs i { margin-top: 4px; }
.gaz-erreurs ul { margin: 0; padding-left: 18px; }

.gaz-succes {
    max-width: 620px;
    margin: 0 auto 32px;
    padding: 30px;
    border: 1px solid #BFE8D0;
    border-radius: 22px;
    background: linear-gradient(135deg, #F0FBF5 0%, #E6F7EE 100%);
    text-align: center;
}

.gaz-succes-icone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: #1E9E5A;
    color: #FFFFFF;
    font-size: 1.4rem;
    box-shadow: 0 10px 24px rgba(30, 158, 90, .35);
}

.gaz-succes h3 {
    font-size: 1.3rem;
}

.gaz-succes-lignes {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    text-align: left;
}

.gaz-succes-lignes li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px dashed #BFE8D0;
}

.gaz-succes-total {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    font-weight: 600;
}

.gaz-succes-total strong {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    color: #157A46;
}

/* Tablette : récapitulatif sous le formulaire */
@media (max-width: 991.98px) {
    .gaz-grille {
        grid-template-columns: minmax(0, 1fr);
    }

    .gaz-recap {
        position: static;
    }
}

/* Téléphone */
@media (max-width: 575.98px) {
    .gaz-etape {
        padding: 18px 12px;
        border-radius: 18px;
    }

    .gaz-types,
    .gaz-champs {
        grid-template-columns: 1fr;
    }

    /* Ligne compacte sur 2 rangées : [taille | prix] puis [achat/échange · quantité · suppr.] */
    .gaz-lignes {
        gap: 8px;
    }

    /* Flex plutôt que grille : la 2e rangée ne doit pas élargir la 1re */
    .gaz-ligne {
        position: relative;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px 8px;
        padding: 10px;
        border-radius: 14px;
    }

    .gaz-ligne-taille { order: 1; flex: 1 1 0; }
    .gaz-ligne-prix   { order: 2; flex: none; }
    .gaz-ligne-op     { order: 3; }
    .gaz-ligne-qte    { order: 4; }

    /* Saut de ligne forcé avant « Achat / Échange » */
    .gaz-ligne::after {
        content: "";
        order: 2;
        flex-basis: 100%;
        height: 0;
        margin-top: -10px; /* annule l'espacement en double créé par ce saut */
    }

    .gaz-ligne .gaz-ligne-prix {
        padding-right: 12px; /* laisse la place à la pastille corbeille */
    }

    /* Corbeille : petite pastille dans le coin de la ligne */
    .gaz-ligne .gaz-ligne-suppr {
        position: absolute;
        top: -8px;
        right: -8px;
        width: 26px;
        height: 26px;
        border: 1px solid #E5EAF2;
        border-radius: 50%;
        background: #FFFFFF;
        font-size: .7rem;
        box-shadow: 0 2px 6px rgba(15, 23, 43, .1);
    }

    .gaz-ligne .gaz-ligne-suppr:disabled {
        display: none;
    }

    /* Libellés masqués visuellement (gardés pour les lecteurs d'écran) */
    .gaz-ligne-champ > label,
    .gaz-ligne-label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .gaz-select {
        height: 42px;
        padding-left: 12px;
        font-size: .9rem;
    }

    .gaz-ligne-prix {
        min-height: 42px;
        min-width: 78px;
    }

    .gaz-ligne-prix small {
        font-size: .7rem;
    }

    .gaz-ligne-prix strong {
        font-size: .95rem;
    }

    .gaz-segment {
        padding: 3px;
        border-radius: 10px;
    }

    .gaz-segment span {
        gap: 5px;
        height: 34px;
        padding: 0 10px;
        border-radius: 8px;
        font-size: .78rem;
    }

    .gaz-segment span i {
        font-size: .7rem;
    }

    .gaz-stepper {
        height: 40px;
        border-radius: 10px;
    }

    .gaz-stepper button {
        width: 32px;
    }

    .gaz-stepper input {
        width: 36px;
        font-size: .95rem;
    }

    .gaz-ajouter {
        margin-top: 8px;
        padding: 12px;
        border-radius: 14px;
    }

    .gaz-etape-titre {
        margin-bottom: 14px;
    }

    /* Détail / Grossiste côte à côte */
    .gaz-types {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .gaz-type-carte {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 12px;
    }

    .gaz-type-icone {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        font-size: .9rem;
    }

    .gaz-type-texte small {
        font-size: .74rem;
    }

    .gaz-recap {
        padding: 20px 16px;
    }
}

/* Très petits téléphones : Achat / Échange sans icône, quantité resserrée */
@media (max-width: 359.98px) {
    .gaz-segment span i {
        display: none;
    }

    .gaz-segment span {
        padding: 0 8px;
    }

    .gaz-stepper button {
        width: 28px;
    }

    .gaz-stepper input {
        width: 32px;
    }
}

/*** Témoignages clients (accueil) ***/
.avis-section {
    position: relative;
    padding: 100px 0 90px;
    overflow: hidden;
    background: linear-gradient(180deg, #F3F8FE 0%, #FFFFFF 100%);
}

.avis-deco {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
}

.avis-deco-1 {
    top: -80px;
    right: -60px;
    width: 340px;
    height: 340px;
    background: rgba(21, 135, 215, .14);
}

.avis-deco-2 {
    bottom: -120px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: rgba(79, 209, 255, .14);
}

.avis-grille {
    position: relative;
    display: grid;
    grid-template-columns: 5fr 7fr;
    align-items: center;
    gap: 70px;
}

.avis-titre {
    margin-bottom: 14px;
}

.avis-sous-titre {
    max-width: 400px;
    margin-bottom: 30px;
    color: #6B7280;
}

.avis-etoiles {
    display: inline-flex;
    gap: 3px;
    color: #FFB400;
    font-size: 1rem;
}

.avis-note-globale {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 14px 24px 14px 18px;
    border: 1px solid #E5EAF2;
    border-radius: 18px;
    background: #FFFFFF;
    box-shadow: 0 10px 30px rgba(15, 23, 43, .06);
}

.avis-note-globale > strong {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1;
    color: var(--dark);
}

.avis-note-globale small {
    display: block;
    margin-top: 4px;
    font-size: .8rem;
    color: #6B7280;
}

.avis-navigation {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 34px;
}

.avis-fleche {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border: 1.5px solid #D5DEEA;
    border-radius: 50%;
    background: #FFFFFF;
    color: var(--dark);
    transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.avis-fleche:hover {
    border-color: transparent;
    background: linear-gradient(135deg, #22A6F5 0%, var(--primary) 60%, #0F6DB8 100%);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(21, 135, 215, .35);
}

.avis-fleche:focus-visible {
    outline: 3px solid rgba(21, 135, 215, .45);
    outline-offset: 3px;
}

.avis-compteur {
    margin-left: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: .95rem;
    color: #9AA3B2;
}

.avis-compteur strong {
    font-size: 1.4rem;
    color: var(--dark);
}

/* Carte d'avis, avec une carte bleue décalée derrière */
.avis-scene {
    position: relative;
    padding: 34px 0 0 22px;
}

.avis-carte-fond {
    position: absolute;
    top: 58px;
    right: -18px;
    bottom: 42px;
    left: 44px;
    border-radius: 26px;
    background: linear-gradient(135deg, #22A6F5 0%, var(--primary) 60%, #0F6DB8 100%);
    opacity: .9;
    transform: rotate(3deg);
}

.avis-carte {
    position: relative;
    min-height: 330px;
    padding: 58px 50px 38px;
    border-radius: 26px;
    background: #FFFFFF;
    box-shadow: 0 30px 70px rgba(15, 23, 43, .14);
    overflow: hidden;
}

.avis-guillemet {
    position: absolute;
    top: 0;
    right: 44px;
    display: inline-flex;
    align-items: flex-end;
    justify-content: center;
    width: 76px;
    height: 70px;
    padding-bottom: 14px;
    border-radius: 0 0 22px 22px;
    background: linear-gradient(160deg, #22A6F5 0%, var(--primary) 70%);
    color: #FFFFFF;
    font-size: 1.6rem;
    box-shadow: 0 10px 24px rgba(21, 135, 215, .35);
}

.avis-texte {
    margin: 18px 0 30px;
    font-size: 1.12rem;
    line-height: 1.85;
    color: #374151;
}

.avis-auteur {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 24px;
    border-top: 1px solid #EEF1F6;
}

.avis-avatar {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, #22A6F5 0%, var(--primary) 60%, #0F6DB8 100%);
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    box-shadow: 0 0 0 4px rgba(21, 135, 215, .12);
}

.avis-auteur strong {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
}

.avis-auteur small {
    font-size: .85rem;
    color: #8A93A3;
}

/* Barre de progression de la lecture automatique */
.avis-progression {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: #EEF3F9;
}

.avis-progression span {
    display: block;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, var(--primary), #4FD1FF);
    transform-origin: left;
    animation: avis-progression var(--avis-duree, 7000ms) linear infinite;
}

.avis-carte.en-pause .avis-progression span {
    animation-play-state: paused;
}

@keyframes avis-progression {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}

.avis-contenu.entree-droite { animation: avis-entree-droite .55s cubic-bezier(.2, .8, .3, 1); }
.avis-contenu.entree-gauche { animation: avis-entree-gauche .55s cubic-bezier(.2, .8, .3, 1); }

@keyframes avis-entree-droite {
    from { opacity: 0; transform: translateX(30px); }
    to   { opacity: 1; transform: none; }
}

@keyframes avis-entree-gauche {
    from { opacity: 0; transform: translateX(-30px); }
    to   { opacity: 1; transform: none; }
}

.avis-points {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
}

.avis-point {
    width: 9px;
    height: 9px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: #D2DAE6;
    transition: width .3s ease, background-color .3s ease;
}

.avis-point.actif {
    width: 28px;
    background: var(--primary);
}

@media (prefers-reduced-motion: reduce) {
    .avis-contenu.entree-droite,
    .avis-contenu.entree-gauche { animation: none; }
}

@media (max-width: 991.98px) {
    .avis-grille {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .avis-intro {
        text-align: center;
    }

    .avis-intro .section-title {
        text-align: center !important;
    }

    .avis-sous-titre {
        margin-left: auto;
        margin-right: auto;
    }

    .avis-navigation {
        justify-content: center;
    }

    .avis-scene {
        max-width: 680px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .avis-section {
        padding: 70px 0 60px;
    }

    .avis-note-globale {
        padding: 12px 18px 12px 14px;
    }

    .avis-note-globale > strong {
        font-size: 2.1rem;
    }

    /* Sur téléphone : on glisse du doigt ou on touche les points */
    .avis-navigation {
        display: none;
    }

    .avis-scene {
        padding: 26px 8px 0 0;
    }

    .avis-carte-fond {
        top: 46px;
        right: -4px;
        left: 24px;
        bottom: 40px;
    }

    .avis-carte {
        min-height: 0;
        padding: 48px 22px 30px;
        border-radius: 22px;
    }

    .avis-guillemet {
        right: 22px;
        width: 60px;
        height: 56px;
        padding-bottom: 11px;
        font-size: 1.25rem;
    }

    .avis-texte {
        font-size: 1rem;
        line-height: 1.75;
    }

}

/*** À propos (accueil) : téléphone + réservation ***/
.apropos-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 14px;
}

.apropos-tel {
    flex: 1 1 auto;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 18px 8px 8px;
    border: 1px solid #E5EAF2;
    border-radius: 999px;
    background: #FFFFFF;
    box-shadow: 0 10px 28px rgba(15, 23, 43, .08);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.apropos-tel:hover {
    transform: translateY(-2px);
    border-color: rgba(21, 135, 215, .4);
    box-shadow: 0 14px 34px rgba(21, 135, 215, .18);
}

.apropos-tel-icone {
    position: relative;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #22A6F5 0%, var(--primary) 60%, #0F6DB8 100%);
    color: #FFFFFF;
    font-size: 1.05rem;
    box-shadow: 0 6px 16px rgba(21, 135, 215, .4);
}

/* Onde qui pulse autour de l'icône */
.apropos-tel-icone::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--primary);
    animation: apropos-onde 2.2s ease-out infinite;
}

@keyframes apropos-onde {
    0%   { transform: scale(1); opacity: .6; }
    100% { transform: scale(1.55); opacity: 0; }
}

.apropos-tel:hover .apropos-tel-icone i {
    animation: apropos-sonne .5s ease-in-out 2;
}

@keyframes apropos-sonne {
    0%, 100% { transform: rotate(0); }
    25%      { transform: rotate(-16deg); }
    75%      { transform: rotate(16deg); }
}

.apropos-tel-texte {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.apropos-tel-texte small {
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #8A93A3;
}

.apropos-tel-texte strong {
    margin-top: 3px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    white-space: nowrap;
}

.apropos-reserver {
    flex: 1 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 7px 7px 7px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, #22A6F5 0%, var(--primary) 55%, #0F6DB8 100%);
    color: #FFFFFF;
    font-family: 'Heebo', sans-serif;
    font-size: .88rem;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 12px 28px rgba(21, 135, 215, .38);
    transition: transform .25s ease, box-shadow .25s ease;
}

.apropos-reserver:hover {
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(21, 135, 215, .5);
}

.apropos-reserver-fleche {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-left: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .2);
    font-size: .85rem;
    transition: transform .25s ease, background-color .25s ease;
}

.apropos-reserver:hover .apropos-reserver-fleche {
    transform: translateX(4px);
    background: rgba(255, 255, 255, .3);
}

.apropos-reserver:focus-visible,
.apropos-tel:focus-visible {
    outline: 3px solid rgba(21, 135, 215, .45);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .apropos-tel-icone::after,
    .apropos-tel:hover .apropos-tel-icone i {
        animation: none;
    }
}

/* Téléphone : les deux blocs empilés, pleine largeur */
@media (max-width: 575.98px) {
    .apropos-actions {
        flex-direction: column;
        gap: 12px;
    }

    .apropos-tel,
    .apropos-reserver {
        width: 100%;
    }

    .apropos-reserver {
        padding-left: 22px;
    }
}

.page-header {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.page-header-inner {
    background: rgba(15, 23, 43, .7);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}

.booking {
    position: relative;
    margin-top: -100px !important;
    z-index: 1;
}

/*** Vérification de disponibilité (accueil) ***/
.dispo-carte {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 24px 60px rgba(15, 23, 43, .14), 0 4px 14px rgba(15, 23, 43, .06);
}

/* Barre de recherche segmentée */
.dispo-form {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr auto;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    border: 1px solid #E5EAF2;
    border-radius: 18px;
    background: #F6F9FD;
}

.dispo-champ {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 10px 18px;
    border-radius: 12px;
    transition: background-color .2s ease, box-shadow .2s ease;
}

/* Séparateurs verticaux entre les champs */
.dispo-champ + .dispo-champ::before {
    content: "";
    position: absolute;
    left: 0;
    top: 22%;
    bottom: 22%;
    width: 1px;
    background: #DCE3EE;
}

.dispo-champ:focus-within {
    background: #FFFFFF;
    box-shadow: 0 0 0 2px rgba(21, 135, 215, .45), 0 6px 18px rgba(15, 23, 43, .08);
}

.dispo-champ:focus-within::before,
.dispo-champ:focus-within + .dispo-champ::before {
    opacity: 0;
}

.dispo-champ-icone {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(21, 135, 215, .1);
    color: var(--primary);
    font-size: .95rem;
}

.dispo-champ-corps {
    flex: 1;
    min-width: 0;
}

.dispo-champ-corps label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2px;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #6B7280;
    cursor: pointer;
}

.dispo-champ-corps select,
.dispo-champ-corps input {
    display: block;
    width: 100%;
    padding: 2px 0;
    border: none;
    background: transparent;
    font-family: 'Heebo', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark);
    outline: none;
    cursor: pointer;
}

.dispo-champ-corps select {
    -webkit-appearance: none;
    appearance: none;
    padding-right: 22px;
    text-overflow: ellipsis;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%236B7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E") no-repeat right center / 12px;
}

.dispo-champ-corps input::-webkit-calendar-picker-indicator {
    opacity: .55;
    cursor: pointer;
}

/* Pastille "N nuits" calculée en direct */
.dispo-nuits {
    padding: 1px 8px;
    border-radius: 999px;
    background: rgba(21, 135, 215, .12);
    color: var(--primary);
    font-size: .68rem;
    letter-spacing: .02em;
    text-transform: none;
}

/* Champs personnalisés (liste + calendrier, injectés par main.js) */
.dispo-form {
    position: relative;
}

.dispo-natif {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0;
    pointer-events: none;
}

.dispo-champ.ouvert {
    z-index: 3;
}

.dispo-champ:has(.dispo-liste).ouvert,
.dispo-champ.etape-active {
    background: #FFFFFF;
    box-shadow: 0 0 0 2px rgba(21, 135, 215, .45), 0 6px 18px rgba(15, 23, 43, .08);
}

.dispo-champ.ouvert::before,
.dispo-champ.ouvert + .dispo-champ::before {
    opacity: 0;
}

.dispo-declencheur {
    display: block;
    width: 100%;
    padding: 2px 24px 2px 0;
    border: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%236B7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 2px center / 12px;
    font-family: 'Heebo', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    outline: none;
    cursor: pointer;
    transition: background-position .2s ease;
}

.dispo-champ.ouvert .dispo-declencheur:not(.dispo-declencheur-date) {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%231587D7' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 11 6-6 6 6'/%3E%3C/svg%3E");
}

.dispo-declencheur-date {
    background: none;
    padding-right: 0;
}

.dispo-declencheur.vide {
    font-weight: 500;
    color: #9AA3B2;
}

.dispo-declencheur:focus-visible {
    text-decoration: underline;
    text-decoration-color: var(--primary);
    text-underline-offset: 4px;
}

@keyframes dispo-apparition {
    from { opacity: 0; transform: translateY(-8px) scale(.98); }
    to   { opacity: 1; transform: none; }
}

/* Liste déroulante des hébergements */
.dispo-liste {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    z-index: 20;
    display: none;
    width: max(100%, 360px);
    margin: 0;
    padding: 8px;
    list-style: none;
    border: 1px solid #E5EAF2;
    border-radius: 18px;
    background: #FFFFFF;
    box-shadow: 0 24px 60px rgba(15, 23, 43, .18), 0 4px 14px rgba(15, 23, 43, .06);
    outline: none;
    transform-origin: top left;
}

.dispo-champ.ouvert .dispo-liste {
    display: block;
    animation: dispo-apparition .22s cubic-bezier(.2, .8, .3, 1);
}

.dispo-option {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    position: relative;
    padding: 12px 14px;
    border: 1.5px solid transparent;
    border-radius: 14px;
    cursor: pointer;
    outline: none;
    transition: background-color .15s ease, border-color .15s ease;
}

.dispo-option + .dispo-option {
    margin-top: 4px;
}

.dispo-option:hover,
.dispo-option:focus {
    background: #F3F8FD;
}

.dispo-option.choisi {
    border-color: var(--primary);
    background: rgba(21, 135, 215, .06);
}

.dispo-option-icone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(21, 135, 215, .1);
    color: var(--primary);
    font-size: 1rem;
    transition: background-color .15s ease, color .15s ease;
}

.dispo-option.choisi .dispo-option-icone,
.dispo-option:hover .dispo-option-icone {
    background: var(--primary);
    color: #FFFFFF;
}

.dispo-option-texte {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.dispo-option-texte strong {
    font-family: 'Montserrat', sans-serif;
    font-size: .95rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
}

.dispo-option-texte small,
.dispo-option-prix small {
    font-size: .75rem;
    color: #8A93A3;
}

.dispo-option-prix {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.dispo-option-prix strong {
    font-family: 'Montserrat', sans-serif;
    font-size: .95rem;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}

.dispo-option-coche {
    position: absolute;
    top: -7px;
    right: -7px;
    display: none;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    color: #FFFFFF;
    font-size: .6rem;
    box-shadow: 0 0 0 3px #FFFFFF;
}

.dispo-option.choisi .dispo-option-coche {
    display: inline-flex;
}

/* Calendrier arrivée / départ */
.dispo-calendrier {
    position: absolute;
    z-index: 20;
    display: none;
    width: 640px;
    max-width: 100%;
    padding: 18px 20px 16px;
    border: 1px solid #E5EAF2;
    border-radius: 22px;
    background: #FFFFFF;
    box-shadow: 0 28px 70px rgba(15, 23, 43, .2), 0 4px 14px rgba(15, 23, 43, .06);
}

.dispo-calendrier:focus {
    outline: none;
}

.dispo-form.cal-ouvert .dispo-calendrier {
    display: block;
    animation: dispo-apparition .22s cubic-bezier(.2, .8, .3, 1);
}

.dispo-cal-poignee {
    display: none;
}

.dispo-cal-etapes {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    padding: 6px;
    border-radius: 14px;
    background: #F3F6FA;
}

.dispo-cal-etapes > i {
    color: #9AA3B2;
}

.dispo-cal-etape {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 14px;
    border: none;
    border-radius: 10px;
    background: transparent;
    text-align: left;
    transition: background-color .2s ease, box-shadow .2s ease;
}

.dispo-cal-etape small {
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #8A93A3;
}

.dispo-cal-etape span {
    font-family: 'Montserrat', sans-serif;
    font-size: .92rem;
    font-weight: 700;
    color: var(--dark);
}

.dispo-cal-etape.actif {
    background: #FFFFFF;
    box-shadow: 0 4px 12px rgba(15, 23, 43, .08);
}

.dispo-cal-etape.actif small {
    color: var(--primary);
}

.dispo-cal-corps {
    position: relative;
}

.dispo-cal-nav {
    position: absolute;
    top: 0;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid #E5EAF2;
    border-radius: 50%;
    background: #FFFFFF;
    color: var(--dark);
    font-size: .8rem;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.dispo-cal-nav:hover:not(:disabled) {
    border-color: var(--primary);
    background: var(--primary);
    color: #FFFFFF;
}

.dispo-cal-nav:disabled {
    opacity: .35;
    cursor: default;
}

.dispo-cal-prec { left: 0; }
.dispo-cal-suiv { right: 0; }

.dispo-cal-mois {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 28px;
}

.dispo-cal-titre {
    height: 34px;
    margin-bottom: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: .95rem;
    font-weight: 700;
    line-height: 34px;
    text-align: center;
    text-transform: capitalize;
    color: var(--dark);
}

.dispo-cal-jours-semaine,
.dispo-cal-jours {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.dispo-cal-jours-semaine span {
    padding: 4px 0 8px;
    font-size: .7rem;
    font-weight: 600;
    text-align: center;
    color: #9AA3B2;
}

.dispo-cal-jours {
    row-gap: 2px;
}

.dispo-jour {
    position: relative;
    height: 40px;
    padding: 0;
    border: none;
    background: transparent;
    font-family: 'Heebo', sans-serif;
    font-size: .88rem;
    font-weight: 500;
    color: var(--dark);
    isolation: isolate;
}

/* Pastille du jour (le fond de la plage est porté par le bouton lui-même) */
.dispo-jour::after {
    content: "";
    position: absolute;
    inset: 2px;
    z-index: -1;
    margin: auto;
    max-width: 36px;
    border-radius: 50%;
    transition: background-color .15s ease;
}

.dispo-jour:hover:not(.passe):not(.borne)::after {
    background: #EAF3FC;
    box-shadow: inset 0 0 0 1.5px var(--primary);
}

.dispo-jour.aujourdhui {
    font-weight: 700;
    color: var(--primary);
}

.dispo-jour.aujourdhui::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 6px;
    width: 4px;
    height: 4px;
    margin-left: -2px;
    border-radius: 50%;
    background: currentColor;
}

.dispo-jour.passe {
    color: #C9CFD9;
    text-decoration: line-through;
    cursor: not-allowed;
}

.dispo-jour.plage {
    background: #EAF3FC;
}

.dispo-jour.debut.borne {
    background: linear-gradient(to right, transparent 50%, #EAF3FC 50%);
}

.dispo-jour.fin {
    background: linear-gradient(to left, transparent 50%, #EAF3FC 50%);
}

.dispo-jour.debut,
.dispo-jour.fin {
    font-weight: 700;
    color: #FFFFFF;
}

.dispo-jour.debut::after,
.dispo-jour.fin::after {
    background: linear-gradient(135deg, #22A6F5 0%, var(--primary) 60%, #0F6DB8 100%);
    box-shadow: 0 6px 14px rgba(21, 135, 215, .35);
}

.dispo-jour.fin.survol::after {
    background: #FFFFFF;
    box-shadow: inset 0 0 0 2px var(--primary);
}

.dispo-jour.fin.survol {
    color: var(--primary);
}

.dispo-jour.debut::before,
.dispo-jour.fin::before {
    display: none;
}

.dispo-cal-pied {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #EEF1F6;
}

.dispo-cal-info {
    flex: 1;
    font-size: .85rem;
    color: #6B7280;
}

.dispo-cal-info i {
    margin-right: 4px;
    color: var(--primary);
}

.dispo-cal-effacer,
.dispo-cal-valider {
    padding: 9px 18px;
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 600;
    transition: background-color .2s ease, color .2s ease, opacity .2s ease;
}

.dispo-cal-effacer {
    border: none;
    background: transparent;
    color: var(--dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.dispo-cal-effacer:hover {
    color: var(--primary);
}

.dispo-cal-valider {
    border: none;
    background: var(--primary);
    color: #FFFFFF;
}

.dispo-cal-valider:hover:not(:disabled) {
    background: #0F6DB8;
}

.dispo-cal-valider:disabled {
    opacity: .4;
    cursor: default;
}

.dispo-voile {
    display: none;
}

@keyframes dispo-voile {
    from { opacity: 0; }
}

@keyframes dispo-feuille {
    from { transform: translateY(100%); }
}

.dispo-bouton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-left: 8px;
    padding: 0 28px;
    min-height: 60px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #22A6F5 0%, var(--primary) 55%, #0F6DB8 100%);
    color: #FFFFFF;
    font-family: 'Heebo', sans-serif;
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 10px 24px rgba(21, 135, 215, .35);
    transition: transform .2s ease, box-shadow .2s ease;
}

.dispo-bouton:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(21, 135, 215, .5);
}

.dispo-bouton:focus-visible {
    outline: 3px solid rgba(21, 135, 215, .45);
    outline-offset: 3px;
}

/* Messages d'erreur */
.dispo-erreurs {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    padding: 14px 18px;
    border: 1px solid #F5C2C7;
    border-radius: 14px;
    background: #FDF2F3;
    color: #A61B29;
    font-size: .92rem;
}

.dispo-erreurs i { margin-top: 3px; }
.dispo-erreurs ul { margin: 0; padding-left: 18px; }

/* Résultat de la recherche */
.dispo-resultat {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 18px;
    margin-top: 20px;
    padding: 18px 44px 18px 20px;
    border-radius: 16px;
    position: relative;
}

/* Bouton de fermeture du résultat */
.dispo-resultat-fermer {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: rgba(15, 23, 43, .06);
    color: #475569;
    font-size: 14px;
    cursor: pointer;
    transition: background .2s, color .2s;
}
.dispo-resultat-fermer:hover { background: rgba(15, 23, 43, .14); color: #0f172b; }
.dispo-resultat.ferme { animation: dispoFermer .25s ease forwards; }
@keyframes dispoFermer { to { opacity: 0; transform: translateY(-6px); } }

.dispo-resultat-ok {
    border: 1px solid #BFE8D0;
    background: linear-gradient(135deg, #F0FBF5 0%, #E6F7EE 100%);
}

.dispo-resultat-complet {
    grid-template-columns: auto 1fr auto;
    border: 1px solid #F6DDA8;
    background: linear-gradient(135deg, #FFFBF1 0%, #FEF4DE 100%);
}

.dispo-resultat-icone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    color: #FFFFFF;
    font-size: 1.1rem;
}

.dispo-resultat-ok .dispo-resultat-icone { background: #1E9E5A; box-shadow: 0 6px 16px rgba(30, 158, 90, .35); }
.dispo-resultat-complet .dispo-resultat-icone { background: #D98A00; box-shadow: 0 6px 16px rgba(217, 138, 0, .3); }

.dispo-resultat-texte h3 {
    margin: 0 0 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
}

.dispo-resultat-texte p {
    margin: 0;
    font-size: .92rem;
    color: #4B5563;
}

.dispo-resultat-total {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 0 6px;
    text-align: right;
}

.dispo-resultat-total span {
    font-size: .78rem;
    color: #6B7280;
}

.dispo-resultat-total strong {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #157A46;
    white-space: nowrap;
}

.dispo-resultat-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 22px;
    min-height: 50px;
    border-radius: 999px;
    background: var(--primary);
    color: #FFFFFF;
    font-size: .88rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: transform .2s ease, background-color .2s ease;
}

.dispo-resultat-btn:hover {
    color: #FFFFFF;
    background: #0F6DB8;
    transform: translateY(-2px);
}

.dispo-resultat-btn-secondaire {
    border: 1.5px solid var(--primary);
    background: #FFFFFF;
    color: var(--primary);
}

.dispo-resultat-btn-secondaire:hover {
    background: var(--primary);
    color: #FFFFFF;
}

/* Tablette : 2 colonnes, bouton sur toute la largeur */
@media (max-width: 991.98px) {
    .dispo-form {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }

    /* first-of-type : le premier enfant du formulaire est le champ caché */
    .dispo-champ:first-of-type {
        grid-column: 1 / -1;
    }

    .dispo-champ + .dispo-champ::before {
        display: none;
    }

    .dispo-champ {
        background: #FFFFFF;
        border: 1px solid #E5EAF2;
    }

    .dispo-bouton {
        grid-column: 1 / -1;
        margin: 4px 0 0;
    }

    .dispo-resultat,
    .dispo-resultat-complet {
        grid-template-columns: auto 1fr;
    }

    .dispo-resultat-total {
        grid-column: 2;
        align-items: flex-start;
        padding: 0;
        text-align: left;
    }

    .dispo-resultat-btn {
        grid-column: 1 / -1;
    }
}

/* Téléphone : un champ par ligne */
@media (max-width: 575.98px) {
    .booking {
        margin-top: -70px !important;
    }

    .dispo-carte {
        padding: 14px;
        border-radius: 18px;
    }

    .dispo-form {
        grid-template-columns: 1fr;
        padding: 6px;
    }

    .dispo-champ {
        padding: 8px 14px;
    }

    .dispo-bouton {
        min-height: 56px;
    }

    .dispo-liste {
        width: 100%;
    }

    .dispo-option {
        gap: 12px;
        padding: 10px 12px;
    }

    /* Calendrier en feuille glissante depuis le bas de l'écran */
    body.dispo-feuille-ouverte {
        overflow: hidden;
    }

    body.dispo-feuille-ouverte .booking {
        z-index: 1060;
    }

    body.dispo-feuille-ouverte .dispo-voile {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1055;
        background: rgba(15, 23, 43, .55);
        animation: dispo-voile .25s ease;
    }

    .dispo-calendrier {
        position: fixed;
        top: auto !important;
        left: 0 !important;
        right: 0;
        bottom: 0;
        width: auto;
        max-width: none;
        max-height: 92vh;
        overflow-y: auto;
        padding: 10px 16px calc(16px + env(safe-area-inset-bottom));
        border: none;
        border-radius: 24px 24px 0 0;
    }

    .dispo-form.cal-ouvert .dispo-calendrier {
        animation: dispo-feuille .3s cubic-bezier(.2, .8, .3, 1);
    }

    .dispo-cal-poignee {
        display: block;
        width: 42px;
        height: 4px;
        margin: 0 auto 12px;
        border-radius: 4px;
        background: #D5DBE5;
    }

    .dispo-cal-etape {
        padding: 8px 10px;
    }

    .dispo-cal-etape span {
        font-size: .8rem;
    }

    .dispo-jour {
        height: 44px;
        font-size: .95rem;
    }

    .dispo-jour::after {
        max-width: 40px;
    }

    .dispo-cal-valider {
        padding: 12px 24px;
    }

    .dispo-resultat {
        gap: 12px 14px;
        padding: 16px 44px 16px 16px;
    }

    .dispo-resultat-btn {
        padding: 12px 18px;
        white-space: normal;
        text-align: center;
        letter-spacing: .02em;
        line-height: 1.3;
    }
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
}

.section-title::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 2px;
    top: 50%;
    left: -55px;
    margin-top: -1px;
    background: var(--primary);
}

.section-title::after {
    position: absolute;
    content: "";
    width: 45px;
    height: 2px;
    top: 50%;
    right: -55px;
    margin-top: -1px;
    background: var(--primary);
}

.section-title.text-start::before,
.section-title.text-end::after {
    display: none;
}

.footer .section-title::after {
    display: none;
}


/*** Service ***/
.service-item {
    height: 320px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .5s;
}

.service-item:hover {
    background: var(--primary);
}

.service-item .service-icon {
    margin: 0 auto 30px auto;
    width: 65px;
    height: 65px;
    transition: .5s;
}

.service-item i,
.service-item h5,
.service-item p {
    transition: .5s;
}

.service-item:hover i,
.service-item:hover h5,
.service-item:hover p {
    color: #FFFFFF !important;
}


/*** Youtube Video ***/
.video {
    position: relative;
    height: 100%;
    min-height: 500px;
    background: linear-gradient(rgba(15, 23, 43, .1), rgba(15, 23, 43, .1)), url(../img/video.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.video .btn-play {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    box-sizing: content-box;
    display: block;
    width: 32px;
    height: 44px;
    border-radius: 50%;
    border: none;
    outline: none;
    padding: 18px 20px 18px 28px;
}

.video .btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse-border 1500ms ease-out infinite;
}

.video .btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--primary);
    border-radius: 50%;
    transition: all 200ms;
}

.video .btn-play img {
    position: relative;
    z-index: 3;
    max-width: 100%;
    width: auto;
    height: auto;
}

.video .btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 32px solid var(--dark);
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}

#videoModal {
    z-index: 99999;
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}


/*** Testimonial ***/
.testimonial {
    background: linear-gradient(rgba(15, 23, 43, .7), rgba(15, 23, 43, .7)), url(../img/12.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.testimonial-carousel {
    padding-left: 65px;
    padding-right: 65px;
}

.testimonial-carousel .testimonial-item {
    padding: 30px;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 40px;
    top: calc(50% - 20px);
    left: 0;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 2px;
    font-size: 18px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--primary);
    background: #FFFFFF;
}

/* ============================================
   NOS INSTALLATIONS — CARTES MOBILE
============================================ */
.installations-mobile .install-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #ffffff;
    border-radius: 14px;
    padding: 20px 18px;
    margin-bottom: 16px;
    box-shadow: 0 8px 22px rgba(15, 23, 43, 0.15);
}

.installations-mobile .install-card:last-child {
    margin-bottom: 0;
}

/* Pastille ronde avec l'icône */
.installations-mobile .install-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F1F8FF;
    color: var(--primary);
    border-radius: 50%;
    font-size: 20px;
}

.installations-mobile .install-body h6 {
    margin: 4px 0 8px;
    font-weight: 700;
    font-size: 1.05rem;
    color: #0F172B;
}

.installations-mobile .install-body p {
    margin: 0;
    color: #55617a;
    font-size: 0.93rem;
    line-height: 1.6;
}
/*** Team ***/
.team-item,
.team-item .bg-primary,
.team-item .bg-primary i {
    transition: .5s;
}

.team-item:hover {
    border-color: var(--secondary) !important;
}

.team-item:hover .bg-primary {
    background: var(--secondary) !important;
}

.team-item:hover .bg-primary i {
    color: var(--secondary) !important;
}


/*** Footer ***/
.newsletter {
    position: relative;
    z-index: 1;
}

.footer {
    position: relative;
    margin-top: -110px;
    padding-top: 180px;
    background: linear-gradient(180deg, #14171d 0%, #0b0d11 100%);
    overflow: hidden;
}

.footer-top-line {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #4fd1ff, var(--primary));
    background-size: 200% 100%;
    animation: footerShimmer 6s linear infinite;
    z-index: 2;
}

@keyframes footerShimmer {
    0% { background-position: 0% 0; }
    100% { background-position: -200% 0; }
}

.footer > .container {
    position: relative;
    z-index: 1;
}

.footer .section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
    letter-spacing: .5px;
}

.footer .section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 45px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    animation: growLine 1s ease forwards .3s;
}

@keyframes growLine {
    from { width: 0; }
    to { width: 45px; }
}

.footer p {
    color: rgba(255, 255, 255, .65);
    line-height: 1.8;
}

.footer .footer-contact-line {
    font-size: 13px;
    white-space: nowrap;
}

/* Logo en tête de la première colonne, avec un léger halo bleu */
.footer-logo {
    position: relative;
    display: inline-block;
    margin: -18px 0 10px -14px;
}

.footer-logo::before {
    content: "";
    position: absolute;
    inset: 18%;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(21, 135, 215, .38) 0%, rgba(21, 135, 215, 0) 70%);
    filter: blur(14px);
}

.footer-logo img {
    display: block;
    width: 175px;
    height: auto;
    transition: transform .35s ease;
}

.footer-logo:hover img {
    transform: scale(1.04);
}

.footer .footer-description {
    max-width: 360px;
    font-size: .95rem;
}

/* Titres de colonnes avec soulignement */
.footer-titre {
    position: relative;
    margin-bottom: 26px;
    padding-bottom: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #FFFFFF;
}

.footer-titre::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--primary), #4FD1FF);
}

/* Coordonnées : icône dans une pastille */
.footer .footer-contact {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 14px;
    line-height: 1.5;
}

.footer-contact-icone {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(21, 135, 215, .14);
    color: var(--primary);
    font-size: .8rem;
}

.footer .footer-contact a {
    color: rgba(255, 255, 255, .75);
    transition: color .2s ease;
}

.footer .footer-contact a:hover {
    color: var(--primary);
}

@media (max-width: 767.98px) {
    .footer-logo {
        margin-top: -10px;
    }

    .footer-logo img {
        width: 155px;
    }

    .footer .footer-contact {
        font-size: 13.5px;
        word-break: break-word;
    }
}

.footer .btn.btn-social {
    margin-right: 8px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 50%;
    transition: .3s ease;
}

.footer .btn.btn-social:hover {
    color: #14171d;
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-4px) rotate(8deg);
    box-shadow: 0 6px 14px rgba(0, 0, 0, .25);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: rgba(255, 255, 255, .75);
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s ease;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
    margin-right: 10px;
    transition: .3s ease;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: .5px;
    padding-left: 4px;
    box-shadow: none;
}

.footer .btn.btn-link:hover::before {
    margin-right: 13px;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, .5);
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.footer .copyright a {
    color: rgba(255, 255, 255, .7);
    transition: .3s ease;
}

.footer .copyright a:hover {
    color: var(--primary);
}

.footer .copyright a.askodi-credit {
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--primary);
    text-decoration: none;
}

.footer .copyright a.askodi-credit:hover {
    color: var(--light);
    text-decoration: none;
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .3);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}
.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    color: #FFFFFF !important;
    background-color: var(--primary);
    border-color: var(--primary);
}