/* Lot REFONTE-B-PAGES-2 (09/11/2026, C460, C461, C462) : /logiciel-devis-artisan et /tarifs en direction B. Complete rf-refonte-b.css (non modifiee) ; toutes les regles sont sous body.rfb-p2.
 * Feuille servie seulement drapeau REFONTE_B_PAGES_2_ACTIF ouvert. Aucune couleur nouvelle : jetons --nuit, --ciel, --blanc, --doux, --trait de la feuille B. */

body.rfb-p2 main { display: block; padding-bottom: 0; }

/* Lot BANDEAU-COOKIES-BAS (09/11/2026, C472) : bandeau des cookies fixe en bas sur ces pages aussi (rf-consentement.css, couleurs dans rf-refonte-b.css). Anciennes regles : .rfc pose sur la zone du haut, classes rfb-dock (fixe apres defilement), rfb-cede (masque au-dessus d'un bouton), rfb-bascule, tailles propres. */

/* ---------------------------------------- Page d'arrivee : titre, bouton, faits ; zone (intro, regles, place du bandeau) ; demonstration */
body.rfb-arrivee .rfb-haut { isolation: auto; padding: 8px 16px 22px; text-align: left; }
/* sans isolation la lumiere et le sol restent sous le contenu (z-index negatif sur le fond de page) ; le bandeau fixe peut alors passer au-dessus des sections suivantes */
.rfb-arr-grille { position: relative; max-width: 1160px; margin: 0 auto; }
.rfb-arr-texte { text-align: center; }
body.rfb-arrivee .rfb-haut h1 { margin: 10px 0 0; font-size: clamp(26px, 7.5vw, 34px); line-height: 1.12; letter-spacing: -.032em; }
body.rfb-arrivee .rfb-actions { margin-top: 14px; }
.rfb-faits { margin: 12px auto 0; max-width: 36ch; font-size: 16px; line-height: 1.4; font-weight: 500; color: #E3EAF8; text-wrap: balance; }
.rfb-arr-zone { position: relative; margin-top: 14px; padding-top: 2px; } /* Lot BANDEAU-COOKIES-BAS (C472) : plus de place reservee au bandeau (avant : --rfb-zh: 264px; min-height: var(--rfb-zh)) */
.rfb-arr-intro { margin: 0 0 12px; color: var(--doux); font-size: 17px; line-height: 1.45; }
.rfb-arr-regles { color: var(--doux); font-size: 16px; }
.rfb-arr-regles-titre { margin: 0 0 8px; color: var(--blanc); font-weight: 600; }
.rfb-arr-regles ul { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; }
.rfb-arr-regles li { margin: 0; padding: 0 12px 0 0; }
.rfb-arr-regles li::before { content: "·"; margin-right: 8px; color: var(--ciel); font-weight: 700; }
.rfb-arr-demo { --rfb-h: 248px; margin-top: 18px; }
.rfb-arr-demo > figure > figcaption, .rfb-arr-demo figcaption { margin: 2px 0 0; text-align: center; font-size: 14px; color: var(--doux); }
.rfb-exemple { font-weight: 600; color: var(--blanc); }
body.rfb-arrivee .rfb-parcours { padding-top: 40px; }
body.rfb-arrivee .rfb-etape { padding-bottom: 32px; }
body.rfb-arrivee .rfb-fil { max-width: 720px; }
body.rfb-arrivee .rfb-offre { padding-top: 16px; }
.rfb-arrivee .rfb-offre-plaque { max-width: 520px; margin: 0 auto; text-align: center; }
.rfb-arrivee .rfb-offre-plaque .rfb-offre-sous { margin: 0 0 2px; font-weight: 600; color: var(--blanc); }
.rfb-arrivee .rfb-offre-plaque .rfb-tarif { margin-bottom: 18px; }
@media (max-width: 480px) { .rfb-arr-regles ul { flex-direction: column; gap: 3px; } .rfb-arrivee .rfb-offre-plaque { padding: 24px 12px; } .rfb-arrivee .rfb-offre-plaque a.rfb-bouton { padding: 0 12px; gap: 6px; font-size: 18px; } }
@media (max-width: 359px) { body.rfb-arrivee .rfb-haut h1 { font-size: 7.6vw; } .rfb-faits { font-size: 15px; } }
@media (min-width: 900px) {
  body.rfb-arrivee .rfb-haut { padding: 14px 40px 28px; }
  .rfb-arr-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 44px; align-items: start; }
  .rfb-arr-texte { grid-column: 1; grid-row: 1; text-align: left; align-self: end; }
  .rfb-arr-zone { grid-column: 1; grid-row: 2; margin-top: 18px; }
  body.rfb-arrivee .rfb-etape { display: block; padding: 0 0 36px 64px; }
  .rfb-arr-demo { --rfb-l: 100%; grid-column: 2; grid-row: 1 / 3; margin-top: 10px; align-self: center; --rfb-h: min(42vw, 420px); }
  .rfb-arr-demo .rfb-cadre { width: 100%; height: auto; aspect-ratio: 1200 / 760; max-width: none; }
  .rfb-arr-texte, .rfb-arr-zone { position: relative; z-index: 2; }
  body.rfb-arrivee .pret .rfb-vue.apres { transform: translate3d(22%, 0, -320px) rotateY(-22deg); opacity: .34; }
  body.rfb-arrivee .pret .rfb-vue.avant { transform: translate3d(-18%, 0, -320px) rotateY(22deg); opacity: .22; }
  body.rfb-arrivee .rfb-haut h1 { margin: 12px 0 0; font-size: clamp(36px, 4.4vw, 58px); line-height: 1.08; max-width: 18ch; }
  body.rfb-arrivee .rfb-actions { justify-content: flex-start; }
  .rfb-faits { margin: 14px 0 0; max-width: 44ch; }
  body.rfb-arrivee .rfb-etape h3 { font-size: 22px; }
  .rfb-arrivee .rfb-offre-plaque { padding: 44px 48px; }
  .rfb-arrivee .rfb-offre-plaque a.rfb-bouton { width: 100%; }
}
@media (min-width: 1080px) { .rfb-arr-grille { column-gap: 72px; } }

