/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Josefin Sans', sans-serif;
    line-height: 1.6;
    color: #FFFFFF;
    background: fixed center/cover url('background-clouds.webp');
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(10, 15, 28, 0.85) 0%, 
        rgba(20, 30, 50, 0.8) 50%, 
        rgba(10, 15, 28, 0.9) 100%);
    z-index: -1;
}

/* Variables CSS */
:root {
    --gold-neon: #FFD700;
    --white-neon: #FFFFFF;
    --blue-night: #0A0F1C;
    --gray-blue: #64748B;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 215, 0, 0.3);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

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

/* Typographie */
h1, h2, h3 {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 700;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--white-neon);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.section-title.gold {
    color: var(--gold-neon);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.section-title.large {
    font-size: 3rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 50px 0;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--gold-neon);
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--white-neon);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-tagline {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: #FFFFFF;
    font-style: italic;
}

/* Section Manque */
.section-manque {
    padding: 100px 0;
}

.section-intro {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #FFFFFF;
}

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

/* Glass Cards */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 2px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--glass-shadow);
    transition: all 0.3s ease;
    text-align: center;
}

.glass-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--gold-neon);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.2);
}

.card-icon {
    font-size: 3rem;
    color: var(--gold-neon);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.card-icon.check {
    background: var(--gold-neon);
    color: var(--blue-night);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.card-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--gold-neon);
    font-weight: 600;
}

.card-text {
    color: var(--white-neon);
    line-height: 1.6;
}

/* Section Nolwenn */
.section-nolwenn {
    padding: 100px 0;
}

.nolwenn-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.nolwenn-content {
    text-align: left;
}

.nolwenn-text {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--white-neon);
    line-height: 1.7;
}

.nolwenn-text.highlight {
    color: var(--gold-neon);
    font-weight: 500;
}

.nolwenn-cta {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold-neon);
    margin-top: 2rem;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.profile-card {
    text-align: center;
    padding: 2.5rem;
}

.profile-image {
    margin-bottom: 1.5rem;
}

.profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid var(--gold-neon);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
    object-fit: cover;
}

.profile-name {
    font-size: 1.5rem;
    color: var(--gold-neon);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.profile-title {
    color: var(--white-neon);
    font-size: 1rem;
}

/* Section Bénéfices */
.section-benefices {
    padding: 100px 0;
}

.formation-image {
    text-align: center;
    margin: 3rem 0;
}

.benefices-photo {
    max-width: 500px;
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
}

.progress-bar {
    width: 100%;
    max-width: 500px;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    margin: 0 auto;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold-neon) 0%, #FFA500 100%);
    width: 0%;
    transition: width 2s ease-in-out;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.benefices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefice-card {
    text-align: left;
}

/* Section Modalités */
.section-modalites {
    padding: 100px 0;
}

/* Image de conférence */
.modalites-image {
    text-align: center;
    margin: 3rem 0;
}

.conference-frame {
    display: inline-block;
    padding: 1rem;
    max-width: 600px;
}

.conference-photo {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modalites-intro {
    font-size: 1.1rem;
    text-align: center;
    margin: 3rem auto;
    max-width: 800px;
    color: var(--white-neon);
    line-height: 1.7;
}

.modalites-subtitle {
    font-size: 1.8rem;
    color: var(--gold-neon);
    margin: 3rem 0 2rem;
    text-align: center;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

/* Grid 2x2 pour les modalités */
.modalites-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 3rem 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.modalite-card {
    text-align: center;
    padding: 1.5rem;
}

.modalite-icon {
    font-size: 2rem;
    color: var(--gold-neon);
    margin-bottom: 1rem;
}

.modalite-title {
    color: var(--gold-neon);
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.modalite-desc {
    color: var(--white-neon);
    font-size: 0.9rem;
}

.modalite-desc.highlight {
    color: var(--gold-neon);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Section Pricing */
.pricing-main {
    text-align: center;
    margin: 4rem 0 3rem;
}

.price-display {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.price-label {
    color: var(--white-neon);
    font-weight: 600;
}

.price-amount {
    color: var(--gold-neon);
    font-weight: 700;
    margin-left: 1rem;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.price-details {
    color: #FFFFFF;
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.6;
}

/* Bonus Card */
.bonus-card {
    max-width: 600px;
    margin: 3rem auto;
    padding: 2rem;
    text-align: center;
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid var(--gold-neon);
}

.bonus-title {
    color: var(--gold-neon);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.bonus-list {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.bonus-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white-neon);
    font-size: 1rem;
}

.bonus-item i {
    color: var(--gold-neon);
    font-size: 1.2rem;
}

/* Section FAQ */
.section-faq {
    padding: 100px 0;
}

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

.faq-item {
    margin-bottom: 1.5rem;
}

.faq-question {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 2px solid var(--glass-border);
    border-radius: 15px;
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    border-color: var(--gold-neon);
}

.faq-question.active {
    border-color: var(--gold-neon);
    background: rgba(255, 215, 0, 0.1);
}

.faq-question h3 {
    color: var(--gold-neon);
    font-size: 1.2rem;
    margin: 0;
}

.faq-question i {
    color: var(--gold-neon);
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0 0 15px 15px;
}

.faq-answer.active {
    max-height: 300px;
    padding: 1.5rem;
}

.faq-answer p {
    color: var(--white-neon);
    line-height: 1.7;
}

/* CTA Final */
.cta-final {
    padding: 100px 0;
    text-align: center;
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--white-neon);
}

.testimonial {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--gold-neon);
    margin: 3rem auto;
    max-width: 600px;
    border-left: 4px solid var(--gold-neon);
    padding-left: 2rem;
    text-align: left;
}

.signature {
    font-size: 1.1rem;
    color: var(--white-neon);
    margin-top: 2rem;
}

/* Boutons CTA */
.cta-button {
    background: linear-gradient(135deg, var(--gold-neon) 0%, #FFA500 100%);
    color: var(--blue-night);
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.5);
}

.cta-button.large {
    padding: 20px 40px;
    font-size: 1.3rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 2.5rem;
    margin: auto;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gold-neon);
    border: none;
    color: #000000;
    font-size: 1.8rem;
    font-weight: bold;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 1000;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: #ffd700;
    transform: scale(1.15) rotate(90deg);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
}

.modal-title {
    color: var(--gold-neon);
    margin-bottom: 1rem;
    text-align: center;
    font-size: 2rem;
}

.modal-subtitle {
    color: var(--white-neon);
    text-align: center;
    margin-bottom: 2rem;
}

/* Formulaire */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--gold-neon);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 10px;
    padding: 12px 15px;
    color: var(--white-neon);
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold-neon);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-blue);
}

