/* Page "Contact". Palette : #4fa9d3, #0F2454, #F3F7FA. Complète realisations.css (rp-hero, rp-cta). */

/* ---------- Formulaire et coordonnées ---------- */
.ct-layout {
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    align-items: start;
    gap: 36px;
}

.ct-card {
    padding: 40px 38px;
    border: 1px solid #e8eef5;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 14px 40px rgb(15 36 84 / 8%);
}

.ct-card h2 {
    margin-bottom: 8px;
    font-size: 28px;
    font-weight: 700;
    color: #0F2454;
}

.ct-form-intro {
    margin-bottom: 26px;
    font-size: 15px;
}

.ct-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 20px;
}

.ct-field {
    margin-bottom: 20px;
}

.ct-field label {
    display: inline-block;
    margin-bottom: 8px;
    color: #0F2454;
    font-weight: 600;
}

.ct-required {
    color: #4fa9d3;
    font-weight: 700;
}

.ct-field .form-control {
    width: 100%;
    padding: 13px 18px;
    border: 1px solid #dbe5ee;
    border-radius: 12px;
    background: #F8FAFC;
    transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
}

.ct-field textarea.form-control {
    min-height: 170px;
    resize: vertical;
}

.ct-field .form-control:focus {
    border-color: #4fa9d3;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgb(79 169 211 / 18%);
    outline: 0;
}

.ct-field .form-control.is-invalid {
    border-color: #d9534f;
}

.ct-error {
    display: block;
    margin-top: 6px;
    color: #c9302c;
    font-size: 14px;
}

.ct-error[hidden] {
    display: none;
}

.ct-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding: 16px 20px;
    border-radius: 12px;
    background: #e8f6ee;
    color: #1d6b3f;
    font-weight: 500;
}

.ct-alert i {
    flex: 0 0 auto;
    font-size: 22px;
}

.ct-alert.is-error {
    background: #fdecea;
    color: #a32a25;
}

.ct-form .theme-btn:disabled {
    opacity: .6;
    cursor: wait;
}

/* ---------- Coordonnées ---------- */
.ct-side {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.ct-info ul {
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.ct-info li {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 0;
    border-bottom: 1px solid #eef2f7;
}

.ct-info li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.ct-icon {
    display: flex;
    flex: 0 0 52px;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #F3F7FA;
    color: #4fa9d3;
    font-size: 20px;
}

.ct-info h3 {
    margin: 0 0 2px;
    font-size: 17px;
    font-weight: 600;
    color: #0F2454;
}

.ct-info p {
    margin: 0;
    overflow-wrap: anywhere;
}

.ct-info a:hover {
    color: #4fa9d3;
}

.ct-quick {
    background: #0F2454;
    border-color: transparent;
    color: rgb(255 255 255 / 86%);
}

.ct-quick h2 {
    color: #ffffff;
    font-size: 24px;
}

.ct-quick p {
    margin-bottom: 22px;
}

.ct-btn-whatsapp,
.ct-btn-call {
    display: inline-block;
    margin: 0 10px 8px 0;
    padding: 12px 26px;
    border-radius: 8px;
    color: #ffffff;
    font-weight: 600;
    transition: transform .3s ease, box-shadow .3s ease;
}

.ct-btn-whatsapp {
    background: #25D366;
}

.ct-btn-call {
    background: #4fa9d3;
}

.ct-btn-whatsapp:hover,
.ct-btn-call:hover {
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgb(0 0 0 / 25%);
}

/* ---------- Tablette et mobile ---------- */
@media (max-width: 991px) {
    .ct-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .ct-card {
        padding: 28px 22px;
    }

    .ct-card h2 {
        font-size: 24px;
    }

    .ct-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ct-field .form-control,
    .ct-btn-whatsapp,
    .ct-btn-call {
        transition: none;
    }

    .ct-btn-whatsapp:hover,
    .ct-btn-call:hover {
        transform: none;
    }
}
