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

body {
    font-family: 'Ubuntu';
    line-height: 1.6;
    background-color: #f8f9fa;
}

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

/* Header et Navigation */
.top-bar {
    padding: 0.2rem 0;
    background: transparent;
}

.contact-info {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-end;
    background: transparent;
}

.contact-info a {
    color: #2c3e50;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: color 0.3s ease;
    font-size: 0.9rem;
    background: transparent;
}

.contact-info i {
    color: #3498db;
    font-size: 0.9rem;
}

nav {
    padding: 1rem 0;
    background: white;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-header {
    max-height: 30px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-link {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: #3498db;
}

/* Page d'accueil */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.hero-content {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: -80px;
}

.hero-logo {
    max-width: 400px;
    width: 90%;
    height: auto;
    margin-top: -80px;
    margin-bottom: 1rem;
    object-fit: contain;
}

.hero h1 {
    margin: 0.5rem 0;
    font-size: 4rem;
    font-weight: 700;
    padding: 0;
    line-height: 1.1;
}

.hero .subtitle {
    margin: 0.5rem 0;
    font-size: 1.8rem;
    font-weight: 500;
    color: #000000;
    line-height: 1.5;
}

/* Style du bouton hero */
.btn-hero {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.btn-hero:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

/* Ajout pour le responsive */
@media (max-width: 768px) {
    .btn-hero {
        padding: 0.8rem 2rem;
        font-size: 1.1rem;
    }
}

/* Section Valeurs */
.values-section {
    padding: 4rem 0;
    text-align: center;
}

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

/* Style pour la citation de Stallman */
.stallman-quote {
    text-align: center;
    margin: 2.5rem auto 3.5rem;
    max-width: 800px;
}

.stallman-quote blockquote {
    border: none;
    padding: 0;
}

.stallman-quote p {
    font-size: 2rem;
    font-weight: 300;
    color: #2c3e50;
    line-height: 1.4;
    margin-bottom: 1rem;
    font-style: italic;
}

.stallman-quote cite {
    font-size: 1.2rem;
    color: #3498db;
    font-style: normal;
    font-weight: 500;
    display: block;
}

.stallman-quote cite::before {
    content: "— ";
}

/* Responsive */
@media (max-width: 768px) {
    .stallman-quote {
        margin: 2rem auto 3rem;
    }

    .stallman-quote p {
        font-size: 1.5rem;
    }

    .stallman-quote cite {
        font-size: 1rem;
    }
}

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

.service-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-icon {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1rem;
}

.service-icon i {
    font-size: 4rem;
    color: #3498db;
    transition: transform 0.3s ease;
}

.service-icon:hover i {
    transform: scale(1.1);
}

.service-icon .fa-linux,
.service-icon .fa-desktop,
.service-icon .fa-tools,
.service-icon .fa-graduation-cap,
.service-icon .fa-code,
.service-icon .fa-chess {
    font-size: 4rem;
}

.service-details {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: center;
}

.service-details h3 {
    margin-bottom: 1.5rem;
    color: #2c3e50;
    font-size: 1.5rem;
}

.service-details ul {
    list-style: none;
    padding: 0;
    margin: 0 0 auto;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-details ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.service-details ul li:last-child {
    border-bottom: none;
}

.service-details .price-tag {
    margin: 1.5rem 0;
    padding: 1rem;
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    border-top: 2px solid #f0f0f0;
    border-bottom: 2px solid #f0f0f0;
}

.service-details .btn-contact {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin: 0 auto;
}

.service-details .btn-contact:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Page Contact */
.contact-page {
    padding: 2rem 0;
}

/* En-tête avec les coordonnées principales */
.contact-header {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    margin-bottom: 2.5rem;
}

.contact-main-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

/* Grille principale */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start; /* Aligne les éléments en haut */
}

/* Style amélioré pour le formulaire de contact */
.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.contact-form h2 {
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    text-align: center;
    position: relative;
}

.contact-form h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #3498db;
    border-radius: 2px;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-control-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.form-control-wrapper .input-icon {
    position: absolute;
    left: 1rem;
    color: #95a5a6;
    transition: all 0.3s ease;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 2.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    color: #2c3e50;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
    padding-left: 2.8rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #3498db;
    background-color: white;
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.1);
}

.form-group input:focus + .input-icon,
.form-group textarea:focus + .input-icon {
    color: #3498db;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.submit-btn .btn-icon {
    font-size: 1.1rem;
}

/* Container info et horaires */
.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

/* Nouveau style pour le bloc horaires */
.horaires-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.horaires-section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    color: #2c3e50;
    text-align: center;
    font-family: 'Ubuntu';
    padding-bottom: 1rem;
    position: relative;
}

.horaires-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #3498db;
    border-radius: 2px;
}

