/* Urbaliste — site vitrine. Mêmes couleurs que le logiciel (marine, or, papier). Police Inter servie par le site
   (aucun appel à un service tiers). */
@font-face {
  font-family: "Inter";
  src: url("polices/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --encre: #12324a;
  --bleu: #1f4e6e;
  --bleu-vif: #2b6a93;
  --bleu-pale: #eaf1f7;
  --or: #c9a45c;
  --or-fonce: #7a5e24;
  --or-pale: #f7efdf;
  --fond: #f4f2ed;
  --surface: #ffffff;
  --surface-2: #f8f6f1;
  --bord: #e3ded4;
  --texte: #1c2833;
  --doux: #5a6672;
  --vert: #1e6b34;
  --vert-pale: #eaf6ee;
  --attention: #9a6408;
  --attention-pale: #fff7ea;
  --rouge: #a1261d;
  --rayon: 14px;
  --ombre: 0 1px 2px rgba(18, 50, 74, .06), 0 8px 28px rgba(18, 50, 74, .08);
  --large: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--texte);
  background: var(--fond);
}
img, svg { max-width: 100%; }
a { color: var(--bleu-vif); }
h1, h2, h3 { color: var(--encre); line-height: 1.2; margin: 0; }
h1 { font-size: clamp(34px, 5.2vw, 56px); letter-spacing: -0.02em; font-weight: 750; }
h2 { font-size: clamp(27px, 3.4vw, 38px); letter-spacing: -0.015em; font-weight: 720; }
h3 { font-size: 19px; font-weight: 650; }
p { margin: 0; }
:where(a, button, input, select, textarea):focus-visible { outline: 3px solid var(--or); outline-offset: 2px; border-radius: 6px; }

.cadre { max-width: var(--large); margin: 0 auto; padding: 0 20px; }
.sur-titre { display: inline-block; font-size: 13px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--or-fonce); margin-bottom: 12px; }
.chapeau { font-size: 19px; color: var(--doux); max-width: 640px; margin-top: 14px; }
section { padding: 88px 0; }
section.clair { background: var(--surface); }

