/* =========================================================
   contact_produit – bouton + modale  (glassmorphism)
   ========================================================= */

.gform_heading,.gfield_required_asterisk{
    display:none !important;}
    

/* --- Bouton téléchargement documentation --------------- */
.propack-doc-btn {
    display: inline-flex;
    align-items: center;
    gap: .5em;
    padding: .7em 1.5em;
    background: transparent;
    color: #1a2e5a;
    border: 2px solid #1a2e5a;
    border-radius: 8px;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .05em;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.propack-doc-btn:hover {
    background: #1a2e5a;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26, 46, 90, .3);
}

/* --- Bouton déclencheur --------------------------------- */
.propack-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: .5em;
    padding: .7em 1.5em;
    background: linear-gradient(135deg, #1a2e5a 0%, #243f7a 100%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 8px;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .05em;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    box-shadow: 0 4px 14px rgba(26, 46, 90, .35);
}

.propack-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26, 46, 90, .45);
    background: linear-gradient(135deg, #1f3669 0%, #2b4a8e 100%);
}

.propack-contact-btn-icon {
    font-size: 1.1em;
    opacity: .9;
}

/* --- Overlay -------------------------------------------- */
.propack-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.propack-modal.is-open {
    display: flex;
    animation: propack-overlay-in .2s ease;
}

@keyframes propack-overlay-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.propack-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(6, 12, 34, .72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
}

body.propack-modal-open {
    overflow: hidden;
}

/* --- Boîte glass --------------------------------------- */
.propack-modal-box {
    position: relative;
    z-index: 1;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid rgba(255, 255, 255, .6);
    border-radius: 18px;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, .08) inset,
        0 24px 64px rgba(6, 12, 34, .28),
        0 4px 16px rgba(6, 12, 34, .12);
    width: min(580px, calc(100vw - 2rem));
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    animation: propack-modal-in .28s cubic-bezier(.34, 1.3, .64, 1);
}

@keyframes propack-modal-in {
    from { opacity: 0; transform: translateY(28px) scale(.95); }
    to   { opacity: 1; transform: translateY(0)     scale(1);   }
}

/* --- En-tête glass ------------------------------------- */
.propack-modal-header {
    padding: 1.8em 2em 1.4em;
    background: rgba(20, 38, 80, .55);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    border-radius: 18px 18px 0 0;
    position: relative;
    overflow: hidden;
}

/* reflet lumineux en haut à gauche */
.propack-modal-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, .12) 0%,
        rgba(255, 255, 255, .02) 50%,
        transparent 100%);
    pointer-events: none;
}

.propack-modal-titre {
    margin: 0 0 .3em;
    font-family: "Montserrat", sans-serif;
    font-size: 1.15em;
    font-weight: 700;
    color: #fff;
    letter-spacing: -.01em;
    position: relative;
}

.propack-modal-produit {
    margin: 0;
    font-family: "Open Sans", sans-serif;
    font-size: .82em;
    color: rgba(255, 255, 255, .65);
    font-style: italic;
    position: relative;
}

/* --- Formulaire ---------------------------------------- */
.gform-theme--foundation .gform_fields{
    row-gap: 12px !important;
    grid-row-gap: 12px !important;
}

.gfield_description.gfield_consent_description{
    font-size:12px;
    font-family: "Open Sans", sans-serif;
}

.propack-modal-form {
    padding: 1.6em 2em 2em;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 0 0 18px 18px;
}

/* Champs GF dans la modale */
.propack-modal-form .gfield input,
.propack-modal-form .gfield textarea,
.propack-modal-form .gfield select {
    background: rgba(255, 255, 255, .7) !important;
    border: 1px solid rgba(26, 46, 90, .18) !important;
    border-radius: 8px !important;
    padding: .65em .9em !important;
    font-family: "Open Sans", sans-serif !important;
    font-size: 13px !important;
    color: #1a2e5a !important;
    transition: border-color .2s, box-shadow .2s !important;
    box-shadow: none !important;
}

.propack-modal-form .gfield input:focus,
.propack-modal-form .gfield textarea:focus {
    outline: none !important;
    border-color: #1a2e5a !important;
    box-shadow: 0 0 0 3px rgba(26, 46, 90, .1) !important;
    background: rgba(255, 255, 255, .95) !important;
}

.propack-modal-form .gfield label,
.propack-modal-form .gfield .gfield_label {
    font-family: "Open Sans", sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #4a5672 !important;
    letter-spacing: .03em !important;
    text-transform: uppercase !important;
}

.propack-modal-form .gform_footer .gform_button,
.propack-modal-form .gform_page_footer .gform_button {
    background: linear-gradient(135deg, #1a2e5a 0%, #243f7a 100%) !important;
    border: none !important;
    border-radius: 8px !important;
    padding: .75em 2em !important;
    font-family: "Open Sans", sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: .05em !important;
    cursor: pointer !important;
    transition: transform .2s, box-shadow .2s !important;
    box-shadow: 0 4px 14px rgba(26, 46, 90, .35) !important;
}

.propack-modal-form .gform_footer .gform_button:hover,
.propack-modal-form .gform_page_footer .gform_button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(26, 46, 90, .45) !important;
}

/* --- Bouton fermer ------------------------------------- */
.propack-modal-close {
    position: absolute;
    top: 1em;
    right: 1em;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2em;
    height: 2em;
    background: rgba(255, 255, 255, .15);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    font-size: 1.1em;
    line-height: 1;
    color: rgba(255, 255, 255, .85);
    cursor: pointer;
    padding: 0;
    z-index: 1;
    transition: background .15s, color .15s, transform .15s;
}

.propack-modal-close:hover {
    background: rgba(255, 255, 255, .28);
    color: #fff;
    transform: rotate(90deg);
}
