/* Variables et reset */
:root {
    --primary-color: #ff7f00; /* Orange everUP */
    --secondary-color: #2c4b8a; /* Bleu foncé */
    --light-blue: #3a5ca9; /* Bleu plus clair pour les dégradés */
    --dark-blue: #1e3a6e; /* Bleu plus foncé pour les dégradés */
    --text-color: #333333;
    --light-text: #ffffff;
    --light-gray: #f5f7fa;
    --medium-gray: #e9ecef;
    --dark-gray: #6c757d;
    --border-radius: 10px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --gradient-blue: linear-gradient(114deg, #070934 45.73%, #151B9A 100.01%);
}

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

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Style spécifique pour les liens dans la section À propos */
.about-text a {
    text-decoration: underline;
    text-decoration-color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease, text-decoration-color 0.3s ease;
}

.about-text a:hover {
    color: var(--primary-color);
    text-decoration-color: var(--primary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Boutons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    background-color: var(--primary-color);
    color: var(--light-text);
    border: 2px solid var(--primary-color);
}

.btn:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 127, 0, 0.3);
}

/* Styles spécifiques pour les différents types de boutons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--light-text);
}

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

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--light-text);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

.btn-small {
    padding: 8px 16px;
    font-size: 14px;
}

/* Titres de section */
.section-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: var(--secondary-color);
}

.section-subtitle {
    font-size: 18px;
    text-align: center;
    margin-bottom: 48px;
    color: var(--secondary-color);
}

.section-subtitle-white {
    font-size: 18px;
    text-align: center;
    margin-bottom: 48px;
    color: white;
}

/* Header fixe avec changement au scroll */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
    background: transparent;
}

.main-header.scrolled {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 0;
    width: 100%;
    margin-top: 10px;
}

.logo {
    text-align: left;
    position: relative;
    margin-bottom: 10px;
}

.logo img {
    height: 250px;
    max-width: 180px;
    object-fit: contain;
    background-color: transparent;
    margin: 0;
    transition: opacity 0.3s ease;
    margin-bottom: -100px;
    margin-top: -80px;
    margin-left: -30px;
    padding-bottom: -80px;
    padding-bottom: 20px;
}

.logo-dark {
    display: block;
}

