/* domogenie.fr : compléments au système de design dg.css (copié tel quel du design v2).
   Polices auto-hébergées, et classes qui remplacent les styles en ligne de la maquette,
   interdits par la politique de sécurité du contenu. */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/inter-latin-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/inter-latin-500.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/inter-latin-600.woff2') format('woff2'); }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/outfit-latin-600.woff2') format('woff2'); }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/outfit-latin-700.woff2') format('woff2'); }

body { margin: 0; background: var(--fond); }
a { color: var(--vert-texte); }
a:hover { color: var(--noir); }
.dg { width: 100%; min-height: 100vh; }

/* Lien d'évitement, visible au clavier seulement */
.evitement { position: absolute; left: 16px; top: -64px; z-index: 20; padding: 12px 16px; border-radius: 12px; background: var(--noir); color: var(--blanc); font-family: var(--police-texte); font-weight: 600; text-decoration: none; }
.evitement:focus { top: 16px; color: var(--blanc); }

/* Pleine largeur (demande de Franck du 29 octobre 2026) : les blocs sombres vont d'un bord à l'autre de l'écran,
   les textes restent limités à la largeur du design (.wrap, 1 440 px) pour rester lisibles */
.wrap-large { max-width: none; }
/* Au-delà de 1 440 px, le contenu des blocs pleine largeur (logo, menu, textes du bloc d'accueil) s'aligne
   sur la colonne centrée de 1 296 px des autres sections, comme sur projecia.fr. Le pourcentage du padding
   se calcule sur la largeur du bloc parent ; le bandeau du bloc d'accueil est décalé de 16 px dans celui-ci. */
@container (min-width: 1441px) {
  .hero-int { padding-inline: calc((100% - 1296px) / 2); }
  .hero > .nav { padding-inline: calc((100% - 1296px) / 2 - 16px); }
  .nav-statique { padding-inline: calc((100% - 1296px) / 2); }
}

/* Logo plus grand que dans la maquette (demande de Franck du 29 octobre 2026) : 52 px au lieu de 34, 36 au lieu de 26 sur mobile,
   au plus près de la hauteur du bandeau (76 px, 64 sur mobile) */
.nav-logo { height: 52px; }
@container (max-width: 700px) { .nav-logo { height: 36px; } }

/* Espacements de la maquette */
.haut-16 { padding-top: 16px; }

/* Bandeau : lien de la page courante */
.nav-liens a[aria-current="page"] { color: var(--vert-texte); }

/* Menu mobile sans JavaScript */
.menu-mobile { display: none; margin-left: auto; position: relative; }
.menu-mobile > summary { list-style: none; }
.menu-mobile > summary::-webkit-details-marker { display: none; }
.menu-mobile-panneau { position: absolute; right: 0; top: 56px; width: min(320px, calc(100vw - 32px)); padding: 12px; display: flex; flex-direction: column; gap: 4px; z-index: 10; }
.menu-mobile-panneau a:not(.btn) { display: flex; align-items: center; min-height: 48px; padding: 0 12px; border-radius: 12px; color: var(--noir); text-decoration: none; font-weight: 500; }
.menu-mobile-panneau a:not(.btn):hover, .menu-mobile-panneau a[aria-current="page"] { background: var(--gris-clair); }
.menu-mobile-panneau .btn { margin-top: 8px; }
/* le bloc d'accueil coupe ce qui dépasse : le menu ouvert doit pouvoir en sortir */
.hero:has(.menu-mobile[open]) { overflow: visible; }
@container (max-width: 700px) {
  .menu-mobile { display: block; }
  .menu-mobile .nav-burger { margin-left: 0; }
}

/* Bloc d'accueil */
.hero-colonne { max-width: 760px; }
.hero-coches { color: var(--blanc); font-size: 18px; line-height: 26px; }
.btn-hero { min-width: 260px; }
.hero-note { color: rgba(255,255,255,0.78); max-width: 440px; }
.hero-note b { color: var(--blanc); font-weight: 600; }
.garantie-titre { font-weight: 600; font-size: 16px; line-height: 22px; }
@container (max-width: 700px) { .btn-hero { min-width: 0; } }

