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

:root {
    --primary-color: #1D1D1F;
    --secondary-color: #FF9500;
    --accent-color: #0071E3;
    --accent-purple: #A2845E;
    --light-bg: #FAFAFA;
    --dark-text: #1D1D1F;
    --gray-text: #666666;
    --border-radius: 18px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navigation */
.navbar {
    background: #ffffff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid #f0f0f0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.3px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--gray-text);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(180deg, #ffffff 0%, #f5f5f7 100%);
    color: var(--primary-color);
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #f0f0f0;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 149, 0, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(162, 132, 94, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    animation: slideDown 0.8s ease-out;
    line-height: 1.2;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    font-weight: 600;
    animation: slideDown 0.8s ease-out 0.2s both;
}

.hero-text {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
    animation: slideDown 0.8s ease-out 0.4s both;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    opacity: 0.8;
    animation: slideDown 0.8s ease-out 0.6s both;
    color: var(--gray-text);
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: slideDown 0.8s ease-out 0.8s both;
}

/* Buttons */
.btn {
    padding: 0.9rem 2rem;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-primary {
    background: var(--accent-color);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 113, 227, 0.35);
    background: #0077ED;
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.btn-secondary:hover {
    background-color: rgba(0, 113, 227, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.15);
}

/* Formations Section */
.formations {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background: #ffffff;
}

.formations h2,
.accompagnement h2,
.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.section-intro,
.contact-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray-text);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

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

.formation-card {
    background: #ffffff;
    padding: 2.2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 16px rgba(0, 102, 255, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.formation-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(0, 164, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30px, -30px);
}

.formation-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 102, 255, 0.2);
    border-left-color: var(--secondary-color);
}

.formation-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.card-description {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.card-list {
    list-style: none;
}

.card-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #555;
}

.card-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Accompagnement Section */
.accompagnement {
    background-color: #f5f5f7;
    padding: 4rem 2rem;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.expertise-card {
    background: #ffffff;
    padding: 2.2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 16px rgba(0, 102, 255, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(0, 164, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.expertise-card:hover {
    box-shadow: 0 8px 28px rgba(0, 102, 255, 0.15);
    transform: translateY(-5px);
    border-top-color: var(--primary-color);
}

.expertise-card:hover::before {
    transform: scale(1.2);
}

.expertise-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.expertise-card ul {
    list-style: none;
}

.expertise-card ul li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #555;
    font-size: 0.95rem;
}

.expertise-card ul li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

/* Contact Section */
.contact {
    padding: 4rem 2rem;
    max-width: 700px;
    margin: 0 auto;
    background: #ffffff;
}

.contact h2 {
    margin-bottom: 1rem;
}

.contact-form {
    background: linear-gradient(135deg, var(--light-bg) 0%, #ffffff 100%);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    margin-top: 2rem;
    box-shadow: 0 8px 32px rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
    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(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.2);
    background-color: #F8FDFF;
}

.form-group textarea {
    resize: vertical;
}

.contact-form .btn {
    width: 100%;
    margin-top: 1rem;
}

/* Footer */
.footer {
    background: #f5f5f7;
    color: var(--dark-text);
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
    border-top: 1px solid #e0e0e0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .formations h2,
    .accompagnement h2,
    .contact h2 {
        font-size: 2rem;
    }

    .formation-grid,
    .expertise-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }

    .logo {
        font-size: 1.4rem;
    }

    .nav-links {
        gap: 0.5rem;
        font-size: 0.8rem;
    }

    .hero {
        padding: 2rem 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .formations,
    .accompagnement,
    .contact {
        padding: 2rem 1rem;
    }

    .contact-form {
        padding: 1.5rem;
    }
}

/* How it works Section */
.how-it-works {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background: #ffffff;
}

.how-it-works h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--primary-color);
    font-weight: 700;
}

.steps-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 250px;
    max-width: 280px;
    text-align: center;
    position: relative;
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    opacity: 0.8;
}

.step h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.step p {
    color: var(--gray-text);
    font-size: 0.95rem;
    line-height: 1.6;
}

.step-arrow {
    font-size: 2rem;
    color: var(--secondary-color);
    opacity: 0.6;
    min-width: 40px;
}

@media (max-width: 900px) {
    .steps-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
}

/* About Section */
.about-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background: #ffffff;
}

.about-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--primary-color);
    font-weight: 700;
}

.about-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray-text);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* Certification Badge */
.certification-badge {
    background: linear-gradient(135deg, var(--secondary-color), rgba(255, 149, 0, 0.9));
    color: #ffffff;
    padding: 2rem;
    border-radius: var(--border-radius);
    max-width: 600px;
    margin: 0 auto 3rem;
    text-align: center;
    box-shadow: 0 8px 24px rgba(255, 149, 0, 0.25);
}

.certification-badge h3 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
}

.certs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.certs-list li {
    font-size: 1.05rem;
    margin: 0.6rem 0;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.certs-list li:before {
    content: none;
}

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

.about-card {
    background: #f5f5f7;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.about-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.about-card h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.about-card p {
    color: var(--gray-text);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Packs Section */
.packs-section {
    padding: 4rem 2rem;
    background: #f5f5f7;
}

.packs-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--primary-color);
    font-weight: 700;
}

.packs-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray-text);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.packs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pack-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    position: relative;
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pack-card:hover {
    transform: translateY(-8px);
    border-color: var(--secondary-color);
    box-shadow: 0 12px 32px rgba(255, 149, 0, 0.15);
}

.pack-card-featured {
    border-color: var(--secondary-color);
    transform: scale(1.05);
    box-shadow: 0 8px 28px rgba(255, 149, 0, 0.2);
}

.pack-card-featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.pack-badge {
    display: inline-block;
    background: #f0f0f0;
    color: var(--primary-color);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
}

.badge-featured {
    background: var(--secondary-color);
    color: #ffffff;
}

.pack-card h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.pack-subtitle {
    color: var(--gray-text);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.pack-list {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.pack-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}

.pack-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.pack-card .btn {
    align-self: flex-start;
}

/* Footer */
.footer {
    background: #f5f5f7;
    color: var(--dark-text);
    text-align: center;
    padding: 3rem 2rem;
    border-top: 1px solid #e0e0e0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content p {
    margin: 0.5rem 0;
    font-size: 0.95rem;
    color: var(--gray-text);
}

.footer-links a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
}