/* Form Section Title */
.form-section-title {
    font-size: 1.3rem;
    color: var(--gold-neon);
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gold-neon);
}

.form-section-title:first-of-type {
    margin-top: 0;
}

/* Checkbox Group */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: var(--white-neon);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.checkbox-label:hover {
    color: var(--gold-neon);
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    cursor: pointer;
    accent-color: var(--gold-neon);
}

/* Range Input */
input[type="range"] {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    outline: none;
    cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--gold-neon);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--gold-neon);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.range-value {
    text-align: center;
    margin-top: 0.5rem;
    color: var(--gold-neon);
    font-size: 1.1rem;
    font-weight: 600;
}

/* File Input */
input[type="file"] {
    padding: 0.5rem;
    cursor: pointer;
}

input[type="file"]::file-selector-button {
    background: var(--gold-neon);
    color: var(--blue-night);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    margin-right: 1rem;
    transition: all 0.3s ease;
}

input[type="file"]::file-selector-button:hover {
    background: var(--white-neon);
    transform: translateY(-2px);
}

/* Date Input */
input[type="date"] {
    cursor: pointer;
}

/* Validation Group */
.validation-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid var(--gold-neon);
    border-radius: 8px;
}

.validation-group .checkbox-label {
    font-size: 0.9rem;
}

/* Email Link */
.email-link {
    color: var(--gold-neon);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.email-link:hover {
    color: var(--white-neon);
    text-decoration: underline;
}

/* Small Text */
.form-group small {
    display: block;
    margin-top: 0.3rem;
    color: var(--gray-blue);
    font-size: 0.85rem;
}

/* Section Objectifs */
.section-objectifs {
    padding: 100px 0;
}

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

.objectif-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.objectif-card .card-icon {
    flex-shrink: 0;
}

/* Section Programme */
.section-programme {
    padding: 100px 0;
    background: rgba(255, 215, 0, 0.03);
}

.programme-modules {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.module-card {
    padding: 2rem;
}

.module-title {
    font-size: 1.2rem;
    color: var(--gold-neon);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.module-list {
    list-style: none;
    padding: 0;
}

.module-list li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    color: var(--white-neon);
}

.module-list li i {
    position: absolute;
    left: 0;
    color: var(--gold-neon);
    top: 3px;
}

.pedagogie-card {
    margin-top: 3rem;
    padding: 2rem;
}

.pedagogie-title {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.pedagogie-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.pedagogie-list li {
    padding-left: 2rem;
    position: relative;
    color: var(--white-neon);
}

.pedagogie-list li i {
    position: absolute;
    left: 0;
    color: var(--gold-neon);
    top: 3px;
}

/* Section Public Visé */
.section-public {
    padding: 100px 0;
}

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

.public-card {
    padding: 2rem;
}

.prerequis-card {
    margin-top: 3rem;
    padding: 2rem;
}

.prerequis-title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.prerequis-list {
    list-style: none;
    padding: 0;
}

.prerequis-list li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    color: var(--white-neon);
}

.prerequis-list li i {
    position: absolute;
    left: 0;
    color: var(--gold-neon);
    top: 3px;
}

/* Modalités list */
.modalites-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.modalites-list li {
    margin-bottom: 1rem;
    padding-left: 2.5rem;
    position: relative;
    color: var(--white-neon);
}

.modalites-list li i {
    position: absolute;
    left: 0;
    color: var(--gold-neon);
    top: 3px;
}

.modalites-subtitle {
    font-size: 1.5rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.accessibilite-text {
    color: var(--white-neon);
    line-height: 1.8;
    margin: 1rem 0;
}

.financement-intro {
    color: var(--white-neon);
    margin: 1rem 0 0.5rem;
    font-size: 1.1rem;
}

.financement-note {
    color: var(--white-neon);
    margin: 1rem 0;
}

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

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-title.large {
        font-size: 2.3rem;
    }
    
    .hero-tableau {
        grid-template-columns: 1fr !important;
        text-align: center !important;
    }

    .hero-tableau > div:last-child {
        order: -1;
    }

    .nolwenn-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cards-grid,
    .benefices-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .bonus-items {
        flex-direction: column;
        align-items: center;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .glass-card {
        padding: 1.5rem;
    }
    
    .testimonial {
        text-align: center;
        border-left: none;
        border-top: 4px solid var(--gold-neon);
        padding-left: 0;
        padding-top: 1rem;
    }
}