/* Pied de page */
.pied-logo { height: 46px; width: auto; align-self: flex-start; }
.pied-etiquette { color: rgba(255,255,255,0.6); }

/* Zones tactiles de 44 px au moins sur mobile (cahier, accessibilité) */
@container (max-width: 700px) {
  .pied nav.pile, .pied .pile:has(> p > a) { gap: 0; }
  .pied nav a, .pied p a, .ariane a, .nav > a:first-child, .tableau td a, .liste-communes a, .lien-titre { display: inline-flex; align-items: center; min-height: 44px; }
  .liste-communes ul { gap: 0; }
  .pied nav .t-etiquette { margin-bottom: 4px; }
}

/* Espacements complémentaires */
.gap-6 { gap: 6px; } .gap-20 { gap: 20px; }
.haut-56 { padding-top: 56px; }
.note-sous-grille { margin-top: 20px; }
.bloc-1120 { max-width: 1120px; margin: 0 auto; }
.bloc-1040 { max-width: 1040px; }
.tableau-760 { min-width: 760px; }
.tableau .num { white-space: nowrap; }
.cellule-forte { font-weight: 600; color: var(--noir); }
.texte-liste { font-size: 15px; line-height: 22px; }
.t-carte-petit { font-size: 19px; line-height: 25px; }

