/* Une image dont seule la largeur est fixée garde ses proportions */
:where(img[height]) { height: auto; }
/* JDL GROUPE · composants des pages intérieures (s'ajoute à jdl-base.css) */
.nav a[aria-current="page"] { color: var(--rouge-fonce); background: #FDECEC; }
.marque { display: inline-flex; align-items: center; flex: none; font: italic 900 1.75rem/1 "Schibsted Grotesk", var(--texte); letter-spacing: -.03em; text-decoration: none; color: var(--encre); }
.marque b { background: var(--rouge); color: #fff; padding: 5px 13px 5px 10px; transform: skewX(-12deg); margin-right: 3px; }
.marque b span { display: inline-block; transform: skewX(12deg); }
.pied .marque { font-size: 1.4rem; }
.rev { opacity: 0; transform: translateY(16px); transition: opacity .6s, transform .6s cubic-bezier(.2,.8,.2,1); }
.rev.vu { opacity: 1; transform: none; }

/* En-tête de page */
.page-tete { padding-block: clamp(28px, 4vw, 56px) clamp(24px, 3vw, 40px); }
.ariane { font-size: .88rem; color: var(--gris); margin-bottom: 14px; }
.ariane a { color: var(--gris); }
.page-tete h1 { font-size: clamp(2.8rem, 7vw, 6.4rem); line-height: .92; max-width: 18ch; }
.page-tete .chapo { font-size: 1.2rem; color: var(--encre); max-width: 62ch; margin-top: 16px; }
.page-tete .acts { margin-top: 24px; }
.accroche-r { font: 700 clamp(1.1rem, 1.5vw, 1.35rem)/1.15 var(--titre); color: var(--rouge-fonce); margin-bottom: 12px; }
.tete-img { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.tete-img img { width: 100%; border-radius: 18px; object-fit: cover; }

/* Grilles et blocs */
.g2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.g4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.bloc { border-radius: var(--r); background: var(--bitume); padding: clamp(20px, 2.4vw, 28px); }
.bloc.ciel { background: var(--ciel); }
.bloc.jaune { background: var(--jaune-clair); }
.bloc.blanc { background: #fff; }
.bloc h3 { font-size: 1.8rem; }
.bloc p + p, .bloc h3 + p { margin-top: 8px; }
.gros-chiffre { display: block; font: 800 clamp(2.4rem, 4vw, 3.4rem)/1 var(--titre); color: var(--rouge-fonce); }
.liste-coche { list-style: none; padding: 0; display: grid; gap: 8px; margin-top: 12px; }
.liste-coche li { padding-left: 28px; position: relative; }
.liste-coche li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: var(--rouge) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.6 2.6L13 6.6' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.pastille { display: inline-block; padding: 4px 10px; border-radius: 999px; background: #fff; font-weight: 700; font-size: .82rem; }
.pastille.r { background: var(--rouge); color: #fff; } .pastille.b { background: var(--bleu); color: #fff; } .pastille.j { background: var(--jaune); }
.note { font-size: .88rem; color: var(--gris); }
.centre { text-align: center; }
.appel { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; padding: clamp(24px, 3vw, 40px); border-radius: 22px; background: var(--rouge); color: #fff; }
.appel h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.appel p { margin-top: 8px; font-size: 1.1rem; }
.appel .acts { margin: 0; }

/* Formulaires */
.form { display: grid; gap: 14px; }
.champ { display: grid; gap: 6px; }
.champ label, .champ legend { font-weight: 600; }
.champ input, .champ select, .champ textarea { min-height: 50px; padding: 10px 14px; border: 2px solid #C9D1DB; border-radius: 8px; background: #fff; font: inherit; }
.champ textarea { min-height: 120px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--bleu); }
.champ small { color: var(--gris); }
.deux { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.choix-cases { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; }
.choix-cases label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px; background: var(--bitume); cursor: pointer; font-weight: 600; }
.choix-cases input { width: 18px; height: 18px; accent-color: var(--rouge); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--rouge); }

/* Étapes d'un parcours */
.etapes { list-style: none; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; counter-reset: e; }
.etapes li { counter-increment: e; display: flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; background: var(--bitume); font-weight: 600; color: var(--gris); }
.etapes li::before { content: counter(e); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; font-weight: 700; }
.etapes li[aria-current="step"] { background: var(--encre); color: #fff; }
.etapes li[aria-current="step"]::before { background: var(--rouge); }
.etapes li.fait { color: var(--encre); }
.etapes li.fait::before { content: "✓"; background: var(--jaune); }

/* Tableaux de prix */
.tarifs { width: 100%; border-collapse: collapse; font-size: .98rem; }
.tarifs th, .tarifs td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--trait); vertical-align: middle; }
.tarifs th { font: 700 .85rem var(--texte); color: var(--gris); }
.tarifs td.prix { font: 800 1.25rem var(--titre); white-space: nowrap; }
.tarifs button { min-height: 40px; padding: 0 14px; border-radius: 8px; border: 2px solid var(--encre); background: #fff; font-weight: 700; cursor: pointer; white-space: nowrap; }
.tarifs button[aria-pressed="true"] { background: var(--encre); color: #fff; }

/* Cartes magazine */
.mag-carte { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 22px; align-items: start; }
.mag-carte img { width: 170px; aspect-ratio: 210/297; object-fit: cover; object-position: top; border-radius: 4px; box-shadow: 0 16px 28px -16px rgba(22,24,29,.5); }
.mag-carte h3 { font-size: 2rem; }
.couvs { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 8px; }
.couvs figure { flex: none; width: 170px; }
.couvs img { width: 100%; aspect-ratio: 210/297; object-fit: cover; object-position: top; border-radius: 4px; box-shadow: 0 14px 24px -16px rgba(22,24,29,.5); }
.couvs figcaption { margin-top: 8px; font-size: .88rem; font-weight: 600; }
.barres { display: grid; gap: 10px; }
.barres div { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 2fr) auto; gap: 12px; align-items: center; font-size: .95rem; }
.barres i { display: block; height: 12px; border-radius: 6px; background: var(--rouge); width: var(--w); }
.barres span.fond { background: #E1E5EA; border-radius: 6px; overflow: hidden; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--trait); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font: 700 1.35rem/1.2 var(--titre); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-size: 1.6rem; color: var(--rouge); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 18px; max-width: 70ch; }

/* Téléphone (page application) */
.tel { width: 320px; max-width: 100%; aspect-ratio: 9/19; border-radius: 44px; background: var(--encre); padding: 12px; margin-inline: auto; box-shadow: 0 30px 60px -30px rgba(22,24,29,.6); }
.tel-ecran { position: relative; height: 100%; border-radius: 34px; background: #fff; overflow: hidden; display: flex; flex-direction: column; }
.tel-barre { display: flex; justify-content: space-between; padding: 10px 22px 6px; font-size: .72rem; font-weight: 700; }
.tel-tete { display: flex; justify-content: space-between; align-items: center; padding: 6px 14px 10px; border-bottom: 1px solid var(--trait); }
.tel-tete .marque { font-size: 1.1rem; }
.tel-corps { flex: 1; overflow-y: auto; padding: 12px 14px; font-size: .85rem; }
.tel-nav { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--trait); background: #fff; }
.tel-nav button { border: 0; background: none; padding: 8px 2px 12px; font-size: .68rem; font-weight: 700; color: var(--gris); cursor: pointer; display: grid; justify-items: center; gap: 3px; }
.tel-nav button svg { width: 20px; height: 20px; }
.tel-nav button[aria-selected="true"] { color: var(--rouge); }
.t-art { display: grid; grid-template-columns: 76px 1fr; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--bitume); }
.t-art img { width: 76px; height: 56px; object-fit: cover; border-radius: 6px; }
.t-art b { font-size: .82rem; line-height: 1.25; display: block; }
.t-art span { font-size: .7rem; color: var(--bleu); font-weight: 700; }

/* Administration et espace annonceur (écrans de travail) */
.app-ecran { display: grid; grid-template-columns: 236px minmax(0, 1fr); min-height: 100vh; background: #F6F7F9; }
.app-cote { background: #fff; border-right: 1px solid var(--trait); padding: 18px 12px; display: flex; flex-direction: column; gap: 4px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.app-cote .marque { font-size: 1.25rem; margin: 4px 8px 18px; }
.app-cote button, .app-cote a.mod { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 40px; padding: 0 12px; border: 0; border-radius: 8px; background: none; font-weight: 600; font-size: .92rem; text-align: left; cursor: pointer; text-decoration: none; color: var(--encre); }
.app-cote button:hover { background: var(--bitume); }
.app-cote button[aria-selected="true"] { background: #FDECEC; color: var(--rouge-fonce); }
.app-cote .compteur { font-size: .75rem; padding: 1px 8px; border-radius: 999px; background: var(--bitume); color: var(--gris); }
.app-cote h4 { margin: 14px 12px 4px; font: 600 .75rem var(--texte); color: var(--gris); }
.app-main { padding: 22px clamp(16px, 3vw, 36px) 40px; min-width: 0; }
.app-barre { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.app-barre h1 { font: 800 2rem/1 var(--titre); }
.app-barre .outils { display: flex; gap: 8px; flex-wrap: wrap; }
.app-barre input { min-height: 40px; padding: 0 12px; border: 1px solid var(--trait); border-radius: 8px; background: #fff; min-width: 220px; }
.btn-s { min-height: 40px; padding: 0 14px; font-size: 1.05rem; }
.panneau { background: #fff; border: 1px solid var(--trait); border-radius: 12px; padding: 18px; }
.panneau h2 { font: 700 1.05rem var(--texte); margin-bottom: 12px; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.kpi { background: #fff; border: 1px solid var(--trait); border-radius: 12px; padding: 16px; }
.kpi span { font-size: .85rem; color: var(--gris); }
.kpi b { display: block; margin-top: 4px; font: 800 2rem/1 var(--titre); }
.kpi small { color: #1E8A4C; font-weight: 600; }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th { text-align: left; font-weight: 600; color: var(--gris); font-size: .8rem; padding: 10px 8px; border-bottom: 1px solid var(--trait); white-space: nowrap; }
.table td { padding: 10px 8px; border-bottom: 1px solid #EEF0F3; vertical-align: middle; }
.table tr.cliquable { cursor: pointer; } .table tr.cliquable:hover td { background: #FAFBFC; }
.statut { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; background: var(--bitume); white-space: nowrap; }
.statut.ok { background: #E3F5EA; color: #17663A; } .statut.att { background: #FFF4CC; color: #7A5A00; } .statut.non { background: #FDECEC; color: var(--rouge-fonce); } .statut.info { background: var(--ciel); color: var(--bleu); }
.colonnes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.colonne { background: #EEF0F3; border-radius: 12px; padding: 10px; min-height: 200px; }
.colonne h3 { font: 700 .9rem var(--texte); display: flex; justify-content: space-between; margin: 4px 4px 10px; }
.fiche-k { background: #fff; border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; font-size: .86rem; border: 1px solid var(--trait); }
.fiche-k b { display: block; }
.exemple { display: inline-block; padding: 3px 10px; border-radius: 6px; background: var(--jaune-clair); font-size: .8rem; font-weight: 600; }
.tiroir { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: #fff; box-shadow: -20px 0 40px -20px rgba(0,0,0,.3); padding: 22px; overflow-y: auto; z-index: 80; transform: translateX(105%); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.tiroir.ouvert { transform: none; }

@media (max-width: 1100px) {
  .g4 { grid-template-columns: 1fr 1fr; }
  .g3 { grid-template-columns: 1fr 1fr; }
  .tete-img { grid-template-columns: 1fr; }
  .kpis, .colonnes { grid-template-columns: 1fr 1fr; }
  .app-ecran { grid-template-columns: 1fr; }
  .app-cote { position: static; height: auto; flex-direction: row; flex-wrap: wrap; }
  .app-cote h4 { display: none; }
  .app-cote button, .app-cote a.mod { width: auto; }
}
@media (max-width: 680px) {
  .g2, .g3, .g4, .deux { grid-template-columns: 1fr; }
  .appel { grid-template-columns: 1fr; }
  .mag-carte { grid-template-columns: 110px minmax(0, 1fr); gap: 14px; }
  .mag-carte img { width: 110px; }
  .kpis, .colonnes { grid-template-columns: 1fr; }
  .tarifs { font-size: .9rem; }
  .tarifs th:nth-child(2), .tarifs td:nth-child(2) { display: none; }
  .tarifs td, .tarifs th { padding: 10px 6px; }
}

[hidden] { display: none !important; }

/* Rangées défilantes : sans barre grise */
.onglets, .puces, .couvs, .t-chips { scrollbar-width: none; }
.onglets::-webkit-scrollbar, .puces::-webkit-scrollbar, .couvs::-webkit-scrollbar, .t-chips::-webkit-scrollbar { display: none; }
@media (max-width: 680px) {
  .barres div { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; font-size: .88rem; }
  .app-cote { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 10px; gap: 2px; }
  .app-cote::-webkit-scrollbar { display: none; }
  .app-cote .marque { margin: 0 8px 0 4px; flex: none; }
  .app-cote button, .app-cote a.mod { flex: none; white-space: nowrap; }
  .maquette-ecran { display: none; }
}

/* Informer, pas vendre : qui vous informe vraiment */
.signature { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; padding: 8px 14px 8px 10px; border-radius: 999px; background: var(--encre); color: #fff; font: 700 1.05rem/1.2 var(--titre); letter-spacing: .01em; }
.signature i { display: inline-grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--rouge); font-style: normal; font-size: .85rem; }
.verif-boite { margin-top: 22px; border-radius: 18px; background: #fff; border: 1px solid var(--trait); overflow: hidden; }
.qdq { width: 100%; border-collapse: collapse; table-layout: fixed; }
.qdq th, .qdq td { padding: 16px 20px; border-top: 1px solid var(--trait); text-align: left; vertical-align: top; font-size: 1rem; line-height: 1.4; }
.qdq thead th { border-top: 0; font: 800 1.35rem/1.1 var(--titre); }
.qdq thead th small { display: block; margin-top: 4px; font: 500 .85rem/1.3 var(--texte); color: var(--gris); }
.qdq tbody th { font-weight: 700; color: var(--gris); width: 22%; }
.qdq .nous { background: #FFF1F1; font-weight: 700; color: var(--encre); }
.qdq thead .nous { background: var(--rouge); color: #fff; }
.qdq thead .nous small { color: #fff; opacity: .9; }
.qdq td.nous::before { content: "✓ "; color: var(--rouge); font-weight: 800; }
.qdq td.non { color: var(--gris); }
.verif-pied { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding: 18px 20px; background: var(--encre); color: #fff; }
.verif-pied p { font: 700 clamp(1.15rem, 1.8vw, 1.45rem)/1.2 var(--titre); max-width: 46ch; }
.verif-pied .acts { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 760px) {
  .qdq thead { display: none; }
  .qdq, .qdq tbody, .qdq tr, .qdq th, .qdq td { display: block; width: auto; }
  .qdq tr { padding: 6px 0 10px; border-top: 1px solid var(--trait); }
  .qdq tbody tr:first-child { border-top: 0; }
  .qdq th, .qdq td { border: 0; padding: 6px 16px; }
  .qdq tbody th { width: auto; padding-top: 12px; font: 800 1.2rem/1.1 var(--titre); color: var(--encre); }
  .qdq td::before { content: attr(data-l) " : "; font-weight: 600; color: var(--gris); }
  .qdq td.nous { margin: 4px 12px 0; border-radius: 8px; padding: 8px 10px; }
  .qdq td.nous::before { content: "✓ " attr(data-l) " : "; color: var(--rouge); }
}

.argu-pub { margin-top: 14px; max-width: 34ch; font: 800 clamp(1.4rem, 2.4vw, 1.9rem)/1.1 var(--titre); color: var(--rouge-fonce); }

.li-c { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0; }
.li-c div { padding: 16px; border-radius: 12px; background: #fff; }
.li-c b { display: block; font: 800 clamp(2.2rem, 3.4vw, 2.9rem)/1 var(--titre); color: var(--rouge-fonce); }
.li-c span { display: block; margin-top: 6px; font-size: .92rem; line-height: 1.35; }
.li-c .plein { grid-column: 1 / -1; background: var(--encre); color: #fff; }
.li-c .plein b { color: var(--jaune); }
