@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

/* ==================== VARIABLES CSS ==================== */
:root {
    --color-violet: #6C5199;
    --color-pink-dark: #A34E78;
    --color-text-dark: #333;
    --color-text-light: #555;
    --color-bg-light: #f8f8f8;
    --color-pink-light: #FFC0CB;
    --color-bg-pink: #FEE7F3;
    --color-bg-green: #E2F0EA;
    --color-bg-purple: #E6E1F4;
    --color-bg-rose: #F8E2E8;
    --color-bg-gold: #e49204;
    --color-bg-valeurs: #F8F4FD;
    
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
    
    --border-radius: 20px;
    --border-radius-small: 10px;
    --border-radius-button: 50px;
    
    --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* ==================== RESET & GENERAL ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-secondary);
    color: var(--color-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ==================== UTILITAIRES ==================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==================== BOUTONS ==================== */
.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--color-bg-gold);
    color: white;
    text-decoration: none;
    border: none;
    border-radius: var(--border-radius-button);
    font-weight: bold;
    font-family: var(--font-primary);
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.cta-button:hover {
    background-color: #8C4065;
    transform: translateY(-2px);
}

.cta-button.violet {
    background-color: var(--color-violet);
}

.cta-button.violet:hover {
    background-color: #58417E;
}

.read-more-btn {
    background: none;
    border: none;
    color: var(--color-violet);
    text-decoration: underline;
    cursor: pointer;
    font-family: var(--font-primary);
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more-btn:hover {
    color: var(--color-pink-dark);
}

/* ==================== TITRES ET SECTIONS ==================== */
.section-title-wrapper {
    text-align: center;
    margin-bottom: 50px;
}

.subtitle-top {
    font-family: var(--font-primary);
    color: var(--color-violet);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    margin-bottom: 5px;
}

h1, h2 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-violet);
}

h1 {
    font-size: 70px;
}

h2 {
    font-size: 40px;
    margin-top: 0;
}

h3 {
    font-family: var(--font-primary);
    color: var(--color-text-dark);
}

.section-description {
    max-width: 700px;
    margin: 0 auto 50px;
    text-align: center;
    font-size: 18px;
    line-height: 1.6;
}

