/* Page de Rendez-vous - Styles spécifiques */

/* Hero Section RDV */
.rdv-hero {
    min-height: 60vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    padding: 120px 0 80px;
}

.rdv-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.rdv-gradient-orbs {
    position: absolute;
    width: 100%;
    height: 100%;
}

.rdv-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: rdvOrbFloat 15s ease-in-out infinite;
}

.rdv-orb-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, #3b82f6, #8b5cf6);
    top: -150px;
    left: -150px;
    animation-delay: 0s;
}

.rdv-orb-2 {
    width: 250px;
    height: 250px;
    background: linear-gradient(45deg, #10b981, #06b6d4);
    bottom: -125px;
    right: -125px;
    animation-delay: 7s;
}

@keyframes rdvOrbFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(20px, -20px) scale(1.1);
    }
}

.rdv-hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.rdv-hero-text {
    color: var(--white);
}

.rdv-hero-text h1 {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.rdv-hero-text p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.rdv-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.rdv-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-normal);
}

.rdv-feature:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(10px);
}

.rdv-feature i {
    color: var(--accent-color);
    font-size: 1.25rem;
}

.rdv-feature span {
    font-weight: 500;
}

/* Card RDV */
.rdv-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.rdv-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    width: 100%;
    max-width: 350px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    animation: rdvCardFloat 6s ease-in-out infinite;
}

@keyframes rdvCardFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.rdv-card-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.rdv-card-header i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.rdv-card-header h3 {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 600;
}

.rdv-card-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.rdv-step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all var(--transition-normal);
}

.rdv-step:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.step-number {
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.rdv-step span {
    color: var(--white);
    font-weight: 500;
}

/* Section Formulaire */
.rdv-form-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.rdv-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.rdv-form-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 2rem;
    text-align: center;
}

.rdv-form-header h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.rdv-form-header p {
    opacity: 0.9;
    font-size: 1.1rem;
}

/* Formulaire multi-étapes */
.rdv-form {
    padding: 2rem;
}

.form-step {
    display: none;
    animation: fadeInUp 0.5s ease-in-out;
}

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

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

.step-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.step-header h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.step-header i {
    color: var(--primary-color);
}

.step-indicator {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Grille de services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.service-option {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
}

.service-option:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.service-option.selected {
    border-color: var(--primary-color);
    background: rgba(37, 99, 235, 0.05);
    box-shadow: var(--shadow-md);
}

.service-option.selected::after {
    content: '✓';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 25px;
    height: 25px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--white);
}

.service-option h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.service-option p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.service-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Sélection de date et heure */
.datetime-selection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.date-selection h4,
.time-selection h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

/* Calendrier */
.calendar-container {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 1rem;
    box-shadow: var(--shadow-sm);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.calendar-nav {
    width: 35px;
    height: 35px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.calendar-nav:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.calendar-header h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-normal);
    font-size: 0.9rem;
    font-weight: 500;
}

.calendar-day:hover {
    background: var(--light-bg);
}

.calendar-day.selected {
    background: var(--primary-color);
    color: var(--white);
}

.calendar-day.disabled {
    color: var(--text-light);
    cursor: not-allowed;
}

.calendar-day.disabled:hover {
    background: transparent;
}

.calendar-day.today {
    background: var(--accent-color);
    color: var(--white);
}

/* Créneaux horaires */
.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.75rem;
}

.time-slot {
    padding: 0.75rem;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    font-weight: 500;
}

.time-slot:hover {
    border-color: var(--primary-color);
    background: rgba(37, 99, 235, 0.05);
}

.time-slot.selected {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--white);
}

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

.time-slot.disabled:hover {
    background: var(--light-bg);
    border-color: var(--border-color);
}

/* Navigation du formulaire */
.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

/* Section Informations */
.rdv-info {
    padding: 80px 0;
    background: var(--white);
}

.rdv-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.info-card {
    background: var(--light-bg);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.info-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
}

.info-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.info-content p {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.info-content p:last-child {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .rdv-hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .rdv-hero-visual {
        order: -1;
    }
    
    .datetime-selection {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .rdv-hero {
        padding: 100px 0 60px;
    }
    
    .rdv-hero-text h1 {
        font-size: 2rem;
    }
    
    .rdv-hero-text p {
        font-size: 1rem;
    }
    
    .rdv-features {
        gap: 0.75rem;
    }
    
    .rdv-feature {
        padding: 0.75rem;
    }
    
    .rdv-card {
        max-width: 300px;
        padding: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .rdv-form-container {
        margin: 0 1rem;
    }
    
    .rdv-form {
        padding: 1.5rem;
    }
    
    .step-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .form-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .form-navigation .btn {
        width: 100%;
    }
    
    .rdv-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .rdv-hero-text h1 {
        font-size: 1.75rem;
    }
    
    .rdv-card {
        max-width: 280px;
        padding: 1rem;
    }
    
    .rdv-form-header {
        padding: 1.5rem;
    }
    
    .rdv-form-header h2 {
        font-size: 1.5rem;
    }
    
    .rdv-form {
        padding: 1rem;
    }
    
    .service-option {
        padding: 1rem;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .calendar-container {
        padding: 0.75rem;
    }
    
    .time-slots {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .info-card {
        padding: 1.5rem;
    }
    
    .info-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}
