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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.nav-logo a {
    text-decoration: none;
    color: inherit;
}

.nav-link.active {
    color: #2563eb;
    font-weight: 600;
}

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

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

.nav-logo h2 {
    color: #2563eb;
    font-weight: 700;
    font-size: 1.5rem;
}

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

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #2563eb;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #2563eb;
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Section Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

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

.hero-image i {
    font-size: 15rem;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #2563eb;
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #2563eb;
    transform: translateY(-2px);
}

/* Sections générales */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* Section Services */
.services {
    background: white;
    padding: 5rem 0;
}

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

.service-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.service-card p {
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn-outline {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.btn-outline:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
}

/* Section À propos (résumé) */
.about-summary {
    background: #f9fafb;
    padding: 5rem 0;
}

.about-summary-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-summary .about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.about-summary .about-text p {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Section À propos */
.about {
    background: #f9fafb;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin: 2rem 0 1rem 0;
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-text p {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.about-text ul {
    list-style: none;
    margin: 1.5rem 0;
}

.about-text li {
    color: #6b7280;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.about-text li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: bold;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat h3 {
    font-size: 3rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #6b7280;
    font-weight: 500;
}

/* Section Formations */
.formations {
    background: white;
}

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

.formation-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.formation-card-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.formation-card-bottom {
    margin-top: auto;
    display: flex;
    flex-direction: column;
}

.formation-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.formation-card.featured {
    border-color: #2563eb;
    transform: scale(1.05);
}

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

.formation-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #2563eb;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.formation-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.formation-icon i {
    font-size: 2rem;
    color: white;
}

.formation-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.formation-duration {
    color: #2563eb;
    font-weight: 600;
    margin-bottom: 1rem;
}

.formation-description {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.formation-features {
    list-style: none;
    margin-bottom: 2rem;
}

.formation-features li {
    color: #6b7280;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.formation-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: bold;
}

.formation-details {
    background: #f9fafb;
    border-radius: 10px;
    padding: 1rem;
    margin: 1.5rem 0;
    min-height: 60px;
    display: flex;
    align-items: center;
}

.formation-details p {
    color: #6b7280;
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.formation-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
    text-align: center;
    margin: 1rem 0;
    padding: 0.5rem 0;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.formation-select {
    width: 100%;
    margin-top: auto;
    margin-bottom: 0;
}

.formation-card .btn {
    font-size: 0.9rem;
    padding: 10px 20px;
}

/* Prix final */
.prix-final {
    background: #f0f9ff;
    border: 2px solid #2563eb;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1rem 0;
    text-align: center;
}

.prix-final h4 {
    color: #2563eb;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.prix-final .prix-details {
    color: #6b7280;
    font-size: 0.9rem;
    margin: 0;
}

.formation-select.selected {
    background: #1d4ed8;
    transform: scale(1.02);
}

/* Section Téléchargement */
.downloads {
    background: white;
}

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

.download-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.download-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.download-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.download-icon i {
    font-size: 2rem;
    color: white;
}

.download-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.download-description {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.download-details {
    background: #f9fafb;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.download-details p {
    color: #6b7280;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.download-details p:last-child {
    margin-bottom: 0;
}

.download-actions {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.download-actions .btn {
    flex: 1;
    text-align: center;
    font-size: 0.9rem;
    padding: 10px 15px;
}

/* Macros Payantes */
.download-card.premium {
    border: 2px solid #f59e0b;
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #fef3c7 100%);
}

.download-card.premium:hover {
    border-color: #d97706;
    box-shadow: 0 20px 60px rgba(245, 158, 11, 0.2);
}

.download-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.download-card.premium .download-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.download-card.premium .download-details p:last-child {
    color: #d97706;
    font-weight: 600;
    font-size: 1rem;
}

/* Section Installation */
.installation-section {
    background: #f9fafb;
    border-radius: 20px;
    padding: 3rem;
    margin: 4rem 0;
}

.installation-section h2 {
    text-align: center;
    color: #1f2937;
    margin-bottom: 2rem;
    font-size: 2rem;
}

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

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

.step-number {
    width: 40px;
    height: 40px;
    background: #2563eb;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.step-content h4 {
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.step-content p {
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

/* Section Support */
.support-section {
    text-align: center;
    background: white;
    border-radius: 20px;
    padding: 3rem;
    margin: 4rem 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.support-section h2 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.support-section p {
    color: #6b7280;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.support-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.support-actions .btn {
    min-width: 200px;
}

.support-actions .btn-secondary {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.support-actions .btn-secondary:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
}

.formation-select:hover {
    transform: translateY(-2px);
}

/* Section Contact */
.contact {
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.contact-info h2 {
    color: #1f2937;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 15px;
    transition: all 0.3s ease;
    min-height: 80px;
}

.contact-item:hover {
    background: #f3f4f6;
    transform: translateY(-2px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0;
}

.contact-icon i {
    font-size: 1.5rem;
    color: white !important;
}

.contact-icon .fas,
.contact-icon .far,
.contact-icon .fab {
    color: white !important;
}

.contact-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.contact-details h3 {
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    margin-top: 0;
}

.contact-details p {
    color: #6b7280;
    margin: 0;
    font-size: 1rem;
}

.contact-form-container {
    background: #f9fafb;
    border-radius: 20px;
    padding: 2.5rem;
}

.contact-form h3 {
    color: #1f2937;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    text-align: center;
}

/* Section FAQ */
.faq-section {
    background: #f9fafb;
    border-radius: 20px;
    padding: 3rem;
    margin: 4rem 0;
}

.faq-section h2 {
    text-align: center;
    color: #1f2937;
    margin-bottom: 2rem;
    font-size: 2rem;
}

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

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.faq-item h3 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.faq-item p {
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

/* Section Paiement */
.payment {
    background: white;
}

.payment-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.order-summary {
    background: #f9fafb;
    border-radius: 20px;
    padding: 2.5rem;
}

.order-summary h2 {
    color: #1f2937;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.item-info h3 {
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.item-info p {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.item-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
    flex-shrink: 0;
}

.order-total {
    border-top: 2px solid #e5e7eb;
    padding-top: 1.5rem;
}

.total-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    color: #6b7280;
}

.total-line.total {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1f2937;
    border-top: 1px solid #e5e7eb;
    padding-top: 1rem;
    margin-top: 1rem;
}

.payment-form-container {
    background: #f9fafb;
    border-radius: 20px;
    padding: 2.5rem;
}

.payment-form h3 {
    color: #1f2937;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.payment-methods {
    margin: 2rem 0;
}

.payment-methods h3 {
    margin-bottom: 1rem;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.payment-option {
    position: relative;
}

.payment-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.payment-option label {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-option input[type="radio"]:checked + label {
    border-color: #2563eb;
    background: #f0f9ff;
}

.payment-option label i {
    font-size: 1.5rem;
    color: #2563eb;
    width: 30px;
    text-align: center;
}

.payment-option label span {
    font-weight: 600;
    color: #1f2937;
}

.payment-option label small {
    display: block;
    color: #6b7280;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.payment-info {
    margin: 2rem 0;
}

.info-box {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #dbeafe;
    border-radius: 15px;
    border-left: 4px solid #2563eb;
}

.info-box i {
    color: #2563eb;
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.info-box h4 {
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.info-box p {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.payment-btn {
    width: 100%;
    font-size: 1.1rem;
    padding: 1rem 2rem;
    margin-top: 1rem;
}

/* Section Panier */
.cart {
    background: white;
}

.cart-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.cart-empty {
    text-align: center;
    padding: 4rem 2rem;
    background: #f9fafb;
    border-radius: 20px;
}

.empty-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.empty-icon i {
    font-size: 3rem;
    color: white;
}

.cart-empty h2 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.cart-empty p {
    color: #6b7280;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap: 2rem;
    align-items: center;
    padding: 2rem;
    background: #f9fafb;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.item-info h3 {
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.item-info p {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.item-quantity {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #e5e7eb;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    font-weight: 600;
    color: #6b7280;
}

.quantity-btn:hover {
    border-color: #2563eb;
    color: #2563eb;
}

.quantity {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    min-width: 30px;
    text-align: center;
}

.item-price {
    text-align: right;
}

.item-price .price {
    display: block;
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.item-price .total-price {
    display: block;
    color: #2563eb;
    font-size: 1.2rem;
    font-weight: 700;
}

.item-actions {
    display: flex;
    justify-content: center;
}

.remove-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #ef4444;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #ef4444;
}

.remove-btn:hover {
    background: #ef4444;
    color: white;
}

.cart-summary {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.summary-card {
    background: #f9fafb;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.summary-card h3 {
    color: #1f2937;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    text-align: center;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    color: #6b7280;
}

.summary-line.total {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1f2937;
    border-top: 2px solid #e5e7eb;
    padding-top: 1rem;
    margin-top: 1rem;
}

.cart-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.cart-actions .btn {
    width: 100%;
    text-align: center;
    font-size: 1rem;
    padding: 1rem 2rem;
}

.cart-actions .btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


/* Animation pour les notifications */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-item {
        padding: 1rem;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
    }
    
    .contact-icon i {
        font-size: 1.2rem;
    }
    
    .payment-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .order-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .item-price {
        align-self: flex-end;
    }
}

/* Formulaire de formation */
.formation-request {
    background: #f9fafb;
    border-radius: 20px;
    padding: 3rem;
    margin-top: 4rem;
}

.formation-request h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
    text-align: center;
}

.formation-request p {
    color: #6b7280;
    text-align: center;
    margin-bottom: 2rem;
}

/* Section Devis */
.devis {
    background: #f9fafb;
}

/* Informations formations */
.formation-info {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    margin: 4rem 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.formation-info h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 2rem;
    text-align: center;
}

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

.info-card {
    text-align: center;
    padding: 2rem;
    background: #f9fafb;
    border-radius: 15px;
    transition: all 0.3s ease;
}

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

.info-card i {
    font-size: 2.5rem;
    color: #2563eb;
    margin-bottom: 1rem;
}

.info-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.info-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Contact section */
.contact-section {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    margin-top: 4rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.contact-section h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
    text-align: center;
}

.contact-section p {
    color: #6b7280;
    text-align: center;
    margin-bottom: 2rem;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
}

.contact-item i {
    color: #2563eb;
    font-size: 1.2rem;
}

/* Devis guarantees */
.devis-guarantees {
    margin-top: 3rem;
}

.devis-guarantees h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

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

.guarantees-list li {
    color: #6b7280;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.guarantees-list i {
    color: #2563eb;
    font-size: 1.2rem;
}

.devis-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.devis-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.devis-features {
    list-style: none;
    margin-bottom: 3rem;
}

.devis-features li {
    color: #6b7280;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.devis-features i {
    color: #2563eb;
    font-size: 1.2rem;
}

.devis-process h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.step-number {
    width: 40px;
    height: 40px;
    background: #2563eb;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.step-content h5 {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.step-content p {
    color: #6b7280;
    font-size: 0.9rem;
}

.devis-form-container {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.devis-form-container h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 2rem;
    text-align: center;
}

/* Formulaires */
.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 {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

.form-group small {
    color: #6b7280;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: #d1d5db;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #2563eb;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-image i {
        font-size: 8rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-summary-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .formations-grid {
        grid-template-columns: 1fr;
    }
    
    .formation-card.featured {
        transform: none;
    }
    
    .formation-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .devis-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .formation-card,
    .devis-form-container,
    .formation-request {
        padding: 1.5rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

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

.formation-card,
.about-text,
.devis-info {
    animation: fadeInUp 0.6s ease-out;
}

/* Scroll smooth */
html {
    scroll-behavior: smooth;
}

/* Liste des fichiers - Version discrète */
.fichier-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    margin-bottom: 4px;
    font-size: 0.85rem;
    transition: background-color 0.2s ease;
}

.fichier-item:hover {
    background: #e9ecef;
}

.fichier-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.fichier-icon {
    width: 16px;
    height: 16px;
    background: #6c757d;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 8px;
}

.fichier-details {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fichier-nom {
    color: #495057;
    font-size: 0.85rem;
}

.fichier-taille {
    color: #6c757d;
    font-size: 0.75rem;
}

.fichier-status {
    font-size: 0.75rem;
}

.fichier-status.success {
    color: #28a745;
}

.fichier-status.error {
    color: #dc3545;
}

.fichier-supprimer {
    background: none;
    color: #6c757d;
    border: none;
    padding: 2px 6px;
    cursor: pointer;
    font-size: 0.75rem;
    transition: color 0.2s ease;
    opacity: 0.7;
}

.fichier-supprimer:hover {
    color: #dc3545;
    opacity: 1;
}

.fichiers-vide {
    display: none;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #2563eb;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
