/* --- Global Styles & Variables --- */
:root {
    --color-primary-blue: #1E2D3D; /* Deep Blue Petroleum */
    --color-secondary-orange: #FF6B00; /* Orange Accent */
    --color-dark-gray: #333;
    --border-radius: 8px;
    --shadow-subtle: 0 4px 12px rgba(0, 0, 0, 0.1);
    --color-orange: #FF7700;
    /* NOUVELLE COULEUR PRIMAIRE: Gris Industriel Profond (presque noir) */
    --color-primary-dark: #212121; 
    /* NOUVELLE COULEUR ACCENT: Orange vif, inspiré par l'image */
    --color-secondary-accent: #FF6600; /* Un orange plus vif et direct */
    --color-white: #ffffff;
    --color-light-gray: #f2f2f2; /* Un gris clair légèrement ajusté */
    --color-medium-gray: #8d8d8d; /* Un gris moyen pour les textes secondaires */
    --font-heading: 'Poppins', sans-serif;
    --font-text: 'Open Sans', sans-serif;
    --transition-speed: 0.3s;
    --shadow-subtle: 0 4px 12px rgba(0, 0, 0, 0.08);
}



/* Ajuster les couleurs du logo SVG pour le header */
/* Assurez-vous que votre SVG utilise fill:var(--color-white); et fill:var(--color-secondary-accent); */
/* La couleur du texte "LMA" dans le SVG devrait être white, et "PETROLIUM" en accent */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-text);
    line-height: 1.6;
    color: var(--color-dark-gray);
    background-color: var(--color-light-gray);
}

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

a {
    text-decoration: none;
    color: var(--color-primary-blue);
    transition: color var(--transition-speed);
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-primary-blue);
}

.section-padding {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 50px;
    text-align: center;
    color: #666;
}

hr {
    border: none;
    border-top: 1px solid rgba(0, 45, 91, 0.1); 
    margin: 0;
}

/* --- Header (Fixed) --- */
#header {
    background-color: var(--color-primary-blue);
    box-shadow: var(--shadow-subtle);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-white);
    height: 35px; 
    width: auto; 
    display: flex; 
    align-items: center;
    overflow: hidden;
}

.logo svg {
    /* Règle CRUCIALE pour le redimensionnement du SVG */
    height: 100%; 
    width: auto;
    /* Assure que le SVG utilise les variables CSS pour le remplissage */
    fill: currentColor;
}


#nav-menu a {
    color: var(--color-white);
    margin-left: 25px;
    font-weight: 600;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
}

#nav-menu a:hover {
    color: var(--color-secondary-orange);
    border-color: var(--color-secondary-orange);
}

.menu-toggle {
    display: none; 
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    height: 100vh;
    background: url('images/accu.png') no-repeat center center/cover; /* CHANGE IMAGE */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 70px; 
}

/* Le reste du CSS devra automatiquement s'adapter grâce aux variables */

/* Quelques ajustements potentiels pour l'overlay du hero-section, pour s'harmoniser */
.hero-overlay {
    /* Je l'ai rendu un peu plus opaque pour mieux faire ressortir le texte blanc */
    background: rgba(33, 33, 33, 0.85); /* Utilise la nouvelle primary-dark */
}

/* Pour le texte du bouton CTA, sur fond orange, le texte doit être foncé */

.cta-button {
    display: inline-block;
    background-color: var(--color-secondary-orange);
    color: var(--color-white);
    padding: 15px 35px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.4);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed), background-color var(--transition-speed);
}

.cta-button:hover {
    background-color: #ff8533; 
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 0, 0.6);
}
.hero-content {
    position: relative;
    z-index: 10;
    color: var(--color-white);
    max-width: 900px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--color-white);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    font-weight: 300;
}

/* --- CTA Button Style --- */
.a-propos {
    background-color: #f2f2f2;
}

.a-propos-content {
    max-width: 900px;
    margin: 0 auto;
}

.a-propos-content p {
    margin-bottom: 25px; /* Plus d'espace entre les paragraphes */
    font-size: 1.1rem; 
    color: #444;
    text-align: justify; /* Look éditorial professionnel */
    
    /* Légère mise en forme des premières lignes pour l'effet magazine/luxe */
    /* text-indent: 1.5em; */ /* Optionnel: Indentation de première ligne */
}

