/* ============================================================================
   css/lokatere-global.css
   ----------------------------------------------------------------------------
   Source de verite des styles globaux Lokatere (navbar, footer, sections
   communes a 41+ pages).

   Provenance : extrait du <style> inline historique de
   includes/header_bootstrap.php (lignes 33-1163, 1129 lignes utiles)
   le 2026-04-22 dans le cadre du chantier CDN-HEAD-REFACTOR
   (sous-chantier A).

   Pourquoi externalise :
   - Permet le cache navigateur (vs payload HTML re-emis a chaque page)
   - Reduit le poids HTML de chaque page (-50 KB environ)
   - Evite le FOUC : charge en <head> via includes/head_assets.php
     (au lieu d'arriver tardivement depuis le <body> via header_bootstrap.php)
   - Active la minification et le lint CSS standard
   - Source unique de la variable --lokatere-navbar-spacing

   IMPORTANT : ce fichier est strictement equivalent au <style> historique.
   Aucune regle ajoutee/modifiee/supprimee. Verifier visuellement (MCP) sur
   plusieurs pages si modifie.
   ============================================================================ */
/* Styles personnalisés pour Lokatere */
:root {
    --lokatere-orange: #ff6600;
    /*
     * Convention Lokatere — boutons pleins (CTA, formules, etc.) :
     * utiliser var(--lokatere-button) / var(--lokatere-button-hover).
     * Même teinte que le widget footer « Chat en direct » (.contact-widget-container .btn).
     */
    --lokatere-button: #c84b00;
    --lokatere-button-hover: #a94100;
    --lokatere-red: #f90404f4;
    --lokatere-dark: #333;
    /*
     * Compensation universelle pour la navbar fixed-top Lokatere.
     * Calculée pour : padding navbar (6px×2) + logo (60px desktop) + marge.
     * Source de vérité unique consommée par toutes les pages incluant
     * header_bootstrap.php (main.container, .content-wrapper, .page-content,
     * .contact-section, body des pages dédiées comme recrutement/partenariat).
     * Cible : si la hauteur de la navbar évolue, ne modifier QUE cette valeur.
     */
    --lokatere-navbar-spacing: 65px;
    --navbar-logo-slot: 128px;
    --navbar-actions-slot: auto;
}

/*
 * Le fond racine prolonge visuellement le footer lorsque le navigateur expose
 * du canevas hors du corps du document (zoom, capture pleine page, overscroll).
 */
html {
    background-color: #1a1a1a;
}

body {
    background-color: #fff;
}

/*
 * Défense de mise en page contre une iframe tierce connue, injectée par
 * certains profils/extensions de navigateur après le footer. La CSP bloque
 * déjà son chargement ; cette règle empêche uniquement son cadre natif de
 * 150 px de prolonger le document. Ne pas élargir à d'autres iframes.
 */
iframe[src^="//remove.video/"],
iframe[src^="https://remove.video/"],
iframe[src^="http://remove.video/"] {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    border: 0 !important;
}

@media (min-width: 1200px) {
    :root {
        --lokatere-navbar-spacing: 85px;
    }
}

/* Header personnalisé */
.navbar-lokatere {
    background-color: #fff !important;
    border-bottom: 1px solid #e7e7e7;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    padding: 6px 0;
    z-index: 1030 !important;
}

/*
 * Navbar : breakpoints Bootstrap natifs.
 * style.css (pages légales / legacy) impose .container { max-width: 1100px }
 * avec une spécificité plus faible — cette règle restaure la même largeur utile
 * que sur accueil.php (head_assets seul, sans style.css).
 */
.navbar-lokatere > .container,
.navbar-lokatere-homepage > .container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-right: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
    padding-left: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
}

@media (min-width: 576px) {
    .navbar-lokatere > .container,
    .navbar-lokatere-homepage > .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .navbar-lokatere > .container,
    .navbar-lokatere-homepage > .container {
        max-width: 720px;
    }
}

@media (min-width: 1200px) {
    .navbar-lokatere > .container,
    .navbar-lokatere-homepage > .container {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .navbar-lokatere > .container,
    .navbar-lokatere-homepage > .container {
        max-width: 1320px;
    }
}



/* Compensation pour header fixe - sauf page d'accueil */
main.container,
.content-wrapper,
.page-content {
    padding-top: var(--lokatere-navbar-spacing);
}

/* Compensation spécifique pour la page contact */
.contact-section {
    padding-top: var(--lokatere-navbar-spacing);
}

/* Logo — taille maîtrisée pour laisser respirer menu + CTAs sans chevauchement */
.navbar-lokatere .navbar-brand,
.navbar-lokatere-homepage .navbar-brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 var(--navbar-logo-slot);
    width: var(--navbar-logo-slot);
    max-width: var(--navbar-logo-slot);
    padding: 0;
    margin-right: 0;
    line-height: 0;
}