/* ==================== HEADER ==================== */
.hero-section {
    background-image: url('images/hero.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 80px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(3rem, 15vw, 8rem); 
    font-weight: 800;
    line-height: 0.9;
    margin: 0;
    position: relative;
    animation: slideInUp 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.gold-text-title {
    background: linear-gradient(45deg, #d4af37, #4b4213, #d4af37);
    background-size: 500% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: goldShimmer 5s ease-in-out infinite;
    display: inline-block;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

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

.hero-subtitle {
    font-family: 'Poppins', sans-serif;
    color: white;
    font-size: clamp(1rem, 2.5vw, 1.6rem);
    font-weight: 300;
    line-height: 1.4;
    opacity: 0.9;
    position: relative;
    animation: slideInUp 1.2s cubic-bezier(0.23, 1, 0.32, 1) 0.3s both;
    letter-spacing: 0.5px;
}

.hero-subtitle::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px; 
    height: 2px;
    background: linear-gradient(90deg, transparent, #dcab0b, transparent); /* CORRIGÉ */
    animation: lineExpand 1.5s ease-out 1s both;
}

@keyframes lineExpand {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 80px;
        opacity: 1;
    }
}

/* Animation d'entrée */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
}

.logo img {
    height: 60px;
}

.nav-bar nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-bar nav ul li a {
    color: white;
    text-decoration: none;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 19px;
    transition: color 0.3s ease;
}

.nav-bar nav ul li a:hover {
    color: var(--color-pink-dark);
}

.hero-content {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-content h1 {
    color: white;
}

/* ==================== SECTION UNIQUE ==================== */
.section-unique {
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.section-unique::before {
    content: '';
    position: absolute;
    top: clamp(5px, 1vw, 20px);
    left: clamp(-90px, -15vw, -50px);
    width: clamp(100px, 20vw, 200px);
    height: clamp(100px, 20vw, 200px);
    background-color: var(--color-bg-green); 
    border-radius: 50%;
    z-index: 0;
    opacity: 0.7;
    transform: rotate(0deg);
}

.section-unique::after {
    content: '';
    position: absolute;
    top: clamp(200px, 40vw, 400px);
    left: clamp(200px, 60vw, 600px);
    width: clamp(150px, 35vw, 350px);
    height: clamp(150px, 35vw, 350px);
    background-color: var(--color-bg-gold); 
    z-index: -1;
    opacity: 0.2;
    border-radius: 50%;
}


.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 0; 
}

.feature-item {
    background-color: var(--color-bg-light);
    padding: 40px 20px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item img {
    height: 60px;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-weight: 600;
    font-size: 24px;
    margin: 0 0 10px 0;
}

.feature-item p {
    font-size: 16px;
    line-height: 1.5;
}

.feature-item.pink { background-color: var(--color-bg-pink); }
.feature-item.green { background-color: var(--color-bg-green); }
.feature-item.purple { background-color: var(--color-bg-purple); }
.feature-item.rose { background-color: var(--color-bg-rose); }

/* ==================== SECTION ÉQUIPE ==================== */
.section-equipe {
    background-image: url('images/equipe.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

.section-equipe::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.section-equipe .subtitle-top {
    color: var(--color-pink-light);
}

.section-equipe h2 {
    color: white;
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin: 50px 0 30px 0;
}

.stat-item {
    text-align: center;
}

.stat-item .number {
    font-family: var(--font-primary);
    font-size: 60px;
    font-weight: bold;
    color: var(--color-pink-light);
    line-height: 1;
}

.stat-item p {
    font-size: 18px;
    line-height: 1.4;
    font-weight: 300;
}

/* ==================== SECTION PROGRAMME ÉDUCATIF ==================== */
.section-programme-educatif {
    padding: 80px 0;
    position: relative;
}

.programme-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.programme-tabs-container {
    width: 100%;
    max-width: 1000px;
    margin-bottom: 30px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--color-violet) transparent;
}

.programme-tabs-container::-webkit-scrollbar {
    height: 4px;
}

.programme-tabs-container::-webkit-scrollbar-track {
    background: transparent;
}

.programme-tabs-container::-webkit-scrollbar-thumb {
    background-color: var(--color-violet);
    border-radius: 2px;
}

.programme-tabs {
    display: flex;
    justify-content: center;
    border-bottom: 2px solid #EAEAEA;
    gap: 10px;
    padding-bottom: 10px;
    min-width: max-content;
    padding: 0 20px 10px 20px;
}

.programme-tab {
    background: none;
    border: none;
    padding: 12px 24px;
    cursor: pointer;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 16px;
    color: var(--color-text-light);
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 3px solid transparent;
    border-radius: 8px 8px 0 0;
    position: relative;
}

.programme-tab:hover {
    color: var(--color-pink-dark);
    background-color: rgba(108, 81, 153, 0.05);
}

.programme-tab.active {
    color: var(--color-violet);
    border-bottom: 3px solid var(--color-violet);
    background-color: rgba(108, 81, 153, 0.1);
    font-weight: 700;
}

.programme-carousel {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 450px;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-heavy);
    background: #f8f9fa;
}

.programme-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.programme-slide.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 2;
}

.programme-slide.entering {
    transform: translateX(100%);
    opacity: 0;
    z-index: 1;
}

.programme-slide.exiting {
    transform: translateX(-100%);
    opacity: 0;
    z-index: 0;
}

.programme-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.programme-slide:hover img {
    transform: scale(1.02);
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0.1) 100%);
    padding: 40px;
    color: white;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.slide-content .subtitle-top {
    color: var(--color-pink-light);
    margin-bottom: 10px;
    font-size: 12px;
    letter-spacing: 1.5px;
}

.slide-content .short-text {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
    opacity: 0.95;
}

.full-text {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    padding: 40px;
    color: var(--color-text-dark);
    display: none;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.full-text::-webkit-scrollbar {
    width: 6px;
}

.full-text::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.full-text::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.full-text p {
    color: var(--color-text-dark);
}

.full-text .subtitle-top {
    color: var(--color-pink-light);
    margin-bottom: 15px;
}

.read-more-link {
    display: inline-block;
    color: var(--color-pink-light);
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-primary);
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
}

.read-more-link:hover {
    color: white;
    border-bottom-color: white;
    transform: translateY(-1px);
}

.back-to-summary {
    background: rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(0, 0, 0, 0.2);
    color: var(--color-text-dark);
}

.back-to-summary:hover {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

/* ==================== INDICATEURS DE PROGRESSION ==================== */
.programme-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

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

.programme-indicator.active {
    background: var(--color-violet);
    transform: scale(1.2);
}

.programme-indicator:hover {
    background: var(--color-pink-dark);
    transform: scale(1.1);
}

/* ==================== ANIMATIONS PERSONNALISÉES ==================== */
@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

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

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

.programme-slide.active .slide-content {
    animation: fadeInContent 0.6s ease 0.2s both;
}

/* ==================== ÉTATS DE HOVER ET FOCUS ==================== */
.programme-carousel:hover .programme-slide.active .slide-content {
    transform: translateY(-5px);
}

.programme-tab:focus-visible {
    outline: 2px solid var(--color-violet);
    outline-offset: 4px;
    border-radius: 4px;
}

.read-more-link:focus-visible {
    outline: 2px solid white;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 1024px) {
    .programme-carousel {
        height: 400px;
    }
    
    .slide-content {
        padding: 30px;
    }
    
    .full-text {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .programme-tabs {
        justify-content: flex-start;
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .programme-tab {
        font-size: 14px;
        padding: 10px 18px;
    }
    
    .programme-carousel {
        height: 350px;
    }
    
    .slide-content {
        padding: 25px;
    }
    
    .slide-content .short-text {
        font-size: 15px;
    }
    
    .full-text {
        padding: 25px;
    }
    
    .full-text p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .programme-tabs {
        gap: 5px;
        padding-left: 5px;
        padding-right: 5px;
    }
    
    .programme-tab {
        font-size: 13px;
        padding: 8px 15px;
    }
    
    .programme-carousel {
        height: 300px;
    }
    
    .slide-content {
        padding: 20px;
    }
    
    .full-text {
        padding: 20px;
    }
    
    .slide-content .subtitle-top {
        font-size: 11px;
    }
    
    .slide-content .short-text {
        font-size: 14px;
        line-height: 1.5;
    }
}

/* ==================== ACCESSIBILITÉ ==================== */
@media (prefers-reduced-motion: reduce) {
    .programme-slide {
        transition-duration: 0.1s;
    }
    
    .programme-slide img {
        transition-duration: 0.1s;
    }
    
    .slide-content {
        transition-duration: 0.1s;
    }
    
    .programme-tab {
        transition-duration: 0.1s;
    }
}

/* ==================== PRINT STYLES ==================== */
@media print {
    .programme-tabs {
        display: none;
    }
    
    .programme-carousel {
        height: auto;
        overflow: visible;
    }
    
    .programme-slide {
        position: static;
        opacity: 1;
        transform: none;
        page-break-inside: avoid;
        margin-bottom: 30px;
    }
    
    .programme-slide:not(.active) {
        display: none;
    }
    
    .slide-content {
        position: static;
        background: none;
        color: var(--color-text-dark);
        padding: 20px 0;
    }
    
    .full-text {
        position: static;
        background: none;
        color: var(--color-text-dark);
        display: block;
        overflow: visible;
    }
}

/* ==================== SECTION ACCUEIL ==================== */

.section-accueil {
    padding: 80px 0;
    background-color: var(--color-bg-valeurs);
    position: relative; /* Indispensable pour positionner les formes de fond */
    overflow: hidden; /* Cache les parties des formes qui dépassent */
}

/* Style de la forme de gauche */
.section-accueil::before {
    content: '';
    position: absolute;
    border-radius: 50%;
    /* Utiliser une variable pour une meilleure cohérence de style */
    background-color: var(--color-bg-gold); 
    width: 200px;
    height: 200px;
    top: 10%;
    left: -80px;
    transform: translateY(-60%);
    z-index: 0;
    box-shadow: var(--shadow-medium);
}

/* Style de la forme de droite */
.section-accueil::after {
    content: '';
    position: absolute;
    border-radius: 90%;
    background-color: var(--color-bg-gold);
    width: 250px;
    height: 250px;
    bottom: 20px;
    right: -75px;
    z-index: 0;
    box-shadow: var(--shadow-medium);
}

/* S'assurer que le contenu du conteneur reste au-dessus des formes */
.accueil-content {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 40px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-heavy);
    position: relative; /* Permet de le placer au-dessus des pseudo-éléments */
    z-index: 1; /* S'assure que le contenu est au-dessus */
}
.accueil-text, .accueil-image {
    flex: 1;
    min-width: 300px;
}

.accueil-text {
    padding-right: 20px;
}

.accueil-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

.image-wrapper {
    position: relative;
    padding-top: 100%; 
}

.image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-decoration {
    display: none; /* Cache la décoration de l'image */
}

/* ==================== SECTION VALEURS (GRID STYLE) ==================== */
.section-valeurs {
    padding: 80px 0;
    background-color: white;
}

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

.valeur-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
    cursor: pointer;
}

.valeur-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.valeur-card:hover .card-image img {
    transform: scale(1.1);
}

.card-content {
    padding: 25px;
    position: relative;
}

.card-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--color-violet);
}

.card-content p {
    color: var(--color-text-light);
    line-height: 1.6;
}

.expand-btn {
    position: absolute;
    top: -20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-violet);
    color: white;
    border: none;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
}

