:root {
    --bg: #05050a;
    --bg-elevated: #0c0c12;
    --bg-card: #12121cb3;
    --fg: #f8f8fc;
    --fg-muted: #b0b0c0;
    --fg-subtle: #8a8a9a;
    --accent: #6366f1;
    --accent-light: #818cf8;
    --accent-glow: #6366f159;
    --accent-purple: #a38cfd; /* Ajouté car utilisé dans ton logo */
    --cyan: #22d3ee;
    --border: #ffffff1a;
    --border-hover: #ffffff2e;
    --radius-sm: 8px;
    --radius-md: 7px;
    --radius-lg: 20px;
    --shadow-md: 0 8px 32px #0006;
    /* Correction de la variable invalide */
    --new-color: rgb(45, 212, 191); 
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter Tight', system-ui, sans-serif;
}

/* --- NAVBAR BASE --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background-color: rgba(5, 5, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--new-color);
    font-family: 'Lobster two', cursive;
}

.logo span { color: var(--accent-purple); }

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--fg-muted);
    font-size: 0.95rem;
    padding: 0 15px;
    transition: 0.3s;
}

.nav-links a:hover { color: var(--accent); }

.nav-right {
    display: flex;
    align-items: center;
    gap: 40px; /* Réduit pour éviter les débordements */
}

.social-icons {
    display: flex;
}

.social-icons a {
    color: var(--fg-muted);
    margin: 0 8px;
    font-size: 1.1rem;
    transition: 0.3s;
}

