/*! Refontia Core — feuille commune v1.2.7
   Jetons --rf-* : valeurs neutres par defaut ; l'identite de chaque site (Reglages > Refontia) les surcharge.
   Fichier genere par build.py : editer les sources dans parts/, jamais ce fichier. */
/* ===== Polices auto-hebergees (WOFF2 variables, sous-ensemble latin, OFL-1.1) — M12.9 : aucun appel a Google ===== */
@font-face { font-family: 'RF Inter'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(../fonts/inter-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'RF Inter'; font-style: italic; font-display: swap; font-weight: 100 900; src: url(../fonts/inter-latin-wght-italic.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'RF Playfair'; font-style: normal; font-display: swap; font-weight: 400 900; src: url(../fonts/playfair-display-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'RF Playfair'; font-style: italic; font-display: swap; font-weight: 400 900; src: url(../fonts/playfair-display-latin-wght-italic.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
/* Alias : le contenu existant cite 'Playfair Display' et 'Inter' en style en ligne ; memes fichiers locaux, zero appel externe */
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(../fonts/inter-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter'; font-style: italic; font-display: swap; font-weight: 100 900; src: url(../fonts/inter-latin-wght-italic.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-display: swap; font-weight: 400 900; src: url(../fonts/playfair-display-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Playfair Display'; font-style: italic; font-display: swap; font-weight: 400 900; src: url(../fonts/playfair-display-latin-wght-italic.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* ===== Jetons par defaut =====
   Roles, pas des teintes : la feuille d'identite du projet redefinit les valeurs, jamais les noms.
   Regle M11bis : -ink = texte sur fond clair, -on-dark = texte sur fond sombre, le reste = remplissages.
   Chaque couple texte/fond ci-dessous est verifie >= 4,5:1 (voir README). */
:root {
  --rf-ink: #1F2933;            --rf-ink-rgb: 31 41 51;
  --rf-ink-2: #2B3642;
  --rf-ink-3: #3E4C59;
  --rf-muted: #5A6572;          /* palette neutre par defaut : un site sans identite ne ressemble a aucun client */
  --rf-surface: #FFFFFF;
  --rf-surface-soft: #F8F8F6;
  --rf-surface-alt: #EFEFEB;
  --rf-accent: #3E5C76;         --rf-accent-rgb: 62 92 118;   /* remplissage (boutons, filets) */
  --rf-accent-hover: #324B61;   /* survol */
  --rf-accent-ink: #3E5C76;     /* accent en texte sur fond clair */
  --rf-accent-on-dark: #A9C3D9; /* accent en texte sur fond sombre */
  --rf-highlight: #D8C9A3;      /* italiques d accent sur fond sombre */
  --rf-highlight-fill: #B8A67A; --rf-highlight-rgb: 184 166 122;
  --rf-highlight-ink: #6B5B32;  /* texte dore sur fond clair */
  --rf-on-dark: #FFFFFF;
  --rf-on-dark-muted: #B9C0C8;  /* texte attenue sur fond sombre */
  --rf-font-display: 'RF Playfair', Georgia, serif;
  --rf-font-body: 'RF Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --rf-r1: 8px; --rf-r2: 16px; --rf-r3: 24px; --rf-r4: 32px; --rf-r5: 48px; --rf-r6: 64px; --rf-r-pill: 999px;
  --rf-sh1: 0 1px 4px rgb(var(--rf-ink-rgb) / .06);
  --rf-sh2: 0 4px 20px rgb(var(--rf-ink-rgb) / .10);
  --rf-sh3: 0 12px 48px rgb(var(--rf-ink-rgb) / .16);
  --rf-sh4: 0 24px 80px rgb(var(--rf-ink-rgb) / .22);
  --rf-tap: 44px;               /* standard Refontia, au-dessus du plancher WCAG 2.5.8 (24px) */
  --rf-hero-image: none;
}

/* ===== Integration Kadence (reprise du CSS additionnel, sans selecteur d'attribut) ===== */
/* [Correctif #103 — Chantier footer masque, 28/09/2026] La regle qui suivait ici masquait tout le pied de
   page sur les trois socles et toutes les demos batis sur ce theme, sans exception par site. Reprise
   telle quelle d'un CSS additionnel ecrit pour la demo de reference (cf. migration-ltz2-2026-09-26/, sources de la
   demo), jamais remise en cause au moment de la globaliser ici.
   Verifie par inspection DOM reelle (Playwright, rendu public, 28/09/2026, starter-essentiel) : sur le
   balisage Kadence effectivement genere, #colophon .site-info N'EST PAS une ligne de credit indépendante
   (contrairement a Refontia_Theme/README.md, "le masquage du titre et du credit passe encore par la
   feuille" — lecture erronee de ce README, a corriger) : c'est .footer-widget-area.site-info, le
   CONTENEUR du widget "Footer HTML" (footer_html_content), et .footer-html-inner en est un DESCENDANT
   (confirme : fhiIsDescendantOfSi = true). Masquer #colophon .site-info masque donc .footer-html-inner
   quel que soit le display pose sur ce dernier — un display:block sur le seul enfant ne suffit pas.
   Les DEUX regles doivent passer a block. C'est exactement l'etat deja verifie au rendu public sur
   demo-veterinaire-signature le 27/09/2026 (les deux blocs visibles, 0 texte de credit parasite
   constate : .site-info ne contient ici rien d'autre que .footer-html-inner). */
.footer-html-inner, #colophon .site-info { display: block !important; }
/* [Feuille 1.2.4, 11/10/2026] Le titre de page n'est plus masque partout : les pages « texte » (titre Kadence
   affiche, meta _kad_post_title = normal ou above ; classe rf-page-texte posee par Refontia Core et le theme)
   gardent leur H1 visible. Constate sur test-landing le 10/10 : H1 des mentions legales present dans le DOM
   mais cache par cette regle (P8 comptait 1 H1, le visiteur n'en voyait aucun). */
body:not(.rf-page-texte) header.entry-header, body:not(.rf-page-texte) .entry-title { display: none !important; }
.entry-content-wrap, .page .entry-content-wrap { padding: 0 !important; margin: 0 !important; }
.entry-content.single-content { margin: 0 !important; padding: 0 !important; }
#inner-wrap, .content-bg { padding-top: 0 !important; }
.content-area { margin-top: 0 !important; margin-bottom: 0 !important; }
.site-header-row-container-inner .site-container { max-width: 100% !important; padding-left: clamp(24px, 4vw, 64px) !important; padding-right: clamp(24px, 4vw, 64px) !important; }
.site-main-header-inner-wrap { width: 100% !important; }
#primary-navigation > ul, .main-navigation > ul { flex-wrap: nowrap !important; }
#primary-navigation a, .main-navigation a { font-family: var(--rf-font-body) !important; font-size: 13px !important; white-space: nowrap !important; min-height: var(--rf-tap) !important; display: inline-flex !important; align-items: center !important; }
.site-branding .site-title, .site-branding .site-title a { font-family: var(--rf-font-body) !important; font-weight: 700 !important; font-size: 15px !important; color: var(--rf-ink) !important; text-decoration: none !important; }
.site-branding a { min-height: var(--rf-tap); display: inline-flex; align-items: center; }
.site-branding .site-title a:hover { color: var(--rf-accent-ink) !important; }
body { font-family: var(--rf-font-body); }
*, *::before, *::after { box-sizing: border-box; }

/* ===== En-tete : bouton d'appel (feuille 1.2.3, theme 0.2.5, 10/10/2026) =====
   Rempli par le code court [refontia champ="telephone" lien="oui" classe="rf-appel-entete"], que le theme
   pose par defaut dans l'element HTML de l'en-tete Kadence (a droite du menu, ordinateur). Vide tant que
   Reglages > Refontia > Telephone n'est pas rempli : rien n'est affiche, aucun numero invente.
   Origine : promesse de l'offre Landing, « coordonnees et bouton d'appel bien visibles », non tenue sur
   test-landing (numero seulement en bas de page). Mesure : 44 px de haut, contraste 7,01:1 (jetons neutres). */
.header-html .rf-appel-entete { display:inline-flex; align-items:center; gap:8px; min-height:44px; padding:0 18px; border-radius:var(--rf-r-pill); background:var(--rf-accent); color:var(--rf-on-dark) !important; font-family:var(--rf-font-body); font-size:14px; font-weight:600; line-height:1; text-decoration:none !important; white-space:nowrap; transition:background .2s; }
.header-html .rf-appel-entete:hover { background:var(--rf-accent-hover); }
.header-html .rf-appel-entete:focus-visible { outline:2px solid var(--rf-accent); outline-offset:3px; }
.header-html .rf-appel-entete::before { content:""; width:16px; height:16px; flex:none; background:currentColor; -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") center/contain no-repeat; mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") center/contain no-repeat; }
/* Barre d'appel de Refontia Core (fixee en bas d'ecran jusqu'a 767 px) etendue aux tablettes : de 768 a
   1024 px, Kadence affiche l'en-tete mobile, sans bouton d'appel. Visible seulement si un telephone est saisi. */
@media (min-width:768px) and (max-width:1024px) {
  body .rfc-appel { display:block; position:fixed; left:0; right:0; bottom:0; z-index:9990; padding:.55rem 1rem calc(.55rem + env(safe-area-inset-bottom)); background:var(--rf-ink); box-shadow:0 -1px 0 rgba(255,255,255,.12); }
  body .rfc-appel__bouton { display:flex; align-items:center; justify-content:center; gap:.55rem; min-height:48px; border-radius:4px; background:var(--rf-accent); color:var(--rf-on-dark) !important; font-weight:700; text-decoration:none !important; }
  body:has(.rfc-appel) { padding-bottom:4.5rem; }
}

/* ===== Pages « texte » : mentions legales, confidentialite, CGV (feuille 1.2.4, 11/10/2026) =====
   Les regles ci-dessus retirent marges et largeur au contenu, pour les sections pleine largeur de l'accueil.
   Une page de texte courant s'affichait donc collee au bord gauche, sans titre. Colonne de lecture et titre. */
.rf-page-texte .entry-content-wrap { max-width: 820px; margin: 0 auto !important; padding: clamp(40px, 6vw, 72px) clamp(16px, 4vw, 24px) clamp(56px, 8vw, 96px) !important; }
.rf-page-texte .entry-title { font-family: var(--rf-font-display); font-weight: 600; font-size: clamp(32px, 4vw, 44px); line-height: 1.15; color: var(--rf-ink); margin: 0 0 32px; }
.rf-page-texte .entry-content h2 { font-family: var(--rf-font-display); color: var(--rf-ink); margin-top: 40px; }

/* ===== Palette Kadence reliee aux jetons Refontia (feuille 1.2.4, 11/10/2026) =====
   Les liens hors composants Refontia (pied de page, case de consentement, texte des pages legales) prenaient
   la palette par defaut de Kadence (bleu #2B6CB0 sur test-landing), pas l'accent du site. Sur body : l'emporte
   sur le :root qu'imprime Kadence, quel que soit l'ordre des feuilles. Seuls l'accent et son survol sont relies. */
body {
  --global-palette1: var(--rf-accent-ink);
  --global-palette2: var(--rf-accent-hover);
  --global-palette-highlight: var(--rf-accent-ink);
  --global-palette-highlight-alt: var(--rf-accent-hover);
}

/* ===== En-tete fixe : ancres non masquees (feuille 1.2.5, 11/10/2026) =====
   Le theme 0.2.7 rend la ligne principale de l'en-tete fixe au defilement. Sans marge de defilement, un clic
   sur « Prestations » ou « Contact » amenait le titre de la section sous l'en-tete. */
html:has(.kadence-sticky-header) { scroll-padding-top: 96px; }


/* ===== En-tete fixe a 1 024 px exactement (feuille 1.2.6, 11/10/2026) =====
   Ecart de Kadence 1.5.2 : a 1 024 px (tablette a l'horizontale), la feuille affiche l'en-tete mobile mais le
   script fixe l'en-tete de bureau, masque ; l'en-tete visible defile avec la page. On colle donc l'en-tete
   entier a cette seule largeur. Mesure sans connexion sur deux sites de demonstration. */
@media (min-width: 1024px) and (max-width: 1024px) {
  html:has(#mobile-header .kadence-sticky-header) #masthead { position: sticky; top: 0; z-index: 1200; }
}

/* ===== Composants =====
   rf-  : sections de page d'accueil (heros, reassurance, engagements, prestations, etapes, zones, FAQ, CTA)
   rf-p-: pages internes (heros de page, corps, cartes, listes, pastilles)
   Issus de la demo de reference (migration ltz2 du 26/09/2026). Source editable : ce fichier. */
 .rf-hero { position:relative; min-height:100vh; display:flex; align-items:stretch; overflow:hidden; background:var(--rf-ink); }
.rf-hero-bg { position:absolute; inset:0; background-image:var(--rf-hero-image); background-size:cover; background-position:center 30%; opacity:.22; filter:saturate(.6); transition:opacity 1s; }
.rf-hero-overlay { position:absolute; inset:0; background:linear-gradient(105deg, rgb(var(--rf-ink-rgb) / .97) 0%, rgb(var(--rf-ink-rgb) / .85) 50%, rgb(var(--rf-ink-rgb) / .4) 100%); }
.rf-hero-inner { position:relative; z-index:2; width:100%; max-width:1280px; margin:0 auto; padding:clamp(100px, 14vh, 160px) clamp(24px, 6vw, 96px) clamp(80px, 10vh, 120px); display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; }
.rf-hero-left { }
.rf-eyebrow { display:inline-flex; align-items:center; gap:10px; margin-bottom:28px; }
.rf-eyebrow-dot { width:8px; height:8px; border-radius:50%; background:var(--rf-accent); flex-shrink:0; animation:rf-blink 2.5s ease-in-out infinite; }
@keyframes rf-blink { 0%,100% { opacity:1 }
50% { opacity:.3 }
 }
.rf-eyebrow-text { font-family:var(--rf-font-body); font-size:11px; font-weight:600; letter-spacing:.22em; text-transform:uppercase; color:var(--rf-accent-on-dark); }
.rf-h1 { font-family:var(--rf-font-display); font-size:clamp(40px, 5.5vw, 76px); font-weight:600; color:var(--rf-on-dark); line-height:1.05; letter-spacing:-.025em; margin:0 0 28px; }
.rf-h1 em { font-style:italic; font-weight:400; color:var(--rf-highlight); display:block; }
.rf-hero-desc { font-family:var(--rf-font-body); font-size:17px; font-weight:300; color:var(--rf-on-dark-muted); line-height:1.8; max-width:480px; margin:0 0 44px; }
.rf-ctas { display:flex; flex-wrap:wrap; gap:14px; margin-bottom:56px; }
.rf-btn { display:inline-flex; align-items:center; gap:10px; font-family:var(--rf-font-body); font-size:14px; font-weight:600; padding:16px 32px; border-radius:var(--rf-r-pill); text-decoration:none !important; transition:all .25s; cursor:pointer; }
.rf-btn-primary { background:var(--rf-accent); color:var(--rf-on-dark) !important; box-shadow:0 8px 32px rgb(var(--rf-accent-rgb) / .45); }
.rf-btn-primary:hover { background:var(--rf-accent-hover); transform:translateY(-2px); box-shadow:0 14px 40px rgb(var(--rf-accent-rgb) / .55); }
.rf-btn-outline { background:transparent; color:var(--rf-on-dark-muted) !important; border:1.5px solid rgba(255,255,255,.2); }
.rf-btn-outline:hover { border-color:rgba(255,255,255,.5); background:rgba(255,255,255,.06); }
.rf-hero-stats { display:flex; gap:32px; padding-top:32px; border-top:1px solid rgba(255,255,255,.08); }
.rf-stat { display:flex; flex-direction:column; gap:4px; }
.rf-stat-val { font-family:var(--rf-font-display); font-size:28px; font-weight:600; color:var(--rf-on-dark); line-height:1; }
.rf-stat-label { font-family:var(--rf-font-body); font-size:12px; color:var(--rf-on-dark-muted); font-weight:400; }
.rf-hero-right { display:flex; flex-direction:column; gap:16px; }
.rf-hero-img-main { border-radius:var(--rf-r5); overflow:hidden; box-shadow:var(--rf-sh4); position:relative; }
.rf-hero-img-main img { width:100%; height:340px; object-fit:cover; display:block; transition:transform .6s ease; }
.rf-hero-img-main:hover img { transform:scale(1.03); }
.rf-hero-img-caption { position:absolute; bottom:0; left:0; right:0; background:linear-gradient(to top, rgb(var(--rf-ink-rgb) / .95), transparent); padding:36px 24px 20px; display:flex; align-items:flex-end; justify-content:space-between; }
.rf-caption-text { font-family:var(--rf-font-body); font-size:13px; color:var(--rf-on-dark-muted); }
.rf-caption-badge { background:var(--rf-accent); color:var(--rf-on-dark); font-family:var(--rf-font-body); font-size:11px; font-weight:600; padding:6px 12px; border-radius:var(--rf-r-pill); }
.rf-hero-img-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.rf-hero-img-sm { border-radius:var(--rf-r4); overflow:hidden; box-shadow:var(--rf-sh2); height:160px; }
.rf-hero-img-sm img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .5s; }
.rf-hero-img-sm:hover img { transform:scale(1.05); }
.rf-reassurance { background:var(--rf-accent); padding:20px clamp(24px, 5vw, 80px); }
.rf-reassurance-inner { max-width:1280px; margin:0 auto; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px; }
.rf-reass-item { display:flex; align-items:center; gap:10px; font-family:var(--rf-font-body); font-size:13px; font-weight:500; color:rgba(255,255,255,.9); }
.rf-reass-item svg { flex-shrink:0; }
.rf-reass-sep { width:1px; height:24px; background:rgba(255,255,255,.25); }
.rf-section { padding:clamp(64px, 8vw, 120px) clamp(24px, 5vw, 80px); }
.rf-container { max-width:1280px; margin:0 auto; }
.rf-label { display:flex; align-items:center; gap:12px; margin-bottom:16px; }
.rf-label-line { width:36px; height:2px; background:var(--rf-accent); border-radius:2px; }
.rf-label-text { font-family:var(--rf-font-body); font-size:11px; font-weight:700; letter-spacing:.22em; text-transform:uppercase; color:var(--rf-accent-ink); }
.rf-h2 { font-family:var(--rf-font-display); font-size:clamp(30px, 4vw, 56px); font-weight:600; color:var(--rf-ink); line-height:1.08; letter-spacing:-.02em; margin:0 0 16px; }
.rf-h2 em { font-style:italic; font-weight:400; color:var(--rf-accent-ink); }
.rf-lead { font-family:var(--rf-font-body); font-size:16px; color:var(--rf-muted); line-height:1.8; max-width:560px; margin:0; }
.rf-engage { background:var(--rf-surface-soft); }
.rf-engage-grid { display:grid; grid-template-columns:repeat(4, 1fr); gap:20px; margin-top:56px; }
.rf-engage-card { background:var(--rf-surface); border-radius:var(--rf-r4); padding:36px 28px; border:1px solid rgb(var(--rf-ink-rgb) / .06); box-shadow:var(--rf-sh1); transition:all .3s; position:relative; overflow:hidden; }
.rf-engage-card::after { content:''; position:absolute; bottom:0; left:0; right:0; height:3px; background:var(--rf-accent); transform:scaleX(0); transform-origin:left; transition:transform .3s; }
.rf-engage-card:hover { box-shadow:var(--rf-sh3); transform:translateY(-5px); }
.rf-engage-card:hover::after { transform:scaleX(1); }
.rf-engage-icon { width:60px; height:60px; background:rgb(var(--rf-accent-rgb) / .08); border-radius:var(--rf-r3); display:flex; align-items:center; justify-content:center; margin-bottom:24px; font-size:26px; }
.rf-engage-num { font-family:var(--rf-font-display); font-size:48px; font-weight:300; font-style:italic; color:var(--rf-muted); position:absolute; top:16px; right:24px; line-height:1; }
.rf-engage-title { font-family:var(--rf-font-body); font-size:16px; font-weight:600; color:var(--rf-ink); margin:0 0 10px; }
.rf-engage-text { font-family:var(--rf-font-body); font-size:14px; color:var(--rf-muted); line-height:1.7; margin:0; }
.rf-presta-bg { background:var(--rf-surface); }
.rf-presta-header { display:flex; align-items:flex-end; justify-content:space-between; gap:32px; margin-bottom:56px; }
.rf-presta-grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:24px; }
.rf-presta-card { border-radius:var(--rf-r5); overflow:hidden; box-shadow:var(--rf-sh2); transition:all .3s; position:relative; background:var(--rf-surface); border:1px solid rgb(var(--rf-ink-rgb) / .06); }
.rf-presta-card:hover { box-shadow:var(--rf-sh4); transform:translateY(-6px); }
.rf-presta-img { position:relative; height:200px; overflow:hidden; }
.rf-presta-img img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .5s; }
.rf-presta-card:hover .rf-presta-img img { transform:scale(1.08); }
.rf-presta-img-overlay { position:absolute; inset:0; background:linear-gradient(to bottom, transparent 40%, rgb(var(--rf-ink-rgb) / .7)); }
.rf-presta-tag { position:absolute; top:16px; left:16px; background:var(--rf-accent); color:var(--rf-on-dark); font-family:var(--rf-font-body); font-size:10px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; padding:5px 12px; border-radius:var(--rf-r-pill); }
.rf-presta-body { padding:28px; }
.rf-presta-title { font-family:var(--rf-font-display); font-size:20px; font-weight:600; color:var(--rf-ink); margin:0 0 10px; line-height:1.25; }
.rf-presta-text { font-family:var(--rf-font-body); font-size:14px; color:var(--rf-muted); line-height:1.7; margin:0 0 20px; }
.rf-presta-link { display:inline-flex; align-items:center; gap:8px; font-family:var(--rf-font-body); font-size:13px; font-weight:600; color:var(--rf-accent-ink) !important; text-decoration:none !important; transition:gap .2s; }
.rf-presta-link:hover { gap:14px; }
.rf-presta-link-icon { width:28px; height:28px; background:rgb(var(--rf-accent-rgb) / .1); border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:12px; transition:background .2s; }
.rf-presta-link:hover .rf-presta-link-icon { background:var(--rf-accent); color:var(--rf-on-dark); }
.rf-photobande { position:relative; height:480px; overflow:hidden; }
.rf-photobande img { width:100%; height:100%; object-fit:cover; object-position:center 40%; display:block; }
.rf-photobande-overlay { position:absolute; inset:0; background:linear-gradient(90deg, rgb(var(--rf-ink-rgb) / .9) 0%, rgb(var(--rf-ink-rgb) / .6) 50%, rgb(var(--rf-ink-rgb) / .2) 100%); display:flex; align-items:center; }
.rf-photobande-content { max-width:1280px; width:100%; margin:0 auto; padding:0 clamp(24px, 5vw, 80px); }
.rf-photobande-content h2 { font-family:var(--rf-font-display); font-size:clamp(32px, 4.5vw, 60px); font-weight:600; color:var(--rf-on-dark); line-height:1.1; margin:0 0 20px; max-width:600px; }
.rf-photobande-content h2 em { font-style:italic; font-weight:400; color:var(--rf-highlight); }
.rf-photobande-content p { font-family:var(--rf-font-body); font-size:16px; color:var(--rf-on-dark-muted); line-height:1.75; max-width:480px; margin:0 0 36px; }
.rf-process-bg { background:var(--rf-ink); }
.rf-process-grid { display:grid; grid-template-columns:repeat(4, 1fr); gap:0; margin-top:64px; position:relative; }
.rf-process-grid::before { content:''; position:absolute; top:36px; left:calc(12.5% + 36px); right:calc(12.5% + 36px); height:1px; background:linear-gradient(90deg, var(--rf-accent), rgb(var(--rf-accent-rgb) / .1)); }
.rf-process-step { padding:0 28px; text-align:center; position:relative; z-index:1; }
.rf-process-num { width:72px; height:72px; border-radius:50%; background:rgb(var(--rf-accent-rgb) / .12); border:2px solid rgb(var(--rf-accent-rgb) / .3); display:flex; align-items:center; justify-content:center; margin:0 auto 28px; font-family:var(--rf-font-display); font-size:26px; font-weight:600; font-style:italic; color:var(--rf-accent-on-dark); position:relative; transition:all .3s; }
.rf-process-step:hover .rf-process-num { background:var(--rf-accent); border-color:var(--rf-accent); color:var(--rf-on-dark); box-shadow:0 8px 32px rgb(var(--rf-accent-rgb) / .5); }
.rf-process-title { font-family:var(--rf-font-body); font-size:15px; font-weight:600; color:var(--rf-on-dark); margin:0 0 12px; }
.rf-process-text { font-family:var(--rf-font-body); font-size:13px; color:var(--rf-on-dark-muted); line-height:1.7; margin:0; }
.rf-zones-bg { background:var(--rf-surface-alt); }
.rf-zones-inner { display:grid; grid-template-columns:1fr 1fr; gap:80px; align-items:center; }
.rf-zones-img { border-radius:var(--rf-r5); overflow:hidden; box-shadow:var(--rf-sh3); position:relative; }
.rf-zones-img img { width:100%; height:480px; object-fit:cover; display:block; }
.rf-zones-img-tag { position:absolute; bottom:24px; left:24px; background:rgb(var(--rf-ink-rgb) / .92); backdrop-filter:blur(12px); border-radius:var(--rf-r3); padding:14px 20px; display:flex; align-items:center; gap:12px; }
.rf-zones-tags { display:flex; flex-wrap:wrap; gap:10px; margin:28px 0 36px; }
.rf-zone-pill { background:rgb(var(--rf-ink-rgb) / .07); border:1.5px solid rgb(var(--rf-ink-rgb) / .12); border-radius:var(--rf-r-pill); padding:8px 16px; font-family:var(--rf-font-body); font-size:13px; font-weight:500; color:var(--rf-ink-3); transition:all .2s; }
.rf-zone-pill:hover { background:var(--rf-accent); border-color:var(--rf-accent); color:var(--rf-on-dark); }
.rf-btn-dark { display:inline-flex; align-items:center; gap:10px; background:var(--rf-ink); color:var(--rf-on-dark) !important; font-family:var(--rf-font-body); font-size:14px; font-weight:600; padding:16px 32px; border-radius:var(--rf-r-pill); text-decoration:none !important; box-shadow:var(--rf-sh2); transition:all .25s; }
.rf-btn-dark:hover { background:var(--rf-ink-3); transform:translateY(-2px); }
.rf-contact-card-container { background:var(--rf-surface); border-radius:var(--rf-r5); padding:44px; box-shadow:var(--rf-sh3); border:1px solid rgb(var(--rf-ink-rgb) / .05); }
.rf-contact-card-container h3 { font-family:var(--rf-font-display); font-size:30px; font-weight:600; color:var(--rf-ink); margin:0 0 14px; }
.rf-contact-card-container p { font-family:var(--rf-font-body); font-size:15px; color:var(--rf-muted); line-height:1.75; margin:0 0 28px; }
.rf-contact-card-list { display:grid; gap:14px; margin-bottom:32px; }
.rf-contact-card-item { display:flex; align-items:center; gap:14px; padding:14px 18px; background:var(--rf-surface-alt); border-radius:var(--rf-r2); }
.rf-contact-card-item-icon { width:36px; height:36px; background:rgb(var(--rf-accent-rgb) / .1); border-radius:var(--rf-r1); display:flex; align-items:center; justify-content:center; font-size:16px; flex-shrink:0; }
.rf-contact-card-item-text { font-family:var(--rf-font-body); font-size:13px; color:var(--rf-ink-3); }
.rf-btn-full { display:block; width:100%; text-align:center; background:var(--rf-accent); color:var(--rf-on-dark) !important; font-family:var(--rf-font-body); font-size:15px; font-weight:600; padding:18px 24px; border-radius:var(--rf-r3); text-decoration:none !important; box-shadow:0 8px 32px rgb(var(--rf-accent-rgb) / .35); transition:all .25s; }
.rf-btn-full:hover { background:var(--rf-accent-hover); transform:translateY(-2px); }
.rf-demo-note { font-family:var(--rf-font-body); font-size:12px; color:var(--rf-muted); text-align:center; margin:14px 0 0; }
.rf-real-bg { background:var(--rf-surface-soft); }
.rf-real-grid { display:grid; grid-template-columns:repeat(2, 1fr); gap:24px; margin-top:56px; }
.rf-real-card { border-radius:var(--rf-r5); overflow:hidden; box-shadow:var(--rf-sh2); position:relative; transition:all .3s; cursor:pointer; }
.rf-real-card:hover { box-shadow:var(--rf-sh4); transform:translateY(-4px); }
.rf-real-img { height:260px; overflow:hidden; }
.rf-real-img img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .5s; }
.rf-real-card:hover .rf-real-img img { transform:scale(1.06); }
.rf-real-body { background:var(--rf-surface); padding:24px 28px; border:1px solid rgb(var(--rf-ink-rgb) / .05); border-top:none; }
.rf-real-tag { display:inline-block; background:rgb(var(--rf-accent-rgb) / .08); color:var(--rf-accent-ink); font-family:var(--rf-font-body); font-size:10px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; padding:4px 12px; border-radius:var(--rf-r-pill); margin-bottom:10px; }
.rf-real-title { font-family:var(--rf-font-display); font-size:20px; font-weight:600; color:var(--rf-ink); margin:0 0 8px; }
.rf-real-desc { font-family:var(--rf-font-body); font-size:14px; color:var(--rf-muted); line-height:1.65; margin:0; }
.rf-real-note { background:rgb(var(--rf-highlight-rgb) / .1); border:1px solid rgb(var(--rf-highlight-rgb) / .25); border-radius:var(--rf-r3); padding:16px 24px; font-family:var(--rf-font-body); font-size:13px; color:var(--rf-highlight-ink); margin-top:32px; text-align:center; }
.rf-faq-bg { background:var(--rf-surface); }
.rf-faq-inner { display:grid; grid-template-columns:1fr 1.6fr; gap:80px; align-items:start; }
.rf-faq-img { position:sticky; top:100px; }
.rf-faq-img img { width:100%; border-radius:var(--rf-r5); box-shadow:var(--rf-sh3); aspect-ratio:3/4; object-fit:cover; }
.rf-faq-list { display:grid; gap:16px; }
.rf-faq-item { background:var(--rf-surface-soft); border-radius:var(--rf-r3); padding:28px 32px; border:1px solid rgb(var(--rf-ink-rgb) / .06); transition:all .25s; }
.rf-faq-item:hover { border-color:rgb(var(--rf-accent-rgb) / .2); box-shadow:var(--rf-sh2); }
.rf-faq-q { font-family:var(--rf-font-body); font-size:15px; font-weight:600; color:var(--rf-ink); margin:0 0 10px; display:flex; align-items:flex-start; gap:12px; }
.rf-faq-q::before { content:'?'; display:flex; align-items:center; justify-content:center; width:22px; height:22px; background:var(--rf-accent); color:var(--rf-on-dark); border-radius:50%; font-size:12px; font-weight:700; flex-shrink:0; margin-top:1px; }
.rf-faq-a { font-family:var(--rf-font-body); font-size:14px; color:var(--rf-muted); line-height:1.75; margin:0; padding-left:34px; }
.rf-cta-final { position:relative; overflow:hidden; padding:clamp(80px, 10vw, 140px) clamp(24px, 5vw, 80px); background:var(--rf-ink); }
.rf-cta-bg { position:absolute; inset:0; background-image:var(--rf-hero-image); background-size:cover; background-position:center; opacity:.15; }
.rf-cta-overlay { position:absolute; inset:0; background:linear-gradient(135deg, rgb(var(--rf-ink-rgb) / .98) 0%, rgb(var(--rf-ink-rgb) / .85) 100%); }
.rf-cta-inner { position:relative; z-index:1; max-width:1280px; margin:0 auto; display:grid; grid-template-columns:1fr 1fr; gap:80px; align-items:center; }
.rf-cta-inner h2 { font-family:var(--rf-font-display); font-size:clamp(36px, 4.5vw, 60px); font-weight:600; color:var(--rf-on-dark); line-height:1.1; margin:0 0 16px; }
.rf-cta-inner h2 em { font-style:italic; font-weight:400; color:var(--rf-highlight); }
.rf-cta-inner p { font-family:var(--rf-font-body); font-size:16px; color:var(--rf-on-dark-muted); line-height:1.8; margin:0 0 40px; }
.rf-cta-btns { display:flex; gap:14px; flex-wrap:wrap; }
.rf-cta-card { background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.10); border-radius:var(--rf-r5); padding:44px; }
.rf-cta-card h3 { font-family:var(--rf-font-display); font-size:26px; font-style:italic; color:var(--rf-on-dark); margin:0 0 20px; }
.rf-cta-reasons { display:grid; gap:14px; margin-bottom:32px; }
.rf-cta-reason { display:flex; align-items:center; gap:12px; font-family:var(--rf-font-body); font-size:14px; color:var(--rf-on-dark-muted); }
.rf-cta-reason-check { width:20px; height:20px; background:rgb(var(--rf-accent-rgb) / .2); border-radius:50%; display:flex; align-items:center; justify-content:center; flex-shrink:0; font-size:10px; color:var(--rf-accent-on-dark); }
@media (max-width:1024px) { .rf-hero-inner { grid-template-columns:1fr; }
.rf-hero-right { display:none; }
.rf-engage-grid { grid-template-columns:1fr 1fr; }
.rf-presta-grid { grid-template-columns:1fr 1fr; }
.rf-process-grid { grid-template-columns:1fr 1fr; gap:40px; }
.rf-process-grid::before { display:none; }
.rf-zones-inner { grid-template-columns:1fr; }
.rf-faq-inner { grid-template-columns:1fr; }
.rf-faq-img { display:none; }
.rf-cta-inner { grid-template-columns:1fr; }
 }
@media (max-width:640px) { .rf-engage-grid { grid-template-columns:1fr; }
.rf-presta-grid { grid-template-columns:1fr; }
.rf-process-grid { grid-template-columns:1fr; }
.rf-real-grid { grid-template-columns:1fr; }
.rf-hero-stats { flex-wrap:wrap; gap:20px; }
.rf-reassurance-inner { justify-content:center; }
.rf-reass-sep { display:none; }
 }
.rf-p-hero { position:relative; min-height:60vh; display:flex; align-items:center; overflow:hidden; background:var(--rf-ink); }
.rf-p-hero-bg { position:absolute; inset:0; background-size:cover; background-position:center; opacity:.2; filter:saturate(.5); }
.rf-p-hero-overlay { position:absolute; inset:0; background:linear-gradient(120deg,rgb(var(--rf-ink-rgb) / .96) 0%,rgb(var(--rf-ink-rgb) / .8) 60%,rgb(var(--rf-ink-rgb) / .4) 100%); }
.rf-p-hero-content { position:relative; z-index:2; max-width:1280px; width:100%; margin:0 auto; padding:clamp(100px,13vh,150px) clamp(24px,5vw,80px) clamp(72px,9vh,100px); }
.rf-p-badge { display:inline-flex; align-items:center; gap:10px; background:rgb(var(--rf-accent-rgb) / .15); border:1px solid rgb(var(--rf-accent-rgb) / .3); border-radius:var(--rf-r-pill); padding:7px 20px; margin-bottom:24px; }
.rf-p-badge span { font-family:var(--rf-font-body); font-size:11px; font-weight:600; letter-spacing:.2em; text-transform:uppercase; color:var(--rf-accent-on-dark); }
.rf-p-h1 { font-family:var(--rf-font-display); font-size:clamp(34px,5vw,68px); font-weight:600; color:var(--rf-on-dark); margin:0 0 22px; line-height:1.06; letter-spacing:-.025em; }
.rf-p-h1 em { font-style:italic; font-weight:400; color:var(--rf-highlight); }
.rf-p-hero-sub { font-family:var(--rf-font-body); font-size:17px; color:var(--rf-on-dark-muted); line-height:1.8; max-width:560px; margin:0 0 40px; }
.rf-p-cta { display:inline-flex; align-items:center; gap:10px; background:var(--rf-accent); color:var(--rf-on-dark)!important; font-family:var(--rf-font-body); font-size:14px; font-weight:600; padding:16px 32px; border-radius:var(--rf-r-pill); text-decoration:none!important; box-shadow:0 8px 32px rgb(var(--rf-accent-rgb) / .4); transition:all .25s; }
.rf-p-cta:hover { background:var(--rf-accent-hover); transform:translateY(-2px); }
.rf-p-cta-outline { display:inline-flex; align-items:center; gap:8px; background:transparent; color:var(--rf-on-dark-muted)!important; font-family:var(--rf-font-body); font-size:14px; font-weight:500; padding:15px 28px; border-radius:var(--rf-r-pill); border:1.5px solid rgba(255,255,255,.2); text-decoration:none!important; transition:all .25s; margin-left:12px; }
.rf-p-body { background:var(--rf-surface-soft); padding:clamp(60px,8vw,100px) clamp(24px,5vw,80px); }
.rf-p-body-white { background:var(--rf-surface); }
.rf-p-body-dark { background:var(--rf-ink); }
.rf-p-container { max-width:1280px; margin:0 auto; }
.rf-p-2col { display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:start; }
.rf-p-3col { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.rf-p-label { display:flex; align-items:center; gap:12px; margin-bottom:14px; }
.rf-p-label-line { width:32px; height:2px; background:var(--rf-accent); border-radius:2px; }
.rf-p-label-text { font-family:var(--rf-font-body); font-size:11px; font-weight:700; letter-spacing:.22em; text-transform:uppercase; color:var(--rf-accent-ink); }
.rf-p-h2 { font-family:var(--rf-font-display); font-size:clamp(26px,3.5vw,48px); font-weight:600; color:var(--rf-ink); line-height:1.1; letter-spacing:-.02em; margin:0 0 16px; }
.rf-p-h2 em { font-style:italic; font-weight:400; color:var(--rf-accent-ink); }
.rf-p-h2-white { color:var(--rf-on-dark); }
.rf-p-lead { font-family:var(--rf-font-body); font-size:15px; color:var(--rf-muted); line-height:1.8; margin:0 0 32px; }
.rf-p-card { background:var(--rf-surface); border-radius:var(--rf-r5); padding:32px; border:1px solid rgb(var(--rf-ink-rgb) / .06); box-shadow:var(--rf-sh1); transition:all .3s; overflow:hidden; position:relative; }
.rf-p-card::after { content:''; position:absolute; bottom:0; left:0; right:0; height:3px; background:var(--rf-accent); transform:scaleX(0); transform-origin:left; transition:transform .3s; }
.rf-p-card:hover { box-shadow:var(--rf-sh3); transform:translateY(-4px); }
.rf-p-card:hover::after { transform:scaleX(1); }
.rf-p-card-icon { width:56px; height:56px; background:rgb(var(--rf-accent-rgb) / .08); border-radius:var(--rf-r3); display:flex; align-items:center; justify-content:center; margin-bottom:20px; font-size:24px; }
.rf-p-card-title { font-family:var(--rf-font-body); font-size:15px; font-weight:600; color:var(--rf-ink); margin:0 0 10px; }
.rf-p-card-text { font-family:var(--rf-font-body); font-size:14px; color:var(--rf-muted); line-height:1.7; margin:0; }
.rf-p-info-list { display:grid; gap:16px; }
.rf-p-info-item { display:flex; gap:16px; align-items:start; padding:20px 24px; background:var(--rf-surface); border-radius:var(--rf-r3); border:1px solid rgb(var(--rf-ink-rgb) / .06); box-shadow:var(--rf-sh1); }
.rf-p-info-icon { width:44px; height:44px; background:rgb(var(--rf-accent-rgb) / .08); border-radius:var(--rf-r2); display:flex; align-items:center; justify-content:center; font-size:20px; flex-shrink:0; }
.rf-p-info-title { font-family:var(--rf-font-body); font-size:14px; font-weight:600; color:var(--rf-ink); margin:0 0 5px; }
.rf-p-info-text { font-family:var(--rf-font-body); font-size:13px; color:var(--rf-muted); line-height:1.65; margin:0; }
.rf-p-img-rounded { border-radius:var(--rf-r5); overflow:hidden; box-shadow:var(--rf-sh3); }
.rf-p-img-rounded img { width:100%; display:block; object-fit:cover; }
.rf-p-pills { display:flex; flex-wrap:wrap; gap:10px; }
.rf-p-pill { background:rgb(var(--rf-accent-rgb) / .07); border:1.5px solid rgb(var(--rf-accent-rgb) / .18); border-radius:var(--rf-r-pill); padding:8px 18px; font-family:var(--rf-font-body); font-size:13px; font-weight:500; color:var(--rf-accent-ink)!important; text-decoration:none!important; transition:all .2s; }
.rf-p-pill:hover { background:var(--rf-accent); color:var(--rf-on-dark)!important; }
.rf-p-pill::before { content:'→ '; }
.rf-p-note { background:rgb(var(--rf-highlight-rgb) / .08); border:1px solid rgb(var(--rf-highlight-rgb) / .22); border-radius:var(--rf-r3); padding:16px 24px; font-family:var(--rf-font-body); font-size:13px; color:var(--rf-highlight-ink); text-align:center; margin-top:32px; }
.rf-p-note-blue { background:rgb(var(--rf-accent-rgb) / .06); border-color:rgb(var(--rf-accent-rgb) / .18); color:var(--rf-accent-ink); }
@media(max-width:768px) { .rf-p-2col { grid-template-columns:1fr!important; gap:40px; }
.rf-p-3col { grid-template-columns:1fr!important; }
 }
.rf-p-section { padding:clamp(56px,7vw,96px) clamp(24px,5vw,80px); }
.rf-p-img-rd { border-radius:var(--rf-r5); overflow:hidden; box-shadow:var(--rf-sh3); }
.rf-p-img-rd img { width:100%; display:block; object-fit:cover; }
.rf-p-card-grid { display:grid; gap:20px; grid-template-columns:repeat(3,1fr); }
.rf-p-faq-item { background:var(--rf-surface); border-radius:var(--rf-r3); padding:26px 30px; border:1px solid rgb(var(--rf-ink-rgb) / .06); margin-bottom:14px; transition:all .25s; }
.rf-p-faq-item:hover { border-color:rgb(var(--rf-accent-rgb) / .2); box-shadow:var(--rf-sh2); }
.rf-p-faq-q { font-family:var(--rf-font-body); font-size:15px; font-weight:600; color:var(--rf-ink); margin:0 0 10px; display:flex; align-items:flex-start; gap:12px; }
.rf-p-faq-q::before { content:'?'; display:flex; align-items:center; justify-content:center; width:22px; height:22px; background:var(--rf-accent); color:var(--rf-on-dark); border-radius:50%; font-size:12px; font-weight:700; flex-shrink:0; margin-top:1px; }
.rf-p-faq-a { font-family:var(--rf-font-body); font-size:14px; color:var(--rf-muted); line-height:1.75; margin:0; padding-left:34px; }
.rf-p-zone-pill { background:rgb(var(--rf-ink-rgb) / .07); border:1.5px solid rgb(var(--rf-ink-rgb) / .12); border-radius:var(--rf-r-pill); padding:8px 16px; font-family:var(--rf-font-body); font-size:13px; font-weight:500; color:var(--rf-ink-3); display:inline-block; margin:4px; transition:all .2s; }
.rf-p-zone-pill:hover { background:var(--rf-accent); border-color:var(--rf-accent); color:var(--rf-on-dark); }
.rf-p-btn-full { display:block; width:100%; text-align:center; background:var(--rf-accent); color:var(--rf-on-dark)!important; font-family:var(--rf-font-body); font-size:15px; font-weight:600; padding:18px 24px; border-radius:var(--rf-r3); text-decoration:none!important; box-shadow:0 8px 32px rgb(var(--rf-accent-rgb) / .35); transition:all .25s; margin-top:24px; }
.rf-p-btn-full:hover { background:var(--rf-accent-hover); transform:translateY(-2px); }


/* ===== Premier ecran de l'accueil (feuille 1.2.3, theme 0.2.5, 10/10/2026) =====
   Le heros occupait toute la hauteur de l'ecran avec un titre jusqu'a 76 px : sur ordinateur, le bouton
   principal tombait sous le pli (1142 px du haut en 1440 x 900 sur starter-landing). Titre plafonne a
   54 px et marges resserrees : bouton principal visible sans defiler de 1280 x 720 a 1440 x 900, en
   1024 x 768, 768 x 1024 et 390 x 844 (mesure hors session, starter-landing et test-landing). */
@media (min-width:1025px) {
  .rf-hero { min-height:0; }
  .rf-hero-inner { padding-top:clamp(40px, 6vh, 72px); padding-bottom:clamp(48px, 7vh, 80px); gap:56px; }
  .rf-hero .rf-eyebrow { margin-bottom:16px; }
  .rf-hero .rf-h1 { font-size:clamp(40px, 3.5vw, 54px); margin-bottom:18px; }
  .rf-hero .rf-hero-desc { margin-bottom:28px; }
  .rf-hero .rf-ctas { margin-bottom:40px; }
}
@media (max-width:1024px) {
  .rf-hero-inner { padding-top:clamp(36px, 5vh, 56px); }
  .rf-hero .rf-eyebrow { margin-bottom:16px; }
  .rf-hero .rf-h1 { margin-bottom:18px; }
  .rf-hero .rf-hero-desc { margin-bottom:28px; }
}

/* ===== Modeles de sections (Refontia Core 0.4.0) =====
   Classes creees pour remplacer les styles en ligne des pages de la demo de reference : un modele insere
   ne porte aucun style en ligne ni aucun ancien jeton (--tuile, --creme...), seulement des classes rf-.
   Toutes les couleurs passent par les jetons --rf-* (M11bis : -ink sur clair, -on-dark sur sombre).
   Regle de non-regression : ce fichier ne modifie AUCUNE regle deja appliquee aux sites existants
   (classes nouvelles ou modificateurs seulement) ; verifie par comparaison au pixel de la demo de reference. */

/* --- Icones SVG neutres (remplacent les emojis de metier) --- */
.rf-ico { width: 1em; height: 1em; flex-shrink: 0; display: inline-block; vertical-align: middle; }
.rf-engage-icon .rf-ico, .rf-p-info-icon .rf-ico, .rf-contact-card-item-icon .rf-ico, .rf-p-contact-icon .rf-ico { width: 24px; height: 24px; color: var(--rf-accent-ink); }
.rf-contact-card-item-icon .rf-ico, .rf-p-contact-icon .rf-ico { width: 20px; height: 20px; }
.rf-btn .rf-ico, .rf-reass-item .rf-ico { width: 16px; height: 16px; }

/* --- Titres de cartes en h3 : memes rendus que les div d'origine --- */
h3:is(.rf-engage-title, .rf-presta-title, .rf-process-title, .rf-real-title, .rf-p-info-title, .rf-p-card-name, .rf-tarif-name, .rf-p-zone-title, .rf-p-form-title, .rf-p-encart-title) { margin-top: 0; line-height: 1.3; letter-spacing: normal; }
h3:is(.rf-engage-title, .rf-process-title, .rf-p-info-title) { line-height: 1.4; }

/* --- Heros d'accueil : separateur de chiffres --- */
.rf-hero-stat-sep { width: 1px; height: 40px; background: rgba(255, 255, 255, .12); align-self: center; }
@media (max-width: 640px) { .rf-hero-stat-sep { display: none; } }

/* --- En-tete de section centre (etapes) --- */
.rf-section-head--center { text-align: center; }
.rf-label--center { justify-content: center; }
.rf-section-intro { font-family: var(--rf-font-body); font-size: 16px; line-height: 1.75; color: var(--rf-muted); max-width: 560px; margin: 0 auto; }
:is(.rf-hero, .rf-process-bg, .rf-cta-final, .rf-photobande, .rf-p-hero, .rf-p-body-dark, .rf-dark) .rf-section-intro { color: var(--rf-on-dark-muted); }

/* --- Bande photo des modeles : la hauteur suit le contenu (evite le texte coupe sur mobile).
       Modificateur, pour ne rien changer aux bandes photo deja publiees. --- */
.rf-photobande--fluide { height: auto; min-height: 480px; }
.rf-photobande--fluide > img { position: absolute; inset: 0; }
.rf-photobande--fluide .rf-photobande-overlay { position: relative; min-height: inherit; padding: 64px 0; }

/* --- Etiquette de l'image de zone --- */
.rf-zones-img-tag-icon { width: 36px; height: 36px; border-radius: var(--rf-r1); background: var(--rf-accent); color: var(--rf-on-dark); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.rf-zones-img-tag-icon .rf-ico { width: 18px; height: 18px; }
.rf-zones-img-tag-title { font-family: var(--rf-font-body); font-size: 14px; font-weight: 600; color: var(--rf-on-dark); }
.rf-zones-img-tag-sub { font-family: var(--rf-font-body); font-size: 13px; color: var(--rf-on-dark-muted); margin-top: 2px; }

/* --- FAQ en <details> (accordeon natif, lu par le schema FAQPage de Refontia Core) --- */
details:is(.rf-faq-item, .rf-p-faq-item) > summary { list-style: none; cursor: pointer; min-height: var(--rf-tap); align-items: center; }
details:is(.rf-faq-item, .rf-p-faq-item) > summary::-webkit-details-marker { display: none; }
details:is(.rf-faq-item, .rf-p-faq-item) > summary::after { content: ''; width: 10px; height: 10px; margin-left: auto; flex-shrink: 0; border-right: 2px solid var(--rf-accent-ink); border-bottom: 2px solid var(--rf-accent-ink); transform: rotate(45deg); transition: transform .2s; }
details:is(.rf-faq-item, .rf-p-faq-item)[open] > summary::after { transform: rotate(-135deg); }
details:is(.rf-faq-item, .rf-p-faq-item):not([open]) > summary { margin-bottom: 0; }
details.rf-faq-item { padding: 20px 28px; }
details.rf-p-faq-item { padding: 18px 28px; }
.rf-faq-more { margin-top: 32px; }

/* --- Grille tarifaire (section sombre : ajouter rf-dark) --- */
.rf-tarifs { background: var(--rf-ink); }
.rf-tarifs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; align-items: stretch; }
.rf-tarif { position: relative; display: flex; flex-direction: column; padding: 40px 28px 28px; border-radius: var(--rf-r3); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.rf-tarif--avant { background: rgb(var(--rf-accent-rgb) / .22); border-color: rgb(var(--rf-accent-rgb) / .6); }
.rf-tarif-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--rf-accent); color: var(--rf-on-dark); font-family: var(--rf-font-body); font-size: 13px; font-weight: 700; padding: 5px 14px; border-radius: var(--rf-r-pill); }
.rf-tarif-name { font-family: var(--rf-font-body); font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--rf-accent-on-dark); margin: 0 0 14px; }
.rf-tarif-price { font-family: var(--rf-font-display); font-size: clamp(30px, 3vw, 38px); font-weight: 400; color: var(--rf-on-dark); line-height: 1.1; margin: 0 0 6px; }
.rf-tarif-unit { font-family: var(--rf-font-body); font-size: 14px; color: var(--rf-on-dark-muted); margin: 0 0 22px; }
.rf-tarif-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rf-tarif-list li { display: flex; gap: 10px; align-items: flex-start; font-family: var(--rf-font-body); font-size: 15px; line-height: 1.5; color: var(--rf-on-dark-muted); }
.rf-tarif-list .rf-ico { width: 16px; height: 16px; margin-top: 3px; color: var(--rf-accent-on-dark); }
.rf-tarifs-note { font-family: var(--rf-font-body); font-size: 14px; color: var(--rf-on-dark-muted); text-align: center; margin: 28px 0 0; }

/* --- Pages internes : boutons du heros --- */
.rf-p-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.rf-p-ctas .rf-p-cta-outline { margin-left: 0; }

/* --- Pages internes : fonds de section --- */
.rf-p-section-soft { background: var(--rf-surface-soft); }
.rf-p-section-white { background: var(--rf-surface); }
.rf-p-section-alt { background: var(--rf-surface-alt); }
.rf-p-body--compact { padding-top: 48px; padding-bottom: 48px; }
.rf-p-container--narrow { max-width: 860px; }
.rf-p-center { text-align: center; margin-top: 40px; }

/* --- Pages internes : colonnes --- */
.rf-p-2col--wide-left { grid-template-columns: 1.1fr .9fr; }
.rf-p-2col--center { align-items: center; gap: 72px; }
.rf-p-stack { display: grid; gap: 20px; }
.rf-p-text { font-family: var(--rf-font-body); font-size: 15px; line-height: 1.8; color: var(--rf-muted); margin: 0 0 18px; }
.rf-p-text:last-of-type { margin-bottom: 32px; }

/* --- Pages internes : cartes de prestation --- */
.rf-p-card-media { height: 180px; overflow: hidden; border-radius: var(--rf-r3); margin: 0 0 20px; }
.rf-p-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rf-p-card-tag { font-family: var(--rf-font-body); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--rf-accent-ink); margin: 0 0 8px; }
.rf-p-card-name { font-family: var(--rf-font-display); font-size: 21px; font-weight: 600; color: var(--rf-ink); margin: 0 0 10px; }
.rf-p-card-name ~ .rf-p-card-text { margin-bottom: 14px; }
.rf-p-card-link { display: inline-flex; align-items: center; min-height: var(--rf-tap); font-family: var(--rf-font-body); font-size: 14px; font-weight: 600; color: var(--rf-accent-ink) !important; text-decoration: none !important; }
.rf-p-card-link:hover { text-decoration: underline !important; }

