/* === VARIABLES COULEURS === */
:root {
    --bleu-nuit: #2C3545;
    --bleu-vif: #3871E0;
    --bleu-hover: #285BBA;
    --fond-gris-clair: #F8FAFC;
    --blanc: #FFFFFF;
    --texte-gris: #64748B;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--blanc);
    color: var(--bleu-nuit);
    line-height: 1.6;
    overflow-x: hidden;
}

/* === NAVIGATION === */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background-color: var(--blanc);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    position: sticky;
    top: 0;
    z-index: 1000;
}
nav .logo img { height: 65px; transition: transform 0.3s ease; }
nav .logo img:hover { transform: scale(1.05); }
nav ul { list-style: none; display: flex; gap: 40px; align-items: center; }
nav ul li a { text-decoration: none; color: var(--bleu-nuit); font-weight: 600; transition: color 0.3s ease; }
nav ul li a:hover, nav ul li a.active { color: var(--bleu-vif); }
.btn-nav { background-color: var(--bleu-vif); color: var(--blanc) !important; padding: 12px 25px; border-radius: 50px; transition: 0.3s ease; }
.btn-nav:hover { background-color: var(--bleu-hover); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(56, 113, 224, 0.4); }

/* === TEXTES & EFFETS LUMINEUX (NOUVEAU) === */
h1 { font-size: 3.5rem; line-height: 1.2; margin-bottom: 25px; }
h1 .highlight { color: var(--bleu-vif); }

/* Effet néon sur le texte */
.glow-text {
    text-shadow: 0 0 15px rgba(56, 113, 224, 0.4);
}
.glow-text-blue {
    color: var(--bleu-vif);
    font-size: 4rem;
    text-shadow: 0 0 20px rgba(56, 113, 224, 0.5);
}

/* Bouton principal avec halo lumineux */
.btn-primary {
    display: inline-block;
    background-color: var(--bleu-vif);
    color: var(--blanc);
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(56, 113, 224, 0.4);
    transition: all 0.4s ease;
}
.glow-button:hover {
    background-color: var(--bleu-hover);
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(56, 113, 224, 0.8); /* Flash de lumière au survol */
}

/* === ACCUEIL HERO === */
.hero { height: 85vh; display: flex; align-items: center; justify-content: center; text-align: center; background: linear-gradient(135deg, var(--fond-gris-clair) 0%, var(--blanc) 100%); padding: 0 5%; }
.hero-content { max-width: 900px; }
.hero p { margin-bottom: 40px; font-size: 1.25rem; color: var(--texte-gris); }

/* === SERVICES & CARTES === */
.services { padding: 100px 5%; text-align: center; }
.services h2 { font-size: 2.5rem; margin-bottom: 50px; }
.cards-container { display: flex; justify-content: center; gap: 50px; flex-wrap: wrap; }
.card { background: var(--blanc); border: 1px solid #E2E8F0; border-radius: 24px; max-width: 420px; padding: 50px 40px; box-shadow: 0 10px 30px rgba(0,0,0,0.03); transition: all 0.4s ease; position: relative; }
.card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 6px; background-color: var(--bleu-nuit); transition: height 0.3s ease; }
.card.premium { border: 2px solid var(--bleu-vif); box-shadow: 0 20px 40px rgba(56, 113, 224, 0.1); }
.card.premium::before { background-color: var(--bleu-vif); }
.card-hover:hover { transform: translateY(-15px); box-shadow: 0 25px 50px rgba(0,0,0,0.1); }
.card-header h3 { font-size: 1.8rem; margin-bottom: 15px; }
.price { font-size: 3rem; font-weight: 700; color: var(--bleu-nuit); margin-bottom: 20px; }
.card.premium .price { color: var(--bleu-vif); }
.btn-card { display: inline-block; margin-top: 20px; padding: 10px 20px; border: 2px solid var(--bleu-nuit); border-radius: 50px; color: var(--bleu-nuit); text-decoration: none; font-weight: 600; transition: 0.3s ease; }
.btn-card:hover { background-color: var(--bleu-nuit); color: var(--blanc); }
.btn-premium { border-color: var(--bleu-vif); color: var(--bleu-vif); }
.btn-premium:hover { background-color: var(--bleu-vif); color: var(--blanc); box-shadow: 0 0 20px rgba(56, 113, 224, 0.5); }