/* Mise en valeur des mots clés */
.a-propos-content p strong {
    color: var(--color-primary-dark);
    font-weight: 700;
}



h2.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--color-orange);
    margin: 10px auto 0;
    border-radius: 5px;
}
/* --- Nos Services --- */
.services {
    background-color: var(--color-white);
}

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

.service-card {
    background-color: var(--color-light-gray);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-subtle);
    /* 👇 Règle CRUCIALE : Appliquer la transition à la carte elle-même */
    transition: transform 0.7s ease-out;
    border-top: 5px solid var(--color-orange);
    box-shadow: var(--shadow-subtle);
}
@media (min-width: 992px) {
    /* Si la grille de services utilise 3 colonnes */
    .services-grid {
        grid-template-columns: repeat(6, 1fr);
    }
    
    /* Les premières cards occupent 2 colonnes chacune */
    .service-card:not(:nth-last-child(-n+2)) {
        grid-column: span 2;
    }
    
    /* Les deux dernières cards : centrées au milieu */
    .service-card:nth-last-child(2) {
        grid-column: 2 / span 2; /* Commence à la colonne 2 */
    }
    
    .service-card:last-child {
        grid-column: 4 / span 2; /* Commence à la colonne 4 */
    }
}

.service-card:hover {
    /* Augmenter l'épaisseur du trait du haut */
    border-top: 10px solid var(--color-orange); 
    /* Légère élévation de la carte */
    transform: translateY(-8px); 
    /* Ombre plus prononcée pour l'effet "pop-up" */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2); 
    /* Changer légèrement l'arrière-plan pour un contraste subtil */
    background-color: var(--color-white); 
    /* Supprimer la ligne "transition: all linear 0.07s;" qui cassait l'effet */
    /* transition: all linear 0.07s; <--- À SUPPRIMER ! */
}



.service-card .icon {
    font-size: 3rem;
    color: var(--color-secondary-orange);
    margin-bottom: 15px;
    transition: color 0.4s;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: 600;
}
.highlight {
        color: #ff7b00; /* Orange vif, moderne et professionnel */
        font-weight: 600;
}
/* --- Nos Réalisations (Projects) - Card Style --- */
.realisations {
    background-color: var(--color-light-gray);
}

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

/* Centrage parfait des deux dernières cartes sur desktop */
@media (min-width: 992px) {
    .realisations-grid {
        grid-template-columns: repeat(6, 1fr); /* 6 colonnes pour plus de flexibilité */
    }
    
    /* Les 3 premières cartes occupent 2 colonnes chacune */
    .realisations-grid > .project-card:nth-child(1),
    .realisations-grid > .project-card:nth-child(2),
    .realisations-grid > .project-card:nth-child(3) {
        grid-column: span 2;
    }
    
    /* Les deux dernières cartes : centrées au milieu */
    .realisations-grid > .project-card:nth-child(4) {
        grid-column: 2 / span 2; /* Commence à la colonne 2 */
    }
    
    .realisations-grid > .project-card:nth-child(5) {
        grid-column: 4 / span 2; /* Commence à la colonne 4 */
    }
}

/* Centrage parfait des deux dernières cartes sur desktop */

.project-card {
    background-color: var(--color-white);
    border-radius: 12px;
    box-shadow: var(--shadow-subtle);
    overflow: hidden;
    transition: transform 0.4s ease-out, box-shadow 0.4s ease-out;
    cursor: pointer;
}

.project-card:last-child {
  justify-self: center;
  grid-column: 2 / 3;
}
.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 45, 91, 0.15);
}

.project-img-container {
    height: 220px;
    overflow: hidden;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.project-card:hover img {
    transform: scale(1.05); 
}

.project-info {
    padding: 20px;
}

.project-info h3 {
    font-size: 1.35rem;
    margin-bottom: 10px;
    color: var(--color-primary-blue);
    font-weight: 600;
}

.project-info p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 15px;
}

