/* --- 1. IMPORTATION ET VARIABLES --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700;900&display=swap');

:root {
    --bg-white: #FFFFFF;
    --bg-light-gray: #F5F7FA;
    --text-dark: #2C3E50; /* Gris-Bleu foncé (plus doux que le noir) */
    --text-light: #FFFFFF;
    --accent-yellow: #FFD700; /* Jaune Industriel */
    --accent-blue-dark: #0B1524; /* Bleu Nuit (pour le footer) */
    --border-color: #E0E0E0;
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* --- 2. STYLES GLOBAUX --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden; /* Empêche le scroll horizontal */
}

.container {
    max-width: 1350px; /* Votre largeur */
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 5rem 0;
}

/* Grille 2 colonnes générique */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: flex-start; /* Changé pour aligner les formulaires */
}

/* Titres */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 900; /* Très gras pour un look "industriel" */
    margin-bottom: 1.5rem;
    line-height: 1.3;
}
h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; font-weight: 700; }

p {
    margin-bottom: 1rem;
}
p.subtitle {
    font-size: 1.1rem;
    color: #555;
    text-align: center;
    margin-top: -1rem;
    margin-bottom: 3rem;
}

a {
    text-decoration: none;
    color: var(--accent-yellow);
    font-weight: 700;
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    border: none;
}
.btn-yellow {
    background-color: var(--accent-yellow);
    color: #333; /* Texte foncé sur jaune pour lisibilité */
}
.btn-yellow:hover {
    background-color: #e6c000;
    transform: translateY(-2px);
}
.btn-dark {
    background-color: var(--text-dark);
    color: var(--text-light);
}
.btn-dark:hover {
    background-color: #3e5770;
}

/* --- 3. ANIMATION DE SCROLL --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }


/* --- 4. HEADER / NAVIGATION --- */
header {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 110;
}
.logo img {
    width: 160px;
    height: auto;
}

/* --- 4B. MENU DE NAVIGATION (DESKTOP) --- */
nav ul {
    list-style: none;
    display: flex;
    align-items: center;
}
nav li {
    margin-left: 1.5rem;
}
nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    padding: 0.5rem;
    transition: color 0.3s ease;
}
nav a:hover, nav a.active {
    color: var(--accent-yellow);
}
nav .btn-yellow {
    margin-left: 1.5rem;
}

/* --- 4C. MENU MOBILE --- */
.mobile-menu-toggle {
    display: none; /* Caché sur desktop */
    background: none;
    border: none;
    cursor: pointer;
    z-index: 110;
}
.mobile-menu-toggle .burger-icon {
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--text-dark);
    position: relative;
    transition: all 0.3s ease;
}
.mobile-menu-toggle .burger-icon::before,
.mobile-menu-toggle .burger-icon::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: var(--text-dark);
    left: 0;
    transition: all 0.3s ease;
}
.mobile-menu-toggle .burger-icon::before {
    top: -8px;
}
.mobile-menu-toggle .burger-icon::after {
    bottom: -8px;
}

/* Animation du bouton "burger" en "X" */
.mobile-menu-toggle.is-active .burger-icon {
    background-color: transparent; /* Le trait du milieu disparaît */
}
.mobile-menu-toggle.is-active .burger-icon::before {
    transform: rotate(45deg) translate(5px, 6px);
}
.mobile-menu-toggle.is-active .burger-icon::after {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* --- 5. SECTION HERO --- */
#hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(/cdn/v.png); /* Votre image */
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    padding: 8rem 0;
    text-align: left;
    min-height: 80vh;
    display: flex;
    align-items: center;
}
#hero h1 {
    font-size: 4rem;
    text-transform: uppercase;
}
#hero p {
    font-size: 1.2rem;
    max-width: 60ch;
    margin-bottom: 2rem;
}

