/* Compléments limités au POC ; la feuille main.css du thème reste la référence. */
@font-face { font-family: Barlow; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/barlow/Barlow-Regular.ttf') format('truetype'); }
@font-face { font-family: Barlow; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/barlow/Barlow-SemiBold.ttf') format('truetype'); }
@font-face { font-family: Barlow; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/barlow/Barlow-Bold.ttf') format('truetype'); }
.top_home.poc-connexion { margin-top: 30px; padding-top: 30px; padding-bottom: 70px; }
.poc-intro { text-align: left; padding-right: 32px; }
.poc-surtitre { color: #c04044; font-size: 13px; font-weight: 700; letter-spacing: 2px; }
.poc-intro h1, .poc-accueil h1 { font-size: 34px; line-height: 1.2; margin: 15px 0 25px; }
.poc-intro h1 strong, .poc-accueil h1 strong { color: #c04044; }
.poc-photo { width: 100%; height: 200px; object-fit: cover; margin-top: 18px; }
.top_home .top_home_content .pro_connect.poc-bloc-connexion { width: 100%; height: auto; min-height: 0; text-align: left; }
.poc-bloc-connexion label { display: block; }
.poc-mot-de-passe { position: relative; }
.poc-mot-de-passe input { padding-right: 73px; }
.poc-mot-de-passe button { position: absolute; right: 7px; top: 50%; transform: translateY(-50%); background: none; border: 0; font-size: 11px; color: #666; padding: 4px; }
.validation-summary-valid { display: none; }
.poc-demonstration { margin-top: 24px; padding: 18px 22px; background: #f5f5f5; border-left: 3px solid #c04044; font-size: 14px; }
.poc-demonstration p { margin: 8px 0; }
.poc-demonstration code { color: #333; }
.poc-accueil { padding-top: 50px; padding-bottom: 65px; }
.poc-compte { margin: 28px 0; padding: 30px; border: 1px solid #ddd; max-width: 700px; }
.poc-compte h2 { font-size: 24px; margin-bottom: 20px; }
.poc-compte dl { display: grid; grid-template-columns: 130px 1fr; gap: 12px; margin: 0; }
.poc-compte dd { margin: 0; overflow-wrap: anywhere; }
.poc-perimetre { color: #666; max-width: 700px; }
.pro .pro_draft_folder.poc-listes { padding-top: 25px; padding-bottom: 55px; }
.poc-listes h1 { margin-bottom: 28px; }
.poc-recherche-listes { margin: 20px 0 12px; }
.poc-recherche-listes > .row .form-control { border: 1px solid #ccc; background: #fff; color: #333; }
.poc-recherche-listes summary { cursor: pointer; background: #f3f3f3; font-weight: 600; }
.poc-recherche-listes .poc-filtres { display: block; padding: 28px 32px; border: 1px solid #e7e9e4; border-radius: 6px; background: #f5f5f5; }
.poc-recherche-listes legend { width: 100%; padding: 0 0 14px 2px; font-size: 15px; font-weight: 600; }
.poc-recherche-listes .poc-groupe-produits { margin: 0 0 26px; }
.poc-recherche-listes .poc-choix-produits { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 30px; padding-top: 0; }
.poc-recherche-listes .poc-choix-produits .radio_box { display: inline-flex; align-items: center; margin: 0; }
.poc-recherche-listes .poc-choix-produits .radio_box label { margin: 0; padding: 1px 0 1px 25px; line-height: 1.35; }
.poc-recherche-listes .poc-ligne-filtres { display: flex; gap: 22px; margin: 0 0 20px; }
.poc-recherche-listes .poc-ligne-filtres > .form-group { flex: 1 1 0; width: auto; max-width: none; min-height: 0; margin: 0; padding: 0; }
.poc-recherche-listes .poc-ligne-filtres > .form-group > label { display: block; padding: 0 2px 8px; line-height: 1.25; }
.poc-recherche-listes .poc-ligne-filtres .form-control { width: 100%; border: 1px solid #d7dce0; border-radius: 5px; background: #fff; }
.poc-recherche-listes .poc-actions-recherche { padding-top: 2px; }
.poc-barre-resultats { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.poc-tri-listes { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 12px; margin-left: auto; }
.poc-tri-listes .form-control { width: auto; max-width: 100%; }
.poc-nombre-resultats { font-weight: 600; margin: 0; }
.poc-export-listes { white-space: nowrap; }
.poc-resultats td { overflow-wrap: anywhere; }
.poc-resultats .btn_download { display: block; margin-bottom: 8px; white-space: nowrap; }
.poc-resultats .poc-cellule-documents,
.poc-resultats .poc-cellule-consultation { vertical-align: middle; }
.poc-resultats .poc-liste-documents { display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.poc-resultats .poc-liste-documents .btn_download { width: 100%; margin: 0; }
.poc-resultats .poc-cellule-consultation .btn { width: 100%; margin: 0; }
.poc-resultats caption { caption-side: top; }
.pro .pro_draft_folder.poc-listes .draft_folder_content .draft_folder_results { margin-top: 16px; }
.poc-consultation { padding-top: 30px; padding-bottom: 60px; }
.poc-consultation .bloc_recap { margin: 30px 0; }
.poc-consultation .bloc_recap_list { padding: 0; list-style: none; }
.poc-consultation .bloc_recap_list li { display: flex; gap: 20px; padding: 9px 0; border-bottom: 1px solid #eee; }
.poc-consultation .bloc_recap_label { min-width: 220px; font-weight: 600; }
.poc-consultation .bloc_recap_list p { margin: 0; overflow-wrap: anywhere; }
.poc-consultation.pro .bloc_recap .bloc_recap_list li p { float: none; width: auto; text-align: left; flex: 1; }
.poc-consultation.pro .bloc_recap .bloc_recap_list li .bloc_recap_label { flex: 0 0 45%; min-width: 0; }
.poc-pieces { padding: 0; list-style: none; }
.poc-pieces li { display: inline-block; margin: 5px 12px 5px 0; }
.poc-commentaire { white-space: pre-wrap; }
.poc-zone-envoi { padding: 25px; border: 2px dashed #ccc; background: #fafafa; }
.poc-zone-envoi.poc-survol { border-color: #61A60E; background: #f2f8e9; }
.poc-erreur-documents { margin-top: 12px; }
.poc-file-attente { padding: 0; list-style: none; }
.poc-file-attente li { display: flex; gap: 15px; justify-content: space-between; align-items: center; padding: 8px 0; overflow-wrap: anywhere; }
.poc-consultation textarea, .poc-consultation input[type="file"] { background: #f3f3f3; border: 1px solid #ccc; margin: 12px 0; }
@media (max-width: 767px) { .poc-consultation .bloc_recap_list li { display: block; } }
@media print { header, footer, [data-transmission], [data-imprimer], .btn_back { display: none; } }
@media (max-width: 767px) {
    .top_home.poc-connexion { padding-top: 0; margin-top: 10px; }
    .poc-intro { padding-right: 15px; margin-bottom: 30px; }
    .poc-intro h1, .poc-accueil h1 { font-size: 28px; }
    .poc-photo { height: 130px; }
    .poc-compte { padding: 20px; }
    .poc-compte dl { grid-template-columns: 1fr; gap: 4px; }
    .poc-compte dd { margin-bottom: 12px; }
}
.poc-actions-devis { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0; }
.poc-carte-devis { display: flex; align-items: flex-start; gap: 24px; padding: 26px; border: 1px solid #dce5eb; border-radius: 14px; background: #fff; box-shadow: 0 5px 20px rgba(22,48,71,.06); }
.poc-illustration-devis { display: grid; place-items: center; flex: 0 0 112px; min-height: 132px; border-radius: 12px; background: #f0f5fb; color: #4968ed; }
.poc-contenu-devis { flex: 1; min-width: 0; }
.poc-contenu-devis > p { float: none !important; width: auto !important; margin: 0 0 10px; overflow-wrap: anywhere; }
.poc-contenu-devis .poc-reference-devis { font-size: 24px; font-weight: 600; color: #163047; }
.poc-contenu-devis .poc-etat-devis { display: inline-block; padding: 4px 10px; border-radius: 20px; background: #eff6e6; color: #517d17; font-size: 14px; }
.poc-contenu-devis .btn_download { margin-top: 6px; }
@media (max-width: 575px) { .poc-carte-devis { padding: 18px; gap: 14px; flex-direction: column; } .poc-illustration-devis { flex-basis: auto; width: 76px; min-height: 88px; } .poc-illustration-devis svg { width: 52px; height: 64px; } }
.poc-dialogue-devis { border: 0; border-radius: 4px; padding: 28px; width: min(600px, calc(100% - 32px)); max-height: 90vh; overflow-y: auto; color: #163047; }
.poc-dialogue-devis::backdrop { background: rgba(0, 0, 0, .5); }
.poc-dialogue-devis label { display: block; margin: 16px 0 6px; }
.poc-dialogue-devis p { float: none !important; width: auto !important; }
@media print { .poc-actions-devis, .poc-dialogue-devis { display: none !important; } }
.poc-consultation .bloc_recap_list p { white-space: pre-line; }
.poc-barre-recherche { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; }
.poc-recherche-rapide { position: relative; width: 380px; max-width: 100%; }
.poc-recherche-rapide .form-control { width: 100%; height: 40px; padding: 8px 72px 8px 14px; border: 1px solid #cbd3d9; border-radius: 6px; background: #fff; }
.poc-loupe-recherche { position: absolute; right: 3px; top: 3px; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 4px; background: transparent; color: #6d9f26; cursor: pointer; }
.poc-loupe-recherche:hover { background: #eff6e8; }
.poc-lien-recherche { border: 0; background: none; color: #4b7620; font: inherit; text-decoration: underline; text-underline-offset: 3px; padding: 0; cursor: pointer; }
.poc-reinitialiser { color: #6b7076; font-size: 14px; }
.poc-libelle-masque { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.poc-filtres-actifs details > summary { display: none; }
.poc-recherche-listes .poc-filtres { margin-top: 16px; }
.poc-loupe-recherche:focus-visible, .poc-lien-recherche:focus-visible { outline: 2px solid #4968ed; outline-offset: 3px; }
@media (max-width: 575px) { .poc-recherche-rapide { width: 100%; } .poc-barre-recherche { gap: 12px; } }
@media (max-width: 767px) {
    .poc-recherche-listes .poc-filtres { padding: 22px 18px; }
    .poc-recherche-listes .poc-choix-produits { justify-content: flex-start; gap: 12px 22px; }
    .poc-recherche-listes .poc-ligne-filtres { display: block; margin-bottom: 0; }
    .poc-recherche-listes .poc-ligne-filtres > .form-group { margin-bottom: 18px; }
}
.poc-demande { padding-bottom: 45px; }
.poc-demande .poc-champs-demande { border: 0; padding: 0; min-width: 0; }
.poc-demande [hidden] { display: none !important; }
/* Habillage du menu de commande identique au thème PHP, y compris les étapes non cliquables. */
.poc-demande .poc-titre-parcours {
    display: block; padding: 18px 12px; border-radius: 3px 3px 0 0;
    background: #61a60e; color: #fff; font-size: 20px; font-weight: 600; text-transform: uppercase;
}
.poc-demande .pro_order_menu .sub_menu { background: #f4f4f4; }
.poc-demande .pro_order_menu .disable-links {
    display: block; padding: 12px; background: #f4f4f4; color: #aaa;
    font-size: 16px; font-weight: 600; line-height: normal;
}
.poc-demande .pro_order_menu li.sub_selected > .disable-links { background: #d9d9d9; color: #737172 !important; cursor: default; }
.poc-demande .pro_order_menu .sub_menu a:focus-visible { outline: 2px solid #3962ff; outline-offset: -2px; }
.poc-demande .content_form { display: block; }
.poc-demande .form-control { background: #fff; border: 1px solid #cbd3d9; }
.poc-demande .help-block { display: block; color: #a72e35; }
.poc-demande .bloc_recap_list p { white-space: pre-line; }
.poc-demande .poc-actions-proprietaires { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.poc-demande .title_form .btn { margin-left: 15px; font-size: 12px; }
/* Le thème met .form-group à font-size: 0 ; rétablir le texte des suggestions. */
.poc-suggestions-adresse { padding: 0; margin: 0; list-style: none; font-size: 16px; line-height: 1.4; }
.poc-suggestions-adresse button { display: block; width: 100%; height: auto; min-height: 42px; padding: 10px 12px; border: 1px solid #dce5eb; font: inherit; line-height: 1.4; white-space: normal; overflow-wrap: anywhere; text-align: left; background: white; color: #163047; cursor: pointer; }
.poc-suggestions-adresse button:hover, .poc-suggestions-adresse button:focus { background: #eff6e8; outline: 2px solid #78a728; }
.poc-apercu-adresse { white-space: pre-line; font-weight: 600; margin-top: 14px; }
.poc-piece-saisie { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 8px 0; }
@media (max-width: 767px) { .poc-demande .pro_order_menu { margin-bottom: 24px; } .poc-demande .pro_order_menu .sub_menu { display: block; } }

/* Cadre commun aux pages de récupération du compte. */
.recuperation-page { padding-top: 60px; padding-bottom: 70px; }
.recuperation-page .recuperation-cadre {
    width: 100%; max-width: 660px; margin: 0 auto; padding: 42px 44px;
    border: 1px solid #e2e8dc; border-top: 4px solid #6ba51a; border-radius: 5px;
    background: #fff; box-shadow: 0 8px 28px rgba(8, 43, 60, .07); text-align: center;
}
.recuperation-page .recuperation-cadre h1 {
    margin: 0 0 24px; color: #082b3c; font-size: 28px; font-weight: 600; line-height: 1.25;
}
.recuperation-page .recuperation-cadre > p {
    max-width: 490px; margin: 0 auto 28px; color: #4a5055; font-size: 16px; line-height: 1.65;
}
.recuperation-page .recuperation-cadre > .btn { display: inline-block; margin: 0 auto; padding: 12px 24px; }
.recuperation-page .recuperation-cadre .form-group { margin: 0 auto 26px; max-width: 430px; text-align: left; }
.recuperation-page .recuperation-cadre .form-group label { display: block; margin-bottom: 8px; }
.recuperation-page .recuperation-cadre .form_btns { display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; }
.recuperation-page .recuperation-cadre .validation-summary-errors { text-align: left; }
@media (max-width: 575px) {
    .recuperation-page { padding-top: 32px; padding-bottom: 40px; }
    .recuperation-page .recuperation-cadre { padding: 30px 20px; }
    .recuperation-page .recuperation-cadre h1 { font-size: 25px; }
}

/* Contenu de la page « + d'infos » expertise, repris du site historique. */
.pro_infos .contenu-informations-expertise h2 { margin-bottom: 44px; }
.pro_infos .contenu-informations-expertise h2:not(:first-child) { margin-top: 64px; }
.pro_infos .contenu-informations-expertise h3 { margin: 42px 0 24px; }
.pro_infos .contenu-informations-expertise p + ul { margin-top: 24px; }
.pro_infos .contenu-informations-expertise p,
.pro_infos .contenu-informations-expertise li { overflow-wrap: anywhere; }
@media (max-width: 575px) {
    .pro_infos .contenu-informations-expertise h2 { margin-bottom: 28px; }
    .pro_infos .contenu-informations-expertise h3 { margin-top: 32px; }
}

/* Présentation du dossier et des propriétaires reprise du formulaire PHP. */
.poc-demande .poc-etape-dossier .form-control,
.poc-demande .poc-proprietaires .form-control { border-color: transparent; }
.poc-demande .poc-etape-dossier .form-control:focus,
.poc-demande .poc-proprietaires .form-control:focus { border-color: #3962ff; outline: 1px solid #3962ff; }
.poc-demande .poc-champ-court { max-width: 150px; }
.poc-demande .poc-controle-saisie { position: relative; }
.poc-demande .poc-etape-dossier .poc-champ-valide .form-control { border-color: #3962ff; }
.poc-demande .poc-etape-dossier .poc-champ-valide .poc-controle-saisie::after {
    content: "✓"; position: absolute; right: -10px; top: 8px; color: #3962ff; font-size: 18px; font-weight: 600;
}
.poc-demande .poc-choix-proprietaires { display: flex; justify-content: center; gap: 28px; margin: 30px 0 50px; }
.poc-demande .poc-tuile-proprietaire {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
    width: 250px; min-height: 180px; padding: 22px 14px; border: 1px solid #61a60e; border-radius: 3px;
    background: #61a60e; color: #fff; font: inherit; font-weight: 600; text-align: center; line-height: 1.3; cursor: pointer;
}
.poc-demande .poc-tuile-proprietaire img { height: 55px; width: auto; }
.poc-demande .poc-tuile-proprietaire:hover { background: #528e0b; }
.poc-demande .poc-tuile-proprietaire:focus-visible,
.poc-demande .poc-famille-proprietaires .btn_add:focus-visible { outline: 3px solid #3962ff; outline-offset: 3px; }
.poc-demande .poc-famille-proprietaires .title_form { padding-right: 42px; }
.poc-demande .poc-famille-proprietaires .title_form .btn_add { margin-left: 0; padding: 0; border: 0; cursor: pointer; }
.poc-demande .poc-famille-proprietaires .title_form .btn_add:disabled { opacity: .45; cursor: not-allowed; }
.poc-demande .poc-proprietaire + .poc-proprietaire { border-top: 1px solid #d0d0d0; }
.poc-demande .poc-limite-proprietaires { margin: 12px 0; }
.poc-demande .poc-limite-proprietaires:empty { display: none; }
.poc-demande .poc-etape-proprietaires > .form_btns { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 45px; }
.poc-demande .poc-etape-proprietaires > .form_btns .btn_back { padding-left: 16px; position: relative; }
.poc-demande .poc-etape-proprietaires > .form_btns .btn_back::before { content: "‹"; position: absolute; left: 0; top: 50%; transform: translateY(-50%); font-size: 22px; }
@media (max-width: 575px) {
    .poc-demande .poc-choix-proprietaires { gap: 14px; flex-wrap: wrap; }
    .poc-demande .poc-tuile-proprietaire { width: 100%; min-height: 150px; gap: 20px; }
    .poc-demande .poc-proprietaire { padding-right: 16px; padding-left: 16px; }
}

/* Commune choisie : libellé lisible, valeurs métier distinctes dans les champs masqués. */
.poc-demande .poc-commune-selectionnee input[data-commune] { border-color: #3962ff; }
.poc-demande .poc-commune-selectionnee .poc-controle-saisie::after {
    content: "✓"; position: absolute; right: -10px; top: 8px; color: #3962ff; font-size: 18px; font-weight: 600;
}

/* Les champs techniques gardent leurs conditions et leurs valeurs, sans occuper de ligne visuelle. */
.poc-demande .poc-champ-technique { display: none; }

/* Validation du SIREN avec la même présentation que les autres contrôles. */
.poc-demande .poc-siren-valide input[data-siren="true"] { border-color: #3962ff; }
.poc-demande .poc-siren-valide .poc-controle-saisie::after {
    content: "✓"; position: absolute; right: -10px; top: 8px; color: #3962ff; font-size: 18px; font-weight: 600;
}
.poc-demande .poc-proprietaires .poc-siren-invalide input[data-siren="true"],
.poc-demande .poc-proprietaires .poc-siren-invalide input[data-siren="true"]:focus { border-color: #a94442; outline-color: #a94442; }
.poc-demande .poc-siren-invalide .help-block { color: #a94442; margin-top: 6px; font-size: 14px; line-height: 1.4; }

/* Étape bien : adresse regroupée et champs courts comme dans le formulaire PHP. */
.poc-demande .poc-etape-bien .content_form { padding: 20px; }
.poc-demande .poc-etape-bien .form-group { min-height: 0; margin-bottom: 22px; }
.poc-demande .poc-etape-bien .form-control { border-color: transparent; }
.poc-demande .poc-etape-bien .form-control:focus { border-color: #3962ff; outline: 1px solid #3962ff; }
.poc-demande .poc-adresse-details { margin-left: 25%; padding-left: 15px; }
.poc-demande .poc-editeur-adresse { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 5px; background: #d9d9d9; padding: 14px; }
.poc-demande .poc-adresse-case { min-width: 0; grid-column: 1 / -1; }
.poc-demande .poc-adresse-case[data-champ="o_Adresse2_Bien"],
.poc-demande .poc-adresse-case[data-champ="o_Lieu_Dit"],
.poc-demande .poc-etage-adresse, .poc-demande .poc-pays-adresse { grid-column: 1 / -1; }
.poc-demande .poc-editeur-adresse .form-control { height: 32px; padding: 5px 8px; }
.poc-demande .poc-editeur-adresse [data-partie-adresse="numero"] { grid-column: span 2; }
.poc-demande .poc-editeur-adresse [data-partie-adresse="voie"] { grid-column: span 10; }
.poc-demande .poc-editeur-adresse [data-partie-adresse="cp"] { grid-column: span 4; }
.poc-demande .poc-editeur-adresse [data-partie-adresse="commune"] { grid-column: span 8; }
.poc-demande .poc-etage-adresse summary { color: #61a60e; text-decoration: underline; cursor: pointer; margin-bottom: 10px; font-size: 14px; }
.poc-demande .poc-etage-adresse .form-control { margin-bottom: 5px; }
.poc-demande .poc-adresse-compacte .poc-apercu-adresse { background: #d9d9d9; border: 1px solid #cbd3d9; padding: 18px; margin: 24px 0 0; text-align: center; font-weight: 400; min-height: 75px; }
.poc-demande .poc-description-bien [data-champ="o_Surface_Habitable"] input,
.poc-demande .poc-description-bien [data-champ="o_Annee_Construction"] input,
.poc-demande .poc-description-bien [data-champ="o_montant_acquisition"] input,
.poc-demande .poc-description-bien [data-champ="o_montant_ValeurVenale"] input { max-width: 150px; }
.poc-demande .poc-lot-volume { display: flex; margin-left: 33.3333%; padding-left: 5px; gap: 12px; }
.poc-demande .poc-lot-volume .form-group { display: flex; flex: 1; margin-right: 0; margin-left: 0; align-items: center; gap: 6px; }
.poc-demande .poc-lot-volume .form-group > div { flex: 0 1 auto; width: auto; max-width: none; padding: 0; }
.poc-demande .poc-lot-volume label { white-space: nowrap; }
.poc-demande .poc-lot-volume input { width: 90px; }
.poc-demande .poc-etape-bien > .form_btns { display: flex; align-items: center; justify-content: space-between; }
@media (max-width: 991px) {
    .poc-demande .poc-adresse-details, .poc-demande .poc-lot-volume { margin-left: 0; padding-left: 0; }
}
@media (max-width: 575px) {
    .poc-demande .poc-etape-bien .content_form { padding: 16px; }
    .poc-demande .poc-lot-volume { flex-wrap: wrap; }
}

.poc-demande .poc-description-bien [data-unite]::after { content: attr(data-unite); position: absolute; left: 140px; top: 8px; color: #aeb9c5; font-size: 14px; pointer-events: none; }
.poc-demande .poc-description-bien [data-unite] input { padding-right: 24px; }

.poc-demande .poc-etape-bien .has-error .form-control { border-color: #a94442; }

/* Même composant d’adresse dans les étapes bien et visite intérieure. */
.poc-demande .poc-adresse-compacte .content_form { padding: 20px; }
.poc-demande .poc-adresse-compacte .form-group { min-height: 0; margin-bottom: 22px; }
.poc-demande .poc-adresse-compacte .form-control { border-color: transparent; }
.poc-demande .poc-adresse-compacte .form-control:focus { border-color: #3962ff; outline: 1px solid #3962ff; }
.poc-demande .poc-adresse-compacte .has-error .form-control { border-color: #a94442; }
@media (max-width: 575px) {
    .poc-demande .poc-adresse-compacte .content_form { padding: 16px; }
}

/* Options : colonnes et aides du formulaire PHP, sans bandeau de titre en doublon. */
.poc-demande .poc-options-demande .content_form { padding: 22px 24px; }
.poc-demande .poc-ligne-option {
    display: grid; grid-template-columns: minmax(0, 6fr) minmax(140px, 5fr);
    column-gap: 8.3333%; align-items: start; min-height: 0; margin: 0 0 26px;
}
.poc-demande .poc-ligne-option:last-child { margin-bottom: 0; }
.poc-demande .poc-libelle-option {
    display: flex; align-items: center; justify-content: flex-end; gap: 7px;
    padding-top: 6px; color: #737172; font-size: 16px; font-weight: 500; line-height: 1.3; text-align: right;
}
.poc-demande .poc-libelle-option > span { min-width: 0; }
.poc-demande .poc-options-demande .info_bull { display: inline-block; flex: 0 0 20px; border: 0; padding: 0; font: inherit; }
.poc-demande .poc-options-demande .info_bull:hover > .info_bull_content,
.poc-demande .poc-options-demande .info_bull:focus > .info_bull_content { display: block; }
.poc-demande .poc-options-demande .info_bull:focus-visible { outline: 2px solid #3962ff; outline-offset: 3px; }
.poc-demande .poc-choix-option { position: relative; padding-right: 20px; }
.poc-demande .poc-ligne-option:has(input[type="radio"]:checked):not(.has-error) .poc-choix-option::after {
    content: "✓"; position: absolute; top: 6px; right: -12px; color: #3962ff; font-size: 18px; font-weight: 600;
}
.poc-demande .poc-etape-options > .form_btns { display: flex; align-items: center; justify-content: space-between; }
@media (max-width: 991px) {
    .poc-demande .poc-ligne-option { grid-template-columns: minmax(0, 1fr) auto; column-gap: 20px; }
    .poc-demande .poc-libelle-option { font-size: 15px; }
    .poc-demande .poc-options-demande .info_bull .info_bull_content { left: auto; right: -80px; width: min(300px, calc(100vw - 60px)); }
}
@media (max-width: 575px) {
    .poc-demande .poc-options-demande .content_form { padding: 20px; }
    .poc-demande .poc-ligne-option { grid-template-columns: 1fr; gap: 8px; }
    .poc-demande .poc-libelle-option { justify-content: flex-start; text-align: left; }
}

/* Informations complémentaires : dépôt de documents intégré au cadre du formulaire. */
.poc-demande .poc-complements-demande .content_form { padding: 22px 26px 22px 16px; }
.poc-demande .poc-complements-demande .form-group { min-height: 0; margin-bottom: 22px; }
.poc-demande .poc-complements-demande .poc-observations-complementaires { margin-bottom: 0; }
.poc-demande .poc-libelle-documents { display: flex; align-items: flex-start; justify-content: flex-end; gap: 6px; padding-top: 6px; }
.poc-demande .poc-libelle-documents label { padding-top: 0; }
.poc-demande .poc-complements-demande .info_bull { display: inline-block; flex: 0 0 20px; border: 0; padding: 0; font: inherit; margin-top: 1px; }
.poc-demande .poc-complements-demande .info_bull:hover > .info_bull_content,
.poc-demande .poc-complements-demande .info_bull:focus > .info_bull_content { display: block; }
.poc-demande .poc-complements-demande .info_bull:focus-visible { outline: 2px solid #3962ff; outline-offset: 3px; }
.poc-demande .poc-complements-demande .poc-zone-envoi { padding: 0; border: 0; background: transparent; }
.poc-demande .poc-complements-demande .poc-depot-fichiers {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
    min-height: 175px; width: 100%; margin: 0; padding: 20px; border: 1px dashed #bdc5cb; border-radius: 3px;
    background: #fff; color: #737172; font-size: 15px; font-weight: 400; line-height: 1.35; text-align: center; cursor: pointer;
}
.poc-demande .poc-depot-fichiers svg { color: #61a60e; }
.poc-demande .poc-depot-fichiers:hover,
.poc-demande .poc-depot-fichiers:focus-within,
.poc-demande .poc-survol .poc-depot-fichiers { border-color: #61a60e; background: #f7fbf1; }
.poc-demande .poc-depot-fichiers:focus-within { outline: 2px solid #3962ff; outline-offset: 2px; }
.poc-demande .poc-depot-fichiers .poc-input-fichiers { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; opacity: 0; cursor: pointer; }
.poc-demande .poc-bouton-fichiers { display: inline-block; padding: 7px 14px; border-radius: 3px; background: #61a60e; color: #fff; font-size: 13px; font-weight: 600; }
.poc-demande .poc-limites-documents { margin: 8px 0 0; color: #737172; font-size: 12px; line-height: 1.4; }
.poc-demande .poc-complements-demande .poc-file-attente { margin: 0; font-size: 14px; }
.poc-demande .poc-complements-demande .poc-file-attente:empty { display: none; }
.poc-demande .poc-complements-demande .poc-file-attente li { border-bottom: 1px solid #d4d4d4; padding: 10px 0; }
.poc-demande .poc-complements-demande .poc-file-attente li > span { flex: 1; min-width: 0; }
.poc-demande .poc-complements-demande .poc-file-attente .btn { flex-shrink: 0; padding: 5px 0 5px 10px; background: none; font-size: 12px; }
.poc-demande .poc-documents-ajoutes { margin-bottom: 24px; font-size: 14px; }
.poc-demande .poc-documents-ajoutes p { margin-bottom: 8px; font-weight: 600; }
.poc-demande .poc-documents-ajoutes ul { margin: 0 0 0 25%; padding-left: 15px; list-style: none; }
.poc-demande .poc-documents-ajoutes li { display: flex; align-items: center; gap: 12px; padding: 7px 0; border-bottom: 1px solid #d4d4d4; }
.poc-demande .poc-documents-ajoutes a { flex: 1; min-width: 0; overflow-wrap: anywhere; color: #61a60e; text-decoration: underline; }
.poc-demande .poc-retirer-document { flex-shrink: 0; border: 0; padding: 5px 0; background: none; color: #737172; font: inherit; font-size: 12px; cursor: pointer; }
.poc-demande .poc-retirer-document:hover { color: #a94442; }
.poc-demande .poc-complements-demande textarea.form-control { min-height: 180px; resize: vertical; background: #fff; border: 1px solid #cbd3d9; }
.poc-demande .poc-complements-demande textarea:focus { border-color: #3962ff; outline: 1px solid #3962ff; }
.poc-demande .poc-etape-complements > .form_btns { display: flex; align-items: center; justify-content: space-between; }
@media (max-width: 991px) {
    .poc-demande .poc-libelle-documents { justify-content: flex-start; margin-bottom: 8px; }
    .poc-demande .poc-documents-ajoutes ul { margin-left: 0; padding-left: 0; }
}
@media (max-width: 575px) {
    .poc-demande .poc-complements-demande .content_form { padding: 20px 16px; }
    .poc-demande .poc-complements-demande .info_bull .info_bull_content { left: auto; right: -100px; width: min(280px, calc(100vw - 60px)); }
}

/* Références du récapitulatif, dans le bandeau gris du formulaire historique. */
.poc-demande .poc-references-recap {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 32px;
    margin: 0 0 20px; padding: 18px 22px; border-radius: 2px;
    background: #808080; color: #fff; text-align: center;
}
.poc-demande .poc-reference-recap { flex: 1 1 200px; min-width: 0; }
.poc-demande .poc-reference-recap span { display: block; margin-bottom: 5px; font-size: 13px; font-weight: 600; text-transform: uppercase; }
.poc-demande .poc-reference-recap strong { display: block; font-size: 22px; line-height: 1.3; overflow-wrap: anywhere; }

/* Repère discret commun à toutes les étapes d’un brouillon. */
.poc-demande .poc-references-etape {
    display: flex; flex-wrap: wrap; gap: 6px 24px;
    margin: 12px 0 22px; padding: 10px 14px;
    border: 1px solid #e3e6df; border-left: 3px solid #61a60e; border-radius: 3px;
    background: #f7f8f5; font-size: 13px; line-height: 1.5;
}
.poc-demande .poc-references-etape > div { display: flex; flex-wrap: wrap; gap: 4px 7px; min-width: 0; }
.poc-demande .poc-references-etape dt { color: #737172; font-weight: 400; }
.poc-demande .poc-references-etape dd { margin: 0; color: #163047; font-weight: 600; overflow-wrap: anywhere; }

/* Confirmation de commande : un cadre centré reprenant les couleurs du site. */
.poc-confirmation-demande { padding-top: 55px; padding-bottom: 70px; }
.poc-confirmation-demande .poc-confirmation-cadre {
    max-width: 760px; margin: 0 auto; padding: 38px 40px;
    border: 1px solid #e1e7dc; border-top: 4px solid #61a60e; border-radius: 5px;
    background: #fff; box-shadow: 0 8px 28px rgba(8,43,60,.07); text-align: center;
}
.poc-confirmation-demande .poc-confirmation-icone { display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 20px; border-radius: 50%; background: #edf5e4; color: #61a60e; }
.poc-confirmation-demande h1 { margin: 0 0 14px; color: #082b3c; font-size: 28px; font-weight: 600; line-height: 1.25; }
.poc-confirmation-demande .poc-confirmation-cadre > p { float: none; width: auto; margin: 0 0 26px; color: #59616a; font-size: 16px; line-height: 1.5; }
.poc-confirmation-demande .poc-confirmation-references { display: flex; flex-wrap: wrap; gap: 18px 28px; justify-content: center; margin: 0 0 30px; padding: 20px; border-radius: 3px; background: #f4f7f0; }
.poc-confirmation-demande .poc-confirmation-references > div { flex: 1 1 180px; min-width: 0; }
.poc-confirmation-demande dt { margin-bottom: 6px; color: #737172; font-size: 14px; font-weight: 400; }
.poc-confirmation-demande dd { margin: 0; color: #163047; font-size: 20px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.poc-confirmation-demande .poc-confirmation-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; }
.poc-confirmation-demande .poc-confirmation-actions .btn { display: inline-flex; justify-content: center; align-items: center; min-height: 40px; padding: 11px 18px; white-space: normal; }
.poc-confirmation-demande .poc-confirmation-actions .btn_white { border: 1px solid #dce2d6; }
@media (max-width: 575px) {
    .poc-confirmation-demande { padding-top: 30px; padding-bottom: 40px; }
    .poc-confirmation-demande .poc-confirmation-cadre { padding: 28px 20px; }
    .poc-confirmation-demande h1 { font-size: 24px; }
    .poc-confirmation-demande .poc-confirmation-actions .btn { width: 100%; }
}

/* Synthèse du récapitulatif et liens de téléchargement des pièces jointes. */
.poc-demande .poc-synthese-commande {
    display: flex; flex-wrap: wrap; gap: 18px 30px; margin: 28px 0;
    padding: 20px 24px; border: 1px solid #e2e7dd; border-left: 3px solid #61a60e; border-radius: 3px; background: #f7f9f4;
}
.poc-demande .poc-synthese-commande > div { flex: 1 1 180px; min-width: 0; }
.poc-demande .poc-synthese-commande dt { margin-bottom: 6px; color: #737172; font-size: 14px; font-weight: 400; }
.poc-demande .poc-synthese-commande dd { margin: 0; color: #163047; font-size: 23px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.poc-demande .poc-synthese-commande dd span { font-size: 16px; font-weight: 400; }
.poc-demande .poc-documents-recap { margin: 28px 0; }
.poc-demande .poc-documents-recap ul { padding: 0; margin: 16px 0 0; list-style: none; }
.poc-demande .poc-documents-recap li + li { margin-top: 8px; }
.poc-demande .poc-document-recap { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid #e1e5df; border-radius: 3px; background: #fff; color: #163047; text-decoration: none; }
.poc-demande .poc-document-recap:hover { background: #f5f9ef; border-color: #9abd73; }
.poc-demande .poc-document-recap:focus-visible { outline: 2px solid #3962ff; outline-offset: 2px; }
.poc-demande .poc-icone-document { display: grid; place-items: center; flex: 0 0 30px; height: 30px; border-radius: 3px; background: #edf5e4; color: #61a60e; font-size: 23px; line-height: 1; }
.poc-demande .poc-nom-document { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: 15px; }
.poc-demande .poc-action-document { flex-shrink: 0; color: #61a60e; font-size: 13px; font-weight: 600; text-decoration: underline; }
.poc-demande .poc-validation-recap { margin-top: 26px; padding-top: 20px; border-top: 1px solid #e1e5df; }
.poc-demande .poc-validation-recap > p { margin-bottom: 20px; color: #737172; line-height: 1.5; }
.poc-demande .poc-validation-recap .form_btns { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 12px; margin-top: 0; }
.poc-demande .poc-validation-recap .form_btns .btn { margin: 0; }
@media (max-width: 575px) {
    .poc-demande .poc-document-recap { flex-wrap: wrap; }
    .poc-demande .poc-action-document { margin-left: 42px; }
    .poc-demande .poc-validation-recap .form_btns { justify-content: center; }
}


/* Consultation des devis et dossiers : même présentation que le récapitulatif. */
.poc-consultation.poc-detail-modernise { max-width: 1000px; padding-top: 18px; }
.poc-detail-modernise .poc-titre-consultation { margin: 0 0 12px; text-align: center; font-size: 24px; line-height: 1.25; color: #163047; }
.poc-detail-modernise .poc-actions-consultation { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0 0 16px; }
.poc-detail-modernise .poc-actions-consultation .btn { margin: 0; }
.poc-consultation.pro.poc-detail-modernise .poc-details-recap .bloc_recap_list li { display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); gap: 14px; border: 0; padding: 3px 0; margin-bottom: 0; margin-left: 0 !important; line-height: 1.3; }
.poc-consultation.pro.poc-detail-modernise .poc-details-recap .bloc_recap_list li .bloc_recap_label { min-width: 0; text-align: right; }
.poc-detail-modernise .poc-details-recap .bloc_recap_list { margin: 6px 0 0; padding: 0; }
.poc-detail-modernise .poc-complements-demande textarea,
.poc-detail-modernise .poc-complements-demande input[type="file"] { margin: 0; }
.poc-detail-modernise .poc-commentaire { padding: 18px 22px; border: 1px solid #e1e5df; border-radius: 3px; background: #f7f8f5; line-height: 1.5; }
.poc-detail-modernise [data-transmission] > .form_btns { margin-top: 22px; }
@media (max-width: 575px) {
    .poc-consultation.pro.poc-detail-modernise .poc-details-recap .bloc_recap_list li { grid-template-columns: 1fr; gap: 3px; padding: 6px 0; }
    .poc-consultation.pro.poc-detail-modernise .poc-details-recap .bloc_recap_list li .bloc_recap_label { text-align: left; }
    .poc-detail-modernise .poc-titre-consultation { font-size: 22px; }
}
@media print {
    .poc-detail-modernise .poc-actions-consultation { display: none; }
}

.poc-detail-modernise .poc-demande { padding-bottom: 0; }

/* Consultation compacte sur toutes les catégories de dossiers et de devis. */
.poc-detail-modernise .poc-references-recap { gap: 8px 20px; padding: 10px 16px; margin-bottom: 12px; }
.poc-detail-modernise .poc-reference-recap { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 3px 8px; }
.poc-detail-modernise .poc-reference-recap span { margin-bottom: 0; font-size: 11px; }
.poc-detail-modernise .poc-reference-recap strong { font-size: 17px; }
.poc-consultation.poc-detail-modernise .poc-details-recap { margin: 16px 0; }
.poc-detail-modernise .poc-details-recap > .subtitle_big { margin-bottom: 0; padding-bottom: 6px; font-size: 20px; }
.poc-consultation.pro.poc-detail-modernise .poc-details-recap .bloc_recap_list li p { padding: 0; font-size: 15px; line-height: 1.3; }
.poc-detail-modernise .poc-synthese-commande { margin: 18px 0; padding: 14px 18px; }
.poc-detail-modernise .poc-synthese-commande dd { font-size: 20px; }
.poc-consultation.poc-detail-modernise .poc-documents-recap { margin: 18px 0; }
