.search-floating.bottom-search {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 900;
    width: 94%; /* Géré par responsive.css sur mobile, mais on l'assure ici aussi */
    max-width: 500px;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* État quand la PWA est proposée : La barre monte au dessus */
.search-floating.pwa-active {
    transform: translateX(-50%) translateY(-90px);
}


.search-box {
    background: var(--bg-light);
    padding: 0;
    /* On gère les paddings sur les enfants pour le bouton "full-height" */
    border-radius: var(--radius-full);
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    transition: var(--transition-premium);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    width: 100%;
}

.search-icon {
    color: var(--text-light);
    margin-left: 20px;
    opacity: 0.6;
    flex-shrink: 0;
}

.search-box:focus-within {
    border-color: var(--primary-solid);
    box-shadow: 0 15px 45px rgba(0, 102, 255, 0.15);
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-main);
    padding: 1.2rem 1rem;
    font-size: 1.1rem;
    outline: none;
    font-family: var(--font-body);
    min-width: 0;
}

.clear-search {
    opacity: 0;
    visibility: hidden;
    padding: 0 10px;
    color: var(--text-light);
    transition: var(--transition-premium);
    display: flex;
    align-items: center;
    justify-content: center;
}

.clear-search.visible {
    opacity: 0.6;
    visibility: visible;
}

.clear-search:hover {
    opacity: 1 !important;
    color: var(--primary-solid);
    transform: scale(1.1);
}

.geolocate-btn {
    background: transparent;
    border: none;
    color: var(--primary-solid);
    cursor: pointer;
    padding: 0 20px;
    align-self: stretch;
    /* Prend toute la hauteur disponible du .search-box */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-premium);
    flex-shrink: 0;
    border-left: 1px solid rgba(0, 0, 0, 0.05);
    /* Séparateur visuel */
}

.geolocate-btn:hover {
    background: rgba(0, 102, 255, 0.05);
}

.geolocate-btn.loading {
    animation: pulse 1.5s infinite;
    opacity: 0.6;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.search-results {
    position: absolute;
    bottom: calc(100% + 10px);
    /* Apparait AU-DESSUS de la barre */
    top: auto;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    z-index: 950;
    overflow: hidden;
    display: none;
    box-shadow: 0 -15px 45px rgba(0, 0, 0, 0.1);
}

.search-results.active {
    display: block;
    animation: slideUpFade 0.3s ease;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.suggestion-item {
    padding: 1rem 2rem;
    cursor: pointer;
    transition: var(--transition-premium);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-main);
}

.suggestion-item:hover {
    background: rgba(0, 102, 255, 0.05);
    padding-left: 2.5rem;
    color: var(--primary-solid);
}

/* Hamburger Menu Drawer */
.main-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 320px;
    height: 100vh;
    background: var(--bg-light);
    z-index: 3000;
    transition: var(--transition-premium);
    box-shadow: none;
    display: flex;
    flex-direction: column;
}

.main-menu.active {
    left: 0;
    box-shadow: 20px 0 60px rgba(0, 0, 0, 0.1);
}

.close-menu {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    z-index: 3100;
    transition: var(--transition-premium);
}

.close-menu:hover {
    background: var(--primary-solid);
    color: white;
    transform: rotate(90deg);
}

.logo-menu {
    padding: 4rem 2rem 2rem;
    display: flex;
    align-items: center;
    font-family: var(--font-logo);
    font-size: 2.2rem;
    font-weight: 400;
    color: var(--text-logo);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.menu-items {
    padding: 2rem;
    list-style: none;
    flex: 1;
}

.menu-items li {
    margin-bottom: 1.8rem;
}

.menu-items a {
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-main);
    transition: var(--transition-premium);
    font-family: var(--font-heading);
}

.menu-items a:hover {
    color: var(--primary-solid);
    padding-left: 10px;
}

.menu-footer {
    padding: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.75rem;
    color: var(--text-light);
}

/* Global Logo */
.logo {
    font-family: var(--font-logo);
    font-size: 2.4rem;
    font-weight: 400;
    color: var(--text-logo);
    text-decoration: none;
    display: flex;
    align-items: center;
    transform: translateY(4px); /* Ajustement optique pour le style cursif */
}

/* Hamburger Button */
.hamburger-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 3005;
    /* Au-dessus du menu */
    transition: var(--transition-premium);
}

.hamburger-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary-solid);
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
    border-radius: 3px;
    transform-origin: center;
}

/* État Actif (Croix) */
.hamburger-btn.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger-btn.is-active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.hamburger-btn.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* --- VIGNETTE HERO CARD --- */
.vignette-hero {
    position: relative;
    height: var(--hero-height);
    margin: -2.5rem -1rem 2rem -1rem; /* Flush to edges of panel-content */
    overflow: hidden;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0; /* Match parent top corners */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 8s ease-out;
}

