/* ==========================================================================
   PAGE CONTACT
   ========================================================================== */

.contact-page {
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(
            circle at top left,
            rgba(234, 212, 170, .22),
            transparent 35rem
        ),
        #f8f4ea;
}

.contact-hero {
    min-height: auto !important;
    margin: 0 !important;
    padding: 5rem 1rem 2.75rem !important;
}

.contact-hero .container {
    max-width: 980px;
}

.contact-hero .public-section-title {
    margin-bottom: 1rem;
}

.contact-hero .public-section-subtitle {
    max-width: 790px;
    line-height: 1.75;
}

.contact-section {
    min-height: auto !important;
    margin: 0 !important;
    padding: 0 1rem 5rem !important;
}

.contact-container {
    max-width: 1380px;
}

/* ==========================================================================
   CARTES PRINCIPALES
   ========================================================================== */

.contact-main-row {
    display: flex;
    align-items: stretch;
}

.contact-main-row > [class*="col-"] {
    display: flex;
}

.contact-panel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 1.35rem;
    box-shadow: 0 18px 50px rgba(42, 55, 48, .09);
}

.contact-main-row .contact-panel {
    height: 100% !important;
}

.contact-card-body {
    width: 100%;
    height: 100%;
}

.contact-card-icon {
    display: inline-flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(234, 212, 170, .32);
    color: #9b742d;
    font-size: 1.25rem;
}

/* ==========================================================================
   FORMULAIRE
   ========================================================================== */

.contact-page .form-label {
    margin-bottom: .5rem;
    color: #2e3a35;
    font-weight: 600;
}

.contact-page .form-control,
.contact-page .form-select {
    min-height: 52px;
    border: 1px solid rgba(39, 65, 57, .18);
    border-radius: .75rem;
    background-color: rgba(255, 255, 255, .82);
    color: #263a34;
}

.contact-page textarea.form-control {
    min-height: 180px;
    resize: vertical;
}

.contact-page .form-control:focus,
.contact-page .form-select:focus {
    border-color: rgba(155, 116, 45, .75);
    box-shadow: 0 0 0 .2rem rgba(234, 212, 170, .32);
}

.contact-captcha-box {
    display: flex;
    min-height: 78px;
    flex-direction: column;
    justify-content: center;
    padding: 1rem 1.15rem;
    border: 1px dashed rgba(155, 116, 45, .45);
    border-radius: .75rem;
    background: rgba(234, 212, 170, .16);
    color: #384b44;
}

/* ==========================================================================
   COORDONNÉES
   ========================================================================== */

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.85rem;
    margin:2px !important;
    border: 1px solid rgba(39, 65, 57, .11);
    border-radius: .85rem;
    background: rgba(255, 255, 255, .52);
}

.contact-info-item > i {
    display: inline-flex;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(234, 212, 170, .28);
    color: #9b742d;
}

.contact-social-button {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.contact-response-notice {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
    padding: 1rem;
    border-radius: .85rem;
    background: rgba(39, 92, 78, .08);
    color: #34564c;
}

.contact-response-notice > i {
    margin-top: .1rem;
    color: #9b742d;
    font-size: 1.15rem;
}

/* ==========================================================================
   PLAN D'ACCÈS
   ========================================================================== */

.access-panel {
    height: auto !important;
}

.access-heading {
    position: relative;
    z-index: 1;
}

.access-route-button {
    flex: 0 0 auto;
    white-space: nowrap;
}

.access-map-wrapper {
    position: relative;
    width: 100%;
    min-height: 430px;
    overflow: hidden;
    border: 1px solid rgba(39, 65, 57, .12);
    border-radius: 1rem;
    background: rgba(255, 255, 255, .68);
}

.access-map {
    display: block;
    width: 100%;
    height: 430px;
    border: 0;
}

.access-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.access-info-item {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
    padding: 1rem;
    border: 1px solid rgba(39, 65, 57, .11);
    border-radius: .85rem;
    background: rgba(255, 255, 255, .52);
    color: #34564c;
}

.access-info-item > i {
    display: inline-flex;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(234, 212, 170, .28);
    color: #9b742d;
}

.access-info-item strong,
.access-info-item span {
    display: block;
}

.access-info-item strong {
    margin-bottom: .2rem;
    color: #263a34;
}

.access-info-item span {
    line-height: 1.55;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 991.98px) {
    .contact-hero {
        padding: 3.25rem 1rem 2rem !important;
    }

    .contact-section {
        padding-bottom: 3.5rem !important;
    }

    .contact-main-row .contact-panel {
        height: auto !important;
    }

    .access-info-grid {
        grid-template-columns: 1fr;
    }

    .access-route-button {
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    .contact-hero {
        padding: 2.5rem .75rem 1.75rem !important;
    }

    .contact-section {
        padding-right: .25rem !important;
        padding-left: .25rem !important;
    }

    .contact-page .card-body {
        padding: 1.5rem !important;
    }

    .contact-panel {
        border-radius: 1rem;
    }

    .contact-info-item {
        padding: .85rem;
    }

    .access-map-wrapper {
        min-height: 320px;
    }

    .access-map {
        height: 320px;
    }
}