/* --- Pages internes : contact --- */
.rf-p-contact { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
.rf-p-contact-list { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 12px; }
.rf-p-contact-item { display: flex; gap: 14px; align-items: center; padding: 16px 20px; background: var(--rf-surface); border-radius: var(--rf-r2); border: 1px solid rgb(var(--rf-ink-rgb) / .08); }
.rf-p-contact-icon { width: 40px; height: 40px; border-radius: var(--rf-r1); background: rgb(var(--rf-accent-rgb) / .08); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.rf-p-contact-text { font-family: var(--rf-font-body); font-size: 15px; color: var(--rf-ink-3); line-height: 1.5; }
.rf-p-contact-text a { color: var(--rf-accent-ink) !important; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; min-height: var(--rf-tap); }
.rf-p-contact-text a:hover { text-decoration: underline; }
.rf-p-form-card { background: var(--rf-surface); border-radius: var(--rf-r5); padding: 44px; box-shadow: var(--rf-sh3); border: 1px solid rgb(var(--rf-ink-rgb) / .05); }
.rf-p-form-title { font-family: var(--rf-font-display); font-size: 28px; font-weight: 600; color: var(--rf-ink); margin: 0 0 8px; line-height: 1.2; }
.rf-p-form-intro { font-family: var(--rf-font-body); font-size: 15px; color: var(--rf-muted); line-height: 1.7; margin: 0 0 28px; }

/* --- Pages internes : zones --- */
.rf-p-zones-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 40px 0 48px; }
.rf-p-zone-title { font-family: var(--rf-font-body); font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rf-accent-ink); margin: 0 0 16px; }
.rf-p-zone-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rf-p-zone-list li { display: flex; align-items: center; gap: 10px; font-family: var(--rf-font-body); font-size: 15px; color: var(--rf-ink-3); }
.rf-p-zone-list li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--rf-accent); flex-shrink: 0; }
.rf-p-encart { background: var(--rf-surface); border-radius: var(--rf-r5); padding: 44px; box-shadow: var(--rf-sh3); border: 1px solid rgb(var(--rf-ink-rgb) / .05); text-align: center; }
.rf-p-encart-title { font-family: var(--rf-font-display); font-size: 30px; font-weight: 600; color: var(--rf-ink); margin: 0 0 14px; line-height: 1.2; }
.rf-p-encart-text { font-family: var(--rf-font-body); font-size: 15px; color: var(--rf-muted); line-height: 1.75; max-width: 520px; margin: 0 auto 28px; }

