/* ════════════════════════════════════════════
   DestockGym — Page Contact
   assets/css/contact.css
════════════════════════════════════════════ */

/* ── Reset page ───────────────────────────── */
.dg-contact-hero,
.dg-contact-main {
    width: 100% !important;
    max-width: 100% !important;
}

/* ════════════════════════════════════════════
   HERO
════════════════════════════════════════════ */
.dg-contact-hero {
    position: relative;
    margin-bottom: 60px;
}

.dg-contact-hero__bg {
    position: relative;
    width: 100%;
    height: 520px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dg-contact-hero__overlay {
    position: absolute;
    inset: 0;
    background: #0a141ebf;
    z-index: 1;
}

.dg-contact-hero__title {
    position: relative;
    z-index: 2;
    font-family: "Barlow Condensed", sans-serif !important;
    font-weight: 800 !important;
    font-size: 158px !important;
    letter-spacing: 4px !important;
    word-spacing: 0px !important;
    text-transform: uppercase !important;
    color: transparent !important;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.85) !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
}

/* Carte socials */
.dg-contact-hero__socials-wrap {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 10;
    margin-top: -44px;
}

.dg-contact-hero__socials {
    background: #ffffff;
    border-radius: 6px;
    padding: 20px 48px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

.dg-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    color: #ffffff !important;
    text-decoration: none !important;
    flex-shrink: 0;
    background: linear-gradient(180deg, rgba(1, 92, 122, 0.92), rgba(1, 92, 122, 0.78)) !important;
    backdrop-filter: blur(12px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(150%) !important;
    border: 1px solid rgba(255, 255, 255, 0.55) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45),
                0 10px 26px -12px rgba(1, 92, 122, 0.55) !important;
    transition: background .3s ease, border-color .3s ease,
                box-shadow .3s ease, transform .15s ease !important;
}

.dg-social-btn:hover {
    background: rgba(255, 255, 255, 0.32) !important;
    border-color: #015C7A !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6),
                0 8px 22px -14px rgba(1, 92, 122, 0.4) !important;
    color: #015C7A !important;
    transform: translateY(-2px) !important;
}

/* ════════════════════════════════════════════
   SECTION PRINCIPALE — 2 COLONNES
════════════════════════════════════════════ */
.dg-contact-main {
    padding: 60px 0 80px;
    overflow: visible;
}

.dg-contact-main__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: stretch;
}

/* ── Colonne gauche ───────────────────────── */
.dg-contact-left__eyebrow {
    font-family: "Barlow", sans-serif !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    letter-spacing: 4px !important;
    color: #015C7A !important;
    text-transform: uppercase;
    margin: 0 0 12px !important;
}

.dg-contact-left__heading {
    font-family: "Barlow Condensed", sans-serif !important;
    font-size: 45px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    line-height: 1.1 !important;
    color: #1a1a1a !important;
    margin: 0 0 36px !important;
}

.dg-contact-left__heading--accent {
    color: #015C7A !important;
    display: block;
}

.dg-contact-left__subtitle {
    font-family: "Barlow", sans-serif !important;
    font-size: 35px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin: 0 0 14px !important;
}

.dg-contact-left__desc,
.dg-contact-left__info,
.dg-contact-left__hours {
    font-family: "Hind", sans-serif !important;
    font-size: 16px !important;
    color: #444 !important;
    line-height: 1.65 !important;
    margin: 0 0 10px !important;
}

/* Bouton WhatsApp */
/* .dg-contact-left__wa-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    background-color: #1B5F7B !important;
    color: #ffffff !important;
    font-family: "Barlow", sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    padding: 14px 28px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    margin: 8px 0 40px !important;
    transition: background-color 0.2s ease !important;
}

.dg-contact-left__wa-btn:hover {
    background-color: #E8783A !important;
} */

/* Carte adresse */
.dg-contact-address-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 28px 32px;
    margin-bottom: 28px;
    margin-top: 50px;
}

.dg-contact-address-card__eyebrow {
    font-family: "Barlow", sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    letter-spacing: 4px !important;
    color: #015C7A !important;
    text-transform: uppercase;
    margin: 0 0 10px !important;
}

.dg-contact-address-card__title {
    font-family: "Barlow Condensed", sans-serif !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin: 0 0 12px !important;
}

.dg-contact-address-card__text,
.dg-contact-address-card__name {
    font-family: "Hind", sans-serif !important;
    font-size: 15px !important;
    color: #555 !important;
    line-height: 1.6 !important;
    margin: 0 0 8px !important;
}

