/* Présentation de la fiche uniquement ; les contrôles et médias existants sont conservés. */
.page-fiche-annonce #centre { color:#082d57; }
.page-fiche-annonce .fiche-icon { width:24px; height:24px; flex:0 0 24px; vertical-align:middle; }
.page-fiche-annonce .annonce-identite-section {
  align-items:center; flex-wrap:wrap; padding:12px 16px; margin:14px 0;
  background:#fff; border:1px solid #dce6f1; border-radius:11px;
  box-shadow:0 4px 15px #0a315310;
}
.page-fiche-annonce .annonce-identite-infos { flex:1 1 220px; }
.page-fiche-annonce .annonce-identite-infos p { margin:3px 0; }
.page-fiche-annonce .annonce-actions { gap:16px; flex-wrap:wrap; min-width:0; }
.page-fiche-annonce .annonce-share-button,
.page-fiche-annonce .annonce-detail-coeur,
.page-fiche-annonce .annonce-signaler {
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  width:auto; height:auto; min-height:40px; margin:0; padding:6px 8px;
  background:transparent; border:0; border-radius:6px; color:#082d57; font:inherit;
  cursor:pointer; white-space:normal;
}
.page-fiche-annonce .annonce-share-button::before { content:''; width:24px; height:24px; background:url('../images/annonce-detail/partager.svg') center/contain no-repeat; }
.page-fiche-annonce .annonce-share-button::after { content:'Partager'; }
.page-fiche-annonce .annonce-share-button svg { display:none; }
.page-fiche-annonce .annonce-detail-coeur.is-favori { background:#fff0e4; box-shadow:inset 0 0 0 1px #ff7900; }
.page-fiche-annonce .annonce-detail-coeur[aria-pressed='true'] .fiche-icon { filter:drop-shadow(0 0 2px #ff7900); }
.page-fiche-annonce #bloc-annonce-detail {
  display:grid; grid-template-columns:minmax(0, 38fr) minmax(0, 62fr); gap:18px;
  align-items:start; border:0; border-radius:0; background:transparent; box-shadow:none;
}
.page-fiche-annonce #bloc-annonce-detail > * { min-width:0; width:auto; box-sizing:border-box; }
.page-fiche-annonce #bloc-annonce-detail .col-gauche {
  align-items:stretch; gap:16px; padding:10px 10px 20px;
  border:1px solid #e1eaf3; border-radius:11px; background:#fff; box-shadow:0 4px 15px #0a315310;
}
.page-fiche-annonce #bloc-annonce-detail .image-principale {
  width:100%; max-width:100%; height:auto; aspect-ratio:3/2; box-sizing:border-box;
  border:0; border-radius:7px; background:#e8eff5;
}
.page-fiche-annonce .annonce-photo-nav { border:2px solid #fff; background:#082d57b3; width:44px; height:44px; }
.page-fiche-annonce .fiche-photo-compteur {
  position:absolute; right:12px; bottom:12px; display:flex; gap:6px; align-items:center;
  padding:6px 9px; border-radius:6px; background:#082d57d9; color:white; font-size:13px; pointer-events:none;
}
.page-fiche-annonce .fiche-photo-compteur .fiche-icon,
.page-fiche-annonce .btn-contacter .fiche-icon,
.page-fiche-annonce .fiche-retour .fiche-icon { filter:brightness(0) invert(1); }
.page-fiche-annonce .annonce-miniatures-bloc { width:100%; max-width:none; margin:0; padding:0; border:0; background:transparent; }
.page-fiche-annonce .annonce-photos-miniatures-viewer { grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.page-fiche-annonce .annonce-photo-slot {
  width:100%; min-width:0; max-width:none; height:auto; min-height:0; max-height:none;
  aspect-ratio:4/3; border-radius:6px; box-sizing:border-box;
}
.page-fiche-annonce .annonce-photo-slot img {
  width:100%; min-width:0; max-width:100%; height:100%; min-height:0; max-height:none;
  object-fit:cover; box-sizing:border-box; border:0; border-radius:4px;
}
.page-fiche-annonce .annonce-photo-thumb.is-active { border:3px solid #ff7900; }
.page-fiche-annonce .btn-contacter {
  width:100%; max-width:100%; height:auto; min-height:58px; gap:10px; padding:14px;
  border:0; border-radius:9px; background:#ff7900; color:white; font:inherit; font-weight:800;
}
.page-fiche-annonce .btn-contacter:hover { background:#e96c00; }
.page-fiche-annonce #bloc-annonce-detail .infos-annonce-detail {
  padding:18px; margin:0; border:1px solid #dce6f1; border-radius:11px;
  background:#fff; box-shadow:0 4px 15px #0a315310; overflow-wrap:anywhere;
}
.page-fiche-annonce .annonce-detail-title { margin:0 0 12px; padding:0; color:#082d57; font-size:clamp(25px,3vw,38px); line-height:1.15; }
.page-fiche-annonce .fiche-type-prix { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; margin-bottom:16px; }
.page-fiche-annonce .annonce-type-favori { margin:0; padding:8px 10px; border:1px solid #dce6f1; border-radius:8px; background:#f3f7fb; }
.page-fiche-annonce .annonce-type-favori .fiche-icon { margin-right:6px; }
.page-fiche-annonce .fiche-prix { margin:0; padding:9px 18px; border-radius:9px; background:#ff7900; color:#fff; font-size:clamp(24px,2.8vw,34px); line-height:1.2; font-weight:800; }
.page-fiche-annonce .fiche-prix strong { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.page-fiche-annonce .annonce-caracteristiques-card {
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; width:100%; max-width:100%;
  margin:0; padding:16px; border:1px solid #d6e0eb; border-radius:10px; box-shadow:none; background:#fff;
}
.page-fiche-annonce .fiche-caracteristiques-colonne { min-width:0; }
.page-fiche-annonce .fiche-caracteristiques-colonne + .fiche-caracteristiques-colonne { border-left:1px solid #dce6f1; padding-left:16px; }
.page-fiche-annonce .fiche-caracteristique {
  position:relative; margin:0; padding:11px 0 11px 32px; border-bottom:1px solid #e5ebf2; line-height:1.45;
}
.page-fiche-annonce .fiche-caracteristique:last-child { border-bottom:0; }
.page-fiche-annonce .fiche-caracteristique::before { content:''; position:absolute; left:0; top:12px; width:23px; height:23px; background:var(--fiche-icon) center/contain no-repeat; }
.page-fiche-annonce .fiche-caracteristique strong { font-weight:800; }
.page-fiche-annonce .fiche-localisation { --fiche-icon:url('../images/annonce-detail/localisation.svg'); }
.page-fiche-annonce .fiche-superficie { --fiche-icon:url('../images/annonce-detail/superficie.svg'); }
.page-fiche-annonce .fiche-calendrier { --fiche-icon:url('../images/annonce-detail/calendrier.svg'); }
.page-fiche-annonce .fiche-calendrier-validation { --fiche-icon:url('../images/annonce-detail/calendrier-validation.svg'); }
.page-fiche-annonce .fiche-lots { --fiche-icon:url('../images/annonce-detail/lots.svg'); }
.page-fiche-annonce .fiche-cloture { --fiche-icon:url('../images/annonce-detail/cloture.svg'); }
.page-fiche-annonce .fiche-parking { --fiche-icon:url('../images/annonce-detail/parking.svg'); }
.page-fiche-annonce .fiche-camion { --fiche-icon:url('../images/annonce-detail/camion.svg'); }
.page-fiche-annonce .fiche-hauteur { --fiche-icon:url('../images/annonce-detail/hauteur.svg'); }
.page-fiche-annonce .fiche-raccordement { --fiche-icon:url('../images/annonce-detail/raccordement.svg'); }
.page-fiche-annonce .fiche-description { margin-top:20px; padding-top:18px; border-top:1px solid #dce6f1; }
.page-fiche-annonce .fiche-description h2 { display:flex; align-items:center; gap:10px; margin:0 0 12px; font-size:23px; color:#082d57; }
.page-fiche-annonce .fiche-description p { line-height:1.6; overflow-wrap:anywhere; }
.page-fiche-annonce #actions-profil {
  flex-direction:row; flex-wrap:wrap; justify-content:flex-end; gap:12px; margin-top:20px; padding:14px;
  border:1px solid #dce6f1; border-radius:11px; background:#fff; box-shadow:0 4px 15px #0a315310;
}
.page-fiche-annonce #actions-profil .annonce-validite-label { flex:1 1 240px; justify-content:flex-start; gap:9px; padding:0; border:0; color:#082d57; background:transparent; }
.page-fiche-annonce #actions-profil form { margin:0; width:auto; }
.page-fiche-annonce .fiche-retour { display:inline-flex; align-items:center; justify-content:center; gap:10px; padding:12px 18px; border:0; border-radius:8px; background:#083d68; color:#fff; }
.page-fiche-annonce #bloc-annonce-detail.is-image-expanded { grid-template-columns:minmax(0,1fr); }
.page-fiche-annonce #bloc-annonce-detail.is-image-expanded .image-principale { height:min(70vh,760px); aspect-ratio:auto; }
.page-fiche-annonce #bloc-annonce-detail.is-image-expanded .image-principale img { object-fit:contain !important; }
@media (max-width:1100px) {
  .page-fiche-annonce .annonce-caracteristiques-card { grid-template-columns:minmax(0,1fr); gap:0; }
  .page-fiche-annonce .fiche-caracteristiques-colonne + .fiche-caracteristiques-colonne { border-left:0; border-top:1px solid #e5ebf2; padding-left:0; }
}
@media (max-width:720px) {
  .page-fiche-annonce #bloc-annonce-detail { grid-template-columns:minmax(0,1fr); gap:14px; }
  .page-fiche-annonce #bloc-annonce-detail .infos-annonce-detail { padding:14px; }
  .page-fiche-annonce .annonce-identite-section { padding:12px; gap:10px; }
  .page-fiche-annonce .annonce-actions { margin-left:0; gap:8px; }
  .page-fiche-annonce .annonce-detail-coeur span { max-width:150px; }
  .page-fiche-annonce .annonce-caracteristiques-card { padding:12px; }
  .page-fiche-annonce #actions-profil { flex-direction:column; align-items:stretch; }
  .page-fiche-annonce #actions-profil .annonce-validite-label { flex:0 1 auto; }
  .page-fiche-annonce #actions-profil form { width:100%; }
}
