/* ============================================
   VARIABLES & RESET
   ============================================ */
:root {
    --primary: #d4af37;
    --dark: #1a1a1a;
    --darker: #0f0f0f;
    --light: #e0e0e0;
    --border: #333;
    --success: #4caf50;
    --error: #f44336;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--darker);
    color: var(--light);
}

/* ============================================
   SITE PUBLIC - HEADER
   ============================================ */
header {
    background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 100%);
    border-bottom: 2px solid var(--primary);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    gap: 20px;
}

.logo {
    color: var(--primary);
    font-size: 24px;
    font-weight: bold;
}

.header-nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

.phone-link, .wa, .mail-link {
    color: var(--light);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.phone-link:hover, .wa:hover, .mail-link:hover {
    color: var(--primary);
}

.wa {
    background: #25d366;
    padding: 8px 15px;
    border-radius: 20px;
    color: white;
}

.mail-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.cta-under-header {
    background: transparent;
    padding: 25px 20px;
    text-align: center;
}

.cta-form-btn {
    display: inline-block;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.08) 100%);
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: bold;
    text-decoration: none;
    font-size: 18px;
    padding: 18px 40px;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
    letter-spacing: 0.5px;
}

.cta-form-btn:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.25) 0%, rgba(212, 175, 55, 0.15) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* ============================================
   SITE PUBLIC - HERO
   ============================================ */
.hero {
    background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 100%);
    padding: 60px 20px;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-text h1 {
    font-size: clamp(32px, 5vw, 56px);
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text p {
    color: var(--light);
    font-size: 16px;
    line-height: 1.6;
}

.tagline {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
    justify-content: center;
}

.tag {
    background: rgba(212, 175, 55, 0.2);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.hero-image img {
    width: 100%;
    border-radius: 12px;
    transition: transform 0.3s;
}

.hero-image img:hover {
    transform: scale(1.02);
}

/* ============================================
   SITE PUBLIC - SERVICES
   ============================================ */
.services {
    background: var(--dark);
    padding: 60px 20px;
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
}

.accordion-header {
    background: var(--primary);
    color: var(--darker);
    padding: 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
}

.accordion-header:hover {
    background: #e0c547;
}

.accordion-arrow {
    transition: transform 0.3s;
}

.accordion-arrow.open {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
}

.accordion-content.open {
    max-height: 2000px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 30px 0;
}

.service-card {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--primary);
    padding: 20px;
    border-radius: 8px;
    transition: all 0.3s;
}

.service-card:hover {
    background: rgba(212, 175, 55, 0.2);
    transform: translateY(-5px);
}

.service-card h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 16px;
}

.service-card p {
    color: var(--light);
    font-size: 14px;
    line-height: 1.6;
}

/* ============================================
   SITE PUBLIC - ESTIMATOR FORM
   ============================================ */
.estimator {
    background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 100%);
    padding: 60px 20px;
}

.estimator-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-title {
    color: var(--primary);
    text-align: center;
    font-size: 32px;
    margin-bottom: 20px;
}

.reservation-form {
    background: var(--dark);
    border: 2px solid var(--primary);
    padding: 40px 50px;
    border-radius: 12px;
    max-width: 100%;
}

.form-title {
    color: var(--primary);
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: var(--light);
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 8px;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 12px;
    background: var(--darker);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--light);
    font-size: 14px;
    font-family: inherit;
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.suggestions {
    list-style: none;
    background: var(--darker);
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 6px 6px;
    max-height: 200px;
    overflow-y: auto;
    position: absolute;
    width: 100%;
    z-index: 10;
}

.suggestions li {
    padding: 10px 12px;
    color: var(--light);
    cursor: pointer;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
}

.suggestions li:hover {
    background: rgba(212, 175, 55, 0.15);
    color: var(--primary);
}

.result-title {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 16px;
}

.result-value {
    color: var(--primary);
    font-weight: bold;
    font-size: 20px;
}

.result-details {
    color: var(--light);
    font-size: 14px;
    line-height: 1.8;
}

.reservation-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.reservation-action {
    flex: 1;
    padding: 14px;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
    font-size: 14px;
}

.reservation-action:hover {
    background: rgba(212, 175, 55, 0.15);
}

.reservation-action.wa {
    background: #25d366;
    border-color: #25d366;
    color: white;
}

.reservation-action.wa:hover {
    background: #1fa952;
}

.reservation-action.mail {
    background: transparent;
}

/* ============================================
   SITE PUBLIC - FOOTER
   ============================================ */
footer {
    background: var(--darker);
    border-top: 1px solid var(--border);
    padding: 20px;
    text-align: center;
    color: var(--light);
    font-size: 12px;
}

/* ============================================
   CONSOLE ADMIN - LOGIN
   ============================================ */
.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 100%);
}

.login-box {
    background: var(--dark);
    border: 2px solid var(--primary);
    border-radius: 10px;
    padding: 40px;
    width: 100%;
    max-width: 350px;
    text-align: center;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

.login-box h1 {
    color: var(--primary);
    margin-bottom: 30px;
    font-size: 28px;
}

.login-box input {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    background: var(--darker);
    border: 1px solid var(--border);
    border-radius: 5px;
    color: var(--light);
    font-size: 14px;
}

.login-box input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.login-box button {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    border: none;
    border-radius: 5px;
    color: var(--darker);
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.login-box button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

.login-box .error {
    color: var(--error);
    margin-top: 10px;
    font-size: 12px;
}

.hidden {
    display: none !important;
}

/* ============================================
   CONSOLE ADMIN - LAYOUT
   ============================================ */
.console-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--dark);
    border-bottom: 2px solid var(--primary);
    padding: 15px 20px;
    height: 70px;
}

