/* ========================================
   CSS DÉDIÉ POUR LA PAGE CONTACT
   Priorité maximale - Pas de conflits
   ======================================== */

/* Reset et base pour contact */
.contact-page {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    overflow-x: hidden;
}

html.contact-page {
    background: #1a1a1a;
}

html.contact-page body {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

/* Hero Contact — image pleine largeur + panneau texte (sans fond orange) */
.contact-hero {
    position: relative;
    isolation: isolate;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    text-align: center;
    color: #fff;
    overflow-x: hidden;
    overflow-y: visible;
    padding: clamp(5.5rem, 10vw, 7rem) 0 clamp(1.35rem, 3vw, 2rem);
    z-index: 1;
    background: transparent;
}

/* Bloc image + panneau glass superposé */
.contact-hero-visual {
    position: relative;
    z-index: 1;
    width: 100%;
    flex: 1 1 auto;
    align-self: stretch;
    /* Mobile : évite tout débordement du panneau hors du cadre image (voir media queries) */
}

.contact-hero-inner {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: clamp(0.65rem, 2.4vw, 1.35rem);
    pointer-events: none;
    box-sizing: border-box;
}

.contact-hero-content {
    position: relative;
    width: 100%;
    max-width: min(1040px, 100%);
    min-width: 0;
    pointer-events: none;
}

.contact-hero-scene {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 0;
    padding: 0;
}

.contact-hero-scene__img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 0;
    border: none;
    box-shadow: none;
}

.contact-hero-panel {
    margin: 0 auto;
    padding: clamp(1.35rem, 3.6vw, 2.45rem) clamp(1.15rem, 3.4vw, 2.2rem);
    border-radius: 10px;
    text-align: center;
    pointer-events: auto;
    background: linear-gradient(
        155deg,
        rgba(255, 255, 255, 0.11) 0%,
        rgba(255, 255, 255, 0.04) 48%,
        rgba(15, 23, 42, 0.14) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow:
        0 2px 16px rgba(15, 23, 42, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
    -webkit-backdrop-filter: blur(12px) saturate(1.06);
    backdrop-filter: blur(12px) saturate(1.06);
}

.contact-hero-panel__eyebrow {
    margin-bottom: 1.1rem;
    display: flex;
    justify-content: center;
}

.contact-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.15rem;
    border-radius: 8px;
    font-size: clamp(0.8rem, 1.45vw, 0.95rem);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.55),
        0 0 1px rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.08);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.contact-hero-badge i {
    font-size: 1rem;
    opacity: 1;
    color: #ffffff;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.45));
}

.contact-hero-title {
    font-family: 'Poppins', 'Inter', system-ui, sans-serif;
    font-size: clamp(1.65rem, 4.6vw, 3.05rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin: 0 auto 0.85rem;
    max-width: min(44rem, 100%);
    color: #ffffff;
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.55),
        0 2px 18px rgba(15, 23, 42, 0.45),
        0 0 2px rgba(0, 0, 0, 0.65);
    animation: slideInUp 1s ease 0.7s both;
}

.contact-hero-lead {
    font-size: clamp(1.05rem, 2.4vw, 1.4rem);
    margin: 0 auto;
    max-width: 42rem;
    line-height: 1.58;
    font-weight: 600;
    color: #ffffff;
    text-shadow:
        0 1px 3px rgba(0, 0, 0, 0.5),
        0 0 16px rgba(15, 23, 42, 0.35),
        0 0 1px rgba(0, 0, 0, 0.5);
    animation: slideInUp 1s ease 0.9s both;
}

.contact-hero-divider {
    width: min(6.5rem, 32%);
    height: 3px;
    margin: 1rem auto 1rem;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, #ffffff, rgba(255, 220, 200, 0.75), transparent);
    opacity: 1;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.35);
}

.contact-hero-pitch {
    margin: 0 auto;
    max-width: 44rem;
    padding: clamp(0.95rem, 2.2vw, 1.25rem) clamp(0.85rem, 2vw, 1.15rem);
    font-size: clamp(0.95rem, 1.7vw, 1.1rem);
    line-height: 1.7;
    font-weight: 500;
    color: #ffffff;
    text-align: left;
    text-shadow:
        0 1px 3px rgba(0, 0, 0, 0.5),
        0 0 18px rgba(15, 23, 42, 0.35);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    animation: slideInUp 1s ease 1s both;
}