.btn-cta {
    background: linear-gradient(135deg, #7c5dfa 0%, #a38cfd 100%);
    color: white !important;
    padding: 10px 25px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(124, 93, 250, 0.3);
    transition: 0.3s ease;
}

.telecha{
    text-decoration: none;
    color: white !important;
}

/* --- MOBILE OPTIMIZATION --- */
.hamburger {
    display: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1100; /* Supérieur au menu */
}

.mobile-socials { display: none; }

@media (max-width: 900px) {
    .hamburger {
        display: block !important;
    }

    .nav-right {
        display: none; /* Cache le bouton et les icônes sociales sur mobile */
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%; /* Caché par défaut */
        width: 100%;
        height: 100vh;
        background: var(--bg);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
    }

    .nav-menu.active {
        right: 0 !important;
    }

    .nav-links {
        flex-direction: column;
        gap: 25px;
    }

    .nav-links a {
        font-size: 1.8rem;
        color: white;
    }

    .mobile-socials {
        display: flex;
        gap: 20px;
        margin-top: 40px;
        font-size: 1.5rem;
    }
    
    .mobile-socials a { color: var(--fg-muted); }
}

/* --- LE RESTE DE TON CODE (HERO, CARDS, ABOUT) --- */
/* ... garde ton code hero et formations ici ... */
















/* Styles pour le hero element */
.hero-element {
    background: 
        radial-gradient(ellipse 120% 80% at 0% 0%, var(--accent-glow) 0%, transparent 50%), 
        radial-gradient(ellipse 100% 60% at 100% 0%, #6366f133 0%, transparent 45%), 
        var(--bg);
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    padding-top: 80px; /* Evite que le texte soit caché sous la navbar fixe */
}




/* Grille de fond pour le hero */
.hero-element {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    text-align: center;
    position: relative;
    overflow: hidden;
    /* Ajout d'une grille subtile */
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

.hero-container {
    max-width: 1200px;
    width: 100%;
    margin-top: 50px;
    padding: 0 20px;
}

.top-badge {
    display: inline-block;
    background: rgba(124, 93, 250, 0.1);
    border: 1px solid rgba(124, 93, 250, 0.2);
    color: #a38cfd;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    word-spacing: 6px;
    margin-bottom: 25px;
}

.hero-title {
    font-size: clamp(2.9rem, 4vw, 2.9rem); /* Taille adaptative */
    color: white;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 40px;
}

.highlight-purple { color: #a38cfd; font-style: italic; }
.highlight-blue { color: #818cf8; font-style: italic; opacity: 0.8; }

/* Zone de l'image */
.hero-visual {
    position: relative;
    max-width: 540px;
    margin: 0 auto;
}

.main-photo {
    width: 100%;
    height: auto;
    display: block;
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%); /* Floute le bas */
}

/* Style commun des badges flottants */
.floating-badge {
    position: absolute;
    background: rgba(20, 20, 30, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 10px 18px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease;
}

.floating-badge i { font-size: 0.8rem; }

/* Positionnement précis des badges (ajuste selon ton image) */
.b-copywriting { top: 10%; left: -10%; border-left: 3px solid #10b981; }
.b-ai { top: 50%; left: -15%; border-left: 3px solid #f59e0b; }
.b-content { bottom: 10%; left: 0%; border-left: 3px solid #ec4899; }

.b-monetization { top: 0%; right: -5%; border-left: 3px solid #06b6d4; }
.b-branding { top: 45%; right: -10%; border-left: 3px solid #8b5cf6; }

/* Animation flottante simple */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.floating-badge { animation: float 4s ease-in-out infinite; }
.b-ai { animation-delay: 1s; }
.b-branding { animation-delay: 2s; }


/* Animation defilee */




.marquee-container {
  width: 100%;
  overflow: hidden; /* Cache ce qui dépasse */
  background: rgba(12, 12, 18, 0.6); /* Fond sombre transparent */
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 20px 0;
  display: flex;
  user-select: none;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 40px; /* Espace entre les mots */
  white-space: nowrap;
  animation: scroll-marquee 25s linear infinite; /* Animation fluide */
  padding-left: 40px;
}

/* Style du texte et des étoiles */
.marquee-content span {
  color: var(--fg-muted);
  font-weight: 500;
  letter-spacing: 2px;
  font-size: 0.9rem;
}

.marquee-content i {
  color: #7c5dfa; /* Violet comme ton bouton */
  font-size: 0.7rem;
}

/* L'animation qui fait boucler */
@keyframes scroll-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

/* Optionnel : Ralentir au survol */
.marquee-container:hover .marquee-content {
  animation-play-state: paused;
}

.defiler{
   background: 
        radial-gradient(ellipse 120% 80% at 0% 0%, var(--accent-glow) 0%, transparent 50%), 
        radial-gradient(ellipse 100% 60% at 100% 0%, #6366f133 0%, transparent 45%), 
        var(--bg);
}


/* Animation de défilement pour les éléments du hero */
.formations-section {
    padding: 100px 5%;
    background-color: var(--bg);
    text-align: center;
}

.section-subtitle {
    color: var(--accent-light);
    letter-spacing: 3px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.section-title {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 20px;
}

.purple-text { color: #a38cfd; font-style: italic; }

.section-description {
    color: var(--fg-muted);
    max-width: 600px;
    margin: 0 auto 60px;
    line-height: 1.6;
}

/* Grille de cartes */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Style de la carte */
.card {
    background: #0f0f18;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    border-color: rgba(124, 93, 250, 0.3);
}

.card-image {
    position: relative;
    height: 200px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Badges sur image */
.badge {
    position: absolute;
    top: 15px;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge.premium { left: 15px; background: #7c5dfa; color: white; }
.badge.hot { right: 15px; background: #f59e0b; color: white; }

/* Contenu de la carte */
.card-content { padding: 25px; }

.card-category {
    color: #6366f1;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.card-content h3 {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.card-text {
    color: var(--fg-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.card-author {
    color: #a38cfd;
    font-size: 0.85rem;
    margin-bottom: 15px;
}


/* Rating */
.rating-box {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
}

.reviews { color: var(--fg-subtle); font-size: 0.85rem; margin-left: 5px; }

/* Features list */
.card-features {
    list-style: none;
    margin: 20px 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.card-features li {
    color: var(--fg-muted);
    font-size: 0.85rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-features i { color: #a38cfd; font-size: 0.8rem; }

/* Bouton bas de carte */
.btn-card {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: rgba(124, 93, 250, 0.1);
    color: #a38cfd;
    text-decoration: none;
    padding: 12px;
    border-radius: 12px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-card:hover {
    background: #7c5dfa;
    color: white;
}


.me, .stage{
    color: white;
    text-align: center;
    font-size: 30px;
    padding: 16px;
    font-family: "Sofia", sans-serif;
}




.about-section {
    
    background-color: var(--bg);
    display: flex;
    justify-content: center;
}

.about-container {
    max-width: 100%;
    display: flex;
    align-items: center;
    gap: 60px;
    background: #0f0f18; /* Fond de la carte légèrement plus clair */
    padding: 40px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

/* Style de l'image */
.about-image-wrapper {
    flex: 1;
    max-width: 450px;
}

.about-img {
    width: 100%;
    border-radius: 20px;
    display: block;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* Contenu texte */
.about-text-content {
    flex: 1.2;
    text-align: left;
}

.about-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 15px;
    border-radius: 20px;
    color: #fff;
    font-size: 0.85rem;
    margin-bottom: 25px;
}

.about-badge .dot {
    width: 6px;
    height: 6px;
    background: #7c5dfa;
    border-radius: 50%;
}

.about-title {
    font-size: 2.8rem;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 40px;
}

.dim-text {
    color: #666; /* Gris estompé pour l'effet de titre */
    font-size: 20px;
}

.about-item {
    margin-bottom: 30px;
}

.about-item h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.about-item p {
    color: #8a8a9a;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Footer de la section (Bouton + Stars) */
.about-footer {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
}

.btn-whatsapp {
    background: #7c5dfa;
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.btn-whatsapp:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(124, 93, 250, 0.4);
}

.social-proof {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.stars {
    color: #f59e0b; /* Couleur Or/Orange */
    font-size: 0.8rem;
}

.social-proof span {
    color: #666;
    font-size: 0.8rem;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .about-container {
        flex-direction: column;
        padding: 30px;
    }
    .about-title {
        font-size: 2rem;
    }
    .about-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}


.main-footer {
    background-color: var(--bg);
    border-top: 1px solid var(--border);
    padding: 80px 5% 30px;
    
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-col h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.footer-desc {
    color: var(--fg-muted);
    line-height: 1.6;
    margin: 20px 0;
    font-size: 0.95rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: var(--fg-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: var(--accent-light);
    padding-left: 5px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    color: var(--fg-muted);
    font-size: 1.2rem;
    transition: 0.3s;
}

.footer-socials a:hover {
    color: var(--accent-purple);
    transform: translateY(-3px);
}

.footer-col.contact p {
    color: var(--fg-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 60px auto 0;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-bottom p {
    color: var(--fg-subtle);
    font-size: 0.8rem;
}

/* --- RESPONSIVE FOOTER --- */
@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-socials {
        justify-content: center;
    }
    
    .footer-col.contact .btn-cta {
        display: inline-block;
    }
}




/* --- ANIMATIONS GLOBALES --- */
/* Animation de fade-in pour les sections */
/* --- Styles de la Timeline adaptés à tes variables --- */

.timeline-section {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 80px 0;
    background-color: var(--bg); /* Utilise ton fond de base */
}

.timeline-container {
    position: relative;
    max-width: 1100px;
    width: 90%;
    margin: 0 auto;
}

/* La ligne centrale verticale */
.timeline-container::after {
    content: '';
    position: absolute;
    width: 2px; /* Plus fin pour un look plus moderne */
    background: linear-gradient(to bottom, transparent, var(--accent), transparent);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    opacity: 0.9;
}

.timeline-item {
    padding: 30px 0;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: flex-start;
    z-index: 2;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

/* Le point sur la ligne */
.timeline-dot {
    width: 12px;
    height: 12px;
    background-color: var(--accent);
    border: 3px solid var(--bg);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 15px var(--accent-glow);
    z-index: 3;
}

/* La carte de contenu (Style "Glassmorphism") */
.timeline-content {
    width: calc(50% - 50px);
    background-color: var(--bg-card); /* Ton fond de carte avec opacité */
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 25px;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

/* Typographie intérieure */
.header-text h3 {
    color: var(--fg);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.header-text .company {
    color: var(--accent-purple);
    font-size: 0.9rem;
    font-weight: 500;
}

.header-text .date {
    color: var(--fg-subtle);
    font-size: 0.8rem;
    margin-top: 4px;
}

.card-body p {
    color: var(--fg-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 15px;
}

.card-body ul li {
    color: var(--fg-subtle);
    font-size: 0.85rem;
    margin-top: 8px;
}

/* Badge style */
.badge {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    color: var(--cyan);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .timeline-container::after {
        left: 20px;
    }

    .timeline-item, .timeline-item:nth-child(even) {
        flex-direction: row;
        padding-left: 45px;
    }

    .timeline-dot {
        left: 20px;
    }

    .timeline-content {
        width: 100%;
    }
}

.comp-logo{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}







.hero-section{
   width: 100%;
    margin: 0 auto;
    padding: 100px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    justify-content: center;
    background: 
        radial-gradient(ellipse 120% 80% at 0% 0%, var(--accent-glow) 0%, transparent 50%), 
        radial-gradient(ellipse 100% 60% at 100% 0%, #6366f133 0%, transparent 45%), 
        var(--bg);
}



.badge {
    color: var(--cyan);
    font-size: 14px;
    display: block;
    margin-bottom: 20px;
}

.hero-text{
   display: grid;
   align-items: center;
   justify-content: center;
}

.hero-text h1 {
    font-size: 60px;
    margin: 0;
    line-height: 1.1;
    color: white;
}

.hero-text h1 span {
    color: var(--accent-purple);
}

.subtitle {
    font-size: 18px;
    color: var(--fg-muted);
    margin: 15px 0 25px;
}

.description {
    font-size: 16px;
    color: var(--fg-subtle);
    max-width: 500px;
    line-height: 1.6;
}

/* Boutons */
.hero-buttons {
    
    border: #6366f1 1px solid;
    border-radius: 12px;
    padding: 20px;
    gap: 9px;
    margin: 8px 0;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-purple));
    color: white;
    padding: 12px 27px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--fg);
    padding: 7px 12px;
    border-radius: 8px;
    text-decoration: none;
    margin: 2px;
}

/* Icones */
.social-icons {
    display: flex;
    gap: 20px;
    color: var(--fg-subtle);
}

/* Style Côté Droit (Terminal) */
.terminal-window {
    width: 60%;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    font-family: 'Fira Code', 'Courier New', monospace;
}





.terminal-header {
    background: var(--bg-elevated);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

.dot { height: 12px; width: 12px; border-radius: 50%; display: inline-block; margin-right: 6px; }
.red { background: #ff5f56; } .yellow { background: #ffbd2e; } .green { background: #27c93f; }

.title { color: var(--fg-subtle); font-size: 13px; margin-left: 15px; }

.terminal-body {
    padding: 25px;
    color: var(--fg-muted);
    font-size: 15px;
    line-height: 1.6;
    min-height: 250px;
}

.command-prompt { color: var(--cyan); font-weight: bold; margin-right: 8px; }

#typewriter::after {
    content: "▋";
    margin-left: 5px;
    color: var(--accent);
    animation: blink 1s step-end infinite;
}

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }















/* Mise en page de la grille de compétences */
.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Deux colonnes égales */
    gap: 24px;
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

.skill-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.skill-card:hover {
    border-color: var(--accent-light);
    transform: translateY(-2px);
}

.skill-card h3 {
    font-size: 15px;
    color: var(--fg);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* La puce orange spécifique à ton image */
.skill-card h3 span {
    color: #f97316; 
    font-size: 10px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: rgba(255, 255, 255, 0.03);
    color: var(--fg-muted);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-family: 'Fira Code', monospace;
    border: 1px solid var(--border);
}

.skills-column {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Espace entre les cartes de skills */
}
.ensembl1{
    display: flex;
    gap: 20px;
}

/* Responsive pour tablettes et mobiles */
@media (max-width: 900px) {
    .skills-grid {
        grid-template-columns: 1fr; /* Une seule colonne sur petit écran */
    }
}

@media (max-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr;
    }
    .hero-terminal {
        display: flex;
        justify-content: center;
        align-items: center;
        position: static;
        order: -1; /* Met le terminal en haut sur mobile */
    }
}
