/* Vallière Immobilier : espace agence (démonstration). Seulement ce que les feuilles existantes ne couvrent pas. */
.ea-page { padding: clamp(20px, 3vw, 36px) 0 var(--bloc); }
.ea-bandeau { margin: 0 0 24px; padding: 12px 16px; background: var(--platre-2, #E6E2EC); border-left: 3px solid var(--lueur); font-size: .9375rem; line-height: 1.45; max-width: none; }
.ea-bandeau strong { font-weight: 500; }

/* onglets */
.ea-onglets { display: flex; gap: 4px; border-bottom: 1px solid var(--trait); margin-bottom: clamp(24px, 3vw, 36px); }
.ea-onglet { flex: 1 1 0; min-height: 52px; padding: 0 12px; background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px; color: var(--doux); font: 500 1rem/1.2 var(--sans); cursor: pointer; }
.ea-onglet:hover { color: var(--encre); background: var(--bande); }
.ea-onglet[aria-selected="true"] { color: var(--encre); border-bottom-color: var(--nuit); }
.ea-onglet:focus-visible { outline: 2.5px solid var(--crepuscule); outline-offset: -2px; }
@media (min-width: 640px) { .ea-onglet { flex: 0 0 auto; padding: 0 28px; } }
.ea-panneau[hidden] { display: none; }
.ea-h2 { font: 300 1.875rem/1.15 var(--sans); letter-spacing: -.01em; margin-bottom: 8px; }
.ea-h2:focus { outline: none; }
.ea-panneau > .aide { margin: 0 0 24px; color: var(--doux); max-width: 46rem; }

/* grille formulaire + aperçu */
.ea-grille { display: grid; gap: 40px; }
.ea-gauche { min-width: 0; }
@media (min-width: 960px) {
  .ea-grille { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 64px; align-items: start; }
  .ea-apercu { position: sticky; top: calc(var(--entete) + 16px); }
}
.ea-modif { margin: 8px 0 16px; padding: 12px 16px; background: var(--bande); font-size: .9375rem; }
.ea-modif button { margin-left: 8px; }
.ea-section { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--trait-doux); }
.ea-section:first-of-type { margin-top: 20px; }
.ea-section h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font: 400 1.375rem/1.25 var(--sans); }
.ea-num { flex: none; display: inline-grid; place-items: center; width: 32px; height: 32px; background: var(--nuit); color: #fff; font: 500 1rem/1 var(--sans); }
.ea-section .aide { margin: -6px 0 18px; color: var(--doux); }
.ea-note { margin: 0; font-size: .875rem; line-height: 1.4; color: var(--doux); }
.ea-compteur { font-variant-numeric: tabular-nums; }
.choix--paire { grid-template-columns: 1fr 1fr; }
.ea-envoi { display: grid; gap: 14px; justify-items: start; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--trait-doux); }
@media (max-width: 599px) { .ea-envoi .btn { width: 100%; } }

