/* ==========================================================================
   Variables Globales & Thème Luxe / Automobile (Noir, Blanc & Or)
   ========================================================================== */
:root {
    --bg-body: #FFFFFF; 
    --header-bg: #0d0d0d; 
    --footer-bg: #0d0d0d; 
    
    --gold-primary: #D4AF37; 
    --gold-hover: #F2D06B; 
    --gold-dark: #997A15;

    --gold-metal: linear-gradient(
    	90deg,
    	#8A6508 0%,
    	#C89B20 20%,
    	#FFF1A8 50%,
    	#D4AF37 70%,
    	#8A6508 100%
); 
    
    --text-dark: #1F1F1F; 
    --text-light: #F5F5F5; 
    --card-bg: #FAFAFA; 
    --border-color: #E5E5E5;
}

* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

body { 
    font-family: 'Montserrat', sans-serif; 
    line-height: 1.6; 
    color: var(--text-dark); 
    background-color: var(--bg-body); 
    overflow-x: hidden;
}

/* ==========================================================================
   En-tête (Header) & Logo
   ========================================================================== */
header { 
    background: var(--header-bg); 
    color: var(--text-light); 
    text-align: center; 
    border-bottom: 3px solid #D4AF37;
    border-image: linear-gradient(
        90deg,
        #8A6508 0%,
        #C89B20 20%,
        #FFF1A8 50%,
        #D4AF37 70%,
        #8A6508 100%
    ) 1;
}

.hero { 
    height: 35vh;
    position: relative;
    background-image: url('images/IMG_5126.jpg');
    background-size: 43vw auto;
    background-position: left center;
    background-repeat: no-repeat;
    background-color: #000000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero::before {
      content: ""; 
    position: absolute; 
    inset: 0; 
    background: linear-gradient( 
        210deg, 
        rgba(0, 0, 0, 0.55)0%, 
        rgba(0, 0, 0, 0.25) 25%, 
        rgba(255, 255, 255, 0.18)95%,
	rgba(0, 0, 0, 0.80)100% 
    ); 
    pointer-events: none;
    z-index: 1;
}

.logo-container {
    width: 620px;
    height: 420px;
    margin-bottom: 50px;
}

.logo-image {
    width: 28vw;
    height: auto;
    object-fit: contain;
    display: block;
    position: relative;
    z-index: 2;

    /* Glissement régulier quand le téléphone passe de portrait à paysage */
    transition: transform 0.7s linear;
}

/* Téléphone (portrait ou paysage) : même taille de logo dans les deux sens,
   pour que seul le déplacement soit animé lors de la rotation */
@media (max-width: 700px) and (orientation: portrait),
       (orientation: landscape) and (max-height: 500px) {
    .logo-image {
        width: min(255px, 62vw);
    }
}

/* Téléphone en portrait : logo calé à droite pour laisser voir la voiture */
@media (max-width: 700px) and (orientation: portrait) {
    .logo-image {
        transform: translateX(calc(50vw - 50% - 10px));
    }
}

@media (prefers-reduced-motion: reduce) {
    .logo-image {
        transition: none;
    }
}

.logo-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 8px rgba(212, 175, 55, 0.3));
}

.hero h1 { 
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem; 
    font-weight: 800; 
    letter-spacing: 4px; 
    color: var(--gold-primary);
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8); 
    margin-bottom: 5px;
}

.hero h4 { 
    font-weight: 300; 
    letter-spacing: 2px;
    color: #CCCCCC;
    font-size: 1.1rem;
    text-transform: uppercase;
}

/* ==========================================================================
   Navigation (Sticky, Fond Noir & Accents Dorés)
   ========================================================================== */
nav { 
    background: #141414; 
    position: -webkit-sticky; 
    position: sticky;  
    top: 0;  
    width: 100%;  
    z-index: 1000;  
    border-top: 1px solid #222;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(
        90deg,
        #8A6508 0%,
        #C89B20 20%,
        #FFF1A8 50%,
        #D4AF37 70%,
        #8A6508 100%
    ) 1;
}

nav ul { 
    list-style: none; 
    display: flex; 
    justify-content: center; 
}

nav a { 
    color: #DDDDDD;  
    padding: 16px 25px;  
    display: block;  
    text-decoration: none;  
    font-weight: 600;  
    font-size: 0.95rem; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    cursor: pointer; 
    position: relative;

    transition: color 1s ease-in-out;

    background: none;
}

nav a:hover,
nav a.active {
    background: #1F1F1F;

    background-image: var(--gold-metal);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

    border-bottom: 3px solid #D4AF37;
}

/* ==========================================================================
   Contenu Principal (Main)
   ========================================================================== */
main { 
    max-width: 1250px; 
    margin: 30px auto; 
    padding: 20px; 
    background: #FFFFFF; 
}

.page { 
    display: none; 
    padding: 20px 10px; 
}

.page.active { 
    display: block; 
}

h2 { 
    color: var(--header-bg); 
    margin-bottom: 25px; 
    border-bottom: 3px solid transparent; 
    border-image: var(--gold-metal) 1;
    padding-bottom: 10px; 
    font-weight: 700; 
    text-transform: uppercase;
    letter-spacing: 1px;
}

h3 { 
    color: var(--header-bg); 
}

/* Section Header & Badges */
.welcome-header {
    text-align: center;
    margin-bottom: 35px;
}

.badges-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #FFFFFF;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.badge i {
    font-size: 1rem;
    background: var(--gold-metal);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Cartes d'information (Présentation) */
.story-card {
    background-color: var(--card-bg);
    border-left: 4px solid transparent;
    border-image: linear-gradient(
    180deg,
    #8A6508 0%,
    #C89B20 20%,
    #FFF1A8 50%,
    #D4AF37 70%,
    #8A6508 100%
) 1;
    padding: 25px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 35px;
    line-height: 1.7;
}

.story-card h3 {
    margin-bottom: 12px;
}

.story-card ul {
    margin-top: 10px;
    padding-left: 20px;
}

.story-card li {
    margin-bottom: 8px;
}

/* Grille 2 colonnes (Atelier / Prestations) */
.section-title {
    margin-top: 30px;
    margin-bottom: 15px;
}

.house-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 35px;
}

.layout-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}

.house-layout .layout-card:first-child::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('images/focus-interieur.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.18;
    z-index: 0;
    pointer-events: none;
}

.house-layout .layout-card:first-child > * {
    position: relative;
    z-index: 1;
}

.house-layout .layout-card:nth-child(2)::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('images/corsa-exterieur.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.18;
    z-index: 0;
    pointer-events: none;
}

.house-layout .layout-card:nth-child(2) > * {
    position: relative;
    z-index: 1;
}

.layout-card h4 {
    color: var(--header-bg);
    font-size: 1.2rem;
    margin-bottom: 15px;
    border-bottom: 3px solid transparent;
    border-image: var(--gold-metal) 1;
    padding-bottom: 8px;
}

.layout-card ul {
    list-style: none;
    padding-left: 0;
}

.layout-card li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.layout-card li::before {
    content: "✓"; 
    background: var(--gold-metal);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold; 
    position: absolute; 
    left: 0; 
    top: 0; 
}

/* Section Garages / Garanties */
.outdoor-section {
    position: relative;
    background: linear-gradient(180deg, #FFFFFF 0%, var(--card-bg) 100%);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px 35px 35px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

/* Liseré doré en haut de l'encadré */
.outdoor-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gold-metal);
}

/* Titre centré avec un trait doré dessous */
.outdoor-section > h3 {
    text-align: center;
    font-size: 1.6rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0;
}

.outdoor-section > h3::after {
    content: "";
    display: block;
    width: 70px;
    height: 3px;
    margin: 14px auto 0;
    border-radius: 2px;
    background: var(--gold-metal);
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 32px;
}

/* Chaque atout dans sa propre carte */
.amenity-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--gold-primary);
    border-radius: 10px;
    padding: 22px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.amenity-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.amenity-text strong {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Cercles avec effet doré métallisé et reflet */
.amenity-item i {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 50px;
    height: 50px;
    min-width: 50px;
    box-sizing: border-box;
    flex-shrink: 0;

    /* Centre blanc cassé et contour doré */
    background: #F5F1E7;
    border: 2px solid #D4AF37;
    border-radius: 50%;

    /* Icône noire */
    color: #000000;
    -webkit-text-fill-color: #000000;
    font-size: 1.25rem;

    /* Reflet sur le contour */
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.7),
        0 0 3px rgba(212, 175, 55, 0.5);

    position: relative;
    overflow: hidden;
}

/* Reflet lumineux diagonal */
.amenity-item i::after {
    content: "";
    position: absolute;
    top: -5px;
    left: -12px;
    width: 24px;
    height: 52px;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.95),
        transparent
    );

    transform: rotate(35deg);
    pointer-events: none;
}

/* Reflet lumineux */
.amenity-item i::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 6px;
    width: 55%;
    height: 35%;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.65),
        rgba(255, 255, 255, 0)
    );
    pointer-events: none;
}

.amenity-text span {
    font-weight: 400;
    color: #555555;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Fenêtre moyenne : 2 colonnes */
@media (max-width: 1100px) {
    .amenities-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Adaptation pour les téléphones */
@media (max-width: 768px) {
    .outdoor-section {
        padding: 32px 18px 22px;
    }

    .outdoor-section > h3 {
        font-size: 1.3rem;
    }

    .amenities-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 24px;
    }

    .amenity-item {
        padding: 18px 16px;
    }
}

/* Apparition en fondu des cartes, l'une après l'autre
   (activée par script.js ; sans script, les cartes restent visibles) */
.amenities-grid.reveal-ready .amenity-item {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s ease,
                border-color 0.8s ease, box-shadow 0.8s ease;
}

.amenities-grid.reveal-ready.is-revealed .amenity-item {
    opacity: 1;
    transform: none;
}

/* Lumière dorée qui passe de carte en carte (pilotée par script.js) */
.amenity-item {
    position: relative;
    overflow: hidden;
    transition: border-color 0.8s ease, box-shadow 0.8s ease;
}

/* Reflet qui traverse la carte mise en lumière */
.amenity-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 60%;
    height: 100%;
    /* Lumière large et diffuse, aux bords très doux */
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(242, 208, 107, 0.06) 25%,
        rgba(242, 208, 107, 0.2) 50%,
        rgba(242, 208, 107, 0.06) 75%,
        transparent 100%
    );
    /* Rayon incliné à 30° */
    transform: skewX(-30deg);
    pointer-events: none;
    opacity: 0;
}

/* Rayon qui balaie les deux lignes en même temps
   (décalage par colonne calculé dans script.js) */
.amenity-item.is-sweeping::before {
    /* Vitesse constante (linear) : le rayon glisse comme une caresse,
       sans accélérer ni freiner d'une carte à l'autre */
    animation: amenityShine 3.5s linear var(--sweep-delay, 0s) both;
}

/* Départ et arrivée hors de la carte, même avec l'inclinaison */
@keyframes amenityShine {
    0%   { left: -110%; opacity: 1; }
    100% { left: 150%; opacity: 1; }
}

/* L'icône brille au passage du rayon */
.amenity-item.is-sweeping i {
    animation: amenityIconGlow 3.5s ease-in-out var(--sweep-delay, 0s);
}

@keyframes amenityIconGlow {
    0%, 100% {
        box-shadow:
            inset 0 0 0 1px rgba(255, 255, 255, 0.7),
            0 0 3px rgba(212, 175, 55, 0.5);
    }
    50% {
        box-shadow:
            inset 0 0 0 1px rgba(255, 255, 255, 0.7),
            0 0 14px rgba(212, 175, 55, 0.85);
    }
}

.amenity-item i {
    transition: box-shadow 0.8s ease;
}

/* Appel à l'action sous les cartes */
.amenities-cta {
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.amenities-cta-title {
    margin: 0 0 6px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.amenities-cta-text {
    margin: 0 0 4px;
    color: #555555;
    font-size: 0.95rem;
}

.amenities-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

/* Bouton principal (devis) en doré plein */
.amenities-cta .amenities-cta-main {
    background: var(--gold-metal);
    color: #000000;
    border-color: transparent;
}

/* Texte et flèche noirs sur le bouton doré (sinon doré sur doré, illisible) */
.amenities-cta .amenities-cta-main span,
.amenities-cta .amenities-cta-main i {
    color: #000000;
    -webkit-text-fill-color: #000000;
    background: none;
}

/* Carrousel */
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 35px auto;
    height: 420px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    background-color: transparent;
}

.carousel-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.carousel-slide img {
    -webkit-mask-image: 
        linear-gradient(
            to right,
            transparent 0%,
            black 1%,
            black 99%,
            transparent 100%
        ),
        linear-gradient(
            to bottom,
            transparent 0%,
            black 1%,
            black 99%,
            transparent 100%
        );

    -webkit-mask-composite: source-in;

    mask-image: 
        linear-gradient(
            to right,
            transparent 0%,
            black 1%,
            black 99%,
            transparent 100%
        ),
        linear-gradient(
            to bottom,
            transparent 0%,
            black 1%,
            black 99%,
            transparent 100%
        );

    mask-composite: intersect;

    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-slide.active { opacity: 1; }


/* ==========================================================================
   Galerie Photos
   ========================================================================== */
.gallery { 
    display: grid;
    grid-template-columns: repeat(4, 180px);
    gap: 15px;
    justify-content: center;
    align-items: start;
    width: fit-content;
    margin: 0 auto 30px auto;
}

.gallery img { 
    width: 180px;
    height: 180px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: 1px solid var(--border-color);
}

.gallery img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    z-index: 2;
}

/* ==========================================================================
   Galerie par véhicule (cartes « projet » construites par script.js)
   Ton : respect, prestance, sérénité — aucun mouvement brusque
   ========================================================================== */

.gallery-intro {
    max-width: 720px;
    margin: 0 auto 10px;
    text-align: center;
    color: #555555;
    font-size: 1rem;
    line-height: 1.8;
}

.gallery-hint {
    display: none;
    margin: 0 auto 34px;
    text-align: center;
    color: var(--gold-dark);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

#photos.has-projects .gallery-hint {
    display: block;
}

/* L'ancienne grille sert uniquement de source aux cartes */
.gallery.is-source {
    display: none;
}

.gallery-projects {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    max-width: 1150px;
    margin: 0 auto;
}

.project-card {
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    transition: border-color 0.9s ease, box-shadow 0.9s ease;
}

.project-card:focus-visible {
    outline: 2px solid var(--gold-primary);
    outline-offset: 3px;
}

/* Survol (la carte est cliquable) : lumière dorée douce, sans mouvement */
.project-card:hover {
    border-color: var(--gold-primary);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.22);
}

.project-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #111111;
}

.project-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.9s ease;
}

.project-card:hover .project-media img {
    filter: brightness(1.08);
}

/* Voile sombre en bas de la photo pour la profondeur */
.project-media::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 35%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.35), transparent);
    pointer-events: none;
}

.project-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    background: rgba(13, 13, 13, 0.85);
    border: 1px solid var(--gold-primary);
    border-radius: 4px;
    color: #F2D06B;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.project-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px 22px 22px;
    border-top: 3px solid transparent;
    border-image: var(--gold-metal) 1;
}

.project-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 0.5px;
}

.project-meta {
    margin: 0;
    color: #777777;
    font-size: 0.88rem;
}

.project-link {
    margin-top: 8px;
    color: var(--gold-dark);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.project-link i {
    margin-left: 6px;
    transition: transform 0.9s ease;
}

.project-card:hover .project-link i {
    transform: translateX(4px);
}

.gallery-cta {
    max-width: 1150px;
    margin: 50px auto 0;
}

/* =========================================================
   21/11/2026 (validé) : la ligne avant la couleur.
   Couverture de chaque réalisation en noir et blanc (on lit d'abord les formes, les lignes),
   la couleur revient au survol (ordinateur) ou au centre de l'écran (téléphone).
   Cadre type « passe-partout » : marge blanche + filet doré fin, comme une photo encadrée.
   Pour revenir aux couvertures en couleur : supprimer ce bloc (et le bloc « noir et blanc » de script.js).
   ========================================================= */
.project-card .project-media {
    margin: 12px 12px 0;
    border-radius: 4px;
    outline: 1px solid rgba(212, 175, 55, 0.55);
    outline-offset: 5px;
}

.project-card .project-media::after {
    display: none;
}

.project-card .project-media img {
    filter: grayscale(1) contrast(1.06);
    transition: filter 1.4s ease;
}

.project-card:hover .project-media img,
.project-card:focus-visible .project-media img,
.project-card.in-view .project-media img {
    filter: grayscale(0) contrast(1);
}

.project-card .project-body {
    margin-top: 12px;
}

/* Nom du véhicule et position dans la fenêtre d'agrandissement */
.modal-project-info {
    position: absolute;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1003;
    max-width: 60vw;
    color: #F2D06B;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-align: center;
    white-space: pre;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
}

@media (max-width: 1000px) {
    .gallery-projects {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }
}

@media (max-width: 640px) {
    .gallery-projects {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .modal-project-info {
        top: 16px;
        font-size: 0.72rem;
        letter-spacing: 1px;
    }
}

/* ==========================================================================
   Page Prestations & Tarifs
   ========================================================================== */
/* =========================================================
   INTRODUCTION TARIFS
   ========================================================= */

.rates-intro {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.05rem;
}


/* =========================================================
   STRUCTURE PRINCIPALE DES FORFAITS
   ========================================================= */

.pricing-wrapper {
    display: grid;

    grid-template-columns: minmax(0, 5.3fr) minmax(320px, 2.5fr);

    gap: 15px;

    align-items: stretch;
}


/* =========================================================
   COLONNE PRINCIPALE
   ========================================================= */

.pricing-main {
    display: flex;
    flex-direction: column;
}


/* =========================================================
   TITRES DES SECTIONS
   ========================================================= */

.pricing-section-title {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 15px;

    font-size: 1.05rem;
    font-weight: 700;

    letter-spacing: 2px;
    text-transform: uppercase;

    color: var(--gold-primary);

    text-align: center;

    margin: 5px 0 12px;
}


.pricing-section-title::before,
.pricing-section-title::after {
    content: "";

    height: 1px;

    flex: 1;

    background: var(--gold-primary);

    opacity: 0.7;
}


/* =========================================================
   ESPACE ENTRE EXTÉRIEUR ET INTÉRIEUR
   ========================================================= */

.interior-section-title {
    margin-top: 18px;
}


/* =========================================================
   GRILLE EXTÉRIEURE
   ========================================================= */

.pricing-grid-ext {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 15px;

    align-items: stretch;
}


/* =========================================================
   GRILLE INTÉRIEURE
   ========================================================= */

.pricing-grid-int {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 15px;

    align-items: stretch;
}


/* =========================================================
   CARTE SUBLIME
   ========================================================= */

.sublime-card {
    height: 100%;
}


/* =========================================================
   CARTES
   ========================================================= */

.pricing-card {
    background: #FFFFFF;

    border: 1px solid var(--border-color);

    border-radius: 12px;

    padding: 30px 20px;

    text-align: center;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);

    display: flex;

    flex-direction: column;

    justify-content: flex-start;

    align-items: center;

    box-sizing: border-box;
}




/* =========================================================
   CARTE MISE EN AVANT
   ========================================================= */

.pricing-card.highlighted {
    border: 2px solid transparent;

    border-image: var(--gold-metal) 1;

    background-color: #FAF9F5;

    position: relative;
}


/* =========================================================
   ICÔNES
   ========================================================= */

/* Position du pictogramme en haut à droite */
.pricing-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    left: auto;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;
    z-index: 2;
}