/* === PAGE PROFIL (NOUVEAU) === */
.profil-section { padding: 100px 10%; background-color: var(--fond-gris-clair); }
.profil-container { display: flex; align-items: center; gap: 50px; justify-content: center; flex-wrap: wrap; }
.profil-text { max-width: 600px; }
.profil-text p { font-size: 1.1rem; margin-bottom: 20px; color: var(--texte-gris); }

/* Effet Lévitation + Lumière pour la photo (NOUVEAU) */
.profil-image img {
    width: 100%;
    max-width: 350px;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(56, 113, 224, 0.3);
    animation: pulse-glow 3s infinite alternate; /* Halo qui respire */
}
.floating {
    animation: float 4s ease-in-out infinite; /* Flotte de haut en bas */
}

/* === SECTION CHIFFRES CLÉS (NOUVEAU) === */
.stats-section { display: flex; justify-content: center; gap: 40px; padding: 80px 10%; flex-wrap: wrap; }
.stat-box { background: var(--blanc); border-radius: 20px; padding: 40px; text-align: center; width: 250px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); border-bottom: 4px solid var(--bleu-vif); transition: 0.3s ease; }
.stat-box:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(56, 113, 224, 0.2); }
.stat-box p { font-weight: 600; color: var(--bleu-nuit); margin-top: 10px; }
/* Animation du texte et de la lumière au survol de la case */
.stat-box:hover .glow-text-blue {
    transform: scale(1.15); /* Fait grossir le chiffre */
    text-shadow: 0 0 30px rgba(56, 113, 224, 0.8), 0 0 60px rgba(56, 113, 224, 0.6); /* Intensifie la lumière */
}

/* Transition fluide pour le grossissement */
.glow-text-blue {
    display: inline-block; /* Nécessaire pour que le scale fonctionne bien */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Effet de rebond très moderne */
}

/* === PAGES DÉTAILS SERVICES (NOUVEAU) === */
.service-detail { max-width: 800px; margin: 100px auto; text-align: center; padding: 50px; border-radius: 30px; box-shadow: 0 20px 50px rgba(0,0,0,0.05); background: var(--blanc); border-top: 5px solid var(--bleu-nuit); }
.service-detail.premium-detail { border-top-color: var(--bleu-vif); }
.service-price { font-size: 4rem; font-weight: 700; color: var(--bleu-vif); margin: 20px 0; }
.service-content ul { text-align: left; margin: 40px auto; max-width: 500px; list-style: none; }
.service-content ul li { margin-bottom: 20px; font-size: 1.1rem; padding-left: 30px; position: relative; }
.service-content ul li::before { content: '✔'; position: absolute; left: 0; color: var(--bleu-vif); font-weight: bold; }

/* === FOOTER === */
footer { background-color: var(--bleu-nuit); color: var(--blanc); text-align: center; padding: 80px 5% 40px; }
footer h2 { color: var(--blanc); margin-bottom: 20px; }
.btn-secondary { display: inline-block; background-color: transparent; color: var(--blanc); padding: 15px 40px; font-size: 1.1rem; border: 2px solid var(--bleu-vif); border-radius: 50px; transition: 0.3s ease; }

/* === ANIMATIONS CSS === */
.animate-fade-in { animation: fadeInDown 1.2s ease-out forwards; }
.animate-slide-up { animation: slideUp 1s ease-out forwards; }
.animate-slide-up-delay { animation: slideUp 1s ease-out 0.3s forwards; opacity: 0; }