.navbar h2 {
    color: var(--primary);
    font-size: 20px;
}

.logout-btn {
    padding: 8px 15px;
    background: var(--error);
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s;
}

.logout-btn:hover {
    background: #d32f2f;
}

.tabs-container {
    display: flex;
    background: var(--dark);
    border-bottom: 1px solid var(--border);
    padding: 0 20px;
    overflow-x: auto;
}

.tab-btn {
    padding: 15px 20px;
    background: none;
    border: none;
    color: var(--light);
    cursor: pointer;
    font-size: 14px;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
    white-space: nowrap;
}

.tab-btn:hover {
    color: var(--primary);
}

.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.content-area {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.tab-content h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 18px;
}

.tab-content h4 {
    color: var(--light);
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 14px;
}

.tab-content h5 {
    color: var(--light);
    margin-top: 15px;
    margin-bottom: 8px;
    font-size: 12px;
}

/* ============================================
   CONSOLE - SELECTORS
   ============================================ */
.selector-group {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.selector-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.selector-group select {
    padding: 6px 10px;
    background: var(--darker);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--light);
    cursor: pointer;
    font-size: 12px;
}

.selector-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.selector-group button {
    padding: 8px 15px;
    background: var(--primary);
    border: none;
    border-radius: 4px;
    color: var(--darker);
    font-weight: bold;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s;
}

.selector-group button:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(212, 175, 55, 0.3);
}

/* ============================================
   CONSOLE - STATS
   ============================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.stat-box {
    background: var(--dark);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
}

.stat-box label {
    display: block;
    color: var(--light);
    font-size: 12px;
    margin-bottom: 8px;
}

.stat-box p {
    color: var(--primary);
    font-size: 20px;
    font-weight: bold;
}

/* ============================================
   CONSOLE - TABLES
   ============================================ */
.table-wrapper {
    background: var(--dark);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 20px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.data-table thead {
    background: var(--darker);
    sticky: top 0;
}

.data-table th {
    padding: 12px;
    text-align: left;
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
    cursor: pointer;
    user-select: none;
    font-weight: bold;
}

.data-table th:hover {
    background: var(--border);
}

.data-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
}

.data-table tbody tr:hover {
    background: var(--border);
}

/* ============================================
   CONSOLE - FILTERS
   ============================================ */
.filters {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filters input {
    padding: 8px 12px;
    background: var(--darker);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--light);
    font-size: 12px;
    flex: 1;
    min-width: 120px;
}

.filters input:focus {
    outline: none;
    border-color: var(--primary);
}

.search-input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    background: var(--darker);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--light);
    font-size: 13px;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
}

/* ============================================
   CONSOLE - IMPORT SECTION
   ============================================ */
.import-section {
    background: var(--dark);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.import-section textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    background: var(--darker);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--light);
    font-family: monospace;
    font-size: 11px;
    resize: vertical;
}

.import-section textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.import-section button {
    padding: 8px 15px;
    background: var(--success);
    border: none;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    font-size: 12px;
    margin-bottom: 15px;
    transition: all 0.3s;
}

.import-section button:hover {
    background: #45a049;
}

.message {
    font-size: 12px;
    margin-top: 5px;
    padding: 8px;
    border-radius: 4px;
}

.message.success {
    color: var(--success);
    background: rgba(76, 175, 80, 0.2);
}

.message.error {
    color: var(--error);
    background: rgba(244, 67, 54, 0.2);
}

/* ============================================
   CONSOLE - CHARTS
   ============================================ */
.charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.chart-box {
    background: var(--dark);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 15px;
    position: relative;
    height: 320px;
}

.chart-box canvas {
    max-height: 100%;
}

.fullscreen-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary);
    border: none;
    border-radius: 4px;
    color: var(--darker);
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
}

.fullscreen-btn:hover {
    background: #e0c547;
}

/* ============================================
   CONSOLE - MAP
   ============================================ */
.map-container {
    width: 100%;
    height: 600px;
    background: var(--dark);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

#map {
    width: 100%;
    height: 100%;
}

.client-card {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--dark);
    border: 1px solid var(--primary);
    border-radius: 8px;
    padding: 20px;
    width: 100%;
    max-width: 350px;
    max-height: 70vh;
    overflow-y: auto;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
    z-index: 1000;
}

.client-card h4 {
    color: var(--primary);
    margin-bottom: 10px;
}

.client-card p {
    margin-bottom: 8px;
    font-size: 12px;
    line-height: 1.6;
}

.client-card hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 10px 0;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--error);
    border: none;
    border-radius: 50%;
    color: white;
    width: 25px;
    height: 25px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    background: #d32f2f;
}

/* ============================================
   CONSOLE - MODAL
   ============================================ */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal.hidden {
    display: none;
}

.modal:not(.hidden) {
    display: flex;
}

.modal-content {
    background: var(--dark);
    border: 1px solid var(--primary);
    border-radius: 8px;
    padding: 20px;
    width: 90vw;
    height: 90vh;
    position: relative;
}