.project-info .category {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-secondary-orange);
    background-color: rgba(255, 107, 0, 0.1);
    padding: 5px 10px;
    border-radius: 5px;
}

.project-info .category i {
    margin-right: 5px;
}
@media (min-width: 768px) and (max-width: 991px) {
    /* Pour la section services */
    .services-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr) !important;
        row-gap: 30px; /* Espace vertical (entre les lignes) */
        column-gap: 15px;
        justify-content: center;
    }
    
    /* Les deux dernières cards prennent chacune 1 colonne et sont centrées */
    .service-card {
        grid-column: auto !important;
        max-width: 350px;
        justify-self: center;
    }
    .realisations-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 25px;
        justify-content: center;
    }
    
    .project-card {
        grid-column: auto !important;
        max-width: 350px;
        justify-self: center;
    }
    
    /* La 5ème card (dernière) prend les 2 colonnes et se centre */
    .project-card:nth-child(5) {
        grid-column: 1 / -1 !important; /* Prend toute la largeur */
        max-width: 350px !important; /* Limite la largeur */
        justify-self: center !important; /* Centre dans l'espace */
    }
}
/* Lightbox Style */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    border-radius: 5px;
}

#lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: var(--color-white);
    padding: 10px 0;
    font-size: 1.2rem;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 35px;
    color: var(--color-white);
    font-size: 40px;
    font-weight: bold;
    transition: var(--transition-speed);
}

.close-btn:hover,
.close-btn:focus {
    color: var(--color-secondary-orange);
    cursor: pointer;
}


/* --- Contact Section - Info Block Enhancement --- */
.contact {
    background-color: var(--color-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
}

.contact-form-container {
    padding: 30px;
    background-color: var(--color-light-gray);
    border-radius: 10px;
    box-shadow: var(--shadow-subtle);
}

.contact-form-container h3 {
    margin-bottom: 25px;
    font-size: 1.8rem;
    color: var(--color-primary-blue);
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: var(--font-text);
    transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
}

#contact-form input:focus,
#contact-form textarea:focus {
    border-color: var(--color-secondary-orange);
    box-shadow: 0 0 5px rgba(255, 107, 0, 0.3);
    outline: none;
}

.form-status {
    margin-top: 15px;
    text-align: center;
    font-weight: 600;
}

.company-info {
    padding: 30px;
    background-color: var(--color-primary-blue);
    color: var(--color-white);
    border-radius: 10px;
    box-shadow: var(--shadow-subtle);

}

.company-info h3 {
    color: var(--color-secondary-orange);
    border-bottom: 2px solid rgba(255, 107, 0, 0.4);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.info-card {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.info-card .icon-orange {
    font-size: 2rem;
    color: var(--color-secondary-orange);
    margin-right: 15px;
    flex-shrink: 0;
}

.info-card h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 2px;
}

.info-card p {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

.social-title {
    margin-top: 40px !important;
}

.company-info .social-icons a {
    color: var(--color-white);
    font-size: 1.8rem;
    margin-right: 15px;
}

.company-info .social-icons a:hover {
    color: var(--color-secondary-orange);
}


/* --- Footer - ELEGANT AND INFORMATIVE --- */

/* DANS style.css, section --- Footer - ELEGANT & INFORMATIF --- */

#main-footer {
    /* Couleur principale du Footer : Gris Industriel Profond */
    background-color: var(--color-primary-dark); 
    color: var(--color-white);
    padding-top: 60px;
}

.footer-bottom {
    /* Couleur légèrement plus sombre que --color-primary-dark (#212121) 
       pour créer une démarcation nette et élégante. */
    background-color: #181818; 
    
    text-align: center;
    padding: 20px 0;
    
    /* Ajouter une ligne de séparation subtile en haut pour l'élégance */
    border-top: 1px solid rgba(255, 255, 255, 0.1); 
}

.footer-bottom .container {
    /* Utiliser flexbox pour centrer et structurer le contenu si nécessaire, 
       mais le centrage de texte est suffisant ici. */
}

.footer-bottom p {
    font-size: 0.85rem;
    margin: 0;
    /* Couleur du texte du bas de page (très légère) */
    color: rgba(255, 255, 255, 0.5); 
    transition: color 0.3s;
}

.footer-bottom p:hover {
    /* Petite animation au survol pour l'élégance */
    color: var(--color-secondary-accent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr; 
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-secondary-orange);
    margin-bottom: 20px;
}

.footer-col p, .footer-col li {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8) !important;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-speed);
}