@keyframes fadeInDown { 0% { opacity: 0; transform: translateY(-30px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes slideUp { 0% { opacity: 0; transform: translateY(50px); } 100% { opacity: 1; transform: translateY(0); } }

/* Les animations magiques */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}
@keyframes pulse-glow {
    from { box-shadow: 0 0 15px rgba(56, 113, 224, 0.2); }
    to { box-shadow: 0 0 40px rgba(56, 113, 224, 0.6); }
}
/* === NOUVELLE SECTION AVIS CLIENTS === */
.testimonials-section {
    padding: 80px 5%;
    background-color: var(--fond-gris-clair);
    text-align: center;
}

.reviews-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.review-card {
    background: var(--blanc);
    padding: 40px;
    border-radius: 20px;
    max-width: 450px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    text-align: left;
    position: relative;
    border-top: 4px solid var(--bleu-vif);
}

.review-card::before {
    content: '❝';
    font-size: 5rem;
    color: var(--fond-gris-clair);
    position: absolute;
    top: -10px;
    right: 20px;
    opacity: 0.5;
    font-family: serif;
}

.stars {
    color: #F59E0B; /* Couleur or/jaune pour les étoiles */
    font-size: 1.5rem;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.review-text {
    font-style: italic;
    color: var(--texte-gris);
    font-size: 1.1rem;
    margin-bottom: 25px;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.review-author {
    display: flex;
    flex-direction: column;
}

.review-author strong {
    color: var(--bleu-nuit);
    font-size: 1.1rem;
}

.review-author span {
    font-size: 0.9rem;
    color: #94A3B8;
}

/* === SYSTÈME D'ANIMATIONS AU SCROLL (SCROLL REVEAL) === */
.reveal {
    opacity: 0; /* Invisible par défaut */
    transition: all 1s ease-out; /* Durée de l'animation */
}

.reveal.active {
    opacity: 1; /* Devient visible */
    transform: translateY(0) translateX(0) scale(1);
}

/* Différents types d'apparitions */
.fade-bottom {
    transform: translateY(50px);
}

.fade-left {
    transform: translateX(-50px);
}

.fade-right {
    transform: translateX(50px);
}

.scale-up {
    transform: scale(0.9);
}
/* === SECTION FAQ === */
.faq-section {
    padding: 100px 5%;
    background-color: var(--blanc);
}

.text-center {
    text-align: center;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--texte-gris);
    margin-bottom: 50px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

/* Style de chaque question (accordéon) */
.faq-item {
    background: var(--fond-gris-clair);
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-left: 4px solid var(--bleu-vif);
    box-shadow: 0 10px 25px rgba(56, 113, 224, 0.1);
}

/* Le titre de la question cliquable */
.faq-item summary {
    padding: 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--bleu-nuit);
    cursor: pointer;
    list-style: none; /* Enlève la flèche par défaut */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Ajout d'une croix animée à droite */
.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--bleu-vif);
    transition: transform 0.3s ease;
}

/* Quand l'accordéon est ouvert */
.faq-item[open] {
    border-left: 4px solid var(--bleu-vif);
    background: var(--blanc);
    box-shadow: 0 15px 35px rgba(56, 113, 224, 0.1);
}

.faq-item[open] summary::after {
    content: '−'; /* Devient un moins */
    transform: rotate(180deg);
}

/* Le texte de la réponse */
.faq-answer {
    padding: 0 25px 25px 25px;
    font-style: italic;
    color: var(--texte-gris);
    line-height: 1.8;
    animation: fadeInDown 0.4s ease-out forwards;
}

.faq-answer p {
    border-top: 1px solid #E2E8F0;
    padding-top: 20px;
}
/* === PETITE MENTION TTC === */
.ttc {
    font-size: 1.2rem;
    color: var(--texte-gris);
    font-weight: 400;
    vertical-align: super;
}

/* === FRISE CHRONOLOGIQUE (TIMELINE) === */
.timeline {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
    position: relative;
}

.timeline-step {
    background: var(--fond-gris-clair);
    border-radius: 16px;
    padding: 30px 20px;
    flex: 1;
    min-width: 200px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
    transition: all 0.4s ease;
    border-top: 4px solid var(--bleu-vif);
    position: relative;
}

.timeline-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(56, 113, 224, 0.15);
}

.timeline-number {
    width: 45px;
    height: 45px;
    background-color: var(--bleu-vif);
    color: var(--blanc);
    font-weight: 700;
    font-size: 1.2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    box-shadow: 0 0 15px rgba(56, 113, 224, 0.4);
}

.timeline-step h4 {
    font-size: 1.2rem;
    color: var(--bleu-nuit);
    margin-bottom: 10px;
}

.timeline-step p {
    font-size: 0.95rem;
    color: var(--texte-gris);
    margin-bottom: 0;
}
/* === PAGE DE CONTACT (FORMULAIRE) === */
.contact-page {
    padding: 80px 5%;
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    background: var(--fond-gris-clair);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-top: 4px solid var(--bleu-vif);
    margin-top: 40px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--bleu-nuit);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: var(--bleu-nuit);
    transition: all 0.3s ease;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--bleu-vif);
    box-shadow: 0 0 15px rgba(56, 113, 224, 0.1);
}
/* =======================================================
   📱 RESPONSIVE DESIGN (ADAPTATION POUR SMARTPHONES) 📱
   ======================================================= */