/* --- 6. SECTION SERVICES --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}
.service-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.service-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}
.service-card-content {
    padding: 2rem;
}
.service-card-content a {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 700;
}
.service-card-content a:after {
    content: ' →';
}

/* --- 7. SECTION "À PROPOS" --- */
#about-us {
    background-color: var(--bg-light-gray);
}
.about-text h2 {
    text-align: left; /* Votre ajout */
}
#about-us img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
#about-us ul {
    list-style: none;
    padding-left: 0;
}
#about-us li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}
#about-us li::before {
    content: '✔'; /* Coche */
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-yellow);
    font-weight: 900;
}


/* --- 8. SECTION CATALOGUE PREVIEW --- */
#catalogue-preview {
    background-color: var(--bg-white);
}
.catalogue-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}
.catalogue-item-preview {
    background-color: var(--bg-light-gray);
    border-radius: 8px;
    text-align: center;
    padding: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}
.catalogue-item-preview:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    background-color: var(--bg-white);
}
.catalogue-item-preview img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 1rem;
}
.catalogue-item-preview h4 {
    margin-bottom: 0.5rem;
}
#catalogue-preview .btn-container {
    text-align: center;
    margin-top: 3rem;
}

/* --- 9. SECTION "POURQUOI NOUS" --- */
#why-us {
    background-color: var(--bg-light-gray);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    text-align: center;
}
.feature-item {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.feature-item .icon {
    font-size: 3rem; /* Utiliser des SVGs ou FontAwesome ici */
    color: var(--accent-yellow);
    margin-bottom: 1rem;
}

/* --- 10. FOOTER (NOUVELLE STRUCTURE) --- */
footer {
    background-color: var(--accent-blue-dark);
    color: #aaa;
    padding: 5rem 0 2rem 0;
}

/* Grille principale 4 colonnes */
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: var(--text-light);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Colonne 1: A propos */
#footer-about .logo-text {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-yellow);
    text-decoration: none;
    margin-bottom: 1.5rem;
    display: inline-block;
}
#footer-about p {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* Colonnes de liens */
.footer-col ul {
    list-style: none;
}
.footer-col li {
    margin-bottom: 0.8rem;
}
.footer-col a {
    color: #aaa;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9rem;
}
.footer-col a:hover {
    color: var(--text-light);
}

/* Ligne de séparation */
.footer-divider {
    border: none;
    height: 1px;
    background-color: #333;
    margin-bottom: 2rem;
}

/* Sous-footer (Copyright & Crédit) */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.footer-credit a {
    color: var(--accent-yellow);
    font-weight: 700;
}
.footer-credit a:hover {
    color: var(--text-light);
}


/* --- 11. STYLES DES SOUS-PAGES (SERVICE, CATALOGUE) --- */
.page-header {
    background-color: var(--text-dark);
    color: var(--text-light);
    padding: 4rem 0;
    text-align: center;
}
.page-header h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}
.page-header p {
    font-size: 1.2rem;
    color: var(--accent-yellow);
    font-weight: 700;
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.service-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.service-gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.catalogue-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.catalogue-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.catalogue-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}
.catalogue-card-content {
    padding: 2rem;
}
.catalogue-card-content p {
    margin-bottom: 1.5rem;
}
.catalogue-card-content .btn {
    width: 100%;
}

/* --- 11B. STYLES PAGE CONTACT --- */
#contact-form-page .form-group-full,
#contact-form-page .form-group-half {
    margin-bottom: 1.5rem;
}
#contact-form-page .form-group-half {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
form#contact-form-page {
    position: relative;
}
#contact-form-page label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
#contact-form-page input[type="text"],
#contact-form-page input[type="email"],
#contact-form-page textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: var(--bg-light-gray);
}
#contact-form-page textarea {
    resize: vertical;
}
#contact-form-page .btn-yellow {
    width: 100%;
    font-size: 1.1rem;
}

.contact-info-container {
    padding-left: 2rem;
}
.contact-info-item {
    margin-bottom: 2rem;
}
.contact-info-item .icon {
    font-size: 1.2rem;
    margin-right: 0.5rem;
}
.contact-info-item strong {
    font-size: 1.1rem;
}
.contact-info-item p {
    font-size: 1rem;
    margin-top: 0.25rem;
    margin-bottom: 0;
    padding-left: 28px; /* Aligner sous l'icône */
}
.contact-map {
    margin-top: 2rem;
}
/* --- (Vos styles existants avant) --- */