/* Symbole doré avec reflet métallique */
.pricing-icon i {
    font-size: 1.5rem;

    background: linear-gradient(
        135deg,
        #FFF3B0 0%,
        #D4AF37 25%,
        #FFF0A0 45%,
        #B8860B 65%,
        #F8E29A 82%,
        #C5A028 100%
    );

    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;

    filter: drop-shadow(0 1px 1px rgba(100, 70, 0, 0.35));
}


/* =========================================================
   TITRES DES CARTES
   ========================================================= */

.pricing-card h3 {
    margin-bottom: 10px;

    font-size: 1.3rem;
}


/* =========================================================
   PRIX
   ========================================================= */

.pricing-card .price {
    font-size: 2rem;

    font-weight: 700;

    color: var(--header-bg);

    margin-bottom: 5px;
}


/* =========================================================
   DURÉE
   ========================================================= */

.pricing-details {
    font-size: 0.88rem;

    color: #666;

    margin-bottom: 20px;

    padding-bottom: 15px;

    border-bottom: 1px solid var(--border-color);
}


/* =========================================================
   LISTE DES PRESTATIONS
   ========================================================= */

.card-features {
    list-style: none;

    text-align: left;

    padding: 0;

    margin-top: 0;

    width: 100%;
}


.card-features li {
    position: relative;

    padding-left: 20px;

    margin-bottom: 10px;

    font-size: 0.9rem;
}


/* =========================================================
   PETITS POINTS DORÉS
   ========================================================= */

.card-features li::before {
    content: "";

    display: block;

    width: 11px;
    height: 11px;

    background: radial-gradient(
        circle at 35% 30%,
        #FFF1A8 0%,
        #D4AF37 45%,
        #A67C12 100%
    );

    border: 1px solid #C9BFA3;

    border-radius: 50%;

    position: absolute;

    left: 0;
    top: 4px;

    box-sizing: border-box;
}


/* =========================================================
   OPTIONS À LA CARTE
   ========================================================= */

.pricing-conditions {
    background: var(--card-bg);

    border: 1px solid var(--border-color);

    border-radius: 10px;

    padding: 25px;

    margin-top: 20px;
}


.pricing-conditions h3 {
    display: flex;

    align-items: center;

    gap: 10px;

    font-size: 1.2rem;

    margin-bottom: 15px;
}


.pricing-conditions ul {
    list-style: none;

    padding-left: 0;
}


.pricing-conditions li {
    padding-left: 20px;

    margin-bottom: 10px;

    position: relative;
}


.pricing-conditions li::before {
    content: "";

    display: block;

    width: 11px;
    height: 11px;

    background: radial-gradient(
        circle at 35% 30%,
        #FFF1A8 0%,
        #D4AF37 45%,
        #A67C12 100%
    );

    border: 1px solid #C9BFA3;

    border-radius: 50%;

    position: absolute;

    left: 0;
    top: 4px;

    box-sizing: border-box;
}
/* ==========================================================================
   Page Contact & Formulaire
   ========================================================================== */
.contact-intro {
    text-align: center;
    color: #555;
    margin-bottom: 30px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.contact-card {
    background-color: var(--card-bg);
    padding: 25px 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.contact-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.contact-card a {
    font-weight: bold;
    color: var(--header-bg);
    text-decoration: none;
    font-size: 1.1rem;
}

.contact-card a:hover {
    color: var(--gold-dark);
    text-decoration: underline;
}

.contact-sub {
    display: block;
    font-size: 0.85rem;
    color: #777;
    margin-top: 8px;
}

/* --------------------------------------------------------------------------
   Mise en page en deux colonnes : formulaire à gauche (bien visible),
   coordonnées et horaires sur le côté droit
   -------------------------------------------------------------------------- */
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 30px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-main .form-status {
    max-width: none;
}

/* Le formulaire occupe toute sa colonne et ressort davantage */
.contact-main .contact-form {
    max-width: none;
    margin: 0;
    background: #FFFFFF;
    border-top: 4px solid var(--gold-primary);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.07);
}

/* Colonne de côté : reste visible pendant qu'on remplit le formulaire */
.contact-aside {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 20px;
}

.contact-aside .contact-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 0;
}

/* Cartes de coordonnées plus compactes, alignées à gauche */
.contact-aside .contact-card {
    text-align: left;
    padding: 16px 18px;
    background: #FFFFFF;
}

.contact-aside .contact-card h3 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.contact-aside .contact-card p {
    margin: 0;
}

.contact-aside .contact-card a {
    font-size: 1rem;
    overflow-wrap: anywhere;
}

.contact-aside .contact-sub {
    margin-top: 4px;
}

.contact-aside .hours-card {
    max-width: none;
    margin: 0;
    padding: 18px;
    background: #FFFFFF;
}

.contact-aside .hours-list li {
    padding: 6px 10px;
    font-size: 0.92rem;
}

/* Tablettes et téléphones : formulaire en premier, coordonnées en dessous */
@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-aside {
        position: static;
    }
}

/* ==========================================================================
   Horaires d'ouverture (carte discrète, couleurs douces)
   ========================================================================== */
.hours-card {
    max-width: 460px;
    margin: 0 auto 40px;
    padding: 22px 24px 18px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    text-align: center;
}

.hours-card h3 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 10px;
    font-size: 1.15rem;
    margin-bottom: 14px;
}

.hours-list {
    list-style: none;
    margin: 0 0 4px;
    padding: 0;
    text-align: left;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 12px;
    border-bottom: 1px dashed var(--border-color);
    border-left: 3px solid transparent;
    color: #444;
    font-size: 0.98rem;
}

.hours-list li:last-child {
    border-bottom: none;
}

.hours-list li.closed {
    color: #999;
}

/* Jour en cours : léger voile doré et fine barre à gauche, sans clignotement */
.hours-list li.today {
    background-color: rgba(212, 175, 55, 0.12);
    border-left-color: var(--gold-primary);
    border-radius: 4px;
    color: var(--text-dark);
    font-weight: 600;
}

.hours-status {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 11px;
    border-radius: 999px;
    letter-spacing: 0.2px;
}

.hours-status.is-open {
    background-color: rgba(46, 125, 50, 0.10);
    color: #2E6B32;
}

.hours-status.is-closed {
    background-color: rgba(0, 0, 0, 0.06);
    color: #666;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form .form-rgpd {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.5;
    color: #888;
    text-align: center;
}

.contact-form .form-rgpd a {
    color: inherit;
    text-decoration: underline;
}

.contact-form h3 {
    margin-bottom: 10px;
    border-bottom: 3px solid transparent;
    border-image: var(--gold-metal) 1;
    padding-bottom: 8px;
}

.contact-form label {
    font-weight: 600;
    font-size: 0.9rem;
}

input, textarea { 
    padding: 12px; 
    border: 1px solid #CCC; 
    border-radius: 6px; 
    font-size: 1rem; 
    font-family: inherit;
    background: #FFFFFF; 
}

input:focus, textarea:focus { 
    outline: none; 
    border-color: var(--gold-primary); 
    box-shadow: 0 0 5px rgba(212, 175, 55, 0.4);
}

button { 
    background: #0d0d0d;

    border: 1px solid #C9BFA3;

    padding: 14px;
    border-radius: 6px;
    cursor: pointer;

    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;

    transition: border-color 0.8s ease-in-out
}

button span {
    background: var(--gold-metal);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

    transition: filter 0.8s ease-in-out;
}

button:hover { 
    background: #0d0d0d;
    border-color: #D4AF37;
}

button:hover span {
 filter: brightness(1.3);
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer { 
    position: relative;
    text-align: center; 
    padding: 35px 20px; 
    background: var(--footer-bg); 
    color: var(--text-light); 
    margin-top: 50px; 
    font-size: 0.9rem; 
    border-top: 3px solid transparent;
    border-image: var(--gold-metal) 1;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    max-width: 1100px;
    margin: 0 auto;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.instagram-btn {   
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #222222;
    color: #D4AF37;
    padding: 8px 18px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;

    border: 1px solid #C9BFA3;

    transition: all 0.8s ease-in-out;
}

.instagram-btn i {
    font-size: 1rem;

    background: var(--gold-metal);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

    border: none;
    border-radius: 0;
    width: auto;
    height: auto;
}

.instagram-btn:hover {
    background: var(--gold-metal);
    color: var(--header-bg);

    border-color: transparent;
}

.instagram-btn:hover i {
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: var(--header-bg);
    background-clip: initial;
}

/* ==========================================================================
   Modale Image
   ========================================================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.modal-content-wrapper {
    position: relative;
    max-width: 85%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-content {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    object-fit: contain;

    border: 2px solid transparent;
    border-image: var(--gold-metal) 1;
}

.modal-caption {
    color: #FFFFFF;
    margin-top: 12px;
    font-size: 0.95rem;
}

/* Étiquette « Avant » / « Après » posée sur une photo seule */
.modal-photo-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 5;
    padding: 7px 14px;
    background: rgba(13, 13, 13, 0.85);
    color: #D4AF37;
    border: 1px solid rgba(212, 175, 55, 0.7);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    pointer-events: none;
}

.modal-photo-tag.is-after {
    background: var(--gold-metal);
    color: #000000;
    border-color: transparent;
}

.modal-photo-tag[hidden] {
    display: none;
}

@media (max-width: 600px) {
    .modal-photo-tag {
        top: 10px;
        left: 10px;
        padding: 5px 10px;
        font-size: 10px;
        letter-spacing: 1.5px;
    }
}

/* Réalisation en plusieurs étapes (avant → pendant → après) */
.modal-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: nowrap;
}

.modal-steps[hidden] {
    display: none;
}

.modal-step {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px 8px 8px;
    background: rgba(13, 13, 13, 0.9);
    color: #D4AF37;
    border: 1px solid rgba(212, 175, 55, 0.55);
    border-radius: 999px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.modal-step-num {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid currentColor;
    font-size: 12px;
    letter-spacing: 0;
}

.modal-step:hover,
.modal-step.is-active {
    background: var(--gold-metal);
    color: #000000;
    border-color: transparent;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.6);
}

.modal-step.is-done {
    border-color: #D4AF37;
}

/* Texte uni (pas de dégradé hérité des titres dorés) */
.modal-step .modal-step-label,
.modal-step .modal-step-num {
    background: none;
    -webkit-text-fill-color: currentColor;
}

.modal-step-line {
    width: 28px;
    height: 2px;
    background: rgba(212, 175, 55, 0.5);
    flex: none;
}

/* Scène du diaporama : les deux photos se superposent pendant le fondu */
.modal-steps-stage {
    position: relative;
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    border-radius: 8px;
    border: 2px solid transparent;
    border-image: var(--gold-metal) 1;
    background: #0d0d0d;
    line-height: 0;
}

.modal-steps-stage[hidden] {
    display: none;
}

.modal-steps-stage .steps-sizer {
    visibility: hidden;
    border: 0;
    border-radius: 0;
    display: block;
}

.modal-steps-stage .steps-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform-origin: 50% 55%;
    will-change: opacity, transform;
}

/* Barre de progression sous l'étape en cours (pendant la lecture) */
.modal-step {
    position: relative;
    overflow: hidden;
}

.modal-step-progress {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 0;
    background: #0d0d0d;
    opacity: 0.55;
}

.modal-steps.is-playing .modal-step.is-active .modal-step-progress {
    animation: stepProgress var(--step-time, 4000ms) linear forwards;
}

@keyframes stepProgress {
    from { width: 0; }
    to { width: 100%; }
}

/* Bouton lecture / pause */
.modal-steps-play {
    flex: none;
    width: 36px;
    height: 36px;
    margin-left: 6px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.55);
    background: rgba(13, 13, 13, 0.9);
    color: #D4AF37;
    cursor: pointer;
    display: inline-grid;
    place-items: center;
    transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.modal-steps-play:hover {
    background: var(--gold-metal);
    color: #000000;
    border-color: transparent;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.6);
}

/* Icône pause (deux barres) ; en pause, elle devient un triangle « lecture » */
.modal-steps-play .play-icon {
    width: 10px;
    height: 12px;
    border-left: 3px solid currentColor;
    border-right: 3px solid currentColor;
    box-sizing: border-box;
}

.modal-steps-play.is-paused .play-icon {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 7px 0 7px 11px;
    border-color: transparent transparent transparent currentColor;
    margin-left: 3px;
}

@media (max-width: 600px) {
    .modal-steps {
        gap: 4px;
    }

    .modal-step {
        padding: 5px 9px 5px 5px;
        font-size: 10px;
        letter-spacing: 0.5px;
        gap: 5px;
    }

    .modal-step-num {
        width: 20px;
        height: 20px;
        font-size: 11px;
    }

    .modal-step-line {
        width: 10px;
    }

    .modal-steps-play {
        width: 30px;
        height: 30px;
        margin-left: 2px;
    }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;

    color: #D4AF37;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1010;

    transition: color 0.5s ease-in-out;
}

.close-modal:hover { 
    color: #FFF1A8;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    background: rgba(0, 0, 0, 0.6);

    color: #D4AF37;

    border: 1px solid #C9BFA3;
    font-size: 1.5rem;
    padding: 12px 16px;
    border-radius: 50%;

    cursor: pointer;
    z-index: 1010;

    transition: all 0.5s ease-in-out;
}

.modal-nav:hover {
    background: var(--gold-metal);
    color: #000000;
    border-color: transparent;
}

.prev-btn { left: 20px; }
.next-btn { right: 20px; }

/* Responsive Mobile */

@media (max-width: 700px) {
    .hero h1 { font-size: 2.2rem; }
    .hero h4 { font-size: 0.9rem; }
    nav ul { flex-direction: column; text-align: center; }
    nav a { padding: 12px; }
    .carousel-container { height: 250px; }
    .gallery { 
        grid-template-columns: repeat(2, 180px);
        justify-content: center;
  }
}

.company-info {
    margin: 20px auto;
    padding-top: 15px;
    border-top: 1px solid #333;
    max-width: 850px;
    text-align: center;
    color: #BBBBBB;
    font-size: 0.85rem;
    line-height: 1.8;
}

.company-info p {
    margin: 3px 0;
}

.company-info strong {
    color: #D4AF37;
}

.company-info a {
    color: #BBBBBB;
    text-decoration: none;
    transition: color 0.3s ease;
}

.company-info a:hover {
    color: #D4AF37;
}

.copyright {
    margin-top: 20px;
    color: #888888;
    font-size: 0.8rem;
}
.legal-link {
    display: inline-block;
    margin-bottom: 12px;
    color: #BBBBBB;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: #D4AF37;
}

.legal-link-container {
    margin-top: 15px;
    margin-bottom: 10px;
    text-align: center;
}

.legal-header .legal-logo {
    width: 360px !important;
    max-width: 360px !important;
    height: auto !important;
    display: block;
    margin: 0 auto 20px auto;
}

/* ==========================================================================
   COMPARATEUR AVANT / APRÈS — FORZA CARE
   ========================================================================== */

.before-after-section {
    width: 100%;
    max-width: 1000px;
    margin: 70px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.before-after-title {
    text-align: center;
    background: var(--gold-metal);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.before-after-intro {
    text-align: center;
    color: #555;
    font-size: 16px;
    margin-bottom: 30px;
}

.before-after-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
    cursor: ew-resize;
    user-select: none;
    touch-action: none;
    background: #111;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    border: 1px solid #222;
}

.before-after-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    pointer-events: none;
}

.before-image {
    z-index: 1;
}

/* Conteneur de l'image APRÈS */
.after-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    z-index: 2;
    pointer-events: none;
}

/* Comparateur de la fenêtre d'agrandissement : les photos reçoivent la souris.
   Sinon le clic droit « traversait » le comparateur et enregistrait la photo
   de la page située derrière (ex. la couverture du Grandland).
   Grâce au clip-path, à gauche du curseur on atteint la photo AVANT,
   à droite la photo APRÈS. Le glissement du curseur fonctionne toujours. */
#modalBeforeAfter .before-after-image {
    pointer-events: auto;
    -webkit-user-drag: none;
    user-select: none;
}

