/* =========================================================
   PAGES — TITRES & SECTIONS
========================================================= */

.contact-page h2,
.client-hero h1,
.client-card h2,
.client-help h2 {
    font-family: system-ui, Inter, sans-serif !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #1f6b3b !important;
    margin-bottom: 14px;
}


/* =========================================================
   CARTES — STYLE PDSE (Contact + Clients)
========================================================= */

.pdse-card,
.contact-coordonnees,
.contact-horaires,
.contact-localisation,
.contact-logistique,
.contact-formulaire,
.contact-rgpd,
.client-card,
.client-help {
    background: #fff5eb !important;                /* orange très léger */
    border-radius: 18px !important;
    padding: 26px 24px !important;
    border-left: 6px solid #e57a1f !important;     /* orange PDSE */
    box-shadow: 0 8px 28px rgba(0,0,0,0.06) !important;
    margin-bottom: 34px !important;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}

.pdse-card:hover,
.client-card:hover,
.client-help:hover {
    background: #ffeede !important;                /* hover harmonisé */
    transform: translateY(-3px);
    box-shadow: 0 12px 34px rgba(0,0,0,0.09);
}


/* =========================================================
   LIENS STANDARD
========================================================= */

.contact-page a {
    color: #e57a1f;
    font-weight: 600;
}
.contact-page a:hover { opacity: .75; }


/* =========================================================
   FORMULAIRES — STYLE PDSE (WPForms)
========================================================= */

.contact-form input,
.contact-form textarea,
.contact-form select {
    border: 1px solid #d7dcd8;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #1f6b3b;
    box-shadow: 0 0 0 3px rgba(31,107,59,0.15);
}

.contact-form .wpforms-submit {
    background: #e57a1f !important;
    padding: 12px 32px !important;
    border-radius: 999px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.contact-form .wpforms-submit:hover {
    background: #c96c1b !important;
}


/* =========================================================
   ESPACE CLIENT — INTRO
========================================================= */

.client-page > *:first-child {
    background: #fff5eb !important;
    border-left: 6px solid #e57a1f !important;
    border-radius: 18px !important;
    padding: 26px 24px !important;
    box-shadow: 0 8px 28px rgba(0,0,0,0.06);
    margin-bottom: 34px !important;
}
.client-page > *:first-child a {
    color: #1f6b3b;
    font-weight: 600;
}
.client-page > *:first-child a:hover { opacity: .75; }


/* =========================================================
   RESPONSIVE GLOBAL
========================================================= */

@media (max-width: 768px) {
    .contact-page,
    .client-page { padding: 22px 14px; }

    .pdse-card,
    .client-card,
    .client-help {
        padding: 22px 18px !important;
    }
}


/* =========================================================
   THEME MY LOGIN — (Connexion / Inscription)
========================================================= */

.tml {
    max-width: 480px;
    margin: 0 auto 40px;
    background: #fff5eb !important;
    padding: 28px 26px;
    border-radius: 18px;
    border-left: 6px solid #e57a1f;
    box-shadow: 0 8px 28px rgba(0,0,0,0.06);
}

.tml h2,
.tml h3 {
    font-family: system-ui, Inter, sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #1f6b3b;
    text-align: center;
}

.tml input[type="text"],
.tml input[type="password"],
.tml input[type="email"],
.tml select {
    width: 100%;
    border: 1px solid #d7dcd8;
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 14px;
}
.tml input:focus {
    border-color: #1f6b3b;
    box-shadow: 0 0 0 3px rgba(31,107,59,0.15);
}

.tml .tml-submit-wrap input[type="submit"] {
    width: 100%;
    background: #e57a1f !important;
    color: #fff;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.tml .tml-submit-wrap input:hover {
    background: #c96c1b !important;
}

.tml .tml-links a {
    color: #1f6b3b;
    font-weight: 600;
}


/* =========================================================
   PAGE MON PROFIL
========================================================= */

.pdse-profil-wrapper {
    background: #fff5eb !important;
    border-radius: 18px;
    padding: 26px 24px;
    border-left: 6px solid #e57a1f !important;
    box-shadow: 0 8px 28px rgba(0,0,0,0.06);
    margin-bottom: 40px;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.pdse-profil-wrapper h2 {
    color: #1f6b3b !important;
    font-weight: 900;
    text-transform: uppercase;
}

.pdse-profil-wrapper input {
    width: 100%;
    border: 1px solid #d7dcd8;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 14px;
}

.pdse-profil-wrapper input:focus {
    border-color: #1f6b3b;
    box-shadow: 0 0 0 3px rgba(31,107,59,0.15);
}

.pdse-profil-wrapper button {
    background: #e57a1f;
    color: #fff;
    padding: 12px 32px;
    border-radius: 999px;
    font-weight: 700;
}
.pdse-profil-wrapper button:hover {
    background: #c96c1b;
}


/* =========================================================  
   VIEWER PDF — PLEINE PAGE + STABLE  
========================================================= */  
  
.pdse-pdf-wrapper {  
    width: 100%;  
    height: 90vh;               /* Affichage pleine page */  
    max-height: 90vh;  
    background: #fff5eb !important;  
    border-left: 6px solid #e57a1f !important;  
    border-radius: 18px;  
    overflow: hidden;  
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);  
    position: relative;  
}  
  
.pdse-pdf-viewer {  
    width: 100%;  
    height: 100%;               /* Le viewer occupe toute la hauteur */  
    background: #fff5eb !important;  
    border-left: 6px solid #e57a1f !important;  
    border-radius: 18px;  
    overflow: hidden;  
}  
  
.pdse-pdf-viewer iframe {  
    width: 100%;  
    height: 100%;               /* Le PDF s’ajuste parfaitement à l’écran */  
    border: none;  
}  


/* =========================================================
   BOUTON RETOUR TARIFS
========================================================= */

.tarifs-retour a {
    background: #e57a1f;
    color: #fff !important;
    padding: 12px 30px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
}
.tarifs-retour a:hover {
    background: #c96c1b;
}


/* =========================================================
   PAGE ENTREPRISE — ENCARTS
========================================================= */

.pdse-entreprise .encart {
    background: #fff5eb;
    border-left: 6px solid #e57a1f;
    border-radius: 14px;
    padding: 20px 22px;
    margin: 25px 0;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.pdse-entreprise .encart.gold   { background:#fff8e6; border-left-color:#e6a400; }
.pdse-entreprise .encart.green  { background:#eef7ee; border-left-color:#4da166; }
.pdse-entreprise .encart.purple { background:#f3e8ff; border-left-color:#7b2cbf; }