/* Styles spécifiques pour la page Prendre Un Rendez Vous */

/* Section Hero avec fond violet uni identique à l'accueil */
.rdv-hero {
    display: flex;
    align-items: center;
    background-color: #8000ff; /* Fond violet uni comme sur la maquette */
    padding: 80px 8%;
    color: white; /* Texte blanc explicite */
}

.rdv-hero-left {
    flex: 1;
    padding-right: 40px;
}

.rdv-hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

.rdv-hero-right img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.rdv-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white; /* Titre en blanc explicite */
    font-weight: 700;
}

.rdv-hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
    color: white; /* Paragraphe en blanc explicite */
}

.rdv-hero .btn-primary {
    background-color: white;
    color: #8000ff;
    border: 2px solid white;
    display: inline-block;
    padding: 10px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.rdv-hero .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Calendly Section */
.calendly-section {
    background-color: white;
    padding: 60px 8%;
    text-align: center;
}

/* Conteneur pour le titre et le logo */
.calendly-title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.calendly-title {
    color: #8000ff;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0;
    margin-right: 15px;
}

.calendly-logo {
    height: 55px;
    width: auto;
    object-fit: contain;
}

.calendly-container {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Pour WordPress, ce conteneur accueillera le widget Calendly */
#calendly-widget-container {
    width: 100%;
    height: 650px;
    border-radius: 10px;
    overflow: hidden;
}

/* Styles pour la démonstration - Ces éléments seront remplacés par le widget Calendly dans WordPress */
.calendly-demo {
    display: flex;
    background-color: white;
    height: 100%;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.calendly-demo-left {
    width: 35%;
    padding: 30px;
    background-color: #f8f9fa;
    border-right: 1px solid #e0e0e0;
}

.calendly-demo-right {
    width: 65%;
    padding: 30px;
}

.calendly-demo h3 {
    color: #8000ff;
    font-size: 1.5rem;
    margin-bottom: 10px;
    text-align: left;
}

.calendly-demo h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #333;
    text-align: left;
}

.calendly-demo-info {
    margin-bottom: 20px;
    text-align: left;
}

.calendly-demo-info p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    color: #666;
}

.calendly-demo-info i {
    margin-right: 10px;
    color: #8000ff;
}

.calendly-demo-description {
    color: #666;
    text-align: left;
    font-style: italic;
}

.calendly-demo-selector {
    margin-bottom: 30px;
}

.calendly-demo-selector p {
    margin-bottom: 20px;
    color: #333;
    font-weight: 500;
}

.calendly-demo-calendar {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.month-selector {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.month-arrow {
    cursor: pointer;
    font-size: 16px;
    color: #666;
}

.current-month {
    font-weight: 600;
    color: #333;
}

.week-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-bottom: 10px;
}

.week-days span {
    font-size: 0.8rem;
    color: #666;
    text-align: center;
}

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

.calendar-days span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    margin: 0 auto;
    transition: all 0.2s;
    font-size: 0.9rem;
    color: #333;
}

.calendar-days span:hover {
    background-color: #f0f0f0;
}

.calendar-days span.inactive {
    color: #ccc;
    cursor: default;
}

.calendar-days span.selected {
    background-color: #8000ff;
    color: white;
}

.btn-confirm-rdv {
    display: inline-block;
    background-color: #8000ff;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    margin-top: 20px;
}

.btn-confirm-rdv:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(123, 0, 255, 0.3);
}

/* Styles pour les options de contact alternative */
.contact-alternative {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.contact-alternative h4 {
    color: #8000ff;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.contact-options {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-option {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #8000ff;
    text-decoration: none;
    padding: 8px 15px;
    border: 1px solid #8000ff;
    border-radius: 20px;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.contact-option:hover {
    background-color: #8000ff;
    color: white;
}

.contact-option i {
    font-size: 0.9rem;
}

/* Responsive styles */
@media (max-width: 992px) {
    .rdv-hero {
        flex-direction: column;
    }
    
    .rdv-hero-left {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .calendly-demo {
        flex-direction: column;
    }
    
    .calendly-demo-left, 
    .calendly-demo-right {
        width: 100%;
    }
    
    .calendly-demo-left {
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }
    
    #calendly-widget-container {
        height: 900px;
    }
}

@media (max-width: 768px) {
    .rdv-hero h1 {
        font-size: 2rem;
        color: white; /* Assuré en blanc même sur mobile */
    }
    
    .rdv-hero p {
        font-size: 1rem;
        color: white; /* Assuré en blanc même sur mobile */
    }
    
    .calendly-title-container {
        flex-direction: column;
    }
    
    .calendly-title {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .calendly-logo {
        height: 45px;
    }
    
    .calendar-days span {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .btn-confirm-rdv {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    .contact-options {
        flex-direction: column;
        align-items: center;
    }
}