/* Pages A4 du catalogue Urbasport — feuille commune au livre (StPageFlip) et au PDF.
   Couleurs relevées sur le logo (bleu #31459B, jaune #EDE840) ; neutres techniques ; police Archivo (OFL, locale). */
:root { --bleu: #31459b; --bleu-f: #1f2d6b; --jaune: #ede840; --encre: #111418; --graphite: #2b2f36; --acier: #5d636d;
  --gris: #8a9099; --filet: #d9dce0; --filet-d: #eceef0; --plateau: #eef0f2; --fond: #f5f5f3; }
@page { size: 210mm 297mm; margin: 0; }
.impression { margin: 0; background: #fff; }
html { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.page, .page * { box-sizing: border-box; }
.page { position: relative; width: 210mm; height: 297mm; overflow: hidden; background: #fff; color: var(--encre);
  font-family: 'Archivo', sans-serif; font-size: 8pt; line-height: 1.35; font-variant-numeric: lining-nums tabular-nums;
  page-break-after: always; break-after: page; }
.page:last-child { page-break-after: auto; break-after: auto; }
.page a { color: inherit; text-decoration: none; }
.page h1, .page h2, .page h3, .page h4, .page p, .page ul, .page ol, .page dl, .page dd, .page figure { margin: 0; padding: 0; }
.page ul, .page ol { list-style: none; }
.page img { display: block; }

/* ── En-tête, titre, pied ── */
.tete { position: absolute; left: 14mm; right: 14mm; top: 9mm; display: flex; justify-content: space-between; align-items: center;
  font-family: 'ArchivoSC'; font-weight: 600; font-size: 6.4pt; letter-spacing: .12em; text-transform: uppercase; color: var(--acier); }
.onglet { background: var(--bleu); color: #fff; padding: 1mm 2.4mm .9mm; border-radius: .5mm; letter-spacing: .1em; }
.tete.sombre { color: rgba(255,255,255,.7); }
.titre { position: absolute; left: 14mm; right: 14mm; top: 18mm; font-family: 'ArchivoCond'; font-weight: 800; font-size: 28pt; line-height: .95;
  text-transform: uppercase; letter-spacing: -.003em; color: var(--encre); }
.barre { display: block; width: 14mm; height: 1.4mm; background: var(--jaune); margin-bottom: 2.6mm; }
.chapeau { position: absolute; left: 14mm; right: 14mm; top: 35.5mm; font-size: 9pt; color: var(--graphite); }
.pied { position: absolute; left: 14mm; right: 14mm; bottom: 7mm; display: flex; justify-content: space-between; align-items: baseline;
  border-top: .25mm solid var(--filet); padding-top: 1.8mm; font-size: 6pt; color: var(--gris); }
.pied .folio { font-family: 'ArchivoCond'; font-weight: 800; font-size: 9pt; color: var(--encre); }
.pied.sombre { border-top-color: rgba(255,255,255,.2); color: rgba(255,255,255,.6); }
.pied.sombre .folio { color: #fff; }
.source { font-size: 6pt; color: var(--gris); margin-top: 1.5mm; }
.renvoi { color: var(--bleu); font-weight: 600; }
.bouton { display: inline-block; background: var(--bleu); color: #fff !important; font-family: 'Archivo'; font-weight: 600; font-size: 9pt;
  padding: 2.4mm 5mm; border: 0; border-radius: .6mm; cursor: pointer; }

/* ── Couverture ── */
.couverture { background: #fff; }
.couv-photo { position: absolute; left: 0; right: 0; top: 0; height: 192mm; overflow: hidden; background: #3d4a2a; }
.couv-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.couv-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,12,14,.28), rgba(10,12,14,0) 30%, rgba(10,12,14,0) 70%, rgba(10,12,14,.42)); }
.couv-logo { position: absolute; left: 14mm; top: 12mm; width: 30mm; z-index: 2; }
.couv-logo img { width: 100%; filter: drop-shadow(0 .6mm 1.6mm rgba(0,0,0,.25)); }
.couv-legende { position: absolute; right: 14mm; top: 182mm; z-index: 2; color: #fff; font-size: 7pt; letter-spacing: .02em; }
.couv-legende a { border-bottom: .2mm solid rgba(255,255,255,.7); }
.couv-bas { position: absolute; left: 14mm; right: 14mm; top: 204mm; }
.couv-bas .barre { width: 22mm; height: 2mm; margin-bottom: 4mm; }
.couverture h1 { font-family: 'ArchivoCond'; font-weight: 800; font-size: 76pt; line-height: .86; letter-spacing: -.005em; color: var(--encre); }
.couv-sous { margin-top: 4mm !important; font-size: 14pt; font-weight: 500; color: var(--graphite); }
.couv-sous b { color: var(--bleu); font-weight: 700; }
.couv-phrase { margin-top: 2mm !important; font-size: 10pt; color: var(--acier); }
.couv-univers { display: grid; grid-template-columns: repeat(6, 1fr); gap: 2mm; margin-top: 9mm !important; }
.couv-univers li { border-top: .5mm solid var(--encre); padding-top: 1.6mm; font-family: 'ArchivoSC'; font-weight: 600; font-size: 7.2pt; line-height: 1.2; }
.couv-univers li:first-child { border-top-color: var(--bleu); }
.couv-sig { margin-top: 6mm !important; font-size: 6.8pt; letter-spacing: .14em; text-transform: uppercase; color: var(--acier); }

/* ── Univers (sommaire visuel) ── */
.tuiles { position: absolute; left: 14mm; right: 14mm; top: 44mm; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 52mm; gap: 3mm; }
.tuile { position: relative; display: block; overflow: hidden; background: var(--graphite); color: #fff !important; }
.tuile-grande { grid-column: span 2; grid-row: span 2; }
.tuile-img, .tuile-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tuile-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,12,14,0) 35%, rgba(10,12,14,.78)); }
.tuile-t { position: absolute; left: 3.5mm; right: 3.5mm; bottom: 3mm; display: flex; flex-direction: column; gap: .8mm; }
.tuile-t b { font-family: 'ArchivoCond'; font-weight: 800; font-size: 15pt; text-transform: uppercase; line-height: .95; }
.tuile-grande .tuile-t b { font-size: 30pt; }
.tuile-t small { font-size: 6.6pt; color: rgba(255,255,255,.82); line-height: 1.3; }
.tuile-grande .tuile-t small { font-size: 8pt; }
.tuile-t em { font-style: normal; font-weight: 600; font-size: 7pt; color: var(--jaune); }
.engagements { position: absolute; left: 14mm; right: 14mm; top: 212mm; border-top: .5mm solid var(--encre); padding-top: 3mm; }
.sur-titre { font-family: 'ArchivoSC'; font-weight: 600; font-size: 7pt; letter-spacing: .12em; text-transform: uppercase; color: var(--acier); margin-bottom: 3mm !important; }
.engagements ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6mm; }
.engagements li b { display: block; font-family: 'ArchivoCond'; font-weight: 800; font-size: 11pt; text-transform: uppercase; color: var(--bleu); margin-bottom: 1mm; }
.engagements li span { font-size: 7.8pt; color: var(--graphite); }

/* ── Ouverture Football ── */
.ouv-photo { position: absolute; left: 0; right: 0; top: 0; height: 112mm; overflow: hidden; background: #2d3a1e; }
.ouv-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.ouv-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,12,14,.25), rgba(10,12,14,0) 35%, rgba(10,12,14,.55)); }
.ouv-titre { position: absolute; left: 14mm; top: 78mm; color: #fff; }
.ouv-titre .onglet { background: var(--jaune); color: var(--encre); font-family: 'ArchivoSC'; font-weight: 600; font-size: 6.4pt; letter-spacing: .12em; text-transform: uppercase; }
.ouv-titre h2 { margin-top: 2mm; font-family: 'ArchivoCond'; font-weight: 800; font-size: 58pt; line-height: .85; text-transform: uppercase; }
.ouv-corps { position: absolute; left: 14mm; right: 14mm; top: 120mm; }
.sous-cat { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3mm; margin-bottom: 7mm !important; }
.sous-cat a { display: flex; flex-direction: column; justify-content: space-between; min-height: 15mm; border-top: .6mm solid var(--bleu); padding-top: 1.6mm; }
.sous-cat span { font-family: 'ArchivoCond'; font-weight: 700; font-size: 10.5pt; line-height: 1.05; text-transform: uppercase; }
.sous-cat em { font-style: normal; font-weight: 600; font-size: 7pt; color: var(--bleu); }
.bloc-titre { font-family: 'ArchivoCond'; font-weight: 800; font-size: 12pt; text-transform: uppercase; border-bottom: .5mm solid var(--encre); padding-bottom: 1.2mm; margin-bottom: 1mm !important; }
.guide { width: 100%; border-collapse: collapse; table-layout: fixed; }
.guide th, .guide td { border-bottom: .2mm solid var(--filet); padding: 1.8mm 1mm; text-align: left; vertical-align: top; }
.guide thead th { font-family: 'ArchivoSC'; font-weight: 600; font-size: 7pt; color: var(--acier); text-transform: uppercase; letter-spacing: .08em; }
.guide tbody th { width: 30mm; font-family: 'ArchivoCond'; font-weight: 700; font-size: 10pt; text-transform: uppercase; }
.guide td a { display: inline-flex; flex-direction: column; margin-right: 3mm; }
.guide td b { font-weight: 700; font-size: 8.6pt; color: var(--bleu); }
.guide td small { font-size: 6.8pt; color: var(--acier); }
.vide::after { content: ''; display: inline-block; width: 3mm; height: .25mm; background: #c9cdd3; vertical-align: middle; }
.normes-buts { margin-top: 6mm; background: var(--fond); border-left: 1.2mm solid var(--jaune); padding: 3mm 4mm; font-size: 7.6pt; color: var(--graphite); }
.normes-buts .livres { margin-top: 1.5mm; }

/* ── Blocs produits ── */
.grille { position: absolute; left: 14mm; right: 14mm; top: 38mm; display: grid; gap: 5mm 6mm; }
.grille.g2 { grid-template-columns: 1fr 1fr; }
.grille.g3 { grid-template-columns: repeat(3, 1fr); gap: 4mm; }
.grille.g4 { grid-template-columns: repeat(4, 1fr); gap: 4mm; }
.bloc { border-top: .6mm solid var(--encre); padding-top: 2mm; min-width: 0; }
.media { position: relative; height: 38mm; background: var(--plateau); overflow: hidden; display: grid; place-items: center; }
.media > img { width: 100%; height: 100%; object-fit: cover; }
.media img.petite { width: auto; height: auto; max-width: 90%; max-height: 90%; object-fit: contain; }
.media-petite img { mix-blend-mode: multiply; }
.media-schema { background: #fff; border: .2mm solid var(--filet); }
.media-vide { background: repeating-linear-gradient(135deg, var(--plateau) 0 2mm, #e4e7ea 2mm 2.2mm); }
.media-vide span { font-family: 'ArchivoSC'; font-weight: 600; font-size: 6.4pt; letter-spacing: .14em; text-transform: uppercase; color: var(--acier); }
.schema { width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 1.5mm 2mm 1mm; }
.schema svg { width: 100%; flex: 1; min-height: 0; }
.schema .trame line { stroke: #c9ced6; stroke-width: .5; }
.schema .cote line { stroke: var(--bleu); stroke-width: .7; }
.schema .cote text { fill: var(--bleu); font-family: 'ArchivoSC'; font-weight: 600; font-size: 8px; }
.schema figcaption { font-size: 5.6pt; color: var(--gris); text-align: center; }
.bloc-t { padding-top: 2mm; }
.sport { display: inline-block; font-family: 'ArchivoSC'; font-weight: 600; font-size: 6pt; letter-spacing: .1em; text-transform: uppercase;
  background: var(--encre); color: #fff; padding: .5mm 1.6mm; border-radius: .4mm; margin-bottom: 1.4mm; }
.ref { display: flex; align-items: center; gap: 2mm; font-size: 7pt; color: var(--acier); }
.ref b { font-size: 8.8pt; font-weight: 700; color: var(--bleu); }
.ref span { flex: 1; }
.bloc h3 { font-family: 'ArchivoCond'; font-weight: 700; font-size: 12.5pt; line-height: 1.05; margin: .8mm 0 1.6mm !important; }
.specs { display: grid; grid-template-columns: 20mm 1fr; gap: .5mm 2mm; font-size: 7pt; }
.specs dt { color: var(--gris); }
.specs dd { color: var(--graphite); }
.normes { display: flex; flex-wrap: wrap; gap: 1mm; margin-top: 1.8mm !important; }
.normes li { font-family: 'ArchivoSC'; font-weight: 600; font-size: 6.2pt; border: .2mm solid var(--encre); padding: .3mm 1.2mm; border-radius: .4mm; }
.decl { width: 100%; border-collapse: collapse; margin-top: 2mm; font-size: 6.8pt; }
.decl th, .decl td { border-top: .2mm solid var(--filet); padding: .7mm 1mm .7mm 0; text-align: left; vertical-align: middle; }
.decl th { width: 17mm; font-weight: 700; color: var(--bleu); white-space: nowrap; }
.decl td { color: var(--graphite); }
.decl td.aj { width: 4.5mm; padding: 0; text-align: right; }
.decl td.pg { width: 9mm; text-align: right; white-space: nowrap; }
.decl td.pg a { color: var(--bleu); font-weight: 600; }
.cite { color: var(--gris); font-size: 6pt; }
.compact .media { height: 26mm; }
.compact h3 { font-size: 10pt; }
.compact .specs { grid-template-columns: 1fr; gap: 0; font-size: 6.6pt; }
.compact .specs dt { display: none; }
.g4 .compact .media { height: 22mm; }
.g4 .compact h3 { font-size: 9pt; }

/* blocs horizontaux (grilles à 2 colonnes) : visuel à gauche, texte à droite, déclinaisons sous le texte */
.g2 { row-gap: 4.5mm; }
.g2 .bloc { display: grid; grid-template-columns: 38mm 1fr; column-gap: 3.5mm; align-items: start; }
.g2 .media { height: 30mm; }
.g2 .bloc-t { padding-top: 0; }
.g2 .bloc h3 { font-size: 11pt; margin: .6mm 0 1.2mm !important; }
.g2 .specs { grid-template-columns: 17mm 1fr; font-size: 6.6pt; gap: .3mm 1.5mm; }
.g2 .normes { margin-top: 1.2mm !important; }
.g2 .decl { margin-top: 1.2mm; font-size: 6.5pt; }
.g2 .decl th { width: 15mm; }
.g2 .decl th, .g2 .decl td { padding-top: .45mm; padding-bottom: .45mm; }

/* ── Fiche produit ── */
.fiche-visuels { position: absolute; left: 14mm; right: 14mm; top: 38mm; height: 84mm; display: grid; grid-template-columns: 1fr 78mm; gap: 4mm; }
.fiche-photo { background: var(--plateau); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 3mm; }
.fiche-photo img { max-width: 100%; max-height: 72mm; object-fit: contain; mix-blend-mode: multiply; }
.fiche-photo .credit { margin-top: 1.5mm; font-size: 5.8pt; color: var(--gris); }
.fiche-visuels .schema { border: .2mm solid var(--filet); padding: 3mm; }
.fiche-corps { position: absolute; left: 14mm; right: 14mm; top: 128mm; display: grid; grid-template-columns: 1fr 1fr; gap: 8mm; }
.fiche-corps h3 { font-family: 'ArchivoCond'; font-weight: 800; font-size: 19pt; line-height: 1; text-transform: uppercase; margin: 1.5mm 0 2.5mm !important; }
.fiche-corps .ref { font-size: 7.4pt; }
.fiche-corps .ref b { font-size: 11pt; }
.fiche-corps .desc { font-size: 8.4pt; color: var(--graphite); margin-bottom: 3mm !important; }
.fiche-corps .specs { grid-template-columns: 24mm 1fr; gap: 1mm 2mm; font-size: 7.4pt; border-top: .5mm solid var(--encre); padding-top: 2mm; }
.fiche-corps h4 { font-family: 'ArchivoSC'; font-weight: 600; font-size: 7pt; letter-spacing: .12em; text-transform: uppercase; color: var(--acier);
  border-bottom: .5mm solid var(--encre); padding-bottom: 1mm; margin: 0 0 0 !important; }
.fiche-corps h4 + .decl { margin-top: 0; margin-bottom: 5mm; }
.fiche-corps .decl { font-size: 7.2pt; }
.liens { margin-top: 4mm !important; display: flex; flex-direction: column; gap: 1.5mm; }
.lien-doc { font-weight: 600; font-size: 7.6pt; color: var(--bleu) !important; border-bottom: .2mm solid var(--bleu); align-self: flex-start; }
.note { margin-top: 3mm !important; font-size: 7pt; color: var(--acier); border-left: .8mm solid var(--jaune); padding-left: 2mm; }
.fiche-seule .fiche-visuels { top: 38mm; }
.fiche-gen { position: absolute; left: 14mm; right: 14mm; bottom: 15mm; font-size: 6.2pt; color: var(--acier); background: var(--fond); padding: 2mm 3mm; }

/* ── Équipements complémentaires ── */
.complementaires .grille.g3 { top: 132mm; }
.complementaires .grille.g4 { top: 206mm; }
.relations { position: absolute; left: 14mm; right: 14mm; top: 46mm; width: 182mm; border-collapse: collapse; table-layout: fixed; font-size: 7pt; }
.relations thead th { font-family: 'ArchivoSC'; font-weight: 600; font-size: 6.6pt; letter-spacing: .1em; text-transform: uppercase; color: var(--acier);
  text-align: left; border-bottom: .5mm solid var(--encre); padding: 0 1mm 1mm 0; }
.relations thead th:first-child { width: 46mm; }
.relations tbody th, .relations td { border-bottom: .2mm solid var(--filet); padding: 1.6mm 1mm 1.6mm 0; text-align: left; vertical-align: top; }
.relations tbody th b { display: block; color: var(--bleu); font-size: 8.4pt; }
.relations tbody th small { font-weight: 400; font-size: 6.8pt; color: var(--graphite); }
.rel { display: inline-flex; align-items: center; gap: .8mm; margin: 0 2.4mm .6mm 0; }
.rel b { font-weight: 700; font-size: 7.6pt; color: var(--encre); }
.rel a b { color: var(--bleu); }
.fix { display: block; font-size: 6pt; color: var(--acier); margin-top: .6mm; }

/* ── Terrain ── */
.terrain-hero { position: absolute; left: 14mm; right: 14mm; top: 38mm; height: 118mm; overflow: hidden; background: var(--graphite); }
.terrain-hero > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.terrain-legende { position: absolute; right: 0; top: 0; bottom: 0; width: 72mm; background: rgba(255,255,255,.96); padding: 4mm; }
.terrain-legende h3 { font-family: 'ArchivoCond'; font-weight: 800; font-size: 16pt; line-height: 1; text-transform: uppercase; margin: 1.5mm 0 3mm !important; }
.terrain-legende .specs { grid-template-columns: 1fr; gap: 0; }
.terrain-legende .specs dt { display: none; }
.bloc.abri { position: absolute; left: 14mm; right: 14mm; top: 163mm; display: grid; grid-template-columns: 92mm 1fr; grid-template-rows: auto 1fr; gap: 0 6mm; }
.bloc.abri .media { height: 64mm; background: #fff; }
.bloc.abri .bloc-t { padding-top: 0; }
.bloc.abri h3 { font-size: 15pt; }
.longueurs { grid-column: 1 / -1; margin-top: 4mm; }
.longueurs h4 { font-family: 'ArchivoSC'; font-weight: 600; font-size: 7pt; letter-spacing: .12em; text-transform: uppercase; color: var(--acier); }
.longueurs .decl { display: block; }
.longueurs .decl tbody { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 5mm; }
.longueurs .decl tr { display: flex; align-items: center; border-top: .2mm solid var(--filet); }
.longueurs .decl th, .longueurs .decl td { border: 0; }

/* ── Devis ── */
.etapes { position: absolute; left: 14mm; right: 14mm; top: 40mm; display: grid; grid-template-columns: repeat(3, 1fr); gap: 5mm; counter-reset: e; }
.etapes li { border-top: .6mm solid var(--bleu); padding-top: 2mm; font-size: 8.4pt; color: var(--graphite); counter-increment: e; }
.etapes li::before { content: counter(e, decimal-leading-zero); display: block; font-family: 'ArchivoCond'; font-weight: 800; font-size: 20pt; color: var(--bleu); line-height: 1; margin-bottom: 1.5mm; }
.etapes b { color: var(--encre); }
.devis-web { position: absolute; left: 14mm; top: 74mm; }
.devis-form { position: absolute; left: 14mm; right: 14mm; top: 90mm; display: grid; grid-template-columns: 1.15fr 1fr; gap: 7mm; }
.form-lignes { width: 100%; border-collapse: collapse; font-size: 7pt; }
.form-lignes th { text-align: left; font-family: 'ArchivoSC'; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--acier);
  border-bottom: .5mm solid var(--encre); padding-bottom: 1mm; }
.form-lignes th:last-child { width: 18mm; }
.form-lignes th:first-child { width: 24mm; }
.form-lignes td { height: 9.4mm; border-bottom: .2mm solid var(--filet); }
.champs p { border-bottom: .2mm solid var(--filet); height: 11mm; display: flex; align-items: flex-end; padding-bottom: 1mm; }
.champs span { font-family: 'ArchivoSC'; font-weight: 600; font-size: 6.6pt; letter-spacing: .1em; text-transform: uppercase; color: var(--acier); }
.champs p.msg { height: 26mm; align-items: flex-start; padding-top: 2mm; border: .2mm solid var(--filet); padding-left: 2mm; margin-top: 3mm; }
.preparer { position: absolute; left: 14mm; right: 14mm; top: 196mm; background: var(--fond); border-left: 1.2mm solid var(--jaune); padding: 4mm 5mm; }
.preparer h4 { font-family: 'ArchivoCond'; font-weight: 800; font-size: 11pt; text-transform: uppercase; margin-bottom: 2mm !important; }
.preparer li { font-size: 8pt; color: var(--graphite); padding-left: 3mm; position: relative; margin-bottom: 1.2mm; }
.preparer li::before { content: ''; position: absolute; left: 0; top: 1.6mm; width: 1.2mm; height: 1.2mm; background: var(--bleu); }

/* ── Contact (dos) ── */
.contact { background: var(--bleu); color: #fff; }
.ct-logo { position: absolute; left: 14mm; top: 16mm; width: 36mm; }
.ct-logo img { width: 100%; }
.contact h2 { position: absolute; left: 14mm; right: 30mm; top: 78mm; font-family: 'ArchivoCond'; font-weight: 800; font-size: 40pt; line-height: .92; text-transform: uppercase; }
.ct-eng { position: absolute; left: 14mm; right: 40mm; top: 128mm; }
.ct-eng li { font-size: 9pt; line-height: 1.45; color: rgba(255,255,255,.88); border-top: .25mm solid rgba(255,255,255,.25); padding: 2.4mm 0; }
.ct-eng b { color: var(--jaune); font-weight: 600; }
.ct-coord { position: absolute; left: 14mm; top: 196mm; font-size: 11pt; line-height: 1.55; }
.ct-coord p:first-child { font-family: 'ArchivoCond'; font-weight: 800; font-size: 14pt; letter-spacing: .04em; }
.ct-coord a { border-bottom: .25mm solid rgba(255,255,255,.5); }
.ct-cta { position: absolute; left: 14mm; top: 240mm; }
.contact .bouton { background: var(--jaune); color: var(--encre) !important; font-size: 10pt; padding: 3mm 6mm; }
.ct-source { position: absolute; left: 14mm; bottom: 17mm; font-size: 6pt; color: rgba(255,255,255,.55); }
