/* =====================================================
   POLICE CUSTOM - LVtiK
   ===================================================== */

@font-face {
    font-family: 'LVtiK';
    src: url('../fonts/LVtiK.woff2') format('woff2'),
         url('../fonts/LVtiK.woff') format('woff'),
         url('../fonts/LVtiK.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* =====================================================
   VARIABLES CSS - LA VERRIÈRE
   ===================================================== */

:root {
    /* Couleurs principales - Charte La Verrière */
    --color-primary-orange: #ff560c;
    --color-primary-orange-dark: #e64e0b;
    --color-primary-orange-light: #ff6f2e;
    --color-orange-glow: rgba(255, 86, 12, 0.15);
    
    /* Couleurs neutres */
    --color-background: #FAFAFA;
    --color-white: #FFFFFF;
    --color-text-dark: #2C2C2C;
    --color-text-medium: #5A5A5A;
    --color-text-light: #8A8A8A;
    --color-border: #E5E5E5;
    --color-border-light: #F0F0F0;
    
    /* Couleurs de statut */
    --color-success: #10B981;
    --color-error: #EF4444;
    --color-warning: #F59E0B;
    
    /* Ombres */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16);
    --shadow-orange: 0 8px 32px var(--color-orange-glow);
    
    /* Espacements */
    --spacing-xs: 8px;
    --spacing-sm: 12px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    --spacing-3xl: 64px;
    
    /* Bordures */
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    --border-radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Typographie - LVtiK Police Officielle */
    --font-heading: 'LVtiK', 'Playfair Display', Georgia, serif;
    --font-body: 'LVtiK', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* =====================================================
   RESET & BASE
   ===================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--color-background);
    color: var(--color-text-dark);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    overflow-x: hidden;
}

/* =====================================================
   BACKGROUND DÉCORATIF
   ===================================================== */

.background-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-orange-glow), transparent);
    filter: blur(60px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.circle-1 {
    width: 500px;
    height: 500px;
    top: -150px;
    right: -150px;
    animation-delay: 0s;
}

.circle-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -100px;
    animation-delay: 7s;
}

.circle-3 {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 14s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* =====================================================
   CONTAINER PRINCIPAL
   ===================================================== */

.wizard-container {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-lg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* =====================================================
   HEADER
   ===================================================== */

.wizard-header {
    background: var(--color-white);
    border-radius: var(--border-radius-xl);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.wizard-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        var(--color-primary-orange), 
        var(--color-primary-orange-light));
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text-dark);
    letter-spacing: -0.02em;
    text-align: center;
}

/* =====================================================
   PROGRESS BAR
   ===================================================== */

.progress-bar {
    height: 4px;
    background: var(--color-border-light);
    border-radius: var(--border-radius-full);
    overflow: hidden;
    margin-bottom: var(--spacing-xl);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, 
        var(--color-primary-orange), 
        var(--color-primary-orange-light));
    width: 33.33%;
    transition: width var(--transition-slow);
    box-shadow: var(--shadow-orange);
}

/* =====================================================
   STEPS NAVIGATION
   ===================================================== */

.steps-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-2xl);
    padding: 0 var(--spacing-md);
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    flex: 1;
    position: relative;
}

.step-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-white);
    border: 3px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.step-number {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text-light);
    transition: var(--transition-base);
}

.step-icon {
    position: absolute;
    font-size: 1.5rem;
    opacity: 0;
    transform: scale(0);
    transition: var(--transition-base);
}

.step-label {
    font-size: 0.875rem;
    color: var(--color-text-light);
    font-weight: 500;
    text-align: center;
    transition: var(--transition-base);
}

.step-connector {
    height: 3px;
    flex: 1;
    background: var(--color-border);
    margin: 0 var(--spacing-sm);
    margin-bottom: 40px;
    transition: var(--transition-base);
}

/* État actif */
.step-item.active .step-circle {
    background: var(--color-primary-orange);
    border-color: var(--color-primary-orange);
    box-shadow: var(--shadow-orange);
    transform: scale(1.1);
}

.step-item.active .step-number {
    color: var(--color-white);
}

.step-item.active .step-label {
    color: var(--color-primary-orange);
    font-weight: 600;
}

/* État complété */
.step-item.completed .step-circle {
    background: var(--color-primary-orange);
    border-color: var(--color-primary-orange);
}

.step-item.completed .step-number {
    opacity: 0;
    transform: scale(0);
}