.vignette-hero:hover .hero-bg {
    transform: scale(1.1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
}

.hero-content {
    position: relative;
    height: 100%;
    padding: 1.5rem 1.5rem 1.8rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 2;
}

/* Score Floating Card */
.hero-score-card {
    align-self: flex-end;
    background: white;
    padding: 12px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px;
    animation: slideInDown 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes slideInDown {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.hero-score-val {
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-main);
    line-height: 1;
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.hero-status-badge {
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: white;
}

/* Coloration Status Hero */
.hero-status-badge.status-excellent { background: var(--status-excellent); }
.hero-status-badge.status-good { background: var(--status-good); }
.hero-status-badge.status-warning { background: var(--status-warning); }
.hero-status-badge.status-critical { background: var(--status-critical); }

.score-disclaimer {
    font-size: 0.6rem;
    color: var(--text-muted);
    opacity: 0.8;
    margin-top: 8px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-align: center;
    line-height: 1.2;
}

/* Footer info in Hero */
.hero-footer {
    animation: slideInUp 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    container-type: inline-size; /* Permet à la ville de s'adapter à la largeur */
    width: 100%;
}

@keyframes slideInUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.hero-network {
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px; /* Espace avec la ville au-dessus */
}

.hero-city {
    font-size: clamp(1.5rem, 12cqw, 2.2rem); /* Taille fluide intelligente */
    font-weight: 800;
    color: white;
    margin: 0;
    line-height: 1;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* Sécurité si vraiment trop long */
    display: block;
}

.product-score-line {
    display: none;
    /* Remplacé par le groupe de badges */
}

.score-dot {
    width: 14px;
    height: 14px;
    min-width: 14px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.score-dot.status-excellent {
    background: var(--status-excellent);
    box-shadow: 0 0 10px rgba(5, 150, 105, 0.4);
}

.score-dot.status-good {
    background: var(--status-good);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.score-dot.status-warning {
    background: var(--status-warning);
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.4);
}

.score-dot.status-critical {
    background: var(--status-critical);
    box-shadow: 0 0 10px rgba(248, 113, 113, 0.4);
}

.report-section {
    margin-bottom: 2.2rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 0.5rem;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--text-main);
}

.section-header .count {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
    background: var(--surface-sunken);
    padding: 2px 8px;
    border-radius: 10px;
}

.yuka-row {
    display: grid;
    grid-template-columns: 24px 1fr 75px 20px 20px;
    /* 5 colonnes optimisées */
    grid-template-rows: auto auto;
    /* 2 lignes */
    align-items: center;
    gap: 0.2rem 0.6rem;
    /* Gap horizontal réduit pour gagner de la place */
    padding: 0.85rem 0;
    /* Retour à 0 de padding horizontal, géré par le conteneur parent */
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition-premium);
    cursor: pointer;
}

.yuka-row:hover {
    background: rgba(0, 0, 0, 0.02);
}

.yuka-icon {
    grid-row: 1;
    /* L'icône est alignée sur la première ligne avec le nom et les chiffres */
    align-self: center;
    width: 24px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: var(--text-muted);
    flex-shrink: 0;
    margin-left: -4px;
}

.yuka-icon svg {
    width: 22px;
    height: 22px;
}

.yuka-icon svg,
.search-icon,
.geolocate-btn svg,
.close-panel svg {
    stroke-width: 1.5px !important;
}

.yuka-toggle-arrow {
    stroke-width: 2.5px !important;
    /* On force une épaisseur plus importante pour la flèche de toggle */
}

.yuka-name {
    grid-row: 1;
    grid-column: 2;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-main);
}

.yuka-val {
    grid-row: 1;
    grid-column: 3;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: right;
    white-space: nowrap;
}

.yuka-dot-small {
    grid-row: 1;
    grid-column: 4;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 auto;
    transform: translateX(2px);
    /* Correction optique pour équilibrer avec la flèche */
}

.yuka-toggle-arrow {
    grid-row: 1;
    grid-column: 5;
    justify-self: end;
    margin-right: -4px;
}

.yuka-subtitle {
    grid-row: 2;
    grid-column: 2 / span 3;
    /* Le sous-titre s'étend sous le nom ET la valeur */
    font-size: 0.8rem;
    color: var(--text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* États de couleur du point */
.yuka-dot-small.status-excellent {
    background: var(--status-excellent);
}

.yuka-dot-small.status-good {
    background: var(--status-good);
}

.yuka-dot-small.status-warning {
    background: var(--status-warning);
}

.yuka-dot-small.status-critical {
    background: var(--status-critical);
}

/* Range Details Spectrum */
.yuka-row {
    cursor: pointer;
    transition: background 0.2s;
}

.yuka-row:hover {
    background: rgba(0, 0, 0, 0.01);
}

.yuka-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fafafa;
    border-radius: 0 0 12px 12px;
}

.yuka-details.active {
    max-height: 150px;
    padding-bottom: 1.5rem;
}

.yuka-range-container {
    padding: 1.5rem 1rem 0.5rem 1rem;
    position: relative;
    max-width: 320px;
    margin: 0 auto;
}

.yuka-range-bar {
    height: 6px;
    width: 100%;
    border-radius: 10px;
    position: relative;
}

.yuka-range-bar.linear {
    background: linear-gradient(to right,
            var(--status-excellent) 0%, var(--status-excellent) 25%,
            var(--status-good) 25%, var(--status-good) 50%,
            var(--status-warning) 50%, var(--status-warning) 75%,
            var(--status-critical) 75%, var(--status-critical) 100%);
}

.yuka-range-bar.centered {
    background: linear-gradient(to right,
            var(--status-critical) 0%, var(--status-critical) 11%,
            var(--status-warning) 11%, var(--status-warning) 22%,
            var(--status-good) 22%, var(--status-good) 33%,
            var(--status-excellent) 33%, var(--status-excellent) 67%,
            var(--status-good) 67%, var(--status-good) 78%,
            var(--status-warning) 78%, var(--status-warning) 89%,
            var(--status-critical) 89%, var(--status-critical) 100%);
}

.yuka-marker {
    position: absolute;
    top: -12px;
    left: var(--marker-pos, 50%);
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid var(--marker-color, var(--text-main));
    transition: left 0.6s ease-out;
}

.yuka-range-labels {
    position: relative;
    height: 1.2rem;
    margin-top: 0.8rem;
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 600;
}

.yuka-range-labels span {
    position: absolute;
    top: 0;
    white-space: nowrap;
}

.yuka-toggle-arrow {
    transition: transform 0.3s;
    opacity: 1;
    /* Pleine visibilité */
    color: var(--text-main);
    /* Couleur plus sombre */
}

.yuka-details.active+.yuka-row .yuka-toggle-arrow,
.yuka-row.active .yuka-toggle-arrow {
    transform: rotate(180deg);
}

.share-btn {
    width: 100%;
    padding: 0.8rem 1.5rem;
    background: #FFFFFF;
    color: var(--text-main);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-premium);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.share-btn:hover {
    border-color: var(--primary-solid);
    color: var(--primary-solid);
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.06);
}

.report-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.7rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* Side Panel (Vignette) */
.side-panel {
    position: absolute;
    top: 20px;
    right: -550px;
    width: 380px;
    height: calc(100% - 40px);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-lg);
    z-index: 1500;
    transition: var(--transition-slow);
    display: flex;
    flex-direction: column;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.08);
    overflow: visible;
    /* Autorise le débordement de la croix */
}