.navbar-lokatere .navbar-brand picture,
.navbar-lokatere-homepage .navbar-brand picture {
    display: block;
    line-height: 0;
    max-width: 100%;
}

.navbar-brand img {
    height: 52px;
    width: auto;
    max-width: 100%;
    display: block;
    object-fit: contain;
    object-position: left center;
}

@media (min-width: 1200px) {
    .navbar-brand img {
        height: 60px;
    }
}

/*
 * Desktop : 3 zones strictes — logo | menu centré | CTAs.
 * Le menu ne peut pas empiéter sur le logo ni sur les boutons (plus de clip / chevauchement).
 */
@media (min-width: 1200px) {
    .navbar-lokatere > .container,
    .navbar-lokatere-homepage > .container {
        display: grid;
        grid-template-columns: var(--navbar-logo-slot) minmax(0, 1fr);
        align-items: center;
        column-gap: 0.75rem;
        min-height: 72px;
    }

    .navbar-lokatere .navbar-brand,
    .navbar-lokatere-homepage .navbar-brand {
        grid-column: 1;
        grid-row: 1;
        position: relative;
        z-index: 2;
        margin-right: 0;
    }

    .navbar-lokatere .navbar-collapse,
    .navbar-lokatere-homepage .navbar-collapse {
        grid-column: 2;
        grid-row: 1;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        column-gap: 0.65rem;
        min-width: 0;
        width: 100%;
    }

    .navbar-lokatere .navbar-collapse .navbar-nav.me-auto,
    .navbar-lokatere-homepage .navbar-collapse .navbar-nav.me-auto {
        position: static;
        transform: none;
        grid-column: 1;
        justify-self: stretch;
        flex: 1 1 auto;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin: 0 !important;
        padding: 0;
        z-index: 1;
        overflow: hidden;
    }

    .navbar-lokatere .navbar-collapse .navbar-nav.me-auto > .nav-item,
    .navbar-lokatere-homepage .navbar-collapse .navbar-nav.me-auto > .nav-item {
        flex: 0 1 auto;
        min-width: 0;
    }

    .navbar-lokatere .navbar-collapse > .navbar-nav:last-child,
    .navbar-lokatere-homepage .navbar-collapse > .navbar-nav:last-child {
        grid-column: 2;
        justify-self: end;
        position: relative;
        z-index: 2;
        flex: 0 0 auto;
        flex-shrink: 0;
        margin-left: 0;
    }
}

