/* ============================================
   PAGE CONTACT — Style FOANI + couleurs site
   Vert : #0B7A48  |  Or : #D79A05
============================================ */

/* ============================================
   BANNIÈRE HERO (partagée avec catalogue/catégorie)
============================================ */
.cp-hero {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 300px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--green-dark, #085f39), var(--green, #0b7a48));
    color: #fff;
    text-align: center;
}

.cp-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cp-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(8, 95, 57, .84) 0%,
        rgba(11, 122, 72, .64) 55%,
        rgba(26, 150, 96, .5) 100%);
}

.cp-hero-content {
    position: relative;
    z-index: 1;
    max-width: 780px;
    padding: 48px 24px;
}

.cp-hero-content::before {
    content: "";
    display: block;
    width: min(260px, 60%);
    height: 2px;
    margin: 0 auto 18px;
    background: rgba(255, 255, 255, .55);
}

.cp-hero-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    margin-bottom: 22px;
    border: 2px solid rgba(255, 255, 255, .45);
    border-radius: 14px;
    background: rgba(255, 255, 255, .12);
    font-size: 32px;
    color: #fff;
    backdrop-filter: blur(4px);
}

.cp-hero h1 {
    margin: 0 0 12px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(34px, 6vw, 62px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: .03em;
    text-transform: uppercase;
    text-shadow: 0 4px 20px rgba(0, 0, 0, .35);
}

.cp-hero p {
    margin: 0 auto;
    max-width: 600px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(16px, 1.8vw, 21px);
    font-style: italic;
    line-height: 1.45;
    color: rgba(255, 255, 255, .95);
}

/* ============================================
   LAYOUT PRINCIPAL
============================================ */
.contact-main {
    padding: 50px 0 40px;
    background: #faf8f5;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* ============================================
   COLONNE GAUCHE — INFOS
============================================ */
.contact-info {
    background: var(--white, #fff);
    padding: 35px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--line, #e3e6e4);
    transition: all 0.35s ease;
}

.contact-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(11, 122, 72, 0.15);
    border-color: var(--green, #0b7a48);
}

.info-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 2px solid var(--green, #0b7a48);
}

.info-header i {
    font-size: 1.5rem;
    color: var(--green, #0b7a48);
    transition: transform 0.3s ease;
}

.contact-info:hover .info-header i {
    transform: scale(1.15);
}

.info-header h3 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--brown, #684226);
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 28px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.info-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--green, #0b7a48);
    color: var(--white, #fff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(11, 122, 72, 0.25);
    transition: all 0.3s ease;
}

.contact-info:hover .info-icon {
    background: var(--gold, #d79a05);
    transform: scale(1.08);
    box-shadow: 0 6px 18px rgba(215, 154, 5, 0.4);
}

.info-content h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--green-dark, #085f39);
    margin: 0 0 4px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.info-content p {
    font-size: 0.95rem;
    color: var(--text, #1f2933);
    line-height: 1.6;
    margin: 0;
}

.info-content p a {
    color: var(--green, #0b7a48);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.25s ease;
}

.info-content p a:hover {
    color: var(--gold, #d79a05);
}

.info-direction {
    background: #faf8f5;
    border-left: 4px solid var(--gold, #d79a05);
    padding: 18px 20px;
    border-radius: 8px;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.contact-info:hover .info-direction {
    background: #fff8e6;
    border-left-color: var(--gold-light, #dfa72a);
}

.direction-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.direction-header i {
    color: var(--gold, #d79a05);
    font-size: 1rem;
}

.direction-header h5 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--green-dark, #085f39);
    margin: 0;
}

.info-direction p {
    font-size: 0.9rem;
    color: var(--text, #1f2933);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-direction p i {
    color: var(--green, #0b7a48);
    font-size: 0.85rem;
}

.info-direction p a {
    color: var(--green, #0b7a48);
    text-decoration: none;
    font-weight: 600;
}

.info-direction p a:hover {
    color: var(--gold, #d79a05);
    text-decoration: underline;
}

/* ============================================
   COLONNE DROITE — FORMULAIRE
============================================ */
.contact-form-card {
    background: var(--white, #fff);
    padding: 35px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--line, #e3e6e4);
    transition: all 0.35s ease;
}

.contact-form-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(215, 154, 5, 0.15);
    border-color: var(--gold, #d79a05);
}

.form-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 2px solid var(--gold, #d79a05);
}

.form-header i {
    font-size: 1.4rem;
    color: var(--gold, #d79a05);
    transition: transform 0.3s ease;
}

.contact-form-card:hover .form-header i {
    transform: scale(1.15);
}

.form-header h3 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--brown, #684226);
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
}

.contact-form-card .form-group {
    margin-bottom: 18px;
}

.contact-form-card label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--green-dark, #085f39);
    margin-bottom: 8px;
}

.contact-form-card label i {
    color: var(--green, #0b7a48);
    font-size: 0.85rem;
    width: 16px;
}

.contact-form-card label .required {
    color: #d32f2f;
    margin-left: 2px;
}

.contact-form-card input[type="text"],
.contact-form-card input[type="email"],
.contact-form-card input[type="tel"],
.contact-form-card textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--line, #e3e6e4);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    background: #faf8f5;
    color: var(--text, #1f2933);
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.contact-form-card input::placeholder,
.contact-form-card textarea::placeholder {
    color: #b0b0b0;
    font-size: 0.9rem;
}

.contact-form-card input:focus,
.contact-form-card textarea:focus {
    outline: none;
    border-color: var(--green, #0b7a48);
    background: var(--white, #fff);
    box-shadow: 0 0 0 3px rgba(11, 122, 72, 0.08);
}

.contact-form-card textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form-card .btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--green, #0b7a48);
    color: var(--white, #fff);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-top: 10px;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    box-shadow: 0 4px 14px rgba(11, 122, 72, 0.25);
}

.contact-form-card .btn-submit:hover {
    background: var(--green-dark, #085f39);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(11, 122, 72, 0.35);
}

/* ============================================
   MAP — Localisation
============================================ */
.map-section {
    background: var(--white, #fff);
    padding: 60px 0;
}

.map-heading {
    text-align: center;
    margin-bottom: 30px;
}

.map-heading .eyebrow {
    display: inline-block;
    color: var(--green, #0b7a48);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.14em;
    font-size: 13px;
    margin-bottom: 10px;
}

.map-heading h2 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--brown, #684226);
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.2;
    margin: 0;
}

.map-heading .text-gold {
    color: var(--gold, #d79a05);
}

.map-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--line, #e3e6e4);
}

.map-frame {
    width: 100%;
    height: 450px;
    background: #e8ecf1;
    position: relative;
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.map-directions-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--green-dark, #085f39);
    color: var(--white, #fff);
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.map-directions-btn:hover {
    background: var(--green, #0b7a48);
    transform: translateY(-2px) scale(1.03);
}

.map-address {
    text-align: center;
    margin-top: 15px;
    color: var(--muted, #6c757d);
    font-size: 14px;
    line-height: 1.6;
}

.map-address strong {
    color: var(--brown, #684226);
}

.map-address .text-green {
    color: var(--green, #0b7a48);
}

/* ============================================
   FIL D'ARIANE
============================================ */
.contact-breadcrumb-bar {
    background: var(--white, #fff);
    border-bottom: 1px solid var(--line, #e3e6e4);
}

.contact-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-block: 14px;
    font-size: 15px;
}

.contact-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    background: var(--white, #fff);
    border: 1px solid var(--line, #e3e6e4);
    border-radius: 999px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    color: var(--text, #1f2933);
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.contact-back:hover {
    background: var(--green, #0b7a48);
    border-color: var(--green, #0b7a48);
    color: #fff;
}

.contact-back:focus-visible {
    outline: 3px solid var(--gold-light, #dfa72a);
    outline-offset: 2px;
}

.contact-crumb-sep {
    color: var(--muted, #6c757d);
}

.contact-crumb-current {
    padding: 8px 16px;
    background: #e8f3ec;
    border: 1px solid #cfe5d7;
    border-radius: 999px;
    color: var(--green-dark, #085f39);
    font-weight: 600;
}

.contact-meta {
    display: flex;
    gap: 10px;
    margin-left: auto;
}

.contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    background: var(--white, #fff);
    border: 1px solid var(--line, #e3e6e4);
    border-radius: 999px;
    color: var(--muted, #6c757d);
    font-size: 13.5px;
    font-weight: 500;
}

.contact-pill i {
    color: var(--green, #0b7a48);
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cp-hero { min-height: 250px; }

    .contact-info:hover,
    .contact-form-card:hover {
        transform: none;
    }

    .contact-meta {
        width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 600px) {
    .cp-hero { min-height: 220px; }
    .cp-hero-content { padding: 32px 18px; }
    .cp-hero-icon { width: 54px; height: 54px; font-size: 24px; margin-bottom: 16px; }

    .contact-main { padding: 32px 0 28px; }

    .contact-info,
    .contact-form-card {
        padding: 25px 20px;
        border-radius: 12px;
    }

    .info-header h3,
    .form-header h3 {
        font-size: 1.2rem;
    }

    .info-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .contact-form-card .btn-submit {
        padding: 13px;
        font-size: 0.9rem;
    }

    .map-frame { height: 320px; }

    .map-directions-btn {
        bottom: 12px;
        right: 12px;
        padding: 10px 18px;
        font-size: 13px;
    }

    /* --- FIL D'ARIANE MOBILE --- */
    .contact-breadcrumb {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        gap: 8px;
        padding-block: 12px;
        font-size: 14px;
    }

    .contact-back {
        padding: 8px 12px;
        flex-shrink: 0;
    }

    .contact-back span { display: none; }

    .contact-crumb-sep { display: none; }

    .contact-crumb-current {
        padding: 8px 12px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .contact-meta {
        margin-left: auto;
        margin-top: 0;
        width: auto;
        flex-shrink: 0;
    }

    .contact-pill {
        padding: 6px 10px;
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-back { transition: none; }
    .contact-info:hover,
    .contact-form-card:hover { transform: none; }
}