#panel-content {
    flex: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
    /* Empêche le scroll du body quand on scrolle dans la vignette */
    padding: 2.5rem 1rem;
    /* Marge réduite pour maximiser l'espace texte */
    border-radius: inherit;
    /* Scrollbar premium */
    scrollbar-width: thin;
    scrollbar-color: var(--primary-light) transparent;
}

#panel-content::-webkit-scrollbar {
    width: 6px;
}

#panel-content::-webkit-scrollbar-thumb {
    background-color: var(--primary-light);
    border-radius: 10px;
}

.side-panel.active {
    right: 20px;
}

.close-panel {
    position: absolute;
    top: -15px;
    /* Débordement sur la bordure */
    right: -15px;
    width: 40px;
    height: 40px;
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    z-index: 2000;
    transition: var(--transition-premium);
}

.close-panel:hover {
    transform: scale(1.1) rotate(90deg);
    background: var(--primary-solid);
    color: white;
    border-color: var(--primary-solid);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.3);
}

.close-panel svg {
    display: block;
    width: 18px;
    height: 18px;
}

/* --- PAGE CONTENT COMPONENTS (Legal, Contact, etc.) --- */
main.content-wrapper {
    padding: 140px 20px 80px;
    max-width: 1000px;
    margin: 0 auto;
    color: var(--text-main);
    position: relative;
    z-index: 1;
}

.page-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.content-wrapper h1 {
    font-size: clamp(2rem, 7vw, 3.5rem); /* Légèrement réduit pour mobile */
    font-weight: 800;
    margin: 0 0 1rem 0;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.text-subtle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

/* Glass Card Style */
.glass-card {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.08); /* Bordure légère pour structure */
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.card-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-glow);
    color: var(--primary-solid);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.content-wrapper h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-main);
}