.step-item.completed .step-icon {
    opacity: 1;
    transform: scale(1);
    color: var(--color-white);
}

.step-item.completed .step-label {
    color: var(--color-text-dark);
}

.step-connector.completed {
    background: var(--color-primary-orange);
}

/* =====================================================
   WIZARD CONTENT
   ===================================================== */

.wizard-content {
    flex: 1;
    background: var(--color-white);
    border-radius: var(--border-radius-xl);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow-lg);
    margin-bottom: var(--spacing-xl);
}

.wizard-step {
    display: none;
    animation: fadeInUp var(--transition-base);
}

.wizard-step.active {
    display: block;
}

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

.step-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-sm);
    text-align: center;
}

.step-subtitle {
    font-size: 1rem;
    color: var(--color-text-medium);
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

/* =====================================================
   FORMULAIRE - ÉTAPE 1
   ===================================================== */

.date-picker-section {
    margin-bottom: var(--spacing-2xl);
}

.date-picker-wrapper {
    position: relative;
    /* Assurer que l'input et son icône fonctionnent correctement */
    display: block;
}

/* Supprimer les spinners mais GARDER le calendrier */
.date-input::-webkit-inner-spin-button {
    display: none;
    -webkit-appearance: none;
}

/* Ne pas toucher au bouton calendrier - il doit rester fonctionnel */
/* L'icône calendrier est gérée par ::-webkit-calendar-picker-indicator */

.input-label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-sm);
}

.date-input {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-lg);
    padding-right: 48px; /* Espace pour l'icône */
    font-size: 1rem;
    font-family: var(--font-body);
    color: var(--color-text-dark);
    background: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius-md);
    transition: var(--transition-base);
    cursor: pointer;
    /* Assurer une zone de clic suffisante sur mobile */
    min-height: 48px;
    display: block;
    position: relative;
}

.date-input:hover {
    border-color: var(--color-primary-orange-light);
}

.date-input:focus {
    outline: none;
    border-color: var(--color-primary-orange);
    box-shadow: 0 0 0 4px var(--color-orange-glow);
}

/* Style du calendrier natif - ICÔNE UNIQUE ET FONCTIONNELLE */
.date-input::-webkit-calendar-picker-indicator {
    cursor: pointer;
    width: 24px;
    height: 24px;
    opacity: 0.7;
    transition: all var(--transition-fast);
    filter: invert(39%) sepia(89%) saturate(2745%) hue-rotate(1deg) brightness(102%) contrast(105%);
    /* Position absolue pour éviter les doublons */
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10; /* Priorité maximale pour être cliquable */
    margin: 0;
}

.date-input::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.15);
}

.date-input::-webkit-calendar-picker-indicator:active {
    transform: translateY(-50%) scale(1.05);
}

/* Champs de date individuels (Chrome/Edge) */
.date-input::-webkit-datetime-edit {
    padding: 0;
    display: flex;
    align-items: center;
}

.date-input::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.date-input::-webkit-datetime-edit-text {
    color: var(--color-text-light);
    padding: 0 2px;
}

.date-input::-webkit-datetime-edit-month-field,
.date-input::-webkit-datetime-edit-day-field,
.date-input::-webkit-datetime-edit-year-field {
    color: var(--color-text-dark);
    font-weight: 600;
    padding: 4px 6px;
    border-radius: 4px;
    transition: var(--transition-fast);
    min-width: 28px;
    text-align: center;
}

.date-input::-webkit-datetime-edit-month-field:hover,
.date-input::-webkit-datetime-edit-day-field:hover,
.date-input::-webkit-datetime-edit-year-field:hover {
    background: var(--color-orange-glow);
    color: var(--color-primary-orange);
}

.date-input::-webkit-datetime-edit-month-field:focus,
.date-input::-webkit-datetime-edit-day-field:focus,
.date-input::-webkit-datetime-edit-year-field:focus {
    background: var(--color-primary-orange);
    color: var(--color-white);
    outline: none;
}

/* Style pour Firefox */
.date-input::-moz-calendar-picker-indicator {
    cursor: pointer;
    width: 24px;
    height: 24px;
    opacity: 0.7;
    transition: all var(--transition-fast);
    /* Couleur orange */
    filter: invert(39%) sepia(89%) saturate(2745%) hue-rotate(1deg) brightness(102%) contrast(105%);
}

.date-input::-moz-calendar-picker-indicator:hover {
    opacity: 1;
    transform: scale(1.15);
}