/* Google Maps */
.dg-contact-map {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.dg-contact-map iframe {
    display: block;
}

/* ── Colonne droite — conteneur qui s'étire à la hauteur de la gauche ── */
.dg-contact-right {
    align-self: stretch;
    overflow: visible;
}

/* Card formulaire — sticky géré en JS */
.dg-contact-form-card {
    background: #ffffff91;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 36px 36px 28px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.dg-contact-form-card__eyebrow {
    font-family: "Barlow", sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    letter-spacing: 4px !important;
    color: #015C7A !important;
    text-transform: uppercase;
    margin: 0 0 8px !important;
}

.dg-contact-form-card__title {
    font-family: "Barlow Condensed", sans-serif !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin: 0 0 10px !important;
}

.dg-contact-form-card__desc {
    font-family: "Hind", sans-serif !important;
    font-size: 15px !important;
    color: #666 !important;
    line-height: 1.55 !important;
    margin: 0 0 24px !important;
}

/* Flash messages */
.dg-contact-flash {
    padding: 12px 16px;
    border-radius: 6px;
    font-family: "Hind", sans-serif;
    font-size: 14px;
    margin-bottom: 20px;
}

.dg-contact-flash--success {
    background: #e6f4ea;
    color: #276221;
    border: 1px solid #b7dfba;
}

.dg-contact-flash--error {
    background: #fdecea;
    color: #8b1a12;
    border: 1px solid #f5b8b4;
}

/* ════════════════════════════════════════════
   FORMULAIRE
════════════════════════════════════════════ */
.dg-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dg-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.dg-form__row--full {
    grid-template-columns: 1fr !important;
}

.dg-form__input {
    width: 100% !important;
    padding: 12px 14px !important;
    border: 1px solid #d0d0d0 !important;
    border-radius: 30px !important;
    font-family: "Hind", sans-serif !important;
    font-size: 14px !important;
    color: #333 !important;
    background: #fff !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s ease !important;
    outline: none !important;
}

.dg-form__input::placeholder {
    color: #999 !important;
}

.dg-form__input:focus {
    border-color: #015C7A !important;
}

.dg-form__input--error {
    border-color: #e53935 !important;
}

/* Select */
.dg-form__select-wrap {
    position: relative;
    width: 100%;
}

.dg-form__select {
    width: 100% !important;
    padding: 12px 40px 12px 14px !important;
    border: 1px solid #d0d0d0 !important;
    border-radius: 6px !important;
    font-family: "Hind", sans-serif !important;
    font-size: 14px !important;
    color: #333 !important;
    background: #fff !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    outline: none !important;
}

.dg-form__select:focus {
    border-color: #015C7A !important;
}

/* Pills radio */
.dg-form__label {
    font-family: "Hind", sans-serif !important;
    font-size: 14px !important;
    color: #444 !important;
    margin: 0 0 10px !important;
}

.dg-form__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dg-form__pill {
    cursor: pointer;
}

.dg-form__pill input[type="radio"] {
    display: none !important;
}

.dg-form__pill span {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid #ccc;
    border-radius: 20px;
    font-family: "Hind", sans-serif !important;
    font-size: 13px !important;
    color: #444;
    background: #fff;
    transition: all 0.15s ease;
    user-select: none;
}

.dg-form__pill input[type="radio"]:checked + span {
    border-color: #015C7A !important;
    background: #015C7A !important;
    color: #fff !important;
}

.dg-form__pill:hover span {
    border-color: #015C7A;
    color: #015C7A;
}

/* Textarea */
.dg-form__textarea {
    width: 100% !important;
    padding: 12px 14px !important;
    border: 1px solid #d0d0d0 !important;
    border-radius: 6px !important;
    font-family: "Hind", sans-serif !important;
    font-size: 14px !important;
    color: #333 !important;
    background: #fff !important;
    box-sizing: border-box !important;
    resize: vertical !important;
    min-height: 120px !important;
    outline: none !important;
    transition: border-color 0.2s ease !important;
}

.dg-form__textarea::placeholder {
    color: #999 !important;
}

.dg-form__textarea:focus {
    border-color: #015C7A !important;
}

/* Submit */
/* Submit */
.dg-form__submit, .dg-contact-left__wa-btn {
    width: 100% !important;
    padding: 15px !important;
    font-family: "Barlow Condensed", sans-serif !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    border-radius: 999px !important;
    cursor: pointer !important;
    margin-top: 4px !important;
    color: #fff !important;
    text-transform: capitalize !important ;
    background: linear-gradient(180deg, rgba(1, 92, 122, 0.92), rgba(1, 92, 122, 0.78)) !important;
    border: 1px solid rgba(255, 255, 255, 0.55) !important;
    backdrop-filter: blur(12px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(150%) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45),
                0 10px 26px -12px rgba(1, 92, 122, 0.55) !important;
    transition: background .3s ease, color .25s ease,
                border-color .3s ease, box-shadow .3s ease, transform .16s ease !important;
}

.dg-contact-left__wa-btn {
    width: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 20px 0 40px !important;
    text-decoration: none !important;
}

.dg-form__submit:hover,
.dg-contact-left__wa-btn:hover {
    color: #003F55 !important;
    background: rgba(255, 255, 255, 0.32) !important;
    border-color: #015C7A !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6),
                0 8px 22px -14px rgba(1, 92, 122, 0.4) !important;
}

.dg-form__submit:active {
    transform: translateY(1px) !important;
}

.dg-form__mention {
    font-family: "Hind", sans-serif !important;
    font-size: 12px !important;
    color: #999 !important;
    font-style: italic !important;
    text-align: center !important;
    margin: 10px 0 0 !important;
}

/* ════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════ */

/* Tablette portrait */
@media (max-width: 1024px) {
    .dg-contact-hero__title {
        font-size: 110px !important;
    }

    .dg-contact-main__inner {
        grid-template-columns: 1fr;
        gap: 48px;
        padding: 0 24px;
    }

    .dg-contact-right {
        align-self: auto;
    }

    .dg-contact-form-card {
        position: static;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .dg-contact-hero__bg {
        height: 360px;
    }

    .dg-contact-hero__title {
        font-size: 68px !important;
        letter-spacing: 2px !important;
        -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.85) !important;
    }

    .dg-contact-hero__socials {
        padding: 16px 20px;
        gap: 12px;
    }

    .dg-social-btn {
        width: 42px;
        height: 42px;
    }

    .dg-contact-main {
        padding: 40px 0 60px;
    }

    .dg-contact-main__inner {
        padding: 0 16px;
        gap: 36px;
    }

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

    .dg-form__row {
        grid-template-columns: 1fr !important;
    }

    .dg-contact-left__heading {
        font-size: 36px !important;
    }

    .dg-contact-left__subtitle {
        font-size: 26px !important;
    }
}

/* ════════════════════════════════════════════
   FAQ
════════════════════════════════════════════ */
.dg-faq {
    padding: 80px 0 100px;
    background: #ffffff00;
}

.dg-faq__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 80px;
    align-items: start;
}

