/* Présentation de la home validée le 5 octobre 2026. */
.dpep-app .dpep-home--portal .dpep-home647-hero{min-height:0;overflow:visible}
.dpep-app .dpep-home--portal .dpep-home647-hero__inner{min-height:0;padding-block:32px 25px;display:block}
.dpep-app .dpep-home--portal .dpep-home647-hero__veil{background:linear-gradient(0deg,rgba(3,21,39,.82),rgba(3,21,39,.66))}
.dpep-app .dpep-home--portal .dpep-home647-hero__copy{max-width:950px;margin:auto;padding:0;text-align:center}
.dpep-app .dpep-home--portal .dpep-home647-hero h1{max-width:880px;margin:0 auto;font-size:clamp(28px,2.8vw,38px);line-height:1.18;letter-spacing:-.02em}
.dpep-app .dpep-home--portal .dpep-home647-hero__lead{max-width:800px;margin:14px auto 0;font-size:14px;line-height:1.6}
.dpep-app .dpep-home--portal .dpep-home647-search{position:relative;inset:auto;width:100%;margin:24px auto 0;box-shadow:none}
.dpep-app .dpep-portal-proof{display:flex;justify-content:center;gap:32px;margin-top:14px;color:#d8e0e4;font-size:12px}
.dpep-app .dpep-portal-proof a{color:white;text-decoration:underline;text-underline-offset:4px}
.dpep-app .dpep-portal-shortcuts{display:flex;justify-content:center;flex-wrap:wrap;gap:24px;margin-top:16px;padding-top:15px;border-top:1px solid #ffffff30;font-size:11px}
.dpep-app .dpep-portal-shortcuts a{color:white}
.dpep-app .dpep-home--portal .dpep-home647-selection{padding-block:35px 45px;background:#fff}
.dpep-app .dpep-home--portal .dpep-home647-section-head{margin-bottom:22px}
.dpep-app .dpep-home--portal .dpep-home647-section-head h2{font-size:clamp(27px,2.5vw,34px);line-height:1.2}
.dpep-app .dpep-home--portal .dpep-home647-platform{background:var(--dpep-sand,#f4f0e8);padding-block:28px}
.dpep-app .dpep-portal-explain{display:flex;gap:30px;align-items:center}
.dpep-app .dpep-portal-explain h2{font-size:25px;flex:0 0 30%;margin:0}
.dpep-app .dpep-portal-explain p{font-size:13px;margin:0;line-height:1.65}
.dpep-app .dpep-portal-explain>a{font-size:12px;white-space:nowrap;color:var(--dpep-navy)}
@media(max-width:767px){
.dpep-app .dpep-home--portal .dpep-home647-hero__inner{padding-block:25px}
.dpep-app .dpep-home--portal .dpep-home647-hero h1{font-size:29px;line-height:1.18}
.dpep-app .dpep-home--portal .dpep-home647-hero__lead{font-size:13px;margin-top:12px}
.dpep-app .dpep-home--portal .dpep-home647-search{margin-top:20px}
.dpep-app .dpep-portal-proof{flex-direction:column;align-items:center;gap:6px;font-size:11px}
.dpep-app .dpep-portal-shortcuts{gap:10px 17px}
.dpep-app .dpep-home--portal .dpep-home647-selection{padding-block:28px 34px}
.dpep-app .dpep-portal-explain{display:block}
.dpep-app .dpep-portal-explain h2{margin-bottom:12px}
.dpep-app .dpep-portal-explain>a{display:inline-block;margin-top:14px}
}

/* V725 : accueil immersif, sur tout le premier écran. */
.dpep-app .dpep-home--portal .dpep-home647-hero{min-height:calc(100svh - 108px)}
.dpep-app .dpep-home--portal .dpep-home647-hero__inner{min-height:calc(100svh - 108px);display:flex;flex-direction:column;justify-content:flex-end;padding-block:48px 28px;gap:0}
.dpep-app .dpep-home--portal .dpep-home647-hero__copy{width:100%;max-width:1000px;flex:1;display:flex;flex-direction:column;justify-content:center;margin:0 auto;padding:20px 0 42px}
.dpep-app .dpep-home--portal .dpep-home647-hero h1{max-width:920px;font-size:clamp(36px,3.6vw,52px);line-height:1.13;font-weight:400;letter-spacing:-.025em;text-wrap:balance}
.dpep-app .dpep-home--portal .dpep-home647-hero__lead{margin-top:20px;font-size:15px;color:rgba(255,255,255,.87)}
.dpep-app .dpep-home--portal .dpep-home647-hero__veil{background:linear-gradient(180deg,rgba(3,21,39,.32),rgba(3,21,39,.50) 45%,rgba(3,21,39,.78))}
.dpep-app .dpep-home--portal .dpep-home647-hero{background-position:center 45%}
.dpep-app .dpep-home--portal .dpep-home647-search{flex:none;margin:0 auto;box-shadow:0 12px 40px rgba(0,0,0,.12)}
.dpep-app .dpep-home--portal .dpep-home647-selection{background:var(--dpep-sand,#f1e8d8);padding-block:65px 72px}
.dpep-app .dpep-home--portal .dpep-home647-section-head{margin-bottom:30px}
.dpep-app .dpep-home--portal .dpep-home647-section-head h2{font-size:clamp(30px,3vw,42px)}
.dpep-app .dpep-home--portal .dpep-home-showcase{grid-template-rows:repeat(2,285px)}
.dpep-app .dpep-home--portal .dpep-home-showcase__item--feature .dpep-home-showcase__content strong{font-size:32px}
@media(max-width:1100px) and (min-width:768px){.dpep-app .dpep-home--portal .dpep-home647-hero,.dpep-app .dpep-home--portal .dpep-home647-hero__inner{min-height:calc(100svh - 96px)}}
@media(max-width:767px){
.dpep-app .dpep-home--portal .dpep-home647-hero,.dpep-app .dpep-home--portal .dpep-home647-hero__inner{min-height:calc(100svh - 76px)}
.dpep-app .dpep-home--portal .dpep-home647-hero__inner{padding-block:22px 24px}
.dpep-app .dpep-home--portal .dpep-home647-hero__copy{padding:30px 0;min-height:180px}
.dpep-app .dpep-home--portal .dpep-home647-hero h1{font-size:clamp(30px,7.5vw,38px);max-width:500px}
.dpep-app .dpep-home--portal .dpep-home647-hero__lead{font-size:13px;margin-top:16px;max-width:330px}
.dpep-app .dpep-home--portal .dpep-home647-hero{background-position:62% center}
.dpep-app .dpep-home--portal .dpep-home647-selection{padding-block:38px 45px}
.dpep-app .dpep-home--portal .dpep-home-showcase{grid-template-rows:none}
}
@media(max-height:650px) and (min-width:768px){.dpep-app .dpep-home--portal .dpep-home647-hero__copy{padding:12px 0 22px}.dpep-app .dpep-home--portal .dpep-home647-hero__inner{padding-top:24px}}

/* V736 — hero de référence validé : rendu desktop basé sur le visuel figé approuvé.
   Le titre et la photographie font partie de la couche visuelle de référence afin
   d'éviter toute approximation de police. Le moteur de recherche reste réellement
   interactif et recouvre exactement sa représentation dans la référence. */
@media (min-width: 900px) {
  .dpep-app .dpep-home--portal .dpep-home647-hero{
    position:relative;
    min-height:0!important;
    height:auto!important;
    aspect-ratio:1874 / 753;
    overflow:hidden;
    background-image:url('../images/hero-home-reference-v736.webp')!important;
    background-size:100% 100%!important;
    background-position:0 0!important;
    background-repeat:no-repeat!important;
  }
  .dpep-app .dpep-home--portal .dpep-home647-hero__veil{display:none!important}
  .dpep-app .dpep-home--portal .dpep-home647-hero__inner{
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    max-width:none!important;
    min-height:0!important;
    padding:0!important;
    margin:0!important;
    display:block!important;
  }
  /* Le contenu textuel reste dans le DOM pour le SEO et les lecteurs d'écran,
     mais le rendu visible est celui de la référence approuvée. */
  .dpep-app .dpep-home--portal .dpep-home647-hero__copy{
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    padding:0!important;
    margin:-1px!important;
    overflow:hidden!important;
    clip:rect(0,0,0,0)!important;
    white-space:nowrap!important;
    border:0!important;
  }
  .dpep-app .dpep-home--portal .dpep-hero-v736-types{
    position:absolute!important;
    left:23.7%;
    top:49.2%;
    width:49%;
    height:7%;
    display:grid!important;
    grid-template-columns:1.45fr 1fr .9fr 1fr .8fr;
    gap:0;
    z-index:4;
    opacity:0;
  }
  .dpep-app .dpep-home--portal .dpep-hero-v736-types a{display:block;width:100%;height:100%}

  .dpep-app .dpep-home--portal .dpep-home647-search{
    position:absolute!important;
    left:8.30%!important;
    top:66.25%!important;
    width:82.10%!important;
    height:auto!important;
    margin:0!important;
    z-index:8!important;
    box-shadow:none!important;
  }
  .dpep-app .dpep-home--portal .dpep-home647-search .dpep-unified-search{
    padding:14px 14px 13px!important;
    background:#fff!important;
    border:0!important;
    box-shadow:0 8px 18px rgba(0,0,0,.08)!important;
  }
  .dpep-app .dpep-home--portal .dpep-home647-search .dpep-unified-search__fields{
    display:grid!important;
    grid-template-columns:39.5% 27% 18.5% 15%!important;
    min-height:108px!important;
    border:1px solid #ded8cf!important;
    background:#fff!important;
  }
  .dpep-app .dpep-home--portal .dpep-home647-search .dpep-unified-search__fields>label,
  .dpep-app .dpep-home--portal .dpep-home647-search .dpep-unified-search__optional>label{
    min-height:108px!important;
    padding:15px 22px!important;
    border-right:1px solid #ddd7cf!important;
    border-bottom:0!important;
    background:#fff!important;
    align-content:center!important;
    gap:4px!important;
  }
  .dpep-app .dpep-home--portal .dpep-home647-search .dpep-unified-search__fields>label>span,
  .dpep-app .dpep-home--portal .dpep-home647-search .dpep-unified-search__optional>label>span{
    color:#715c4c!important;
    font-size:9px!important;
    line-height:1!important;
    font-weight:800!important;
    letter-spacing:.08em!important;
  }
  .dpep-app .dpep-home--portal .dpep-home647-search .dpep-unified-search__fields input,
  .dpep-app .dpep-home--portal .dpep-home647-search .dpep-unified-search__fields select{
    height:36px!important;
    font-size:16px!important;
    line-height:1.2!important;
    color:#102943!important;
  }
  .dpep-app .dpep-home--portal .dpep-home647-search .dpep-unified-search__fields input::placeholder{color:#8f9db0!important}
  .dpep-app .dpep-home--portal .dpep-home647-search .dpep-unified-search__fields small{
    display:block!important;
    color:#7e8a96!important;
    font-size:9px!important;
  }
  .dpep-app .dpep-home--portal .dpep-home647-search .dpep-unified-search__fields .dpep-button--search{
    min-height:108px!important;
    height:108px!important;
    padding:0 16px!important;
    margin:0!important;
    border:0!important;
    border-radius:0!important;
    background:#cb913d!important;
    color:#fff!important;
    font-size:16px!important;
    font-weight:800!important;
  }
  .dpep-app .dpep-home--portal .dpep-home647-search .dpep-unified-search__footer,
  .dpep-app .dpep-home--portal .dpep-home647-search .dpep-search-advanced{display:none!important}

  .dpep-app .dpep-home--portal .dpep-portal-proof{
    position:absolute!important;
    left:30.8%!important;
    top:89.0%!important;
    width:39.5%!important;
    height:6%!important;
    margin:0!important;
    display:grid!important;
    grid-template-columns:46% 54%;
    gap:0!important;
    z-index:9!important;
    opacity:0;
  }
  .dpep-app .dpep-home--portal .dpep-portal-proof a,
  .dpep-app .dpep-home--portal .dpep-portal-proof span{display:block;width:100%;height:100%}
}

/* Mobile/tablette : on conserve un hero HTML natif et lisible. */
@media (max-width: 899px) {
  .dpep-app .dpep-home--portal .dpep-home647-hero{
    background-image:var(--dpep-home647-hero)!important;
    background-size:cover!important;
    background-position:62% center!important;
  }
  .dpep-app .dpep-home--portal .dpep-hero-v736-types{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:8px 15px;
    margin:18px auto 0;
    max-width:520px;
    font-size:10px;
    font-weight:800;
    letter-spacing:.08em;
    text-transform:uppercase;
  }
  .dpep-app .dpep-home--portal .dpep-hero-v736-types a{color:#fff}
  .dpep-app .dpep-home--portal .dpep-hero-v736-kicker{
    margin:0 0 12px;
    color:#fff;
    font-size:10px;
    font-weight:800;
    letter-spacing:.25em;
    text-transform:uppercase;
  }
  .dpep-app .dpep-home--portal .dpep-home647-hero h1 span{display:block}
  .dpep-app .dpep-home--portal .dpep-home647-hero h1 b{color:#d89b3d;font-weight:400}
}

/* V737 — calage moteur desktop + déclinaison mobile du hero validé. */
@media (min-width: 900px) {
  /* Masque intégralement le moteur figé présent dans l'image de référence avant
     d'afficher le vrai formulaire interactif : aucun liseré / doublon ne peut dépasser. */
  .dpep-app .dpep-home--portal .dpep-home647-search{
    left:7.88%!important;
    top:65.72%!important;
    width:83.48%!important;
    padding:12px 13px 14px!important;
    box-sizing:border-box!important;
    background:#fff!important;
    overflow:hidden!important;
    box-shadow:0 8px 18px rgba(0,0,0,.08)!important;
  }
  .dpep-app .dpep-home--portal .dpep-home647-search::before{
    content:"";
    position:absolute;
    inset:-2px;
    background:#fff;
    z-index:-1;
  }
  .dpep-app .dpep-home--portal .dpep-home647-search .dpep-unified-search{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    box-shadow:none!important;
  }
  .dpep-app .dpep-home--portal .dpep-home647-search .dpep-unified-search__fields{
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }
  .dpep-app .dpep-home--portal .dpep-home647-search .dpep-unified-search__fields>*{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
}

@media (max-width: 899px) {
  /* Même univers visuel sur mobile : on utilise un recadrage de LA photo validée,
     débarrassé du header desktop et centré sur la maison. */
  .dpep-app .dpep-home--portal .dpep-home647-hero{
    min-height:calc(100svh - 76px)!important;
    background-image:url('../images/hero-home-reference-mobile-v737.jpg')!important;
    background-size:cover!important;
    background-position:78% center!important;
    background-repeat:no-repeat!important;
    overflow:hidden!important;
  }
  .dpep-app .dpep-home--portal .dpep-home647-hero__veil{
    display:block!important;
    background:linear-gradient(180deg,rgba(4,24,42,.18),rgba(4,24,42,.38) 48%,rgba(4,24,42,.68))!important;
  }
  .dpep-app .dpep-home--portal .dpep-home647-hero__inner{
    min-height:calc(100svh - 76px)!important;
    padding:34px 18px 24px!important;
    justify-content:flex-end!important;
  }
  .dpep-app .dpep-home--portal .dpep-home647-hero__copy{
    width:100%!important;
    min-height:0!important;
    margin:auto 0 0!important;
    padding:24px 0 10px!important;
    text-align:center!important;
  }
  .dpep-app .dpep-home--portal .dpep-hero-v736-kicker{
    margin:0 0 12px!important;
    font-size:10px!important;
    line-height:1.2!important;
    font-weight:600!important;
    letter-spacing:.30em!important;
    color:#fff!important;
    text-transform:uppercase!important;
  }
  .dpep-app .dpep-home--portal .dpep-home647-hero h1{
    max-width:100%!important;
    margin:0 auto!important;
    font-family:"Iowan Old Style","Baskerville","Bodoni 72","Times New Roman",serif!important;
    font-size:clamp(46px,14vw,68px)!important;
    line-height:.88!important;
    font-weight:400!important;
    letter-spacing:-.045em!important;
    text-align:center!important;
    color:#fff!important;
  }
  .dpep-app .dpep-home--portal .dpep-home647-hero h1 span{display:block!important}
  .dpep-app .dpep-home--portal .dpep-home647-hero h1 span+span{margin-top:7px!important}
  .dpep-app .dpep-home--portal .dpep-home647-hero h1 b{
    color:#d89b3d!important;
    font-size:1.05em!important;
    font-weight:400!important;
  }
  .dpep-app .dpep-home--portal .dpep-home647-hero__lead{display:none!important}
  .dpep-app .dpep-home--portal .dpep-hero-v736-types{
    display:flex!important;
    justify-content:center!important;
    flex-wrap:wrap!important;
    gap:7px 16px!important;
    max-width:390px!important;
    margin:22px auto 18px!important;
    font-size:9px!important;
    line-height:1.35!important;
    font-weight:800!important;
    letter-spacing:.13em!important;
    text-transform:uppercase!important;
  }
  .dpep-app .dpep-home--portal .dpep-hero-v736-types a{
    color:#fff!important;
    text-decoration:none!important;
  }
  .dpep-app .dpep-home--portal .dpep-hero-v736-types a:not(:last-child)::after{
    content:"";
    display:inline-block;
    width:1px;
    height:16px;
    margin-left:16px;
    vertical-align:middle;
    background:#d89b3d;
  }
  .dpep-app .dpep-home--portal .dpep-home647-search{
    position:relative!important;
    width:100%!important;
    max-width:520px!important;
    margin:0 auto!important;
    padding:8px!important;
    background:#fff!important;
    box-shadow:0 10px 28px rgba(0,0,0,.16)!important;
    overflow:hidden!important;
  }
  .dpep-app .dpep-home--portal .dpep-home647-search .dpep-unified-search{
    padding:0!important;
    margin:0!important;
    background:#fff!important;
    box-shadow:none!important;
  }
  .dpep-app .dpep-home--portal .dpep-home647-search .dpep-unified-search__fields{
    display:grid!important;
    grid-template-columns:1fr!important;
    width:100%!important;
    border:1px solid #ded8cf!important;
    background:#fff!important;
    overflow:hidden!important;
  }
  .dpep-app .dpep-home--portal .dpep-home647-search .dpep-unified-search__fields>label,
  .dpep-app .dpep-home--portal .dpep-home647-search .dpep-unified-search__optional>label{
    min-height:72px!important;
    padding:11px 14px!important;
    border:0!important;
    border-bottom:1px solid #e5ded5!important;
    background:#fff!important;
  }
  .dpep-app .dpep-home--portal .dpep-home647-search .dpep-unified-search__fields>label>span,
  .dpep-app .dpep-home--portal .dpep-home647-search .dpep-unified-search__optional>label>span{
    color:#715c4c!important;
    font-size:8px!important;
    font-weight:800!important;
    letter-spacing:.10em!important;
  }
  .dpep-app .dpep-home--portal .dpep-home647-search .dpep-unified-search__fields input,
  .dpep-app .dpep-home--portal .dpep-home647-search .dpep-unified-search__fields select{
    height:32px!important;
    font-size:15px!important;
    color:#102943!important;
  }
  .dpep-app .dpep-home--portal .dpep-home647-search .dpep-unified-search__fields small{
    display:none!important;
  }
  .dpep-app .dpep-home--portal .dpep-home647-search .dpep-unified-search__fields .dpep-button--search{
    min-height:60px!important;
    height:60px!important;
    margin:0!important;
    border:0!important;
    border-radius:0!important;
    background:#cb913d!important;
    color:#fff!important;
    font-size:15px!important;
    font-weight:800!important;
  }
  .dpep-app .dpep-home--portal .dpep-home647-search .dpep-unified-search__footer,
  .dpep-app .dpep-home--portal .dpep-home647-search .dpep-search-advanced{display:none!important}
  .dpep-app .dpep-home--portal .dpep-portal-proof{
    margin:12px auto 0!important;
    flex-direction:column!important;
    gap:4px!important;
    font-size:10px!important;
    text-align:center!important;
  }
}

/* V738 — correction finale du hero validé : Maison de maître + mobile sans doublon. */
@media (min-width:900px){
  /* Le visuel de référence a été corrigé directement : DOMAINES -> MAISONS DE MAÎTRE. */
  .dpep-app .dpep-home--portal .dpep-hero-v736-types{opacity:0!important}
}

@media (max-width:899px){
  .dpep-app .dpep-home--portal .dpep-home647-hero{
    min-height:620px!important;
    background-image:url('../images/hero-home-reference-mobile-v738.jpg')!important;
    background-size:720px auto!important;
    background-position:50% 0!important;
    background-repeat:no-repeat!important;
    background-color:#081d2d!important;
    overflow:hidden!important;
  }
  .dpep-app .dpep-home--portal .dpep-home647-hero__veil{display:none!important}
  .dpep-app .dpep-home--portal .dpep-home647-hero__inner{
    min-height:620px!important;
    display:block!important;
    padding:0 18px 24px!important;
    position:relative!important;
  }
  /* Le titre et les typologies visibles sont ceux du visuel validé, donc aucune
     approximation de police ne se superpose sur mobile. */
  .dpep-app .dpep-home--portal .dpep-home647-hero__copy{
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    margin:-1px!important;
    padding:0!important;
    overflow:hidden!important;
    clip:rect(0,0,0,0)!important;
    white-space:nowrap!important;
    border:0!important;
  }
  /* Conserver les liens de typologies dans le DOM, invisibles et cliquables sur la ligne raster. */
  .dpep-app .dpep-home--portal .dpep-hero-v736-types{
    position:absolute!important;
    left:7%!important;
    right:7%!important;
    top:145px!important;
    height:34px!important;
    margin:0!important;
    max-width:none!important;
    display:grid!important;
    grid-template-columns:1.45fr 1fr .9fr 1.55fr .8fr!important;
    gap:0!important;
    opacity:0!important;
    z-index:5!important;
  }
  .dpep-app .dpep-home--portal .dpep-hero-v736-types a{display:block!important;width:100%!important;height:100%!important}
  .dpep-app .dpep-home--portal .dpep-hero-v736-types a::after{display:none!important}

  .dpep-app .dpep-home--portal .dpep-home647-search{
    position:relative!important;
    width:100%!important;
    max-width:520px!important;
    margin:226px auto 0!important;
    padding:8px!important;
    background:#fff!important;
    box-shadow:0 10px 28px rgba(0,0,0,.18)!important;
    overflow:hidden!important;
    z-index:8!important;
  }
  .dpep-app .dpep-home--portal .dpep-home647-search .dpep-unified-search{padding:0!important;margin:0!important;background:#fff!important;box-shadow:none!important}
  .dpep-app .dpep-home--portal .dpep-home647-search .dpep-unified-search__fields{
    display:grid!important;
    grid-template-columns:1fr!important;
    width:100%!important;
    border:1px solid #ded8cf!important;
    background:#fff!important;
    overflow:hidden!important;
  }
  .dpep-app .dpep-home--portal .dpep-home647-search .dpep-unified-search__fields>label{
    min-height:70px!important;
    padding:10px 14px!important;
    border:0!important;
    border-bottom:1px solid #e5ded5!important;
    background:#fff!important;
  }
  /* Les filtres avancés mobiles ne doivent plus ressortir sous le bloc blanc. */
  .dpep-app .dpep-home--portal .dpep-home647-search .dpep-unified-search__optional,
  .dpep-app .dpep-home--portal .dpep-home647-search .dpep-unified-search__optional.is-open,
  .dpep-app .dpep-home--portal .dpep-home647-search .dpep-search-mobile-toggle{display:none!important}
  .dpep-app .dpep-home--portal .dpep-home647-search .dpep-unified-search__fields .dpep-button--search{
    min-height:58px!important;
    height:58px!important;
    margin:0!important;
    border:0!important;
    border-radius:0!important;
    background:#cb913d!important;
    color:#fff!important;
    font-size:15px!important;
    font-weight:800!important;
  }
  .dpep-app .dpep-home--portal .dpep-portal-proof{
    margin:12px auto 0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    gap:4px!important;
    color:#fff!important;
    font-size:10px!important;
    text-align:center!important;
  }
}


/* V741 — mobile validé : on conserve exactement la photo + la typo raster de la maquette.
   Le visuel mobile est un recadrage direct de la référence desktop, sans typologies.
   Le vrai moteur de recherche chevauche légèrement la photo, puis la photo source continue derrière. */
@media (max-width:899px){
  .dpep-app .dpep-home--portal .dpep-home647-hero{
    min-height:520px!important;
    background-image:
      url('../images/hero-home-reference-mobile-v741.jpg'),
      linear-gradient(180deg,rgba(4,24,42,.10) 0%,rgba(4,24,42,.34) 42%,rgba(4,24,42,.70) 100%),
      url('../images/hero-home-v542.webp')!important;
    background-size:100% auto,cover,cover!important;
    background-position:top center,center,72% center!important;
    background-repeat:no-repeat,no-repeat,no-repeat!important;
    background-color:#081d2d!important;
    overflow:hidden!important;
  }
  .dpep-app .dpep-home--portal .dpep-home647-hero__veil{display:none!important}
  .dpep-app .dpep-home--portal .dpep-home647-hero__inner{
    min-height:520px!important;
    display:block!important;
    padding:0 18px 24px!important;
    position:relative!important;
  }
  /* Le titre visible vient uniquement du recadrage raster validé : aucune approximation CSS. */
  .dpep-app .dpep-home--portal .dpep-home647-hero__copy{
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    margin:-1px!important;
    padding:0!important;
    overflow:hidden!important;
    clip:rect(0,0,0,0)!important;
    white-space:nowrap!important;
    border:0!important;
  }
  .dpep-app .dpep-home--portal .dpep-hero-v736-types{display:none!important}

  .dpep-app .dpep-home--portal .dpep-home647-search{
    position:relative!important;
    width:100%!important;
    max-width:520px!important;
    margin:clamp(164px,46vw,196px) auto 0!important;
    padding:8px!important;
    background:#fff!important;
    box-shadow:0 10px 28px rgba(0,0,0,.20)!important;
    overflow:hidden!important;
    z-index:8!important;
  }
  .dpep-app .dpep-home--portal .dpep-home647-search .dpep-unified-search{
    padding:0!important;
    margin:0!important;
    background:#fff!important;
    box-shadow:none!important;
  }
  .dpep-app .dpep-home--portal .dpep-home647-search .dpep-unified-search__fields{
    display:grid!important;
    grid-template-columns:1fr!important;
    width:100%!important;
    border:1px solid #ded8cf!important;
    background:#fff!important;
    overflow:hidden!important;
  }
  .dpep-app .dpep-home--portal .dpep-home647-search .dpep-unified-search__fields>label{
    min-height:70px!important;
    padding:10px 14px!important;
    border:0!important;
    border-bottom:1px solid #e5ded5!important;
    background:#fff!important;
  }
  .dpep-app .dpep-home--portal .dpep-home647-search .dpep-unified-search__fields>label>span{
    color:#715c4c!important;
    font-size:8px!important;
    font-weight:800!important;
    letter-spacing:.10em!important;
  }
  .dpep-app .dpep-home--portal .dpep-home647-search .dpep-unified-search__fields input,
  .dpep-app .dpep-home--portal .dpep-home647-search .dpep-unified-search__fields select{
    height:32px!important;
    font-size:15px!important;
    color:#102943!important;
  }
  .dpep-app .dpep-home--portal .dpep-home647-search .dpep-unified-search__fields small{display:none!important}
  .dpep-app .dpep-home--portal .dpep-home647-search .dpep-unified-search__optional,
  .dpep-app .dpep-home--portal .dpep-home647-search .dpep-unified-search__optional.is-open,
  .dpep-app .dpep-home--portal .dpep-home647-search .dpep-search-mobile-toggle,
  .dpep-app .dpep-home--portal .dpep-home647-search .dpep-unified-search__footer,
  .dpep-app .dpep-home--portal .dpep-home647-search .dpep-search-advanced{display:none!important}
  .dpep-app .dpep-home--portal .dpep-home647-search .dpep-unified-search__fields .dpep-button--search{
    min-height:58px!important;
    height:58px!important;
    margin:0!important;
    border:0!important;
    border-radius:0!important;
    background:#cb913d!important;
    color:#fff!important;
    font-size:15px!important;
    font-weight:800!important;
  }
  .dpep-app .dpep-home--portal .dpep-portal-proof{
    margin:14px auto 0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    gap:4px!important;
    color:#fff!important;
    font-size:10px!important;
    text-align:center!important;
  }
  .dpep-app .dpep-home--portal .dpep-portal-proof a,
  .dpep-app .dpep-home--portal .dpep-portal-proof span{color:#fff!important}
}


/* V742 — réglage fin mobile demandé : bloc recherche un peu plus bas et un peu plus large. */
@media (max-width:899px){
  .dpep-app .dpep-home--portal .dpep-home647-search{
    width:calc(100% - 10px)!important;
    max-width:548px!important;
    margin:clamp(194px,54vw,228px) auto 0!important;
    padding:8px!important;
  }
}


/* V743 — mobile : bloc recherche encore plus bas et plus grand pour mieux remplir l'espace. */
@media (max-width:899px){
  .dpep-app .dpep-home--portal .dpep-home647-search{
    width:100%!important;
    max-width:none!important;
    margin:clamp(228px,64vw,286px) auto 0!important;
    padding:8px!important;
  }
  .dpep-app .dpep-home--portal .dpep-home647-search .dpep-unified-search__fields>label{
    min-height:78px!important;
    padding:13px 16px!important;
  }
  .dpep-app .dpep-home--portal .dpep-home647-search .dpep-unified-search__fields input,
  .dpep-app .dpep-home--portal .dpep-home647-search .dpep-unified-search__fields select{
    height:36px!important;
    font-size:16px!important;
  }
  .dpep-app .dpep-home--portal .dpep-home647-search .dpep-unified-search__fields .dpep-button--search{
    min-height:64px!important;
    height:64px!important;
    font-size:16px!important;
  }
}