/* ---------------------------------------- /tarifs : mise en forme seulement */
body.rfb-tarifs .conteneur, body.rfb-tarifs .article { max-width: none; padding: 0; margin: 0; }
body.rfb-tarifs .fil { background: none; box-shadow: none; clip-path: none; max-width: 1160px; margin: 0 auto; padding: 12px 20px 0; font-size: 15px; }
body.rfb-tarifs .fil ol, body.rfb-tarifs .fil li, body.rfb-tarifs .fil a { color: var(--doux); }
body.rfb-tarifs .fil a { min-height: 44px; }
.rfb-tar-hero { position: relative; padding: 12px 20px 16px !important; max-width: 1160px; margin: 0 auto; background: none !important; box-shadow: none !important; clip-path: none !important; display: grid; gap: 16px; }
.rfb-tar-texte { min-width: 0; }
body.rfb-tarifs .hero h1 { margin: 6px 0 0; font-size: clamp(30px, 8.6vw, 54px); line-height: 1.08; letter-spacing: -.035em; font-weight: 640; color: var(--blanc); max-width: 19ch; text-wrap: balance; }
body.rfb-tarifs .rfb-actions { justify-content: flex-start; margin-top: 16px; }
body.rfb-tarifs .rfb-tar-texte > p { margin: 14px 0 0; color: var(--doux); font-size: 17px; max-width: 58ch; }
.rfb-tar-plaque { padding: 20px 20px 10px; border-radius: 20px; background: linear-gradient(160deg, var(--nuit-3), var(--nuit-2)); box-shadow: 0 0 0 1px rgba(143, 187, 255, .3), 0 0 70px rgba(47, 128, 255, .2); align-self: end; }
body.rfb-p2 dl.paires { margin: 0; }
body.rfb-p2 .paires > div { padding: 10px 0; border-bottom: 1px solid var(--trait); gap: 14px; }
body.rfb-p2 .paires > div:first-child { border-top: 0; }
body.rfb-p2 .paires > div:last-child { border-bottom: 0; }
body.rfb-p2 .paires dt { color: var(--doux); }
body.rfb-p2 .paires dt::after { border-bottom-color: var(--trait); }
body.rfb-p2 .paires dd { color: var(--blanc); font-weight: 600; font-variant-numeric: tabular-nums; }
body.rfb-tarifs .corps { max-width: 1160px; margin: 0 auto; padding: 8px 20px 72px; }
body.rfb-tarifs .corps > :is(p, ul, .faq, .b-note, dl, .ctas) { max-width: 720px; }
body.rfb-tarifs .corps h2 { margin: 56px 0 14px; font-size: clamp(26px, 6vw, 38px); line-height: 1.12; letter-spacing: -.028em; font-weight: 620; color: var(--blanc); }
body.rfb-tarifs .corps h3 { color: var(--blanc); font-weight: 600; font-size: 19px; }
body.rfb-tarifs .corps p, body.rfb-tarifs .corps li { color: var(--doux); }
body.rfb-tarifs .corps a { color: var(--ciel); text-underline-offset: 3px; }
body.rfb-tarifs .corps .b-note { padding: 14px 18px; background: none; border: 1px solid var(--trait); border-radius: 12px; }
body.rfb-tarifs .corps .b-note p { margin: 0; }
body.rfb-tarifs .tableau { border: 1px solid var(--trait); border-radius: 16px; background: var(--nuit-2); }
body.rfb-tarifs .tableau:focus-visible { outline: 2px solid var(--ciel); outline-offset: 3px; }
body.rfb-tarifs .tableau table { color: var(--doux); font-size: 16px; }
body.rfb-tarifs .tableau thead th { background: transparent; color: var(--blanc); border-bottom: 1px solid var(--trait); }
body.rfb-tarifs .tableau th, body.rfb-tarifs .tableau td { padding: 12px 16px; border-bottom: 1px solid var(--trait); }
body.rfb-tarifs .tableau tbody th { color: var(--blanc); font-weight: 600; white-space: normal; min-width: 8em; }
body.rfb-tarifs .tableau tbody tr:last-child > * { border-bottom: 0; }
body.rfb-tarifs .faq { border-top: 1px solid var(--trait); padding: 14px 0 6px; }
body.rfb-tarifs .faq-q { margin: 0 0 6px; }
body.rfb-tarifs .ctas { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
body.rfb-tarifs .ctas .cta-note { color: var(--doux); margin: 0; }
body.rfb-tarifs .lien-tel, body.rfb-tarifs a.plus { display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 900px) {
  .rfb-tar-hero { grid-template-columns: 1.15fr .85fr; gap: 56px; padding: 18px 40px 22px !important; }
  body.rfb-tarifs .fil { padding: 16px 40px 0; }
  body.rfb-tarifs .corps { padding: 8px 40px 88px; }
  .rfb-tar-plaque { padding: 26px 28px 14px; }
  body.rfb-tarifs .tableau tbody th { width: 240px; }
}
@media (max-width: 600px) { body.rfb-tarifs .tableau tbody th { min-width: 0; width: 30%; } body.rfb-tarifs .tableau th, body.rfb-tarifs .tableau td { padding: 10px 10px; } }
@media (max-width: 359px) { body.rfb-tarifs .hero h1 { font-size: 8.2vw; } }
/* Telephone a l'horizontale : le bouton principal reste au-dessus du bandeau fixe */
@media (max-height: 480px) { body.rfb-tarifs .fil { padding-top: 2px; } .rfb-tar-hero { padding-top: 2px !important; } body.rfb-tarifs .hero h1 { font-size: 26px; max-width: none; margin-top: 0; } body.rfb-tarifs .rfb-actions { margin-top: 8px; } body.rfb-tarifs .rfb-tar-texte a.rfb-bouton { min-height: 48px; font-size: 17px; } }
@media print { .rfb-arr-demo { display: none; } }
/* Lot ARRIVEE-MOBILE (11/11/2026, C497) : haut de la page d'arrivee sous 900 px, un seul alignement (centre) : titre, bouton, mentions, paragraphe et liste « Regles du batiment »
 * (elements centres, qui passent a la ligne proprement ; en colonne centree jusqu'a 480 px). Constat sur iPhone : paragraphe et liste etaient alignes a gauche sous un haut centre.
 * Aucun texte change ; au-dessus de 900 px, rien ne change (la grille a deux colonnes reprend son alignement a gauche). */
@media (max-width: 899px) {
  .rfb-arr-zone { text-align: center; }
  .rfb-arr-intro { max-width: 40ch; margin-left: auto; margin-right: auto; }
  .rfb-arr-regles ul { justify-content: center; }
  .rfb-arr-regles li { padding: 0 6px; }
}
@media (max-width: 480px) { .rfb-arr-regles ul { align-items: center; } }
/* (fin du bloc Lot ARRIVEE-MOBILE) */