/* Navigation links */
.navbar-nav .nav-link {
    color: var(--lokatere-dark) !important;
    font-weight: 500;
    padding: 8px 16px !important;
    margin: 0 4px;
    border-radius: 6px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

@media (min-width: 1200px) {
    .navbar-lokatere .navbar-nav .nav-link,
    .navbar-lokatere-homepage .navbar-nav .nav-link {
        padding: 7px 11px !important;
        margin: 0 2px;
        font-size: 0.925rem;
    }
}

.navbar-nav .nav-link:hover {
    color: var(--lokatere-red) !important;
    background-color: #f8f9fa;
}

.navbar-nav .nav-link.active {
    color: #7c2d12 !important;
    background-color: #f8f9fa;
}

/*
 * Bouton Mon compte — compact, même échelle que .nav-link (pas de pilule surdimensionnée).
 */
.navbar-lokatere .navbar-collapse > .navbar-nav:last-child {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.navbar-lokatere .navbar-nav .btn-navbar-cta-primary,
.navbar-lokatere .navbar-nav .btn-mon-compte,
.navbar-lokatere .navbar-nav a.btn-mon-compte {
    --bs-btn-padding-y: 8px;
    --bs-btn-padding-x: 14px;
    --bs-btn-line-height: 1.25;
    --bs-btn-font-size: 0.9375rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0.01em;
    padding: 8px 14px;
    min-height: 0;
    height: auto;
    min-width: 0;
    border-radius: 6px;
    white-space: nowrap;
    flex-shrink: 0;
    text-decoration: none !important;
}

.navbar-lokatere .btn-mon-compte,
.navbar-lokatere a.btn-mon-compte {
    --bs-btn-color: #fff;
    --bs-btn-bg: #c2410c;
    --bs-btn-border-color: transparent;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #9a3412;
    --bs-btn-hover-border-color: transparent;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #7c2d12;
    --bs-btn-active-border-color: transparent;
    background: linear-gradient(135deg, #c2410c 0%, #9a3412 100%) !important;
    background-image: linear-gradient(135deg, #c2410c 0%, #9a3412 100%) !important;
    color: #fff !important;
    border: none !important;
    transition:
        background 0.25s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1),
        color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1 !important;
    visibility: visible !important;
    position: relative;
    z-index: 2;
    box-shadow: 0 2px 10px rgba(255, 102, 0, 0.28);
}

.navbar-lokatere .btn-mon-compte:hover,
.navbar-lokatere .btn-mon-compte:focus-visible,
.navbar-lokatere a.btn-mon-compte:hover,
.navbar-lokatere a.btn-mon-compte:focus-visible {
    background: linear-gradient(135deg, #9a3412 0%, #7c2d12 100%) !important;
    background-image: linear-gradient(135deg, #9a3412 0%, #7c2d12 100%) !important;
    color: #fff !important;
    transform: none;
    box-shadow: 0 4px 16px rgba(255, 102, 0, 0.36);
}

.navbar-lokatere .navbar-nav .btn-mon-compte:focus-visible,
.navbar-lokatere .navbar-nav .btn-navbar-cta-primary:focus-visible {
    outline: 2px solid rgba(255, 107, 53, 0.55);
    outline-offset: 2px;
}

.navbar-lokatere .btn-mon-compte.dropdown-toggle::after {
    border-top-color: #fff;
}

/* Dropdown utilisateur */
.dropdown-menu {
    border: 1px solid #e7e7e7;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/*
 * Navbar fixe : le panneau `.navbar-collapse` peut recouper les `.dropdown-menu`
 * (overflow implicite / stacking). Résultat : au clic sur « Tableau de bord SC »,
 * seul le toggle semble réagir — « Se déconnecter » est présent mais invisible
 * ou non cliquable. Cf. dashboards SC (serviceclient_dashboard.php).
 */
.navbar-lokatere .navbar-collapse,
.navbar-lokatere .navbar-collapse.show,
.navbar-lokatere .navbar-collapse.collapsing,
.navbar-lokatere-homepage .navbar-collapse,
.navbar-lokatere-homepage .navbar-collapse.show,
.navbar-lokatere-homepage .navbar-collapse.collapsing {
    overflow: visible !important;
}

.navbar-lokatere .navbar-nav .dropdown-menu,
.navbar-lokatere-homepage .navbar-nav .dropdown-menu {
    z-index: 1060;
    /*
     * BS5 — évite le fond bleu (#0d6efd) sur .dropdown-item.active / :active
     * (ex. « Mon profil agent » sur la page profil SC). Charte : orangé discret.
     */
    --bs-dropdown-link-active-bg: rgba(255, 102, 0, 0.16);
    --bs-dropdown-link-active-color: var(--lokatere-dark);
}

.dropdown-item {
    padding: 10px 20px;
    color: var(--lokatere-dark);
    transition: background-color 0.3s ease;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: var(--lokatere-red);
}

/* Renfort : certains builds BS chargent l’actif après — pas de barre bleue */
.navbar-lokatere .dropdown-item.active,
.navbar-lokatere .dropdown-item:active,
.navbar-lokatere-homepage .dropdown-item.active,
.navbar-lokatere-homepage .dropdown-item:active {
    background-color: rgba(255, 102, 0, 0.16);
    color: var(--lokatere-dark);
}
.navbar-lokatere .dropdown-item.active:hover,
.navbar-lokatere-homepage .dropdown-item.active:hover {
    background-color: rgba(255, 102, 0, 0.24);
    color: var(--lokatere-dark);
}

/* Toggle button mobile */
.navbar-toggler {
    border: none;
    padding: 8px;
    border-radius: 6px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 102, 0, 0.25);
}

/* Responsive */
@media (max-width: 1199.98px) {
    .navbar-nav {
        padding: 14px 0;
    }

    .navbar-nav .nav-link {
        padding: 12px 20px !important;
        margin: 2px 0;
    }

    .dropdown-menu {
        border: none;
        box-shadow: none;
        background-color: #f8f9fa;
    }

    /* CTAs empilés — évite row + width:100% qui pousse « Mon compte » hors viewport */
    .navbar-lokatere .navbar-collapse > .navbar-nav:last-child,
    .navbar-lokatere-homepage .navbar-collapse > .navbar-nav:last-child {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 8px;
        padding: 10px 12px 6px;
        margin-top: 6px;
        border-top: 1px solid rgba(47, 53, 66, 0.08);
    }

    .navbar-lokatere .navbar-nav .btn-navbar-cta-primary,
    .navbar-lokatere .navbar-nav .btn-mon-compte,
    .navbar-lokatere .navbar-nav a.btn-mon-compte,
    .navbar-lokatere-homepage .navbar-nav .btn-navbar-cta-primary,
    .navbar-lokatere-homepage .navbar-nav .btn-mon-compte,
    .navbar-lokatere-homepage .navbar-nav a.btn-mon-compte {
        width: 100%;
        max-width: 100%;
        justify-content: center;
        margin: 0;
        padding: 12px 20px;
        min-height: 44px;
        box-sizing: border-box;
    }

    .navbar-lokatere .navbar-nav .nav-item.dropdown,
    .navbar-lokatere-homepage .navbar-nav .nav-item.dropdown {
        width: 100%;
    }

    .navbar-lokatere .navbar-nav .nav-item.dropdown > .btn-mon-compte,
    .navbar-lokatere-homepage .navbar-nav .nav-item.dropdown > .btn-mon-compte {
        width: 100%;
    }
}

/* Zone intermédiaire desktop : resserre les espacements sans altérer le contenu. */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    :root {
        --navbar-logo-slot: 115px;
    }

    .navbar-brand img {
        height: 54px;
    }

    .navbar-lokatere .navbar-nav .nav-link,
    .navbar-lokatere-homepage .navbar-nav .nav-link {
        padding: 6px 7px !important;
        margin: 0 1px;
        font-size: 0.85rem;
    }

    .navbar-lokatere .navbar-nav .btn-navbar-cta-primary,
    .navbar-lokatere .navbar-nav .btn-mon-compte,
    .navbar-lokatere .navbar-nav a.btn-mon-compte,
    .navbar-lokatere-homepage .navbar-nav .btn-navbar-cta-primary,
    .navbar-lokatere-homepage .navbar-nav .btn-mon-compte,
    .navbar-lokatere-homepage .navbar-nav a.btn-mon-compte {
        padding: 6px 10px;
        font-size: 0.8125rem;
    }
}

/* Styles pour la page À propos */
.about-content {
    padding: 200px 20px 40px;
    max-width: 800px;
    margin: 0 auto;
}

.about-content h1 {
    color: var(--lokatere-dark);
    font-size: 2.5em;
    margin-bottom: 40px;
    margin-top: 20px;
    text-align: center;
}

.about-content .intro {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #555;
}

.about-content h2 {
    color: var(--lokatere-orange);
    font-size: 1.8em;
    margin: 40px 0 25px 0;
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--lokatere-orange);
}

.benefits-list strong {
    color: var(--lokatere-orange);
    font-size: 1.1em;
}

.summary-highlight {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 20px;
    margin: 30px 0;
    font-style: italic;
}

.cta-container {
    text-align: center;
    margin: 40px 0;
}

.cta-button-about {
    display: inline-block;
    background-color: var(--lokatere-button);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

.cta-button-about:hover {
    background-color: var(--lokatere-button-hover);
    color: white;
    text-decoration: none;
}

/* Styles pour la page Services */
.content-container {
    padding: 200px 20px 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.content-container h1 {
    color: var(--lokatere-dark);
    font-size: 2.5em;
    margin-bottom: 40px;
    margin-top: 20px;
    text-align: center;
}

.service-intro-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.service-block {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    border-left: 5px solid var(--lokatere-orange);
}

.service-block h2 {
    color: var(--lokatere-orange);
    font-size: 1.8em;
    margin-bottom: 15px;
}

.service-block p {
    line-height: 1.6;
    color: #555;
}

.advantages-title {
    color: var(--lokatere-dark);
    font-size: 2em;
    text-align: center;
    margin: 40px 0 30px 0;
}

.service-list {
    margin-bottom: 40px;
}

.service-item {
    background-color: white;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    margin-bottom: 25px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.service-details {
    padding: 25px;
}

.service-details h3 {
    color: var(--lokatere-orange);
    font-size: 1.5em;
    margin-bottom: 20px;
    margin-top: 10px;
}

.service-details p {
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

.example-intro {
    font-weight: bold;
    color: var(--lokatere-dark);
    margin-top: 20px;
}

.cta-section {
    text-align: center;
    background-color: #f8f9fa;
    padding: 40px;
    border-radius: 10px;
    margin-top: 40px;
}

.cta-section h2 {
    color: var(--lokatere-dark);
    font-size: 1.8em;
    margin-bottom: 15px;
}

.cta-section p {
    color: #555;
    margin-bottom: 25px;
}

.cta-button {
    display: inline-block;
    background-color: var(--lokatere-button);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: var(--lokatere-button-hover);
    color: white;
    text-decoration: none;
}

/* Responsive pour Services */
@media (max-width: 768px) {
    .service-intro-columns {
        grid-template-columns: 1fr;
    }

    .content-container {
        padding: 100px 15px 30px;
    }
}

/* Styles pour la page Contact - HARMONISÉS */
/* Ces styles sont maintenant définis dans contact.php pour éviter les conflits */

/* Page d'accueil : hero plein écran sous le header (pas de padding-top) */
body.page-accueil main {
    padding-top: 0;
}

/* Autres pages : compensation exacte sous le header fixe.
   Exclure l'accueil et #main-content (hero plein cadre : services, relay landing, etc.). */
body:not(.page-accueil) main:not(#hero-section):not(#main-content) {
    padding-top: var(--lokatere-navbar-spacing);
}

#video-section {
    position: relative;
    height: calc(100vh - 200px);
    overflow: hidden;
}

/* Styles pour la page Formules */
main.container {
    padding-top: var(--lokatere-navbar-spacing);
}

/* Centrage du titre et texte de la page Formules */
main.container h1 {
    text-align: center;
    font-size: calc(2.5rem + 3px);
    margin-bottom: 30px;
    margin-top: 20px;
}

main.container p {
    text-align: center;
    font-size: 1.1em;
    margin-bottom: 40px;
}

/* Login page styles */
.login-content {
    padding-top: 32px;
    padding-bottom: 32px;
}

.login-content h1 {
    color: #333;
    font-size: 2.5em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 3px solid #ff6600;
    padding-bottom: 15px;
    margin-bottom: 20px;
    white-space: nowrap;
    text-align: center;
    max-width: 100%;
}

.login-content .card {
    border: 3px solid #ff6600;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.login-content .card-body {
    padding: 40px !important;
}

.login-content .form-label {
    font-size: 1.1em;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.login-content .form-control {
    padding: 15px 20px;
    font-size: 16px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.login-content .form-control:focus {
    border-color: #ff6600;
    box-shadow: 0 0 0 0.2rem rgba(255, 102, 0, 0.25);
}

.login-content .btn-lg {
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
}

.login-content .input-group .btn {
    border: 2px solid #e9ecef;
    border-left: none;
    border-radius: 0 10px 10px 0;
}

.login-content .input-group .form-control {
    border-radius: 10px 0 0 10px;
}

.login-content .btn-primary {
    background-color: #ff6600;
    border-color: #ff6600;
}

.login-content .btn-primary:hover {
    background-color: #d40000;
    border-color: #d40000;
    color: white;
}

.login-content .btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

.login-content .btn-success:hover {
    background-color: #218838;
    border-color: #218838;
    color: white;
}

/* Souscription page styles */
.welcome-banner {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border: none;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.2);
}

.welcome-banner .card-body {
    color: white;
    padding: 30px 25px;
}

.welcome-banner h1 {
    color: white;
    font-size: 2.2em;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.welcome-banner p {
    color: white;
    font-size: 1.1em;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.service-summary {
    border: 2px solid #ff6b35;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    position: relative;
}

.service-summary::before {
    content: '📋';
    position: absolute;
    top: -12px;
    left: 25px;
    background: white;
    padding: 8px;
    border-radius: 50%;
    font-size: 1.3em;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid #ff6b35;
}

.service-summary h2 {
    color: #2c3e50;
    font-size: 1.6em;
    font-weight: 600;
    padding-top: 8px;
    text-align: center;
}

.service-summary .d-flex {
    justify-content: center;
    text-align: center;
}

.service-summary .d-flex>div {
    text-align: center;
}

.service-summary .fas {
    display: block;
    margin: 0 auto 8px auto;
    font-size: 1.5em;
}

/* Styles généraux pour tous les boutons de formulaire du site */
.btn-primary:hover {
    background-color: #d40000 !important;
    border-color: #d40000 !important;
    color: white !important;
}

.btn-success:hover {
    background-color: #218838 !important;
    border-color: #218838 !important;
    color: white !important;
}

.btn-warning:hover {
    background-color: #e0a800 !important;
    border-color: #e0a800 !important;
    color: white !important;
}

.btn-info:hover {
    background-color: #138496 !important;
    border-color: #138496 !important;
    color: white !important;
}

.btn-danger:hover {
    background-color: #c82333 !important;
    border-color: #c82333 !important;
    color: white !important;
}

/* Style pour le lien "Mot de passe oublié" */
.forgot-password-link {
    color: #f90404f4;
    font-weight: 500;
}

.forgot-password-link:hover {
    color: #333 !important;
    text-decoration: underline !important;
}

/* Styles pour la page Formules */
.calculator {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.calculator fieldset {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.calculator legend {
    font-weight: bold;
    color: var(--lokatere-dark);
    padding: 0 10px;
}

.service-option {
    margin-bottom: 15px;
}

.service-option input[type="radio"] {
    display: none;
}

.service-option label {
    display: block;
    padding: 15px 20px;
    background-color: white;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.service-option input[type="radio"]:checked+label {
    border-color: var(--lokatere-orange);
    background-color: var(--lokatere-orange);
    color: white;
}

.service-option.service-disabled label {
    background-color: #f8f9fa;
    color: #6c757d;
    cursor: not-allowed;
    border-color: #dee2e6;
}

.service-status {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9em;
}

.services-info {
    background-color: #e7f3ff;
    border: 1px solid #b3d9ff;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
}

.info-message {
    margin: 0;
    color: #0056b3;
}

.amount-type-fieldset {
    margin-top: 20px;
}

.amount-type-fieldset div {
    margin-bottom: 10px;
}

.amount-type-fieldset input[type="radio"] {
    margin-right: 10px;
}

.calculator label[for="billAmount"] {
    display: block;
    margin: 20px 0 10px 0;
    font-weight: bold;
    color: var(--lokatere-dark);
}

.calculator input[type="number"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
}

/* Styles pour les messages de validation */
.validation-message {
    margin-top: 5px;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.9em;
    display: none;
}

.validation-message:not(:empty) {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.invalid-amount {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

/* Styles pour l'affichage des limites */
.amount-limits-display {
    background-color: #e7f3ff;
    border: 1px solid #b3d9ff;
    border-radius: 4px;
    padding: 8px 12px;
    margin-top: 8px;
}

.amount-limits-display i {
    color: #ff6b35 !important;
    margin-right: 5px;
}

.capital-relais-display {
    margin-top: 15px;
    padding: 20px;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    color: #155724;
    font-size: 1.1em;
    font-weight: bold;
    text-align: center;
}

.capital-relais-display b {
    color: #155724;
    font-size: 1.8em;
    margin-bottom: 15px;
    text-align: center;
    text-decoration: underline;
    text-decoration-color: #155724;
    text-decoration-thickness: 3px;
    display: block;
    font-weight: bold;
}

.capital-relais-display p {
    margin: 12px 0;
    font-size: 1.1em;
    color: #155724;
    text-align: center;
}

/* Formules Cards */
.formulas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.formula {
    background-color: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Hauteur complète pour aligner les boutons */
}

.formula:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.formula h3 {
    color: var(--lokatere-orange);
    font-size: 1.5em;
    margin-bottom: 20px;
}

.relais-details {
    text-align: center;
    margin-bottom: 20px;
    flex-grow: 1;
    /* Prendre l'espace disponible */
}

.relais-info-title {
    font-weight: bold;
    color: var(--lokatere-dark);
    margin-bottom: 10px;
    text-align: center;
}

.info-line {
    margin-bottom: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 10px;
    /* Espace entre le texte et l'icône */
}

.info-line.separator-ou {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    margin: 10px 0;
    gap: 0;
    /* Pas d'espace pour le séparateur */
}

.info-line.feature-line {
    color: var(--lokatere-orange);
    font-weight: 500;
    gap: 10px;
    /* Espace pour les lignes de fonctionnalités */
}

.tooltip-trigger {
    position: relative;
    display: inline-block;
}

.info-icon {
    background-color: var(--lokatere-orange);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    cursor: help;
}

.tooltip-text {
    visibility: hidden;
    background-color: #333;
    color: white;
    text-align: center;
    padding: 8px;
    border-radius: 6px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip-trigger:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.percentage {
    font-size: 2em;
    font-weight: bold;
    color: var(--lokatere-orange);
    margin: 20px 0;
    display: none;
    /* Masquer les pourcentages */
}

.price {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--lokatere-dark);
    margin-bottom: 20px;
}

.formula-button {
    display: inline-block;
    background-color: var(--lokatere-button);
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    width: 100%;
    /* Largeur complète */
    text-align: center;
    /* Centrer le texte */
    min-height: 50px;
    /* Hauteur minimale uniforme */
    line-height: 1.2;
    /* Ajuster l'interligne */
    display: flex;
    align-items: center;
    justify-content: center;
}

.formula-button:hover {
    background-color: var(--lokatere-button-hover);
    color: white;
    text-decoration: none;
}

/* Testimonial Section */
.testimonial-container {
    background-color: var(--lokatere-dark);
    color: white;
    padding: 40px 20px;
    margin-top: 60px;
    margin-bottom: 40px;
    border-radius: 12px;
    position: relative;
}

.testimonial-container h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8em;
}

.testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

.testimonial-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.testimonial-nav.prev {
    left: 20px;
}

.testimonial-nav.next {
    right: 20px;
}

.testimonial-slides-wrapper {
    position: relative;
    overflow: hidden;
    height: 120px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    text-align: center;
}

.testimonial-slide.active {
    opacity: 1;
}

.testimonial-slide .quote {
    font-size: 1.1em;
    font-style: italic;
    margin-bottom: 15px;
    line-height: 1.5;
}

.testimonial-slide .author {
    font-weight: bold;
    color: var(--lokatere-orange);
}

/* Responsive */
@media (max-width: 768px) {
    .formulas {
        grid-template-columns: 1fr;
    }

    .calculator {
        padding: 20px;
    }

    .testimonial-nav {
        padding: 8px 12px;
        font-size: 16px;
    }

    /* Responsive pour mobile - Login */
    .login-content h1 {
        font-size: 1.8em;
        letter-spacing: 1px;
        margin-bottom: 15px;
        white-space: normal;
        line-height: 1.2;
    }

    .login-content .card-body {
        padding: 25px !important;
    }

    .login-content .btn-lg {
        padding: 12px 20px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .login-content h1 {
        font-size: 1.5em;
        letter-spacing: 0.5px;
        margin-bottom: 10px;
        white-space: normal;
        line-height: 1.2;
    }

    .login-content .card-body {
        padding: 20px !important;
    }

    .login-content .form-control {
        padding: 12px 15px;
        font-size: 16px;
    }
}

/* Styles pour les boutons radio orange */
.form-check-input:checked {
    background-color: #ff6b35 !important;
    border-color: #ff6b35 !important;
}

.form-check-input:focus {
    border-color: #ff6b35 !important;
    box-shadow: 0 0 0 0.25rem rgba(255, 107, 53, 0.25) !important;
}

/* Styles pour les boutons radio hover */
.form-check-input:hover {
    border-color: #ff6b35 !important;
}

/* Styles pour les boutons radio non cochés */
.form-check-input {
    border-color: #dee2e6 !important;
}

/* Styles pour les boutons radio cochés */
.form-check-input:checked {
    background-color: #ff6b35 !important;
    border-color: #ff6b35 !important;
}

/* Styles pour les boutons radio focus */
.form-check-input:focus {
    border-color: #ff6b35 !important;
    box-shadow: 0 0 0 0.25rem rgba(255, 107, 53, 0.25) !important;
}

/* Styles pour les boutons radio hover */
.form-check-input:hover {
    border-color: #ff6b35 !important;
}

/* Styles pour les boutons radio non cochés */
.form-check-input {
    border-color: #dee2e6 !important;
}
/* CRO — bandeau réassurance, CTA navbar, progression souscription */
.lokatere-reassurance-band {
    margin: 1rem auto;
    padding: 0.85rem 1rem;
    max-width: min(1200px, calc(100% - 40px));
    text-align: center;
    border-radius: 8px;
    background: rgba(255, 102, 0, 0.06);
    border: 1px solid rgba(255, 102, 0, 0.18);
}

.lokatere-reassurance-band__line {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.lokatere-reassurance-band__line + .lokatere-reassurance-band__line {
    margin-top: 0.35rem;
}

/* Liens inline — charte Lokatere (CGV, Turnstile, mentions dans formulaires) */
.lokatere-inline-link,
.contact-legal-text a,
.turnstile-legal a {
    color: #9c3900;
    font-weight: 600;
    text-decoration: none;
    text-underline-offset: 3px;
    transition:
        color 0.25s cubic-bezier(0.4, 0, 0.2, 1),
        text-decoration-color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.lokatere-inline-link:hover,
.contact-legal-text a:hover,
.turnstile-legal a:hover {
    color: #e55a2b;
    text-decoration: underline;
    text-decoration-color: rgba(229, 90, 43, 0.55);
}

.lokatere-inline-link:focus-visible,
.contact-legal-text a:focus-visible,
.turnstile-legal a:focus-visible {
    outline: 3px solid rgba(255, 107, 53, 0.55);
    outline-offset: 3px;
    border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .lokatere-inline-link,
    .contact-legal-text a,
    .turnstile-legal a {
        transition: none;
    }
}

.navbar-lokatere .btn-navbar-cta-primary {
    background: rgba(255, 102, 0, 0.08);
    border: 1px solid rgba(255, 102, 0, 0.28);
    color: #2f3542;
    margin-right: 0;
    transition:
        background 0.25s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1),
        color 0.25s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-lokatere .btn-navbar-cta-primary:hover {
    background: linear-gradient(135deg, #ff6b35, #e55a2b);
    border-color: rgba(255, 107, 53, 0.45);
    color: #fff;
    box-shadow: 0 4px 14px rgba(255, 107, 53, 0.24);
    transform: none;
}

.lokatere-souscription-progress {
    margin-bottom: 1rem;
}

.lokatere-souscription-progress__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
}

.lokatere-souscription-progress__item {
    padding: 0.55rem 0.45rem;
    border-radius: 8px;
    border: 1px solid rgba(47, 53, 66, 0.1);
    background: #fff;
    font-size: 0.78rem;
    line-height: 1.35;
    color: #6b7280;
}

.lokatere-souscription-progress__item--current {
    border-color: rgba(255, 102, 0, 0.35);
    background: rgba(255, 102, 0, 0.06);
    color: #2f3542;
    font-weight: 600;
}

.lokatere-souscription-progress__item--done {
    color: #2f3542;
}

.lokatere-souscription-progress__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    margin-right: 0.35rem;
    border-radius: 6px;
    background: rgba(255, 102, 0, 0.12);
    color: #ff6600;
    font-weight: 700;
    font-size: 0.75rem;
}

.lokatere-souscription-reassurance {
    margin-bottom: 1.25rem;
    padding: 0.85rem 1rem;
    border-radius: 8px;
    background: #f8f9fb;
    border: 1px solid rgba(47, 53, 66, 0.08);
}

.lokatere-souscription-reassurance__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.35rem;
}

.lokatere-souscription-reassurance__list li {
    font-size: 0.92rem;
    line-height: 1.45;
}

.lokatere-souscription-reassurance__list i {
    color: #ff6600;
    margin-right: 0.4rem;
}

.faq-cro-cta {
    margin: 2rem 0 1.5rem;
    padding: 1.25rem;
    border-radius: 8px;
    background: rgba(255, 102, 0, 0.05);
    border: 1px solid rgba(255, 102, 0, 0.16);
    text-align: center;
}

.faq-cro-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 0.85rem;
}

.faq-cro-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.1rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-cro-cta__btn--primary {
    background: rgba(255, 102, 0, 0.08);
    border: 1px solid rgba(255, 102, 0, 0.32);
    color: #2f3542;
}

.faq-cro-cta__btn--primary:hover {
    background: linear-gradient(135deg, #ff6b35, #e55a2b);
    color: #fff;
    transform: translateY(-1px);
}

.faq-cro-cta__btn--secondary {
    background: #fff;
    border: 1px solid rgba(47, 53, 66, 0.14);
    color: #2f3542;
}

.faq-cro-cta__links {
    margin-top: 0.85rem;
    font-size: 0.92rem;
}

/*
 * Liens inline contenu (FAQ relay, FAQ page, bandeaux) — charte orange Lokatere.
 * Évite le bleu Bootstrap par défaut sur les <a> des réponses HTML.
 */
.relay-faq-item__a a,
.faq-cro-cta__links a,
.cgv-container .article-content a,
.lokatere-reassurance-band a:not(.relay-btn):not(.faq-cro-cta__btn) {
    color: #c44a00;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(255, 102, 0, 0.38);
    text-underline-offset: 3px;
    transition:
        color 0.25s cubic-bezier(0.4, 0, 0.2, 1),
        text-decoration-color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.relay-faq-item__a a:hover,
.faq-cro-cta__links a:hover,
.cgv-container .article-content a:hover,
.lokatere-reassurance-band a:not(.relay-btn):not(.faq-cro-cta__btn):hover {
    color: #e55a2b;
    text-decoration-color: rgba(229, 90, 43, 0.62);
}

.relay-faq-item__a a:focus-visible,
.faq-cro-cta__links a:focus-visible,
.cgv-container .article-content a:focus-visible,
.lokatere-reassurance-band a:not(.relay-btn):not(.faq-cro-cta__btn):focus-visible {
    outline: 2px solid rgba(255, 107, 53, 0.55);
    outline-offset: 2px;
    border-radius: 3px;
}

.relay-faq-item__a strong,
.cgv-container .article-content strong {
    color: #9a3412;
    font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
    .relay-faq-item__a a,
    .faq-cro-cta__links a,
    .cgv-container .article-content a,
    .lokatere-reassurance-band a:not(.relay-btn):not(.faq-cro-cta__btn) {
        transition: none;
    }
}

@media (max-width: 768px) {
    .lokatere-souscription-progress__list {
        grid-template-columns: 1fr;
    }
}