.expand-btn:hover {
    background: var(--color-pink-dark);
    transform: scale(1.1);
}

.card-details {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: #f9f9f9;
}

.valeur-card.expanded .card-details {
    max-height: 200px;
    padding: 20px 25px;
}

.valeur-card.expanded .expand-btn {
    transform: rotate(45deg);
}

/* ==================== SECTIONS SPÉCIFIQUES INSCRIPTION ==================== */
.section-tarifs-header {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--color-bg-purple) 0%, var(--color-bg-pink) 100%);
}

.section-tarifs-header h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.section-benefices {
    padding: 80px 0;
    background-color: var(--color-bg-light);
}

.benefices-content {
    max-width: 800px;
    margin: 0 auto;
}

.text-content {
    line-height: 1.8;
    font-size: 1.1rem;
    text-align: center;
}

.full-text {
    margin-top: 20px;
}

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

.tarifs-table-container {
    background-color: var(--color-bg-pink);
    border-radius: var(--border-radius-small);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-medium);
}

.tarifs-table-container h3 {
    color: var(--color-violet);
    margin-bottom: 20px;
    font-size: 24px;
}

.tarifs-table {
    width: 100%;
    border-collapse: collapse;
}

.tarifs-table th, .tarifs-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.tarifs-table th {
    font-family: var(--font-primary);
    font-weight: bold;
    color: var(--color-violet);
    background-color: rgba(255,255,255,0.5);
}

