/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    --primary-color: #ff5722;       /* Orange EasyFix */
    --secondary-color: #e64a19;     /* Orange foncé */
    --dark-bg: #2d3436;             /* Gris foncé pro */
    --light-bg: #f9f9f9;            /* Gris très clair */
    --white: #ffffff;
    --text-color: #333;
    --shadow: 0 10px 30px rgba(0,0,0,0.1); /* Belle ombre douce */
    --radius: 12px;                 /* Arrondi des cartes */
    --topbar-height: 80px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    color: var(--text-color);
    
    /* LE RETOUR DU DÉGRADÉ EASYFIX */
    background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
    /* On s'assure que le fond couvre toute la hauteur */
    min-height: 100vh;
    
    line-height: 1.6;
    padding-top: var(--topbar-height);
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* =========================================
   2. UI KIT (BOUTONS & TITRES)
   ========================================= */
h1, h2, h3 { font-weight: 700; line-height: 1.2; margin-bottom: 0.5em; }
h1 { font-size: 3rem; }
h2 { font-size: 2.2rem; color: var(--dark-bg); text-align: center; margin-bottom: 40px; position: relative; }

/* Petit trait orange sous les titres H2 */
h2::after {
    content: ''; display: block; width: 60px; height: 4px;
    background: var(--primary-color); margin: 15px auto 0; border-radius: 2px;
}

.btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 14px 35px;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(255, 87, 34, 0.4);
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 87, 34, 0.6);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--white);
    box-shadow: none;
}
.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* =========================================
   3. HEADER (NAVIGATION)
   ========================================= */
header {
    position: fixed; top: 0; left: 0; width: 100%;
    height: var(--topbar-height);
    background: rgba(255, 255, 255, 0.95); /* Effet verre */
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    z-index: 1000;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 5%;
    transition: transform 0.3s ease-in-out;
}

header.header-hidden {
    transform: translateY(-100%); /* Le menu remonte hors de l'écran */
}

.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-weight: 600; font-size: 1rem; color: var(--dark-bg); position: relative; }

/* Effet souligné au survol du menu */
.nav-links a::after {
    content: ''; position: absolute; width: 0; height: 2px;
    bottom: -5px; left: 0; background: var(--primary-color);
    transition: width 0.3s;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

/* Mobile Burger */
.burger { display: none; font-size: 1.8rem; cursor: pointer; color: var(--primary-color); }

@media (max-width: 900px) {
    .nav-links {
        position: absolute; top: var(--topbar-height); right: -100%;
        background: var(--white); height: 100vh; width: 70%;
        flex-direction: column; justify-content: center;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.4s ease;
    }
    .nav-links.nav-active { right: 0; }
    .burger { display: block; }
}

/* =========================================
   4. SECTION HÉRO (HAUT DE PAGE)
   ========================================= */
.hero { 
    position: relative;
    height: 85vh; /* Prend presque tout l'écran */
    display: flex; flex-direction: column; 
    justify-content: center; align-items: center; text-align: center;
    color: var(--white);
    /* Image de fond avec filtre sombre par dessus pour lire le texte */
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.5)), url('../img/hero-bg.jpg');
    background-size: cover; background-position: center;
    background-attachment: fixed; /* Effet Parallaxe */
    margin-top: calc(-1 * var(--topbar-height)); /* Colle en haut */
}

.hero h1 { font-size: 3.5rem; margin-bottom: 20px; animation: fadeInUp 1s ease; }
.hero p { font-size: 1.3rem; margin-bottom: 40px; max-width: 700px; animation: fadeInUp 1.2s ease; }
.hero-btns { animation: fadeInUp 1.4s ease; }

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

/* =========================================
   5. UNIVERS & CARTES
   ========================================= */
section {
    padding: 100px 20px; /* Beaucoup d'espace en haut/bas, 5% sur les côtés */
    max-width: 1200px; /* Évite que le site soit trop large sur les écrans géants */
    margin: 0 auto;    /* Centre le contenu */
    position: relative;
}

/* Exception pour le formulaire en bas qui a déjà son propre padding */
#contact-home {
    padding-top: 80px;
    padding-bottom: 80px;
}

/* Adaptation Mobile : On réduit un peu l'espace pour ne pas perdre de place */
@media (max-width: 768px) {
    section {
        padding: 60px 20px;
    }
}

.univers-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px; margin-top: 50px;
}

.card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid transparent;
}

.card:hover {
    transform: translateY(-10px); /* La carte monte */
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-top: 4px solid var(--primary-color);
}