.horaires-grid {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.2rem;
    padding-top: 0.8rem;
    padding-bottom: 0.5rem;
}

.horaire-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 1.2rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.horaire-item:hover {
    background-color: #e9ecef;
}

.horaire-item .jour {
    font-weight: 600;
    min-width: 100px;
}

.horaire-item .heures {
    color: #666;
}

.horaire-item.ferme .heures {
    color: #dc3545;
}

/* Ajustements pour mobile */
@media (max-width: 768px) {
    .horaires-grid {
        gap: 0.7rem;
        margin-top: 1rem;
        padding-top: 0.6rem;
    }

    .horaire-item {
        padding: 0.6rem 1rem;
    }
}

.horaire-item.ferme {
    background: #fee7e7;
}

.horaire-item.ferme .jour::before {
    background: #e74c3c;
}

.horaire-item.aujourd-hui {
    background: #e8f6f3;
    border-left: 4px solid #2ecc71;
}

.horaire-item.aujourd-hui .jour::before {
    background: #2ecc71;
}

@media (max-width: 768px) {
    .horaires-section {
        padding: 1.5rem;
    }
    
    .horaire-item {
        padding: 0.6rem 1rem;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .contact-page {
        padding: 1.5rem 0;
    }

    .contact-header {
        padding: 2rem;
        margin-bottom: 2rem;
    }

    .contact-main-info {
        gap: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info-container {
        gap: 2rem;
    }

    .contact-form,
    .horaires-section {
        padding: 2rem;
    }
}

/* Footer */
footer {
    background: white;
    padding: 2rem 0;
    margin-top: 4rem;
    box-shadow: 0 -2px 15px rgba(0,0,0,0.1);
}

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

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-logo {
        width: 300px;
        height: 300px;
        margin-top: 0;
    }

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

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

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

/* Boutons et éléments communs */
.btn-contact {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    text-align: center;
    margin-top: auto;
}

.btn-contact:hover {
    background-color: #2980b9;
}

/* Style du lien WhatsApp */
.whatsapp-link {
    color: #25D366 !important; /* Couleur officielle WhatsApp */
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: opacity 0.3s ease;
}

.whatsapp-link i {
    color: #25D366 !important;
}

.whatsapp-link:hover {
    opacity: 0.8;
}

/* Ajustement pour mobile */
@media (max-width: 768px) {
    .contact-info {
        gap: 1rem;
    }
}

/* Style du bouton WhatsApp dans la page contact */
.whatsapp-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background-color: #25D366;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-button i {
    font-size: 1.5rem;
}

.whatsapp-button:hover {
    background-color: #22c35e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Ajustement pour mobile */
@media (max-width: 768px) {
    .whatsapp-button {
        padding: 0.8rem 1.5rem;
    }
}

/* Style de la barre supérieure */
.top-bar {
    padding: 0.2rem 0;
    background: transparent;
}

.contact-info {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-end;
    background: transparent;
}

/* Style pour les commandes en gras */
.code {
    font-family: "Fira Code", monospace; /* Utilise une police de type monospace */
    border-radius: 1px; /* Arrondit les coins */
    font-size: 1rem; /* Ajustez la taille de la police si nécessaire */
}

/* Classe pour l'espacement */
.spacing {
    margin-left: 0.5rem; /* Ajustez la valeur selon vos besoins */
}

.contact-info a {
    color: #2c3e50;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: color 0.3s ease;
    font-size: 0.9rem;
    background: transparent;
}

/* Style spécifique pour le lien WhatsApp */
.whatsapp-link {
    color: #25D366 !important;
}

.whatsapp-link i {
    color: #25D366 !important;
}

.whatsapp-link:hover {
    opacity: 0.8;
}

/* Style pour les images dans les articles */
.article-image img {
    max-width: 100%; /* S'assure que l'image ne dépasse pas la largeur de son conteneur */
    height: auto; /* Maintient le ratio d'aspect de l'image */
    width: 100%; /* Ajustez cette valeur pour agrandir l'image, par exemple 100% */
    margin: 0 auto; /* Centre l'image */
    display: block; /* Assure que l'image est un bloc pour le centrage */
}

.ubuntu-article .article-image {
    width: 70%; /* Assurez-vous que le conteneur prend toute la largeur disponible */
    max-width: 70%; /* Empêche le conteneur de dépasser la largeur de son parent */
    overflow: hidden; /* Évite que le contenu déborde */
}

/* Style du bouton Discord */
.discord-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background-color: #7289DA;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(114, 137, 218, 0.3);
}


.discord-button:hover {
    background-color: #5b6eae; /* Couleur au survol */
    transform: translateY(-2px); /* Légère translation vers le haut */
    box-shadow: 0 6px 20px rgba(114, 137, 218, 0.4); /* Ombre au survol */
}

/* Alignement des liens WhatsApp et Discord côte à côte */
.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-info {
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .contact-info a {
        font-size: 0.8rem;
    }
}

/* Style du select dans le formulaire */
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    color: #2c3e50;
    background-color: white;
    cursor: pointer;
    appearance: none; /* Retire le style par défaut */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

.form-group select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.form-group select:hover {
    border-color: #3498db;
}

/* Style des options */
.form-group select option {
    padding: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
    .form-group select {
        font-size: 0.9rem;
        padding: 0.7rem;
    }
}

/* Mise à jour du style de la grille de contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem 0;
}

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

/* Responsive */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info-container {
        gap: 1.5rem;
    }
}