/* Image APRÈS */
.after-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    clip-path: inset(0 50% 0 0);
}

/* Étiquettes AVANT / APRÈS */
.before-label,
.after-label {
    position: absolute;
    top: 20px;
    z-index: 15;

    padding: 10px 16px;

    background: rgba(13, 13, 13, 0.9);
    color: #D4AF37;

    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1;

    border: 1px solid #D4AF37;
    border-radius: 4px;

    cursor: pointer;
    pointer-events: auto;

    text-shadow: 0 0 6px rgba(212, 175, 55, 0.35);

    transition: all 0.9s ease-in-out;
}

.before-label {
    left: 20px;
}

.after-label {
    right: 20px;
}

.before-label:hover,
.after-label:hover {
    background: var(--gold-metal);
    color: #000000;
    border-color: transparent;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.6);
}

.before-label {
    left: 20px;
}

.after-label {
    right: 20px;
}

/* Ligne verticale du comparateur */
.slider-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    transform: translateX(-50%);
    background: #D4AF37;
    z-index: 10;
    pointer-events: none;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

/* Poignée centrale */
.slider-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 52px;
    height: 52px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: #0d0d0d;
    border: 2px solid #D4AF37;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.5);
    pointer-events: none;
    transition: all 0.9s ease-in-out;
}

.arrow-left,
.arrow-right {
    color: #D4AF37;
    font-size: 28px;
    line-height: 1;
    font-family: Arial, sans-serif;
}

.arrow-left,
.arrow-right {
    margin-top: -3px;
}

/* Effet au passage de la souris — identique aux boutons de la galerie */
.before-after-slider:hover .slider-handle {
    transform: translate(-50%, -50%) scale(1.08);
    background: var(--gold-metal);
    color: #000000;
    border-color: transparent;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.6);
    transition: all 0.9s ease-in-out;
}

.before-after-slider:hover .arrow-left,
.before-after-slider:hover .arrow-right {
    color: #000000;
}


/* Version mobile */
@media (max-width: 700px) {

    .before-after-section {
        margin: 50px auto;
        padding: 0 12px;
    }

    .before-after-title {
        font-size: 24px;
        letter-spacing: 2px;
    }

    .before-after-intro {
        font-size: 14px;
    }

    .before-label,
    .after-label {
        top: 12px;
        padding: 6px 9px;
        font-size: 10px;
        letter-spacing: 1.5px;
    }

    .before-label {
        left: 12px;
    }

    .after-label {
        right: 12px;
    }

    .slider-handle {
        width: 44px;
        height: 44px;
    }

    .arrow-left,
    .arrow-right {
        font-size: 24px;
    }
}

 /* ==========================================================================
    COMPARATEUR AVANT / APRÈS — FENÊTRE MODALE
    ========================================================================== */

.before-after-button {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1002;

    margin-top: 0;
    padding: 10px 18px;
    background: rgba(13, 13, 13, 0.9);
    color: #D4AF37;
    border: 1px solid #D4AF37;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.5s ease-in-out;
}

.before-after-button:hover {
    background: var(--gold-metal);
    color: #000000;
    border-color: transparent;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.6);
}

.modal-before-after {
    width: min(900px, 80vw);
    max-height: 75vh;
    display: none;
}

.modal-before-after .before-after-title {
    margin-top: 0;
    margin-bottom: 15px;
}

.modal-before-after .before-after-slider {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.before-after-back {
    display: block;
    margin: 15px auto 0;
    padding: 9px 18px;
    background: rgba(13, 13, 13, 0.9);
    color: #D4AF37;
    border: 1px solid #D4AF37;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.5s ease-in-out;
}

.before-after-back:hover {
    background: var(--gold-metal);
    color: #000000;
    border-color: transparent;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.6);
}

    /* Remonter le comparateur dans la fenêtre modale */
.modal-before-after {
    transform: translateY(-30px);
    }

@media (max-width: 700px) {

    .modal-before-after {
        width: 90vw;
    }

    .modal-before-after .before-after-slider {
        aspect-ratio: 4 / 3;
    }

    .before-after-button,
    .before-after-back {
        font-size: 11px;
        padding: 8px 14px;
    }

    #backToTop {
        bottom: 15px;
        width: 42px;
        height: 42px;
        font-size: 16px;
    }


}


/* ==========================================================================
   BOUTON RETOUR EN HAUT
   ========================================================================== */

#backToTop {
    position: absolute;

    left: 50%;
    top: -24px;

    width: 48px;
    height: 48px;

    margin: 0;
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #0d0d0d;
    color: #D4AF37;

    border: 1px solid #D4AF37;
    border-radius: 50%;

    font-size: 18px;

    cursor: pointer;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateX(-50%);

    transition:
        opacity 0.4s ease,
        visibility 0.4s ease,
        background 0.4s ease,
        color 0.4s ease,
        box-shadow 0.4s ease;

    z-index: 9999;
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

#backToTop:hover {
    background: var(--gold-metal);
    color: #000000;
    border-color: transparent;

    box-shadow: 0 0 12px rgba(212, 175, 55, 0.6);
}

/* Masquer le bouton Retour en haut lorsque la photo est agrandie */
body.modal-open #backToTop {
    display: none !important;
}

/* ==========================================================================
   NOTRE MÉTHODE : AFFICHAGE DES EXPLICATIONS AU SURVOL
   ========================================================================== */


/* ==========================================================================
   NOTRE MÉTHODE : STABILISER LA MISE EN PAGE AU SURVOL
   ========================================================================== */

/* Zone des explications : hauteur réservée pour éviter les sauts */
.process-steps {
    position: relative;
    min-height: 180px;
}

/* Explications visibles par défaut */
.process-steps .process-step {
    display: block;
}

/* Au survol, masquer les explications sans modifier la hauteur du bloc */
.process-steps.has-hover .process-step {
    display: none;
}

/* Afficher uniquement l'explication correspondante */
.process-steps.has-hover .process-step.is-visible {
    display: block;
}

/* Curseur sur les photos */
.gallery-method img {
    cursor: pointer;
}

/* ==========================================================
   FORZA CARE — CATÉGORIES DE VÉHICULES
   4 CASES CARRÉES, DE MÊME TAILLE
   ========================================================== */

#prestations .vehicle-category-selector {
    width: 100%;
    margin: 0 auto 30px;
    text-align: center;
    box-sizing: border-box;
}

#prestations .vehicle-category-title {
    margin: 0 0 20px;
    font-size: 1.1rem;
    font-weight: 700;
}

/* Grille des quatre cases */

#prestations .vehicle-category-options {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px;
    width: 100%;
    max-width: none;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Cases carrées : fond gris anthracite */

#prestations .vehicle-category-option {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;

    width: 100% !important;
    aspect-ratio: 1 / 1;
    height: auto !important;
    min-width: 0;
    min-height: 0;
    box-sizing: border-box;

    padding: 12px;
    overflow-wrap: anywhere;

    background: #2B2B2B;
    color: #333333;
    border: 2px solid #d5d5d5;
    border-radius: 8px;

    font-family: inherit;
    text-align: center;
    cursor: pointer;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

/* Texte des cases : couleurs conservées */

#prestations .vehicle-category-option .category-name {
    display: block;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.35;
}

#prestations .vehicle-category-option .category-description {
    display: block;
    font-size: 0.82rem;
    font-weight: 400;
    line-height: 1.4;
}

/* Survol : encadrement noir */

#prestations .vehicle-category-option:hover {
    border-color: #000000;
}

/* Case sélectionnée : anthracite et dorure avec reflets */

#prestations .vehicle-category-option.active {
    background: #2B2B2B !important;
    color: #1F1F1F !important;
    border: 2px solid #D4AF37 !important;

    outline: 1px solid #000000;
    outline-offset: 2px;

    box-shadow:
        0 0 4px rgba(212, 175, 55, 0.45),
        0 0 9px rgba(242, 208, 107, 0.25) !important;

    border-image: linear-gradient(
        135deg,
        #8A6508 0%,
        #D4AF37 20%,
        #FFF1A8 45%,
        #FFFFFF 50%,
        #F2D06B 60%,
        #D4AF37 80%,
        #8A6508 100%
    ) 1 !important;
}

/* Navigation au clavier */

#prestations .vehicle-category-option:focus-visible {
    outline: 3px solid var(--forza-color, #1e5b91);
    outline-offset: 3px;
}

/* Tablettes et mobiles */

@media (max-width: 760px) {
    #prestations .vehicle-category-options {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px;
    }
}

@media (max-width: 360px) {
    #prestations .vehicle-category-options {
        gap: 8px;
    }

    #prestations .vehicle-category-option {
        padding: 8px;
        gap: 6px;
    }

    #prestations .vehicle-category-option .category-name {
        font-size: 0.85rem;
    }

    #prestations .vehicle-category-option .category-description {
        font-size: 0.72rem;
    }
}

/* Encadré des engagements FORZA CARE */
.engagements-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 35px;
  background: linear-gradient(
    to right,
    #ffffff 0%,
    #b5b5b5 45%,
    #000000 100%
  );
  color: #fff;
  overflow: hidden;
  border-radius: 8px;
}

.engagements-visual {
  min-height: 420px;
}

.engagements-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
}

.engagements-text {
  padding: 38px;
  align-self: center;
  color: #fff;
}

/* Étiquette sombre derrière le texte doré pour qu'il reste lisible sur le fond gris clair */
.engagements-subtitle {
  display: inline-block;
  padding: 7px 14px;
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.55);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.engagements-subtitle span {
  background: linear-gradient(
    110deg,
    #8f672c 0%,
    #c7a15a 20%,
    #f7e6a8 38%,
    #b88a3b 52%,
    #f3d98b 68%,
    #a87932 85%,
    #e5c477 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.engagements-text h3 {
  margin: 12px 0;
  font-size: 30px;
  color: #fff;
}

.engagements-baseline {
  color: #f0f0f0;
  line-height: 1.7;
  margin-bottom: 25px;
}

.engagements-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.engagements-list li {
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  padding: 17px 0;
}

.engagements-list li strong {
  display: block;
  font-size: 15px;
  margin-bottom: 7px;
}

.engagements-list li p {
  margin: 0;
  color: #f0f0f0;
  font-size: 13px;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .engagements-card {
    grid-template-columns: 1fr;
  }

  .engagements-visual,
  .engagements-visual img {
    min-height: 240px;
    max-height: 300px;
  }

  .engagements-text {
    padding: 28px 24px;
    /* Le texte passe sous la photo : fond foncé pour que le blanc reste lisible */
    background: linear-gradient(
      to bottom,
      #3a3a3a 0%,
      #1a1a1a 45%,
      #000000 100%
    );
  }

  .engagements-text h3 {
    font-size: 26px;
  }
}

/* Fenêtre réduite (2 colonnes étroites) : voile sombre au début du texte */
@media (min-width: 769px) and (max-width: 1100px) {
  .engagements-text {
    background: linear-gradient(
      to right,
      rgba(0, 0, 0, 0.45) 0%,
      rgba(0, 0, 0, 0.15) 50%,
      rgba(0, 0, 0, 0) 100%
    );
  }
}

/* =========================================
   FORZA CARE — CARROUSEL NOS ENGAGEMENTS
   ========================================= */

.engagements-visual {
    position: relative;
    min-width: 0;
    min-height: 420px;
    overflow: hidden;
}

.engagements-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 420px;
    overflow: hidden;
    background: #111;
}

.engagements-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
}

.engagements-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.engagements-carousel .engagements-slide img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    object-position: center;
}

/* Flèches de navigation */

.engagements-carousel .engagements-prev,
.engagements-carousel .engagements-next {
    position: absolute;
    top: 50%;
    z-index: 3;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: #d4af37;
    font-size: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.engagements-carousel .engagements-prev {
    left: 12px;
}

.engagements-carousel .engagements-next {
    right: 12px;
}

.engagements-carousel .engagements-prev:hover,
.engagements-carousel .engagements-next:hover {
    background: rgba(212, 175, 55, 0.9);
    color: #000;
}

/* Indicateurs en bas des photos */

.engagements-dots {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 9px;
}

.engagements-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 1px solid #fff;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.engagements-dot.active {
    background: #d4af37;
    border-color: #d4af37;
}

/* Adaptation mobile */

@media (max-width: 768px) {
    .engagements-visual {
        min-height: 260px;
        max-height: 300px;
    }

    .engagements-carousel {
        min-height: 260px;
    }

    .engagements-carousel .engagements-slide img {
        min-height: 260px;
    }
}

/* Fond du cadre visible derrière le logo */
.engagements-carousel {
    background: transparent;
}

/* Le logo conserve son fond transparent */
.engagements-slide img[src*="Logo sans drapeau"] {
    object-fit: contain;
    background: transparent;
}

/* Réduction et centrage du logo dans Nos engagements */
.engagements-carousel .engagements-slide:first-child {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.engagements-carousel .engagements-slide:first-child img {
    width: 65% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: 75% !important;
    object-fit: contain !important;
    margin: 0 auto;
    background: transparent;
}

/* Animation du logo dans les engagements uniquement */
.forza-engagements .engagements-slide:first-child img {
    opacity: 1;
}

.forza-engagements.is-drawing
.engagements-slide:first-child img {
    animation: forzaEngagementLogo 1s ease 3s both;
}

@keyframes forzaEngagementLogo {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* =========================================
   FORZA CARE — FONDU DU CARROUSEL ENGAGEMENTS
   ========================================= */

#forzaEngagements {
    position: relative;
    overflow: hidden;
}

/* Superposition des images pour permettre le fondu */
#forzaEngagements .engagements-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s ease-in-out,
                visibility 1.2s ease-in-out;
}

/* Image visible */
#forzaEngagements .engagements-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

/* Les photos remplissent leur zone sans déformation */
#forzaEngagements .engagements-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Navigation au-dessus des images */
#forzaEngagements .engagements-prev,
#forzaEngagements .engagements-next,
#forzaEngagements .engagements-dots {
    z-index: 2;
}

/* =========================================
   FORZA CARE — BOUTONS DES SPÉCIALITÉS
   Doré métallisé avec reflet
   ========================================= */

.house-layout .specialty-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    margin-top: 20px;
    padding: 12px 18px;

    background: #0d0d0d;
    color: #D4AF37;

    border: 1px solid #D4AF37;
    border-radius: 4px;

    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;

    cursor: pointer;

    transition:
        background 0.5s ease-in-out,
        color 0.5s ease-in-out,
        border-color 0.5s ease-in-out,
        box-shadow 0.5s ease-in-out;
}

/* Reflet doré au survol */
.house-layout .specialty-button:hover {
    background: var(--gold-metal);
    color: #000000;

    border-color: transparent;

    box-shadow:
        0 0 8px rgba(212, 175, 55, 0.4),
        0 0 14px rgba(242, 208, 107, 0.3);
}

/* Flèche du bouton */
.house-layout .specialty-button i {
    color: #D4AF37;
    transition:
        color 0.5s ease-in-out,
        transform 0.3s ease-in-out;
}

.house-layout .specialty-button:hover i {
    color: #000000;
    transform: translateX(4px);
}

/* Affichage adapté aux petits écrans */
@media (max-width: 600px) {
    .house-layout .specialty-button {
        width: 100%;
        padding: 12px 10px;
        font-size: 11px;
    }
}

/* Bouton doré métallisé avec texte noir au survol */
.house-layout .specialty-button:hover {
    background: var(--gold-metal) !important;
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
    border-color: transparent;
}

/* Texte du bouton */
.house-layout .specialty-button:hover span {
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
    background: none !important;
    background-image: none !important;
}

/* Flèche noire au survol */
.house-layout .specialty-button:hover i {
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
    transform: translateX(4px);
}

/* Positionnement du logo dans les cases de prestations */
.pricing-card {
    position: relative;
}

.pricing-card-logo {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 42px;
    height: 42px;
    object-fit: contain;
    z-index: 2;
}

/* Descendre les titres de toutes les prestations */
.pricing-card.ext-essential h3,
.pricing-card.ext-advanced h3,
.pricing-card.int-essential h3,
.pricing-card.int-advanced h3,
.pricing-card.int-elite h3,
.pricing-card.sublime-card h3 {
    margin-top: 35px;
}

/* =========================================
   PAGE FAQ - FORZA CARE
========================================= */

#faq {
    padding: 40px 5% 60px;
}

/* En-tête */
.faq-header {
    max-width: 850px;
    margin: 0 auto 45px;
    text-align: center;
}

.faq-eyebrow {
    color: #C9A746;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 10px;
}

.faq-header h2 {
    margin: 0 0 18px;
}

.faq-gold-line {
    width: 90px;
    height: 3px;
    margin: 0 auto 22px;
    border-radius: 5px;
    background: linear-gradient(
        90deg,
        #9D761C,
        #FFF0A0,
        #C5A028,
        #F8E29A
    );
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.25);
}

.faq-intro {
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Catégories */
.faq-category {
    max-width: 950px;
    margin: 0 auto 38px;
}

.faq-category > h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.5);
}

.faq-category > h3 i {
    color: #D4AF37;
}

/* Questions */
.faq-item {
    margin-bottom: 12px;
    border: 1px solid rgba(212, 175, 55, 0.55);
    border-radius: 10px;
    background: rgba(212, 175, 55, 0.035);
    overflow: hidden;
    transition: border-color 0.25s ease,
                box-shadow 0.25s ease;
}

.faq-item:hover,
.faq-item[open] {
    border-color: #D4AF37;
    box-shadow: 0 3px 14px rgba(212, 175, 55, 0.10);
}

/* Intitulé de la question */
.faq-item summary {
    position: relative;
    padding: 19px 52px 19px 20px;
    color: var(--text-dark, #F5F1E7);
    font-weight: 600;
    line-height: 1.5;
    cursor: pointer;
    list-style: none;
}

/* Retirer le marqueur par défaut */
.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::marker {
    content: "";
}

/* Symbole + / - */
.faq-item summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    color: #D4AF37;
    font-size: 1.6rem;
    font-weight: 400;
}