.card h3 { font-size: 1.5rem; margin-bottom: 15px; color: var(--dark-bg); }
.card p { color: #666; margin-bottom: 20px; }

/* =========================================
   6. SPLIT SECTION (IMAGE + TEXTE)
   ========================================= */
.split-section {
    display: flex; 
    align-items: center; /* Centre verticalement texte et image */
    gap: 60px; /* Espace entre le texte et l'image */
    
    /* PAS DE BACKGROUND ICI -> On laisse voir le dégradé du body */
    background: transparent; 
}
.split-section:nth-child(even) { flex-direction: row-reverse; } /* Alterne gauche/droite */

.split-content { flex: 1; }
.split-image { flex: 1; position: relative; }
.split-image img {
    border-radius: 20px; /* Gros arrondi moderne */
    box-shadow: 0 15px 35px rgba(0,0,0,0.15); /* Ombre portée douce */
    width: 100%;
    height: auto;
    display: block;
}
@media (max-width: 900px) {
    .split-section { flex-direction: column !important; text-align: center; }
}

/* =========================================
   7. FORMULAIRE & FOOTER
   ========================================= */
#contact-home { background: var(--light-bg); }
form {
    background: var(--white); padding: 40px;
    border-radius: var(--radius); box-shadow: var(--shadow);
    max-width: 700px; margin: 0 auto;
}
input, textarea, select {
    width: 100%; padding: 15px; margin-bottom: 20px;
    border: 1px solid #ddd; border-radius: 8px;
    font-family: inherit; transition: 0.3s;
}
input:focus, textarea:focus, select:focus {
    outline: none; border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.1);
}

footer {
    background-color: #444; /* Gris foncé comme sur ta photo */
    color: #fff;
    padding: 40px 0;
    font-size: 0.9rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap; /* Pour le mobile */
    gap: 30px;
}

.footer-col {
    flex: 1; /* Les colonnes prennent la même largeur */
    min-width: 250px;
}

.footer-col h4 {
    color: #fff;
    text-transform: uppercase;
    font-size: 0.95rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.footer-links a {
    color: #fff;
    text-decoration: underline;
    margin-right: 5px;
}
.footer-links a:hover { color: var(--primary-color); }

.footer-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.footer-icons img {
    height: 25px; /* Taille des icônes */
    width: auto;
    filter: brightness(0) invert(1); /* Rend les icônes noires blanches */
}

/* L'exception pour le logo Alma qui doit rester orange */
.footer-icons img.alma-logo {
    filter: none; 
    height: 22px;
}

/* Mobile : centrer le tout */
/* --- Version Mobile du Footer --- */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column; /* Empile les colonnes */
        align-items: center;    /* Centre les blocs horizontalement */
        text-align: center;     /* Centre le texte à l'intérieur */
        gap: 40px;              /* Espacement entre les groupes */
    }

    .footer-col {
        width: 100%;            /* Force la largeur max */
        display: flex;
        flex-direction: column;
        align-items: center;    /* Centre le contenu (titres, icônes) */
    }

    .footer-links {
        display: flex;
        flex-direction: column; /* Met les liens les uns sous les autres sur mobile */
        gap: 10px;
        margin-top: 15px;
    }
    
    .footer-icons {
        justify-content: center; /* Centre les icônes */
        width: 100%;
    }
}

/* =========================================
   8. STYLE SPÉCIFIQUE PAGE D'ACCUEIL V2
   ========================================= */

/* --- Badge "Expertise Unique" --- */
.badge-orange {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

/* --- Cartes Services (Photo en haut) --- */
.service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden; /* Pour que l'image suive l'arrondi */
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    text-align: center;
    padding-bottom: 20px;
}
.service-card:hover { transform: translateY(-8px); }

.card-img {
    height: 200px;
    overflow: hidden;
}
.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.service-card:hover img { transform: scale(1.1); } /* Zoom image au survol */

.service-card h3 {
    margin-top: 20px;
    color: var(--primary-color);
}

/* --- Liste à puces PC (Checkmarks violets/bleus) --- */
.check-list {
    margin: 20px 0 30px 0;
}
.check-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: #555;
}
.check-list li::before {
    content: '✔'; /* Ou une icône SVG si tu préfères */
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
    color: #6c5ce7; /* Le violet de ta capture d'écran */
    font-size: 1.2rem;
}

/* --- Inversion pour le PC (Image à gauche ou droite) --- */
.split-section.reverse {
    flex-direction: row-reverse;
}
@media (max-width: 900px) {
    .split-section.reverse { flex-direction: column !important; }
}

/* --- Nouveau Formulaire Style "Clean" --- */
.form-container {
    max-width: 650px;
    margin: 0 auto;
}

#contact-form {
    background: white;
    padding: 40px;
    border-radius: 8px; /* Bords légèrement arrondis comme sur la photo */
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #444;
    font-size: 0.95rem;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    color: #333;
    background: #fff;
    transition: border 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.1);
}