/* Style de l'en-tête des contacts */
.contact-header {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

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

.main-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.main-info-item i {
    font-size: 1.8rem;
    color: #3498db;
}

.main-info-item a {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.main-info-item a:hover {
    color: #3498db;
}

/* Style du bouton WhatsApp */
.whatsapp-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background-color: #25D366;
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-button i {
    font-size: 1.5rem;
}

.whatsapp-button:hover {
    background-color: #22c35e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .contact-main-info {
        gap: 1.5rem;
        flex-direction: column;
        text-align: center;
    }

    .main-info-item a {
        font-size: 1.3rem;
    }

    .whatsapp-button {
        padding: 0.7rem 1.5rem;
        font-size: 1.1rem;
    }
}

/* Style pour la section définition FSF */
.fsf-definition {
    margin: 3rem 0;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.fsf-definition h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.fsf-definition blockquote {
    border-left: 4px solid #3498db;
    padding-left: 1.5rem;
    font-style: italic;
    color: #34495e;
}

.fsf-definition p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.fsf-definition p:last-child {
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .fsf-definition {
        margin: 2rem 0;
        padding: 1.5rem;
    }

    .fsf-definition h3 {
        font-size: 1.3rem;
    }
}

/* Style pour la page mentions légales */
.mentions-legales-page {
    padding: 4rem 0;
}

.mentions-legales-page h1 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

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

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.legal-section p {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.legal-section a {
    color: #3498db;
    text-decoration: none;
}

.legal-section a:hover {
    text-decoration: underline;
}

/* Style pour le lien mentions légales dans le footer */
.footer-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #3498db;
}

/* Style pour la définition Open Source */
.opensource-definition {
    margin: 3rem 0;
    padding: 2.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.opensource-definition h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.5rem;
}

.opensource-definition h4 {
    color: #2c3e50;
    margin: 2rem 0 1rem;
    font-size: 1.2rem;
}

.definition-content {
    color: #34495e;
    line-height: 1.8;
}

.definition-content p {
    margin-bottom: 1.5rem;
}

.definition-content p:last-child {
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .opensource-definition {
        margin: 2rem 0;
        padding: 1.5rem;
    }

    .opensource-definition h3 {
        font-size: 1.3rem;
    }

    .opensource-definition h4 {
        font-size: 1.1rem;
    }
}

/* Style amélioré pour la section Open Source */
.opensource-intro {
    margin: 3rem 0;
    padding: 3rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.opensource-intro h3 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.8rem;
    position: relative;
}

.opensource-intro h3:after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #3498db;
    margin: 1rem auto 0;
}

.opensource-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.opensource-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.icon-container {
    background: #f8f9fa;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.opensource-item:hover .icon-container {
    transform: translateY(-5px);
}

.opensource-item i {
    font-size: 2rem;
    color: #3498db;
}

.item-content h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.item-content p {
    color: #34495e;
    line-height: 1.6;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 992px) {
    .opensource-grid {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .opensource-intro {
        padding: 2rem;
    }

    .opensource-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .opensource-intro h3 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .item-content h4 {
        font-size: 1.2rem;
    }

    .item-content p {
        font-size: 1rem;
    }
}

/* Style pour la liste des avantages Linux */
.linux-advantages ul {
    list-style: none; /* Supprime les points */
    padding: 0;
    margin: 0;
}

.linux-advantages li {
    margin: 0.8rem 0;
    color: #34495e;
    font-size: 1.1rem;
}

/* Style amélioré pour le titre Nos Valeurs */
.values-section h2 {
    font-size: 3rem;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
}

.values-section h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

/* Responsive */
@media (max-width: 768px) {
    .values-section h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .values-section h2 {
        font-size: 2rem;
    }
}

/* Style pour les quatre libertés */
.four-freedoms {
    margin: 2.5rem 0;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.four-freedoms h3 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 1.8rem;
    position: relative;
}

.four-freedoms h3:after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #3498db;
    margin: 1rem auto 0;
}

.freedoms-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.freedom-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.3s ease;
    border: 1px solid rgba(52, 152, 219, 0.1);
    min-height: 80px;
}

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