.date-input::-moz-calendar-picker-indicator:active {
    transform: scale(1.05);
}

/* =====================================================
   SERVICE TABS
   ===================================================== */

.time-slots-section {
    animation: fadeInUp var(--transition-base);
}

.service-tabs {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.service-tab {
    flex: 1;
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-medium);
    background: var(--color-background);
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: var(--transition-base);
    text-align: center;
}

.service-tab:hover {
    border-color: var(--color-primary-orange-light);
    background: var(--color-white);
}

.service-tab.active {
    color: var(--color-white);
    background: var(--color-primary-orange);
    border-color: var(--color-primary-orange);
    box-shadow: var(--shadow-orange);
}

/* =====================================================
   TIME SLOTS GRID
   ===================================================== */

.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
}

.time-slot {
    padding: var(--spacing-md);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-dark);
    background: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: var(--transition-base);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.time-slot::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 102, 0, 0.1), transparent);
    transition: left 0.5s;
}

.time-slot:hover::before {
    left: 100%;
}

.time-slot:hover {
    border-color: var(--color-primary-orange);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.time-slot.selected {
    color: var(--color-white);
    background: var(--color-primary-orange);
    border-color: var(--color-primary-orange);
    box-shadow: var(--shadow-orange);
    transform: translateY(-2px);
}

.time-slot.disabled {
    color: var(--color-text-light);
    background: var(--color-background);
    border-color: var(--color-border-light);
    cursor: not-allowed;
    opacity: 0.5;
}

.time-slot.disabled:hover {
    transform: none;
    box-shadow: none;
}

/* =====================================================
   GUESTS GRID - ÉTAPE 2
   ===================================================== */

.guests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.guest-card {
    background: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl) var(--spacing-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    cursor: pointer;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.guest-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--color-orange-glow);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.guest-card:hover::before {
    width: 200%;
    height: 200%;
}

.guest-card:hover {
    border-color: var(--color-primary-orange);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.guest-card.selected {
    background: var(--color-primary-orange);
    border-color: var(--color-primary-orange);
    box-shadow: var(--shadow-orange);
    transform: translateY(-4px);
}

.guest-icon {
    font-size: 2.5rem;
    line-height: 1;
    position: relative;
    z-index: 1;
    transition: var(--transition-base);
}

.guest-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text-dark);
    position: relative;
    z-index: 1;
    transition: var(--transition-base);
}

.guest-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-medium);
    position: relative;
    z-index: 1;
    transition: var(--transition-base);
}

.guest-card.selected .guest-number,
.guest-card.selected .guest-label {
    color: var(--color-white);
}

/* Message pour les groupes importants */
.large-group-info {
    margin-top: var(--spacing-xl);
}

.info-card {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    background: linear-gradient(135deg, var(--color-orange-glow), rgba(255, 86, 12, 0.05));
    border: 2px solid var(--color-primary-orange-light);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    transition: var(--transition-base);
}

.info-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-orange);
}

.info-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.info-content h4 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin: 0 0 var(--spacing-xs) 0;
}

.info-content p {
    color: var(--color-text-medium);
    margin: 0 0 var(--spacing-sm) 0;
    font-size: 0.95rem;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: var(--color-primary-orange);
    color: var(--color-white);
    text-decoration: none;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-base);
}

.contact-link:hover {
    background: var(--color-primary-orange-dark);
    transform: scale(1.05);
}

/* =====================================================
   FORMULAIRE - ÉTAPE 3
   ===================================================== */

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.form-field {
    margin-bottom: var(--spacing-lg);
}

.text-input {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: 1rem;
    font-family: var(--font-body);
    color: var(--color-text-dark);
    background: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius-md);
    transition: var(--transition-base);
}

.text-input:hover {
    border-color: var(--color-primary-orange-light);
}

.text-input:focus {
    outline: none;
    border-color: var(--color-primary-orange);
    box-shadow: 0 0 0 4px var(--color-orange-glow);
}

.text-input::placeholder {
    color: var(--color-text-light);
}

.textarea {
    resize: vertical;
    min-height: 100px;
}

/* =====================================================
   BOOKING SUMMARY
   ===================================================== */

.booking-summary {
    background: linear-gradient(135deg, #FFF5F0, #FFE8DB);
    border: 2px solid var(--color-primary-orange-light);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.summary-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid rgba(255, 102, 0, 0.1);
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.summary-text {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-dark);
}

/* =====================================================
   BUTTONS
   ===================================================== */

.wizard-actions {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.btn {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-body);
    border: none;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: var(--transition-base);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary-orange), var(--color-primary-orange-light));
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-orange);
}

