/* Flyer « Vendu dans votre rue » : A5 recto verso, 154 x 216 mm avec 3 mm de fond perdu.
   UN SEUL gabarit pour le configurateur du site (aperçu) et pour le PDF d'impression (business/quartier/flyer.py).
   Règle d'Énéko (20/11) : peu de texte, ça doit taper au premier coup d'œil, recto comme verso. */

.fl-page {
  --c: #0d6654; --c-texte: #fff; --encre: #15201c; --gris: #5c6763; --clair: #eef3f1;
  width: 154mm; height: 216mm; position: relative; overflow: hidden; background: #fff; color: var(--encre);
  font-family: "Inter", "Segoe UI", sans-serif; font-feature-settings: "tnum" 1;
  -webkit-print-color-adjust: exact; print-color-adjust: exact; box-sizing: border-box;
}
.fl-page *, .fl-page *::before, .fl-page *::after { box-sizing: border-box; margin: 0; padding: 0; }
.fl-zone { position: absolute; inset: 11mm; display: flex; flex-direction: column; } /* 3 mm de fond perdu + 8 mm */

/* éléments communs */
.fl-agence { display: inline-flex; align-items: center; gap: 2.4mm; font-weight: 800; font-size: 12.5pt; letter-spacing: -.2px; }
.fl-agence img { max-height: 11mm; max-width: 42mm; object-fit: contain; display: block; }
.fl-pastille { background: #fff; padding: 2mm 3.4mm; border-radius: 2.2mm; box-shadow: 0 .5mm 2mm rgba(0,0,0,.10); }
.fl-vendu { display: inline-block; background: var(--c); color: var(--c-texte); font-weight: 900; letter-spacing: 3px;
  font-size: 15pt; padding: 2.2mm 5mm; border-radius: 1.8mm; }
.fl-rue { font-weight: 850; letter-spacing: -1px; line-height: 1.0; }
.fl-tel { font-weight: 800; letter-spacing: -.3px; white-space: nowrap; }
.fl-qui { font-size: 9pt; color: var(--gris); }
.fl-carte svg { width: 100%; height: 100%; display: block; }
.fl-filigrane { position: absolute; inset: -30mm; display: flex; flex-direction: column; justify-content: space-around;
  align-items: center; transform: rotate(-30deg); pointer-events: none; z-index: 20; }
.fl-filigrane span { font-size: 24pt; font-weight: 900; letter-spacing: 4px; color: rgba(120,128,126,.26); white-space: nowrap; }

/* ---------- RECTO « Carte » : la carte des ventes en grand ---------- */
.st-carte .fl-carte { position: absolute; left: 0; right: 0; top: 0; height: 168mm; }
.st-carte .fl-carte::after { content: ""; position: absolute; inset: auto 0 0 0; height: 36mm;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff); }
.st-carte .fl-tete { display: flex; justify-content: space-between; align-items: center; position: relative; }
.st-carte .fl-bas { margin-top: auto; position: relative; }
.st-carte .fl-accroche { font-size: 13.5pt; color: var(--gris); font-weight: 600; margin-bottom: 1.6mm; }
.st-carte .fl-rue { font-size: 38pt; color: var(--encre); }
.st-carte .fl-rue em { font-style: normal; color: var(--c); }
.st-carte .fl-pied { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 6mm;
  padding-top: 4mm; border-top: .5mm solid #e3e8e6; }
.st-carte .fl-tel { font-size: 17pt; }

/* ---------- RECTO « Bandeau » : couleur pleine, typographie ---------- */
.st-bandeau { background: var(--c); color: var(--c-texte); }
.st-bandeau .fl-tete { display: flex; justify-content: space-between; align-items: center; }
.st-bandeau .fl-gros { font-size: 82pt; font-weight: 900; letter-spacing: 1px; line-height: .9; margin-top: 18mm; }
.st-bandeau .fl-rue { font-size: 33pt; margin-top: 5mm; }
.st-bandeau .fl-accroche { font-size: 14pt; margin-top: 3mm; opacity: .86; font-weight: 600; }
.st-bandeau .fl-medaillon { margin-top: auto; display: flex; gap: 5mm; align-items: center; background: #fff; color: var(--encre);
  border-radius: 4mm; padding: 4mm; }
.st-bandeau .fl-mini { width: 46mm; height: 46mm; border-radius: 3mm; overflow: hidden; flex: none; }
.st-bandeau .fl-chiffre { font-size: 44pt; font-weight: 900; color: var(--c); line-height: 1; letter-spacing: -1px; }
.st-bandeau .fl-chiffre-txt { font-size: 10.5pt; color: var(--gris); margin-top: 1.4mm; line-height: 1.3; font-weight: 600; }
.st-bandeau .fl-pied { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 5mm; }
.st-bandeau .fl-tel { font-size: 17pt; }
.st-bandeau .fl-qui { color: inherit; opacity: .8; }

/* ---------- RECTO « Photo » : la photo du bien ---------- */
.st-photo .fl-photo { position: absolute; left: 0; right: 0; top: 0; height: 152mm; background: #dfe6e3 center / cover no-repeat; }
.st-photo .fl-photo-vide { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3mm; color: #7d8985; font-size: 11pt; font-weight: 600;
  background: linear-gradient(160deg, #e9efed, #d6dfdc); }
.st-photo .fl-photo-vide svg { width: 30mm; height: 30mm; }
.st-photo .fl-ruban { position: absolute; top: 15mm; left: -3mm; background: var(--c); color: var(--c-texte); font-weight: 900;
  letter-spacing: 4px; font-size: 22pt; padding: 3mm 9mm 3mm 14mm; border-radius: 0 2mm 2mm 0; z-index: 2; }
.st-photo .fl-tete { display: flex; justify-content: flex-end; position: relative; z-index: 2; }
.st-photo .fl-bas { margin-top: auto; position: relative; background: #fff; }
.st-photo .fl-accroche { font-size: 13.5pt; color: var(--gris); font-weight: 600; margin-bottom: 1.6mm; }
.st-photo .fl-rue { font-size: 36pt; }
.st-photo .fl-rue em { font-style: normal; color: var(--c); }
.st-photo .fl-pied { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 5mm; }
.st-photo .fl-tel { font-size: 17pt; }

/* ---------- VERSO (commun aux 3 styles) ---------- */
.fl-verso .fl-tete { display: flex; justify-content: space-between; align-items: center; }
.fl-verso h2 { font-size: 30pt; line-height: 1.05; font-weight: 850; letter-spacing: -.8px; margin-top: 9mm; }
.fl-verso .fl-hero { margin-top: 6mm; }
.fl-verso .fl-hero b { display: block; font-size: 62pt; line-height: 1; font-weight: 900; letter-spacing: -2px; color: var(--c); }
.fl-verso .fl-hero span { display: block; font-size: 12.5pt; color: var(--gris); margin-top: 2mm; font-weight: 600; }
.fl-verso .fl-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 3mm; margin-top: 6mm; }
.fl-verso .fl-duo div { background: var(--clair); border-radius: 3mm; padding: 3.6mm 4mm; }
.fl-verso .fl-duo b { display: block; font-size: 24pt; font-weight: 900; letter-spacing: -.5px; }
.fl-verso .fl-duo span { display: block; font-size: 10pt; color: var(--gris); margin-top: .8mm; font-weight: 600; }
.fl-verso .fl-qr { margin-top: auto; display: flex; gap: 5mm; align-items: center; }
.fl-verso .fl-qr .fl-code { width: 40mm; height: 40mm; flex: none; padding: 2mm; border: .5mm solid var(--c); border-radius: 3mm; }
.fl-verso .fl-qr .fl-code svg { width: 100%; height: 100%; display: block; }
.fl-verso .fl-qr p { font-size: 10.5pt; color: var(--gris); line-height: 1.35; font-weight: 600; }
.fl-verso .fl-qr p strong { display: block; font-size: 17pt; color: var(--encre); line-height: 1.15; margin-bottom: 1.4mm; }
.fl-verso .fl-contact { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 6mm; padding-top: 4mm;
  border-top: .5mm solid #e3e8e6; }
.fl-verso .fl-tel { font-size: 19pt; color: var(--encre); }
.fl-verso .fl-legal { font-size: 6.6pt; line-height: 1.35; color: #7c8682; margin-top: 3.4mm; }