.footer-col ul a:hover {
    color: var(--color-secondary-orange);
}

.footer-logo {
    color: var(--color-white) !important;
    font-weight: 800 !important;
    font-size: 1.5rem !important;
    margin-bottom: 15px !important;
}

.footer-social a {
    font-size: 1.5rem;
    margin-right: 15px;
    color: var(--color-white);
}

.footer-social a:hover {
    color: var(--color-secondary-orange);
}


/* --- Scroll and Fade Animations (Default Hidden State) --- */
.slide-up, .fade-in, .slide-up-delay, .fade-in-delay {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in {
    transform: none; 
}

/* Specific delay for sequential animations */
.slide-up-delay:nth-child(1), .fade-in-delay:nth-child(1) { transition-delay: 0.1s; }
.slide-up-delay:nth-child(2), .fade-in-delay:nth-child(2) { transition-delay: 0.2s; }
.slide-up-delay:nth-child(3), .fade-in-delay:nth-child(3) { transition-delay: 0.3s; }
.slide-up-delay:nth-child(4), .fade-in-delay:nth-child(4) { transition-delay: 0.4s; }
.slide-up-delay:nth-child(5), .fade-in-delay:nth-child(5) { transition-delay: 0.5s; }
.slide-up-delay:nth-child(6), .fade-in-delay:nth-child(6) { transition-delay: 0.6s; }
.slide-up-delay:nth-child(7), .fade-in-delay:nth-child(7) { transition-delay: 0.7s; }
.slide-up-delay:nth-child(8){ transition-delay: 0.8s; }

/* Class added by JS when element is in view */
.is-visible {
    opacity: 1;
    transform: none;
}


/* --- Responsive Design (Mobile & Tablet) --- */
@media (max-width: 992px) {
    /* Header */
    #nav-menu {
        position: fixed;
        top: 60px; 
        right: 0;
        width: 100%;
        max-width: 300px;
        height: 100%;
        background-color: var(--color-primary-blue);
        flex-direction: column;
        align-items: center;
        padding-top: 30px;
        transform: translateX(100%);
        transition: transform var(--transition-speed) ease-in-out;
    }

    #nav-menu.active {
        transform: translateX(0);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    }

    #nav-menu a {
        margin: 15px 0;
        padding: 10px 20px;
        width: 80%;
        text-align: center;
        border-radius: 5px;
        border-bottom: none;
         font-size: 1.1rem;
    }

    .menu-toggle {
        display: block; 
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr; 
    }
    
    .footer-col.about-col {
        grid-column: span 2; 
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
     #nav-menu {
        position: fixed;
        top: 60px; /* Commence juste sous le header */
        right: 0;
        width: 100%;
        height: 60vh;
        max-width: 500px;
        /* Couleur du panneau de navigation (Bleu foncé de votre header) */
        background-color: rgba(30, 45, 61, 0.85);
        display: flex;
        justify-content: center;
        align-items: center;
        
        /* Augmenter le remplissage pour encadrer les boutons */
        padding: 30px 15px; 
        
        /* Reste des règles de transition (transform/transition) */
        transform: translateX(100%);
        transition: transform var(--transition-speed) ease-in-out;
    }
   #nav-menu a{
        font-size: 1rem;
    }
    #nav-menu.active {
        transform: translateX(0);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    }
    .services-grid, .realisations-grid {
        grid-template-columns: 1fr;
    }
    .service-card:last-child {
        grid-column: unset; /* Annule grid-column: 2 / 3; */
        justify-self: stretch; /* Le remplit pour prendre toute la largeur */
    }

    /* Réinitialiser le placement forcé du dernier élément de la carte Projet */
    .project-card:last-child {
        grid-column: unset; /* Annule grid-column: 2 / 3; */
        justify-self: stretch; /* Le remplit pour prendre toute la largeur */
    }
    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr; 
    }
    
    .company-info {
        order: 2; 
        margin-top: 30px;
    }

    .contact-form-container {
        order: 1;
    }

   .footer-grid {
        grid-template-columns: 1fr; 
        /* Important : Aligner les blocs enfants à gauche dans la grille */
        justify-items: start; 
    }
    
    .footer-col {
        width: 100%; 
        /* Règle CRUCIALE : Réinitialiser l'alignement du texte à gauche */
        text-align: left; 
        /* Ajouter un peu de marge si nécessaire pour ne pas coller au bord */
        padding-left: 15px; 
    }
    
    /* Assurez-vous que le titre est aligné à gauche */
    .footer-col h4 {
        text-align: left; 
    }
    
    /* Règle CRUCIALE : Réinitialiser le comportement des listes de liens */
    .footer-col ul {
        display: block; /* Revenir au comportement de bloc standard (aligné à gauche) */
        padding: 0;
    }

    /* Règle CRUCIALE : Annuler le centrage des icônes sociales */
    .footer-social {
        display: flex;
        /* Aligner les éléments flex au début (à gauche) */
        justify-content: flex-start; 
        margin-top: 15px; 
    }

    /* Annulez le centrage forcé des colonnes larges */
    .footer-col.about-col {
        grid-column: unset; 
    }
}
@media (max-width: 992px) {
     #nav-menu {
        position: fixed;
        top: 60px; /* Commence juste sous le header */
        right: 0;
        width: 100%;
        height: 60vh;
        max-width: 900px;
        /* Couleur du panneau de navigation (Bleu foncé de votre header) */
        background-color: rgba(30, 45, 61, 0.85);
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 30px 15px; 
        transform: translateX(100%);
        transition: transform var(--transition-speed) ease-in-out;
    }

    #nav-menu.active {
        transform: translateX(0);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    }

    #nav-menu a {
        font-size: 1.1rem;
        margin: 15px 0;
        padding: 10px 20px;
        width: 80%;
        text-align: center;
        border-radius: 5px;
        border-bottom: none;
    }
    /* Style du conteneur de menu mobile */
   
    /* --- Suggestions d'amélioration pour Tablette --- */
    
    /* 1. Ajustement de la taille du titre principal sur tablette */
    .hero-content h1 {
        font-size: 3rem; /* Légèrement plus petit que sur desktop */
    }
    
    /* 2. Réduction du padding général */
    .section-padding {
        padding: 80px 0; /* Moins d'espace pour un contenu plus visible */
    }
    
    /* 3. Footer : passer à une seule colonne pour l'empilement vertical */
    
    
    /* --- Correction du Centrage (Dernière Carte) --- */
    /* Ces règles s'appliquent sur Tablette ET Mobile */

    /* Empêcher le positionnement forcé du dernier élément qui cause un décalage */
    .services-grid, .realisations-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    /* 👇 RÈGLE CRUCIALE POUR CENTRER LE DERNIER ÉLÉMENT 👇 */
    .service-card:last-child{
        /* L'élément s'étend de la première colonne (1) à la dernière colonne (-1) */
        grid-column: 1 / -1; 
        
        /* Centrer la carte dans cet espace de pleine largeur */
        justify-self: center; 
        
        /* Empêche la carte de prendre toute la largeur de l'écran */
        max-width: 350px; 
    }
    .contact-grid {
        grid-template-columns: 1fr; /* Force une seule colonne (empilement) */
        gap: 30px;
        /* Centre l'ensemble du conteneur contact-grid dans le container parent */
        justify-items: center; 
    }
    
    .contact-form-container, 
    .company-info {
        /* Permet aux conteneurs de ne pas s'étirer sur 100% de la largeur du container */
        max-width: 500px; 
        /* S'assure qu'ils prennent au moins 90% pour un bon affichage */
        width: 90%; 
        /* Centre le bloc s'il est plus petit que la grille (assuré par justify-items: center) */
        margin: 0 auto; 
    }
    
    /* Pour un meilleur alignement du texte à l'intérieur de la carte d'information */
    .company-info {
        text-align: left; 
    }
}