/* ==========================================================================
   DESIGN SHORTCODES CONTACT (Version Textes Agrandis)
   Fichier : assets/css/ma-contact.css
   ========================================================================== */

/* --- 1. BANDEAU HERO [ma_contact_hero] --- */
.ma-contact-hero {
    position: relative;
    background-image: url('https://martin-armes.fr/wp-content/uploads/2021/01/armurerie_6-2.jpg');
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 4px solid #F16725;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), calc(100% - 40px) 100%, 0 100%);
    margin-bottom: -20px;
    z-index: 10;
}

.ma-contact-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(17, 17, 17, 0.65);
    z-index: 1;
}

.ma-contact-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
}

.ma-contact-hero h1 {
    color: #ffffff !important;
    font-family: 'Oswald', sans-serif !important;
    font-size: 5rem !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    margin: 0 0 10px 0 !important;
    letter-spacing: 2px !important;
    text-shadow: 2px 2px 15px rgba(0,0,0,0.9) !important;
    line-height: 1.1 !important;
}

.ma-contact-hero h2 {
    color: #F16725 !important;
    font-family: 'Oswald', sans-serif !important;
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    margin: 0 !important;
    letter-spacing: 6px !important;
    text-shadow: 1px 1px 10px rgba(0,0,0,0.9) !important;
}

@media (max-width: 768px) {
    .ma-contact-hero h1 { font-size: 2.5rem !important; }
    .ma-contact-hero h2 { font-size: 1.1rem !important; letter-spacing: 2px !important; }
    .ma-contact-hero { height: 280px; }
}

/* --- 2. GRILLE & CARTE [ma_contact_tactical] --- */
.ma-tactical-contact-wrapper {
    max-width: 1300px;
    margin: 60px auto 40px auto;
    padding: 0 20px;
    position: relative;
    z-index: 20;
}

.ma-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .ma-contact-grid { grid-template-columns: 1fr; }
}

.ma-contact-panel {
    background: #1e1e1e;
    border: 1px solid #333;
    border-top: 3px solid #F16725;
    padding: 40px;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.4), 0 5px 25px rgba(0, 0, 0, 0.6);
    clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
}

.ma-panel-title {
    color: #ffffff !important;
    font-family: 'Oswald', sans-serif !important;
    font-size: 2.4rem !important; /* Agrandi */
    font-weight: 900 !important;
    text-transform: uppercase !important;
    margin-bottom: 30px !important;
    border-left: 4px solid #F16725 !important;
    padding-left: 15px !important;
    line-height: 1.1 !important;
}

.ma-email-preference {
    display: flex;
    align-items: center;
    background-color: rgba(241, 103, 37, 0.1);
    border: 1px solid #F16725;
    padding: 20px;
    margin-bottom: 30px;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.ma-alert-icon { font-size: 2.2rem; margin-right: 15px; } /* Agrandi */
.ma-alert-text strong {
    color: #F16725; font-family: 'Oswald', sans-serif; font-size: 1.4rem; /* Agrandi */
    text-transform: uppercase; display: block; margin-bottom: 5px;
}
.ma-alert-text p { color: #dddddd; margin: 0; font-size: 1.1rem; line-height: 1.5; } /* Agrandi */

.ma-info-block { margin-bottom: 30px; }
.ma-info-label {
    display: block; color: #F16725; font-family: 'Oswald', sans-serif;
    text-transform: uppercase; font-size: 1.25rem; letter-spacing: 1px; margin-bottom: 5px; /* Agrandi */
}
.ma-info-value { display: block; color: #ffffff; font-size: 1.35rem; line-height: 1.5; } /* Agrandi */

.ma-hours ul { list-style: none; padding: 0; margin: 0; }
.ma-hours ul li {
    display: flex; justify-content: space-between; color: #aaaaaa;
    font-size: 1.1rem; margin-bottom: 12px; border-bottom: 1px dashed #333; padding-bottom: 8px; /* Agrandi */
}
.ma-hours ul li .ma-closed { color: #F16725; font-weight: bold; text-transform: uppercase; }

.ma-panel-form .wpcf7-form label {
    color: #ffffff !important; font-family: 'Oswald', sans-serif !important;
    text-transform: uppercase !important; font-size: 1.15rem !important; display: block !important; margin-bottom: 8px !important; /* Agrandi */
}
.ma-panel-form .wpcf7-form input[type="text"],
.ma-panel-form .wpcf7-form input[type="email"],
.ma-panel-form .wpcf7-form input[type="tel"],
.ma-panel-form .wpcf7-form textarea {
    background-color: #111111 !important; border: 1px solid #333 !important; color: #ffffff !important;
    padding: 15px !important; width: 100% !important; border-radius: 0 !important; font-size: 1.1rem !important; /* Agrandi */
    margin-bottom: 20px !important; box-sizing: border-box !important; transition: all 0.3s ease !important;
}
.ma-panel-form .wpcf7-form input:focus, .ma-panel-form .wpcf7-form textarea:focus {
    border-color: #F16725 !important; outline: none !important; box-shadow: inset 4px 0 0 #F16725 !important;
}
.ma-panel-form .wpcf7-form input[type="submit"] {
    background-color: #2b2b2b !important; color: #ffffff !important; border: 1px solid #777777 !important;
    border-left: 4px solid #F16725 !important;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px) !important;
    padding: 15px 25px !important; font-family: 'Oswald', sans-serif !important;
    text-transform: uppercase !important; font-weight: 700 !important; font-size: 1.3rem !important; /* Agrandi */
    cursor: pointer !important; width: 100% !important; transition: all 0.3s ease !important; margin-top: 10px !important;
}
.ma-panel-form .wpcf7-form input[type="submit"]:hover { background-color: #F16725 !important; border-color: #F16725 !important; }

.ma-contact-map-panel {
    background: #1e1e1e; border: 1px solid #333; border-top: 3px solid #F16725; padding: 10px;
    clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
}
.ma-contact-map-panel iframe {
    filter: invert(90%) hue-rotate(180deg) grayscale(30%) contrast(120%); width: 100%; display: block;
}