.modal-content canvas {
    width: 100%;
    height: 100%;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
    .charts-grid {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    }
    
    .hero-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-nav {
        flex-direction: column;
        gap: 10px;
    }
    
    .navbar {
        flex-wrap: wrap;
    }

    .tabs-container {
        overflow-x: auto;
    }

    .tab-btn {
        font-size: 12px;
        padding: 12px 15px;
    }

    .charts-grid {
        grid-template-columns: 1fr;
    }

    .chart-box {
        height: 250px;
    }

    .client-card {
        width: calc(100% - 40px);
        max-width: none;
    }

    .table-wrapper {
        font-size: 11px;
    }

    .data-table th,
    .data-table td {
        padding: 8px 6px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}/* ============================================
   NOUVEAUX STYLES - VERSION 2.0
   Status Bar, Formulaire Progressif, etc.
   ============================================ */

/* ============================================
   STATUS BAR
   ============================================ */
.status-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.98) 0%, rgba(15, 15, 15, 0.98) 100%);
    border-bottom: 2px solid var(--primary);
    padding: 15px 20px;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.status-bar-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.status-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.status-icon {
    font-size: 24px;
}

.status-text {
    color: var(--light);
    font-size: 14px;
}

.status-text strong {
    color: var(--primary);
}

.status-action {
    display: flex;
    align-items: center;
    gap: 15px;
}

.status-pending {
    color: #ffc107;
    font-weight: bold;
    font-size: 14px;
}

.status-ready {
    color: var(--success);
    font-weight: bold;
    font-size: 14px;
}

.status-close {
    background: transparent;
    border: 2px solid rgba(212, 175, 55, 0.3);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
}

.status-close:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--primary);
}

/* Ajuster le header quand la status bar est visible */
body:has(.status-bar[style*="display: block"]) header {
    top: 60px;
}

/* ============================================
   PROGRESS STEPS (Indicateur d'étapes)
   ============================================ */
.progress-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
    gap: 10px;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.5;
    transition: all 0.3s;
}

.progress-step.active {
    opacity: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.2);
    border: 2px solid rgba(212, 175, 55, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--light);
    transition: all 0.3s;
}

.progress-step.active .step-number {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--darker);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.step-label {
    font-size: 12px;
    color: var(--light);
    text-align: center;
}

.progress-line {
    width: 60px;
    height: 2px;
    background: rgba(212, 175, 55, 0.3);
    margin-bottom: 20px;
}

/* ============================================
   FORM STEPS (Étapes du formulaire)
   ============================================ */
.form-step {
    display: none !important;
    animation: fadeInSlide 0.4s ease-out;
}

.form-step.active {
    display: block !important;
}

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

.result-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.result-icon {
    font-size: 28px;
}

.result-title {
    font-size: 16px;
    color: var(--primary);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-price {
    text-align: center;
    margin: 20px 0;
}

.price-amount {
    font-size: 48px;
    font-weight: bold;
    color: var(--primary);
    display: inline-block;
    animation: popIn 0.5s ease-out;
}

.price-currency {
    font-size: 20px;
    color: var(--light);
    margin-left: 8px;
}

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

.result-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.result-detail {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.detail-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    font-size: 16px;
    color: var(--light);
    font-weight: bold;
}

.majoration-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 12px;
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 8px;
}

.majoration-icon {
    font-size: 20px;
}

.majoration-text {
    font-size: 13px;
    color: #ffc107;
}

/* ============================================
   FORM ACTIONS (Boutons)
   ============================================ */
.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.btn-primary {
    flex: 1;
    background: var(--primary);
    color: var(--darker);
}

.btn-primary:hover {
    background: #c09d30;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    flex: 0.4;
    background: transparent;
    border-color: rgba(212, 175, 55, 0.5);
}

.btn-secondary:hover {
    background: rgba(212, 175, 55, 0.1);
}

.calculate-btn {
    width: 100%;
    margin-top: 20px;
}

/* ============================================
   CONFIRMATION BOX
   ============================================ */
.confirmation-box {
    text-align: center;
    padding: 40px 20px;
}

