/* =============================================
   Contact Page Styles
   ============================================= */

/* -----------------------------------------
   1. Equal Height Info Blocks (Bootstrap grid)
   ----------------------------------------- */
.contact-info-blocks {
    position: relative;
    z-index: 2;
}

.contact-info-blocks .pbmit-miconheading-style-1 {
    height: 100%;
}

.contact-info-blocks .pbmit-ihbox-style-1 {
    height: 100%;
}

.contact-info-blocks .pbmit-ihbox-box {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-info-blocks .pbmit-ihbox-icon-wrapper {
    color: #80b927 !important;
}

/* -----------------------------------------
   2. Address Double Block (address + map)
   ----------------------------------------- */
.contact-address-block .pbmit-ihbox-box {
    padding: 0;
    overflow: hidden;
}

.contact-address-block .contact-address-inner {
    display: flex;
    gap: 0;
    height: 100%;
}

.contact-address-block .contact-address-text {
    flex: 0 0 50%;
    max-width: 50%;
    min-width: 0;
    padding: 45px 30px 60px;
}

.contact-address-block .contact-address-map {
    flex: 0 0 50%;
    max-width: 50%;
    min-width: 0;
    position: relative;
    overflow: hidden;
    min-height: 200px;
}

.contact-address-block .contact-address-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* -----------------------------------------
   3. Hero Horaires Badge
   ----------------------------------------- */
.hero-horaires-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.12);
    padding: 10px 20px;
    border-radius: 5px;
    color: #fff;
    font-size: 15px;
    margin-top: 25px;
}

.hero-horaires-badge i {
    font-size: 18px;
}

.hero-horaires-hours {
    font-weight: 600;
}

.hero-horaires-state {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    border-left: 1px solid rgba(255, 255, 255, 0.25);
    padding-left: 10px;
    margin-left: 2px;
}

.hero-horaires-state span {
    width: 9px;
    height: 9px;
    display: inline-block;
    border-radius: 50%;
}

.hero-horaires-state.open span {
    background: #80b927;
}

.hero-horaires-state.close span {
    background: #d9534f;
}

/* -----------------------------------------
   4. Contact Form Section
   ----------------------------------------- */
.contact-form-section {
    padding: 0 0 80px;
}

.contact-form-section > .container {
    border-top: 1px solid #e0e0e0;
    padding-top: 80px;
}

.contact-form-section .section-header {
    margin-bottom: 40px;
    padding-right: 50px;
}

.contact-form-section .section-header .pbmit-subtitle {
    color: #80b927;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.contact-form-section .section-header .pbmit-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--pbmit-blackish-color, #1a1a1a);
    margin-bottom: 15px;
}

.contact-form-section .section-header p {
    color: #6c757d;
    font-size: 16px;
}

.contact-form-card {
    max-width: 800px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 35px;
}

.contact-form-card .form-control,
.contact-form-card select.form-control {
    height: 55px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    padding: 10px 20px;
    font-size: 15px;
    background-color: #fff;
    color: #333;
    transition: border-color 0.3s ease;
    margin-bottom: 20px;
    width: 100%;
}

.contact-form-card textarea.form-control {
    height: 150px;
    resize: vertical;
}

.contact-form-card .form-control:focus,
.contact-form-card select.form-control:focus {
    border-color: #066f9e;
    outline: none;
    box-shadow: 0 0 0 3px rgba(6, 111, 158, 0.1);
    background-color: #fff;
    color: #333;
}

.contact-form-card .form-control::placeholder {
    color: #aaa;
}

.contact-form-card select.form-control {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23666' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.contact-form-card .form-check {
    margin-bottom: 20px;
    padding-left: 0;
}

.contact-form-card .form-check-label {
    font-size: 14px;
    color: #555;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.contact-form-card .form-check-input {
    margin-top: 3px;
    margin-left: 0;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    accent-color: #80b927;
}

.contact-form-card .form-check-label a {
    color: #066f9e;
    text-decoration: underline;
}

.contact-form-card .pbmit-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #80b927;
    color: #fff;
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    white-space: nowrap;
}

.contact-form-card .pbmit-btn:hover {
    background: #6fa021;
}

.contact-form-card .pbmit-btn .pbmit-button-content-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.contact-form-card .pbmit-btn i {
    font-size: 18px;
    flex-shrink: 0;
}

.contact-form-card .form-btn-loader svg {
    width: 50px;
    height: 25px;
}

.contact-form-card .message-status {
    margin-top: 15px;
}

/* -----------------------------------------
   5. CF7 – Labels
   ----------------------------------------- */
.contact-form-card label {
    display: inline-block;
    font-weight: bold;
    margin-bottom: 10px;
}

.contact-form-card .form-check label,
.contact-form-card .wpcf7-acceptance label {
    font-weight: normal;
    margin-bottom: 0;
}

.contact-form-card .required {
    color: #e53935;
}

/* -----------------------------------------
   6. CF7 – Validation Tips
   ----------------------------------------- */
.contact-form-card .wpcf7-not-valid-tip {
    color: #dc3232;
    font-size: 1em;
    font-weight: normal;
    display: inline-block;
    background: #f9eaea;
    border-radius: 50px;
    padding: 2px 15px;
    position: relative;
    top: -9px;
}

/* -----------------------------------------
   7. CF7 – Checkbox hover fix
   ----------------------------------------- */
.contact-form-card input[type="checkbox"]:hover,
.contact-form-card input[type="checkbox"]:active,
.contact-form-card input[type="checkbox"]:focus {
    -webkit-appearance: checkbox !important;
    appearance: checkbox !important;
}

/* -----------------------------------------
   8. Responsive
   ----------------------------------------- */
@media (max-width: 991px) {
    .contact-address-block .contact-address-inner {
        flex-direction: column;
    }

    .contact-address-block .contact-address-map {
        border-radius: 0 0 10px 10px;
        min-height: 180px;
    }
}

@media (max-width: 767px) {
    .contact-info-blocks.mt--70 {
        margin-top: 0;
    }

    .contact-address-block .contact-address-text {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 30px 20px 30px;
    }

    .contact-address-block .contact-address-map {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .contact-form-section {
        padding: 50px 0;
    }

    .contact-form-section > .container {
        padding-top: 40px;
    }

    .contact-form-section .section-header {
        padding-right: 0;
        margin-bottom: 20px;
    }

    .contact-form-section .section-header .pbmit-title {
        font-size: 26px;
    }

    .contact-form-card {
        padding: 20px;
    }

    .contact-form-card .pbmit-btn {
        width: 100%;
        justify-content: center;
    }

    .hero-horaires-badge {
        font-size: 14px;
        padding: 8px 14px;
        gap: 8px;
    }
}