.btn-primary:disabled {
    background: var(--color-border);
    color: var(--color-text-light);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-secondary {
    background: var(--color-white);
    color: var(--color-text-dark);
    border: 2px solid var(--color-border);
}

.btn-secondary:hover {
    border-color: var(--color-primary-orange);
    color: var(--color-primary-orange);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-large {
    flex: 1;
    padding: var(--spacing-lg) var(--spacing-xl);
    font-size: 1.125rem;
}

/* =====================================================
   MESSAGES
   ===================================================== */

.confirmation-message,
.error-message {
    text-align: center;
    padding: var(--spacing-3xl);
    animation: fadeInUp var(--transition-base);
}

.success-animation {
    margin-bottom: var(--spacing-xl);
}

.success-checkmark {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    position: relative;
}

.check-icon {
    width: 120px;
    height: 120px;
    position: relative;
    border-radius: 50%;
    background: var(--color-success);
    animation: scaleIn 0.5s ease-in-out;
}

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

.icon-circle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--color-success);
}

.icon-line {
    height: 6px;
    background-color: var(--color-white);
    display: block;
    border-radius: 3px;
    position: absolute;
    z-index: 10;
}

.line-tip {
    top: 56px;
    left: 25px;
    width: 30px;
    transform: rotate(45deg);
    animation: drawTip 0.3s 0.3s ease-in-out forwards;
    opacity: 0;
}

.line-long {
    top: 48px;
    right: 15px;
    width: 60px;
    transform: rotate(-45deg);
    animation: drawLong 0.3s 0.5s ease-in-out forwards;
    opacity: 0;
}

@keyframes drawTip {
    to {
        width: 30px;
        opacity: 1;
    }
}

@keyframes drawLong {
    to {
        width: 60px;
        opacity: 1;
    }
}

.confirmation-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-success);
    margin-bottom: var(--spacing-md);
}

.confirmation-text {
    font-size: 1.125rem;
    color: var(--color-text-medium);
    margin-bottom: var(--spacing-xl);
    line-height: 1.8;
}

.error-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-lg);
    background: var(--color-error);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    animation: scaleIn 0.5s ease-in-out;
}

.error-message h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-error);
    margin-bottom: var(--spacing-md);
}

.error-message p {
    color: var(--color-text-medium);
    margin-bottom: var(--spacing-xl);
}

/* =====================================================
   FOOTER
   ===================================================== */

.wizard-footer {
    background: var(--color-white);
    border-radius: var(--border-radius-xl);
    padding: var(--spacing-lg) var(--spacing-xl);
    box-shadow: var(--shadow-sm);
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
}

.footer-copyright {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-dark);
}

.footer-text {
    font-size: 0.8125rem;
    color: var(--color-text-light);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .wizard-container {
        max-width: 700px;
        padding: var(--spacing-lg);
    }
    
    .wizard-header {
        padding: var(--spacing-xl) var(--spacing-lg);
    }
    
    .logo-text h1 {
        font-size: 2.25rem;
    }
    
    .step-title {
        font-size: 1.75rem;
    }
    
    .guests-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}

