@charset "utf-8";



/* ================================================================

 * FICHIER : Ville_2026_04_11_15H01.css

 * EMPLACEMENT : pages/Ville/Ville_2026_04_11_15H01.css

 * SHORT_DESC : Styles spécifiques à la page Ville_2026_04_11_15H01.

 * DESCRIPTION : Gère l'affichage du fond de carte Google Maps et les 

 *               ajustements visuels de la page Ville_2026_04_11_15H01.

 *

 * SOMMAIRE :

 *   - Google Map BG : Configuration du fond de carte fixe.

 *

 * MODIFICATIONS :

 *   - 11/04/2026 : Ajout du style pour le fond de carte (Desktop only).

 *

 * ================================================================ */



/* Google Map BG ----------------------------------------------------------- */

#city_map_bg {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    opacity: 0.25;
    pointer-events: none;
    background-color: var(--background);

}

.city_hero_content {
    /* max-width: 56rem; */
    margin: 0 auto;
    text-align: left;
    position: relative;
    z-index: 10;
    text-shadow: 0 0 2em #3f86ce78, 0 0 4em #0000004a, 0 0 2em #00000061, 0 0 6em #00000085;
    display: flex;
}

.city_hero_content .left {
    padding-left: 4em;
}

/* Styles du Nouveau Dashboard Hero */
.hero_title_new {
    font-size: 4.5rem;
    line-height: 0.95;
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--text_heading);
    letter-spacing: -2px;
}

@media (max-width: 900px) {
    .hero_title_new {
        font-size: 2.8rem;
        margin-bottom: 1.5rem;
    }
}

.hero_title_new .highlight_cyan {
    color: var(--cyan-accent);
}

.hero_title_new .italic {
    font-style: italic;
}

.hero_subtitle_new {
    font-size: 1.15rem;
    color: var(--text_secondary);
    max-width: 90%;
    line-height: 1.6;
    margin-bottom: 3rem;
}

.hero_bottom_ctas {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.installations_badge {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--surface_input);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 1px solid var(--border_subtle);
}

.avatars_group {
    display: flex;
}

.avatar_img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--slate-900);
    background: var(--cyan-accent);
    /* backup bg */
}

.avatar_offset {
    margin-left: -12px;
}

.install_count {
    font-size: 0.85rem;
    color: var(--foreground);
    font-weight: 600;
}

/* Animation Sweep + Hover pour le CTA Hero */
.hero_cta_anim {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.hero_cta_anim::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-20deg);
    animation: hero_cta_shine 3.5s infinite;
}

.hero_cta_anim:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.5);
}

@keyframes hero_cta_shine {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

.city_hero_content .right {
    background-image: url(../Ville/assets/installateur_IRVE_borne_recharge_voiture.png );
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom right;
    opacity: 0.4;
    filter: contrast(1.1);
}

/* Masquage sur mobile selon le breakpoint du thème (900px) */

/* @media (max-width: 900px)

{
    #city_map_bg
    {
             display: none;
    }

} 
*/

/* Google Map BG ----------------------------------------------------------- */

section.city_steps {
    padding: 5rem 1rem;
    background: rgba(6, 10, 24, 0.85);
    position: relative;
    z-index: 10;
    text-align: center;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 3rem;
    margin-bottom: 3rem;
    background-color: #575f7612;
    backdrop-filter: blur(4px);
    z-index: 0;
}

@media (max-width: 900px) {
    section.city_steps {
        padding: 2.5rem 1rem;
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
}

.scroll_down_icon {
    position: absolute;
    top: -1.2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 2.4rem;
    height: 2.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    z-index: 11;
}

.city_steps_header {
    margin-bottom: 4rem;
    text-align: center;
    margin-top: 4rem;
}

.city_steps_header h2 {
    font-size: 2.5rem;
    color: var(--white);
    font-weight: 800;
    font-family: var(--font_premium);
    margin-bottom: 0.5rem;
}

.city_steps_header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
}

.city_steps_grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}



.step_item {
    flex: 1;
    min-width: 250px;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transition: all 0.3s ease;
}

.step_item.start_devis {
    cursor: pointer;
}