@media (max-width: 768px) {
    /* Typographie globale */
    h1 { font-size: 2.2rem !important; }
    h2 { font-size: 1.8rem !important; }
    .hero { height: auto; padding: 60px 5% 40px; margin-top: 10px; }
    
    /* Menu de navigation (S'empile proprement) */
    nav { flex-direction: column; padding: 15px; }
    nav ul { flex-direction: column; gap: 15px; text-align: center; width: 100%; margin-top: 15px; }
    .btn-nav { display: block; width: 100%; text-align: center; }

    /* Profil & Stats */
    .profil-container { flex-direction: column; text-align: center; }
    .stats-section { flex-direction: column; align-items: center; gap: 20px; padding: 40px 5%; }
    .stat-box { width: 100%; max-width: 300px; }

    /* Cartes des offres et Avis clients */
    .cards-container, .reviews-container { flex-direction: column; align-items: center; gap: 30px; }
    .card, .review-card { width: 100%; padding: 30px 20px; }
    
    /* Page des services (Détails) */
    .service-detail { margin: 40px 5%; padding: 30px 20px; }
    .service-price { font-size: 2.5rem; }
    .service-content ul li { font-size: 1rem; }

    /* Frise chronologique (Timeline verticale au lieu d'horizontale) */
    .timeline { flex-direction: column; gap: 20px; }
    .timeline-step { 
        border-top: none; 
        border-left: 4px solid var(--bleu-vif); 
        text-align: left; 
        padding: 20px 20px 20px 30px; 
    }
    .timeline-number { 
        margin: 0 0 15px 0; 
        /* Aligne le numéro à gauche pour la version mobile */
        margin-left: 0; 
    }

    /* FAQ & Formulaire de Contact */
    .faq-section, .contact-page { padding: 40px 5%; }
    .faq-item summary { padding: 15px; font-size: 1rem; line-height: 1.4; }
    .faq-item summary::after { min-width: 25px; text-align: right; }
    .contact-form { padding: 25px 20px; }

    /* Pied de page */
    footer { padding: 60px 5% 40px; }
}
/* === PAGE MES RÉALISATIONS === */
.portfolio-page {
    padding: 80px 5%;
    max-width: 1100px;
    margin: 0 auto;
}

.case-study {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 80px;
}

.project-details {
    flex: 1;
}