/* --- 11D. STYLES POUR MESSAGES AJAX FORMULAIRE CONTACT --- */
.form-message {
    padding: 1rem;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    display: none; /* Caché par défaut */
    border: 1px solid transparent; /* Base border */
    min-height: 50px; /* Hauteur minimale pour contenir le spinner */
    display: flex; /* Centrer le contenu (texte ou spinner) */
    align-items: center;
    justify-content: center;
}
/* Style pour l'état de chargement AVEC spinner */
.form-message.loading {
    display: flex;
    background-color: transparent;
    color: var(--text-dark);
    border: none;
    width: 100%;
    height: 100%;
    position: absolute;
    align-items: center;
    top: 0;
    left: 0;
    background: #00000030;
    justify-content: center;
}
.form-message.success {
    display: flex;
    background-color: #d4edda; /* Vert succès */
    color: #155724;
    border-color: #c3e6cb;
}
.form-message.error {
    display: flex;
    background-color: #f8d7da; /* Rouge erreur */
    color: #721c24;
    border-color: #f5c6cb;
}

/* --- 11E. SPINNER DE CHARGEMENT AJAX (NOUVEAU) --- */
.loading-spinner {
    border: 4px solid rgba(0, 0, 0, 0.1); /* Bordure gris clair */
    border-left-color: var(--accent-yellow); /* Couleur Jaune Industriel */
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite; /* Animation de rotation */
}

/* Cache le texte quand le spinner est affiché via JS */
.form-message.loading span {
    display: none;
}

/* Animation de rotation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/* --- 12. RESPONSIVE DESIGN --- */
/* --- (Vos styles responsive existants après) --- */
/* --- 11C. STYLES MODAL (POPUP) (NOUVEAU) --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: var(--bg-white);
    border-radius: 8px;
    z-index: 1001;
    width: 90%;
    max-width: 900px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    
    /* Permet le scroll à l'intérieur du modal si trop grand */
    max-height: 90vh;
    overflow-y: auto;
}
.modal.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}
a.btn.btn-yellow:hover{
    color:white;
}
.modal-close-btn {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2.5rem;
    font-weight: 300;
    color: #aaa;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: color 0.2s ease;
}
.modal-close-btn:hover {
    color: var(--text-dark);
}

.modal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}
.modal-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px 0 0 8px;
}
.modal-text {
    padding: 2.5rem;
}
.modal-text h2 {
    text-align: left;
    margin-bottom: 1rem;
}
.modal-text p {
    font-size: 1rem;
    margin-bottom: 2rem;
}
.modal-text .btn-yellow {
    width: 100%;
}
/* --- 11D. SYSTÈME DE NOTIFICATION MODERNE (TOAST POP-UP) --- */

#notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2000; /* Assure que c'est au-dessus de tout */
    pointer-events: none; /* Permet de cliquer à travers si aucun toast n'est visible */
}

.toast-notification {
    background-color: var(--bg-white);
    color: var(--text-dark);
    padding: 15px 25px;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-weight: 700;
    min-width: 250px;
    max-width: 350px;
    
    /* Animation de base: commence à droite et glisse vers la gauche */
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.4s ease-out;
    
    /* Icônes */
    position: relative;
    padding-left: 45px;
    line-height: 1.5;
}

/* État affiché */
.toast-notification.show {
    opacity: 1;
    transform: translateX(0);
}

/* Styles spécifiques au statut */
.toast-notification.success {
    border-left: 5px solid #28a745; /* Vert succès */
}
.toast-notification.success::before {
    content: '✅';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
}

.toast-notification.error,
.toast-notification.warning {
    border-left: 5px solid #dc3545; /* Rouge erreur */
}
.toast-notification.error::before,
.toast-notification.warning::before {
    content: '❌';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
}