.faq-item[open] summary::after {
    content: "−";
}

/* Réponse */
.faq-answer {
    padding: 0 20px 20px;
    animation: faqReveal 0.25s ease;
}

.faq-answer p {
    margin: 0;
    line-height: 1.8;
    opacity: 0.9;
}

/* Réponses en plusieurs paragraphes ou avec une liste */
.faq-answer p + p,
.faq-answer ul + p {
    margin-top: 10px;
}

.faq-answer ul {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    opacity: 0.9;
}

.faq-answer ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 6px;
    line-height: 1.7;
}

.faq-answer ul li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 0.65em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold-primary);
}

@keyframes faqReveal {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Bloc de contact */
.faq-contact {
    max-width: 800px;
    margin: 50px auto 0;
    padding: 35px 25px;
    text-align: center;
    border: 1px solid #C9A746;
    border-radius: 14px;
    background: linear-gradient(
        135deg,
        rgba(212, 175, 55, 0.07),
        rgba(0, 0, 0, 0.02)
    );
}

.faq-contact > i {
    color: #D4AF37;
    font-size: 2rem;
    margin-bottom: 15px;
}

.faq-contact h3 {
    margin: 0 0 12px;
}

.faq-contact > p:not(.faq-signature) {
    line-height: 1.7;
    margin-bottom: 22px;
}

/* Bouton */
.faq-contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 13px 22px;
    border: 1px solid #D4AF37;
    border-radius: 6px;
    background: linear-gradient(
        135deg,
        #F8E29A,
        #C5A028,
        #E6CB70
    );
    color: #111;
    font-weight: 700;
    cursor: pointer;
    transition: filter 0.2s ease,
                transform 0.2s ease;
}

.faq-contact-button:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.faq-signature {
    margin: 25px 0 0;
    color: #C9A746;
    font-size: 0.9rem;
    font-style: italic;
}

/* Téléphones */
@media (max-width: 768px) {
    #faq {
        padding: 30px 16px 45px;
    }

    .faq-header {
        margin-bottom: 35px;
    }

    .faq-category {
        margin-bottom: 30px;
    }

    .faq-category > h3 {
        font-size: 1.05rem;
    }

    .faq-item summary {
        padding: 16px 42px 16px 15px;
        font-size: 0.95rem;
    }

    .faq-item summary::after {
        right: 14px;
    }

    .faq-answer {
        padding: 0 15px 17px;
    }

    .faq-contact {
        padding: 28px 18px;
    }
}

/* =========================================
   FORZA CARE — BOUTON CONTACT FAQ
   Même style que les boutons des spécialités
   ========================================= */

.faq-contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    margin-top: 20px;
    padding: 12px 18px;

    background: #0d0d0d;
    color: #D4AF37;

    border: 1px solid #D4AF37;
    border-radius: 4px;

    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;

    cursor: pointer;

    transition:
        background 0.5s ease-in-out,
        color 0.5s ease-in-out,
        border-color 0.5s ease-in-out,
        box-shadow 0.5s ease-in-out;
}

/* Effet doré au survol */
.faq-contact-button:hover {
    background: var(--gold-metal) !important;
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
    border-color: transparent;

    box-shadow:
        0 0 8px rgba(212, 175, 55, 0.4),
        0 0 14px rgba(242, 208, 107, 0.3);
}

/* Texte noir au survol */
.faq-contact-button:hover span {
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
    background: none !important;
    background-image: none !important;
}

/* Flèche dorée puis noire au survol */
.faq-contact-button i {
    color: #D4AF37;
    transition:
        color 0.5s ease-in-out,
        transform 0.3s ease-in-out;
}

.faq-contact-button:hover i {
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
    transform: translateX(4px);
}

/* Adaptation mobile */
@media (max-width: 600px) {
    .faq-contact-button {
        width: 100%;
        padding: 12px 10px;
        font-size: 11px;
    }
}

#prestations .pricing-main-title {
    margin-top: 80px;
}


/* ==========================================================================
   AVANT / APRÈS — INDICES VISUELS DANS LA MODALE
   (bouton visible, photo cliquable, poignée qui clignote, boutons
   AVANT / APRÈS qui pulsent, message d'aide)
   ========================================================================== */

/* --- Bouton "Voir l'avant / après" sur la photo ---------------------------- */

.before-after-button {
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    font-size: 13px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
    animation: baButtonPulse 2s ease-in-out infinite;
}

.before-after-button i {
    font-size: 1.15em;
}

/* Au survol : on garde l'effet doré existant, sans pulsation */
.before-after-button:hover {
    animation: none;
}

/* --- La photo elle-même est cliquable -------------------------------------- */

#modalImage.has-before-after {
    cursor: pointer;
    transition: filter 0.3s ease;
}

#modalImage.has-before-after:hover {
    filter: brightness(1.1);
}

/* --- Comparateur : effets d'attention -------------------------------------- */

/* Phase 1 (va-et-vient du curseur) : la poignée pulse doucement */
.ba-attention .slider-handle {
    animation: baHandlePulse 2.8s ease-in-out 2;
}

/* Phase 2 (curseur revenu au centre) : la poignée « respire » lentement */
.ba-handle-blink .slider-handle {
    animation: baHandleBlink 2.6s ease-in-out 3;
}

/* Boutons AVANT / APRÈS : ils pulsent lentement, à tour de rôle */
.ba-attention .before-label {
    animation: baLabelPulse 3.2s ease-in-out 3;
}

.ba-attention .after-label {
    animation: baLabelPulse 3.2s ease-in-out 1.6s 3;
}

.before-label i,
.after-label i {
    margin-right: 6px;
    font-size: 1.1em;
}

/* Au survol, on garde l'effet doré sans animation */
.before-label:hover,
.after-label:hover {
    animation: none !important;
}

/* --- Message "Faites glisser ou touchez AVANT / APRÈS" --------------------- */

.ba-drag-hint {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    padding: 9px 16px;
    background: rgba(13, 13, 13, 0.9);
    color: #D4AF37;
    border: 1px solid #D4AF37;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none;
    animation: baHintFade 1.6s ease 6s forwards;
}

.ba-drag-hint i {
    margin-right: 8px;
}

/* --- Animations ------------------------------------------------------------ */

/* Le bouton garde son centrage (translateX) pendant l'animation */
@keyframes baButtonPulse {
    0%, 100% {
        transform: translateX(-50%) scale(1);
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5),
                    0 0 0 0 rgba(212, 175, 55, 0.65);
    }
    50% {
        transform: translateX(-50%) scale(1.06);
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5),
                    0 0 0 12px rgba(212, 175, 55, 0);
    }
}

@keyframes baHandlePulse {
    0%, 100% {
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.5),
                    0 0 0 0 rgba(212, 175, 55, 0.7);
    }
    50% {
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.5),
                    0 0 0 16px rgba(212, 175, 55, 0);
    }
}

/* La poignée garde son centrage (translate) pendant le clignotement */
@keyframes baHandleBlink {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        border-color: #D4AF37;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.5),
                    0 0 0 0 rgba(212, 175, 55, 0.8);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        border-color: #FFF1A8;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.5),
                    0 0 0 14px rgba(212, 175, 55, 0),
                    0 0 22px 6px rgba(255, 241, 168, 0.75);
    }
}

@keyframes baLabelPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(212, 175, 55, 0);
    }
}

@keyframes baHintFade {
    to { opacity: 0; visibility: hidden; }
}

/* --- Mobile ---------------------------------------------------------------- */

@media (max-width: 700px) {
    .before-after-button {
        padding: 10px 16px;
        font-size: 11px;
    }

    .ba-drag-hint {
        font-size: 10px;
        padding: 7px 12px;
        letter-spacing: 1px;
        white-space: normal;
        max-width: 90%;
        text-align: center;
    }
}

/* --- Accessibilité : pas d'animation si l'utilisateur les a désactivées ---- */

@media (prefers-reduced-motion: reduce) {
    .before-after-button,
    .ba-attention .slider-handle,
    .ba-handle-blink .slider-handle,
    .ba-attention .before-label,
    .ba-attention .after-label {
        animation: none;
    }
}


/* ==========================================================================
   MENU MOBILE + ACCESSIBILITÉ DE LA NAVIGATION
   ========================================================================== */

/* Texte lu par Google et les lecteurs d'écran, invisible à l'écran (titre h1) */
.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

nav li {
    list-style: none;
}

/* Navigation au clavier : contour doré visible */
nav a:focus-visible,
.nav-toggle:focus-visible {
    outline: 2px solid #D4AF37;
    outline-offset: -4px;
}

/* Bouton "Menu" : caché sur ordinateur */
.nav-toggle {
    display: none;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 16px;
    background: #141414;
    border: 0;
    border-radius: 0;
    color: #D4AF37;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
}

.nav-toggle i {
    color: #D4AF37;
    font-size: 1.2rem;
}

.nav-toggle:hover {
    background: #1F1F1F;
}

/* Téléphones et petites tablettes : menu replié derrière le bouton */
@media (max-width: 760px) {

    .nav-toggle {
        display: flex;
    }

    /* Menu fermé : seule la barre "Menu" reste visible */
    nav:not(.nav-open) ul {
        display: none;
    }

    /* Menu ouvert : liens empilés */
    nav ul {
        flex-direction: column;
        text-align: center;
        border-top: 1px solid #222;
    }

    nav li + li {
        border-top: 1px solid #222;
    }

    nav a {
        padding: 15px 12px;
    }
}

/* Téléphones : la galerie s'adapte à la largeur de l'écran
   (avant, les 2 colonnes de 180 px dépassaient et la photo de droite était rognée) */
@media (max-width: 700px) {
    .gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .gallery img {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }
}

/* ==========================================================================
   FORMULAIRE : MESSAGES D'ENVOI + CHAMP ANTI-SPAM
   ========================================================================== */

.form-status {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    max-width: 700px;
    margin: 0 auto 20px;
    padding: 16px 20px;
    border-radius: 8px;
    font-weight: 600;
    line-height: 1.5;
}

.form-status[hidden] {
    display: none;
}

.form-status i {
    margin-top: 2px;
    font-size: 1.3rem;
}

.form-status-success {
    background: #F5F1E7;
    border: 1px solid #D4AF37;
    color: #1F1F1F;
}

.form-status-success i {
    color: #997A15;
}

.form-status-error {
    background: #FDF1F0;
    border: 1px solid #C0392B;
    color: #7B241C;
}

.form-status-error i {
    color: #C0392B;
}

/* Champ piège : sorti de l'écran, invisible pour les visiteurs */
.form-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ==========================================================================
   FAQ : liens vers les autres pages du site
   ========================================================================== */
.faq-answer a.faq-link {
    color: #7A5C0A;
    text-decoration: underline;
    text-decoration-color: var(--gold-primary);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.faq-answer a.faq-link:hover,
.faq-answer a.faq-link:focus-visible {
    color: var(--gold-dark);
    text-decoration-color: var(--gold-hover);
}


/* ==========================================================================
   PRESTATIONS — MISE EN PAGE TABLETTE ET MOBILE
   (les forfaits passent les uns sous les autres au lieu de se chevaucher)
   ========================================================================== */

/* Tablettes : la carte Sublime passe sous les forfaits */
@media (max-width: 1000px) {
    .pricing-wrapper {
        grid-template-columns: minmax(0, 1fr);
    }

    .pricing-grid-int {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Téléphones : une carte par ligne */
@media (max-width: 700px) {
    .pricing-grid-ext,
    .pricing-grid-int {
        grid-template-columns: minmax(0, 1fr);
    }

    .pricing-card {
        padding: 26px 16px;
    }

    /* Cases de catégorie : hauteur libre pour que le texte tienne */
    #prestations .vehicle-category-option {
        aspect-ratio: auto;
        min-height: 120px;
        justify-content: flex-start;
        padding: 14px 10px;
        gap: 6px;
        overflow-wrap: break-word;
    }

    #prestations .vehicle-category-option .category-name {
        font-size: 0.85rem;
        line-height: 1.25;
    }

    #prestations .vehicle-category-option .category-description {
        font-size: 0.68rem;
        line-height: 1.35;
    }
}


/* ==========================================================================
   MODALE PHOTO + AVANT / APRÈS — MOBILE
   Photo la plus grande possible : seule la barre est posée dessus,
   AVANT / APRÈS au-dessus, flèches de navigation en bas de l'écran
   ========================================================================== */

/* Les effets d'attention suivent les boutons sortis de la photo */
.modal-before-after:has(.ba-attention) .ba-labels-row .before-label {
    animation: baLabelPulse 3.2s ease-in-out 3;
}

.modal-before-after:has(.ba-attention) .ba-labels-row .after-label {
    animation: baLabelPulse 3.2s ease-in-out 1.6s 3;
}

@media (max-width: 700px) {

    .modal-content-wrapper {
        max-width: 100%;
        max-height: none;
    }

    .modal-content {
        max-width: calc(100vw - 16px);
        max-height: calc(100vh - 200px);
    }

    /* Flèches photo précédente / suivante : en bas, hors de la photo */
    .modal-nav {
        top: auto;
        bottom: calc(22px + env(safe-area-inset-bottom));
        transform: none;
        padding: 10px 15px;
        font-size: 1.2rem;
    }

    .prev-btn { left: 20px; }
    .next-btn { right: 20px; }

    .close-modal {
        top: 10px;
        right: 16px;
    }

    /* Comparateur : largeur et hauteur calculées sur la photo (script.js) */
    .modal-before-after {
        width: auto;
        max-height: none;
        transform: none;
    }

    .modal-before-after .before-after-title {
        display: none;
    }

    .modal-before-after .before-after-slider {
        aspect-ratio: auto;
        max-width: calc(100vw - 16px);
        margin: 0 auto;
    }

    /* AVANT à gauche, APRÈS à droite, juste au-dessus de la photo */
    .ba-labels-row {
        display: flex;
        justify-content: space-between;
        gap: 10px;
        max-width: calc(100vw - 16px);
        margin: 0 auto 8px;
    }

    .ba-labels-row .before-label,
    .ba-labels-row .after-label {
        position: static;
        padding: 8px 12px;
        font-size: 11px;
    }

    /* Message d'aide sous la photo */
    .modal-before-after > .ba-drag-hint {
        position: static;
        display: block;
        width: fit-content;
        max-width: calc(100vw - 32px);
        margin: 8px auto 0;
        transform: none;
    }

    .before-after-back {
        margin-top: 10px;
    }
}


/* ==========================================================================
   MODALE PHOTO + AVANT / APRÈS — TÉLÉPHONE EN PAYSAGE
   L'écran est large mais peu haut : AVANT et APRÈS passent de chaque
   côté de la photo, les flèches restent sur les bords
   ========================================================================== */

@media (orientation: landscape) and (max-height: 500px) {

    .modal-content-wrapper {
        max-width: 100%;
        max-height: none;
    }

    /* Photo seule : toute la hauteur disponible */
    .modal-content {
        max-width: calc(100vw - 150px);
        max-height: calc(100vh - 50px);
    }

    .modal-caption {
        margin-top: 6px;
        font-size: 0.85rem;
    }

    .modal-nav {
        padding: 9px 13px;
        font-size: 1.1rem;
    }

    .prev-btn { left: 12px; }
    .next-btn { right: 12px; }

    .close-modal {
        top: 4px;
        right: 14px;
        font-size: 34px;
    }

    .before-after-button {
        top: 8px;
        padding: 7px 12px;
        font-size: 11px;
        white-space: nowrap;
    }

    /* Comparateur : [AVANT] [photo] [APRÈS] */
    .modal-before-after {
        width: auto;
        max-height: none;
        transform: none;
    }

    #modalBeforeAfter:not([style*="none"]) {
        display: grid !important;
        grid-template-columns: auto auto auto;
        grid-template-areas:
            "before slider after";
        align-items: center;
        column-gap: 12px;
        row-gap: 8px;
    }

    .modal-before-after .before-after-title,
    .modal-before-after .ba-drag-hint {
        display: none;
    }

    .ba-labels-row {
        display: contents;
    }

    .ba-labels-row .before-label,
    .ba-labels-row .after-label {
        position: static;
        padding: 8px 10px;
        font-size: 11px;
        letter-spacing: 1.5px;
    }

    .ba-labels-row .before-label { grid-area: before; }
    .ba-labels-row .after-label  { grid-area: after; }

    .modal-before-after .before-after-slider {
        grid-area: slider;
        aspect-ratio: auto;
        margin: 0;
    }

    .before-after-back {
        grid-area: back;
        margin: 0 auto;
        padding: 7px 14px;
        font-size: 11px;
    }

    .slider-handle {
        width: 40px;
        height: 40px;
    }
}


/* ==========================================================================
   MOBILE — CHANGEMENT DE PHOTO EN CUBE 3D (script.js : cubeChangeImage)
   ========================================================================== */

.modal.is-cubing {
    perspective: 1200px;
    overflow: hidden;
}

/* Copie de l'ancienne photo, posée au même endroit que l'originale */
.modal-content-wrapper.cube-face-old {
    position: fixed;
    margin: 0;
    z-index: 1005;
    pointer-events: none;
    box-sizing: border-box;
}

.cube-face-old,
.modal-content-wrapper.cube-in-next,
.modal-content-wrapper.cube-in-prev {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    animation-duration: 0.55s;
    animation-timing-function: cubic-bezier(0.45, 0, 0.25, 1);
    animation-fill-mode: both;
}

/* Photo suivante : le cube tourne vers la gauche */
.cube-out-next {
    transform-origin: 100% 50%;
    animation-name: cubeOutNext;
}

.modal-content-wrapper.cube-in-next {
    transform-origin: 0% 50%;
    animation-name: cubeInNext;
}