/* Boutons */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 12px; border: 1px solid transparent;
  font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .12s ease, background .12s ease, box-shadow .12s ease;
}
.bouton:hover { transform: translateY(-1px); }
.bouton.principal { background: var(--encre); color: #fff; box-shadow: 0 6px 18px rgba(18, 50, 74, .22); }
.bouton.principal:hover { background: var(--bleu); }
.bouton.or { background: var(--or); color: var(--encre); }
.bouton.or:hover { background: #d4b273; }
.bouton.discret { background: transparent; color: var(--encre); border-color: var(--bord); }
.bouton.discret:hover { background: var(--surface); }

/* En-tête (toutes les pages) : fixe en haut ; sur ordinateur, menu + « Se connecter » + « Essai gratuit 24 h » ;
   sur téléphone et tablette, logo, bouton « Essai gratuit » toujours visible et bouton menu (menu plein écran). */
.entete { position: sticky; top: 0; z-index: 20; background: rgba(244, 242, 237, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; }
.entete.defile { border-bottom-color: var(--bord); }
.entete .cadre { display: flex; align-items: center; gap: 24px; height: 72px; }
.marque { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--encre); font-weight: 720; font-size: 21px; letter-spacing: -0.01em; flex: none; }
.marque svg { width: 34px; height: auto; flex: none; }
.nav-bureau { display: flex; gap: 24px; margin-left: auto; }
.nav-bureau a { color: var(--texte); text-decoration: none; font-size: 15px; font-weight: 500; white-space: nowrap; padding: 10px 0; }
.nav-bureau a:hover { color: var(--bleu-vif); }
.entete .actions { display: flex; align-items: center; gap: 10px; }
.entete .bouton { min-height: 44px; padding: 0 16px; font-size: 15px; }
.essai-entete .court { display: none; }
.bouton-menu { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; flex: none; padding: 0; border: 1px solid var(--bord);
  border-radius: 12px; background: var(--surface); color: var(--encre); cursor: pointer; }
.bouton-menu svg, .menu-fermer svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
@media (max-width: 1023px) {
  .nav-bureau, .entete .connexion { display: none; }
  .entete .actions { margin-left: auto; }
  .bouton-menu { display: inline-flex; }
}
@media (max-width: 599px) {
  .cadre { padding: 0 16px; }
  .entete .cadre { height: 64px; gap: 10px; }
  .marque { font-size: 19px; gap: 8px; }
  .marque svg { width: 30px; height: 30px; }
  .entete .bouton { padding: 0 13px; }
  .essai-entete .long { display: none; }
  .essai-entete .court { display: inline; }
}

/* Menu mobile plein écran (hors de l'en-tête : son flou ne doit pas contenir un élément « fixed »). */
.menu-mobile { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; padding: 0 16px 28px; background: var(--fond); overflow-y: auto; }
.menu-mobile[hidden] { display: none; }
.menu-haut { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.menu-fermer { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--bord);
  border-radius: 12px; background: var(--surface); color: var(--encre); cursor: pointer; }
.menu-mobile nav { display: flex; flex-direction: column; margin-top: 8px; }
.menu-mobile nav a { padding: 14px 2px; border-bottom: 1px solid var(--bord); color: var(--encre); font-size: 22px; font-weight: 650; text-decoration: none; }
.menu-bas { display: grid; gap: 8px; margin-top: auto; padding-top: 28px; }
.menu-bas .bouton { width: 100%; min-height: 56px; font-size: 18px; }
.menu-bas .lien-connexion { display: block; padding: 12px; text-align: center; font-weight: 600; color: var(--encre); }
html.menu-ouvert, html.menu-ouvert body { overflow: hidden; }

/* Ouverture */
.ouverture { padding: 64px 0 88px; }
.ouverture .cadre { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.ouverture .appels { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.ouverture .note { margin-top: 18px; font-size: 14px; color: var(--doux); }
.ouverture .mention { margin-top: 14px; font-size: 15px; font-weight: 600; color: var(--doux); }
.pastille-beta { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--or-pale); color: var(--or-fonce); font-size: 14px; font-weight: 600; margin-bottom: 22px; }
.pastille-beta::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--or); }
@media (max-width: 920px) { .ouverture .cadre { grid-template-columns: 1fr; gap: 40px; } }

/* Maquette de la fiche verdict */
.maquette { position: relative; background: var(--surface); border-radius: 18px; box-shadow: var(--ombre); border: 1px solid var(--bord); overflow: hidden; }
.maquette .plan { height: 190px; background-color: #eef1ea; background-image: linear-gradient(#e2e7dc 1px, transparent 1px), linear-gradient(90deg, #e2e7dc 1px, transparent 1px); background-size: 26px 26px; position: relative; }
.maquette .plan svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.maquette .etiquette { position: absolute; top: 14px; left: 14px; background: var(--encre); color: #fff; font-size: 13px; font-weight: 600; padding: 5px 10px; border-radius: 8px; }
.maquette .illustratif { position: absolute; top: 14px; right: 14px; background: rgba(255, 255, 255, .9); color: var(--doux); font-size: 12px; padding: 4px 8px; border-radius: 6px; }
.maquette .corps { padding: 18px; }
.maquette .titre-fiche { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.maquette .titre-fiche strong { color: var(--encre); font-size: 16px; }
.maquette .titre-fiche span { font-size: 13px; color: var(--doux); }
.cases { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.case { border: 1px solid var(--bord); border-left: 4px solid var(--vert); border-radius: 10px; padding: 10px 12px; background: var(--surface-2); }
.case.attention { border-left-color: var(--or); }
.case small { display: block; font-size: 12px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: var(--doux); }
.case b { display: block; color: var(--encre); font-size: 15px; line-height: 1.35; margin-top: 2px; }
.case i { display: block; font-style: normal; font-size: 12.5px; color: var(--doux); margin-top: 3px; }
@media (max-width: 420px) { .cases { grid-template-columns: 1fr; } }

/* Sources */
.sources { padding: 30px 0; border-top: 1px solid var(--bord); border-bottom: 1px solid var(--bord); background: var(--surface-2); }
.sources .cadre { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; justify-content: center; }
.sources p { font-size: 14px; color: var(--doux); font-weight: 600; }
.sources span { font-size: 15px; color: var(--encre); font-weight: 600; opacity: .8; }

/* Étapes */
.etapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; counter-reset: etape; }
.etape { background: var(--surface); border: 1px solid var(--bord); border-radius: var(--rayon); padding: 26px; }
.etape::before { counter-increment: etape; content: counter(etape); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--or-pale); color: var(--or-fonce); font-weight: 750; margin-bottom: 16px; }
.etape p { color: var(--doux); margin-top: 8px; font-size: 16px; }
@media (max-width: 820px) { .etapes { grid-template-columns: 1fr; } }

/* Fonctions */
.fonctions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.fonction { background: var(--surface-2); border: 1px solid var(--bord); border-radius: var(--rayon); padding: 24px; }
.fonction .icone { width: 44px; height: 44px; border-radius: 12px; background: var(--encre); display: grid; place-items: center; margin-bottom: 16px; }
.fonction .icone svg { width: 22px; height: 22px; stroke: var(--or); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fonction ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.fonction li { position: relative; padding-left: 20px; font-size: 15.5px; color: var(--texte); line-height: 1.45; }
.fonction li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 7px; height: 7px; border-radius: 2px; background: var(--or); }
@media (max-width: 980px) { .fonctions { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .fonctions { grid-template-columns: 1fr; } }

/* Métiers */
.metiers { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 44px; }
.metier { background: var(--surface); border: 1px solid var(--bord); border-radius: var(--rayon); padding: 22px 20px; display: flex; flex-direction: column; }
.metier h3 { font-size: 17.5px; }
.metier .question { margin-top: 10px; color: var(--bleu); font-weight: 600; font-size: 15px; line-height: 1.4; }
.metier .qui { margin-top: auto; padding-top: 14px; font-size: 14px; color: var(--doux); line-height: 1.45; }
@media (max-width: 1080px) { .metiers { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .metiers { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .metiers { grid-template-columns: 1fr; } }

/* Confiance */
.confiance { background: var(--encre); color: #dfe7ee; }
.confiance h2 { color: #fff; }
.confiance .sur-titre { color: var(--or); }
.confiance .chapeau { color: #b9c7d3; }
.engagements { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 40px; }
.engagement { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--rayon); padding: 22px 24px; }
.engagement h3 { color: #fff; font-size: 18px; }
.engagement p { margin-top: 8px; font-size: 15.5px; color: #c4d1dc; }
@media (max-width: 760px) { .engagements { grid-template-columns: 1fr; } }

/* Bêta et formulaire */
.beta .cadre { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.beta ul.avantages { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.beta ul.avantages li { display: flex; gap: 12px; align-items: flex-start; }
.beta ul.avantages li::before { content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--vert-pale); color: var(--vert); display: grid; place-items: center; font-size: 13px; font-weight: 800; margin-top: 2px; }
.formulaire { background: var(--surface); border: 1px solid var(--bord); border-radius: 18px; padding: 28px; box-shadow: var(--ombre); }
.formulaire .champs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.formulaire label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--encre); }
.formulaire label.large { grid-column: 1 / -1; }
.formulaire input, .formulaire select, .formulaire textarea {
  font: inherit; font-size: 16px; font-weight: 400; color: var(--texte); background: var(--surface-2);
  border: 1px solid var(--bord); border-radius: 10px; padding: 11px 12px; width: 100%;
}
.formulaire textarea { min-height: 96px; resize: vertical; }
.formulaire .piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formulaire .bas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 18px; }
.formulaire .mention { font-size: 13px; color: var(--doux); margin-top: 14px; }
.formulaire .retour { font-size: 15px; font-weight: 600; }
.formulaire .retour.ok { color: var(--vert); }
.formulaire .retour.erreur { color: var(--rouge); }
@media (max-width: 920px) { .beta .cadre { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 560px) { .formulaire { padding: 20px; } .formulaire .champs { grid-template-columns: 1fr; } }

/* Questions */
.questions { max-width: 860px; margin: 28px 0 0; display: grid; gap: 12px; }
.faq-outils { max-width: 860px; margin-top: 28px; display: grid; gap: 14px; }
.faq-recherche { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--bord); border-radius: 12px; padding: 0 16px; }
.faq-recherche svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--doux); stroke-width: 2; stroke-linecap: round; }
.faq-recherche input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 16px; padding: 14px 0; color: var(--texte); }
.faq-recherche input:focus { outline: none; }
.faq-recherche:focus-within { border-color: var(--or); box-shadow: 0 0 0 3px var(--or-pale); }
.faq-themes { display: flex; flex-wrap: wrap; gap: 8px; }
.faq-themes button { font: inherit; font-size: 14px; font-weight: 600; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--bord); background: var(--surface); color: var(--encre); cursor: pointer; }
.faq-themes button:hover { border-color: var(--or); }
.faq-themes button.actif { background: var(--encre); border-color: var(--encre); color: #fff; }
@media (max-width: 640px) { .faq-themes { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; } .faq-themes button { flex: none; } }
.faq-groupe { display: grid; gap: 12px; }
.faq-groupe + .faq-groupe { margin-top: 20px; }
.faq-groupe h3 { font-size: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--or-fonce); margin: 8px 0 2px; }
.questions details p a { color: var(--bleu-vif); }
.questions [hidden] { display: none !important; }
.faq-vide { color: var(--doux); padding: 12px 0; }
.questions details { background: var(--surface); border: 1px solid var(--bord); border-radius: 12px; padding: 0 20px; }
.questions summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 650; color: var(--encre); display: flex; justify-content: space-between; gap: 16px; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--or-fonce); }
.questions details[open] summary::after { content: "–"; }
.questions details p { padding: 0 0 18px; color: var(--doux); font-size: 16px; }

/* Pied */
.pied { background: var(--encre); color: #b9c7d3; padding: 40px 0; font-size: 14px; }
.pied .cadre { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.pied .marque { color: #fff; font-size: 18px; }
.pied nav { display: flex; flex-wrap: wrap; gap: 18px; margin-left: auto; }
.pied a { color: #dfe7ee; text-decoration: none; }
.pied a:hover { text-decoration: underline; }

/* Pages de texte (mentions légales) */
.page-texte { padding: 56px 0 88px; }
.page-texte .cadre { max-width: 820px; }
.page-texte h1 { font-size: clamp(30px, 4vw, 42px); }
.page-texte h2 { font-size: 22px; margin-top: 36px; }
.page-texte p, .page-texte li { margin-top: 10px; color: var(--texte); }
.page-texte .doux { color: var(--doux); font-size: 15px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .bouton { transition: none; } }

/* Capture d'ouverture et galerie (vraies captures du logiciel) */
.capture-ouverture { margin: 0; }
.capture-ouverture a { display: block; border-radius: 16px; overflow: hidden; border: 1px solid var(--bord); box-shadow: var(--ombre); background: var(--encre); }
.capture-ouverture img { display: block; width: 100%; height: auto; transition: transform .3s ease; }
.capture-ouverture a:hover img { transform: scale(1.015); }
.capture-ouverture figcaption, .galerie figcaption { font-size: 14px; color: var(--doux); margin-top: 10px; line-height: 1.5; }
.galerie { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 40px; }
.galerie figure { margin: 0; }
.galerie figure.grande { grid-column: 1 / -1; }
.galerie a { display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--bord); box-shadow: var(--ombre); }
.galerie img { display: block; width: 100%; height: auto; }
.galerie figcaption strong { color: var(--encre); }
.galerie figure.grande figcaption { font-size: 15.5px; max-width: 820px; }
@media (max-width: 760px) { .galerie { grid-template-columns: 1fr; } }

/* Galerie sur fond marine */
.images { background: var(--encre); }
.images h2 { color: #fff; }
.images .sur-titre { color: var(--or); }
.images .chapeau { color: #b9c7d3; }
.images .galerie a { border-color: rgba(255, 255, 255, .14); box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.images .galerie figcaption { color: #b9c7d3; }
.images .galerie figcaption strong { color: #fff; }

/* Apparition douce au défilement (classe posée par site.js seulement si les animations sont permises). */
.a-reveler { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease-out, transform 0.6s cubic-bezier(0.2, 0.8, 0.3, 1); }
.a-reveler.vu { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .fonction, .metier, .engagement { transition: transform 0.25s ease, box-shadow 0.25s ease; }
  .fonction:hover, .metier:hover, .engagement:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(18, 50, 74, 0.1); }
  .a-reveler.vu:hover { transition: transform 0.25s ease, box-shadow 0.25s ease; transition-delay: 0s; }
  .galerie img { transition: transform 0.6s ease; }
  .galerie a:hover img { transform: scale(1.02); }
}

.pied nav a { display: inline-block; padding: 6px 0; }

/* Utilitaire : visible des seuls lecteurs d'écran. */
.lecteur { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Accueil : tarifs résumés */
.tarifs-resume .tete { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 32px; }
.tarif-appel { display: inline-flex; align-items: baseline; gap: 8px; padding: 10px 18px; border-radius: 14px; background: var(--or-pale);
  color: var(--encre); font-size: 18px; font-weight: 600; white-space: nowrap; }
.tarif-appel strong { font-size: 30px; font-weight: 800; letter-spacing: -0.01em; }
.resume-formules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
.resume { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px; background: var(--surface); border: 1px solid var(--bord);
  border-radius: var(--rayon); }
.resume.mise-en-avant { border-color: var(--or); box-shadow: 0 0 0 3px var(--or-pale); }
.resume h3 { font-size: 21px; }
.resume-prix { color: var(--doux); font-size: 15px; }
.resume-prix strong { color: var(--encre); font-size: 28px; font-weight: 800; }
.resume ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 15.5px; }
.resume li { position: relative; padding-left: 20px; }
.resume li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 7px; height: 7px; border-radius: 2px; background: var(--or); }
.tarifs-resume .appels { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 30px; }
.tarifs-resume .appels a:not(.bouton) { font-weight: 600; color: var(--encre); }
@media (max-width: 860px) { .resume-formules { grid-template-columns: 1fr; } }

.etiquette { position: absolute; top: -12px; left: 20px; padding: 3px 10px; border-radius: 999px; background: var(--or); color: var(--encre);
  font-size: 12.5px; font-weight: 700; }
.etiquette[hidden] { display: none; }

/* Bandeau final (rappel de l'essai gratuit) */
.bandeau-final { padding: 64px 0; background: var(--encre); color: #dfe7ee; }
.bandeau-final .cadre { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 40px; }
.bandeau-final h2 { color: #fff; font-size: clamp(25px, 3vw, 34px); }
.bandeau-final p { margin-top: 8px; color: #c4d1dc; }

/* Bandeau cookies (n'apparaît qu'avec un lien de recommandation ?ref=) */
.bandeau-cookies { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40; max-width: 560px; margin: 0 auto; padding: 16px 18px;
  background: var(--surface); border: 1px solid var(--bord); border-radius: 14px; box-shadow: var(--ombre); font-size: 15px; }
.bandeau-cookies p { color: var(--texte); }
.bandeau-cookies .boutons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.bandeau-cookies .bouton { min-height: 44px; flex: 1 1 140px; }

/* Page Tarifs */
.page-tarifs { padding: 48px 0 88px; }
.page-tarifs h1 { font-size: clamp(30px, 4.4vw, 46px); }
.rythme-choix { display: inline-flex; margin: 26px 0 0; padding: 4px; border: 1px solid var(--bord); border-radius: 14px; background: var(--surface); }
.rythme-choix legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.rythme-choix label { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 10px;
  font-weight: 650; color: var(--encre); cursor: pointer; }
.rythme-choix input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.rythme-choix label:has(input:checked) { background: var(--encre); color: #fff; }
.rythme-choix label:has(input:focus-visible) { outline: 3px solid var(--or); outline-offset: 2px; }
.rythme-choix .offert { padding: 2px 8px; border-radius: 999px; background: var(--or-pale); color: var(--or-fonce); font-size: 13px; font-weight: 700; }
.rythme-choix label:has(input:checked) .offert { background: var(--or); color: var(--encre); }

.formules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 34px; align-items: start; }
.formule { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px 24px 24px; background: var(--surface); border: 1px solid var(--bord);
  border-radius: var(--rayon); box-shadow: var(--ombre); }
.formule.mise-en-avant { border-color: var(--or); box-shadow: 0 0 0 3px var(--or-pale), var(--ombre); }
.formule h2 { font-size: 24px; }
.formule .prix { color: var(--encre); line-height: 1.1; }
.formule .prix .montant { font-size: 38px; font-weight: 800; letter-spacing: -0.02em; }
.formule .prix small { font-size: 15px; font-weight: 500; color: var(--doux); }
.formule .equiv { margin-top: -6px; font-size: 15px; color: var(--doux); }
.formule .equiv:empty { display: none; }
.formule ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 15.5px; }
.formule li { position: relative; padding-left: 24px; overflow-wrap: anywhere; }
.formule li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--vert); font-weight: 800; }
.formule li small { display: block; color: var(--doux); font-size: 14px; }
.formule li.licence { color: var(--or-fonce); font-weight: 650; }
.formule li.licence::before { content: "•"; color: var(--or-fonce); }
.formule .choix { display: grid; gap: 10px; margin-top: 4px; }
.formule .choix .bouton { width: 100%; white-space: normal; text-align: center; line-height: 1.25; padding: 10px 16px; }
.formule .devis { justify-self: center; font-size: 15px; font-weight: 600; color: var(--encre); padding: 8px 4px; }
.renvoi { font-size: 13.5px; color: var(--doux); }
@media (max-width: 920px) { .formules { grid-template-columns: 1fr; gap: 28px; max-width: 560px; } }

.tarifs-infos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 48px 0 0; }
.tarifs-infos > div { padding: 22px; background: var(--surface); border: 1px solid var(--bord); border-radius: var(--rayon); }
.tarifs-infos h2 { font-size: 18px; margin-bottom: 8px; }
.tarifs-infos p { font-size: 15.5px; color: var(--doux); }
@media (max-width: 860px) { .tarifs-infos { grid-template-columns: 1fr; } }

.confiance-tarifs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 40px 0 0; padding: 0; list-style: none; }
.confiance-tarifs li { display: flex; gap: 12px; align-items: flex-start; padding: 18px; background: var(--surface-2); border: 1px solid var(--bord); border-radius: var(--rayon); font-size: 15px; }
.confiance-tarifs strong { display: block; color: var(--encre); }
.confiance-tarifs svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--or-fonce); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 980px) { .confiance-tarifs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .confiance-tarifs { grid-template-columns: 1fr; } }

.faq-tarifs { margin-top: 56px; padding: 0; }
.faq-tarifs h2 { font-size: clamp(25px, 3vw, 32px); }
.page-tarifs .doux { margin-top: 32px; color: var(--doux); font-size: 14.5px; }
@media (max-width: 599px) {
  .ouverture .appels .bouton, .tarifs-resume .appels .bouton, .bandeau-final .bouton { flex: 1 1 100%; width: 100%; }
}

/* Lot 5B : trois offres (accueil, /tarifs, /fonctionnalites). Contenu généré depuis le logiciel (outils/generer-vitrine.py,
   puis tarifs.js) : aucun prix ni aucune liste de fonctions écrits dans les pages. */
:where(.page-tarifs, .page-fonctionnalites) section { padding: 0; }
.selecteurs { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.selecteurs .rythme-choix { margin: 0; }
@media (max-width: 420px) { .rythme-choix label { padding: 0 12px; } }
.formule .accroche { margin-top: -8px; color: var(--doux); font-weight: 600; font-size: 15.5px; }
.formule .inclut { margin-top: 2px; font-size: 14px; font-weight: 700; color: var(--encre); }
.formule .fonctions-offre { gap: 6px; font-size: 15px; }
.formule .fonctions-offre li::before { content: "+"; color: var(--or-fonce); }
.formule li.economie { color: var(--vert); font-weight: 600; }
.formule .lien-comparer { font-size: 14.5px; font-weight: 600; }
.formule.indisponible { background: var(--surface-2); box-shadow: none; }
.formule .indispo { color: var(--doux); font-size: 16px; }
.conditions { margin: 22px 0 0; padding: 18px 22px; list-style: none; display: grid; gap: 8px; background: var(--surface); border: 1px solid var(--bord);
  border-radius: var(--rayon); font-size: 15px; }
.conditions strong { color: var(--encre); }

.encart-entreprise { margin-top: 28px; padding: 28px; display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px 36px; align-items: center;
  background: var(--surface); border: 1px solid var(--bord); border-radius: var(--rayon); scroll-margin-top: 90px; }
.encart-entreprise.mise-en-avant { border-color: var(--or); box-shadow: 0 0 0 3px var(--or-pale); }
.encart-entreprise h2 { font-size: 24px; }
.encart-prix { margin-top: 6px; color: var(--texte); }
.encart-prix strong { font-size: 24px; font-weight: 800; color: var(--encre); }
.encart-entreprise ul { margin: 12px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 15px; }
.encart-entreprise li { position: relative; padding-left: 20px; }
.encart-entreprise li::before { content: "✓"; position: absolute; left: 0; color: var(--vert); font-weight: 800; }
.encart-entreprise .choix { display: grid; gap: 10px; }
.encart-entreprise .choix .bouton { width: 100%; white-space: normal; text-align: center; }
.encart-entreprise .devis { justify-self: center; font-size: 15px; font-weight: 600; color: var(--encre); padding: 8px 4px; }
@media (max-width: 760px) { .encart-entreprise { grid-template-columns: 1fr; padding: 22px; } }

.comparatif-offres { margin-top: 56px; scroll-margin-top: 80px; }
.tete-comparatif { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.tete-comparatif h2 { font-size: clamp(24px, 3vw, 32px); }
.tete-comparatif a { font-weight: 600; color: var(--encre); }
.liste-fonctions { display: grid; gap: 30px; margin-top: 22px; }
.groupe-fonctions { scroll-margin-top: 84px; }
.tete-groupe { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.tete-groupe h2 { font-size: clamp(21px, 2.6vw, 26px); }
.tete-groupe h3 { font-size: 19px; }
.phrase-groupe { margin-top: 6px; color: var(--doux); font-size: 16px; max-width: 760px; }
.mention-offre { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; line-height: 1.6; white-space: nowrap;
  background: var(--bleu-pale); color: var(--bleu); }
.mention-offre[data-offre-min="decouverte"] { background: var(--vert-pale); color: var(--vert); }
.mention-offre[data-offre-min="expert"] { background: var(--or-pale); color: var(--or-fonce); }
.groupe-fonctions .defile-tableau { margin-top: 12px; }
.tableau-fonctions { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; background: var(--surface);
  border: 1px solid var(--bord); border-radius: var(--rayon); overflow: hidden; font-size: 15px; }
.tableau-fonctions th, .tableau-fonctions td { padding: 12px 14px; border-top: 1px solid var(--bord); vertical-align: top; }
.tableau-fonctions thead th { border-top: 0; background: var(--surface-2); color: var(--encre); font-size: 14px; text-align: center; }
.tableau-fonctions thead th:first-child { width: 52%; text-align: left; }
.tableau-fonctions th[scope="row"] { text-align: left; font-weight: 400; }
.tableau-fonctions .nom { display: block; font-weight: 650; color: var(--encre); }
.tableau-fonctions .phrase { display: block; margin-top: 2px; color: var(--doux); font-size: 14.5px; line-height: 1.45; }
.tableau-fonctions td { text-align: center; color: var(--texte); }
.tableau-fonctions td.oui > span[aria-hidden], .tableau-fonctions td.limite > span[aria-hidden] { color: var(--vert); font-weight: 800; }
.tableau-fonctions td.limite small { display: block; font-size: 13px; line-height: 1.35; color: var(--or-fonce); font-weight: 600; }
.tableau-fonctions td.non { color: var(--doux); }
.tableau-fonctions .attenue { background: var(--surface-2); }
.tableau-fonctions .attenue > span[aria-hidden], .tableau-fonctions .attenue small { color: var(--doux); }
.tableau-fonctions tr[hidden], .groupe-fonctions[hidden], .sommaire a[hidden] { display: none !important; }
@media (max-width: 640px) {
  .tableau-fonctions, .tableau-fonctions tbody { display: block; }
  .tableau-fonctions thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tableau-fonctions tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--bord); }
  .tableau-fonctions tbody tr:first-child { border-top: 0; }
  .tableau-fonctions th[scope="row"] { grid-column: 1 / -1; border-top: 0; padding: 12px 14px 6px; }
  .tableau-fonctions td { border-top: 0; padding: 4px 6px 12px; font-size: 14px; overflow-wrap: anywhere; }
  .tableau-fonctions td::before { content: attr(data-nom); display: block; font-size: 12.5px; font-weight: 650; color: var(--doux); }
}

.page-fonctionnalites { padding: 48px 0 88px; }
.page-fonctionnalites h1 { font-size: clamp(30px, 4.4vw, 46px); }
.outils-fonctions { margin-top: 28px; display: grid; gap: 14px; }
.sommaire { display: flex; flex-wrap: wrap; gap: 8px; }
.sommaire a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 12px; border: 1px solid var(--bord); border-radius: 999px;
  background: var(--surface); color: var(--encre); font-size: 14.5px; font-weight: 600; text-decoration: none; }
.sommaire a:hover { border-color: var(--or); }
.sommaire .mention-offre { font-size: 12px; padding: 0 8px; }
@media (max-width: 640px) { .sommaire a { font-size: 14px; min-height: 40px; } .sommaire .mention-offre { display: none; } }
.legende-fonctions { margin-top: 20px; font-size: 14.5px; color: var(--doux); }
.legende-fonctions .oui, .legende-fonctions .limite { color: var(--vert); font-weight: 800; }
.legende-fonctions .non { font-weight: 800; }
.fonctions-vide { margin-top: 20px; color: var(--doux); }
.lien-bouton { padding: 0; border: 0; background: none; font: inherit; color: var(--bleu-vif); text-decoration: underline; cursor: pointer; }
.bandeau-fonctions { margin-top: 56px; padding: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 36px;
  background: var(--encre); color: #dfe7ee; border-radius: var(--rayon); }
.bandeau-fonctions h2 { color: #fff; font-size: clamp(23px, 3vw, 30px); }
.bandeau-fonctions p { margin-top: 8px; color: #c4d1dc; }
.bandeau-fonctions .appels { display: flex; flex-wrap: wrap; gap: 12px; }
.bandeau-fonctions .bouton.discret { color: #fff; border-color: rgba(255, 255, 255, .45); }
.bandeau-fonctions .bouton.discret:hover { background: rgba(255, 255, 255, .08); }
.page-fonctionnalites .doux { margin-top: 28px; color: var(--doux); font-size: 15px; }
.appels-fin { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 44px; }
@media (max-width: 599px) {
  .bandeau-fonctions { padding: 24px 20px; }
  .bandeau-fonctions .bouton, .appels-fin .bouton { flex: 1 1 100%; width: 100%; }
}

/* Accueil : groupes de fonctions (mention de l'offre minimale), offres résumées, offre conseillée par métier */
.fonctions .fonction { display: flex; flex-direction: column; }
.fonction p { margin-top: 8px; color: var(--doux); font-size: 15.5px; line-height: 1.5; }
.fonction .mention-offre { align-self: flex-start; margin-top: auto; }
.fonction p + .mention-offre { margin-top: 14px; }
@media (min-width: 1081px) { .fonctions { grid-template-columns: repeat(4, 1fr); } }
.suite-fonctions { margin-top: 28px; }
.resume .accroche { margin-top: -6px; color: var(--doux); font-weight: 600; font-size: 15px; }
.resume .bouton { margin-top: auto; align-self: flex-start; }
.essai-expert { font-size: 15px; color: var(--doux); }
.tarifs-resume .renvoi { margin-top: 14px; }
.metier .conseil { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--bord); font-size: 14.5px; color: var(--texte); line-height: 1.5; }
.metier .conseil a { font-weight: 700; color: var(--bleu-vif); }
.metier .conseil span { display: block; margin-top: 4px; color: var(--doux); }
.metiers { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1080px) { .metiers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .metiers { grid-template-columns: 1fr; } }

/* Lot RSE : page « Environnement et RSE » (mêmes couleurs que le reste du site) */
.page-environnement { padding: 48px 0 88px; }
.page-environnement h1 { font-size: clamp(30px, 4.4vw, 46px); max-width: 820px; }
.appels-env { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.appels-env.fin { margin-top: 44px; }
.benefices { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.benefice { padding: 20px; background: var(--surface); border: 1px solid var(--bord); border-radius: var(--rayon); box-shadow: var(--ombre); }
.benefice p { margin-top: 8px; color: var(--doux); font-size: 15.5px; line-height: 1.5; }
.mesures-env { margin-top: 56px; }
.tableau-env-cadre { margin-top: 20px; }
.tableau-env { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--bord); border-radius: var(--rayon); overflow: hidden; }
.tableau-env th, .tableau-env td { padding: 12px 14px; border-top: 1px solid var(--bord); text-align: left; vertical-align: top; font-size: 15.5px; line-height: 1.5; }
.tableau-env thead th { border-top: 0; background: var(--surface-2); font-size: 14px; color: var(--encre); }
.tableau-env th[scope="row"] { color: var(--encre); font-weight: 650; width: 26%; }
.tableau-env td.source { color: var(--doux); font-size: 14.5px; width: 30%; }
.capture-env { margin: 48px 0 0; }
.capture-env img { display: block; width: 100%; height: auto; border-radius: var(--rayon); border: 1px solid var(--bord); box-shadow: var(--ombre); }
.capture-env figcaption { margin-top: 10px; color: var(--doux); font-size: 14.5px; }
/* Lot RSE2 : deux parties (sobriété du logiciel, apports à la démarche RSE) et la mention de bas de page. */
.partie-env { margin-top: 52px; }
.partie-env h2 { font-size: clamp(22px, 2.6vw, 30px); }
.partie-env .benefices { margin-top: 20px; }
.benefices.preuves { grid-template-columns: repeat(3, 1fr); }
.mention-env { margin-top: 28px; color: var(--doux); font-size: 13.5px; line-height: 1.5; }
.page-environnement .doux { margin-top: 28px; color: var(--doux); font-size: 15px; }
@media (max-width: 1080px) { .benefices, .benefices.preuves { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .benefices, .benefices.preuves { grid-template-columns: 1fr; }
  .tableau-env, .tableau-env thead, .tableau-env tbody, .tableau-env tr, .tableau-env th, .tableau-env td { display: block; width: auto; }
  .tableau-env thead { display: none; }
  .tableau-env tr { border-top: 1px solid var(--bord); padding: 6px 0; }
  .tableau-env tbody tr:first-child { border-top: 0; }
  .tableau-env th, .tableau-env td { border-top: 0; padding: 4px 14px; }
  .tableau-env th[scope="row"], .tableau-env td.source { width: auto; }
  .appels-env .bouton { flex: 1 1 100%; width: 100%; }
}