/* Texte d'erreur pour les messages critiques */
.toast-notification strong {
    color: var(--text-dark);
    display: block;
    margin-bottom: 5px;
}
/* --- NOUVEAU: Style de désactivation du formulaire pendant AJAX --- */
#contact-form-page.is-sending {
    opacity: 0.5; /* Opacité sur tout le formulaire */
    pointer-events: none; /* Empêche les clics sur tous les champs */
}
/* --- 11D. SYSTÈME DE NOTIFICATION MODALE (SUCCÈS/ERREUR) --- */

/* L'Overlay (fond noir) */
.notification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999; /* Très haut pour être certain */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}
.notification-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* La Pop-up Modale centrée */
#notification-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    width: 90%;
    max-width: 450px;
    padding: 30px;
    text-align: center;
    
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-out;
}
#notification-modal.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

/* Styles pour le contenu */
#notification-modal h4 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}
#notification-modal p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 25px;
}
#notification-modal .modal-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1;
}
#notification-modal .btn-close {
    background-color: var(--text-dark);
    color: var(--text-light);
}

/* Couleurs spécifiques */
#notification-modal.success .modal-icon {
    color: #28a745; /* Vert */
}
#notification-modal.error .modal-icon {
    color: #dc3545; /* Rouge */
}
/* --- 12. RESPONSIVE DESIGN (MIS À JOUR) --- */
@media (max-width: 992px) {
    h1 { font-size: 1.7rem !important; }
    h2 { 
        text-align: center;
        font-size: 1.7rem;
    }
    .service-gallery.animate-on-scroll.delay-2.is-visible {
        display: flex;
        flex-direction: column;
    }
    #hero h1 {
    font-size: 1.5rem;
    }
    #hero {
        background-position: right;
    }
    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .services-grid, .features-grid, .catalogue-page-grid {
        grid-template-columns: 1fr 1fr;
    }
    .catalogue-grid {
        grid-template-columns: 1fr 1fr;
    }
    .service-content {
        grid-template-columns: 1fr;
    }
    
    .contact-info-container {
        padding-left: 0;
        margin-top: 3rem;
    }

    /* Responsive Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr; /* 2x2 grid */
    }
    
    /* Responsive Modal */
    .modal {
        width: 95%;
    }
    .modal-content {
        grid-template-columns: 1fr; /* 1 colonne sur tablette */
    }
    .modal-content img {
        height: 250px; /* Hauteur fixe pour l'image */
        border-radius: 8px 8px 0 0;
    }
    .modal-text {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    /* --- Menu Mobile --- */
    .mobile-menu-toggle {
        display: block; /* Affiche le bouton burger */
    }
    
    header nav {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--bg-white);
        padding-top: 8rem;
        text-align: center;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.4s ease;
    }
    
    header nav.is-active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    header nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    header nav li {
        margin-left: 0;
        margin-bottom: 2rem;
    }
    
    header nav a {
        font-size: 1.5rem; /* Liens plus grands */
    }
    
    header nav .btn-yellow {
        margin-left: 0;
        font-size: 1.2rem;
    }
    
    /* --- Autres sections --- */
    .services-grid, .catalogue-grid, .features-grid, .catalogue-page-grid {
        grid-template-columns: 1fr; /* 1 colonne sur mobile */
    }

    #hero {
        text-align: center;
    }
    #hero p {
        margin: 0 auto 2rem auto;
    }
    
    /* Responsive Footer Mobile */
    .footer-grid {
        grid-template-columns: 1fr; /* 1 colonne */
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .footer-legal {
        margin-bottom: 0.5rem;
    }
    
    #contact-form-page .form-group-half {
        grid-template-columns: 1fr;
        gap: 0;
    }
    #contact-form-page .form-group-half div:first-child {
        margin-bottom: 1.5rem;
    }
    
    /* Responsive Modal Mobile */
    .modal-text {
        padding: 2rem 1.5rem;
    }
    .modal-close-btn {
        top: 0.5rem;
        right: 1rem;
    }
}