.freedom-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    background: #3498db;
    color: white;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
    border: 2px solid #fff;
    position: relative;
    padding-bottom: 2px;
    line-height: 1;
}

.freedom-number::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.freedom-item p {
    color: #2c3e50;
    line-height: 1.5;
    font-size: 1.05rem;
    margin: -2px 0 0 0;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 992px) {
    .freedoms-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .freedom-item {
        padding: 1.25rem;
    }
}

@media (max-width: 768px) {
    .four-freedoms {
        padding: 1.5rem;
    }

    .freedom-item {
        padding: 1rem;
        gap: 1rem;
    }

    .freedom-number {
        width: 35px;
        height: 35px;
        font-size: 1.3rem;
    }

    .freedom-item p {
        font-size: 1rem;
        line-height: 1.4;
    }
}

/* Style optimisé pour le texte d'introduction */
.values-intro {
    max-width: 900px;
    margin: 2rem auto;
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.values-intro p {
    color: #2c3e50;
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .values-intro {
        margin: 1.5rem auto;
        padding: 1.25rem;
    }

    .values-intro p {
        font-size: 1.1rem;
        line-height: 1.5;
    }
}

/* Style amélioré pour le bouton d'envoi */
.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    position: relative;
    overflow: hidden;
    width: 200px;
    margin: 20px auto;
}

.submit-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(52, 152, 219, 0.3);
}

.btn-text {
    position: relative;
    z-index: 1;
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* Animation lors du hover */
.submit-btn:hover .btn-icon {
    animation: fly 0.6s ease-in-out;
}

@keyframes fly {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(5px);
    }
    100% {
        transform: translateX(0);
    }
}

/* État de chargement */
.submit-btn.loading {
    background: #34495e;
    cursor: wait;
}

.submit-btn.loading .btn-text {
    opacity: 0.7;
}