/* Input file plus joli */
.file-input {
    background: #f9f9f9;
    padding: 10px;
    border: 1px dashed #ccc;
}

/* Bouton pleine largeur orange */
.btn-full {
    width: 100%;
    background: #ff5722; /* Orange vif */
    border-radius: 30px;
    font-size: 1.1rem;
    margin-top: 10px;
}
.btn-full:hover {
    background: #e64a19;
}

/* =========================================
   9. STYLE FORMULAIRE IDENTIQUE ANCIEN SITE
   ========================================= */

/* La section globale blanche */
.contact-white-section {
    background-color: #fff; /* Fond blanc */
    padding: 60px 20px;
    margin-top: 50px;
    /* On enlève la limite de largeur pour que le fond blanc aille jusqu'au bord de l'écran */
    max-width: 100% !important; 
    width: 100%;
}

/* La carte du formulaire avec l'ombre */
.form-card-shadow {
    max-width: 700px;
    margin: 40px auto;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    /* L'ombre spécifique de ta photo */
    box-shadow: 0 5px 25px rgba(0,0,0,0.12); 
    border: 1px solid #eee;
}

/* On retire le style par défaut du form qu'on avait mis avant */
.form-card-shadow form {
    box-shadow: none;
    padding: 0;
    border: none;
    margin: 0;
}

/* Style des Inputs comme sur la photo */
.contact-white-section input,
.contact-white-section select,
.contact-white-section textarea {
    background-color: #fff;
    border: 1px solid #ccc; /* Bordure grise simple */
    border-radius: 5px;     /* Arrondi léger */
    padding: 12px;
    font-size: 0.95rem;
    color: #555;
}

.contact-white-section label {
    font-weight: 500;
    color: #444;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

/* Le bouton Orange Vif */
.btn-orange-full {
    display: block;
    width: 100%;
    background-color: #ff5722; /* Orange EasyFix */
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 15px 0;
    border: 1px solid #e64a19; /* Petite bordure plus foncée pour le relief */
    border-radius: 30px;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.3s;
    box-shadow: 0 3px 0 #d84315; /* Petit effet 3D en bas */
}

.btn-orange-full:hover {
    background-color: #f4511e;
    transform: translateY(1px);
    box-shadow: 0 2px 0 #d84315;
}

/* Les infos en bas */
.contact-direct-info {
    text-align: center;
    margin-top: 50px;
    color: #333;
}

.contact-direct-info h3 {
    color: #ff5722;
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.contact-direct-info p {
    margin-bottom: 10px;
    font-size: 1rem;
}

.contact-direct-info a {
    color: #ff5722;
    font-weight: 600;
    text-decoration: none;
}
/* =========================================
   10. STYLE PAGE SERVICES (CORRECTIFS)
   ========================================= */

/* --- Le Héro des sous-pages (Plus petit et plus propre) --- */
.hero-small {
    position: relative;
    height: 50vh; /* Moitié de l'écran seulement */
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    background-size: cover;
    background-position: center;
    /* Ombre portée en bas pour séparer du contenu */
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    margin-top: calc(-1 * var(--topbar-height)); /* Colle en haut sous le menu */
    margin-bottom: 60px;
}

/* --- Le conteneur Blanc pour chaque service --- */
.white-card-service {
    background: #fff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08); /* Belle ombre douce */
    margin-bottom: 60px; /* Espace entre les cartes */
    
    /* On force le layout Flex (Gauche/Droite) ICI */
    display: flex;
    align-items: center;
    gap: 50px;
}

/* Version inversée (Image à gauche ou droite) */
.white-card-service.reverse {
    flex-direction: row-reverse;
}

/* --- CORRECTION DES IMAGES (Taille uniforme) --- */
.white-card-service .split-image {
    /* On force la largeur à 50% du conteneur, ni plus ni moins */
    flex: 0 0 50%; 
    max-width: 50%;
    
    /* On force la hauteur à 350px fixes */
    height: 350px; 
    overflow: hidden;
    border-radius: 15px;
}

.white-card-service .split-image img {
    width: 100%;
    height: 100%;
    
    /* C'est la clé : l'image remplit le cadre sans se déformer (elle se coupe si besoin) */
    object-fit: cover; 
    object-position: center; /* On centre l'image */
    
    display: block;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.white-card-service .split-content {
    flex: 1;
}

/* --- Correction Mobile Spécifique --- */
@media (max-width: 900px) {
    .white-card-service, .white-card-service.reverse {
        flex-direction: column !important; /* Empile image et texte */
        padding: 20px; /* Moins de padding sur mobile */
        gap: 20px;
    }

    .white-card-service .split-image {
        /* On force le conteneur de l'image à prendre toute la largeur */
        flex: none; 
        width: 100%;
        max-width: 100%;
        
        /* C'est ICI qu'on règle ton problème : on réduit la hauteur */
        height: 200px; 
    }

    .white-card-service .split-image img {
        width: 100%;
        height: 100%;
        /* Important : coupe l'image proprement pour qu'elle remplisse le cadre de 200px */
        object-fit: cover; 
        object-position: center; 
        border-radius: 10px;
    }
}

/* =========================================
   11. SECTION CONFIANCE (SERVICES)
   ========================================= */

.trust-section {
    padding-top: 0 !important; /* On réduit l'espace au dessus */
    padding-bottom: 80px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.trust-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.6); /* Blanc légèrement transparent */
    padding: 30px 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: transform 0.3s;
}

.trust-item:hover {
    transform: translateY(-5px);
    background: #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.trust-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: inline-block;
    background: #fff;
    color: var(--primary-color);
    width: 70px;
    height: 70px;
    line-height: 70px; /* Centre verticalement */
    border-radius: 50%; /* Rond parfait */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.trust-item h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.trust-item p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

/* =========================================
   12. STYLE PAGE MONTAGE PC
   ========================================= */

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

.pc-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    border: 1px solid #eee;
    transition: transform 0.3s, border-color 0.3s;
}

.pc-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.pc-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
    padding: 15px;
    background: #f4f6f8;
    border-radius: 50%;
}

.pc-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2d3436;
}