.contact-hero-pitch strong {
    font-weight: 700;
    color: #ffffff;
    text-shadow:
        0 1px 3px rgba(0, 0, 0, 0.55),
        0 0 1px rgba(0, 0, 0, 0.5);
}

@media (max-width: 575.98px) {
    .contact-hero-pitch {
        text-align: left;
    }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .contact-hero-panel {
        background: rgba(47, 53, 66, 0.38);
    }

    .contact-hero-pitch {
        background: rgba(15, 23, 42, 0.28);
    }

    .contact-hero-badge {
        background: rgba(255, 255, 255, 0.1);
    }
}

/* Blocs orientation (canaux + pour qui) — au-dessus du formulaire */
.contact-channel-guide {
    --contact-guide-orange: #ff6b35;
    --contact-guide-orange-soft: rgba(255, 107, 53, 0.09);
    position: relative;
    z-index: 2;
    padding: clamp(1.5rem, 3.2vw, 2rem) clamp(1.35rem, 3.2vw, 2.1rem);
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(165deg, #ffffff 0%, #f9fafb 48%, #ffffff 100%);
    border: 1px solid rgba(255, 107, 53, 0.16);
    box-shadow:
        0 2px 8px rgba(15, 23, 42, 0.04),
        0 14px 40px rgba(15, 23, 42, 0.07),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset;
}

.contact-channel-guide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(255, 122, 31, 0.95), var(--contact-guide-orange), #c73d18);
    opacity: 0.92;
    pointer-events: none;
}

.contact-channel-guide__header {
    position: relative;
    margin: 0 0 clamp(1rem, 2.5vw, 1.35rem);
    padding-bottom: clamp(0.85rem, 2vw, 1.1rem);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.contact-channel-guide__title {
    font-family: 'Poppins', 'Inter', system-ui, sans-serif;
    font-size: clamp(1.2rem, 2.6vw, 1.5rem);
    font-weight: 700;
    color: #2f3542;
    margin: 0;
    letter-spacing: -0.03em;
    line-height: 1.25;
}

.contact-channel-guide__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: clamp(0.65rem, 1.8vw, 0.85rem);
}