/* Photo précédente : le cube tourne vers la droite */
.cube-out-prev {
    transform-origin: 0% 50%;
    animation-name: cubeOutPrev;
}

.modal-content-wrapper.cube-in-prev {
    transform-origin: 100% 50%;
    animation-name: cubeInPrev;
}

@keyframes cubeOutNext {
    from { transform: none; filter: brightness(1); }
    to   { transform: translateX(-100%) rotateY(-90deg); filter: brightness(0.5); }
}

@keyframes cubeInNext {
    from { transform: translateX(100%) rotateY(90deg); filter: brightness(0.5); }
    to   { transform: none; filter: brightness(1); }
}

@keyframes cubeOutPrev {
    from { transform: none; filter: brightness(1); }
    to   { transform: translateX(100%) rotateY(90deg); filter: brightness(0.5); }
}

@keyframes cubeInPrev {
    from { transform: translateX(-100%) rotateY(-90deg); filter: brightness(0.5); }
    to   { transform: none; filter: brightness(1); }
}


/* ==========================================================================
   PAGE PRESTATIONS & TARIFS — VERSION « PRESTANCE »
   (respect du client, clarté, réassurance ; aucun mouvement brusque)
   ========================================================================== */

/* --- Notre méthode : 4 étapes, explication sous chaque photo ------------- */

#prestations .process-intro {
    max-width: 780px;
    margin: 0 auto 34px;
    text-align: center;
    color: #555555;
    line-height: 1.8;
}

.method-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    max-width: 1150px;
    margin: 0 auto;
}

.method-step {
    margin: 0;
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.method-step img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.method-step figcaption {
    padding: 18px 18px 20px;
    border-top: 3px solid transparent;
    border-image: var(--gold-metal) 1;
}

.method-number {
    display: block;
    margin-bottom: 4px;
    color: var(--gold-dark);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.method-step h3 {
    margin: 0 0 8px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.method-step p {
    margin: 0;
    color: #555555;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* --- Introduction des tarifs et bandeau de réassurance ------------------- */

#prestations .rates-intro {
    max-width: 720px;
    margin: 0 auto 22px;
    color: #555555;
    line-height: 1.7;
}

/* Les cases reprennent le style .badge de la page d'accueil
   (fond blanc, texte foncé, icône en dégradé doré métallisé) */
.rates-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    list-style: none;
    margin: 0 auto 38px;
    padding: 0;
}

/* --- Cartes de forfaits -------------------------------------------------- */

/* Le logo n'est plus répété dans chaque carte : titres remontés */
.pricing-card.ext-essential h3,
.pricing-card.ext-advanced h3,
.pricing-card.int-essential h3,
.pricing-card.int-advanced h3,
.pricing-card.int-elite h3,
.pricing-card.sublime-card h3 {
    margin-top: 0;
}

.pricing-card {
    padding-top: 34px;
}

.pricing-family {
    display: block;
    margin-bottom: 2px;
    color: var(--gold-dark);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.pricing-card h3 {
    font-size: 1.55rem;
    letter-spacing: 1px;
}

.pricing-tagline {
    max-width: 300px;
    min-height: 3em;
    margin: 0 auto 16px;
    color: #666666;
    font-size: 0.9rem;
    font-style: italic;
    line-height: 1.5;
}

/* Prix mis en valeur */
.vehicle-prices {
    margin-bottom: 14px;
}

.vehicle-prices p {
    margin: 0 0 2px;
    color: #888888;
    font-size: 0.8rem;
}

.vehicle-prices .selected-price {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

.pricing-card .price {
    margin: 4px 0 14px;
    font-size: 1.8rem;
}

.pricing-details {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.pricing-details i {
    color: var(--gold-dark);
}

/* « Tout le forfait Essential, avec en plus : » */
.features-plus {
    width: 100%;
    margin: 0 0 12px;
    color: var(--gold-dark);
    font-size: 0.85rem;
    font-weight: 700;
    text-align: left;
}

/* Étiquette « Notre conseil » / « Formule signature » */
.pricing-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    padding: 5px 14px;
    background: var(--gold-metal);
    border-radius: 999px;
    color: #000000;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(212, 175, 55, 0.35);
}

/* Laisser la place à l'étiquette au-dessus des cartes */
.pricing-grid-ext,
.pricing-grid-int {
    padding-top: 12px;
}

.pricing-wrapper {
    padding-top: 12px;
}

/* Carte Sublime : fond sombre, la formule signature */
.pricing-card.sublime-card {
    height: auto;
    align-self: start;
    margin-top: 40px;   /* alignée avec les premières cartes, sous le titre « Forfaits extérieurs » */
    background: #111111;
    border: 1px solid var(--gold-primary);
    color: #F0F0F0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.sublime-card h3 {
    color: #FFFFFF;
}

.sublime-card .pricing-family {
    color: #F2D06B;
}

.sublime-card .pricing-tagline {
    color: #CFCFCF;
}

.sublime-card .price {
    color: #F2D06B;
}

.sublime-card .pricing-details {
    color: #BBBBBB;
    border-bottom-color: rgba(255, 255, 255, 0.15);
}

.sublime-card .pricing-details i {
    color: #F2D06B;
}

.sublime-card .card-features li {
    color: #E6E6E6;
}

.sublime-cta {
    width: 100%;
    margin-top: 18px;
}

/* --- Prestations à la carte : libellé à gauche, prix à droite ----------- */

.pricing-conditions {
    margin-top: 34px;
    background: #FFFFFF;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.pricing-conditions h3 {
    margin-bottom: 4px;
}

.pricing-conditions-intro {
    margin: 0 0 16px;
    color: #777777;
    font-size: 0.9rem;
}

.pricing-conditions ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 40px;
    margin: 0;
}

.pricing-conditions li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin: 0;
    padding: 10px 0 10px 20px;
    border-bottom: 1px dashed var(--border-color);
}

.pricing-conditions li::before {
    top: 15px;
}

.pricing-conditions li strong {
    flex-shrink: 0;
    white-space: nowrap;
}

/* --- Invitation finale ---------------------------------------------------- */

.rates-cta {
    margin-top: 44px;
}

/* --- Tablettes et téléphones --------------------------------------------- */

@media (max-width: 1000px) {
    .method-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pricing-card.sublime-card {
        margin-top: 20px;
    }
}

@media (max-width: 700px) {
    .method-steps {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .pricing-conditions ul {
        grid-template-columns: 1fr;
    }

    .pricing-tagline {
        min-height: 0;
    }
}


/* ==========================================================================
   CGVS — MISE EN PAGE DU TEXTE DE L'AVOCAT ET DU FORMULAIRE DE RÉTRACTATION
   ========================================================================== */

.legal-content.cgv {
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-dark);
    line-height: 1.7;
}

.cgv p {
    margin: 0 0 14px;
    text-align: justify;
    hyphens: auto;
}

.cgv a {
    color: var(--gold-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cgv a:hover {
    color: #6f570c;
}

/* Titre du document */
.cgv-titre {
    text-align: center;
    padding: 28px 20px 24px;
    margin-bottom: 30px;
    border-top: 3px solid var(--gold-primary);
    border-bottom: 1px solid var(--border-color);
}

.cgv .cgv-titre p {
    text-align: center;
    margin: 0;
}

.cgv-titre-principal {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #0d0d0d;
}

.cgv-titre-societe {
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--gold-dark);
    margin-top: 8px !important;
}

.cgv-titre-date {
    font-style: italic;
    color: #666;
    margin-top: 6px !important;
}

/* Titres d'articles */
.cgv h2 {
    margin-top: 44px;
    scroll-margin-top: 20px;
}

.cgv h3 {
    font-size: 1.08rem;
    font-weight: 700;
    color: #0d0d0d;
    margin: 28px 0 12px;
    padding-left: 12px;
    border-left: 3px solid var(--gold-primary);
}

.cgv h4 {
    font-size: 1rem;
    font-weight: 600;
    font-style: italic;
    color: #333;
    margin: 20px 0 10px;
}

/* Listes */
.cgv ul {
    margin: 0 0 16px;
    padding-left: 24px;
}

.cgv li {
    margin-bottom: 8px;
    text-align: justify;
}

.cgv li.cgv-intitule {
    font-weight: 700;
    list-style: square;
}

.cgv ul.cgv-sous-liste {
    margin-top: 10px;
    list-style: circle;
}

/* Formulaire de rétractation : présenté comme une feuille à remplir */
.cgv-formulaire {
    margin: 60px 0 30px;
    padding: 36px 40px;
    background: #fff;
    border: 1px solid #d9d9d9;
    border-top: 6px solid var(--gold-primary);
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    scroll-margin-top: 20px;
}

.cgv-formulaire-entete {
    text-align: center;
    margin-bottom: 26px;
}

.cgv .cgv-formulaire-annexe {
    text-align: center;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #888;
    margin-bottom: 6px;
}

.cgv-formulaire h2 {
    margin-top: 0;
    text-align: center;
}

.cgv .cgv-formulaire-consigne {
    text-align: center;
    font-style: italic;
    color: #555;
}

.cgv-formulaire-destinataire {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 14px 18px;
    margin-bottom: 20px;
}

.cgv .cgv-formulaire-destinataire p {
    margin: 0;
    text-align: left;
}

.cgv .cgv-formulaire-label {
    font-weight: 700;
    margin-bottom: 4px !important;
}

.cgv .cgv-formulaire-declaration {
    font-weight: 600;
    text-align: left;
}

.cgv-champs {
    margin: 18px 0 8px;
}

.cgv-champ {
    display: grid;
    grid-template-columns: minmax(200px, 38%) 1fr;
    align-items: end;
    gap: 14px;
    margin-bottom: 14px;
}

.cgv-champ label {
    font-weight: 600;
    font-size: 0.95rem;
}

.cgv-precision {
    display: block;
    font-weight: 400;
    font-style: italic;
    font-size: 0.82rem;
    color: #666;
}

.cgv-champ input,
.cgv-champ textarea {
    width: 100%;
    border: none;
    border-bottom: 1px dotted #555;
    border-radius: 0;
    background: transparent;
    padding: 6px 2px;
    font: inherit;
    color: var(--text-dark);
    resize: vertical;
    min-height: 34px;
    box-shadow: none;
}

.cgv-champ input:focus,
.cgv-champ textarea:focus {
    outline: none;
    border-bottom: 2px solid var(--gold-primary);
    background: #fffbea;
}

.cgv-signature {
    height: 90px;
    border: 1px dashed #999;
    border-radius: 4px;
}

.cgv-champs-signature .cgv-champ {
    align-items: start;
}

.cgv-formulaire-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 20px;
    margin: 26px 0 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.cgv-bouton {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0d0d0d;
    color: var(--gold-primary);
    border: 1px solid var(--gold-primary);
    border-radius: 999px;
    padding: 11px 22px;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.cgv-bouton:hover,
.cgv-bouton:focus-visible {
    background: var(--gold-primary);
    color: #0d0d0d;
}

.cgv .cgv-formulaire-aide {
    flex: 1 1 260px;
    margin: 0;
    font-size: 0.85rem;
    color: #666;
    text-align: left;
}

.cgv-notice {
    background: var(--card-bg);
    border-radius: 6px;
    padding: 20px 24px 8px;
}

.cgv-notice h3 {
    margin-top: 0;
}

.cgv .cgv-notice p {
    font-size: 0.93rem;
}

@media (max-width: 700px) {
    .cgv p,
    .cgv li {
        text-align: left;
    }

    .cgv-formulaire {
        padding: 24px 18px;
    }

    .cgv-champ {
        grid-template-columns: 1fr;
        gap: 2px;
    }
}

/* Impression : tout le document, ou uniquement le formulaire */
@media print {
    header,
    footer,
    .cgv-formulaire-actions {
        display: none !important;
    }

    body,
    main {
        background: #fff !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .cgv a {
        color: inherit;
        text-decoration: none;
    }

    .cgv-formulaire {
        box-shadow: none;
        border: 1px solid #999;
        page-break-before: always;
    }

    body.cgv-impression-formulaire .cgv > *:not(.cgv-formulaire) {
        display: none !important;
    }

    body.cgv-impression-formulaire .cgv-formulaire {
        margin: 0;
        border: none;
        padding: 0;
        page-break-before: auto;
    }

    .cgv-champ input,
    .cgv-champ textarea {
        border-bottom: 1px dotted #000;
    }
}


/* ==========================================================================
   21/11/2026 (validé) : FENÊTRE DES PHOTOS « CINÉMA » + AVANT / APRÈS DISCRET
   Même symbolique que la galerie : la ligne d'abord (noir et blanc), puis la couleur.
   - ouverture : la pièce s'assombrit lentement, la photo apparaît en noir et blanc
     puis prend sa couleur ; les commandes arrivent ensuite, sans bruit ;
   - photo suivante / précédente : fondu enchaîné (plus de cube 3D) ;
   - fermeture : la fenêtre s'éteint doucement ;
   - « Avant / Après » : plus petit, sans clignotement ni pulsation.
   Pour annuler : supprimer ce bloc et les lignes « 21/11/2026 (validé) » de script.js.
   ========================================================================== */
.modal.fc-opening {
    animation: fcBackdropIn 1.4s ease both;
}
.modal.fc-opening .modal-content-wrapper {
    animation: fcRevealImage 2.8s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
.modal.fc-opening .close-modal,
.modal.fc-opening .modal-nav,
.modal.fc-opening .modal-project-info,
.modal.fc-opening .modal-caption {
    animation: fcFadeIn 1s ease 1.6s both;
}
.modal.fc-closing {
    animation: fcBackdropOut 0.65s ease both;
}
.modal.fc-closing .modal-content-wrapper {
    animation: fcImageOut 0.55s ease both;
}
.modal-content-wrapper.fc-swap-out {
    transition: opacity 0.4s ease, filter 0.4s ease;
    opacity: 0;
    filter: grayscale(1) brightness(0.8);
}
.modal-content-wrapper.fc-swap-in {
    animation: fcSwapIn 1.1s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
@keyframes fcBackdropIn {
    from { background-color: rgba(0, 0, 0, 0); backdrop-filter: blur(0); }
    to   { background-color: rgba(0, 0, 0, 0.94); backdrop-filter: blur(6px); }
}
@keyframes fcBackdropOut {
    from { background-color: rgba(0, 0, 0, 0.94); }
    to   { background-color: rgba(0, 0, 0, 0); backdrop-filter: blur(0); }
}
@keyframes fcRevealImage {
    0%   { opacity: 0; transform: scale(0.985); filter: grayscale(1) brightness(0.8); }
    35%  { opacity: 1; filter: grayscale(1) brightness(0.95); }
    100% { opacity: 1; transform: scale(1); filter: grayscale(0) brightness(1); }
}
@keyframes fcSwapIn {
    0%   { opacity: 0; filter: grayscale(1) brightness(0.85); }
    40%  { opacity: 1; filter: grayscale(1) brightness(0.95); }
    100% { opacity: 1; filter: grayscale(0) brightness(1); }
}
@keyframes fcImageOut {
    to { opacity: 0; transform: scale(0.99); filter: grayscale(1); }
}
@keyframes fcFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Avant / Après plus discret : galerie */
.project-badge {
    top: 12px;
    left: 12px;
    gap: 6px;
    padding: 4px 9px;
    background: rgba(0, 0, 0, 0.38);
    border: 1px solid rgba(242, 208, 107, 0.45);
    border-radius: 2px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 2px;
    backdrop-filter: blur(2px);
}
.project-badge i {
    font-size: 0.9em;
    opacity: 0.8;
}

/* Avant / Après plus discret : fenêtre des photos */
.before-after-button {
    padding: 6px 12px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    background: rgba(0, 0, 0, 0.45);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(242, 208, 107, 0.5);
    border-radius: 2px;
    box-shadow: none;
    animation: none;
}
.before-after-button:hover {
    background: rgba(0, 0, 0, 0.7);
    color: #F2D06B;
    border-color: #D4AF37;
    box-shadow: none;
}
.modal-photo-tag,
.modal-photo-tag.is-after {
    padding: 4px 9px;
    background: rgba(0, 0, 0, 0.45);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(242, 208, 107, 0.45);
    border-radius: 2px;
    font-size: 10px;
    font-weight: 600;
}
.ba-attention .slider-handle,
.ba-handle-blink .slider-handle,
.ba-attention .before-label,
.ba-attention .after-label {
    animation: none !important;
}
.ba-drag-hint {
    padding: 5px 11px;
    background: rgba(0, 0, 0, 0.5);
    color: rgba(255, 255, 255, 0.85);
    border-color: rgba(242, 208, 107, 0.4);
    font-size: 10px;
    font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
    .modal.fc-opening, .modal.fc-opening *, .modal.fc-closing, .modal.fc-closing * { animation: none !important; }
}
/* 21/11/2026 (validé) (suite) : comparateur de la fenêtre plus discret */
#imageModal .modal-before-after .before-after-title {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 5px;
    opacity: 0.75;
    margin-bottom: 14px;
}
#imageModal .before-label,
#imageModal .after-label {
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.4);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(242, 208, 107, 0.45);
    border-radius: 2px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-shadow: none;
    backdrop-filter: blur(2px);
}
#imageModal .before-label:hover,
#imageModal .after-label:hover {
    background: rgba(0, 0, 0, 0.65);
    color: #F2D06B;
    border-color: #D4AF37;
    box-shadow: none;
}
#imageModal .before-label i,
#imageModal .after-label i {
    display: none;
}
#imageModal .slider-handle {
    transform: translate(-50%, -50%) scale(0.8);
}

/* ==========================================================================
   23/11/2026 : CARROUSEL « NOS ENGAGEMENTS » — TÉLÉPHONE UNIQUEMENT
   La photo change en tournant comme la face d'un cube (glisser le doigt,
   flèches, points, défilement automatique). Ordinateur : fondu inchangé.
   ========================================================================== */