/* photos */
.ea-depot { display: grid; gap: 10px; justify-items: start; padding: 18px; border: 1px dashed var(--trait); background: var(--papier); }
.ea-depot input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.ea-depot input:focus-visible + label { outline: 2.5px solid var(--crepuscule); outline-offset: 2px; }
.ea-depot.survol { border-color: var(--nuit); border-style: solid; background: var(--bande); }
.ea-msg:empty { display: none; }
.ea-msg { margin-top: 8px; color: var(--brique); font-weight: 500; }
.ea-vignettes { display: grid; gap: 12px; margin-top: 14px; padding: 0; list-style: none; }
@media (min-width: 640px) { .ea-vignettes { grid-template-columns: 1fr 1fr; } }
.ea-vignette { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 10px; background: var(--papier); border: 1px solid var(--trait-doux); }
.ea-vignette img { width: 96px; height: 64px; object-fit: cover; display: block; background: var(--bande); }
.ea-vignette-nom { margin: 0; font-size: .875rem; line-height: 1.3; overflow-wrap: anywhere; }
.ea-principale { display: inline-block; margin-top: 4px; padding: 2px 8px; background: var(--nuit); color: #fff; font: 500 .8125rem/1.4 var(--sans); }
.ea-vignette-act { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.ea-bt { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 14px; background: var(--papier); color: var(--encre); border: 1px solid var(--trait); border-radius: 0; font: 500 .9375rem/1.2 var(--sans); cursor: pointer; }
.ea-bt:hover:not(:disabled) { border-color: var(--encre); background: var(--bande); }
.ea-bt:focus-visible { outline: 2.5px solid var(--crepuscule); outline-offset: 2px; }
.ea-bt:disabled { opacity: .45; cursor: not-allowed; }
.ea-bt[aria-pressed="true"] { background: var(--nuit); border-color: var(--nuit); color: #fff; }

/* aperçu */
.ea-apercu { background: var(--papier); border: 1px solid var(--nuit); min-width: 0; }
.ea-apercu-tete { padding: 16px 18px 14px; border-bottom: 1px solid var(--nuit); }
.ea-apercu-tete h2 { font: 400 1.25rem/1.2 var(--sans); }
.ea-apercu-tete p { margin: 4px 0 0; font-size: .9375rem; color: var(--doux); }
.ea-carte { padding: 16px 18px 20px; }
.ea-carte-photo { aspect-ratio: 3 / 2; background: var(--bande); display: grid; place-items: center; overflow: hidden; }
.ea-carte-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ea-carte-photo span { padding: 12px; text-align: center; font-size: .9375rem; color: var(--doux); }
.ea-carte-corps { margin-top: 14px; }
.ea-carte-corps h3 { margin-top: 6px; font: 400 1.375rem/1.25 var(--sans); overflow-wrap: anywhere; }
.ea-carte-corps h3.vide, .ea-carte-prix.vide { color: var(--doux); }
.ea-carte-prix { margin-top: 10px; font: 400 1.5rem/1.1 var(--sans); color: var(--crepuscule); font-variant-numeric: tabular-nums; }
.ea-carte-prix.vide { font-size: 1.0625rem; }
.ea-cotes { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 14px; }
.ea-cotes div { display: flex; flex-direction: column-reverse; gap: 4px; }
.ea-cotes dt { font: 500 .875rem/1.2 var(--sans); color: var(--doux); }
.ea-cotes dd { margin: 0; font: 400 1.125rem/1.1 var(--sans); font-variant-numeric: tabular-nums; }
.ea-cotes:empty { display: none; }
.ea-carte-atouts { margin-top: 12px; font-size: .9375rem; color: var(--doux); }
.ea-carte-atouts:empty, .ea-pastilles:empty { display: none; }
.ea-pastilles { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ea-pastille { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 10px 0 0; border: 1px solid var(--trait-doux); font-size: .875rem; }
.ea-pastille b { display: inline-grid; place-items: center; width: 32px; height: 32px; margin: -1px 0 -1px -1px; font: 600 1rem/1 var(--sans); background: var(--l-fond); color: var(--l-txt, var(--encre)); }
.ea-pastille[data-l="A"] { --l-fond: #7DBA84; } .ea-pastille[data-l="B"] { --l-fond: #A9CC7A; } .ea-pastille[data-l="C"] { --l-fond: #D8DC78; }
.ea-pastille[data-l="D"] { --l-fond: #F4DC63; } .ea-pastille[data-l="E"] { --l-fond: #F4AE5A; } .ea-pastille[data-l="F"] { --l-fond: #E98557; }
.ea-pastille[data-l="G"] { --l-fond: #B63A2E; --l-txt: #fff; }
.ea-chip { display: inline-block; margin: 0 0 8px; padding: 3px 10px; background: var(--bande); border: 1px solid var(--trait-doux); font: 500 .875rem/1.4 var(--sans); color: var(--encre); }
.ea-chip[data-e="enligne"] { background: var(--lueur); border-color: var(--lueur); }
.ea-chip[data-e="vendu"], .ea-chip[data-e="retire"] { background: var(--nuit); border-color: var(--nuit); color: #fff; }
.ea-chip[data-e="compromis"] { background: #E8D5C7; border-color: #E8D5C7; }

/* confirmation */
.ea-succes:focus { outline: none; }
.ea-recap { display: grid; margin-top: 14px; border-top: 1px solid var(--trait-doux); }
.ea-recap div { display: grid; gap: 2px 16px; padding: 10px 0; border-bottom: 1px solid var(--trait-doux); }
.ea-recap dt { font: 500 .875rem/1.3 var(--sans); color: var(--doux); }
.ea-recap dd { margin: 0; overflow-wrap: anywhere; }
@media (min-width: 640px) { .ea-recap div { grid-template-columns: 11rem minmax(0, 1fr); } }

/* Mes annonces */
.ea-liste { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--trait-doux); }
.ea-ligne { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px 16px; padding: 20px 0; border-bottom: 1px solid var(--trait-doux); align-items: start; }
.ea-ligne-photo { width: 96px; aspect-ratio: 3 / 2; background: var(--bande); overflow: hidden; }
.ea-ligne-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ea-ligne[data-e="retire"] .ea-ligne-photo img { filter: grayscale(1); opacity: .7; }
.ea-ligne-corps { min-width: 0; }
.ea-ligne-corps h3 { margin-top: 4px; font: 400 1.125rem/1.3 var(--sans); overflow-wrap: anywhere; }
.ea-ligne-prix { margin-top: 4px; font: 500 1.0625rem/1.2 var(--sans); color: var(--crepuscule); font-variant-numeric: tabular-nums; }
.ea-ligne-corps .ea-chip { margin: 10px 0 0; }
.ea-ligne-act { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (min-width: 720px) {
  .ea-ligne { grid-template-columns: 144px minmax(0, 1fr) auto; align-items: center; }
  .ea-ligne-photo { width: 144px; }
  .ea-ligne-act { grid-column: auto; grid-template-columns: repeat(2, auto); }
}
@media (min-width: 1100px) { .ea-ligne-act { grid-template-columns: repeat(4, auto); } }

/* connexion */
.ea-sous { margin-top: 6px; font: 400 1.25rem/1.2 var(--sans); color: var(--doux); }
.ea-sous[hidden], #ea-app[hidden], .ea-connexion[hidden] { display: none; }
.ea-connexion { max-width: 34rem; }
.ea-connexion .aide { margin: 0 0 24px; color: var(--doux); }
.ea-mdp { display: flex; gap: 8px; }
.ea-mdp input { flex: 1 1 auto; min-width: 0; }
.ea-mdp .ea-bt { flex: none; min-width: 7.5rem; min-height: 48px; }
.ea-oubli:empty { display: none; }
.ea-encadre { display: grid; gap: 14px; justify-items: start; margin-top: 28px; padding: 18px; background: var(--bande); border-left: 3px solid var(--lueur); }
.ea-encadre p { margin: 0; }
@media (max-width: 599px) { .ea-encadre .btn { width: 100%; } }
.ea-barre { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 20px; padding: 8px 8px 8px 16px; background: var(--papier); border: 1px solid var(--trait-doux); }
.ea-barre p { margin: 0; font-weight: 500; }