.project-tag {
    background: var(--bleu-vif);
    color: var(--blanc);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.project-details h2 {
    color: var(--bleu-nuit);
    margin: 15px 0;
    font-size: 2rem;
}

.project-details p {
    color: var(--texte-gris);
    line-height: 1.7;
    margin-bottom: 15px;
}

/* === L'ORDINATEUR FAIT EN CSS (MOCKUP) === */
.mockup-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* L'écran noir */
.laptop-screen {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 16 / 9; /* On passe au vrai format vidéo pour éviter les bandes noires */
    background-color: #111;
    border: 15px solid #222;
    border-radius: 12px 12px 0 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* La vidéo à l'intérieur */
.laptop-screen video {
    width: 100%;
    height: 100%;
    object-fit: contain; /* C'est LE mot magique : on dit à la vidéo de s'adapter sans zoomer */
    object-position: center; /* On la centre parfaitement */
}

/* Le clavier / bas de l'ordi */
.laptop-base {
    width: 110%;
    max-width: 520px;
    height: 20px;
    background: linear-gradient(to bottom, #d4d4d4, #a3a3a3);
    border-radius: 0 0 15px 15px;
    position: relative;
}

/* Encoche pour ouvrir l'ordi */
.laptop-base::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 5px;
    background-color: #888;
    border-radius: 0 0 5px 5px;
}
/* === PAGE MENTIONS LÉGALES === */
.legal-page {
    padding: 80px 5%;
    max-width: 900px;
    margin: 0 auto;
}

.legal-content {
    background: var(--blanc);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-top: 40px;
    text-align: left;
}

.legal-content h2 {
    color: var(--bleu-vif);
    font-size: 1.4rem;
    margin-top: 35px;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--fond-gris-clair);
    padding-bottom: 10px;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p, .legal-content ul {
    color: var(--texte-gris);
    line-height: 1.8;
    margin-bottom: 15px;
}

.legal-content ul {
    padding-left: 20px;
}

.legal-content ul li {
    margin-bottom: 10px;
}

/* Lien dans le pied de page */
.footer-link {
    color: var(--texte-gris);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--bleu-vif);
    text-decoration: underline;
}
/* === BOUTON DE CONTACT FLOTTANT === */
.floating-contact-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--bleu-vif);
    color: var(--blanc);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(56, 113, 224, 0.4);
    z-index: 999; /* Pour qu'il passe par-dessus tous les autres éléments */
    transition: transform 0.3s ease, background-color 0.3s ease;
    animation: pulse-glow 2s infinite;
}

/* L'icône à l'intérieur */
.floating-contact-btn svg {
    width: 28px;
    height: 28px;
    stroke: var(--blanc);
}

/* Au survol de la souris */
.floating-contact-btn:hover {
    transform: scale(1.1); /* Grossit un peu */
    background-color: var(--bleu-nuit); /* Change de couleur */
    animation: none; /* Arrête la pulsation */
}

/* L'animation de pulsation */
@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(56, 113, 224, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(56, 113, 224, 0); }
    100% { box-shadow: 0 0 0 0 rgba(56, 113, 224, 0); }
}

/* Adaptation pour les téléphones */
@media (max-width: 768px) {
    .floating-contact-btn {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
    .floating-contact-btn svg {
        width: 24px;
        height: 24px;
    }
}
/* =========================================
   SECTION FREELANCE (PAGE D'ACCUEIL)
   ========================================= */
.freelance-section {
    background: linear-gradient(135deg, #080D1E 0%, #111B3D 100%);
    padding: 100px 20px;
    color: white;
    text-align: center;
}

.freelance-container {
    max-width: 1100px;
    margin: 0 auto;
}

.glow-title {
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #ffffff;
}

.glow-title span {
    color: #3871E0;
    text-shadow: 0 0 20px rgba(56, 113, 224, 0.4);
}

/* La grille qui aligne les cartes côte à côte */
.cards-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Le style de la carte (Effet verre / Glassmorphism) */
.magic-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px 30px;
    width: 320px;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    backdrop-filter: blur(10px);
}

/* Animation au survol de la carte */
.magic-card:hover {
    transform: translateY(-15px);
    background: rgba(255, 255, 255, 0.08);
    border-color: #3871E0;
    box-shadow: 0 20px 40px rgba(56, 113, 224, 0.2);
}

/* Le style des images 3D */
.icon-3d-home {
    width: 80px;
    height: 80px;
    margin-bottom: 25px;
    filter: drop-shadow(0px 10px 15px rgba(0, 0, 0, 0.4));
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Animation de l'image 3D au survol de la carte */
.magic-card:hover .icon-3d-home {
    transform: scale(1.15) translateY(-5px);
}

/* Le texte dans les cartes */
.magic-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.magic-card p {
    color: #a0aec0;
    line-height: 1.7;
    font-size: 1rem;
}
@media (max-width: 768px) {
  header { 
    position: relative !important; /* Fait disparaître le menu quand on défile */
    padding: 10px 15px !important; 
    min-height: auto !important; 
  }

  header img {
    height: 35px !important; /* Taille du logo */
    width: auto;
  }

  header a {
    font-size: 14px !important; /* Taille du texte */
  }
}