@media (max-width: 768px) {
    /* Pas de fondu sur téléphone : sinon, une fois le cube tourné, l'ancienne photo
       restait visible puis s'effaçait en fondu (les deux effets en même temps) */
    #forzaEngagements .engagements-slide {
        transition: none !important;
    }
    /* Sur téléphone, on change de photo en glissant le doigt : pas de flèches (les points restent) */
    #forzaEngagements .engagements-prev,
    #forzaEngagements .engagements-next {
        display: none !important;
    }
    #forzaEngagements.fc-cube {
        perspective: 1000px;
    }
    #forzaEngagements .engagements-slide.cube-anim {
        opacity: 1 !important;
        visibility: visible !important;
        transition: none !important;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        animation-duration: 0.75s;
        animation-timing-function: cubic-bezier(0.45, 0, 0.25, 1);
        animation-fill-mode: both;
    }
    #forzaEngagements .engagements-slide.cube-out-next { transform-origin: 100% 50%; animation-name: engCubeOutNext; z-index: 1; }
    #forzaEngagements .engagements-slide.cube-in-next  { transform-origin: 0% 50%;   animation-name: engCubeInNext;  z-index: 1; }
    #forzaEngagements .engagements-slide.cube-out-prev { transform-origin: 0% 50%;   animation-name: engCubeOutPrev; z-index: 1; }
    #forzaEngagements .engagements-slide.cube-in-prev  { transform-origin: 100% 50%; animation-name: engCubeInPrev;  z-index: 1; }

    /* TEST 23/11/2026 : variante « sphère » (data-turn="sphere" sur le carrousel dans index.html ;
       data-turn="cube" pour revenir au cube).
       Version 3 : les deux photos sont posées sur un globe qui tourne autour de son centre
       (axe placé derrière l'écran). Pendant la rotation, la photo prend une forme de disque
       et reçoit un ombrage de volume : on lit une sphère, pas des coins arrondis.
       Fluidité : seuls la transformation 3D, la découpe ronde et l'opacité de l'ombre bougent
       (plus de luminosité ni de coins animés, qui faisaient saccader le téléphone). */
    #forzaEngagements[data-turn="sphere"].fc-cube {
        perspective: 1100px;
        perspective-origin: 50% 50%;
    }
    #forzaEngagements[data-turn="sphere"] .engagements-slide.cube-anim {
        transform-origin: 50% 50% -240px !important;
        will-change: transform, clip-path;
        animation-duration: 1.15s;
        animation-timing-function: cubic-bezier(0.45, 0.05, 0.25, 1);
    }
    #forzaEngagements[data-turn="sphere"] .engagements-slide.cube-anim::after {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: radial-gradient(circle at 40% 38%, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 30%, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.55) 72%, rgba(0, 0, 0, 0.85) 100%);
        will-change: opacity;
        animation-duration: 1.15s;
        animation-timing-function: cubic-bezier(0.45, 0.05, 0.25, 1);
        animation-fill-mode: both;
        animation-name: engSphereShadeOut;
    }
    #forzaEngagements[data-turn="sphere"] .engagements-slide.cube-in-next::after,
    #forzaEngagements[data-turn="sphere"] .engagements-slide.cube-in-prev::after {
        animation-name: engSphereShadeIn;
    }
    #forzaEngagements[data-turn="sphere"] .engagements-slide.cube-out-next { animation-name: engSphereOutNext; }
    #forzaEngagements[data-turn="sphere"] .engagements-slide.cube-in-next  { animation-name: engSphereInNext; }
    #forzaEngagements[data-turn="sphere"] .engagements-slide.cube-out-prev { animation-name: engSphereOutPrev; }
    #forzaEngagements[data-turn="sphere"] .engagements-slide.cube-in-prev  { animation-name: engSphereInPrev; }
}
@keyframes engSphereShadeOut { 0% { opacity: 0; } 40% { opacity: 1; } 100% { opacity: 1; } }
@keyframes engSphereShadeIn  { 0% { opacity: 1; } 60% { opacity: 1; } 100% { opacity: 0; } }
@keyframes engSphereOutNext {
    0%   { transform: rotateY(0deg) scale(1);       clip-path: circle(75% at 50% 50%); }
    40%  { transform: rotateY(-38deg) scale(0.86);  clip-path: circle(44% at 50% 50%); }
    100% { transform: rotateY(-95deg) scale(0.74);  clip-path: circle(42% at 50% 50%); }
}
@keyframes engSphereInNext {
    0%   { transform: rotateY(95deg) scale(0.74);   clip-path: circle(42% at 50% 50%); }
    60%  { transform: rotateY(38deg) scale(0.86);   clip-path: circle(44% at 50% 50%); }
    100% { transform: rotateY(0deg) scale(1);       clip-path: circle(75% at 50% 50%); }
}
@keyframes engSphereOutPrev {
    0%   { transform: rotateY(0deg) scale(1);       clip-path: circle(75% at 50% 50%); }
    40%  { transform: rotateY(38deg) scale(0.86);   clip-path: circle(44% at 50% 50%); }
    100% { transform: rotateY(95deg) scale(0.74);   clip-path: circle(42% at 50% 50%); }
}
@keyframes engSphereInPrev {
    0%   { transform: rotateY(-95deg) scale(0.74);  clip-path: circle(42% at 50% 50%); }
    60%  { transform: rotateY(-38deg) scale(0.86);  clip-path: circle(44% at 50% 50%); }
    100% { transform: rotateY(0deg) scale(1);       clip-path: circle(75% at 50% 50%); }
}
@keyframes engCubeOutNext { from { transform: none; filter: brightness(1); } to { transform: translateX(-100%) rotateY(-90deg); filter: brightness(0.5); } }
@keyframes engCubeInNext  { from { transform: translateX(100%) rotateY(90deg); filter: brightness(0.5); } to { transform: none; filter: brightness(1); } }
@keyframes engCubeOutPrev { from { transform: none; filter: brightness(1); } to { transform: translateX(100%) rotateY(90deg); filter: brightness(0.5); } }
@keyframes engCubeInPrev  { from { transform: translateX(-100%) rotateY(-90deg); filter: brightness(0.5); } to { transform: none; filter: brightness(1); } }