/* Ligne de connexion entre les numéros de steps */
.step_item:not(:last-child)::before {
    content: '';
    position: absolute;
    top: 35px;
    /* Moitié de la hauteur du .step_number (70px) */
    left: 50%;
    width: calc(100% + 3rem);
    /* Largeur du parent + la gap du parent flex */
    height: 2px;
    background: rgba(255, 255, 255, 0.08);
    z-index: 0;
    transition: all 0.4s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

@media screen and (max-width: 900px) {
    .step_item:not(:last-child)::before {
        display: none;
    }
}

.step_number {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.4);
    /* Fond plus transparent pour le flou */
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--cyan-accent);
    font-family: var(--font_premium);
    margin-bottom: 1.5rem;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 3;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.step_number.border-glow {
    background: rgba(6, 182, 212, 0.15);
    border-color: rgba(6, 182, 212, 0.6);
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.3);
    color: var(--white);
}

/* Animations au survol pour le step en cours */
.step_item:hover .step_number {
    transform: scale(1.15);
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.5);
    border-color: var(--cyan-accent);
    color: var(--white);
    background: rgba(6, 182, 212, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background-color: rgb(6 172 205);
}

/* Lueur + Courant électrique pulsé au survol de la barre */
.step_item:hover:not(:last-child)::before {
    height: 3px;
    background: linear-gradient(90deg, var(--cyan-accent), rgba(6, 182, 212, 0.2), var(--cyan-accent));
    background-size: 200% 100%;
    box-shadow:
        0 0 8px rgba(6, 182, 212, 0.6),
        0 0 20px rgba(6, 182, 212, 0.3),
        0 0 40px rgba(6, 182, 212, 0.15);
    animation: electric_pulse 1.2s ease-in-out infinite;
}

@keyframes electric_pulse {
    0% {
        background-position: 200% 0;
        box-shadow: 0 0 6px rgba(6, 182, 212, 0.4), 0 0 15px rgba(6, 182, 212, 0.2);
    }

    50% {
        background-position: 0% 0;
        box-shadow: 0 0 12px rgba(6, 182, 212, 0.8), 0 0 30px rgba(6, 182, 212, 0.4), 0 0 60px rgba(6, 182, 212, 0.2);
    }

    /* 100% { background-position: 200% 0; box-shadow: 0 0 6px rgba(6, 182, 212, 0.4), 0 0 15px rgba(6, 182, 212, 0.2); } */
}

.step_item h3 {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.step_item p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    font-size: 0.95rem;
}



/* Utility classes to replace inline CSS ------------------------------------- */

/* Page d'erreur (Brain) */
.page_error_wrapper {
    padding: 8rem 0;
    text-align: center;
}

.error_text {
    color: var(--slate-400);
    margin-top: 1rem;
}

.error_btn {
    display: inline-block;
    margin-top: 2rem;
    padding: 1rem 2rem;
    background: var(--cyan-accent);
    color: white;
    border-radius: 1rem;
}

/* Utilitaires génériques */
.highlight_cyan {
    color: var(--cyan-accent);
    font-weight: 700;
}



@media (max-width: 900px) {
    .city_hero_content {
        display: block;
        padding: 0;
        width: 100%;
    }

    .city_hero_content .right {
        position: absolute;
        bottom: 0;
        height: 80vh;
        z-index: -1;
        opacity: .2;
        display: none;
    }

    .city_hero_content .left {
        padding: 1em;
    }


}


/* =============================================================
   BRIGHT MODE — Page Ville : Corrections contrastes & lisibilité
   ============================================================= */

html.bright_mode section.city_steps,
.bright_mode section.city_steps {
    background: rgba(241, 245, 249, 0.88);
    border-top: 1px solid var(--border_subtle);
    border-bottom: 1px solid var(--border_subtle);
}

html.bright_mode .city_steps_header h2,
.bright_mode .city_steps_header h2 {
    color: var(--text_heading);
}

html.bright_mode .city_steps_header p,
.bright_mode .city_steps_header p {
    color: var(--text_secondary);
}

html.bright_mode .scroll_down_icon,
.bright_mode .scroll_down_icon {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--border_subtle);
    color: var(--text_secondary);
}

html.bright_mode .step_number,
.bright_mode .step_number {
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--border_subtle);
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.1);
}

html.bright_mode .step_item:not(:last-child)::before,
.bright_mode .step_item:not(:last-child)::before {
    background: var(--border_subtle);
}

html.bright_mode .step_item h3,
.bright_mode .step_item h3 {
    color: var(--text_heading);
}

html.bright_mode .step_item p,
.bright_mode .step_item p {
    color: var(--text_secondary);
}

html.bright_mode .city_hero_content,
.bright_mode .city_hero_content {
    text-shadow: none;
}

html.bright_mode #city_map_bg,
.bright_mode #city_map_bg {
    opacity: 0.18;
}