.dg-faq__eyebrow {
    font-family: "Barlow", sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    letter-spacing: 4px !important;
    color: #015C7A !important;
    text-transform: uppercase;
    margin: 0 0 16px !important;
}

.dg-faq__title {
    font-family: "Barlow Condensed", sans-serif !important;
    font-size: 45px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    line-height: 1.1 !important;
    color: #1a1a1a !important;
    margin: 0 0 20px !important;
}

.dg-faq__title--accent {
    color: #015C7A !important;
    display: block;
}

.dg-faq__desc {
    font-family: "Hind", sans-serif !important;
    font-size: 15px !important;
    color: #555 !important;
    line-height: 1.65 !important;
    margin: 0 !important;
}

/* ── Dalle glassmorphisme ── */
.dg-faq__right {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 16px;
    box-shadow: 0 4px 24px -8px rgba(0, 0, 0, 0.10);
    overflow: hidden;
    padding: 0;
}

/* Chaque item */
.dg-faq__item {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 0;
}

.dg-faq__item:last-child {
    border-bottom: none;
}

/* Summary */
.dg-faq__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    cursor: pointer;
    list-style: none;
    font-family: "Hind", sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    background: transparent;
    transition: background .2s ease;
    border-radius: 0;
}

.dg-faq__summary::-webkit-details-marker { display: none; }

.dg-faq__summary:hover {
    background: rgba(1, 92, 122, 0.04);
}

/* Liseré teal sur item ouvert */
.dg-faq__item[open] > .dg-faq__summary {
    border-left: 3px solid #015C7A;
    padding-left: 17px;
    color: #015C7A !important;
    background: transparent;
}

/* Icône +/- */
.dg-faq__icon {
    flex-shrink: 0;
    width: 12px;
    height: 12px;
    position: relative;
    color: #015C7A;
}

.dg-faq__icon::before,
.dg-faq__icon::after {
    content: '';
    position: absolute;
    background: currentColor;
    border-radius: 1px;
    transition: opacity 0.2s ease;
}

/* Barre horizontale */
.dg-faq__icon::before {
    width: 12px;
    height: 2px;
    top: 5px;
    left: 0;
}

/* Barre verticale */
.dg-faq__icon::after {
    width: 2px;
    height: 12px;
    top: 0;
    left: 5px;
}

.dg-faq__item[open] .dg-faq__icon::after {
    opacity: 0;
}

/* Réponse */
.dg-faq__answer {
    overflow: hidden;
    transition: height 0.3s ease;
}

.dg-faq__answer-inner {
    font-family: "Hind", sans-serif !important;
    font-size: 15px !important;
    color: #555 !important;
    line-height: 1.7 !important;
    padding: 4px 20px 22px;
}

@media (max-width: 1024px) {
    .dg-faq__inner {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 24px;
    }
}

@media (max-width: 767px) {
    .dg-faq {
        padding: 60px 0 80px;
    }

    .dg-faq__inner {
        padding: 0 16px;
    }

    .dg-faq__title {
        font-size: 34px !important;
    }
}