/* ===== Apparition du logo (tracé SVG puis révélation du logo) ===== */
.logo-anim {
    position: relative;
    display: block;
    width: fit-content;
    z-index: 2;
    transition: transform 0.7s linear;
}
.logo-anim .logo-trace {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    display: none;
}
/* Courbes douces : départ et arrivée en glissé, étapes qui se chevauchent */
.logo-anim.is-playing .logo-trace { display: block; }
/* Les traits s'effacent quand le logo apparaît ; le liseré tricolore, lui, reste et arrive en dernier */
.logo-anim.is-playing .lt-ecusson,
.logo-anim.is-playing .lt-mono,
.logo-anim.is-playing .lt-texte { animation: ltFade 2.1s cubic-bezier(.4,0,.2,1) 4.05s both; }
.logo-anim.is-playing .logo-image { animation: ltReveal 2.85s cubic-bezier(.33,0,.15,1) 2.85s both; }
.logo-trace [pathLength] { fill: none; stroke-dasharray: 1 1; stroke-dashoffset: 1; stroke-linejoin: round; stroke-linecap: round; }
.logo-trace .lt-ecusson path { stroke: #CDB98F; stroke-width: 7; }
.logo-trace .lt-mono path    { stroke: #E6E6E6; stroke-width: 5; }
.logo-trace .lt-texte path   { stroke: #FFFFFF; stroke-width: 2.4; }
.logo-anim.is-playing .lt-ecusson path { animation: ltDraw 2.7s cubic-bezier(.35,.1,.45,1) 0s both; }
/* Liseré lancé quand le voile de révélation (1,9 s + 1,9 s) commence à passer (rythme ralenti pour un tracé « à la main », environ 6 s au total) */
.logo-anim.is-playing .lt-lisere       { animation: ltSweep 2.25s cubic-bezier(.35,.1,.45,1) 2.85s both; }
.logo-anim.is-playing .lt-mono path    { animation: ltDraw 2.6s cubic-bezier(.35,.1,.45,1) .9s both; }
.logo-anim.is-playing .lt-texte path   { animation: ltDraw 2.4s cubic-bezier(.35,.1,.45,1) 1.35s both; }
/* Le trait apparaît en fondu pendant qu'il se dessine : pas de départ sec */
@keyframes ltDraw  { 0% { stroke-dashoffset: 1; opacity: 0; } 18% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 1; } }
@keyframes ltSweep { 0% { clip-path: inset(0 0 100% 0); opacity: 0; } 25% { opacity: 1; } 100% { clip-path: inset(0 0 0 0); opacity: 1; } }
@keyframes ltFade  { from { opacity: 1; } to { opacity: 0; } }
@keyframes ltReveal {
    from { -webkit-mask-position: 100% 0, 0 0; mask-position: 100% 0, 0 0; opacity: .6; }
    to   { -webkit-mask-position: 0 0, 0 0;    mask-position: 0 0, 0 0;    opacity: 1; }
}
/* Bord de révélation large et progressif (un fondu, pas une ligne nette) */
.logo-anim.is-playing .logo-image {
    /* 2e couche : cache le liseré du logo pendant l'animation (il est dessiné à la fin) */
    -webkit-mask-image: linear-gradient(90deg, #000 0 34%, rgba(0,0,0,.55) 50%, transparent 66% 100%), url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 480' preserveAspectRatio='none'%3E%3Cmask id='m'%3E%3Crect width='800' height='480' fill='white'/%3E%3Cg transform='translate(201.82 93.872) scale(0.19893)' fill='black' stroke='black' stroke-width='14' stroke-linejoin='round'%3E%3Cpath d='M464.99 1068.5L465.5 1068.07L467.5 1068L490.5 1068L492 1068.5L478.69 1092.5L473.19 1100.5L458.56 1124.5L457.38 1125.5L455.75 1128.5L434.73 1158.5L412.5 1187.44L402.41 1199.5L400.23 1201.5L395.71 1207.5L393.42 1209.5L388.96 1215.5L356.5 1250.42L333.5 1273.05L328.5 1277.16L327.5 1278.59L319.5 1285.4L318.78 1286.5L306.5 1297.24L305.5 1298.58L301.5 1301.41L299.5 1303.59L293.5 1308.15L283.5 1316.86L282.5 1317.25L281.5 1318.58L277.5 1321.4L275.5 1323.52L272.5 1325.35L271.5 1326.59L251.5 1341.25L243.5 1347.65L240.5 1349.29L237.5 1351.81L208.5 1371.69L205.5 1373.17L193.5 1381.02L192.5 1381.26L191.5 1382.28L179.5 1389.4L176.5 1391.68L165.5 1397.5L164.5 1398.49L155.5 1403.63L151.5 1405.38L148.5 1407.64L106.5 1428.9L104.5 1429.36L100.5 1431.58L98.5 1432.09L97.5 1432.96L95.5 1433.35L91.5 1435.63L89.5 1436.12L88.5 1436.97L86.5 1437.5L73.5 1443.61L68.5 1445.15L59.5 1449.01L57.5 1449.32L56.5 1450.17L50.5 1452.22L49.5 1452.96L47.5 1453.25L46.5 1454.09L40.5 1456.07L39.5 1456.8L31.5 1457.25L28.5 1457.94L16.5 1458.46L7.5 1458L5.1 1457.5L8.5 1456.78L32.5 1448.69L34.5 1446.98L36.5 1446.75L38.5 1445.24L40.5 1444.91L41.5 1444.12L43.5 1443.89L44.5 1442.98L46.5 1442.75L48.5 1441.3L50.5 1440.87L51.5 1440.1L56.25 1438.5L57.5 1437.38L64.5 1434.83L66.5 1433.33L73.5 1430.82L75.5 1429.26L82.5 1426.8L84.5 1425.26L88.5 1423.87L92.5 1421.25L96.5 1419.81L100.5 1417.22L106.5 1414.71L107.84 1413.5L114.5 1410.65L115.5 1409.58L118.5 1408.08L119.5 1407.97L123.5 1405.24L128.5 1402.84L132.5 1400.14L136.27 1398.5L139.5 1396.1L142.5 1394.82L144.5 1393.23L145.5 1393.16L151.5 1389.24L154.5 1387.94L164.5 1381.23L168.5 1378.9L169.5 1378.8L170.5 1377.51L172.5 1376.2L173.5 1376L178.63 1372.5L180.5 1371.8L183.5 1369.28L188.5 1366.6L189.5 1365.33L192.5 1363.84L195.5 1361.23L196.5 1360.91L204.5 1355.03L205.5 1354.82L208.5 1352.18L209.5 1351.99L212.5 1349.39L217.21 1346.5L239.5 1329.24L240.5 1328.96L244.5 1325.36L245.5 1325.12L249.5 1321.5L252.5 1319.82L254.5 1317.37L258.5 1314.61L259.5 1313.3L260.5 1312.96L265.5 1308.27L268.5 1306.59L270.5 1304.13L273.5 1301.65L276.5 1299.83L278.5 1297.5L286.85 1290.5L296.1 1281.5L304.5 1274.59L306.13 1272.5L308.5 1270.6L314.5 1264.17L336.61 1242.5L338.13 1240.5L340.59 1238.5L342.08 1236.5L344.5 1234.42L349.11 1228.5L360.5 1216.89L363.5 1212.63L365.84 1210.5L371.5 1203.19L372.59 1202.5L377.09 1196.5L382 1191.5L383.86 1188.5L388.33 1183.5L390.15 1180.5L392.59 1178.5L393.27 1176.5L396.5 1172.94L399.36 1168.5L400.83 1167.5L402.37 1164.5L404.6 1162.5L407.5 1157.88L410 1155.5L410.09 1154.5L411.37 1152.5L412.82 1151.5L414.17 1148.5L418.98 1142.5L419.78 1140.5L421.84 1138.5L423.25 1135.5L424.59 1134.5L426.07 1131.5L428.72 1128.5L428.93 1127.5L434 1120.5L434.09 1119.5L437.85 1114.5L439.23 1111.5L440.59 1110.5L441.06 1108.5L442.78 1106.5L443.52 1104.5L444.82 1103.5L446.14 1100.5L447.17 1099.5L447.3 1098.5L449.84 1095.5L450.5 1093.61L454 1088.5L454.07 1087.5L456.82 1083.5L458.12 1080.5L459.11 1079.5L459.5 1077.92L460.82 1076.5L460.93 1075.5L464.82 1069.5Z'/%3E%3Cpath d='M557.05 489.5L558.5 489L583.5 489.01L583.99 489.5L584.03 760.5L583.17 763.5L582.84 787.5L582.06 788.5L581.39 793.5L581.24 800.5L580.22 805.5L580.06 812.5L579.16 815.5L578.86 821.5L577.43 826.5L575.96 838.5L575.12 840.5L574.74 846.5L574.11 847.5L571.88 859.5L571.04 861.5L570.87 864.5L569.46 868.5L568.06 876.5L567.2 878.5L566.86 882.5L564.22 890.5L562.72 897.5L561.43 900.5L559.83 907.5L559.14 908.5L558.85 911.5L557.54 914.5L555.79 921.5L551.11 934.5L550.87 936.5L547.05 946.5L546.81 948.5L538.86 969.5L537.25 972.5L530.5 990.37L529.2 992.5L514.75 1025.5L508.23 1037.5L499.97 1054.5L493.33 1066.5L491.5 1068L466.5 1067.98L466.02 1067.5L466.04 1066.5L469.94 1060.5L471.5 1056.91L472.82 1055.5L474.13 1051.5L475.05 1050.5L475.77 1048.5L476.82 1047.5L478.18 1043.5L480.82 1039.5L482.24 1035.5L484.82 1031.5L487.29 1025.5L488.82 1023.5L490.16 1019.5L492.5 1015.34L495.5 1007.62L496.65 1006.5L496.98 1004.5L497.94 1003.5L499.5 998.74L501.9 994.5L503.2 990.5L504.57 988.5L507.5 979.69L508.65 978.5L508.89 976.5L511.17 971.5L511.41 969.5L512.82 967.5L515.39 959.5L516.78 957.5L517.07 955.5L517.92 954.5L518.06 952.5L519.12 950.5L519.29 948.5L520.72 946.5L520.88 944.5L521.94 942.5L522.09 940.5L523.12 938.5L523.34 936.5L524.73 934.5L526.12 928.5L526.83 927.5L527.46 924.5L528.76 922.5L528.95 920.5L529.96 918.5L530.03 916.5L531.08 914.5L531.3 911.5L532.82 908.5L532.93 906.5L533.92 904.5L534.18 901.5L535.17 899.5L535.25 897.5L536.79 894.5L537.16 891.5L537.93 890.5L538.15 887.5L539.11 885.5L539.35 882.5L540.82 879.5L540.89 876.5L541.97 873.5L542.11 870.5L542.98 868.5L543.35 864.5L544.82 861.5L545.09 857.5L545.75 856.5L546.11 852.5L547.04 850.5L547.29 845.5L548.78 841.5L548.98 836.5L549.97 833.5L550.05 829.5L551.13 825.5L551.24 821.5L552.68 817.5L552.99 809.5L553.97 805.5L554.12 797.5L555.13 792.5L555.24 785.5L556.82 773.5Z'/%3E%3Cpath d='M557.02 6.5L557.5 5.86L558.5 5.67L581.5 5.71L583.5 6.3L584.03 7.5L584.05 488.5L583.5 488.99L558.5 489L556.97 488.5Z'/%3E%3C/g%3E%3C/mask%3E%3Crect width='800' height='480' fill='white' mask='url(%23m)'/%3E%3C/svg%3E");
            mask-image: linear-gradient(90deg, #000 0 34%, rgba(0,0,0,.55) 50%, transparent 66% 100%), url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 480' preserveAspectRatio='none'%3E%3Cmask id='m'%3E%3Crect width='800' height='480' fill='white'/%3E%3Cg transform='translate(201.82 93.872) scale(0.19893)' fill='black' stroke='black' stroke-width='14' stroke-linejoin='round'%3E%3Cpath d='M464.99 1068.5L465.5 1068.07L467.5 1068L490.5 1068L492 1068.5L478.69 1092.5L473.19 1100.5L458.56 1124.5L457.38 1125.5L455.75 1128.5L434.73 1158.5L412.5 1187.44L402.41 1199.5L400.23 1201.5L395.71 1207.5L393.42 1209.5L388.96 1215.5L356.5 1250.42L333.5 1273.05L328.5 1277.16L327.5 1278.59L319.5 1285.4L318.78 1286.5L306.5 1297.24L305.5 1298.58L301.5 1301.41L299.5 1303.59L293.5 1308.15L283.5 1316.86L282.5 1317.25L281.5 1318.58L277.5 1321.4L275.5 1323.52L272.5 1325.35L271.5 1326.59L251.5 1341.25L243.5 1347.65L240.5 1349.29L237.5 1351.81L208.5 1371.69L205.5 1373.17L193.5 1381.02L192.5 1381.26L191.5 1382.28L179.5 1389.4L176.5 1391.68L165.5 1397.5L164.5 1398.49L155.5 1403.63L151.5 1405.38L148.5 1407.64L106.5 1428.9L104.5 1429.36L100.5 1431.58L98.5 1432.09L97.5 1432.96L95.5 1433.35L91.5 1435.63L89.5 1436.12L88.5 1436.97L86.5 1437.5L73.5 1443.61L68.5 1445.15L59.5 1449.01L57.5 1449.32L56.5 1450.17L50.5 1452.22L49.5 1452.96L47.5 1453.25L46.5 1454.09L40.5 1456.07L39.5 1456.8L31.5 1457.25L28.5 1457.94L16.5 1458.46L7.5 1458L5.1 1457.5L8.5 1456.78L32.5 1448.69L34.5 1446.98L36.5 1446.75L38.5 1445.24L40.5 1444.91L41.5 1444.12L43.5 1443.89L44.5 1442.98L46.5 1442.75L48.5 1441.3L50.5 1440.87L51.5 1440.1L56.25 1438.5L57.5 1437.38L64.5 1434.83L66.5 1433.33L73.5 1430.82L75.5 1429.26L82.5 1426.8L84.5 1425.26L88.5 1423.87L92.5 1421.25L96.5 1419.81L100.5 1417.22L106.5 1414.71L107.84 1413.5L114.5 1410.65L115.5 1409.58L118.5 1408.08L119.5 1407.97L123.5 1405.24L128.5 1402.84L132.5 1400.14L136.27 1398.5L139.5 1396.1L142.5 1394.82L144.5 1393.23L145.5 1393.16L151.5 1389.24L154.5 1387.94L164.5 1381.23L168.5 1378.9L169.5 1378.8L170.5 1377.51L172.5 1376.2L173.5 1376L178.63 1372.5L180.5 1371.8L183.5 1369.28L188.5 1366.6L189.5 1365.33L192.5 1363.84L195.5 1361.23L196.5 1360.91L204.5 1355.03L205.5 1354.82L208.5 1352.18L209.5 1351.99L212.5 1349.39L217.21 1346.5L239.5 1329.24L240.5 1328.96L244.5 1325.36L245.5 1325.12L249.5 1321.5L252.5 1319.82L254.5 1317.37L258.5 1314.61L259.5 1313.3L260.5 1312.96L265.5 1308.27L268.5 1306.59L270.5 1304.13L273.5 1301.65L276.5 1299.83L278.5 1297.5L286.85 1290.5L296.1 1281.5L304.5 1274.59L306.13 1272.5L308.5 1270.6L314.5 1264.17L336.61 1242.5L338.13 1240.5L340.59 1238.5L342.08 1236.5L344.5 1234.42L349.11 1228.5L360.5 1216.89L363.5 1212.63L365.84 1210.5L371.5 1203.19L372.59 1202.5L377.09 1196.5L382 1191.5L383.86 1188.5L388.33 1183.5L390.15 1180.5L392.59 1178.5L393.27 1176.5L396.5 1172.94L399.36 1168.5L400.83 1167.5L402.37 1164.5L404.6 1162.5L407.5 1157.88L410 1155.5L410.09 1154.5L411.37 1152.5L412.82 1151.5L414.17 1148.5L418.98 1142.5L419.78 1140.5L421.84 1138.5L423.25 1135.5L424.59 1134.5L426.07 1131.5L428.72 1128.5L428.93 1127.5L434 1120.5L434.09 1119.5L437.85 1114.5L439.23 1111.5L440.59 1110.5L441.06 1108.5L442.78 1106.5L443.52 1104.5L444.82 1103.5L446.14 1100.5L447.17 1099.5L447.3 1098.5L449.84 1095.5L450.5 1093.61L454 1088.5L454.07 1087.5L456.82 1083.5L458.12 1080.5L459.11 1079.5L459.5 1077.92L460.82 1076.5L460.93 1075.5L464.82 1069.5Z'/%3E%3Cpath d='M557.05 489.5L558.5 489L583.5 489.01L583.99 489.5L584.03 760.5L583.17 763.5L582.84 787.5L582.06 788.5L581.39 793.5L581.24 800.5L580.22 805.5L580.06 812.5L579.16 815.5L578.86 821.5L577.43 826.5L575.96 838.5L575.12 840.5L574.74 846.5L574.11 847.5L571.88 859.5L571.04 861.5L570.87 864.5L569.46 868.5L568.06 876.5L567.2 878.5L566.86 882.5L564.22 890.5L562.72 897.5L561.43 900.5L559.83 907.5L559.14 908.5L558.85 911.5L557.54 914.5L555.79 921.5L551.11 934.5L550.87 936.5L547.05 946.5L546.81 948.5L538.86 969.5L537.25 972.5L530.5 990.37L529.2 992.5L514.75 1025.5L508.23 1037.5L499.97 1054.5L493.33 1066.5L491.5 1068L466.5 1067.98L466.02 1067.5L466.04 1066.5L469.94 1060.5L471.5 1056.91L472.82 1055.5L474.13 1051.5L475.05 1050.5L475.77 1048.5L476.82 1047.5L478.18 1043.5L480.82 1039.5L482.24 1035.5L484.82 1031.5L487.29 1025.5L488.82 1023.5L490.16 1019.5L492.5 1015.34L495.5 1007.62L496.65 1006.5L496.98 1004.5L497.94 1003.5L499.5 998.74L501.9 994.5L503.2 990.5L504.57 988.5L507.5 979.69L508.65 978.5L508.89 976.5L511.17 971.5L511.41 969.5L512.82 967.5L515.39 959.5L516.78 957.5L517.07 955.5L517.92 954.5L518.06 952.5L519.12 950.5L519.29 948.5L520.72 946.5L520.88 944.5L521.94 942.5L522.09 940.5L523.12 938.5L523.34 936.5L524.73 934.5L526.12 928.5L526.83 927.5L527.46 924.5L528.76 922.5L528.95 920.5L529.96 918.5L530.03 916.5L531.08 914.5L531.3 911.5L532.82 908.5L532.93 906.5L533.92 904.5L534.18 901.5L535.17 899.5L535.25 897.5L536.79 894.5L537.16 891.5L537.93 890.5L538.15 887.5L539.11 885.5L539.35 882.5L540.82 879.5L540.89 876.5L541.97 873.5L542.11 870.5L542.98 868.5L543.35 864.5L544.82 861.5L545.09 857.5L545.75 856.5L546.11 852.5L547.04 850.5L547.29 845.5L548.78 841.5L548.98 836.5L549.97 833.5L550.05 829.5L551.13 825.5L551.24 821.5L552.68 817.5L552.99 809.5L553.97 805.5L554.12 797.5L555.13 792.5L555.24 785.5L556.82 773.5Z'/%3E%3Cpath d='M557.02 6.5L557.5 5.86L558.5 5.67L581.5 5.71L583.5 6.3L584.03 7.5L584.05 488.5L583.5 488.99L558.5 489L556.97 488.5Z'/%3E%3C/g%3E%3C/mask%3E%3Crect width='800' height='480' fill='white' mask='url(%23m)'/%3E%3C/svg%3E");
    -webkit-mask-size: 300% 100%, 100% 100%;
            mask-size: 300% 100%, 100% 100%;
    -webkit-mask-composite: source-in;
            mask-composite: intersect;
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
}

/* Téléphone en portrait : le décalage à droite passe sur le conteneur du logo */
@media (max-width: 700px) and (orientation: portrait) {
    .logo-anim { transform: translateX(calc(50vw - 50% - 10px)); }
    .logo-anim .logo-image { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .logo-anim { transition: none; }
    .logo-anim .logo-trace { display: none !important; }
}

/* ===== Fenêtre photo : une photo seule suit la même règle que le comparateur Avant/Après
   (coins arrondis, fin filet sombre, pas de cadre doré) ===== */
.modal-content {
    border: 1px solid #222;
    border-image: none;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

/* ==========================================================================
   NOTRE MÉTHODE — version compacte (test du 23/11/2026)
   Bandeau sombre, 4 étapes côte à côte (2 sur tablette, liste serrée sur
   téléphone), grands numéros dorés fins. Photos en noir et blanc, la couleur
   revient au survol (ordinateur) ou quand l'étape passe au centre de l'écran
   (téléphone), comme la galerie. Les textes ne changent pas.
   ========================================================================== */
.method-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    max-width: 1150px;
    margin: 6px auto 0;
    background: #0d0d0d;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.18);
}
.method-step {
    margin: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
}
.method-step + .method-step { border-left: 1px solid rgba(201, 191, 163, 0.12); }

.method-step img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    filter: grayscale(1) contrast(1.06) brightness(0.9);
    transition: filter 1.4s ease;
}
.method-step:hover img,
.method-step.in-view img { filter: grayscale(0) contrast(1) brightness(1); }

/* Étape 2 (capture de la jauge) : écran présenté entier, comme un instrument */
.method-step:nth-child(2) img {
    object-fit: contain;
    padding: 14px 0;
    box-sizing: border-box;
    background: radial-gradient(circle at 50% 50%, #1d1d1d 0%, #0d0d0d 70%);
}

.method-step figcaption {
    padding: 20px 22px 24px;
    border: 0;
    border-image: none;
}
.method-number {
    display: block;
    margin: 0 0 10px;
    font-size: 2.2rem;
    font-weight: 300;
    line-height: 1;
    letter-spacing: 2px;
    color: #C9A84C;
}
.method-step h3 {
    margin: 0 0 12px;
    color: #F2F2F2;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
}
.method-step h3::after {
    content: "";
    display: block;
    width: 32px;
    height: 1px;
    margin-top: 10px;
    background: linear-gradient(90deg, #D4AF37, #F2D06B);
}
.method-step p {
    margin: 0;
    color: #A9A9A9;
    font-size: 0.88rem;
    line-height: 1.65;
}

@media (max-width: 1000px) {
    .method-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .method-step:nth-child(3) { border-left: 0; }
    .method-step:nth-child(n+3) { border-top: 1px solid rgba(201, 191, 163, 0.12); }
}

/* Téléphone : une ligne par étape, petite photo à gauche, texte à droite */
@media (max-width: 700px) {
    .method-steps { grid-template-columns: 1fr; border-radius: 12px; gap: 0; }
    .method-step {
        display: grid;
        grid-template-columns: 112px 1fr;
        align-items: stretch;
    }
    .method-step + .method-step { border-left: 0; border-top: 1px solid rgba(201, 191, 163, 0.12); }
    .method-step img { height: 100%; aspect-ratio: auto; min-height: 120px; }
    .method-step:nth-child(2) img { padding: 8px 0; }
    .method-step figcaption { padding: 14px 16px 16px; }
    .method-number { font-size: 1.5rem; margin-bottom: 6px; }
    .method-step h3 { font-size: 0.85rem; letter-spacing: 2px; margin-bottom: 8px; }
    .method-step h3::after { margin-top: 7px; width: 26px; }
    .method-step p { font-size: 0.84rem; line-height: 1.55; }
}
@media (prefers-reduced-motion: reduce) {
    .method-step img { transition: none; }
}

/* Notre méthode : photo coupée en diagonale, le texte remonte dans la pointe sombre */
.method-step img { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 78%); }
.method-step figcaption { position: relative; margin-top: -34px; padding-top: 8px; }
@media (max-width: 700px) {
    .method-step img { clip-path: polygon(0 0, 74% 0, 100% 100%, 0 100%); }
    .method-step figcaption { margin-top: 0; margin-left: 0; padding-top: 14px; }
}
/* Notre méthode : diagonale plus marquée, photos plus petites */
.method-step img { aspect-ratio: 16 / 9; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 52%); }
.method-step:nth-child(2) img { padding: 8px 0; }
.method-step figcaption { margin-top: -58px; }
@media (max-width: 1000px) {
    .method-step figcaption { margin-top: -70px; }
}
@media (max-width: 700px) {
    .method-step { grid-template-columns: 92px 1fr; }
    .method-step img { aspect-ratio: auto; min-height: 110px; clip-path: polygon(0 0, 52% 0, 100% 100%, 0 100%); }
    .method-step:nth-child(2) img { padding: 6px 0; }
    .method-step figcaption { margin-top: 0; }
}/* Cadrage : le sujet (lampe, outils, produits) reste visible malgré la diagonale */
.method-step:nth-child(1) img { object-position: 60% 62%; }
.method-step:nth-child(3) img { object-position: 55% 70%; }
.method-step:nth-child(4) img { object-position: 50% 62%; }
/* Notre méthode : diagonale aux angles arrondis (masque SVG à la place de la coupe droite) */
.method-step img {
    clip-path: none;
    -webkit-mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0,0 H100 V86 C100,97 97,99 89,95.5 C62,83 34,70 11,58 C3,54 0,52 0,44 Z' fill='black'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%;
            mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0,0 H100 V86 C100,97 97,99 89,95.5 C62,83 34,70 11,58 C3,54 0,52 0,44 Z' fill='black'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%;
}
@media (max-width: 700px) {
    .method-step img {
        clip-path: none;
        -webkit-mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0,0 H42 C49,0 52,2 55,9 C68,37 82,66 95,92 C98,98 97,100 90,100 H0 Z' fill='black'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%;
                mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0,0 H42 C49,0 52,2 55,9 C68,37 82,66 95,92 C98,98 97,100 90,100 H0 Z' fill='black'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%;
    }
}
/* Notre méthode : arrondis de la diagonale plus marqués */
.method-step img {
    -webkit-mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0,0 H100 V72 C100,97 93,100 79,93 C58,82 37,71 21,63 C6,56 0,52 0,34 Z' fill='black'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%;
            mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0,0 H100 V72 C100,97 93,100 79,93 C58,82 37,71 21,63 C6,56 0,52 0,34 Z' fill='black'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%;
}
@media (max-width: 700px) {
    .method-step img {
        -webkit-mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0,0 H32 C46,0 52,5 57,15 C69,40 79,62 88,80 C97,98 95,100 80,100 H0 Z' fill='black'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%;
                mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0,0 H32 C46,0 52,5 57,15 C69,40 79,62 88,80 C97,98 95,100 80,100 H0 Z' fill='black'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%;
    }
}

/* ==========================================================================
   CHOIX DE LA CATÉGORIE — même style que « Notre méthode » (test 23/11/2026)
   Cases sombres, photo d'un véhicule réel coupée en diagonale arrondie,
   noir et blanc ; la couleur revient au survol et sur la catégorie choisie.
   ========================================================================== */
#prestations .vehicle-category-option {
    aspect-ratio: auto;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 6px;
    padding: 0 0 16px;
    background: #0d0d0d !important;
    border: 1px solid #262626;
    border-radius: 12px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
}
#prestations .vehicle-category-option .category-photo {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    margin-bottom: -26px;
    filter: grayscale(1) contrast(1.06) brightness(0.9);
    transition: filter 1s ease;
    -webkit-mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0,0 H100 V72 C100,97 93,100 79,93 C58,82 37,71 21,63 C6,56 0,52 0,34 Z' fill='black'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%;
            mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0,0 H100 V72 C100,97 93,100 79,93 C58,82 37,71 21,63 C6,56 0,52 0,34 Z' fill='black'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%;
}
#prestations .vehicle-category-option:hover .category-photo,
#prestations .vehicle-category-option.active .category-photo {
    filter: grayscale(0) contrast(1) brightness(1);
}
#prestations .vehicle-category-option .category-name {
    position: relative;
    padding: 0 16px;
    color: #F2F2F2;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}
#prestations .vehicle-category-option .category-name::after {
    content: "";
    display: block;
    width: 28px;
    height: 1px;
    margin-top: 8px;
    background: linear-gradient(90deg, #D4AF37, #F2D06B);
}
#prestations .vehicle-category-option .category-description {
    padding: 0 16px;
    color: #A9A9A9;
    font-size: 0.8rem;
    line-height: 1.5;
}
#prestations .vehicle-category-option:hover { border-color: #5a5a5a; }
#prestations .vehicle-category-option.active {
    background: #0d0d0d !important;
    outline: none;
}
@media (max-width: 760px) {
    #prestations .vehicle-category-option { padding: 0 0 12px; min-height: 0; gap: 5px; }
    #prestations .vehicle-category-option .category-photo { margin-bottom: -18px; }
    #prestations .vehicle-category-option .category-name { padding: 0 10px; font-size: 0.72rem; letter-spacing: 1px; }
    #prestations .vehicle-category-option .category-description { padding: 0 10px; font-size: 0.68rem; line-height: 1.4; }
}
@media (prefers-reduced-motion: reduce) {
    #prestations .vehicle-category-option .category-photo { transition: none; }
}
/* Catégories : textes comme « Notre méthode » (titre clair, description grise) au lieu du doré des boutons */
#prestations .vehicle-category-option .category-name,
#prestations .vehicle-category-option .category-description {
    background: none;
    -webkit-text-fill-color: currentColor;
}
#prestations .vehicle-category-option .category-description { text-transform: none; letter-spacing: 0; }
#prestations .vehicle-category-option.active .category-name { color: #F2D06B; }
/* Notre méthode : étapes très légèrement espacées (chaque étape devient sa propre carte sombre) */
.method-steps {
    gap: 10px;
    background: transparent;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
}
.method-step {
    background: #0d0d0d;
    border-radius: 12px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
}
.method-step + .method-step { border-left: 0; border-top: 0; }
@media (max-width: 1000px) {
    .method-step:nth-child(n+3) { border-top: 0; }
}
@media (max-width: 700px) {
    .method-steps { gap: 8px; }
    .method-step + .method-step { border-top: 0; }
}
/* Notre méthode : dégradé continu d'une étape à l'autre, du gris anthracite (01) au noir (04) */
.method-step:nth-child(1) { background: linear-gradient(90deg, #2B2B2B, #202020); }
.method-step:nth-child(2) { background: linear-gradient(90deg, #202020, #151515); }
.method-step:nth-child(3) { background: linear-gradient(90deg, #151515, #0A0A0A); }
.method-step:nth-child(4) { background: linear-gradient(90deg, #0A0A0A, #000000); }
.method-step:nth-child(2) img { background: transparent; }
@media (max-width: 700px) {
    .method-step:nth-child(1) { background: linear-gradient(180deg, #2B2B2B, #202020); }
    .method-step:nth-child(2) { background: linear-gradient(180deg, #202020, #151515); }
    .method-step:nth-child(3) { background: linear-gradient(180deg, #151515, #0A0A0A); }
    .method-step:nth-child(4) { background: linear-gradient(180deg, #0A0A0A, #000000); }
}
/* Catégories : même dégradé que « Notre méthode », du gris anthracite (Citadine) au noir (Grand SUV) */
#prestations .vehicle-category-option:nth-child(1) { background: linear-gradient(90deg, #2B2B2B, #202020) !important; }
#prestations .vehicle-category-option:nth-child(2) { background: linear-gradient(90deg, #202020, #151515) !important; }
#prestations .vehicle-category-option:nth-child(3) { background: linear-gradient(90deg, #151515, #0A0A0A) !important; }
#prestations .vehicle-category-option:nth-child(4) { background: linear-gradient(90deg, #0A0A0A, #000000) !important; }
/* Catégories : cadrage des photos remonté de 10 % (50 % -> 30 %) */
#prestations .vehicle-category-option .category-photo { object-position: 50% 30%; }

/* ==========================================================================
   PRESTATIONS À LA CARTE — présentées comme une carte de grande maison :
   fond anthracite → noir, intitulés clairs, points de conduite dorés vers le prix
   ========================================================================== */
#prestations .pricing-conditions {
    margin-top: 40px;
    padding: 44px 48px 36px;
    background: linear-gradient(135deg, #2B2B2B 0%, #151515 55%, #000000 100%);
    border: 1px solid #262626;
    border-radius: 12px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
}
#prestations .pricing-conditions h3 {
    display: block;
    margin: 0 0 10px;
    text-align: center;
    color: #F2F2F2;
    -webkit-text-fill-color: currentColor;
    background: none;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
}
#prestations .pricing-conditions h3 i { display: none; }
#prestations .pricing-conditions h3::after {
    content: "";
    display: block;
    width: 44px;
    height: 1px;
    margin: 14px auto 0;
    background: #C9A84C;
}
#prestations .pricing-conditions-intro {
    margin: 0 0 30px;
    text-align: center;
    color: #A9A9A9;
    font-size: 0.9rem;
}
#prestations .pricing-conditions ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 64px;
    margin: 0;
    padding: 0;
}
#prestations .pricing-conditions li {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    margin: 0;
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
#prestations .pricing-conditions li span {
    order: 1;
    flex: 0 1 auto;
    min-width: 0;
    color: #E6E6E6;
    font-size: 0.92rem;
    line-height: 1.45;
    transition: color .3s ease;
}
/* Points de conduite entre l'intitulé et le prix */
#prestations .pricing-conditions li::before {
    content: "";
    order: 2;
    position: static;
    flex: 1 1 24px;
    min-width: 24px;
    width: auto;
    height: 0;
    margin: 0 0 6px;
    background: none;
    border-radius: 0;
    box-shadow: none;
    border-bottom: 1px dotted rgba(201, 168, 76, 0.45);
    transition: border-color .3s ease;
}
#prestations .pricing-conditions li strong {
    order: 3;
    flex-shrink: 0;
    white-space: nowrap;
    color: #C9A84C;
    -webkit-text-fill-color: currentColor;
    background: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}
#prestations .pricing-conditions li:hover span { color: #FFFFFF; }
#prestations .pricing-conditions li:hover::before { border-bottom-color: rgba(242, 208, 107, 0.85); }
@media (max-width: 700px) {
    #prestations .pricing-conditions { padding: 32px 20px 24px; }
    #prestations .pricing-conditions ul { grid-template-columns: 1fr; }
    #prestations .pricing-conditions li span { font-size: 0.88rem; }
    #prestations .pricing-conditions li strong { font-size: 0.85rem; }
}
/* À la carte : deux familles, Intérieur / Extérieur, côte à côte */
#prestations .pricing-conditions .carte-groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 64px;
    align-items: start;
}
#prestations .pricing-conditions .carte-groups ul { grid-template-columns: 1fr; }
#prestations .pricing-conditions .carte-group h4 {
    margin: 0 0 4px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(201, 168, 76, 0.35);
    color: #C9A84C;
    -webkit-text-fill-color: currentColor;
    background: none;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
}
@media (max-width: 700px) {
    #prestations .pricing-conditions .carte-groups { grid-template-columns: 1fr; gap: 28px; }
}
/* À la carte : la prestation d'abord, le prix en retrait (gris discret, pointillés neutres), pas d'effet au survol */
#prestations .pricing-conditions li span { color: #F2F2F2; }
#prestations .pricing-conditions li strong { color: #9A9A9A; font-weight: 400; letter-spacing: 0.3px; }
#prestations .pricing-conditions li::before { border-bottom-color: rgba(255, 255, 255, 0.16); transition: none; }
#prestations .pricing-conditions li:hover span { color: #F2F2F2; }
#prestations .pricing-conditions li:hover::before { border-bottom-color: rgba(255, 255, 255, 0.16); }

/* Logo : version courte (≈ 2,6 s) quand on revient sur l'accueil depuis une autre page du site */
.logo-anim.is-playing.is-court .lt-ecusson path { animation-duration: 1.08s; animation-delay: 0s; }
.logo-anim.is-playing.is-court .lt-mono path    { animation-duration: 1.04s; animation-delay: .36s; }
.logo-anim.is-playing.is-court .lt-texte path   { animation-duration: .96s;  animation-delay: .54s; }
.logo-anim.is-playing.is-court .lt-lisere       { animation-duration: .9s;   animation-delay: 1.14s; }
.logo-anim.is-playing.is-court .logo-image      { animation-duration: 1.14s; animation-delay: 1.14s; }
.logo-anim.is-playing.is-court .lt-ecusson,
.logo-anim.is-playing.is-court .lt-mono,
.logo-anim.is-playing.is-court .lt-texte        { animation-duration: .84s;  animation-delay: 1.62s; }
/* Carrousel de l'accueil : flèches discrètes et grises (plus de rond noir ni de doré) */
#forzaEngagements .engagements-prev,
#forzaEngagements .engagements-next {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.45);
    font-size: 18px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
    opacity: 0.55;
    transition: opacity .3s ease, color .3s ease;
}
#forzaEngagements:hover .engagements-prev,
#forzaEngagements:hover .engagements-next { opacity: 1; }
#forzaEngagements .engagements-prev:hover,
#forzaEngagements .engagements-next:hover {
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
}
#forzaEngagements .engagements-prev:focus-visible,
#forzaEngagements .engagements-next:focus-visible { opacity: 1; outline: 1px solid rgba(255, 255, 255, 0.6); outline-offset: 2px; }
/* ==========================================================================
   ACCUEIL — INTÉRIEUR & EXTÉRIEUR : même langage que « Notre méthode »
   (carte sombre en dégradé, photo N&B coupée en diagonale arrondie, couleur au survol)
   ========================================================================== */
.house-layout { gap: 14px; }
.house-layout .layout-card {
    display: flex;
    flex-direction: column;
    padding: 0 0 28px;
    border: 1px solid #262626;
    border-radius: 12px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
    color: #A9A9A9;
}
.house-layout .layout-card:nth-child(1) { background: linear-gradient(90deg, #2B2B2B, #151515); }
.house-layout .layout-card:nth-child(2) { background: linear-gradient(90deg, #151515, #000000); }
.house-layout .layout-card::before { display: none !important; }
.house-layout .expertise-photo {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 7;
    object-fit: cover;
    object-position: 50% 55%;
    margin-bottom: -18px;
    filter: grayscale(1) contrast(1.06) brightness(0.9);
    transition: filter 1s ease;
    -webkit-mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0,0 H100 V72 C100,97 93,100 79,93 C58,82 37,71 21,63 C6,56 0,52 0,34 Z' fill='black'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%;
            mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0,0 H100 V72 C100,97 93,100 79,93 C58,82 37,71 21,63 C6,56 0,52 0,34 Z' fill='black'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%;
}
.house-layout .layout-card:nth-child(2) .expertise-photo { object-position: 50% 50%; }
.house-layout .layout-card:hover .expertise-photo,
.house-layout .layout-card.in-view .expertise-photo { filter: grayscale(0) contrast(1) brightness(1); }
.house-layout .layout-card h4 {
    margin: 0 0 18px;
    padding: 0 28px;
    border: none;
    border-image: none;
    color: #F2F2F2;
    -webkit-text-fill-color: currentColor;
    background: none;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.house-layout .layout-card h4::after {
    content: "";
    display: block;
    width: 40px;
    height: 1px;
    margin-top: 12px;
    background: #C9A84C;
}
.house-layout .layout-card ul { margin: 0; padding: 0 28px; flex: 1; }
.house-layout .layout-card li {
    margin: 0;
    padding: 11px 0 11px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: #A9A9A9;
    font-size: 0.9rem;
    line-height: 1.55;
}
.house-layout .layout-card li:last-child { border-bottom: none; }
.house-layout .layout-card li strong { color: #F2F2F2; font-weight: 600; }
/* Petit trait doré à la place de la coche */
.house-layout .layout-card li::before {
    content: "";
    top: calc(11px + 0.78em);
    width: 10px;
    height: 1px;
    background: #C9A84C;
    -webkit-text-fill-color: initial;
}
.house-layout .layout-card .specialty-button {
    align-self: flex-start;
    margin: 18px 28px 0;
    background: transparent;
}
@media (max-width: 700px) {
    .house-layout .expertise-photo { aspect-ratio: 16 / 8; margin-bottom: -22px; }
    .house-layout .layout-card h4 { padding: 0 18px; font-size: 0.85rem; letter-spacing: 1.5px; }
    .house-layout .layout-card ul { padding: 0 18px; }
    .house-layout .layout-card li { font-size: 0.86rem; }
    .house-layout .layout-card .specialty-button { align-self: stretch; margin: 16px 18px 0; width: auto; }
    .house-layout .layout-card:nth-child(1),
    .house-layout .layout-card:nth-child(2) { background-image: linear-gradient(180deg, #2B2B2B, #0A0A0A); }
}
@media (prefers-reduced-motion: reduce) {
    .house-layout .expertise-photo { transition: none; }
}
/* Accueil, Intérieur & Extérieur : photos en couleur d'emblée (ordinateur et téléphone) */
.house-layout .expertise-photo { filter: none; transition: none; }

/* « Pourquoi choisir FORZA CARE ? » : moins de doré — le doré ne reste que sur le trait sous le titre et le reflet qui passe */
.outdoor-section::before { display: none; }
.outdoor-section > h3::after { width: 50px; height: 2px; }
.amenity-item { border-left: 1px solid var(--border-color); }
.amenity-item i {
    background: #F4F4F4;
    border: 1px solid #D6D6D6;
    box-shadow: none;
}
@keyframes amenityIconGlow {
    0%, 100% { box-shadow: none; }
    50%      { box-shadow: 0 0 10px rgba(212, 175, 55, 0.45); }
}
/* Le contour du cercle redevient doré au passage du voile, puis repasse au gris */
.amenity-item.is-sweeping i {
    animation: amenityIconGold 3.5s linear var(--sweep-delay, 0s);
}
@keyframes amenityIconGold {
    0%, 22%  { border-color: #D6D6D6; box-shadow: none; }
    36%      { border-color: #D4AF37; box-shadow: 0 0 10px rgba(212, 175, 55, 0.45); }
    55%      { border-color: #D4AF37; box-shadow: 0 0 4px rgba(212, 175, 55, 0.3); }
    80%, 100% { border-color: #D6D6D6; box-shadow: none; }
}
/* Icône clé (dessin intégré : absente du jeu d'icônes du site) */
.amenity-item i.amenity-svg svg { display: block; position: relative; z-index: 1; }

/* Intérieur & Extérieur : côté droit de la diagonale inversé (la courbe plonge dans le coin au lieu de remonter) — essai B retenu */
.house-layout .expertise-photo {
    -webkit-mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0,0 H100 V100 C96,100 90,98 79,93 C58,82 37,71 21,63 C6,56 0,52 0,34 Z' fill='black'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%;
            mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0,0 H100 V100 C96,100 90,98 79,93 C58,82 37,71 21,63 C6,56 0,52 0,34 Z' fill='black'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%;
}
@media (max-width: 700px) {
    .house-layout .expertise-photo { margin-bottom: 8px; }
}

/* Intérieur & Extérieur : diagonale plus prononcée (gauche plus haute, courbe plus creusée) */
.house-layout .expertise-photo {
    -webkit-mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0,0 H100 V100 C93,100 85,97 73,90 C53,78 33,61 17,46 C6,36 0,28 0,14 Z' fill='black'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%;
            mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0,0 H100 V100 C93,100 85,97 73,90 C53,78 33,61 17,46 C6,36 0,28 0,14 Z' fill='black'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%;
}

/* Intérieur & Extérieur : courbe gauche inversée aussi (elle arrive à plat sur le bord gauche) — forme en S */
.house-layout .expertise-photo {
    -webkit-mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0,0 H100 V100 C93,100 85,97 73,90 C55,79 38,53 22,37 C13,28 6,25 0,25 Z' fill='black'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%;
            mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0,0 H100 V100 C93,100 85,97 73,90 C55,79 38,53 22,37 C13,28 6,25 0,25 Z' fill='black'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%;
}

/* Intérieur & Extérieur (essai D retenu) : les deux cartes se répondent en miroir, pente adoucie de 15 % */
.house-layout .layout-card:nth-child(1) .expertise-photo { -webkit-mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0,0 H100 V100 C93,100 85,97.5 73,91.5 C53,81.3 33,66.9 17,54.1 C6,45.6 0,38.8 0,26.9 Z' fill='black'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%; mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0,0 H100 V100 C93,100 85,97.5 73,91.5 C53,81.3 33,66.9 17,54.1 C6,45.6 0,38.8 0,26.9 Z' fill='black'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%; }
.house-layout .layout-card:nth-child(2) .expertise-photo { -webkit-mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M100,0 H0 V100 C7,100 15,97.5 27,91.5 C47,81.3 67,66.9 83,54.1 C94,45.6 100,38.8 100,26.9 Z' fill='black'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%; mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M100,0 H0 V100 C7,100 15,97.5 27,91.5 C47,81.3 67,66.9 83,54.1 C94,45.6 100,38.8 100,26.9 Z' fill='black'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%; object-position: 50% 12%; }
.house-layout .expertise-photo { margin-bottom: 6px; }
/* Intérieur & Extérieur : haut de la courbe abaissé (départ à 42 % au lieu de 27 %) */
.house-layout .layout-card:nth-child(1) .expertise-photo { -webkit-mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0,0 H100 V100 C93,100 85,98 73,93.3 C53,85.2 33,73.7 17,63.6 C6,56.8 0,51.4 0,42 Z' fill='black'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%; mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0,0 H100 V100 C93,100 85,98 73,93.3 C53,85.2 33,73.7 17,63.6 C6,56.8 0,51.4 0,42 Z' fill='black'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%; }
.house-layout .layout-card:nth-child(2) .expertise-photo { -webkit-mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M100,0 H0 V100 C7,100 15,98 27,93.3 C47,85.2 67,73.7 83,63.6 C94,56.8 100,51.4 100,42 Z' fill='black'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%; mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M100,0 H0 V100 C7,100 15,98 27,93.3 C47,85.2 67,73.7 83,63.6 C94,56.8 100,51.4 100,42 Z' fill='black'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%; }

/* Barre des menus : fond pierre sombre (terrazzo) au lieu de l'aplat gris */
body nav {
    background: #0E0E0E url("images/fond-menu.jpg") center / cover no-repeat;
}
body nav .nav-toggle,
body nav .nav-toggle:hover { background: transparent; }
/* Pied de page : même pierre sombre que la barre des menus (on part de la route et on y revient) */
body footer {
    background: #0E0E0E url("images/fond-menu.jpg") center / cover no-repeat;
}

/* Pied de page : liens juridiques en gris clair (ils restaient en bleu par défaut, illisibles sur le fond sombre) */
footer a:not([class]) { color: #A9A9A9; text-decoration: none; transition: color .3s ease; }
footer a:not([class]):hover,
footer a:not([class]):focus-visible { color: #F2D06B; }