.section-inscription-form {
    padding: 80px 0;
    background-color: white;
    position: relative;
    justify-content: center;

}

.form-container {
    display: flex;
    justify-content: center;
}

.form-content {
    background-color: white;
    padding: 50px;
    border-radius: 15px;
    box-shadow: var(--shadow-heavy);
    max-width: 600px;
    width: 100%;
    position: relative;
    overflow: hidden; 
    z-index: 1; 
}

/* Effet dégradé doré */
.gold-text {
    background-image: linear-gradient(45deg, #FFD700, #DAA520, #B8860B);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent; 
}

/* Ajout de l'image en fond du formulaire */
.form-content::before {
    content: '';
    position: absolute;
    bottom: -100px; 
    left: 300px; 
    width: 200px;
    height: 200px;
    background-image: url('images/icone1.svg'); 
    background-size: cover;
    background-repeat: no-repeat;
    z-index: -1; 
    opacity: 0.5; 
}

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

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--color-violet);
}

.error-message {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}

.form-success {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
}

.back-navigation {
    padding: 20px 0;
    background-color: #f9f9f9;
}

.back-link {
    color: var(--color-violet);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--color-pink-dark);
}

/* ==================== FAQ ==================== */
.faq-intro {
    text-align: center;
    margin-bottom: 40px;
}

.section-faq {
    padding: 80px 0;
    background-color: var(--color-bg-pink);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: var(--border-radius-small);
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px;
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text-dark);
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s ease;
}

.faq-question::after {
    content: '+';
    font-size: 24px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"]::after {
    content: '-';
}