/* Bandeaux d'aperçu, hors production seulement */
.apercu { background: #FFF6D6; border: 1px solid #E8D48A; border-radius: 14px; padding: 12px 16px; font-size: 14px; line-height: 20px; color: var(--noir); display: flex; flex-direction: column; gap: 4px; }

/* Blocs d'accueil des pages commune et secteur */
.hero-compact { min-height: 0; }
.hero-bas-72 { padding-bottom: 72px; }
.hero-bas-64 { padding-bottom: 64px; }
.ariane-courant { color: var(--blanc); }
.tranche-grande { font-size: 17px; gap: 8px 14px; flex-wrap: wrap; }
.tranche-grande .tranche { gap: 5px; }
.tranche-grande .seg { width: 32px; height: 10px; border-radius: 5px; }
.tranche-pile { flex-direction: column; align-items: flex-start; gap: 6px; }
.tuiles-prix { gap: 12px; max-width: 760px; }
.tuile-prix { background: rgba(255,255,255,0.08); border-radius: 16px; padding: 16px 18px; }
.tuile-prix .t-etiquette { color: rgba(255,255,255,0.72); }
.tuile-prix-valeur { font-family: var(--police-titre); font-weight: 700; font-size: 40px; line-height: 44px; color: var(--blanc); }
.tuile-prix-detail { color: rgba(255,255,255,0.72); font-size: 13px; line-height: 18px; }
.tuile-prix-moyenne { color: var(--blanc); font-size: 15px; line-height: 20px; font-weight: 500; }
.tuile-prix-fourchette { color: rgba(255,255,255,0.86); font-size: 13px; line-height: 18px; }
.non-publie { background: rgba(255,255,255,0.08); border-radius: 16px; padding: 20px 22px; color: rgba(255,255,255,0.86); max-width: 760px; }
.non-publie .t-carte { color: var(--blanc); font-size: 19px; line-height: 25px; }
.non-publie-bouton { align-self: flex-start; max-width: 100%; white-space: normal; text-align: center; height: auto; min-height: 48px; padding-block: 12px; }
.explication-mediane { max-width: 760px; }
.explication-mediane a { color: var(--blanc); }
.hero-source { color: rgba(255,255,255,0.72); }
.hero-carte { padding: 24px; align-self: end; color: var(--texte); }
.btn-52 { height: 52px; }
.chapeau-sombre { font-size: 19px; line-height: 29px; color: rgba(255,255,255,0.86); max-width: 720px; }
.pill-sombre { background: rgba(255,255,255,0.1); color: var(--blanc); }
.hero-carte-secteur { align-self: center; margin: 0; }
@container (max-width: 700px) {
  .tuile-prix-valeur { font-size: 32px; line-height: 36px; }
  .hero-carte-secteur { max-width: 320px; }
}

/* Carte des secteurs */
/* Carte des secteurs sur contours IGN : filets blancs entre communes, limites de secteur, numéros */
.carte-svg .zone { stroke: var(--blanc); stroke-width: 0.8; stroke-linejoin: round; }
.carte-limites { fill: none; stroke: var(--ardoise); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; pointer-events: none; }
.carte-numeros { pointer-events: none; }
.carte-numeros circle { fill: var(--blanc); stroke: var(--ardoise); stroke-width: 2; }
.carte-numeros text { font-family: var(--police-titre); font-weight: 600; font-size: 19px; fill: var(--noir); }
.carte-numeros .on circle { fill: var(--noir); stroke: var(--blanc); }
.carte-numeros .on text { fill: var(--blanc); }
.carte-sombre-svg .carte-limites { stroke: rgba(255,255,255,0.7); stroke-width: 1.8; }
.carte-sombre-svg .carte-numeros circle { fill: var(--ardoise); stroke: rgba(255,255,255,0.7); }
.carte-sombre-svg .carte-numeros text { fill: var(--blanc); }
.carte-svg a:focus-visible .zone { fill: var(--vert-vif); outline: none; }
.carte-sombre-svg .zone { fill: rgba(255,255,255,0.14); stroke: var(--ardoise); stroke-width: 0.8; cursor: default; }
.carte-sombre-svg .zone.alt { fill: rgba(255,255,255,0.2); }
.carte-sombre-svg .zone.on, .carte-sombre-svg .zone:hover.on { fill: var(--vert-vif); }
.carte-sombre-svg .zone:hover:not(.on) { fill: rgba(255,255,255,0.14); }
.titre-bloc-40 { margin-bottom: 40px; }
.titre-marche { font-size: clamp(30px, 3.4cqi, 48px); line-height: 1.15; }
.carte-cadre { margin: 0; }
.legende-carte { padding: 12px 8px 0; }
a.btn-secteur { text-decoration: none; }
.btn-secteur-nom { flex: 1; display: flex; flex-direction: column; }
.btn-secteur-detail { font-weight: 400; }
.liste-communes a { color: var(--noir); text-decoration: none; }
.liste-communes a:hover { color: var(--vert-texte); text-decoration: underline; }
.lien-titre { color: var(--noir); text-decoration: none; }

/* Page commune */
.carte-lien { text-decoration: none; color: var(--texte); transition: background-color 200ms ease; }
.carte-lien:hover { background: #E4E4E4; color: var(--texte); }
.pill-ecart { font-weight: 600; color: var(--noir); }
.voisine-prix { font-family: var(--police-titre); font-weight: 700; font-size: 28px; line-height: 32px; }
.carte-chiffre { padding: 18px 20px; }
.chiffre-moyen { font-size: 36px; line-height: 40px; }
.photo-420 { height: 420px; }
.photo-460 { height: 460px; }
.photo-label svg { flex: none; margin-top: 7px; }
.bloc-sombre-64 { padding: 64px 0; }
.split-haut { align-items: start; }
.niveau { align-items: flex-start; background: rgba(255,255,255,0.06); border-radius: 14px; padding: 16px 18px; }
.niveau b { font-weight: 600; }
.badge-petit { height: 32px; min-width: 32px; font-size: 15px; }
.carte-formulaire { padding: 32px; color: var(--texte); }
.titre-faq { margin-bottom: 32px; }
.bloc-sources { max-width: 1120px; margin: 0 auto; }
@container (max-width: 700px) {
  .photo-420, .photo-460 { height: 260px; }
  .bloc-sombre-64 { padding: 40px 0; }
  .carte-formulaire { padding: 24px; }
}

/* Évolution des prix sur 5 ans */
.evolution { margin: 0; }
.evolution-graphique { display: block; }
.barre-actuelle { fill: var(--vert-vif); }
.barre-passee { fill: #9AA3AB; }
.barre-vide { fill: none; stroke: var(--bordure); stroke-width: 2; stroke-dasharray: 5 4; }
.evolution-valeur { font-family: var(--police-titre); font-weight: 600; font-size: 17px; fill: var(--noir); font-variant-numeric: tabular-nums; }
.evolution-vide { fill: var(--gris-moyen); }
.evolution-periode { font-family: var(--police-texte); font-size: 14px; fill: var(--texte); }
.evolution-ventes { font-family: var(--police-texte); font-size: 13px; fill: var(--gris-moyen); }

/* Questions en accordéon sans JavaScript */
details.acc-ligne > summary { list-style: none; }
details.acc-ligne > summary::-webkit-details-marker { display: none; }
details.acc-ligne .signe-croix { display: none; }
details.acc-ligne[open] .signe-plus { display: none; }
details.acc-ligne[open] .signe-croix { display: inline; }

/* Page secteur */
.ligne-base { align-items: baseline; }
.texte-centre-860 { max-width: 860px; margin: 32px auto 0; text-align: center; }
.ligne-commune { background: var(--gris-clair); border-radius: 14px; padding: 16px 18px; }
.ligne-commune-texte { flex: 1; min-width: 0; }
.nom-commune { font-family: var(--police-titre); font-weight: 600; font-size: 20px; line-height: 26px; }
.carte-32 { padding: 32px; }
.carte-bordee { background: var(--blanc); border: 1px solid var(--bordure); }
.profil-titre { font-family: var(--police-titre); font-weight: 600; font-size: 19px; color: var(--vert-vif); }
.profil-bouton { align-self: flex-start; margin-top: auto; }
.carte-methode { padding: 40px clamp(20px, 4cqi, 56px); border-radius: 24px; align-items: start; }
.lien-pill { text-decoration: none; color: var(--noir); height: 44px; padding: 0 14px; }
.lien-pill:hover { background: #E4E4E4; color: var(--noir); }
@container (max-width: 700px) {
  .carte-32 { padding: 22px; }
  .ligne-commune { flex-wrap: wrap; }
  /* sur téléphone, le bouton passe sous la tranche au lieu de la recouvrir */
  .ligne-commune-texte { flex-basis: 100%; }
  .ligne-commune .tranche-lecture { flex-wrap: wrap; }
}

/* Accueil complet */
.marge-haut-32 { margin-top: 32px; }
.marge-haut-40 { margin-top: 40px; }
.centre-flex { justify-content: center; }
.ligne-haut { align-items: flex-start; }
.ligne-bas { align-items: flex-end; }
.etape-230 { min-height: 230px; }
.texte-19 { font-size: 19px; line-height: 29px; }
.photo-220 { height: 220px; }
.photo-300 { height: 300px; }
.photo-340 { height: 340px; }
.photo-etiquettes { position: absolute; left: 20px; bottom: 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.etiquette-vert, .etiquette-noir { font-family: var(--police-titre); font-weight: 700; font-size: 18px; padding: 4px 10px; border-radius: 4px; text-transform: uppercase; }
.etiquette-vert { background: var(--vert-vif); color: var(--noir); }
.etiquette-noir { background: var(--noir); color: var(--blanc); }
.pill-texte { height: auto; padding: 10px 14px; justify-content: center; }
.unite-chiffre { font-weight: 500; padding-bottom: 6px; }
.carte-20 { padding: 20px; }
.carte-24 { padding: 24px; }
.paire-blanche { background: var(--blanc); }
.paire-vert { background: var(--vert-vif); }
.paire-vert span { color: var(--noir); font-weight: 600; }
.colonnes-32 { column-gap: 32px; }
.titre-26 { font-size: 26px; line-height: 32px; margin-top: 8px; }
.ligne-comparatif { align-items: flex-start; background: var(--gris-clair); border-radius: 12px; padding: 14px 16px; }
.profil-bouton-plein { margin-top: auto; }
.recherche-commune { max-width: 720px; margin: 0 auto 40px; align-items: flex-end; }
.recherche-champ { flex: 1 1 320px; }
@container (max-width: 700px) {
  .etape-230 { min-height: 0; }
  .photo-340 { height: 260px; }
  .etiquette-vert, .etiquette-noir { font-size: 15px; }
  .recherche-commune .btn { width: 100%; }
}

/* Pages d'information */
.bloc-texte { max-width: 880px; }
.titre-bloc-gauche { margin: 0 0 40px; text-align: left; align-items: flex-start; max-width: none; }
.titre-page { font-size: clamp(30px, 3.4cqi, 48px); line-height: 1.15; }
.apercu-contenu { background: #FFF6D6; border: 1px solid #E8D48A; border-radius: 14px; padding: 14px 18px; font-size: 15px; line-height: 22px; color: var(--noir); }

/* Back-office */
.admin-contenu { padding-block: 40px 96px; }
.admin-titre { font-size: clamp(28px, 3cqi, 40px); line-height: 1.2; }
.admin-liens { gap: 20px; }
.admin-deconnexion { margin: 0; }
.admin-carte-etroite { max-width: 460px; margin: 40px auto 0; padding: 32px; }
.admin-erreur { background: #FDECEA; border: 1px solid #F0B8B0; border-radius: 12px; padding: 12px 14px; color: #8A1C10; font-size: 15px; }
.admin-code { font-size: 24px; letter-spacing: 0.2em; font-variant-numeric: tabular-nums; }
.admin-select { height: 44px; width: auto; padding: 0 12px; }
.champ-fichier { padding: 12px 16px; height: auto; }
.admin-ligne-forte td { background: #FFF6D6; }
.admin code { font-size: 14px; word-break: break-all; }
.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@container (max-width: 700px) { .admin-deconnexion { margin-left: auto; } }

/* Page d'erreur */
.erreur-detail { font-family: ui-monospace, monospace; color: var(--gris-moyen); }


/* Comparateur des cinq notes (page Marché) : grille de barres sur ordinateur ; sur téléphone, une note à la fois pour les 9 secteurs */
.comparateur { padding: 56px clamp(20px, 4cqi, 56px); }
.comparateur .titre-bloc { margin-bottom: 32px; }
.comparateur-choix, .comparateur-puces { display: none; }
.tableau-notes { width: 100%; border-collapse: separate; border-spacing: 0 6px; font-size: 15px; line-height: 20px; }
.tableau-notes thead th { text-align: left; font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.72); padding: 0 14px 6px; }
.tableau-notes th[scope="row"], .tableau-notes td { background: rgba(255,255,255,0.06); padding: 10px 14px; vertical-align: middle; }
.tableau-notes th[scope="row"] { border-radius: 12px 0 0 12px; text-align: left; font-weight: 600; }
.tableau-notes td:last-child { border-radius: 0 12px 12px 0; }
.tableau-notes tbody tr:hover th, .tableau-notes tbody tr:hover td { background: rgba(255,255,255,0.12); }
.tableau-notes th a { display: inline-flex; align-items: center; gap: 12px; min-height: 32px; color: var(--blanc); text-decoration: none; }
.tableau-notes th a:hover { text-decoration: underline; }
.tableau-notes .n { flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--vert-vif); color: var(--noir); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
.tableau-notes .seg { width: 18px; }
.tranche-mini .seg { width: 12px; height: 6px; border-radius: 3px; }
.tranche-mini { gap: 3px; }
@container (max-width: 900px) {
  .comparateur { padding: 32px 20px; }
  .comparateur-puces { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
  .comparateur-puces .puce-choix { background: rgba(255,255,255,0.1); color: var(--blanc); }
  .tableau-notes thead { display: none; }
  .tableau-notes [class^="col-"] { display: none; }
  .tableau-notes th[scope="row"] { width: 100%; }
  .tableau-notes td { border-radius: 0 12px 12px 0; white-space: nowrap; }
  .tableau-notes .seg { width: 22px; }
  #note-1:checked ~ .tableau-notes .col-1, #note-2:checked ~ .tableau-notes .col-2, #note-3:checked ~ .tableau-notes .col-3,
  #note-4:checked ~ .tableau-notes .col-4, #note-5:checked ~ .tableau-notes .col-5 { display: table-cell; }
  #note-1:checked ~ .comparateur-puces [for="note-1"], #note-2:checked ~ .comparateur-puces [for="note-2"], #note-3:checked ~ .comparateur-puces [for="note-3"],
  #note-4:checked ~ .comparateur-puces [for="note-4"], #note-5:checked ~ .comparateur-puces [for="note-5"] { background: var(--vert-vif); color: var(--noir); font-weight: 600; }
  .comparateur-choix { display: block; position: absolute; opacity: 0; width: 1px; height: 1px; }
  #note-1:focus-visible ~ .comparateur-puces [for="note-1"], #note-2:focus-visible ~ .comparateur-puces [for="note-2"], #note-3:focus-visible ~ .comparateur-puces [for="note-3"],
  #note-4:focus-visible ~ .comparateur-puces [for="note-4"], #note-5:focus-visible ~ .comparateur-puces [for="note-5"] { outline: 2px solid var(--blanc); outline-offset: 2px; }
}

/* Page secteur : sous-sol, coupe géologique schématique (couleurs du design v2 uniquement) */
.t-sous-section { font-family: var(--police-titre); font-weight: 600; font-size: 28px; line-height: 34px; color: var(--noir); }
.coupe { margin: 0; }
.coupe-svg { display: block; height: auto; }
.coupe-etroite { display: none; }
.coupe-numero circle { fill: var(--vert-vif); stroke: var(--blanc); stroke-width: 1.5; }
.coupe-numero text { font-family: var(--police-titre); font-weight: 600; font-size: 13px; fill: var(--noir); }
.coupe-points { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.coupe-points li { display: flex; align-items: center; gap: 10px; }
.coupe-points-numero { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--vert-vif); color: var(--noir); font-family: var(--police-titre); font-weight: 600; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; }
.couche { stroke: var(--blanc); stroke-width: 1; }
.couche-surface { fill: rgba(128,192,64,0.55); }
.couche-argile { fill: rgba(40,48,56,0.78); }
.couche-sables { fill: var(--bordure); }
.couche-craie { fill: var(--blanc); stroke: var(--bordure); }
.couche-dieves { fill: rgba(107,107,107,0.55); }
.couche-calcaire { fill: var(--ardoise); }
.coupe-sol { fill: none; stroke: var(--vert-texte); stroke-width: 2; }
.coupe-repere { stroke: var(--noir); stroke-width: 1; stroke-dasharray: 3 4; opacity: 0.35; }
.coupe-commune { font-family: var(--police-titre); font-weight: 600; font-size: 15px; fill: var(--noir); }
.coupe-craie { font-family: var(--police-texte); font-size: 12px; fill: var(--noir); }
.coupe-cote, .coupe-axe { font-family: var(--police-texte); font-size: 11px; fill: var(--gris-moyen); }
.coupe-axe { font-weight: 600; }
.coupe-legende { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 24px; }
.coupe-legende li { display: flex; align-items: center; gap: 10px; }
.coupe-pastille { flex: none; width: 18px; height: 14px; border-radius: 4px; border: 1px solid var(--bordure); }
.coupe-pastille.couche-surface { background: rgba(128,192,64,0.55); }
.coupe-pastille.couche-argile { background: rgba(40,48,56,0.78); }
.coupe-pastille.couche-sables { background: var(--bordure); }
.coupe-pastille.couche-craie { background: var(--blanc); }
.coupe-pastille.couche-dieves { background: rgba(107,107,107,0.55); }
.coupe-pastille.couche-calcaire { background: var(--ardoise); }
@media (max-width: 700px) {
  .t-sous-section { font-size: 22px; line-height: 28px; }
  .coupe-legende { grid-template-columns: minmax(0, 1fr); }
  /* sur téléphone, la coupe étroite remplace la large : dessin entier à la largeur de l'écran, communes numérotées */
  .coupe-large { display: none; }
  .coupe-etroite { display: block; }
  .coupe-svg-etroit .coupe-cote, .coupe-svg-etroit .coupe-axe { font-size: 12px; }
}

/* Parcours d'analyse d'une annonce (lot 2) : choix en vrais boutons radio, sans JavaScript, présentés comme les tuiles de la maquette */
.groupe-choix { border: 0; margin: 0; padding: 0; min-width: 0; }
.groupe-choix > legend { padding: 0; margin: 0 0 10px; }
label.tuile, label.puce-choix { position: relative; }
.tuile:has(input:checked) { background: var(--blanc); border-color: var(--noir); }
.tuile:has(input:checked) .tuile-icone { background: var(--vert-vif); }
.puce-choix:has(input:checked) { background: var(--blanc); border-color: var(--noir); font-weight: 600; }
.tuile:has(input:focus-visible), .puce-choix:has(input:focus-visible) { outline: 2px solid var(--noir); outline-offset: 2px; }
.tuiles-4 .tuile { min-height: 132px; }
.prog > .prog-1 { width: 16.7%; } .prog > .prog-2 { width: 33.3%; } .prog > .prog-3 { width: 50%; }
.prog > .prog-4 { width: 66.7%; } .prog > .prog-5 { width: 83.3%; } .prog > .prog-6 { width: 100%; }
.quiz-boutons { flex: 1; justify-content: flex-end; }
.zone-texte { height: auto; padding: 12px 16px; line-height: 22px; resize: vertical; }
.champ[aria-invalid="true"] { border-color: #8A1C10; }
.erreur-champ { margin: 6px 0 0; color: #8A1C10; font-size: 14px; line-height: 20px; }
.alerte { margin: 0; background: #FDECEA; border: 1px solid #F0B8B0; border-radius: 12px; padding: 12px 14px; color: #8A1C10; font-size: 15px; line-height: 22px; }
.alerte-info { background: #FFF6DD; border-color: #EBD28E; color: #4D3A00; }
.piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.carte-chiffre { padding: 18px 20px; }
.chiffre-36 { font-size: clamp(26px, 2.6vw, 36px); line-height: 42px; white-space: nowrap; }
.chiffre-26 { font-size: 26px; line-height: 42px; }
.separe { padding-top: 20px; border-top: 1px solid var(--gris-clair); }
.quiz-corps .liste-coches .t-petit { font-size: 15px; line-height: 22px; }
.panneau .t-petit { font-size: 15px; line-height: 23px; }
.aligne-bas { align-items: end; }
.quiz-corps .carte .t-petit { font-size: 15px; line-height: 22px; }

/* Back-office des contacts (lot 2) */
.marge-haut-16 { margin-top: 16px; }
.marge-haut-24 { margin-top: 24px; }
.admin-formulaire { max-width: 560px; }
.admin-court { max-width: 160px; }
.priorite { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--gris-clair); color: var(--texte); }
.priorite-haute { background: var(--vert-vif); color: var(--noir); }
.priorite-attente { background: transparent; border: 1px solid var(--bordure); color: var(--gris-moyen); }
.courriel-texte { white-space: pre-wrap; font-family: var(--police-texte); font-size: 14px; line-height: 21px; overflow-wrap: anywhere; }