/* --- Listes des modeles : Kadence indente les ul du contenu (.single-content ul, 0,1,1) --- */
:is(ul, ol):is(.rf-p-contact-list, .rf-p-zone-list, .rf-tarif-list) { list-style: none; padding-left: 0; margin-left: 0; margin-right: 0; }
:is(ul, ol):is(.rf-p-zone-list, .rf-tarif-list) { margin-top: 0; margin-bottom: 0; }
ul.rf-p-contact-list { margin-top: 0; margin-bottom: 32px; }
:is(.rf-p-contact-list, .rf-p-zone-list, .rf-tarif-list) > li { margin: 0; }

/* --- Responsive des modeles --- */
@media (max-width: 1024px) {
  .rf-tarifs-grid, .rf-p-card-grid, .rf-p-zones-grid { grid-template-columns: 1fr 1fr; }
  .rf-p-contact { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .rf-p-2col--wide-left { grid-template-columns: 1fr; }
  .rf-p-form-card, .rf-p-encart { padding: 28px 22px; }
  .rf-photobande--fluide { min-height: 420px; }
  .rf-photobande--fluide .rf-photobande-overlay { padding: 48px 0; }
}
@media (max-width: 640px) {
  .rf-tarifs-grid, .rf-p-card-grid, .rf-p-zones-grid { grid-template-columns: 1fr; }
  .rf-tarifs-grid { gap: 28px; }
  details.rf-faq-item, details.rf-p-faq-item { padding: 16px 18px; }
  details .rf-faq-a, details .rf-p-faq-a { padding-left: 0; }
}

/* ===== Fluent Forms (M9bis) — champs reels, cibles >= 44px, libelles lisibles ===== */
.frm-fluent-form { font-family: var(--rf-font-body); }
.frm-fluent-form .ff-el-input--label label { font-size: 13px; font-weight: 600; color: var(--rf-ink); }
.fluentform .frm-fluent-form .ff-el-input--label.ff-el-is-required.asterisk-right label::after, .frm-fluent-form .ff-el-input--label.ff-el-is-required.asterisk-right label::after { color: var(--rf-accent-ink) !important; }
.frm-fluent-form .ff-el-form-control { min-height: var(--rf-tap); padding: 12px 16px; border: 1.5px solid rgb(var(--rf-ink-rgb) / .22); border-radius: calc(var(--rf-r1) + 2px); font-family: var(--rf-font-body); font-size: 15px; color: var(--rf-ink); background: var(--rf-surface); transition: border-color .2s; }
.frm-fluent-form .ff-el-form-control::placeholder { color: var(--rf-muted); opacity: 1; }
.frm-fluent-form .ff-el-form-control:focus { border-color: var(--rf-accent); box-shadow: 0 0 0 3px rgb(var(--rf-accent-rgb) / .15); outline: none; }
.frm-fluent-form textarea.ff-el-form-control { min-height: 140px; }
.frm-fluent-form .ff-btn-submit { display: block; width: 100%; min-height: 52px; background: var(--rf-accent) !important; color: var(--rf-on-dark) !important; font-family: var(--rf-font-body); font-size: 15px; font-weight: 600; padding: 16px 24px; border: 0; border-radius: var(--rf-r3); box-shadow: 0 8px 32px rgb(var(--rf-accent-rgb) / .35); cursor: pointer; transition: background .25s, transform .25s; }
.frm-fluent-form .ff-btn-submit:hover { background: var(--rf-accent-hover) !important; transform: translateY(-2px); }
.frm-fluent-form .error, .frm-fluent-form .ff-el-is-error .text-danger { color: var(--rf-accent-ink); font-size: 13px; }
.ff-message-success { border: 1px solid rgb(var(--rf-ink-rgb) / .12); border-radius: var(--rf-r3); padding: 20px 24px; color: var(--rf-ink); background: var(--rf-surface-soft); }

/* ===== Contextes sombres (M11bis) =====
   Les memes composants servent sur fond clair et sur fond sombre : les classes de section sombre
   (ou .rf-dark sur tout nouveau bloc) basculent les textes sur leurs variantes -on-dark. */
:is(.rf-hero, .rf-process-bg, .rf-cta-final, .rf-photobande, .rf-p-hero, .rf-p-body-dark, .rf-dark) :is(.rf-label-text, .rf-p-label-text, .rf-eyebrow-text) { color: var(--rf-accent-on-dark); }
:is(.rf-hero, .rf-process-bg, .rf-cta-final, .rf-photobande, .rf-p-hero, .rf-p-body-dark, .rf-dark) :is(.rf-h2, .rf-p-h2) { color: var(--rf-on-dark); }
:is(.rf-hero, .rf-process-bg, .rf-cta-final, .rf-photobande, .rf-p-hero, .rf-p-body-dark, .rf-dark) :is(.rf-h2, .rf-p-h2) em { color: var(--rf-highlight); }
:is(.rf-hero, .rf-process-bg, .rf-cta-final, .rf-photobande, .rf-p-hero, .rf-p-body-dark, .rf-dark) :is(.rf-lead, .rf-p-lead, p) { color: var(--rf-on-dark-muted); }
.rf-reassurance .rf-reass-item { opacity: 1 !important; color: var(--rf-on-dark); }
.rf-stat-label { color: var(--rf-on-dark-muted); }

/* ===== Voiles sur photo (M11bis, 27/09/2026) =====
   Mesure hors session sur starter-essentiel et la demo de reference : le voile de la bande photo
   descendait a 20 % d'opacite, et le texte attenue tombait sous 4,5:1 des que la photo est claire
   (2,85:1 a 390 px). Opacite minimale calculee pour le pire cas (photo blanche) : 0,82 a 0,83 sous le
   texte attenue selon l'identite. Bureau : zone de texte a gauche >= 0,86, la droite reste degagee sur la photo.
   Tablette et mobile : le texte occupe toute la largeur, voile uniforme. */
.rf-photobande-overlay { background: linear-gradient(90deg, rgb(var(--rf-ink-rgb) / .9) 0%, rgb(var(--rf-ink-rgb) / .86) 60%, rgb(var(--rf-ink-rgb) / .35) 100%); }
@media (max-width: 1024px) {
  .rf-photobande-overlay { background: rgb(var(--rf-ink-rgb) / .86); }
}
/* Legende de la photo du heros : le texte occupe la moitie basse du degrade. */
.rf-hero-img-caption { background: linear-gradient(to top, rgb(var(--rf-ink-rgb) / .95) 0%, rgb(var(--rf-ink-rgb) / .86) 55%, rgb(var(--rf-ink-rgb) / 0) 100%); }

/* ===== Cibles tactiles (standard Refontia 44px) ===== */
.rf-presta-link, .rf-p-pill, .rf-zone-pill, .rf-btn, .rf-btn-dark, .rf-p-cta, .rf-p-cta-outline { min-height: var(--rf-tap); }
.rf-presta-link { display: inline-flex; align-items: center; }
/* Bouton du menu mobile Kadence : 37x31 px mesure au rendu (27/09/2026). */
.menu-toggle-open, .menu-toggle-close { min-width: var(--rf-tap); min-height: var(--rf-tap); display: inline-flex; align-items: center; justify-content: center; }

/* ===== Focus visible inconditionnel ===== */
body.hide-focus-outline :focus-visible,
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--rf-ink) !important; outline-offset: 3px !important; }
:is(.rf-hero, .rf-process-bg, .rf-cta-final, .rf-photobande, .rf-p-hero, .rf-p-body-dark, .rf-dark, .rf-reassurance, .rfc-demo) :focus-visible { outline-color: var(--rf-on-dark) !important; }

/* ===== Mouvement reduit ===== */
@media (prefers-reduced-motion: reduce) {
  .rf-eyebrow-dot { animation: none; }
  [class^="rf-"], [class*=" rf-"] { transition: none !important; }
  [class^="rf-"]:hover, [class*=" rf-"]:hover { transform: none !important; }
}

/* ===== Correctif mobile (defaut present sur le site en ligne) =====
   L'en-tete de la section prestations est en flex horizontal : a 390px, le titre et le libelle
   sont ecrases sur une colonne de quelques caracteres (« un mot coupe en deux »). */
@media (max-width: 768px) {
  .rf-presta-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .rf-presta-header > * { max-width: 100%; }
}
/* .rfc-demo ajoute en 1.2.7 (audit test-landing, 11/10/2026) : le bandeau de demonstration a le fond --rf-ink ;
   le contour herite, de la meme couleur, etait invisible (contraste 1:1). */