.contact-channel-guide__item {
    display: flex;
    align-items: flex-start;
    gap: clamp(0.75rem, 2vw, 1rem);
    padding: clamp(0.75rem, 1.8vw, 0.95rem) clamp(0.85rem, 2vw, 1.1rem);
    border-radius: 8px;
    background: linear-gradient(145deg, var(--contact-guide-orange-soft) 0%, rgba(255, 255, 255, 0.72) 100%);
    border: 1px solid rgba(255, 107, 53, 0.14);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset;
    transition:
        border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (hover: hover) and (pointer: fine) {
    .contact-channel-guide__item:hover {
        border-color: rgba(255, 107, 53, 0.28);
        box-shadow:
            0 2px 12px rgba(255, 107, 53, 0.08),
            0 1px 0 rgba(255, 255, 255, 0.65) inset;
        transform: translateY(-1px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-channel-guide__item {
        transition: none;
    }

    .contact-channel-guide__item:hover {
        transform: none;
    }

    .contact-channel-guide__links a {
        transition: none;
    }
}

.contact-channel-guide__step {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 2rem;
    padding: 0 0.35rem;
    border-radius: 8px;
    font-family: 'Poppins', 'Inter', system-ui, sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    background: linear-gradient(145deg, #ff7a1f 0%, var(--contact-guide-orange) 52%, #e55a2b 100%);
    box-shadow:
        0 2px 8px rgba(255, 107, 53, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.contact-channel-guide__body {
    flex: 1;
    min-width: 0;
    color: #4a5568;
    font-size: clamp(0.9rem, 1.45vw, 1.02rem);
    line-height: 1.62;
}

.contact-channel-guide__body strong {
    color: #2f3542;
    font-weight: 700;
}

.contact-channel-guide__dash {
    color: #94a3b8;
    font-weight: 400;
}

.contact-channel-guide__links-bar {
    margin-top: clamp(1.1rem, 2.5vw, 1.45rem);
    padding-top: clamp(0.95rem, 2.2vw, 1.2rem);
    border-top: 1px solid rgba(15, 23, 42, 0.07);
    text-align: center;
}

.contact-channel-guide__links {
    margin: 0;
    font-size: clamp(0.9rem, 1.35vw, 0.98rem);
    font-weight: 600;
    text-align: center;
}

.contact-channel-guide__links a {
    color: #e55a2b;
    text-decoration: none;
    border-bottom: 1px solid rgba(229, 90, 43, 0.35);
    transition:
        color 0.25s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-channel-guide__links a:hover {
    color: #ff6b35;
    border-bottom-color: rgba(255, 107, 53, 0.55);
}

.contact-channel-guide__links a:focus-visible {
    outline: 3px solid rgba(255, 107, 53, 0.45);
    outline-offset: 3px;
    border-radius: 6px;
}

.contact-channel-guide__sep {
    margin: 0 0.55rem;
    color: #cbd5e1;
    font-weight: 400;
}

.contact-for-who {
    --contact-forwho-orange: #ff6b35;
    position: relative;
    z-index: 2;
    padding: clamp(1.45rem, 3vw, 1.95rem) clamp(1.35rem, 3.2vw, 2rem);
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(168deg, #ffffff 0%, rgba(255, 248, 242, 0.85) 42%, #ffffff 100%);
    border: 1px solid rgba(255, 107, 53, 0.18);
    box-shadow:
        0 2px 10px rgba(15, 23, 42, 0.05),
        0 16px 42px rgba(255, 107, 53, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.contact-for-who::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(255, 122, 31, 0.88), var(--contact-forwho-orange), #d94812);
    opacity: 0.9;
    pointer-events: none;
}

.contact-for-who__header {
    margin: 0 0 clamp(0.85rem, 2vw, 1.15rem);
    padding-bottom: clamp(0.75rem, 1.8vw, 1rem);
    border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}

.contact-for-who__title {
    margin: 0;
    font-family: 'Poppins', 'Inter', system-ui, sans-serif;
    font-weight: 700;
    font-size: clamp(1.12rem, 2.4vw, 1.42rem);
    letter-spacing: -0.03em;
    line-height: 1.25;
    color: #2f3542;
}

.contact-for-who__body {
    display: flex;
    flex-direction: column;
    gap: clamp(0.75rem, 2vw, 1rem);
}

.contact-for-who__text {
    margin: 0;
    color: #4a5568;
    font-size: clamp(0.92rem, 1.5vw, 1.02rem);
    line-height: 1.62;
}

.contact-for-who__text strong {
    color: #2f3542;
    font-weight: 700;
}

.contact-for-who__note-card {
    padding: clamp(0.75rem, 1.8vw, 1rem) clamp(0.85rem, 2vw, 1.1rem);
    border-radius: 8px;
    background: linear-gradient(145deg, rgba(255, 107, 53, 0.07) 0%, rgba(255, 255, 255, 0.92) 100%);
    border: 1px solid rgba(255, 107, 53, 0.14);
    box-shadow:
        0 1px 4px rgba(15, 23, 42, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.contact-for-who__note {
    margin: 0;
    font-size: clamp(0.84rem, 1.35vw, 0.92rem);
    line-height: 1.55;
    color: #5c6570;
}

.contact-for-who__note strong {
    color: #2f3542;
    font-weight: 700;
}

/* Carte WhatsApp / chat inline — premium (alignée canaux + pour qui) */
.contact-whatsapp-card {
    --wa-green: #25d366;
    --wa-green-deep: #128c7e;
    position: relative;
    z-index: 2;
}

.contact-whatsapp-card__surface {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(168deg, #ffffff 0%, rgba(255, 248, 242, 0.72) 44%, #ffffff 100%);
    border: 1px solid rgba(255, 107, 53, 0.18);
    box-shadow:
        0 2px 10px rgba(15, 23, 42, 0.05),
        0 16px 42px rgba(255, 107, 53, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.contact-whatsapp-card__surface::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(255, 122, 31, 0.88), #ff6b35, #d94812);
    opacity: 0.92;
    pointer-events: none;
}

.contact-whatsapp-card__body {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: clamp(1rem, 2.2vw, 1.35rem);
    padding: clamp(1.35rem, 2.8vw, 1.75rem);
}

@media (min-width: 768px) {
    .contact-whatsapp-card__body {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        text-align: left;
    }
}

.contact-whatsapp-card__main {
    display: flex;
    align-items: center;
    gap: clamp(0.85rem, 2vw, 1.15rem);
    min-width: 0;
    text-align: left;
}

.contact-whatsapp-card__icon {
    flex-shrink: 0;
    width: 3.35rem;
    height: 3.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.65rem;
    line-height: 1;
    box-shadow:
        0 2px 8px rgba(15, 23, 42, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
    transition:
        box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-whatsapp-card__icon--whatsapp {
    background: linear-gradient(145deg, rgba(37, 211, 102, 0.18) 0%, rgba(18, 140, 126, 0.1) 100%);
    color: #0d9488;
    border: 1px solid rgba(37, 211, 102, 0.28);
}

.contact-whatsapp-card__icon--chat {
    background: linear-gradient(145deg, rgba(255, 107, 53, 0.14) 0%, rgba(255, 255, 255, 0.65) 100%);
    color: #e55a2b;
    border: 1px solid rgba(255, 107, 53, 0.22);
}

@media (hover: hover) and (pointer: fine) {
    .contact-whatsapp-card__surface:hover .contact-whatsapp-card__icon {
        box-shadow:
            0 4px 14px rgba(15, 23, 42, 0.08),
            inset 0 1px 0 rgba(255, 255, 255, 0.4);
        transform: translateY(-1px);
    }
}

.contact-whatsapp-card__text {
    min-width: 0;
    flex: 1;
}

.contact-whatsapp-card__title {
    margin: 0 0 0.35rem;
    font-family: 'Poppins', 'Inter', system-ui, sans-serif;
    font-size: clamp(1.05rem, 2.1vw, 1.28rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.25;
    color: #2f3542;
}

.contact-whatsapp-card__lead {
    margin: 0;
    font-size: clamp(0.88rem, 1.45vw, 0.98rem);
    line-height: 1.58;
    color: #5c6570;
}

.contact-whatsapp-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 0.01em;
    border: none;
    transition:
        background 0.25s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
        color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-whatsapp-card__cta--primary {
    background: linear-gradient(135deg, #ff6b35, #e55a2b);
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(255, 107, 53, 0.28);
}

.contact-whatsapp-card__cta--primary:hover {
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(255, 107, 53, 0.32);
}

.contact-whatsapp-card__cta--primary:focus-visible {
    outline: 3px solid rgba(255, 107, 53, 0.55);
    outline-offset: 3px;
}

.contact-whatsapp-card__cta--whatsapp {
    background: linear-gradient(135deg, var(--wa-green), var(--wa-green-deep));
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(18, 140, 126, 0.32);
}

.contact-whatsapp-card__cta--whatsapp:hover {
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(18, 140, 126, 0.36);
}

.contact-whatsapp-card__cta--whatsapp:focus-visible {
    outline: 3px solid rgba(37, 211, 102, 0.5);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .contact-whatsapp-card__icon,
    .contact-whatsapp-card__cta--primary,
    .contact-whatsapp-card__cta--whatsapp {
        transition: none;
    }

    .contact-whatsapp-card__surface:hover .contact-whatsapp-card__icon,
    .contact-whatsapp-card__cta--primary:hover,
    .contact-whatsapp-card__cta--whatsapp:hover {
        transform: none;
    }
}

/* Section Contact */
.contact-main-section {
    padding: 40px 0 150px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    z-index: 1;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-bottom: 50px;
}

.contact-main-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ff6600" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
}

.contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 60px;
    border-radius: 25px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 102, 0, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-top: -20px;
    margin-bottom: 80px;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, #ff6600 0%, #f90404f4 100%);
    border-radius: 25px 25px 0 0;
}

.contact-form-title {
    text-align: center;
    color: #1a1a1a;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
}

.contact-form-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #ff6600 0%, #f90404f4 100%);
    border-radius: 2px;
}

/* Contexte canaux + délai (aligné meta / hero / WhatsApp) */
.contact-form-intro {
    margin: 1.1rem auto 1.85rem;
    max-width: 40rem;
    padding: 1.15rem 1.35rem;
    border-radius: 8px;
    text-align: center;
    font-size: clamp(0.9rem, 1.4vw, 0.98rem);
    line-height: 1.65;
    color: #4a5568;
    background: linear-gradient(165deg, rgba(255, 107, 53, 0.07) 0%, rgba(255, 255, 255, 0.95) 100%);
    border: 1px solid rgba(255, 107, 53, 0.16);
    box-shadow:
        0 1px 6px rgba(15, 23, 42, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.contact-form-intro strong {
    color: #2f3542;
    font-weight: 700;
}

/* Statut anti-robot (WCAG — lu par aria-live + bouton aria-describedby) */
.contact-submit-status {
    margin: 0 auto 1.35rem;
    max-width: 40rem;
    padding: 0.85rem 1rem;
    border-radius: 8px;
    font-size: clamp(0.82rem, 1.25vw, 0.92rem);
    line-height: 1.55;
    color: #5c6570;
    background: rgba(47, 53, 66, 0.04);
    border: 1px solid rgba(15, 23, 42, 0.08);
    min-height: 2.75rem;
    box-sizing: border-box;
}

.contact-submit-status:empty {
    display: none;
}

.contact-form-wrapper .contact-submit-status:not(:empty) {
    display: block;
}

/* Nom + prénom côte à côte (desktop) */
.contact-form-row--name-pair {
    display: block;
}

.contact-form-row--name-pair .contact-form-group--inline {
    margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .contact-form-row--name-pair {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 1.5rem;
        align-items: start;
    }

    .contact-form-row--name-pair .contact-form-group--inline {
        margin-bottom: 0;
    }
}

.contact-form-main {
    position: relative;
    z-index: 2;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.contact-form-main > *:not(:last-child) {
    margin-bottom: 2rem;
}

/* Form Groups */
.contact-form-group {
    margin-bottom: 2.5rem;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.contact-form-group:last-of-type {
    margin-bottom: 0;
}

.contact-form-group label {
    display: block !important;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: #1a1a1a;
    font-size: 1.1rem;
    visibility: visible !important;
    opacity: 1 !important;
}

.contact-form-group input[type="text"],
.contact-form-group input[type="email"],
.contact-form-group input[type="tel"],
.contact-form-group textarea {
    width: 100% !important;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f8f9fa;
    font-family: 'Inter', sans-serif;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #333 !important;
}

.contact-form-group input:focus,
.contact-form-group textarea:focus {
    border-color: #ff6600;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
    background: white;
    transform: translateY(-2px);
}

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

/* Civilité Group */
.contact-civility-group {
    border: none;
    padding: 0;
    margin: 0 0 2rem 0;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.contact-civility-group legend {
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #1a1a1a;
}

.contact-civility-group label {
    display: inline-flex !important;
    align-items: center;
    margin-right: 2rem;
    font-weight: 500;
    cursor: pointer;
    padding: 12px 20px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f8f9fa;
    visibility: visible !important;
    opacity: 1 !important;
}

.contact-civility-group label:hover {
    border-color: #ff6600;
    background: white;
    transform: translateY(-2px);
}

.contact-civility-group input[type="radio"] {
    margin-right: 0.8rem;
    accent-color: #ff6600;
}

.contact-civility-group input[type="radio"]:checked + label {
    border-color: #ff6600;
    background: #ff6600;
    color: white;
}

.contact-required {
    color: #ff6600;
    font-weight: bold;
    margin-left: 4px;
}

/* Captcha */
.contact-captcha-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 2rem 0;
    padding: 25px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    text-align: center;
}

.contact-legal-text {
    font-size: 0.85rem;
    color: #666;
    margin-top: 15px;
    line-height: 1.4;
    max-width: 500px;
}

.contact-legal-text a {
    /* Couleurs/hover/focus : lokatere-global.css (.contact-legal-text a, .lokatere-inline-link) */
    font-weight: 600;
}

.contact-legal-text a:hover {
    text-decoration: underline;
}

/* Sprint 2 P1.7 — Placeholder reCAPTCHA enrichi (alerte visible + CTA gestion cookies). */
.recaptcha-no-consent {
    padding: 1.25rem 1.5rem;
    background: #fff8f1;
    border: 1px solid #ffb380;
    border-left: 4px solid #ff6600;
    border-radius: 10px;
    color: #5a2e00;
    font-size: 0.95rem;
    line-height: 1.5;
}
.recaptcha-no-consent-title {
    margin: 0 0 0.5rem 0;
    font-weight: 700;
    color: #c84300;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}
.recaptcha-no-consent-title i {
    color: #ff6600;
}
.recaptcha-no-consent-text {
    margin: 0 0 0.75rem 0;
    color: #5a2e00;
}
.recaptcha-no-consent-cta {
    background: #ff6600;
    color: #fff;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    font-size: 0.92rem;
}
.recaptcha-no-consent-cta:hover {
    background: #e65500;
    transform: translateY(-1px);
}
.recaptcha-no-consent-cta:focus-visible {
    outline: 2px solid #1a1a1a;
    outline-offset: 2px;
}

/* Sprint 2 P1.7 — Etat disabled visible et accessible du bouton submit. */
.contact-submit-button:disabled,
.contact-submit-button[aria-disabled="true"] {
    opacity: 0.55;
    cursor: not-allowed;
    filter: grayscale(0.4);
    box-shadow: none;
}
.contact-submit-button:disabled:hover,
.contact-submit-button[aria-disabled="true"]:hover {
    transform: none;
    background: linear-gradient(135deg, #ff6600 0%, #f90404f4 100%);
}

/* Submit Button */
.contact-submit-container {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem 0 1rem 0;
    border-top: 2px solid #e9ecef;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 0 0 25px 25px;
    margin-left: -60px;
    margin-right: -60px;
    margin-bottom: -60px;
    padding-left: 60px;
    padding-right: 60px;
}

.contact-submit-button {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #ff6600 0%, #f90404f4 100%);
    color: white;
    padding: 18px 40px;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(255, 102, 0, 0.2);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    visibility: visible !important;
    opacity: 1 !important;
}

.contact-submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.contact-submit-button:hover::before {
    left: 100%;
}

.contact-submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(255, 102, 0, 0.3);
    color: white;
    text-decoration: none;
}

/* Messages d'erreur – classes réelles utilisées par error_manager (flash-message, error-message) */
.contact-form-wrapper .flash-message,
.contact-flash-message {
    padding: 20px;
    margin-bottom: 2rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    animation: slideInDown 0.5s ease;
}

.contact-form-wrapper .flash-message.success,
.contact-flash-message.success {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
    border: 1px solid #c3e6cb;
}

.contact-form-wrapper .flash-message.error,
.contact-flash-message.error {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.contact-form-wrapper .flash-message.info,
.contact-flash-message.info {
    background: linear-gradient(135deg, #d1ecf1, #bee5eb);
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.contact-form-wrapper .error-message,
.contact-error-message {
    color: #dc3545;
    font-size: 0.9rem;
    display: block;
    margin-top: 0.5rem;
    font-weight: 500;
}

.contact-form-group input.error,
.contact-form-group textarea.error {
    border-color: #dc3545 !important;
    background: #fff5f5;
}

.contact-form-group input.error:focus,
.contact-form-group textarea.error:focus {
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .contact-hero {
        padding-top: 128px;
        padding-bottom: 36px;
    }

    /* Cadre image : hauteur stable pour contenir le panneau (léger recadrage photo, mobile uniquement) */
    .contact-hero-visual {
        overflow: hidden;
    }

    .contact-hero-scene {
        height: clamp(300px, 54vh, 460px);
        overflow: hidden;
    }

    .contact-hero-scene__img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }

    .contact-hero-inner {
        align-items: center;
        justify-content: center;
        padding: 0.35rem 0.65rem;
        max-height: 100%;
        overflow: hidden;
    }

    .contact-hero-content {
        max-height: 100%;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .contact-hero-panel {
        padding: 0.65rem 0.65rem 0.75rem;
        max-height: 100%;
        overflow: hidden;
        width: 100%;
        box-sizing: border-box;
        -webkit-backdrop-filter: blur(10px) saturate(1.04);
        backdrop-filter: blur(10px) saturate(1.04);
    }

    .contact-hero-panel__eyebrow {
        margin-bottom: 0.45rem;
    }

    .contact-hero-badge {
        font-size: 0.62rem;
        padding: 0.35rem 0.55rem;
        letter-spacing: 0.08em;
        gap: 0.35rem;
    }

    .contact-hero-badge i {
        font-size: 0.75rem;
    }

    .contact-hero-title {
        font-size: clamp(0.98rem, 3.9vw, 1.22rem);
        line-height: 1.18;
        margin: 0 auto 0.45rem;
        overflow-wrap: break-word;
    }

    .contact-hero-lead {
        font-size: clamp(0.72rem, 2.6vw, 0.82rem);
        line-height: 1.35;
        margin-bottom: 0;
    }

    .contact-hero-divider {
        width: min(4rem, 36%);
        height: 2px;
        margin: 0.45rem auto 0.45rem;
    }

    .contact-hero-pitch {
        padding: 0.45rem 0.45rem 0.5rem;
        font-size: clamp(0.68rem, 2.4vw, 0.78rem);
        line-height: 1.38;
        margin-top: 0;
        -webkit-backdrop-filter: blur(5px);
        backdrop-filter: blur(5px);
    }

    .contact-form-wrapper {
        padding: 30px 20px;
        margin: 0 15px;
    }

    .contact-submit-container {
        margin-left: -30px;
        margin-right: -30px;
        padding-left: 30px;
        padding-right: 30px;
        margin-bottom: -30px;
    }

    .contact-civility-group label {
        margin-right: 1rem;
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .contact-form-group input[type="text"],
    .contact-form-group input[type="email"],
    .contact-form-group input[type="tel"],
    .contact-form-group textarea {
        padding: 12px 15px;
    }

    .contact-submit-button {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        padding-top: 138px;
        padding-bottom: 28px;
    }

    .contact-hero-scene {
        height: clamp(288px, 56vh, 440px);
    }

    .contact-hero-inner {
        padding: 0.3rem 0.45rem;
    }

    .contact-hero-panel {
        padding: 0.55rem 0.5rem 0.65rem;
    }

    .contact-hero-badge {
        font-size: 0.58rem;
        padding: 0.3rem 0.48rem;
    }

    .contact-hero-title {
        font-size: clamp(0.92rem, 3.75vw, 1.12rem);
        margin-bottom: 0.35rem;
    }

    .contact-hero-lead {
        font-size: clamp(0.68rem, 2.5vw, 0.78rem);
    }

    .contact-hero-divider {
        margin: 0.35rem auto;
    }

    .contact-hero-pitch {
        font-size: clamp(0.64rem, 2.35vw, 0.74rem);
        padding: 0.38rem 0.38rem 0.42rem;
        line-height: 1.34;
    }

    .contact-form-wrapper {
        padding: 20px 15px;
        margin: 0 10px;
    }

    .contact-form-intro {
        padding: 0.95rem 0.85rem;
        text-align: left;
    }

    .contact-submit-container {
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
        margin-bottom: -20px;
    }

    .contact-civility-group {
        text-align: center;
    }

    .contact-civility-group label {
        display: block !important;
        margin: 0 0 1rem 0;
        width: 100%;
        justify-content: center;
    }

    /* Carte WhatsApp / chat : empiler et CTA pleine largeur / zone tactile */
    .contact-whatsapp-card__body {
        text-align: center;
    }

    .contact-whatsapp-card__main {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-whatsapp-card__cta {
        min-height: 44px;
        width: 100%;
    }
}

/* FORCER L'AFFICHAGE - Priorité maximale */
.contact-page .contact-main-section,
.contact-page .contact-form-wrapper,
.contact-page .contact-form-main,
.contact-page .contact-form-group,
.contact-page .contact-form-group input,
.contact-page .contact-form-group textarea,
.contact-page .contact-form-group label,
.contact-page .contact-submit-button {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.contact-page .contact-submit-button {
    display: inline-flex !important;
}

.contact-page .contact-civility-group label {
    display: inline-flex !important;
}

/* ================================================================
   Sprint 4 P2 Item 20 (2026-04-22) — Case consentement RGPD
   ----------------------------------------------------------------
   Style sobre, conforme charte Lokatere (pas de pill, fond gris
   clair, label cliquable lisible). Le label contient la checkbox
   et son texte (alignement vertical au top pour les longs textes).

   HISTORIQUE FIX (2 iterations) :
   1. v1 (2026-04-22) : `.contact-consent-label` (spec 0,0,1,0) etait
      ecrasee par `.contact-form-group label` (spec 0,0,1,1) plus haut
      dans le fichier (ligne ~189) → display: block hérité.
   2. v2 (2026-04-23 matin) : prefix `.contact-form-group` (spec 0,0,2,0)
      ne suffisait toujours pas car la regle "FORCER L'AFFICHAGE"
      lignes ~648-660 utilise `.contact-page .contact-form-group label`
      (spec 0,0,2,1) avec `display: block !important`.
   3. v3 (2026-04-23, present) : tous les selecteurs sont prefixes
      par `.contact-page` pour atteindre 0,0,3,1, gagnant defintivement
      la cascade (spec strictement superieure + !important).
   ================================================================ */
.contact-page .contact-form-group.contact-consent-group {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.2rem 1.4rem;
    margin-bottom: 1.5rem !important;
}

/* Spec 0,0,3,1 > 0,0,2,1 de `.contact-page .contact-form-group label` */
.contact-page .contact-form-group .contact-consent-label {
    display: flex !important;
    align-items: flex-start;
    gap: 0.8rem;
    cursor: pointer;
    margin-bottom: 0 !important;
    font-weight: 500 !important;
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    color: #1a1a1a !important;
}

/* Spec 0,0,3,2 — surcharge garantie sur input[type="checkbox"].
   margin-top: 4px aligne la checkbox sur la cap-height de la 1re ligne
   (standard UX : line-height 1.5 sur 0.95rem ~22.8px → checkbox 20px
   centree sur les premiers 22.8px = (22.8 - 20)/2 ≈ 1.4px, +2-3px de
   compensation perceptuelle pour cap-height). */
.contact-page .contact-form-group .contact-consent-label input[type="checkbox"] {
    flex: 0 0 20px !important;
    width: 20px !important;
    height: 20px !important;
    margin: 4px 0 0 0 !important;
    padding: 0 !important;
    vertical-align: top;
    accent-color: #ff6600;
    cursor: pointer;
    border: 2px solid #adb5bd;
    border-radius: 4px;
    background: #fff;
    -webkit-appearance: checkbox;
    appearance: auto;
}

.contact-page .contact-form-group .contact-consent-label .contact-consent-text {
    flex: 1 1 auto;
    display: inline-block !important;
    line-height: 1.5;
}

.contact-page .contact-form-group .contact-consent-label .contact-consent-text a {
    color: #ff6600;
    text-decoration: underline;
    font-weight: 600;
}

.contact-page .contact-form-group .contact-consent-label .contact-consent-text a:hover,
.contact-page .contact-form-group .contact-consent-label .contact-consent-text a:focus {
    color: #cc5200;
    text-decoration: none;
}

/* L'asterisque "*" doit rester inline pour suivre le texte (sinon il
   se retrouve isole sur sa propre ligne a cause des regles globales). */
.contact-page .contact-form-group .contact-consent-label .contact-required {
    display: inline !important;
    margin-left: 4px;
}

.contact-page .contact-form-group .contact-consent-help {
    margin-top: 0.6rem;
    margin-bottom: 0;
    font-size: 0.82rem;
    color: #6c757d;
    line-height: 1.45;
    padding-left: calc(20px + 0.8rem); /* aligne sur le debut du texte (apres la checkbox) */
}

/* Etat erreur (validation serveur) : bordure rouge claire */
.contact-page .contact-form-group.contact-consent-group:has(.field-error),
.contact-page .contact-form-group.contact-consent-group.has-error {
    border-color: #dc3545;
    background: #fef5f5;
}

/* Bannière messagerie — utilisateur connecté (priorité fil BDD vs formulaire email) */
.contact-logged-messaging-banner__inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    padding: clamp(1.25rem, 3vw, 1.65rem) clamp(1.15rem, 3vw, 1.75rem);
    border-radius: 8px;
    background: linear-gradient(145deg, rgba(255, 107, 53, 0.07) 0%, rgba(47, 53, 66, 0.06) 100%);
    border: 1px solid rgba(255, 107, 53, 0.22);
    box-shadow:
        0 2px 10px rgba(15, 23, 42, 0.06),
        0 8px 28px rgba(255, 107, 53, 0.08);
}

@media (min-width: 768px) {
    .contact-logged-messaging-banner__inner {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
    }

    .contact-logged-messaging-banner__text {
        flex: 1 1 16rem;
        min-width: 12rem;
    }

    .contact-logged-messaging-banner__cta {
        flex-shrink: 0;
        align-self: center;
    }
}

.contact-logged-messaging-banner__icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 107, 53, 0.12);
    color: #e55a2b;
    font-size: 1.35rem;
}

@media (min-width: 768px) {
    .contact-logged-messaging-banner__inner {
        gap: 1.35rem;
    }

    .contact-logged-messaging-banner__icon {
        align-self: flex-start;
    }
}

.contact-logged-messaging-banner__title {
    font-size: clamp(1.05rem, 2.2vw, 1.25rem);
    font-weight: 700;
    color: #2f3542;
    margin: 0 0 0.5rem;
    letter-spacing: -0.01em;
}

.contact-logged-messaging-banner__lead {
    margin: 0;
    font-size: clamp(0.92rem, 1.6vw, 1rem);
    line-height: 1.55;
    color: #4a5568;
}

.contact-logged-messaging-banner__cta {
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 0.01em;
    background: linear-gradient(135deg, #ff6b35, #e55a2b);
    color: #fff !important;
    border: none;
    box-shadow: 0 4px 14px rgba(255, 107, 53, 0.28);
    transition:
        background 0.25s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-logged-messaging-banner__cta:hover {
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(255, 107, 53, 0.32);
}

.contact-logged-messaging-banner__cta:focus-visible {
    outline: 3px solid rgba(255, 107, 53, 0.55);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .contact-logged-messaging-banner__cta,
    .contact-logged-messaging-banner__cta:hover {
        transform: none;
        transition: none;
    }
}