.logo-light {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.scrolled .logo-dark {
    opacity: 0;
}

.scrolled .logo-light {
    opacity: 1;
}

.scrolled .nav-link {
    color: var(--secondary-color);
}

.scrolled .current-lang {
    color: var(--secondary-color);
}

.scrolled .nav-link:hover,
.scrolled .nav-link.active {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    justify-content: flex-end;
}

/* Hero Section */
.hero {
    background: var(--gradient-blue);
    color: white;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-item {
    margin-left: 30px;
    display: flex;
    align-items: center;
}

.nav-link {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 5px 0;
    position: relative;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active{
    color: var(--primary-color);
    font-weight: 600;
}

/* Bouton de rendez-vous dans le header */
.header-btn {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 8px 16px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 16px;
    margin-left: 15px;
    border: 2px solid var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    text-align: center;
}

.header-btn:hover {
    background-color: transparent;
    color: var(--light-text);
}

.scrolled .header-btn {
    color: var(--light-text);
}

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

.hero-content {
    text-align: center;
    padding-top: 225px;
    padding-bottom: 100px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
}

.hero-content .subtitle {
    font-size: 24px;
    margin-bottom: 38px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Section Plateforme */
.platform-section {
    padding: 80px 0;
    background-color: var(--light-text);
    margin-top: 50px
}

.platform-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 50px;
}

.platform-feature {
    background-color: white;
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.platform-feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(114deg, #070934 19.73%, #151B9A 100.01%);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.feature-icon i {
    font-size: 28px;
    transition: all 0.3s ease;
}

.platform-feature:hover .feature-icon {
    background: linear-gradient(135deg, var(--primary-color), #ff9f40);
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(255, 127, 0, 0.3);
}

.platform-feature:hover .feature-icon i {
    transform: scale(1.15);
}

.platform-feature h3 {
    font-size: 22px;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.platform-feature p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-gray);
}

.platform-preview-container {
    text-align: center;
    margin-top: 20px;
}

.platform-preview {
    max-width: 80%;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.time-slots-content {
    flex: 1;
    overflow-y: auto;
}

.time-slots-instruction {
    margin-bottom: 15px;
    color: var(--secondary-color);
    font-weight: 500;
}

.available-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
    max-height: 300px;
    overflow-y: auto;
}

.time-slot {
    background-color: var(--light-gray);
    padding: 12px 15px;
    border-radius: var(--border-radius);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    color: var(--secondary-color);
}

.time-slot:hover {
    background-color: rgba(255, 127, 0, 0.1);
    color: var(--primary-color);
}

.footer.section-blue {
    padding: 60px 0 30px;
    color: white;
}

/* Section Solutions */
.solutions-section {
    padding: 80px 0;
    background: var(--gradient-blue);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 50px;
}

.solution-card {
    background-color: var(--light-text);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.solution-icon {
    width: 140px;
    height: 100px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solutions-section h2{
    color: white;
}

.solution-icon img {
    max-width: 100%;
    max-height: 100%;
}

.solution-icon i {
    font-size: 65px;
    color: var(--primary-color);
}

.solution-card h3 {
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--secondary-color);
}

.solution-card p {
    margin-bottom: 24px;
    color: var(--dark-gray);
}

.solution-card .btn {
    background-color: var(--primary-color);
    color: var(--light-text);
}

/* Sections Associés, Équipe et Galerie */
.associates-section,
.team-section,
.gallery-section {
    padding: 80px 0;
}

.associates-section {
    background-color: var(--light-gray);
}

.associates-section .people-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.team-section {
    padding: 80px 0;
}

.team-section .people-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.gallery-section {
    background-color: var(--light-gray);
    padding: 100px 0;
}

.team-section .section-title,
.team-section .section-subtitle {
    color: white;
}

.people-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

/* Style spécifique pour la grille par défaut, sauf pour les sections avec style personnalisé */
.people-grid:not(.associates-section .people-grid):not(.team-section .people-grid) {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 40px;
}

.person-card {
    text-align: center;
    transition: var(--transition);
}



.person-photo-container {
    width: 180px;
    height: 180px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.person-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.person-info h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.section-blue .person-info h3 {
    color: white;
}

.person-info p {
    font-size: 14px;
    color: var(--dark-gray);
    margin-bottom: 5px;
}

.section-blue .person-info p {
    color: rgba(255, 255, 255, 0.8);
}

/* Section Témoignages */

.testimonials-section {
    padding: 80px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.section-blue h2 {
    color: white;
}

.section-white h2 {
    color: var(--secondary-color);
}

.testimonial-card {
    background-color: var(--light-gray);
    border-radius: 10px;
    padding: 24px;
    box-shadow: var(--box-shadow);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 16px;
}

.testimonial-info h4 {
    font-size: 18px;
    margin-bottom: 4px;
    color: var(--secondary-color);
}

.testimonial-info p {
    font-size: 14px;
    color: var(--dark-gray);
}

.testimonial-text {
    font-style: italic;
    color: var(--text-color);
    line-height: 1.8;
}

/* Section CTA */
.cta-section {
    padding: 80px 0;
    background: var(--gradient-blue);
    color: var(--light-text);
    text-align: center;
}

.cta-section .section-title,
.cta-section .section-subtitle {
    color: var(--secondary-color);
}

.cta-form {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.cta-input {
    padding: 12px 16px;
    border-radius: var(--border-radius);
    border: none;
    min-width: 300px;
    font-size: 16px;
}

/* Section Contact */
.contact-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.contact-hero,
.about-hero {
    padding: 150px 0 80px;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-top: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-item i {
    font-size: 24px;
    color: var(--primary-color);
}

.contact-item h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.contact-item p {
    color: var(--dark-gray);
}

.contact-form {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--secondary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(255, 127, 0, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Section Galerie */
.gallery-section {
    padding: 80px 0;
}

.calendar-container {
    margin: 40px auto;
    max-width: 1000px;
}

.calendar-container-flex {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    padding: 20px;
}

.calendar-wrapper {
    display: flex;
    position: relative;
    min-height: 500px;
    margin-bottom: -100px;
}

.calendar-info {
    text-align: center;
    margin-top: 20px;
    color: var(--dark-gray);
    font-size: 16px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    padding: 15px 20px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.calendly-inline-widget {
    border-radius: var(--border-radius);
    overflow: hidden;
}

/* Styles pour le calendrier personnalisé */
.custom-calendar {
    width: 100%;
    max-width: 100%;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 10px;
    position: relative;
}

.calendar-header h3 {
    font-size: 22px;
    color: var(--secondary-color);
    margin: 0 auto;
    font-weight: 600;
    text-align: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.calendar-nav-btn {
    background: var(--gradient-blue);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.calendar-nav-btn:hover {
    background: linear-gradient(135deg, var(--primary-color), #ff9f40);
    transform: scale(1.05);
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    text-align: center;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    text-align: center;
    padding: 5px;
    margin-bottom: 10px;
}

.calendar-day {
    aspect-ratio: 1/1;
    width: 100%;
    max-width: 50px;
    height: auto;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.calendar-empty-cell {
    aspect-ratio: 1/1;
    width: 100%;
    max-width: 50px;
    height: auto;
    margin: 0 auto;
    visibility: hidden;
}

.current-month-day {
    color: var(--dark-gray);
    font-weight: 500;
}

.prev-month-day, .next-month-day {
    color: #ccc;
}

.available-day:hover {
    background-color: rgba(255, 127, 0, 0.1);
    color: var(--primary-color);
    cursor: pointer;
}

.unavailable-day {
    color: #ccc;
    cursor: default;
    position: relative;
}

.unavailable-day::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 70%;
    height: 1px;
    background-color: #ddd;
    transform: translate(-50%, -50%) rotate(45deg);
}

.calendar-day.today {
    background-color: var(--primary-color);
    color: white;
    font-weight: bold;
}

.calendar-day.selected {
    background-color: rgba(255, 127, 0, 0.2);
    color: var(--primary-color);
    font-weight: bold;
    border: 2px solid var(--primary-color);
}

/* Styles pour les créneaux horaires */
.time-slots {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    background-color: white;
    border-radius: 10px;
    transition: all 0.3s ease;
    opacity: 0;
    position: relative;
    box-shadow: var(--box-shadow);
    margin-top: 20px;
}

.time-slots.active {
    max-height: 500px;
    opacity: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}

.custom-calendar.date-selected {
    width: 100%;
}

.time-slots-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.time-slots-header h3 {
    font-size: 18px;
    color: var(--secondary-color);
    margin: 0;
    font-weight: 600;
}

.close-time-slots {
    background: none;
    border: none;
    color: var(--dark-gray);
    cursor: pointer;
    font-size: 16px;
    padding: 5px;
    transition: all 0.2s ease;
}

.close-time-slots:hover {
    color: var(--primary-color);
}

.time-slots-content {
    display: flex;
    flex-direction: column;
    height: calc(100% - 60px);
}

.time-slots-instruction {
    font-size: 14px;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.available-slots {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 300px;
    overflow-y: auto;
    padding-right: 5px;
}

.time-slot {
    padding: 12px 15px;
    background-color: rgba(255, 127, 0, 0.1);
    border-radius: 5px;
    color: var(--dark-gray);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.time-slot:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Responsive pour le calendrier */
@media (max-width: 768px) {
    .calendar-container {
        margin: 20px auto;
        padding: 10px;
    }
    
    .calendar-wrapper {
        flex-direction: column;
    }
    
    .calendar-day {
        max-width: 40px;
        font-size: 14px;
    }
    
    .calendar-header h3 {
        font-size: 18px;
    }
    
    .calendar-nav-btn {
        width: 35px;
        height: 35px;
    }
    
    .time-slots.active {
        width: 100%;
        margin-top: 20px;
        border-left: none;
        border-top: 1px solid #eee;
    }
}

/* Styles communs pour les sections */
.section-blue {
    padding: 80px 0;
    background: linear-gradient(114deg, #070934 19.73%, #151B9A 100.01%);
    color: var(--light-text);
}

.section-blue .section-title {
    color: white;
    text-align: center;
    margin-bottom: 15px;
}

.section-blue .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin-bottom: 40px;
    font-size: 18px;
}

.section-white {
    padding: 80px 0;
    background: white;
    color: var(--text-color);
}

.section-white .section-title {
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 15px;
}

.section-white .section-subtitle {
    color: var(--dark-gray);
    text-align: center;
    margin-bottom: 40px;
    font-size: 18px;
}

/* Section histoire */
.section-histoire {
    padding: 80px 0;
}

/* Section Galerie Photos */
.photo-gallery-section {
    padding: 80px 0;
    background: linear-gradient(114deg, #070934 19.73%, #151B9A 100.01%);
    color: var(--light-text);
}

.photo-gallery-section .section-title {
    color: var(--light-text);
    text-align: center;
    margin-bottom: 15px;
}

.photo-gallery-section .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin-bottom: 40px;
    font-size: 18px;
}

.photo-carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: 20px 0 40px;
    /* Ajouter un padding horizontal pour permettre aux images de déborder */
    padding-left: 15%;
    padding-right: 15%;
}

/* Boutons de navigation du carrousel */
.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.carousel-nav-btn:hover {
    background-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 5%;
}

.carousel-next {
    right: 5%;
}

.photo-carousel {
    display: flex;
    transition: transform 0.5s ease;
    height: 400px;
    /* Suppression du padding ici car il est compensé dans le JavaScript */
}

.carousel-item {
    min-width: 70%;
    padding: 0 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.5;
    transform: scale(0.9);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.carousel-item.active {
    opacity: 1;
    transform: scale(1);
}

.photo-placeholder {
    width: 100%;
    height: 350px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Overlay pour indiquer que l'image est cliquable */
.photo-placeholder::after {
    content: '\f00e'; /* Icône loupe de Font Awesome */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 30px;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.photo-placeholder:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.photo-placeholder:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    border-color: var(--primary-color);
}

.placeholder-content {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

.placeholder-content i {
    font-size: 50px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.placeholder-content p {
    font-size: 18px;
    font-weight: 500;
}

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

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
    box-shadow: 0 0 10px var(--primary-color);
}

/* Modal pour afficher l'image en grand */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.image-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.modal-image {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 5px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-modal:hover {
    transform: scale(1.2);
    color: var(--primary-color);
}

/* Animation pour le carrousel */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Section Témoignages */
.testimonials-section {
    padding: 80px 0;
    background-color: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

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

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid var(--light-gray);
}

.testimonial-info h4 {
    font-size: 18px;
    margin: 0 0 5px;
    color: var(--secondary-color);
}

.testimonial-info p {
    font-size: 14px;
    color: var(--dark-gray);
    margin: 0;
}

.testimonial-text {
    font-style: italic;
    line-height: 1.6;
    color: var(--text-color);
    flex-grow: 1;
    position: relative;
}

.testimonial-text::before {
    content: '\201C';
    font-size: 60px;
    position: absolute;
    top: -20px;
    left: -10px;
    color: rgba(0, 0, 0, 0.05);
    font-family: Georgia, serif;
}

.section-subtitle-white {
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin-bottom: 40px;
    font-size: 18px;
}

/* Section Calendly */
.calendly-section {
    padding: 60px 0;
    background: linear-gradient(114deg, #070934 19.73%, #151B9A 100.01%);
    color: white;
    margin-top: 30px;
}

.calendly-section .section-title h2 {
    color: white;
    margin-bottom: 15px;
}

.calendly-section .section-title p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.calendly-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Section Missions */
.missions-section {
    padding: 80px 0;
    margin-top: 0;
}

.missions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 50px;
}

.mission-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.mission-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(114deg, #070934 19.73%, #151B9A 100.01%);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.mission-icon i {
    font-size: 28px;
    transition: all 0.3s ease;
}

.mission-card:hover .mission-icon {
    background: linear-gradient(135deg, var(--primary-color), #ff9f40);
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(255, 127, 0, 0.3);
}

.mission-card:hover .mission-icon i {
    transform: scale(1.15);
}

.mission-card h3 {
    font-size: 22px;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.mission-card p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-gray);
    margin-bottom: 15px;
    text-align: left;
}

.mission-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.mission-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: var(--dark-gray);
    line-height: 1.5;
}

.mission-list li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Footer */
.footer {
    background-color: white;
    color: var(--dark-gray);
    padding: 60px 0 20px;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.05);
}

.footer-white {
    background-color: white;
    color: var(--dark-gray);
    padding: 60px 0 20px;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.05);
    gap: 12px;
}

.footer-white h3 {
    font-size: 22px;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.footer-white h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-white ul li {
    color: var(--dark-gray);
}

.footer-white ul li a {
    color: var(--dark-gray);
    text-decoration: none;
    transition: var(--transition);
}

.footer-white ul li a:hover {
    color: var(--primary-color);
}

.footer-white .footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--dark-gray);
}

.footer-bleu {
    background: linear-gradient(114deg, #070934 19.73%, #151B9A 100.01%);
    color: var(--light-text);
    padding: 60px 0 20px;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.05);
    gap: 12px;
}

.footer-bleu h3 {
    font-size: 22px;
    color: white;
    margin-bottom: 15px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.footer-bleu h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-bleu .footer-coordonnées p {
    line-height: 1.6;
    color: white;
}

.footer-bleu ul li {
    color: white;
}

.footer-bleu ul li a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.footer-bleu ul li a:hover {
    color: var(--primary-color);
}

.footer-bleu .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer h3 {
    font-size: 22px;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-coordonnées p {
    line-height: 1.6;
    color: white;
}

.social-link {
    display: inline-block;
    width: 36px;
    height: 36px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 36px;
    margin-right: 10px;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer ul, .footer-bleu ul, .footer-white ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer ul li, .footer-bleu ul li {
    position: relative;
}

.footer ul li::before, .footer-bleu ul li::before {
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.footer ul li a {
    color: var(--dark-gray);
    text-decoration: none;
    transition: var(--transition);
}

.footer ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 14px;
    color: var(--dark-gray);
}

/* Menu hamburger */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--light-text);
    border-radius: 3px;
    transition: var(--transition);
}

.scrolled .mobile-menu-toggle span {
    background-color: var(--secondary-color);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

.body-no-scroll {
    overflow: hidden;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 32px;
    }
    
    .tabs-nav {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        flex: 1 1 calc(50% - 10px);
        justify-content: center;
    }
    
    .platform-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .platform-feature {
        padding: 20px 15px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon i {
        font-size: 24px;
    }
    
    .platform-preview {
        max-width: 90%;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    /* Header responsive */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 200px;
        height: 100vh;
        background: var(--gradient-blue);
        padding: 80px 20px 30px;
        transition: 0.5s ease;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
        overflow-y: auto;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .scrolled .nav-links {
        background: var(--light-text);
    }
    
    .nav-menu {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .nav-item {
        margin-left: 0;
        margin-bottom: 15px;
        width: 100%;
    }
    
    .nav-link {
        font-size: 18px;
        color: var(--light-text);
        width: 100%;
        display: block;
        padding: 10px 0;
        text-align: center;
    }
    
    .scrolled .nav-link {
        color: var(--secondary-color);
    }
    
    .scrolled .nav-link:hover {
        color: var(--primary-color);
    }
    
    .header-btn {
        margin-top: 10px;
        display: flex;
        justify-content: center;
        width: 100%;
        padding: 8px 16px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 28px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .platform-features-grid {
        grid-template-columns: 1fr;
    }
    
    .platform-feature h3 {
        font-size: 20px;
    }
    
    .platform-feature p {
        font-size: 14px;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }
    
    .feature-icon i {
        font-size: 20px;
    }
    
    .cta-form {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-input, 
    .cta-form .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 24px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Language Switcher Styles */
.language-switcher {
    position: relative;
    display: inline-block;
    margin-left: 20px;
}

.current-lang {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--light-text);
}

.current-lang:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.scrolled .current-lang:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.current-lang::after {
    content: '▼';
    font-size: 10px;
    margin-left: 4px;
    transition: transform 0.3s ease;
}

.language-switcher.open .current-lang::after {
    transform: rotate(180deg);
}

.language-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    /* min-width: 140px; */
    overflow: hidden;
    margin-top: 5px;
}

.language-switcher.open .language-dropdown {
    display: block;
}

.language-dropdown ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.language-dropdown li {
    margin: 0;
}

.lang-option {
    display: block;
    width: 100%;
    padding: 12px 16px;
    border: none;
    background: none;
    text-align: left;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-color);
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover {
    background-color: #f8f9fa;
}

.lang-option:focus {
    outline: none;
    background-color: #e9ecef;
}

/* Mobile adjustments */
@media (max-width: 992px) {
    .language-switcher {
        margin-left: 0;
        margin-top: 10px;
        align-self: center;
    }
    
    .language-dropdown {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }
}