.confirmation-icon {
    font-size: 64px;
    margin-bottom: 20px;
    animation: bounceIn 0.6s ease-out;
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.confirmation-box h3 {
    color: var(--primary);
    font-size: 24px;
    margin-bottom: 15px;
}

.confirmation-box p {
    color: var(--light);
    margin-bottom: 10px;
    line-height: 1.6;
}

.confirmation-id {
    background: rgba(212, 175, 55, 0.1);
    padding: 12px;
    border-radius: 8px;
    margin: 20px 0;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.confirmation-note {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

/* ============================================
   SERVICES - CENTRAGE
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    justify-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 20px;
}

.service-card {
    width: 100%;
    max-width: 320px; /* Limite la largeur des cartes */
}

/* ============================================
   RESPONSIVE - Status Bar & Steps
   ============================================ */
@media (max-width: 768px) {
    .status-bar-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .status-action {
        width: 100%;
        justify-content: space-between;
    }
    
    .progress-steps {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .progress-line {
        width: 30px;
        margin-bottom: 10px;
    }
    
    .result-details-grid {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-secondary {
        flex: 1;
    }
    
    .price-amount {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .status-text {
        font-size: 12px;
    }
    
    .step-label {
        font-size: 10px;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

/* ============================================
   LOADER ANIMATIONS
   ============================================ */
.btn-loader {
    display: inline-block;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* ============================================
   LIENS DANS STATUS BAR
   ============================================ */
.status-ready a {
    color: var(--primary);
    text-decoration: underline;
    transition: color 0.3s;
}

.status-ready a:hover {
    color: #c09d30;
}

.map-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.map-icon {
    font-size: 28px;
}

.map-title {
    font-size: 16px;
    font-weight: 600;
    color: #e0e0e0;
}

.map-legend {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #e0e0e0;
    font-weight: 500;
}

.legend-dot {
    font-size: 18px;
}

.legend-distance {
    font-size: 16px;
    font-weight: 700;
    color: #d4af37;
}

/* Marqueurs personnalisés */
.custom-marker {
    background: transparent;
    border: none;
}

.marker-pin {
    font-size: 32px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    animation: bounceMarker 0.6s ease-out;
}

@keyframes bounceMarker {
    0% {
        transform: translateY(-100px) scale(0);
        opacity: 0;
    }
    50% {
        transform: translateY(0) scale(1.2);
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.start-pin {
    filter: drop-shadow(0 0 8px rgba(76, 175, 80, 0.6));
}

.end-pin {
    filter: drop-shadow(0 0 8px rgba(255, 59, 48, 0.6));
}

/* Badge de distance sur la carte */
.distance-label {
    background: transparent;
    border: none;
}

.distance-badge {
    background: linear-gradient(135deg, #ff3b30 0%, #d32f2f 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 3px 10px rgba(255, 59, 48, 0.5);
    border: 2px solid white;
    white-space: nowrap;
}

/* Personnalisation des popups Leaflet */
.leaflet-popup-content-wrapper {
    background: rgba(26, 26, 26, 0.95);
    color: #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.leaflet-popup-content {
    margin: 12px 14px;
    font-size: 13px;
    line-height: 1.5;
}

.leaflet-popup-tip {
    background: rgba(26, 26, 26, 0.95);
}

.leaflet-popup-close-button {
    color: #e0e0e0 !important;
    font-size: 18px !important;
}

.leaflet-popup-close-button:hover {
    color: #d4af37 !important;
}

/* Responsive - Carte */
@media (max-width: 768px) {
    .route-map {
        height: 300px;
    }
    
    .map-legend {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .marker-pin {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .map-widget {
        padding: 15px;
    }
    
    .route-map {
        height: 250px;
    }
    
    .distance-badge {
        font-size: 11px;
        padding: 4px 10px;
    }
}

/* ============================================
   REFONTE ÉTAPE 2 - LAYOUT AMÉLIORÉ
   ============================================ */

/* Conteneur principal étape 2 avec grille */
#step2 {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Grille pour météo + carte côte à côte */
.step2-top-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    margin-bottom: 35px;
}

/* Météo widget - version compacte */
.weather-widget {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.08) 0%, rgba(3, 169, 244, 0.08) 100%);
    border: 2px solid rgba(33, 150, 243, 0.3);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.4s ease-out;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Carte widget - taille optimale */
.map-widget {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(202, 138, 4, 0.08) 100%);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.4s ease-out;
    height: 100%;
}

.route-map {
    width: 100%;
    height: 550px;  /* ✅ Plus grande : 450px → 550px */
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(212, 175, 55, 0.3);
    background: #1a1a1a;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.2);
}

/* Boîte de résultat - plus spacieuse */
.result-box-new {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.05) 100%);
    border: 2px solid var(--primary);
    border-radius: 15px;
    padding: 40px 50px;
    margin-bottom: 35px;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.25);
}

/* Prix en plus gros */
.price-amount {
    font-size: 64px;
    font-weight: 800;
    color: var(--primary);
    text-shadow: 0 3px 15px rgba(212, 175, 55, 0.5);
    line-height: 1;
    display: inline-block;
}

.price-currency {
    font-size: 28px;
    font-weight: 600;
    color: var(--primary);
    margin-left: 10px;
    opacity: 0.9;
}

/* Grille de détails - 4 colonnes */
.result-details-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 25px;
}

.result-detail {
    background: rgba(0, 0, 0, 0.3);
    padding: 18px;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    text-align: center;
    transition: all 0.3s ease;
}

.result-detail:hover {
    border-color: rgba(212, 175, 55, 0.5);
    background: rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

.detail-label {
    display: block;
    font-size: 11px;
    color: rgba(224, 224, 224, 0.6);
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.detail-value {
    font-size: 22px;
    font-weight: 700;
    color: #e0e0e0;
}

/* Section coordonnées - plus spacieuse */
.form-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin: 40px 0 25px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Grille formulaire coordonnées */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.contact-grid .form-group {
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 1400px) {
    .estimator-container {
        max-width: 1200px;
        padding: 0 30px;
    }
}

@media (max-width: 1200px) {
    .estimator-container {
        max-width: 1000px;
        padding: 0 25px;
    }
    
    .step2-top-grid {
        grid-template-columns: 1fr 1.5fr;
    }
}

@media (max-width: 1024px) {
    .estimator-container {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .step2-top-grid {
        grid-template-columns: 1fr;
    }
    
    .route-map {
        height: 400px;
    }
    
    .result-details-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .reservation-form {
        padding: 30px;
    }
    
    .result-box-new {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .result-details-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .price-amount {
        font-size: 48px;
    }
    
    .price-currency {
        font-size: 22px;
    }
    
    .route-map {
        height: 300px;
    }
    
    .reservation-form {
        padding: 25px 20px;
    }
    
    .result-box-new {
        padding: 25px 20px;
    }
}

/* ============================================
   VALIDATION DES FORMULAIRES
   ============================================ */

/* Champ invalide */
.form-input:invalid:not(:placeholder-shown) {
    border-color: #f44336;
    box-shadow: 0 0 8px rgba(244, 67, 54, 0.3);
}

/* Champ valide */
.form-input:valid:not(:placeholder-shown) {
    border-color: #4caf50;
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.3);
}

/* Message d'aide */
.form-group small {
    color: rgba(224, 224, 224, 0.6);
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

/* Focus sur champ invalide */
.form-input:invalid:focus {
    border-color: #f44336;
    box-shadow: 0 0 12px rgba(244, 67, 54, 0.5);
}

/* Focus sur champ valide */
.form-input:valid:focus {
    border-color: #4caf50;
    box-shadow: 0 0 12px rgba(76, 175, 80, 0.5);
}

/* ✅ EXCEPTION : Date et Heure toujours en vert (validation JS gère la logique) */
.form-input[type="date"],
.form-input[type="time"] {
    border-color: #4caf50 !important;
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.3) !important;
}

.form-input[type="date"]:focus,
.form-input[type="time"]:focus {
    border-color: #4caf50 !important;
    box-shadow: 0 0 12px rgba(76, 175, 80, 0.5) !important;
}

/* ============================================
   CARTE GOOGLE MAPS
   ============================================ */

.route-map {
    width: 100%;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    background: #2a2a2a;
}

/* Style pour les suggestions Google Places */
.pac-container {
    background-color: #2a2a2a;
    border: 1px solid #444;
    border-radius: 8px;
    margin-top: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.pac-item {
    padding: 10px 15px;
    border-top: 1px solid #444;
    color: #e0e0e0;
    cursor: pointer;
    transition: background 0.2s;
}

.pac-item:first-child {
    border-top: none;
}

.pac-item:hover {
    background-color: rgba(212, 175, 55, 0.1);
}

.pac-item-query {
    color: #d4af37;
    font-weight: 600;
}

.pac-matched {
    font-weight: 700;
    color: #d4af37;
}

.pac-icon {
    display: none;
}

/* Info window Google Maps */
.gm-style .gm-style-iw-c {
    background-color: #2a2a2a !important;
    border-radius: 8px !important;
    padding: 12px !important;
}

.gm-style .gm-style-iw-d {
    color: #e0e0e0 !important;
}

.gm-style .gm-style-iw-t::after {
    background: #2a2a2a !important;
}

/* Bouton de fermeture info window */
.gm-ui-hover-effect {
    opacity: 1 !important;
}

.gm-ui-hover-effect > span {
    background-color: #d4af37 !important;
}

/* Contrôles Google Maps */
.gm-style button {
    background-color: #2a2a2a !important;
    border: 1px solid #444 !important;
}

.gm-style button:hover {
    background-color: #333 !important;
}

/* Widget météo et carte côte à côte */
.step2-top-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .step2-top-grid {
        grid-template-columns: 1fr;
    }
}

/* Map widget */
.map-widget {
    background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
    border: 1px solid #444;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
}

.map-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.map-icon {
    font-size: 24px;
}

.map-title {
    font-size: 16px;
    font-weight: 600;
    color: #d4af37;
}

.map-legend {
    margin-top: 12px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid #444;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #e0e0e0;
}

.legend-dot {
    font-size: 16px;
}

.legend-distance {
    font-weight: 700;
    color: #d4af37;
}

.weather-widget {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(212, 175, 55, 0.08));
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 18px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    width: 100%;
    display: block;
}

.weather-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.weather-icon-main {
    font-size: 40px;
    line-height: 1;
}

.weather-info {
    flex: 1;
}

.weather-title {
    font-size: 11px;
    color: #d4af37;  /* ✅ Couleur or au lieu de #999 */
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 600;
    margin-bottom: 3px;
}

.weather-location {
    font-size: 15px;
    font-weight: 700;
    color: #d4af37;  /* ✅ Or au lieu de bleu */
}

.weather-details {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 15px;
}

.weather-temp {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.temp-value {
    font-size: 32px;
    font-weight: 700;
    color: #e0e0e0;
}

.temp-unit {
    font-size: 18px;
    color: #999;
    font-weight: 600;
}

.weather-condition {
    font-size: 14px;
    color: #e0e0e0;
    text-transform: capitalize;
    font-weight: 500;
}

.weather-extras {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: #999;
}

.weather-extras span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

/* Responsive météo */
@media (max-width: 768px) {
    .weather-widget {
        padding: 15px 18px;
        max-width: 100%;
    }
    
    .weather-icon-main {
        font-size: 36px;
    }
    
    .weather-location {
        font-size: 14px;
    }
    
    .temp-value {
        font-size: 28px;
    }
    
    .weather-details {
        flex-direction: column;
        gap: 10px;
    }
    
    .weather-extras {
        gap: 12px;
    }
}
@media (max-width: 768px) {
    .route-map {
        height: 400px;
    }
}

@media (max-width: 480px) {
    .route-map {
        height: 300px;
    }
}

/* ============================================
   CARTE PLEINE LARGEUR SANS MÉTÉO
   ============================================ */

.step2-map-section {
    margin-bottom: 30px;
}

.step2-map-section .map-widget {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(202, 138, 4, 0.08) 100%);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.2);
}

.step2-map-section .route-map {
    width: 100%;
    height: 550px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(212, 175, 55, 0.3);
    background: #1a1a1a;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.2);
}

@media (max-width: 768px) {
    .step2-map-section .route-map {
        height: 400px;
    }
}

@media (max-width: 480px) {
    .step2-map-section .route-map {
        height: 300px;
    }
}

/* ============================================
   MASQUER LES MARQUEURS A/B DE GOOGLE MAPS
   ============================================ */

/* Cacher les marqueurs par défaut de Google Directions */
.gm-style img[src*="spotlight-poi"] {
    display: none !important;
}

/* Alternative : cacher tous les marqueurs contenant A-Z */
.gm-style div[aria-label*="Origin"] img,
.gm-style div[aria-label*="Destination"] img,
.gm-style div[title="Origin"] img,
.gm-style div[title="Destination"] img {
    display: none !important;
}

/* Masquer les labels A et B */
.gm-style .gm-style-iw + div {
    display: none !important;
}

/* ============================================
   ENCADRÉ INFO TARIF - RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .result-box-new > div[style*="flex-direction: column"] {
        padding: 15px 18px !important;
    }
    
    .result-box-new > div[style*="flex-direction: column"] > div:first-child {
        font-size: 28px !important;
    }
    
    .result-box-new > div[style*="flex-direction: column"] > div:nth-child(2) {
        font-size: 14px !important;
    }
    
    .result-box-new > div[style*="flex-direction: column"] > div:last-child {
        font-size: 13px !important;
    }
}

/* ============================================
   DISCLAIMER TRAJET - NON CONTRACTUEL
   ============================================ */
.route-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 15px;
    padding: 14px 18px;
    background: rgba(255, 193, 7, 0.08);
    border: 1px solid rgba(255, 193, 7, 0.25);
    border-left: 4px solid #ffc107;
    border-radius: 8px;
}

.disclaimer-icon {
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.disclaimer-text {
    font-size: 12px;
    line-height: 1.6;
    color: rgba(224, 224, 224, 0.9);
}

.disclaimer-text strong {
    color: #ffc107;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
    font-size: 13px;
}

@media (max-width: 768px) {
    .route-disclaimer {
        padding: 12px 15px;
    }
    
    .disclaimer-text {
        font-size: 11px;
    }
    
    .disclaimer-icon {
        font-size: 18px;
    }
}
.legend-disclaimer {
    font-size: 10px;
    color: rgba(224, 224, 224, 0.5);
    font-style: italic;
    text-align: center;
    width: 100%;
    margin-top: 8px;
    display: block;
}

.map-widget {
    position: relative;
}

.map-widget::after {
    content: 'ℹ️ Trajet indicatif non contractuel';
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(26, 26, 26, 0.95);
    color: #ffc107;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 10;
}

.map-widget:hover::after {
    opacity: 1;
}
/* ==========================================
Tableau mon-compte.php
/* ==========================================*/

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-surface);
}

.data-table thead {
    background: var(--color-border);
}

.data-table th {
    padding: 15px;
    text-align: left;
    color: var(--color-primary);
    font-weight: 700;
    border-bottom: 2px solid var(--color-primary);
}

.data-table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text);
}

.data-table tbody tr:hover {
    background: rgba(212, 175, 55, 0.05);
}

/* ============================================
   BOUTONS GLOBAUX - Style gradient doré animé
   Utilisé sur tout le site (public + espace client)
   ============================================ */

.btn-reservation,
.btn-primary,
.btn-secondary,
button[type="submit"],
.reservation-action {
    display: inline-block;
    padding: 16px 32px;
    background: linear-gradient(135deg, #d4af37 0%, #f0c54a 100%);
    background-size: 200% 200%;
    color: #000;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.btn-reservation:hover,
.btn-primary:hover,
.btn-secondary:hover,
button[type="submit"]:hover,
.reservation-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
    background: linear-gradient(135deg, #f0c54a 0%, #ffd700 100%);
    animation: none;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4); }
    50% { box-shadow: 0 4px 25px rgba(212, 175, 55, 0.7); }
}

.btn-primary,
button[type="submit"] {
    animation: gradientShift 3s ease infinite, pulse 2s ease infinite;
}

.btn-reservation:hover,
.btn-primary:hover,
.btn-secondary:hover {
    background: #d4af37;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.btn-reservation:active,
.btn-primary:active,
.btn-secondary:active {
    transform: translateY(0);
}

/* ============================================
   EMPTY STATE - États vides des tableaux
   ============================================ */

.empty-state {
    text-align: center;
    padding: 40px;
    color: #ccc;
}

.empty-state-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.empty-state-text {
    font-size: 18px;
    margin-bottom: 30px;
    color: #999;
}

/* ============================================
   TOGGLE DARK/LIGHT MODE
   ============================================ */

/* Bouton toggle */
.theme-toggle {
    position: relative;
    width: 60px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4px;
    overflow: hidden;
}

.theme-toggle:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.5);
    transform: scale(1.05);
}

.theme-icon {
    font-size: 18px;
    transition: all 0.3s ease;
    z-index: 2;
}

.theme-toggle::before {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #d4af37, #f4d03f);
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    left: 4px;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
}

body.light-mode .theme-toggle::before {
    left: calc(100% - 28px);
    background: linear-gradient(135deg, #ffa500, #ff8c00);
}

body.light-mode .theme-toggle {
    background: rgba(255, 165, 0, 0.1);
    border-color: rgba(255, 140, 0, 0.3);
}

body.light-mode .theme-toggle .sun {
    opacity: 0.3;
}

body.light-mode .theme-toggle .moon {
    opacity: 1;
}

body:not(.light-mode) .theme-toggle .sun {
    opacity: 1;
}

body:not(.light-mode) .theme-toggle .moon {
    opacity: 0.3;
}

/* ============================================
   LIGHT MODE - THÈME SUPERCHARGEUR TESLA
   ============================================ */

/* 1. Bouton WhatsApp reste VERT */
body.light-mode .wa {
    background: linear-gradient(135deg, #25D366, #128C7E) !important;
    color: #ffffff !important;
    border: none !important;
}

body.light-mode .wa:hover {
    background: linear-gradient(135deg, #2EE876, #149C8E) !important;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4) !important;
}

/* 2. Texte hero visible */
body.light-mode .hero p {
    color: #2c3e50 !important;
    font-weight: 500;
}

body.light-mode .hero p:first-of-type {
    color: #1a1a1a !important;
    font-weight: 600;
}

/* Fond général - Gris très clair comme les Superchargeurs */
body.light-mode {
    background: linear-gradient(135deg, #F5F5F5 0%, #E8E8E8 50%, #FAFAFA 100%);
    color: #2c3e50;
}

/* Header */
body.light-mode header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid #E31937;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

body.light-mode .logo {
    color: #E31937;
    font-weight: 700;
    letter-spacing: 0.5px;
}

body.light-mode .phone-link,
body.light-mode .mail-link {
    color: #2c3e50;
    background: rgba(227, 25, 55, 0.08);
    border: 1px solid rgba(227, 25, 55, 0.2);
}

body.light-mode .phone-link:hover,
body.light-mode .mail-link:hover {
    background: rgba(227, 25, 55, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(227, 25, 55, 0.2);
}

/* CTA header - Rouge Superchargeur */
body.light-mode .cta-under-header {
    background: linear-gradient(135deg, #E31937, #C41630);
    border-bottom: none;
    box-shadow: 0 4px 15px rgba(227, 25, 55, 0.3);
}

body.light-mode .cta-form-btn {
    background: rgba(255, 255, 255, 0.95);
    color: #E31937;
    border: 2px solid rgba(255, 255, 255, 0.5);
    font-weight: 700;
    letter-spacing: 0.3px;
}

body.light-mode .cta-form-btn:hover {
    background: #ffffff;
    color: #C41630;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Hero section */
body.light-mode .hero {
    background: transparent;
}

body.light-mode .hero h1 {
    color: #1a1a1a;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.05);
}

body.light-mode .tag {
    background: rgba(227, 25, 55, 0.1);
    color: #2c3e50;
    border: 2px solid rgba(227, 25, 55, 0.3);
    font-weight: 600;
}

body.light-mode .tag:hover {
    background: rgba(227, 25, 55, 0.2);
    transform: translateY(-2px);
}

body.light-mode .hero-image img {
    border: 3px solid rgba(227, 25, 55, 0.3);
    box-shadow: 0 8px 30px rgba(227, 25, 55, 0.15);
}

/* Services */
body.light-mode .services {
    background: transparent;
}

body.light-mode .accordion-header {
    background: linear-gradient(135deg, rgba(227, 25, 55, 0.1), rgba(196, 22, 48, 0.05));
    color: #2c3e50;
    border: 2px solid rgba(227, 25, 55, 0.3);
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

body.light-mode .accordion-header:hover {
    background: linear-gradient(135deg, rgba(227, 25, 55, 0.15), rgba(196, 22, 48, 0.1));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(227, 25, 55, 0.1);
}

body.light-mode .service-card {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(227, 25, 55, 0.15);
    color: #2c3e50;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

body.light-mode .service-card:hover {
    border-color: rgba(227, 25, 55, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(227, 25, 55, 0.15);
}

body.light-mode .service-card h3 {
    color: #1a1a1a;
    font-weight: 700;
}

body.light-mode .service-card p {
    color: #4a5568;
}

/* Estimator */
body.light-mode .estimator {
    background: transparent;
}

body.light-mode .section-title {
    color: #2c3e50;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.05);
}

body.light-mode .estimator-container {
    background: rgba(255, 255, 255, 0.98);
    border: 2px solid rgba(227, 25, 55, 0.25);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

body.light-mode .reservation-form {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(227, 25, 55, 0.2);
}

/* Inputs */
body.light-mode .form-input,
body.light-mode .form-textarea {
    background: rgba(248, 248, 248, 0.8);
    border: 2px solid rgba(227, 25, 55, 0.2);
    color: #2c3e50;
}

body.light-mode .form-input::placeholder,
body.light-mode .form-textarea::placeholder {
    color: #a0aec0;
}

body.light-mode .form-input:focus,
body.light-mode .form-textarea:focus {
    border-color: #E31937;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(227, 25, 55, 0.1);
}

body.light-mode label {
    color: #2c3e50;
    font-weight: 600;
}

/* Boutons primaires - Rouge Superchargeur */
body.light-mode .reservation-action.calculate-btn,
body.light-mode .btn-primary,
body.light-mode .reservation-action {
    background: linear-gradient(135deg, #E31937, #C41630) !important;
    color: #ffffff !important;
    border: none;
    font-weight: 700;
    letter-spacing: 0.3px;
}

body.light-mode .reservation-action:hover {
    background: linear-gradient(135deg, #F02847, #E31937) !important;
    box-shadow: 0 6px 20px rgba(227, 25, 55, 0.4);
    transform: translateY(-2px);
}

body.light-mode .btn-secondary {
    background: rgba(227, 25, 55, 0.1);
    color: #2c3e50;
    border: 2px solid rgba(227, 25, 55, 0.3);
    font-weight: 600;
}

body.light-mode .btn-secondary:hover {
    background: rgba(227, 25, 55, 0.2);
}

body.light-mode .btn-location {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.15), rgba(56, 142, 60, 0.15));
    border-color: rgba(76, 175, 80, 0.4);
    color: #43a047;
}

body.light-mode .btn-location:hover {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.25), rgba(56, 142, 60, 0.25));
    border-color: rgba(76, 175, 80, 0.6);
}

/* Titres */
body.light-mode .form-title,
body.light-mode .result-title,
body.light-mode .map-title {
    color: #2c3e50 !important;
    border-bottom-color: rgba(227, 25, 55, 0.3);
}

/* Result box */
body.light-mode .result-box-new {
    background: rgba(255, 255, 255, 0.98);
    border: 2px solid rgba(227, 25, 55, 0.3);
    box-shadow: 0 4px 15px rgba(227, 25, 55, 0.1);
}

body.light-mode .price-amount {
    color: #E31937;
    text-shadow: 2px 2px 4px rgba(227, 25, 55, 0.2);
}

body.light-mode .price-currency {
    color: #E31937;
}

body.light-mode .detail-label {
    color: #808080;
    font-weight: 600;
}

body.light-mode .detail-value {
    color: #2c3e50;
    font-weight: 700;
}

body.light-mode .result-detail {
    background: rgba(248, 248, 248, 0.8);
    border: 1px solid rgba(227, 25, 55, 0.15);
}

body.light-mode .result-detail:hover {
    border-color: rgba(227, 25, 55, 0.3);
    background: rgba(248, 248, 248, 1);
}

/* Weather widget */
body.light-mode .weather-widget {
    background: rgba(255, 255, 255, 0.98);
    border: 2px solid rgba(227, 25, 55, 0.25);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

body.light-mode .weather-title {
    color: #808080;
}

body.light-mode .weather-location,
body.light-mode .weather-condition {
    color: #2c3e50;
}

body.light-mode .temp-value,
body.light-mode .temp-unit {
    color: #E31937;
    font-weight: 700;
}

body.light-mode .weather-extras {
    color: #4a5568;
}

/* Map widget */
body.light-mode .map-widget {
    background: rgba(255, 255, 255, 0.98);
    border: 2px solid rgba(227, 25, 55, 0.25);
    box-shadow: 0 4px 15px rgba(227, 25, 55, 0.1);
}

body.light-mode .route-map {
    border: 2px solid rgba(227, 25, 55, 0.2);
}

body.light-mode .map-legend {
    background: rgba(248, 248, 248, 0.95);
    border-top-color: rgba(227, 25, 55, 0.2);
}

body.light-mode .legend-item {
    color: #2c3e50;
}

body.light-mode .legend-distance {
    color: #E31937;
    font-weight: 700;
}

body.light-mode .legend-disclaimer {
    color: #808080;
}

body.light-mode .route-disclaimer {
    background: rgba(255, 193, 7, 0.1);
    border-color: rgba(255, 193, 7, 0.3);
}

body.light-mode .disclaimer-text {
    color: #4a5568;
}

body.light-mode .disclaimer-text strong {
    color: #2c3e50;
}

/* Footer */
body.light-mode footer {
    background: rgba(255, 255, 255, 0.98);
    border-top: 2px solid rgba(227, 25, 55, 0.2);
    color: #4a5568;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

/* Progress steps */
body.light-mode .progress-step {
    background: rgba(248, 248, 248, 0.8);
    border: 2px solid rgba(227, 25, 55, 0.2);
}

body.light-mode .progress-step.active {
    background: linear-gradient(135deg, rgba(227, 25, 55, 0.2), rgba(196, 22, 48, 0.15));
    border-color: #E31937;
}

body.light-mode .step-number {
    color: #2c3e50;
    font-weight: 700;
}

body.light-mode .progress-step.active .step-number {
    background: linear-gradient(135deg, #E31937, #C41630);
    color: #ffffff;
}

body.light-mode .step-label {
    color: #4a5568;
    font-weight: 600;
}

body.light-mode .progress-step.active .step-label {
    color: #E31937;
}

body.light-mode .progress-line {
    background: rgba(227, 25, 55, 0.3);
}

/* Status bar */
body.light-mode .status-bar {
    background: linear-gradient(135deg, #E31937, #C41630);
    border-bottom: 2px solid #C41630;
}

body.light-mode .status-text {
    color: #ffffff;
}

body.light-mode .status-pending {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

body.light-mode .status-close {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

/* Confirmation */
body.light-mode .confirmation-box h3 {
    color: #E31937;
}

body.light-mode .confirmation-box p {
    color: #4a5568;
}

body.light-mode .confirmation-id {
    background: rgba(227, 25, 55, 0.1);
    border-color: rgba(227, 25, 55, 0.3);
}

body.light-mode .confirmation-id strong {
    color: #E31937;
}

/* Majoration */
body.light-mode .majoration-info {
    background: rgba(255, 193, 7, 0.1);
    border-color: rgba(255, 193, 7, 0.4);
}

body.light-mode .majoration-text {
    color: #f57c00;
}

/* Error box */
body.light-mode #errorBox {
    background: rgba(227, 25, 55, 0.1);
    border-color: rgba(227, 25, 55, 0.3);
}

body.light-mode #errorMessage {
    color: #2c3e50;
}

/* Responsive */
@media (max-width: 768px) {
    .theme-toggle {
        width: 50px;
        height: 28px;
    }
    
    .theme-icon {
        font-size: 16px;
    }
    
    .theme-toggle::before {
        width: 20px;
        height: 20px;
    }
    
    body.light-mode .theme-toggle::before {
        left: calc(100% - 24px);
    }
}