.pc-card p {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* Petite liste spécifique aux cartes PC */
.check-list-small {
    text-align: left;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.check-list-small li {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.check-list-small li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}

/* =========================================
   13. STYLES ADDITIONNELS PC (PROCESS & GALERIE)
   ========================================= */

/* --- Le Processus en 4 étapes --- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-top: 30px;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    box-shadow: 0 5px 15px rgba(255, 87, 34, 0.3);
}

.process-step h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.process-step p {
    font-size: 0.9rem;
    color: #666;
}

/* --- La Galerie Photo (Bandeau) --- */
.gallery-strip {
    padding: 0 !important; /* Pas de padding, on veut que ça touche les bords */
    display: flex;
    overflow-x: auto; /* Permet de scroller horizontalement sur mobile */
    max-width: 100% !important;
}

.gallery-item {
    flex: 1;
    min-width: 25%; /* 4 images cote à cote sur PC */
    height: 300px;
    position: relative;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1); /* Zoom au survol */
}

/* Mobile : Galerie en 2x2 */
@media (max-width: 768px) {
    .gallery-strip {
        flex-wrap: wrap;
    }
    .gallery-item {
        min-width: 50%; /* 2 par ligne sur mobile */
        height: 200px;
    }
}

/* =========================================
   14. STYLE PAGE CONTACT
   ========================================= */

.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 colonnes égales */
    gap: 50px;
    align-items: start;
}

/* Style des petites cartes d'info à gauche */
.info-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-color);
}

.info-card h3 {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    color: var(--dark-bg);
}

.info-card p {
    margin: 0;
    color: #555;
}

/* Style de la carte Google Maps */
.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    height: 300px;
    width: 100%;
    margin-top: 20px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* MOBILE : On empile tout */
@media (max-width: 900px) {
    .contact-page-grid {
        grid-template-columns: 1fr; /* 1 seule colonne */
        gap: 40px;
    }
    
    /* On inverse l'ordre sur mobile ? (Optionnel) 
       Ici on laisse : Infos d'abord, Formulaire ensuite.
    */
}

/* =========================================
   15. STYLE PAGES LÉGALES (CGV, MENTIONS...)
   ========================================= */

.legal-section {
    padding-top: 60px;
    padding-bottom: 80px;
}

.legal-card {
    background: #fff;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    max-width: 900px; /* Moins large pour faciliter la lecture */
    margin: 0 auto;
    text-align: left; /* Texte aligné à gauche c'est plus pro pour du juridique */
}

.legal-card h1 {
    text-align: center;
    color: var(--dark-bg);
    margin-bottom: 50px;
    font-size: 2.5rem;
}

.legal-card h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: left; /* Titres de section à gauche */
}

/* On retire le petit trait sous les H2 spécifique à l'accueil */
.legal-card h2::after { display: none; }

.legal-card p, .legal-card li {
    color: #555;
    font-size: 1rem;
    margin-bottom: 15px;
    line-height: 1.8; /* Interligne plus grand pour le confort */
}

.legal-card ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.legal-card strong {
    color: #333;
}

/* Mobile */
@media (max-width: 768px) {
    .legal-card {
        padding: 30px 20px;
    }
    .legal-card h1 { font-size: 2rem; }
}