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

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

body {
    font-family: 'Hind', sans-serif;
    background: linear-gradient(135deg, #191919 0%, #000000 100%);
    color: #fefefe;
    min-height: 100vh;
    padding: 2rem 0;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}
@media (min-width: 768px) {
    .container {
        max-width: 100% !important;
    }
}
@media (min-width: 640px) {
    .container {
        max-width: 100%;
    }
}
.header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 2rem 0;
}

.header h1 {
    font-size: 3.6rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #e21617, #b50015);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header p {
    font-size: 1.8rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
    width: 100%;
    padding: 2rem;
}

.section-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.section-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e21617, #b50015);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.section-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.section-card:hover::before {
    transform: scaleX(1);
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.section-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(45deg, #e21617, #b50015);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    position: relative;
}

.section-icon::before {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background: white;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
}

.section-icon.histoire::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M12 6.253v13m0-13C10.832 5.477 9.246 5 7.5 5S4.168 5.477 3 6.253v13C4.168 18.477 5.754 18 7.5 18s3.332.477 4.5 1.253m0-13C13.168 5.477 14.754 5 16.5 5c1.746 0 3.332.477 4.5 1.253v13C19.832 18.477 18.246 18 16.5 18c-1.746 0-3.332.477-4.5 1.253'/%3E%3C/svg%3E");
}

.section-icon.formation::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 14l-7 7m0 0l-7-7m7 7V3'/%3E%3C/svg%3E");
}

.section-icon.distance::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M9.75 17L9 20l-1 1h8l-1-1-.75-3M3 13h18M5 17h14a2 2 0 002-2V5a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z'/%3E%3C/svg%3E");
}

.section-icon.elearning::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M12 18h.01M8 21h8a2 2 0 002-2V5a2 2 0 00-2-2H8a2 2 0 00-2 2v14a2 2 0 002 2z'/%3E%3C/svg%3E");
}

.section-icon.newsletter::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M3 8l7.89 4.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z'/%3E%3C/svg%3E");
}

.section-icon.qualiopi::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M9 12l2 2 4-4M7.835 4.697a3.42 3.42 0 001.946-.806 3.42 3.42 0 014.438 0 3.42 3.42 0 001.946.806 3.42 3.42 0 013.138 3.138 3.42 3.42 0 00.806 1.946 3.42 3.42 0 010 4.438 3.42 3.42 0 00-.806 1.946 3.42 3.42 0 01-3.138 3.138 3.42 3.42 0 00-1.946.806 3.42 3.42 0 01-4.438 0 3.42 3.42 0 00-1.946-.806 3.42 3.42 0 01-3.138-3.138 3.42 3.42 0 00-.806-1.946 3.42 3.42 0 010-4.438 3.42 3.42 0 00.806-1.946 3.42 3.42 0 013.138-3.138z'/%3E%3C/svg%3E");
}

.section-title {
    font-size: 2.2rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #fefefe;
}

.section-content {
    margin-bottom: 2rem;
}

.subsection {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    border-left: 3px solid #e21617;
}

.subsection-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #fefefe;
}

.formation-item {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.formation-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #fefefe;
}

.formation-details {
    font-size: 1.5rem;
    opacity: 0.7;
    margin-bottom: 0.5rem;
}

.link-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(45deg, #e21617, #b50015);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    margin: 0.5rem 0.5rem 0.5rem 0;
}

.link-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(226, 22, 23, 0.3);
    background: linear-gradient(45deg, #b50015, #80171e);
}

.link-button.secondary {
    background: transparent;
    border: 1px solid #fefefe;
    color: #fefefe;
}

.link-button.secondary:hover {
    background: #fefefe;
    color: #191919;
}

.price-tag {
    display: inline-block;
    background: #e21617;
    color: #fefefe;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-left: 1rem;
}

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

.program-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.program-card h4 {
    color: #fefefe;
    margin-bottom: 1rem;
    font-weight: 600;
}

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

.episode-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.1rem;
}

.episode-list li:last-child {
    border-bottom: none;
}

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

.qualiopi-link {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid #e21617;
    transition: all 0.3s ease;
}

.qualiopi-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

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

.newsletter-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-card h4 {
    color: #fefefe;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.article-item {
    margin-bottom: 1rem;
    padding: 0.8rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
}

.article-title {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    color: #fefefe;
}

.cta-section {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    margin-top: 4rem;
}

.cta-section h2 {
    font-size: 2.4rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #e21617, #b50015);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-section p {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 2rem;
}

.main-cta {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: linear-gradient(45deg, #e21617, #b50015);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    margin: 1rem;
}

.main-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(226, 22, 23, 0.4);
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .header h1 {
        font-size: 2.6rem;
    }
    
    .sitemap-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section-card {
        padding: 2rem;
    }
    
    .program-grid,
    .qualiopi-links,
    .newsletter-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .sitemap-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}