.content-wrapper p {
    line-height: 1.8;
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.content-wrapper p strong {
    color: var(--text-main);
}

.note {
    font-size: 0.95rem;
    font-style: italic;
    padding-left: 1rem;
    border-left: 3px solid var(--primary-glow);
}

/* Info Grid for Legal */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.info-item .info-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 0.2rem;
}

.info-item span:not(.info-label) {
    font-weight: 400;
    color: var(--text-main);
}

.text-mini {
    font-size: 0.85rem !important;
    color: var(--text-muted) !important;
    font-weight: 400 !important;
}

/* Contact Specific Layout */
.contact-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 2.5rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-box {
    padding: 2rem;
}

.info-box h3 {
    font-size: 1.2rem;
    margin: 1rem 0 0.5rem;
}

.info-box p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.contact-link {
    display: inline-block;
    color: var(--primary-solid);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: var(--transition-premium);
}

.contact-link:hover {
    border-bottom-color: var(--primary-solid);
}

/* Contact Form Refinement */
.form-card {
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 1.8rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 700;
    color: var(--text-main);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 20px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.5);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-main);
    outline: none;
    transition: var(--transition-premium);
}

.form-group input:focus,
.form-group textarea:focus {
    background: white;
    border-color: var(--primary-solid);
    box-shadow: 0 0 0 4px var(--primary-glow);
}

.submit-btn {
    width: 100%;
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 18px;
    border-radius: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-premium);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    background: #004BB5; /* Un bleu plus profond et solide pour le hover */
    filter: brightness(1.1); /* Petit boost de luminosité pour le feedback */
}

.submit-btn:active {
    transform: translateY(-1px);
}

.form-status {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    display: none;
    text-align: center;
}

.form-status.success {
    display: block;
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-status.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    color: #DC2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        order: 2;
    }
    
    main.content-wrapper {
        padding-top: 130px !important;
    }
}

/* Utility Classes */
.logo-icon {
    margin-right: 8px;
}

.logo-menu-icon {
    margin-right: 12px;
}

.full-height-body {
    overflow-x: hidden;
    overflow-y: auto;
}

.empty-state-panel {
    text-align: center;
    margin-top: 50%;
    color: var(--text-light);
}

.text-subtle {
    color: var(--text-light);
    margin-bottom: 3rem;
}

/* --- PWA INSTALL BANNER --- */
.install-banner {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) translateY(200%);
    width: 94%; /* Aligné exactement sur la barre de recherche */
    max-width: 500px;
    background: rgba(255, 255, 255, 0.98); /* Plus opaque pour la lisibilité */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 10px 14px; /* Plus compact */
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);
    z-index: 1000;
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    border: 1px solid rgba(255,255,255,0.5);
    pointer-events: none;
    opacity: 0;
}

.install-banner.visible {
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
    opacity: 1;
}

.install-content {
    display: flex;
    align-items: center;
    gap: 10px; /* Réduit pour mobile */
    min-width: 0; /* Important pour le flex-shrink */
}

.install-icon {
    width: 38px; /* Légèrement plus petit */
    height: 38px;
    border-radius: 10px;
    flex-shrink: 0;
}

.install-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.install-text p {
    margin: 0;
    font-size: 0.85rem; /* Un peu plus petit */
    color: var(--text-main);
    font-weight: 800;
    line-height: 1.2;
}

.install-text span {
    font-size: 0.7rem;
    color: var(--text-muted);
    white-space: nowrap; /* Empêche le retour ligne si possible */
}

@media (max-width: 400px) {
    .install-text span {
        white-space: normal; /* Autorise le retour ligne sur les très petits écrans */
    }
}

.install-actions {
    display: flex;
    gap: 4px; /* Plus serré */
    align-items: center;
    flex-shrink: 0;
}

.btn-install-primary {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 102, 255, 0.2);
}

.btn-install-primary:active {
    transform: scale(0.95);
}

.btn-install-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    padding: 4px 8px;
    cursor: pointer;
}

/* --- LOADING SKELETONS --- */
.skeleton {
    background: #eee;
    background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
    border-radius: 5px;
    background-size: 200% 100%;
    animation: shimmer 1.5s linear infinite;
}

@keyframes shimmer {
    to {
        background-position-x: -200%;
    }
}

.skeleton-text {
    height: 1.2rem;
    margin-bottom: 0.8rem;
    width: 100%;
}

.skeleton-title {
    height: 2rem;
    margin-bottom: 1rem;
    width: 60%;
}

.skeleton-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    flex-shrink: 0;
}

.skeleton-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1rem 0;
}

.skeleton-line {
    height: 1rem;
    width: 80%;
    border-radius: 10px;
}

.skeleton-line-sm {
    height: 0.8rem;
    width: 40%;
    border-radius: 10px;
}