/* Mobile Large (481px - 768px) */
@media (max-width: 768px) {
    .wizard-container {
        max-width: 100%;
        padding: var(--spacing-md);
    }
    
    .wizard-header {
        padding: var(--spacing-lg);
        margin-bottom: var(--spacing-lg);
        border-radius: var(--border-radius-lg);
    }
    
    .logo-text h1 {
        font-size: 1.875rem;
    }
    
    .progress-bar {
        margin-bottom: var(--spacing-lg);
    }
    
    .steps-nav {
        padding: 0 var(--spacing-sm);
        margin-bottom: var(--spacing-xl);
    }
    
    .step-circle {
        width: 48px;
        height: 48px;
    }
    
    .step-number {
        font-size: 1.125rem;
    }
    
    .step-label {
        font-size: 0.75rem;
        max-width: 80px;
    }
    
    .step-connector {
        margin: 0 var(--spacing-xs);
        margin-bottom: 32px;
    }
    
    .wizard-content {
        padding: var(--spacing-lg);
        border-radius: var(--border-radius-lg);
    }
    
    .step-title {
        font-size: 1.5rem;
        margin-bottom: var(--spacing-sm);
    }
    
    .step-subtitle {
        font-size: 0.875rem;
        margin-bottom: var(--spacing-lg);
    }
    
    .date-picker-section {
        margin-bottom: var(--spacing-lg);
    }
    
    .date-input {
        padding: var(--spacing-md);
        padding-right: 56px; /* Espace pour l'icône plus grande */
        font-size: 1rem;
        min-height: 52px; /* Zone de clic plus grande sur tablette */
    }
    
    /* Icône calendrier sur tablette - plus grande */
    .date-input::-webkit-calendar-picker-indicator {
        width: 28px;
        height: 28px;
        right: 14px;
        z-index: 10;
    }
    
    .date-input::-webkit-calendar-picker-indicator:hover {
        transform: translateY(-50%) scale(1.15);
    }
    
    .date-input::-webkit-calendar-picker-indicator:active {
        transform: translateY(-50%) scale(1.05);
    }
    
    .date-input::-moz-calendar-picker-indicator {
        width: 28px;
        height: 28px;
    }
    
    .service-tabs {
        gap: var(--spacing-sm);
    }
    
    .service-tab {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.9375rem;
    }
    
    .time-slots-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: var(--spacing-sm);
    }
    
    .time-slot {
        padding: var(--spacing-sm);
        font-size: 0.9375rem;
    }
    
    .guests-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: var(--spacing-sm);
    }
    
    .guest-card {
        padding: var(--spacing-lg) var(--spacing-md);
    }
    
    .guest-icon {
        font-size: 2rem;
    }
    
    .guest-number {
        font-size: 1.75rem;
    }
    
    .guest-label {
        font-size: 0.8125rem;
    }
    
    .info-card {
        flex-direction: column;
        text-align: center;
        padding: var(--spacing-lg);
    }
    
    .info-icon {
        font-size: 2rem;
    }
    
    .info-content h4 {
        font-size: 1rem;
    }
    
    .info-content p {
        font-size: 0.875rem;
    }
    
    .contact-link {
        font-size: 0.875rem;
        padding: var(--spacing-sm) var(--spacing-lg);
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .text-input {
        padding: var(--spacing-md);
        font-size: 1rem;
    }
    
    .booking-summary {
        padding: var(--spacing-lg);
    }
    
    .summary-title {
        font-size: 1.125rem;
    }
    
    .summary-item {
        padding: var(--spacing-sm) 0;
    }
    
    .wizard-actions {
        flex-direction: column;
        gap: var(--spacing-sm);
        margin-top: var(--spacing-lg);
    }
    
    .btn {
        width: 100%;
        padding: var(--spacing-md) var(--spacing-lg);
    }
    
    .wizard-footer {
        padding: var(--spacing-md) var(--spacing-lg);
        border-radius: var(--border-radius-lg);
    }
    
    .footer-content {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
}

/* Mobile Small (≤ 480px) */
@media (max-width: 480px) {
    body {
        padding: var(--spacing-sm);
    }
    
    .wizard-container {
        padding: var(--spacing-sm);
    }
    
    .wizard-header {
        padding: var(--spacing-md);
        margin-bottom: var(--spacing-md);
    }
    
    .logo-text h1 {
        font-size: 1.5rem;
    }
    
    .progress-bar {
        height: 3px;
        margin-bottom: var(--spacing-md);
    }
    
    .steps-nav {
        padding: 0;
        margin-bottom: var(--spacing-lg);
    }
    
    .step-circle {
        width: 40px;
        height: 40px;
    }
    
    .step-number {
        font-size: 1rem;
    }
    
    .step-icon {
        font-size: 1.25rem;
    }
    
    .step-label {
        font-size: 0.6875rem;
        max-width: 70px;
        line-height: 1.3;
    }
    
    .step-connector {
        margin: 0 2px;
        margin-bottom: 28px;
        height: 2px;
    }
    
    .wizard-content {
        padding: var(--spacing-md);
        margin-bottom: var(--spacing-md);
    }
    
    .step-title {
        font-size: 1.25rem;
        margin-bottom: var(--spacing-xs);
    }
    
    .step-subtitle {
        font-size: 0.8125rem;
        margin-bottom: var(--spacing-md);
    }
    
    .date-picker-section {
        margin-bottom: var(--spacing-md);
    }
    
    .input-label {
        font-size: 0.875rem;
        margin-bottom: var(--spacing-xs);
    }
    
    .date-input {
        padding: var(--spacing-sm) var(--spacing-md);
        padding-right: 60px; /* Espace généreux pour icône mobile + marge */
        font-size: 1rem; /* Garder 16px minimum pour éviter zoom iOS */
        min-height: 56px; /* Zone de clic généreuse sur mobile */
    }
    
    /* Icône calendrier sur mobile - TRÈS GRANDE et ACCESSIBLE */
    .date-input::-webkit-calendar-picker-indicator {
        width: 36px;
        height: 36px;
        right: 12px;
        margin-left: 0;
        z-index: 10;
        opacity: 0.8;
        /* Assurer que c'est cliquable */
        pointer-events: auto;
    }
    
    .date-input::-webkit-calendar-picker-indicator:hover,
    .date-input::-webkit-calendar-picker-indicator:active {
        opacity: 1;
        transform: translateY(-50%) scale(1.1);
    }
    
    .date-input::-moz-calendar-picker-indicator {
        width: 36px;
        height: 36px;
    }
    
    /* Améliorer l'espacement des champs de date sur mobile */
    .date-input::-webkit-datetime-edit-fields-wrapper {
        display: flex;
        align-items: center;
        gap: 2px;
    }
    
    .date-input::-webkit-datetime-edit-month-field,
    .date-input::-webkit-datetime-edit-day-field,
    .date-input::-webkit-datetime-edit-year-field {
        padding: 6px 8px;
        min-width: 36px;
        text-align: center;
        font-size: 16px; /* Éviter le zoom iOS */
    }
    
    .service-tabs {
        flex-direction: column;
        gap: var(--spacing-xs);
    }
    
    .service-tab {
        padding: var(--spacing-sm);
        font-size: 0.875rem;
    }
    
    .time-slots-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-xs);
    }
    
    .time-slot {
        padding: var(--spacing-sm);
        font-size: 0.875rem;
    }
    
    .guests-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--spacing-xs);
    }
    
    .guest-card {
        padding: var(--spacing-sm);
    }
    
    .guest-icon {
        font-size: 1.75rem;
    }
    
    .guest-number {
        font-size: 1.5rem;
    }
    
    .guest-label {
        font-size: 0.75rem;
    }
    
    .text-input,
    .textarea {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.9375rem;
    }
    
    .textarea {
        min-height: 80px;
    }
    
    .booking-summary {
        padding: var(--spacing-md);
    }
    
    .summary-title {
        font-size: 1rem;
        margin-bottom: var(--spacing-sm);
    }
    
    .summary-icon {
        font-size: 1.25rem;
    }
    
    .summary-text {
        font-size: 0.9375rem;
    }
    
    .wizard-actions {
        gap: var(--spacing-xs);
        margin-top: var(--spacing-md);
    }
    
    .btn {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.9375rem;
    }
    
    .btn-large {
        padding: var(--spacing-md);
        font-size: 1rem;
    }
    
    .confirmation-message,
    .error-message {
        padding: var(--spacing-lg);
    }
    
    .success-checkmark {
        width: 80px;
        height: 80px;
    }
    
    .check-icon {
        width: 80px;
        height: 80px;
    }
    
    .confirmation-title {
        font-size: 1.5rem;
    }
    
    .confirmation-text {
        font-size: 1rem;
    }
    
    .error-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .wizard-footer {
        padding: var(--spacing-sm) var(--spacing-md);
    }
    
    .footer-copyright {
        font-size: 0.8125rem;
    }
    
    .footer-text {
        font-size: 0.75rem;
    }
}

/* Mobile Extra Small (≤ 360px) */
@media (max-width: 360px) {
    .logo-text h1 {
        font-size: 1.375rem;
    }
    
    .step-circle {
        width: 36px;
        height: 36px;
    }
    
    .step-number {
        font-size: 0.875rem;
    }
    
    .step-label {
        font-size: 0.625rem;
        max-width: 60px;
    }
    
    .step-connector {
        margin-bottom: 26px;
    }
    
    .step-title {
        font-size: 1.125rem;
    }
    
    .time-slots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .guests-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* =====================================================
   ANIMATIONS SUPPLÉMENTAIRES
   ===================================================== */

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

.btn-primary:not(:disabled):hover {
    animation: pulse 1s infinite;
}

/* Smooth scrolling pour les transitions */
@media (prefers-reduced-motion: no-preference) {
    * {
        scroll-behavior: smooth;
    }
}