.submit-btn.loading .btn-icon {
    animation: rotate 1s infinite linear;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .submit-btn {
        width: 180px;
        padding: 12px 25px;
        font-size: 1rem;
    }
}

/* Ajout du style spécifique pour le select */
.form-group select {
    padding-left: 2.8rem;  /* Même padding que les autres inputs */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 8.825L1.175 4 2.238 2.938 6 6.7l3.763-3.762L10.825 4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    cursor: pointer;
}

/* Style pour l'option par défaut */
.form-group select option[value=""] {
    color: #95a5a6;
}

/* Suppression de la flèche native sur IE */
.form-group select::-ms-expand {
    display: none;
}

/* Style au survol et focus */
.form-group select:hover,
.form-group select:focus {
    border-color: #3498db;
}

/* Styles pour les pages de détail des services */
.service-detail-page {
    padding: 3rem 0;
}

.service-header {
    text-align: center;
    margin-bottom: 3rem;
}

.service-header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.service-header h1 i {
    color: #3498db;
}

.service-header .price-tag {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    background: #f8f9fa;
    padding: 0.5rem 2rem;
    border-radius: 50px;
    display: inline-block;
}

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

.service-description {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.service-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.feature {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

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

.feature i {
    font-size: 2rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.feature h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.feature p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

.service-contact {
    position: sticky;
    top: 2rem;
}

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

.contact-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-phone,
.btn-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-phone {
    background: #2ecc71;
    color: white;
}

.btn-contact {
    background: #3498db;
    color: white;
}

.btn-phone:hover,
.btn-contact:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

@media (max-width: 768px) {
    .service-content {
        grid-template-columns: 1fr;
    }

    .service-features {
        grid-template-columns: 1fr;
    }

    .service-contact {
        position: static;
    }
}

/* Styles additionnels pour les pages formation et soutien */
.formation-details,
.soutien-avantages {
    margin-top: 2rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.formation-details h3,
.soutien-avantages h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.formation-details ul,
.soutien-avantages ul {
    list-style: none;
    padding: 0;
}

.formation-details li,
.soutien-avantages li {
    padding: 0.5rem 0;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.formation-details li:before,
.soutien-avantages li:before {
    content: '✓';
    color: #2ecc71;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Style spécifique pour les icônes des matières */
.fas.fa-square-root-alt,
.fas.fa-atom {
    font-size: 1.8rem;
}

/* Animation au survol des features */
.feature:hover {
    background: #e8f4fc;
}

/* Styles additionnels pour la page montage PC */
.montage-details {
    margin-top: 2rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.montage-details h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.usage-types {
    margin-top: 2rem;
}

.usage-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.usage-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.usage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.usage-item i {
    font-size: 2rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.usage-item h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.usage-item p {
    color: #666;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .usage-grid {
        grid-template-columns: 1fr;
    }
}

.services-page {
    padding: 2rem 0;
}

/* Style pour le menu hamburger */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #2c3e50;
    cursor: pointer;
    padding: 0.5rem;
    transition: transform 0.3s ease;
}

.mobile-menu-btn.active {
    transform: rotate(90deg);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Media queries pour le responsive */
@media screen and (max-width: 768px) {
    header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: #fff;
        z-index: 1000;
    }

    .mobile-menu-btn {
        display: block;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        top: 120px;
        left: 0;
        right: 0;
        background-color: #fff;
        padding: 1.5rem;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column;
        gap: 1.2rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links li {
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
    }

    /* Animation décalée pour chaque élément du menu */
    .nav-links li:nth-child(1) { transition-delay: 0.1s; }
    .nav-links li:nth-child(2) { transition-delay: 0.2s; }
    .nav-links li:nth-child(3) { transition-delay: 0.3s; }
    .nav-links li:nth-child(4) { transition-delay: 0.4s; }

    .nav-links a {
        display: block;
        padding: 1rem;
        font-size: 1.1rem;
        color: #2c3e50;
        text-align: center;
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .nav-links a:hover {
        background-color: #f8f9fa;
        transform: translateX(5px);
    }

    .nav-link i {
        margin-right: 10px;
        color: #3498db;
    }

    /* Ajustement du contenu principal */
    main {
        margin-top: 120px;
    }
}

/* Styles pour la page blog */
.blog-page {
    padding: 3rem 0;
    background: #f8f9fa;
    margin-top: 30px;
    position: relative;
    background-color: #fff;
    padding-top: 1rem;
}

header {
    position: relative;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.blog-header {
    text-align: center;
    margin-bottom: 2rem;
    margin-top: -1rem;
}

.blog-header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.blog-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    padding: 0 1rem;
}

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

.blog-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

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

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

.blog-content {
    padding: 1.5rem;
}

.blog-category {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: #3498db;
    color: white;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-content h2 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.blog-meta {
    display: flex;
    gap: 1.5rem;
    color: #95a5a6;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-page {
        padding-top: 2rem;
        margin-top: 1.5rem;
    }

    .blog-header {
        margin-top: 0.5rem;
        margin-bottom: 1.5rem;
    }

    .blog-header h1 {
        font-size: 2rem;
        margin-bottom: 0.8rem;
        margin-top: 1rem;
    }

    .blog-header p {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* Styles pour la page CCNA */
.ccna-page {
    padding: 3rem 0;
    background: #f8f9fa;
}

.ccna-content {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.ccna-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f0f0f0;
}

.ccna-header h1 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.ccna-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: #666;
}

.ccna-description {
    margin-bottom: 3rem;
    line-height: 1.6;
}

.youtube-link {
    color: #ff0000;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.youtube-link:hover {
    text-decoration: underline;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(350px, 1fr));
    gap: 2rem;
    margin: 2rem auto;
    width: 100%;
}

.course-item {
    background: #ffffff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 200px;
}

.course-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.course-item h3 {
    color: #2c3e50;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.course-item p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.5;
    flex-grow: 1;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1rem;
    transition: background 0.3s ease;
    width: 100%;
    margin-top: auto;
}

.download-btn:hover {
    background: #2980b9;
}

/* Responsive */
@media (max-width: 1400px) {
    .course-grid {
        grid-template-columns: repeat(2, minmax(300px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .course-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .course-item {
        padding: 1.5rem;
    }
}

/* Image de l'article encore plus réduite */
.article-image {
    margin: 2rem auto;
    max-width: 300px;
    width: 90%;
}

.article-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Container principal ajusté pour un meilleur centrage */
.article-content {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .course-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .course-grid {
        grid-template-columns: 1fr;
    }
    
    .article-image {
        max-width: 300px;
    }
}

/* Styles mis à jour pour la prévisualisation PDF centrée */
.pdf-preview {
    margin: 2rem auto;
    text-align: center;
    max-width: 800px;
    width: 90%; /* Pour la responsivité */
}

.pdf-preview h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    font-size: 1.4rem;
}

.pdf-container {
    width: 100%;
    height: 600px;
    margin: 0 auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.pdf-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block; /* Élimine tout espace indésirable */
}

/* Responsive */
@media (max-width: 768px) {
    .pdf-container {
        height: 400px;
    }
    
    .pdf-preview {
        width: 95%; /* Légèrement plus large sur mobile */
    }
}

.service-image {
    text-align: center;
    margin: 2rem 0;
}

.service-image img {
    max-width: 100%;
    height: auto;
    width: 400px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

h1 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.highlight-text {
    font-size: 1.2rem;
    font-weight: bold;
    color: #2c3e50;
    background-color: #f0f8ff;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin: 2rem 0;
}

/* Style pour les listes */
ul {
    list-style-position: inside;
    padding-left: 1rem;
    margin: 0.5rem 1rem;
    max-width: 1000px;
}

ul li {
    padding: 0.2rem 0;
    text-align: left;
}

/* Style spécifique pour les listes d'adresses */
ul.address-list {
    list-style-type: disc; /* Ajoute des points */
    padding-left: 1rem;
    margin: 0.5rem 1rem;
}

ul.address-list li {
    margin-bottom: 0.2rem;
    text-align: left;
}

.contact-message {
    text-align: center;
    margin: 3rem auto 1rem;
    padding: 1.5rem;
    font-size: 1.4rem;
    font-weight: bold;
    color: #2c3e50;
    max-width: 600px;
}

.contact-message::before,
.contact-message::after {
    content: "✦";
    margin: 0 10px;
    color: #3498db;
}

/* Suppression de tous les effets de survol sur le message */
.contact-message:hover {
    background-color: transparent;
    color: #2c3e50;
    transform: none;
}

.price-highlight {
    display: block;
    margin: 2rem auto;
    padding: 1rem 1.5rem;
    font-size: 1.3rem;
    font-weight: bold;
    color: #2c3e50;
    border: 2px solid #3498db;
    border-radius: 8px;
    text-align: center;
    width: fit-content;
}

.price-highlight i {
    color: #3498db;
    margin-right: 8px;
}

/* Ajoutez ces styles pour le bouton */
.submit-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.submit-btn.loading .btn-icon {
    animation: rotate 1s infinite linear;
}

.submit-btn:not(.loading) .btn-icon {
    animation: none;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.feedback-section {
    margin-top: 3rem;
    padding: 2rem;
    text-align: center;
    border-top: 1px solid #eee;
}

.feedback-section a {
    color: #3498db;
    text-decoration: none;
}

.feedback-section a:hover {
    text-decoration: underline;
}

/* Style pour le logo dans la section hero */
.hero-logo {
    max-width: 400px;
    width: 90%;
    height: auto;
    margin-top: -80px;
    margin-bottom: 1rem;
    object-fit: contain;
}

/* Ajustements pour mobile */
@media (max-width: 768px) {
    .hero {
        min-height: calc(100vh - 120px);
        margin-top: 30px;
    }

    .hero-content {
        margin-top: -60px;
        padding-top: 20px;
    }

    .hero-logo {
        max-width: 280px;
        width: 85%;
        margin-top: -30px;
        margin-bottom: 1.5rem;
    }

    /* Ajustements pour l'en-tête */
    header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: #fff;
        z-index: 1000;
    }

    main {
        margin-top: 120px;
    }

    /* Ajustements pour les autres pages */
    .services-page,
    .blog-page,
    .contact-page {
        margin-top: 40px;
    }

    .contact-header,
    .services-header,
    .blog-header {
        margin-top: 30px;
        padding-top: 20px;
    }
}

/* Pour les très petits écrans */
@media (max-width: 480px) {
    .hero-content {
        margin-top: -70px;
    }

    .hero-logo {
        max-width: 260px;
        margin-top: -40px;
    }
}

@media (max-width: 768px) {
    /* Ajustements communs */
    header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: #fff;
        z-index: 1000;
    }

    main {
        margin-top: 110px;
    }

    /* Ajustements spécifiques pour la page services */
    .services-page {
        margin-top: 45px; /* Augmenté de 25px à 45px */
    }

    .services-header,
    .services-grid {
        margin-top: 55px; /* Augmenté de 35px à 55px */
        padding-top: 25px;
    }

    /* Conserver les ajustements pour la page contact */
    .contact-page {
        margin-top: 45px;
    }

    .contact-header {
        margin-top: 65px;
        padding-top: 25px;
    }
}

/* Pour les très petits écrans */
@media (max-width: 480px) {
    .services-header,
    .services-grid {
        margin-top: 65px; /* Augmenté de 40px à 65px */
    }

    .contact-header {
        margin-top: 75px;
    }
}
@media (max-width: 768px) {
    /* Ajustements communs */
    header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: #fff;
        z-index: 1000;
    }

    main {
        margin-top: 110px;
    }

    /* Ajustements spécifiques pour la page services */
    .services-page {
        margin-top: 35px; /* Réduit de 45px à 35px */
    }

    .services-header,
    .services-grid {
        margin-top: 45px; /* Réduit de 55px à 45px */
        padding-top: 25px;
    }

    /* Conserver les ajustements pour la page contact */
    .contact-page {
        margin-top: 45px;
    }

    .contact-header {
        margin-top: 65px;
        padding-top: 25px;
    }
}
/* Pour les très petits écrans */
@media (max-width: 480px) {
    .services-header,
    .services-grid {
        margin-top: 55px; /* Réduit de 65px à 55px */
    }

    .contact-header {
        margin-top: 75px;
    }
}

/* Ajustements pour la page blog */
.blog-page {
    background-color: #f8f9fa;
}

.blog-grid {
    background-color: transparent; /* Supprime le background spécifique */
}

.blog-card {
    background-color: #fff; /* Garde le fond blanc pour les cartes */
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Ajustements pour l'article complet */
.article-page {
    background-color: #f8f9fa;
}

.article-content {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin: 2rem 0;
}

@media (max-width: 768px) {
    .contact-grid {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .contact-header {
        order: 1;
    }

    .horaires-section {
        order: 2;
    }

    .contact-form {
        order: 3;
    }
}

/* Style des sections de contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem 0;
}

.horaires-section,
.contact-form {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    height: auto;
    min-height: auto;
}

/* Ajustements spécifiques pour la section horaires */
.horaires-section {
    min-height: 520px; /* Hauteur minimale égale à celle du formulaire */
}

/* Ajustements spécifiques pour le formulaire */
.contact-form {
    min-height: 520px;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .horaires-section,
    .contact-form {
        min-height: auto; /* Supprime la hauteur minimale sur mobile */
        height: auto;
    }
}

/* Style des titres des sections */
.horaires-section h2,
.contact-form h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    color: #2c3e50;
    text-align: center;
    font-family: 'Ubuntu';
    padding-bottom: 1rem;
    position: relative;
}

/* Ligne décorative sous les titres */
.horaires-section h2::after,
.contact-form h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #3498db;
    border-radius: 2px;
}

/* Ajustement spécifique pour l'icône dans le titre des horaires */
.horaires-section h2 i {
    margin-right: 0.5rem;
    font-size: 1.6rem;
    color: #3498db;
    vertical-align: middle;
}

/* Responsive */
@media (max-width: 768px) {
    .horaires-section h2,
    .contact-form h2 {
        font-size: 1.6rem;
        margin-bottom: 1.2rem;
    }

    .horaires-section h2 i {
        font-size: 1.4rem;
    }
}

.contact-links {
    display: flex;
    gap: 10px;
}

.paypal-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background-color: #0070ba;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 112, 186, 0.3);
}

.paypal-button:hover {
    background-color: #005ea6;
        transform: translateY(-2px); /* Légère translation vers le haut */
    box-shadow: 0 6px 20px rgba(0, 112, 186, 0.4); /* Couleur au survol */
}

@media (max-width: 768px) {
    .contact-links {
        flex-direction: column; /* Aligne les éléments en colonne */
        align-items: center; /* Centre les éléments horizontalement */
        gap: 1rem; /* Espacement entre les boutons */
    }

    .contact-links a {
        width: 100%; /* Optionnel : pour que les boutons prennent toute la largeur */
        text-align: center; /* Centre le texte dans les boutons */
    }
}

/* Styles pour la page de statistiques */
.admin-stats {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 1rem;
}

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

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

.stat-card h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.stat-card p {
    font-size: 1.5rem;
    color: #3498db;
    font-weight: bold;
}

.stats-chart {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.admin-login {
    max-width: 400px;
    margin: 5rem auto;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.admin-login form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.admin-login input {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.admin-login button {
    padding: 0.8rem;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.admin-login button:hover {
    background: #2980b9;
}

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

.article-stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.article-stat-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.article-stat-card p {
    margin: 0.5rem 0;
    color: #3498db;
}

.locations-stats {
    margin: 2rem 0;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    overflow-x: auto;
}

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

.locations-table th,
.locations-table td {
    padding: 0.8rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.locations-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
}

.locations-table tr:hover {
    background: #f8f9fa;
}

.video-section {
    text-align: center; /* Centre le contenu */
}