/*
 * Contact Page Styles — Utopik Photo
 * Migré depuis style.css v5.3.8 → v5.4.0
 * Chargé conditionnellement via functions.php section 10b
 * Uniquement sur page ID 6307 (/contact/)
 */

/* ===== LAYOUT GÉNÉRAL ===== */
.utopik-contact .page_content_wrapper {
    padding: 0 !important;
}
.utopik-contact .one {
    margin-bottom: 0 !important;
}

/* ===== LARGEUR ÉTENDUE ===== */
.page-id-6307 .sidebar_content.full_width,
.page-id-6307 .inner_wrapper {
    max-width: 100% !important;
    width: 100% !important;
}

.page-id-6307 .utopik-contact .inner {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 30px !important;
    box-sizing: border-box !important;
}

/* ===== CHAMPS DU FORMULAIRE (style underline) ===== */
.utopik-contact .one_half.last .frm_form_field input,
.utopik-contact .one_half.last .frm_form_field textarea,
.utopik-contact .one_half.last .frm_form_field select {
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid #e0e0e0 !important;
    border-radius: 0 !important;
    padding: 8px 0 !important;
    font-size: 0.9em !important;
    box-shadow: none !important;
    transition: border-color 0.3s ease !important;
}

.utopik-contact .one_half.last .frm_form_field input:focus,
.utopik-contact .one_half.last .frm_form_field textarea:focus,
.utopik-contact .one_half.last .frm_form_field select:focus {
    border-bottom: 2px solid #1a1a1a !important;
    outline: none !important;
    padding-bottom: 6px !important;
}

/* ===== PLACEHOLDER ===== */
.utopik-contact .one_half.last .frm_form_field input::placeholder,
.utopik-contact .one_half.last .frm_form_field textarea::placeholder {
    color: #ccc !important;
    opacity: 1 !important;
}

/* ===== TEXTAREA ===== */
.utopik-contact .one_half.last .frm_form_field textarea {
    min-height: 80px !important;
    resize: vertical !important;
}

/* ===== BOUTON D'ENVOI ===== */
.utopik-contact .frm_submit button,
.utopik-contact .frm_submit input[type="submit"] {
    background: #1a1a1a !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 14px 36px !important;
    font-size: 0.85em !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
}

.utopik-contact .frm_submit button:hover,
.utopik-contact .frm_submit input[type="submit"]:hover {
    background: #333 !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
}

/* ===== LABELS ===== */
.utopik-contact .frm_primary_label {
    font-size: 0.8em !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    color: #999 !important;
    margin-bottom: 8px !important;
    display: block !important;
}

/* ===== FAQ ACCORDION ===== */
.utopik-contact details summary {
    list-style: none;
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.utopik-contact details summary::-webkit-details-marker {
    display: none;
}

.utopik-contact details summary::before {
    content: "+";
    display: inline-block;
    width: 20px;
    margin-right: 10px;
    font-weight: 300;
    font-size: 1.2em;
    color: #999;
    transition: transform 0.2s;
}

.utopik-contact details[open] summary::before {
    content: "−";
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .utopik-contact .one_half {
        width: 100% !important;
        float: none !important;
        margin-right: 0 !important;
        margin-bottom: 30px !important;
    }
    .utopik-contact .one_half.last {
        margin-left: 0 !important;
    }
    .utopik-contact .one_half.last .frm_form_field input,
    .utopik-contact .one_half.last .frm_form_field textarea {
        padding: 8px 0 !important;
    }
}