.faq-answer {
    max-height: 500px;
    overflow: visible;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.faq-answer p {
    padding-bottom: 20px;
    margin: 0;
    line-height: 1.6;
}

.section-faq {
    position: relative; /* Indispensable pour positionner les pseudo-éléments */
    overflow: hidden; /* Empêche les formes de déborder */
    padding: 80px 0;
    background-color: var(--color-bg-pink);
}

.section-faq::before,
.section-faq::after {
    content: '';
    position: absolute;
    border-radius: 50%; /* Pour créer un cercle */
    background-color: rgba(216, 150, 150, 0.5); /* Semi-transparent */
    z-index: 0; /* Place les formes en arrière-plan */
}

/* Style de la forme de gauche */
.section-faq::before {
    width: 200px;
    height: 200px;
    top: 50%;
    left: -100px; /* Moitié de la forme cachée sur le côté */
    transform: translateY(-50%);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Style de la forme de droite */
.section-faq::after {
    width: 150px;
    height: 150px;
    bottom: 20px;
    right: -75px; /* Moitié de la forme cachée sur le côté */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Rendre le contenu du FAQ visible au-dessus des formes */
.faq-intro,
.faq-accordion {
    position: relative;
    z-index: 1;
}

/* ==================== CTA SECTION ==================== */
.cta-form-link {
    background-color: var(--color-violet);
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.cta-form-link h2 {
    color: white;
    font-size: 36px;
    margin-bottom: 10px;
}

.cta-form-link p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* ==================== FOOTER ==================== */
.footer {
    background-color: #1a1a1a;
    color: white;
    padding: 40px 0 20px;
     align-items: center
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.footer-flex p {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 20px;
    margin: 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
    opacity: 0.7;
}

.footer-links-group {
    display: flex;
    flex-direction: column;
    align-items: center; 
    gap: 15px;
    width: 100%; 
    margin: 0 auto; 
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    color: white;
    font-size: 24px;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #0e76a8; /* Couleur LinkedIn */
}

.social-icon:nth-child(2):hover {
    color: #c13584; /* Couleur Instagram */
}

/* Nouveaux styles pour la localisation et le numéro de téléphone */
.location-info, .phone-info {
    display: flex;
    gap: 8px;
    font-size: 14px;
    color: #ffd700; 
    opacity: 0.7;
}

.location-info i, .phone-info i {
    font-size: 16px;
}

.phone-info a {
    color: #ffd700; 
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.phone-info a:hover {
    opacity: 1;
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    h1 {
        font-size: 50px;
    }
    
    h2 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    /* Navigation */
    .nav-bar {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }
    
    .nav-bar nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    /* Hero */
    .hero-content h1 {
        font-size: 40px;
    }
    
    /* Typography */
    .section-title-wrapper h2 {
        font-size: 28px;
    }
    
    .section-description {
        font-size: 16px;
    }
    
    /* Grids */
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .valeurs-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }
    
    /* Content */
    .accueil-content {
        flex-direction: column;
        text-align: center;
    }
    
    .form-content {
        padding: 30px 20px;
    }
    
    /* Tabs */
    .programme-tabs, .valeurs-tabs {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .programme-tab, .valeurs-tab {
        font-size: 14px;
        padding: 8px 15px;
    }
    
    /* Footer */
    .footer-flex {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    /* CTA */
    .cta-form-link h2 {
        font-size: 28px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .section-title-wrapper h2 {
        font-size: 24px;
    }
    
    .feature-item {
        padding: 30px 15px;
    }
    
    .form-content {
        padding: 20px 15px;
    }
    
    .tarifs-table-container {
        padding: 20px 15px;
    }
    
    .tarifs-table th,
    .tarifs-table td {
        padding: 10px 8px;
        font-size: 14px;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 14px;
    }
}

/* ==================== ÉTATS D'INTERACTION ==================== */
.programme-slide.entering {
    transform: translateX(100%);
    opacity: 0;
}

.programme-slide.entering.active {
    transform: translateX(0);
    opacity: 1;
}

.programme-slide.exiting {
    transform: translateX(-100%);
    opacity: 0;
}

/* États des cartes valeurs */
.valeur-card.expanding .card-details {
    max-height: 300px;
}

.valeur-card.expanding .expand-btn {
    transform: rotate(45deg);
    background: var(--color-pink-dark);
}

/* États du formulaire */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #e74c3c;
}

.form-group.error .error-message {
    display: block;
}

.form-group.success input,
.form-group.success select,
.form-group.success textarea {
    border-color: #27ae60;
}

/* État de chargement du bouton */
.submit-btn:disabled {
    background-color: #bbb;
    cursor: not-allowed;
    transform: none;
}

.submit-btn:disabled:hover {
    background-color: #bbb;
    transform: none;
}

/* ==================== ACCESSIBILITÉ ==================== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus visible pour navigation clavier */
.cta-button:focus-visible,
.programme-tab:focus-visible,
.valeurs-tab:focus-visible,
.faq-question:focus-visible,
.nav-btn:focus-visible {
    outline: 2px solid var(--color-violet);
    outline-offset: 2px;
}

/* ==================== PRINT STYLES ==================== */
@media print {
    .nav-bar,
    .footer,
    .cta-form-link,
    .programme-nav,
    .expand-btn {
        display: none;
    }
    
    .hero-section {
        height: auto;
        padding: 40px 0;
    }
    
    .hero-section::before {
        display: none;
    }
    
    .hero-content h1 {
        color: var(--color-text-dark);
        font-size: 36px;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h2 {
        font-size: 18pt;
    }
    
    .section-description {
        font-size: 11pt;
    }
}

/* ==================== HEADER DÉDIÉ AUX PAGES INTÉRIEURES ==================== */
.section-tarifs-header {
    background-color: var(--color-bg-pink);
    padding: 20px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05); 
    padding-bottom: 10px;
    margin-bottom: 10px;
}

/* Styles pour le logo */
.header-container .logo img {
    height: 50px;
}

/* Styles pour la navigation */
.main-nav {
    display: block;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-list a {
    text-decoration: none;
    color: var(--color-text-dark);
    font-weight: 600;
    font-family: var(--font-primary);
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-list a:hover {
    color: var(--color-violet);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.icon-bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-text-dark);
    margin: 4px 0;
    transition: all 0.2s ease;
}

.nav-toggle.is-active .icon-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-active .icon-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.is-active .icon-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Réajustement des titres pour cette section */
.page-title-container {
    padding-top: 0;
}

.section-tarifs-header h1 {
    font-size: 50px; 
}

/* Styles pour mobile */
@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .main-nav {
        display: none;
        width: 100%;
        text-align: center;
        background-color: rgba(255, 255, 255, 0.95);
        border-radius: var(--border-radius-small);
        box-shadow: var(--shadow-light);
        padding: 20px;
    }
    .main-nav.is-open {
        display: block;
    }
    .nav-list {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-list a {
        font-size: 18px;
    }
    
    .nav-toggle {
        display: block;
        order: -1; 
    }
    
    .logo img {
        height: 40px;
    }
    
    .section-tarifs-header h1 {
        font-size: 40px;
    }
}

/* ==================== SECTION BÉNÉFICES STYLES UNIQUES ==================== */
.section-benefices {
    padding: 80px 0;
}

.benefices-short-text {
    font-size: 1.1em;
    line-height: 1.6;
    color: var(--color-text-light);
    margin-bottom: 20px;
}

.benefices-full-text {
    line-height: 1.6;
    color: var(--color-text-light);
    margin-top: 20px;
}

.benefices-full-text p {
    margin-bottom: 15px;
}

.benefices-read-more-btn {
    background: none;
    border: none;
    color: var(--color-violet);
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.3s ease;
    padding: 0;
}

.benefices-read-more-btn:hover {
    color: var(--color-pink-dark);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

th, td {
    padding: 15px;
    border-bottom: 1px solid #ddd;
    text-align: center;
}

th {
    background-color: var(--color-bg-pink);
    color: var(--color-text-dark);
    font-family: var(--font-primary);
    font-weight: 600;
}

tr:nth-child(even) {
    background-color: #f8f8f8;
}

tr:hover {
    background-color: #f1f1f1;
}

.tarifs-table-container h3 {
    text-align: center;
}

.form-title {
    text-align: center;
}

.inscription-form {
    max-width: 600px;
    margin: 0 auto;
}

/* ==================== PAGE BLOG - COMING SOON ==================== */
.blog-coming-soon {
    min-height: calc(100vh - 100px); 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 0;
    background-color: var(--color-bg-light);
}

.coming-soon-content {
    background-color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
}

.coming-soon-content h1 {
    font-size: 2.5rem;
    color: var(--color-violet);
    margin-bottom: 1rem;
}

.coming-soon-content p {
    font-size: 1.1rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

.accueil-localisation h2 {
    text-align: center; 
    color: rgb(227, 169, 23);     
}
