/* fénix : fichier généré par src/build.py depuis le design system. Ne pas modifier à la main : modifier src/site.css ou le design system. */
:root, [data-theme="nuit"]{--fond:#2e2a30;--fond-profond:#1c181d;--fond-abime:#110e13;--surface:#39353b;--texte:#f4f2f5;--texte-doux:#c1bbc3;--texte-discret:#a8a2ab;--trait:#4a464c;--jaune:#ebbb09;--jaune-texte:#ebbb09;--jaune-clair:#f6dc7a;--sur-jaune:#2e2a30;--trait-sur-jaune:#b29015;--sur-jaune-doux:#4a3c0a;--action:#ebbb09;--action-survol:#f6dc7a;--lueur:rgba(235, 187, 9, 0.12);--couleur-annee:#f0eee9;--couleur-annee-texte:#f0eee9;--encre:#e9e9ed;--blanc:#ffffff;--ombre-flottante:0 0 0 1px #4a464c, 0 18px 48px rgba(0, 0, 0, 0.55);}
[data-theme="papier"]{--fond:#ffffff;--fond-profond:#f5f4f6;--fond-abime:#110e13;--surface:#f5f4f6;--texte:#1c181d;--texte-doux:#555157;--texte-discret:#666168;--trait:#e1dee2;--jaune:#ebbb09;--jaune-texte:#7a6100;--jaune-clair:#5c4900;--sur-jaune:#2e2a30;--trait-sur-jaune:#b29015;--sur-jaune-doux:#4a3c0a;--action:#7a6100;--action-survol:#5c4900;--lueur:rgba(235, 187, 9, 0.12);--couleur-annee:#f0eee9;--couleur-annee-texte:#1c181d;--encre:#2e2a30;--blanc:#ffffff;--ombre-flottante:0 0 0 1px #e1dee2, 0 12px 32px rgba(28, 24, 29, 0.14);}
:root{--espace-1:4px;--espace-2:8px;--espace-3:12px;--espace-4:16px;--espace-5:24px;--espace-6:32px;--espace-7:48px;--espace-8:64px;--espace-9:120px;--section-heros:160px;--section-standard:120px;--section-dense:64px;--section-pied:48px;--retrait-1:13.34px;--retrait-2:26.68px;--marge-titre:93.32px;--sig-logo:77px;--angle-vif:0px;--filet:0.68px;--filet-ecran:1px;--cadre:3px;--marque:4px;--font-display:"Funnel Display", "Source Sans 3", Helvetica, Arial, sans-serif;--font-sans:"Source Sans 3", "Source Sans Pro", Helvetica, Arial, sans-serif;--font-mono:"Source Code Pro", ui-monospace, Menlo, Consolas, monospace;--font-email:Helvetica, Arial, sans-serif;}
.ecran-geant{font-family:var(--font-display);font-size:10rem;line-height:0.85;font-weight:600;font-style:normal;letter-spacing:-0.04em}
.ecran-titre{font-family:var(--font-display);font-size:6.25rem;line-height:0.95;font-weight:600;font-style:normal;letter-spacing:-0.03em}
.ecran-h2{font-family:var(--font-display);font-size:3.25rem;line-height:1;font-weight:600;font-style:normal;letter-spacing:-0.02em}
.ecran-chiffre{font-family:var(--font-display);font-size:4rem;line-height:1;font-weight:600;font-style:normal;letter-spacing:-0.02em}
.ecran-h3{font-family:var(--font-sans);font-size:1.625rem;line-height:1.2;font-weight:600;font-style:normal;letter-spacing:-0.01em}
.ecran-chapo{font-family:var(--font-sans);font-size:1.3125rem;line-height:1.5;font-weight:400;font-style:normal;letter-spacing:normal}
.ecran-texte{font-family:var(--font-sans);font-size:1.0625rem;line-height:1.55;font-weight:400;font-style:normal;letter-spacing:normal}
.ecran-bouton{font-family:var(--font-sans);font-size:1.0625rem;line-height:1.2;font-weight:600;font-style:normal;letter-spacing:normal}
.ecran-surtitre{font-family:var(--font-mono);font-size:0.875rem;line-height:1.3;font-weight:500;font-style:normal;letter-spacing:0}
.ecran-legende{font-family:var(--font-sans);font-size:0.875rem;line-height:1.4;font-weight:600;font-style:normal;letter-spacing:0.01em}
.ecran-code{font-family:var(--font-mono);font-size:0.875rem;line-height:1.4;font-weight:400;font-style:normal;letter-spacing:normal}
.pied-texte{font-family:var(--font-sans);font-size:0.875rem;line-height:1.5;font-weight:400;font-style:normal;letter-spacing:normal}
body { margin: 0; background: var(--fond); color: var(--texte); font-family: var(--font-sans); }
[data-theme] { color: var(--texte); }
.ecran-titre, .ecran-h2, .ecran-h3, .ecran-geant { text-wrap: balance; }
.ecran-titre, .ecran-h2 { color: var(--couleur-annee-texte); }
.ecran-chapo, .ecran-texte { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; border-radius: var(--angle-vif); }

/* ===== Écran ===== */
.fx-ecran { padding: var(--espace-6); background: var(--fond); color: var(--texte); font-family: var(--font-sans); }
.fx-ecran p, .fx-ecran h1, .fx-ecran h2, .fx-ecran h3 { margin: 0; }
.fx-rangee { display: flex; flex-wrap: wrap; align-items: center; gap: var(--espace-3); }
.fx-doux { color: var(--texte-doux); }
.fx-discret { color: var(--texte-discret); }
.fx-or { color: var(--jaune-texte); }
.fx-lien { color: var(--action); text-decoration: underline; text-decoration-thickness: var(--filet-ecran); text-underline-offset: 4px; }
.fx-lien:hover { color: var(--action-survol); }

/* Marque : filet droit jaune qui ouvre une section */
.fx-marque { display: block; width: 48px; height: var(--marque); background: var(--jaune); margin-bottom: var(--espace-4); }

/* Boutons : carrés. Plein jaune (principal), cadré (secondaire) */
.fx-btn { display: inline-flex; align-items: center; gap: var(--espace-2); padding: 16px 28px; font-family: var(--font-sans); font-size: 17px; line-height: 1.2; font-weight: 600; text-decoration: none; cursor: pointer;
  border-radius: var(--angle-vif); color: var(--sur-jaune); background: var(--jaune); border: var(--cadre) solid var(--jaune); transition: background .15s, color .15s, border-color .15s; }
.fx-btn:hover { background: var(--action-survol); border-color: var(--action-survol); color: var(--sur-jaune); }
.fx-btn-cadre { color: var(--texte); background: transparent; border-color: var(--encre); }
.fx-btn-cadre:hover { color: var(--jaune-texte); background: transparent; border-color: var(--encre); }
.fx-btn-note { display: block; margin-top: 6px; color: var(--texte-discret); }

/* Étiquette : carrée, filet fin */
.fx-tag { display: inline-flex; align-items: center; padding: 3px 10px; border: var(--filet-ecran) solid var(--trait); color: var(--texte-doux); border-radius: var(--angle-vif); }

/* Champ : soulignement seul */
.fx-champ { display: flex; flex-direction: column; gap: 6px; min-width: 0; color: var(--texte-discret); }
.fx-champ input, .fx-champ select { all: unset; padding: 10px 0; border-bottom: var(--filet-ecran) solid var(--texte-discret); color: var(--texte); font-family: var(--font-sans); font-size: 17px; text-transform: none; letter-spacing: 0; }
.fx-champ input:focus, .fx-champ select:focus { border-bottom: 2px solid var(--action); }
.fx-champ input::placeholder { color: var(--texte-discret); opacity: 1; }
.fx-grille-form { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--espace-5) var(--espace-6); align-items: end; }

/* Cartes : grille séparée par un trait de 1 px ; carte mise en avant cadrée */
.fx-cartes { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--filet-ecran); background: var(--trait); border: var(--filet-ecran) solid var(--trait); }
.fx-carte { background: var(--fond); padding: var(--espace-6); display: flex; flex-direction: column; gap: var(--espace-3); }
.fx-carte-avant { background: var(--surface); outline: var(--cadre) solid var(--encre); outline-offset: calc(-1 * var(--cadre)); transition: outline-color .3s; }
/* carte cadrée : au survol, le cadre passe au jaune au lieu du trait (qui se mêlait au cadre) */
.fx-carte-avant::before { display: none; }
.fx-carte-avant:hover { outline-color: var(--jaune); }
.fx-carte-icone { width: 28px; height: 28px; color: var(--jaune); }
.fx-carte-num { font-family: var(--font-mono); font-size: 13px; color: var(--jaune-texte); }

/* Logos des outils utilisés : monochromes, alignés sur une ligne de base */
.fx-outils { display: flex; flex-wrap: wrap; align-items: center; gap: var(--espace-4) var(--espace-7); color: var(--texte-doux); margin: 0; padding: 0; list-style: none; }
.fx-outil { display: inline-flex; align-items: center; gap: var(--espace-2); font-family: var(--font-mono); font-size: 13px; color: var(--texte-doux); }
.fx-outil svg { width: 22px; height: 22px; fill: currentColor; flex: none; }

/* Séparateur écran : droit */
.fx-separateur { height: var(--filet-ecran); border: 0; margin: 0; background: var(--trait); }

/* Bande de preuve : fond profond, filets jaunes haut et bas, chiffre géant */
.fx-bande { background: var(--fond-abime); color: var(--texte); border-top: var(--marque) solid var(--jaune); border-bottom: var(--filet-ecran) solid var(--trait); padding: var(--section-dense) var(--espace-6); }
.fx-bande-grille { display: grid; grid-template-columns: auto 1fr; gap: var(--espace-7); align-items: end; }
.fx-bande-geant { color: var(--jaune); font-variant-numeric: tabular-nums; }
.fx-chiffres { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--espace-6); }
.fx-chiffre { border-left: var(--filet-ecran) solid var(--trait); padding-left: var(--espace-4); }
.fx-chiffre b { display: block; color: var(--texte); font-variant-numeric: tabular-nums; }
.fx-chiffre span { display: block; margin-top: 8px; color: var(--texte-doux); }

/* Accordéon (FAQ) */
.fx-faq details { border-bottom: var(--filet-ecran) solid var(--trait); padding: 18px 0; }
.fx-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: var(--espace-4); }
.fx-faq summary::-webkit-details-marker { display: none; }
.fx-faq summary:hover { color: var(--action); }
.fx-faq summary i { font-style: normal; color: var(--action); transition: transform .2s; }
.fx-faq details[open] summary i { transform: rotate(45deg); }
.fx-faq p { padding-top: 10px; color: var(--texte-doux); max-width: 62ch; }

/* Encart contact : cadré comme le logo */
.fx-contact { border: var(--cadre) solid var(--encre); background: var(--fond); padding: var(--espace-7); display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--espace-7); align-items: end; }
.fx-contact h2 em { font-style: normal; color: var(--jaune-texte); }
.fx-contact .fx-coord { font-family: var(--font-mono); font-size: 15px; line-height: 1.8; }
.fx-contact .fx-coord a { color: var(--texte); text-decoration: none; border-bottom: var(--filet-ecran) solid var(--jaune); }

/* En-tête de site */
.fx-barre-site { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--espace-4); }
.fx-barre-site nav { display: flex; gap: 28px; }
.fx-barre-site a { color: var(--texte); text-decoration: none; }
.fx-barre-site a:hover { color: var(--action); }
.fx-barre-site .fx-fin { justify-self: end; color: var(--action); border-bottom: var(--filet-ecran) solid var(--action); padding-bottom: 2px; }
.fx-logo-site { width: 80px; height: 80px; display: block; }
.fx-lueur { background: radial-gradient(45% 60% at 22% 60%, var(--lueur), transparent 70%), var(--fond); }

/* Bouton pause des animations (RGAA 13.8) */
.fx-pause { position: absolute; z-index: 3; font-family: var(--font-mono); font-size: 12px; color: var(--texte-doux); background: var(--fond); border: var(--filet-ecran) solid var(--texte-discret); border-radius: var(--angle-vif); padding: 6px 10px; cursor: pointer; }
.fx-pause:hover { color: var(--texte); border-color: var(--texte); }

/* Pied de page : aplat jaune pleine largeur, il tranche avec tout le site */
.fx-pied { background: var(--jaune); color: var(--sur-jaune); padding: var(--section-pied) var(--espace-6) var(--espace-5); }
.fx-pied-grille { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--espace-6); }
.fx-pied-logo { width: 56px; height: 56px; display: block; margin-bottom: var(--espace-3); }
.fx-pied h2, .fx-pied h4 { margin: 0 0 var(--espace-2); font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--sur-jaune-doux); letter-spacing: 0; }
.fx-pied p, .fx-pied ul { margin: 0; padding: 0; list-style: none; }
.fx-pied a { color: var(--sur-jaune); text-decoration: none; }
.fx-pied a:hover { text-decoration: underline; text-decoration-thickness: var(--filet-ecran); text-underline-offset: 3px; }
.fx-pied :focus-visible { outline-color: var(--sur-jaune); }
.fx-pied-mentions a { text-decoration: underline; text-decoration-thickness: var(--filet-ecran); text-underline-offset: 3px; }
.fx-pied-mentions { margin-top: var(--espace-6); padding-top: var(--espace-3); border-top: var(--filet-ecran) solid var(--trait-sur-jaune); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--espace-3); font-family: var(--font-mono); font-size: 12px; color: var(--sur-jaune-doux); }

@media (max-width: 720px) {
  .ecran-titre { font-size: 44px; } .ecran-h2 { font-size: 33px; } .ecran-chiffre { font-size: 40px; } .ecran-geant { font-size: 96px; } .ecran-chapo { font-size: 19px; }
  .fx-contact { padding: var(--espace-5); }
  .fx-cartes, .fx-chiffres, .fx-grille-form, .fx-contact, .fx-bande-grille { grid-template-columns: 1fr; }
  .fx-pied-grille { grid-template-columns: 1fr 1fr; }
  .fx-barre-site { grid-template-columns: auto 1fr; }
  .fx-barre-site nav { display: none; }
  .fx-logo-site { width: 56px; height: 56px; }
}

/* fénix : effets d'apparition et de survol.
   Tout est désactivé si l'utilisateur a demandé moins d'animations (prefers-reduced-motion).
   Les apparitions durent moins d'une seconde et ne se rejouent pas (RGAA 13.8 : pas de mouvement continu). */

/* ---------- Apparitions (classes posées par effets.js) ---------- */
.fx-a { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--retard, 0s); }
.fx-a.fx-vu { opacity: 1; transform: none; }
/* titres : révélés de bas en haut, comme une ligne qui sort de sa réglure */
.fx-a-titre { clip-path: inset(0 0 100% 0); transform: translateY(18px); transition: clip-path .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: var(--retard, 0s); }
.fx-a-titre.fx-vu { clip-path: inset(0 0 -10% 0); transform: none; }
/* marque : le filet jaune se trace */
.fx-marque.fx-a-trait { width: 0; transition: width .6s cubic-bezier(.2,.7,.2,1) .1s; }
.fx-marque.fx-a-trait.fx-vu { width: 48px; }
/* cadre : tracé comme celui du logo (SVG posé par effets.js) */
.fx-trace { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.fx-trace rect { fill: none; stroke: var(--encre); stroke-width: var(--cadre); stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s cubic-bezier(.6,0,.2,1); }
.fx-trace.fx-vu rect { stroke-dashoffset: 0; }

/* ---------- Survols ---------- */
/* bouton plein : une nappe plus claire balaie de gauche à droite, la flèche avance */
.fx-btn { background-image: linear-gradient(var(--action-survol), var(--action-survol)); background-repeat: no-repeat; background-size: 0% 100%; transition: background-size .35s cubic-bezier(.2,.7,.2,1), color .2s, border-color .2s; }
.fx-btn:hover { background-color: var(--jaune); background-size: 100% 100%; }
.fx-btn .fx-fleche { display: inline-block; transition: transform .25s; }
.fx-btn:hover .fx-fleche { transform: translateX(4px); }
/* bouton cadré : l'encre remplit le cadre, le texte s'inverse */
.fx-btn-cadre { background-image: linear-gradient(var(--encre), var(--encre)); background-size: 0% 100%; }
.fx-btn-cadre:hover { background-color: transparent; background-size: 100% 100%; color: var(--fond); border-color: var(--encre); }
/* liens : le soulignement se tire depuis la gauche */
.fx-lien, .fx-barre-site nav a { background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat; background-position: 0 100%; background-size: 0% 1px; transition: background-size .3s, color .2s; text-decoration: none; padding-bottom: 2px; }
.fx-lien { background-size: 100% 1px; }
.fx-lien:hover { background-size: 0% 1px; animation: fx-trait .45s .05s forwards; }
.fx-barre-site nav a:hover { background-size: 100% 1px; }
@keyframes fx-trait { from { background-size: 0% 1px; } to { background-size: 100% 1px; } }
/* cartes : le plan remonte d'un cran, une marque jaune se trace en haut, le numéro passe au premier plan */
.fx-carte, .svc { position: relative; transition: background-color .3s; }
/* garder l'apparition au défilement : sans cette règle, la transition du fond écrase celle de .fx-a et les cartes surgissent d'un coup */
.fx-carte.fx-a, .svc.fx-a { transition: opacity .7s cubic-bezier(.2,.7,.2,1) var(--retard, 0s), transform .7s cubic-bezier(.2,.7,.2,1) var(--retard, 0s), background-color .3s, outline-color .3s; }
.fx-carte::before, .svc::before { content: ""; position: absolute; left: 0; top: 0; height: var(--marque); width: 0; background: var(--jaune); transition: width .45s cubic-bezier(.2,.7,.2,1); }
.fx-carte:hover, .svc:hover { background-color: var(--surface); }
.fx-carte:hover::before, .svc:hover::before { width: 100%; }
.fx-carte-num { transition: transform .3s, color .3s; display: inline-block; }
.fx-carte:hover .fx-carte-num { transform: translateX(6px); }
/* logos d'outils : prennent la couleur du texte et montent d'un cran */
.fx-outil { transition: color .2s, transform .2s; }
.fx-outil:hover { color: var(--texte); transform: translateY(-2px); }

/* ---------- Logo : reflet de miroir, de temps en temps et au survol ---------- */
.fx-logo-lien { position: relative; display: block; overflow: hidden; }
.fx-logo-lien::after { content: ""; position: absolute; inset: -20%; background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.55) 50%, transparent 60%); transform: translateX(-120%); animation: fx-reflet 9s 2s infinite; pointer-events: none; }
.fx-logo-lien:hover::after { animation: fx-reflet-vite .8s; }
@keyframes fx-reflet { 0%, 88% { transform: translateX(-120%); } 96%, 100% { transform: translateX(120%); } }
@keyframes fx-reflet-vite { from { transform: translateX(-120%); } to { transform: translateX(120%); } }

/* ---------- Menu collant ---------- */
.fx-menu-colle { position: fixed; left: 0; right: 0; top: 0; z-index: 40; background: var(--fond); border-bottom: var(--filet-ecran) solid var(--trait); transform: translateY(-100%); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.fx-menu-colle.fx-vu { transform: none; }
.fx-menu-colle .fx-barre-site { max-width: 1280px; margin: 0 auto; padding: 10px clamp(20px, 5vw, 64px); }
.fx-menu-colle .fx-logo-site { width: 48px; height: 48px; }

@media (prefers-reduced-motion: reduce) {
  .fx-a, .fx-a-titre, .fx-marque.fx-a-trait, .fx-trace rect { transition: none !important; opacity: 1 !important; transform: none !important; clip-path: none !important; width: 48px; stroke-dashoffset: 0 !important; }
  .fx-logo-lien::after { animation: none !important; }
  .fx-btn, .fx-btn-cadre, .fx-lien, .fx-carte::before, .svc::before, .fx-menu-colle { transition: none !important; }
}

/* ===== Site WordPress : mise en page des modèles et des blocs FéNiX Blocs ===== */
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--fond); color: var(--texte); font-family: var(--font-sans); font-size: 1.0625rem; line-height: 1.55; -webkit-font-smoothing: antialiased; }
.wp-site-blocks { padding: 0; }
.wp-site-blocks .is-layout-flow > *, .wp-site-blocks .is-layout-constrained > *, .wp-site-blocks > * { margin-block-start: 0; margin-block-end: 0; }
img { max-width: 100%; height: auto; }
a { color: var(--action); }
a:hover { color: var(--action-survol); }
.wrap { max-width: 1280px; margin-inline: auto; padding-inline: clamp(20px, 5vw, 64px); box-sizing: border-box; }
.screen-reader-text, .fx-masque { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link.screen-reader-text:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 100; padding: 12px 16px; background: var(--jaune); color: var(--sur-jaune); font-weight: 600; text-decoration: none; }

/* ---------- En-tête ---------- */
.fx-header { position: relative; z-index: 5; background: var(--fond); }
.fx-header--sur-heros { position: absolute; left: 0; right: 0; top: 0; background: transparent; }
.fx-header .fx-barre-site { padding-block: 32px; }
.fx-barre-site nav a { font-size: 0.875rem; font-weight: 600; }
.fx-barre-site .fx-fin-p { justify-self: end; margin: 0; font-size: 0.875rem; font-weight: 600; }
.fx-barre-site .fx-fin { color: var(--action); text-decoration: none; border-bottom: var(--filet-ecran) solid var(--action); padding-bottom: 2px; }
.fx-barre-site .wp-block-fenix-logo { justify-self: center; }

/* ---------- Haut de page d'accueil ---------- */
.fx-accroche { position: relative; overflow: hidden; }
.fx-accroche .s-heros { position: relative; z-index: 2; padding-block: 15rem var(--section-heros); }
.fx-accroche h1 { margin: 0; max-width: 13ch; color: var(--couleur-annee-texte); }
.fx-accroche h1 em, .fx-s h2 em, .fx-tete h1 em { font-style: normal; color: var(--jaune-texte); }
.fx-accroche .chapo { margin: var(--espace-5) 0 0; max-width: 52ch; color: var(--texte-doux); }
.fx-accroche .ctas { display: flex; flex-wrap: wrap; gap: var(--espace-3); margin-top: var(--espace-7); align-items: flex-start; }
.fx-accroche .fx-outils-titre { margin: 4rem 0 var(--espace-4); color: var(--jaune-texte); }
#fond-tech { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .9; }
#journal { position: absolute; right: 64px; top: 170px; width: 430px; height: 260px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; z-index: 1; font-family: var(--font-mono); font-size: 12px; line-height: 22px; color: var(--texte-discret); -webkit-mask-image: linear-gradient(to top, #000 60%, transparent); mask-image: linear-gradient(to top, #000 60%, transparent); }
#journal div { white-space: nowrap; opacity: .55; }
#journal div.neuf { color: var(--jaune); opacity: 1; }
.fx-accroche .fx-pause { right: 64px; top: 452px; }

/* ---------- Sections ---------- */
.fx-s { position: relative; background: var(--fond); color: var(--texte); }
.fx-s > .wrap { padding-block: var(--section-standard); }
.fx-s--profond, .fx-s--filet, .fx-s--contact { background: var(--fond-profond); }
.fx-s--clair { background: var(--couleur-annee); }
.fx-s--bande { background: var(--fond-abime); border-top: var(--marque) solid var(--jaune); border-bottom: var(--filet-ecran) solid var(--trait); }
.fx-s--bande > .wrap { padding-block: var(--section-dense); }
.fx-s p, .fx-s h2, .fx-s h3, .fx-s ul { margin: 0; }
.fx-deux { display: grid; grid-template-columns: 4fr 8fr; gap: var(--espace-8); align-items: start; }
.fx-deux > :nth-child(n+3) { grid-column: 2; }
.fx-pile > * + * { margin-top: var(--espace-7) !important; }

/* Introduction de section : marque, surtitre, titre, texte */
.is-style-intro { display: flex; flex-direction: column; gap: var(--espace-4); }
.is-style-intro .fx-marque { margin-bottom: 0; }
.is-style-intro > p:not(.is-style-kicker) { color: var(--texte-doux); max-width: 52ch; }
.is-style-kicker { font-family: var(--font-mono); font-size: 0.875rem; line-height: 1.3; font-weight: 500; color: var(--jaune-texte); }
.is-style-lead { font-size: 1.3125rem; line-height: 1.5; color: var(--texte-doux); }
.fx-s h2.wp-block-heading { font-family: var(--font-display); font-size: 3.25rem; line-height: 1; font-weight: 600; letter-spacing: -0.02em; color: var(--couleur-annee-texte); text-wrap: balance; }
.fx-s h3 { font-family: var(--font-sans); font-size: 1.625rem; line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; text-wrap: balance; }
.fx-sous-titre { font-family: var(--font-mono) !important; font-size: 0.875rem !important; font-weight: 500 !important; letter-spacing: 0 !important; color: var(--jaune-texte); margin-top: var(--espace-7) !important; margin-bottom: var(--espace-5) !important; }

/* Pour qui : trois constats */
.fx-liste-marques, .is-style-marques { list-style: none; padding: 0; display: grid; gap: 0; border-top: var(--filet-ecran) solid var(--trait); }
.fx-liste-marques li, .is-style-marques li { position: relative; padding: var(--espace-5) 0 var(--espace-5) 48px; border-bottom: var(--filet-ecran) solid var(--trait); font-size: 1.375rem; line-height: 1.35; font-weight: 600; }
.fx-liste-marques li::before, .is-style-marques li::before { content: ""; position: absolute; left: 0; top: calc(var(--espace-5) + 0.6em); width: 24px; height: var(--marque); background: var(--jaune); }
.fx-conclusion { margin-top: var(--espace-6) !important; font-size: 1.3125rem; line-height: 1.5; color: var(--texte-doux); max-width: 56ch; }

/* ---------- Grilles de cartes ---------- */
.fx-grille { display: grid; gap: var(--filet-ecran); }
.fx-carte p { color: var(--texte-doux); }
.fx-ic { width: 28px; height: 28px; color: var(--jaune); flex: none; }

/* piliers : trois cartes séparées d'un trait, la deuxième cadrée comme le logo */
.fx-grille--piliers { grid-template-columns: repeat(3, 1fr); background: var(--trait); border: var(--filet-ecran) solid var(--trait); counter-reset: pilier; }
.fx-grille--piliers .fx-carte-num::before { counter-increment: pilier; content: counter(pilier, decimal-leading-zero); }
.fx-carte-question { color: var(--texte) !important; font-weight: 600; }

/* services : deux colonnes, plans séparés d'un trait */
.fx-grille--services { grid-template-columns: 1fr 1fr; background: var(--trait); border: var(--filet-ecran) solid var(--trait); }
.fx-grille--services .fx-carte { background: var(--fond-profond); gap: var(--espace-2); }
.fx-grille--services .fx-carte:hover { background: var(--surface); }
.fx-grille--services h3, .fx-grille--metiers h3 { font-size: 1.375rem; }
.fx-carte-exemples { font-size: 0.9375rem; color: var(--texte-discret) !important; }
.fx-carte-mention { font-family: var(--font-mono); font-size: 0.8125rem; line-height: 1.4; color: var(--texte-discret); margin-top: auto; padding-top: var(--espace-2); }
.fx-carte-prix { color: var(--texte) !important; }

/* métiers : deux par deux */
.fx-grille--metiers { grid-template-columns: 1fr 1fr; background: var(--trait); border: var(--filet-ecran) solid var(--trait); }
.fx-carte-solution { color: var(--texte) !important; }
.fx-grille--metiers .fx-carte-mention { color: var(--jaune-texte); }

/* expertise et atouts : listes sous un filet */
.fx-grille--expertise { grid-template-columns: 1fr 1fr; gap: var(--espace-6); }
.fx-grille--atouts { grid-template-columns: repeat(3, 1fr); gap: var(--espace-6); }
.fx-grille--expertise .fx-carte, .fx-grille--atouts .fx-carte { background: transparent; padding: var(--espace-4) 0 0; border-top: var(--filet-ecran) solid var(--trait); gap: var(--espace-2); }
.fx-grille--expertise .fx-carte:hover, .fx-grille--atouts .fx-carte:hover { background: transparent; }
.fx-grille--expertise h3, .fx-grille--atouts h3 { font-size: 1.1875rem; }

/* étapes : quatre colonnes sur un filet */
.fx-grille--etapes { grid-template-columns: repeat(4, 1fr); gap: 0; border-top: var(--filet-ecran) solid var(--trait); }
.fx-grille--etapes .fx-carte { background: transparent; padding: var(--espace-5) var(--espace-5) 0 0; gap: var(--espace-2); }
.fx-grille--etapes .fx-carte:hover { background: transparent; }
.fx-grille--etapes .fx-carte::before { display: none; }
.fx-etape-n { font-family: var(--font-display); font-size: 4rem; line-height: 1; font-weight: 600; color: var(--trait); transition: color .3s; }
.fx-grille--etapes .fx-carte:hover .fx-etape-n { color: var(--jaune); }
.fx-grille--etapes h3 { font-size: 1.375rem; }
.fx-grille--etapes .fx-carte-mention { color: var(--jaune-texte); margin-top: var(--espace-2); }
.fx-grille--etapes .fx-carte-mention::before { content: "→ "; }

/* chiffres : un chiffre géant puis les autres sous un filet vertical */
.fx-grille--chiffres { grid-template-columns: auto repeat(3, minmax(0, 1fr)); gap: var(--espace-7); align-items: end; background: transparent; }
.fx-chiffre { border-left: var(--filet-ecran) solid var(--trait); padding-left: var(--espace-4); }
.fx-chiffre b { display: block; font-family: var(--font-display); font-size: 2.75rem; line-height: 1; font-weight: 600; letter-spacing: -0.02em; color: var(--texte); font-variant-numeric: tabular-nums; }
.fx-chiffre span { display: block; margin-top: 8px; color: var(--texte-doux); }
.fx-chiffre:first-child { border-left: 0; padding-left: 0; }
.fx-chiffre:first-child b { font-size: 10rem; line-height: .85; letter-spacing: -0.04em; color: var(--jaune); }
.fx-chiffre:first-child span { font-size: 0.875rem; font-weight: 600; color: var(--texte-discret); }

/* logos clients : monochromes sur la couleur de l'année */
.fx-refs-tete { display: flex; justify-content: space-between; align-items: end; gap: var(--espace-5); }
.fx-refs-tete h2.wp-block-heading { font-size: 2.5rem; }
.fx-refs-tete p { font-family: var(--font-mono); font-size: 0.875rem; color: var(--texte-discret); max-width: 36ch; text-align: right; }
.fx-grille--logos { grid-template-columns: repeat(6, 1fr); gap: 0; border-top: var(--filet-ecran) solid var(--trait); border-left: var(--filet-ecran) solid var(--trait); }
.fx-grille--logos .fx-carte { background: transparent; border-right: var(--filet-ecran) solid var(--trait); border-bottom: var(--filet-ecran) solid var(--trait); padding: var(--espace-5); gap: var(--espace-3); justify-content: flex-start; }
.fx-grille--logos .fx-carte:hover { background: rgba(28, 24, 29, .04); }
.fx-logo-client { height: 56px; }
.fx-logo-client img { display: block; width: 100%; height: 100%; max-width: none; object-fit: contain; object-position: left center; filter: grayscale(1) contrast(1.1); mix-blend-mode: multiply; opacity: .85; transition: filter .3s, opacity .3s; }
.fx-grille--logos .fx-carte:hover img { filter: none; opacity: 1; }
.fx-carte-nom { font-weight: 600; color: var(--texte); }
.fx-grille--logos p { font-size: 0.9375rem; line-height: 1.45; }

/* étiquettes */
.fx-etiquettes { margin-top: var(--espace-7) !important; }
.fx-etiquettes__libelle { display: block; font-family: var(--font-mono); font-size: 0.875rem; color: var(--jaune-texte); margin-bottom: var(--espace-3); }
.fx-etiquettes ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--espace-2); }
.fx-etiquettes li { padding: 3px 10px; border: var(--filet-ecran) solid var(--trait); color: var(--texte-doux); font-family: var(--font-mono); font-size: 0.8125rem; }

/* témoignage (masqué tant qu'il est vide) */
.fx-temoignage { margin: var(--espace-7) 0 0; display: flex; gap: var(--espace-5); }
.fx-temoignage blockquote { margin: 0; font-family: var(--font-display); font-size: 1.75rem; line-height: 1.25; }
.fx-temoignage figcaption { margin-top: var(--espace-3); font-family: var(--font-mono); font-size: 0.875rem; color: var(--texte-discret); }

/* questions fréquentes */
.is-style-faq { border-top: var(--filet-ecran) solid var(--trait); }
.is-style-faq details { border-bottom: var(--filet-ecran) solid var(--trait); padding: 20px 0; }
.is-style-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: var(--espace-4); font-size: 1.1875rem; font-weight: 600; }
.is-style-faq summary::-webkit-details-marker { display: none; }
.is-style-faq summary::after { content: "+"; font-family: var(--font-mono); color: var(--action); transition: transform .2s; flex: none; }
.is-style-faq details[open] summary::after { transform: rotate(45deg); }
.is-style-faq summary:hover { color: var(--action); }
.is-style-faq details p { padding-top: 10px; color: var(--texte-doux); max-width: 62ch; }

/* contact : encadré comme le logo */
.fx-contact { margin: 0; background: transparent; }
.fx-contact h2.wp-block-heading { font-size: 4.5rem; line-height: .95; }
.fx-contact-tete p { font-size: 1.3125rem; line-height: 1.5; color: var(--texte-doux); max-width: 36ch; }
.fx-coord { font-family: var(--font-mono); font-size: 0.9375rem; line-height: 1.8; }
.fx-coord a { color: var(--texte); text-decoration: none; border-bottom: var(--filet-ecran) solid var(--jaune); }
.fx-coord a:hover { color: var(--jaune); }
.fx-coord .fx-discret { color: var(--texte-discret); }
.fx-coord p + p { margin-top: var(--espace-5) !important; }
.fx-coord a.fx-btn { font-family: var(--font-sans); border-bottom: var(--cadre) solid var(--jaune); color: var(--sur-jaune); }

/* ---------- Pages simples (contact, mentions légales, 404) ---------- */
.fx-tete { background: radial-gradient(45% 80% at 18% 70%, var(--lueur), transparent 70%), var(--fond); }
.fx-tete > .wrap { padding-block: var(--espace-8) var(--espace-8); }
.fx-tete h1 { margin: 0; font-family: var(--font-display); font-size: 4.5rem; line-height: .95; font-weight: 600; letter-spacing: -0.03em; color: var(--couleur-annee-texte); text-wrap: balance; }
.fx-tete .fx-marque { margin-bottom: var(--espace-5); }
.fx-contenu { background: var(--fond-profond); }
.fx-contenu > .wrap { max-width: 880px; padding-block: var(--espace-8) var(--section-standard); }
.fx-prose > * + * { margin-top: 1em !important; }
.fx-prose h2 { font-family: var(--font-display); font-size: 2.0625rem; line-height: 1.1; font-weight: 600; letter-spacing: -0.02em; color: var(--couleur-annee-texte); margin-top: 2.2em !important; }
.fx-prose h2:first-child { margin-top: 0 !important; }
.fx-prose h3 { font-size: 1.25rem; line-height: 1.3; font-weight: 600; margin-top: 1.8em !important; }
.fx-prose p, .fx-prose li { color: var(--texte-doux); max-width: 70ch; }
.fx-prose strong { color: var(--texte); }
.fx-prose a { color: var(--action); text-decoration: underline; text-decoration-thickness: var(--filet-ecran); text-underline-offset: 4px; }
.fx-prose .is-style-lead { color: var(--texte-doux); }

/* formulaire WPForms aux couleurs du site : champs soulignés, bouton jaune carré */
.fx-prose .wpforms-container { margin-top: var(--espace-6) !important; }
.fx-prose .wpforms-container .wpforms-field { padding: 12px 0 !important; }
.fx-prose .wpforms-container .wpforms-field-label, .fx-prose .wpforms-container .wpforms-field-sublabel { color: var(--texte-discret) !important; font-family: var(--font-sans) !important; font-size: 0.9375rem !important; font-weight: 600 !important; }
.fx-prose .wpforms-container .wpforms-required-label { color: var(--jaune) !important; }
.fx-prose .wpforms-container input[type=text], .fx-prose .wpforms-container input[type=email], .fx-prose .wpforms-container input[type=tel], .fx-prose .wpforms-container input[type=url], .fx-prose .wpforms-container select, .fx-prose .wpforms-container textarea {
  background: transparent !important; color: var(--texte) !important; border: 0 !important; border-bottom: var(--filet-ecran) solid var(--texte-discret) !important; border-radius: 0 !important; box-shadow: none !important; padding: 10px 0 !important; font-family: var(--font-sans) !important; font-size: 1.0625rem !important; max-width: 100% !important; }
.fx-prose .wpforms-container textarea { border: var(--filet-ecran) solid var(--texte-discret) !important; padding: 12px !important; min-height: 160px; }
.fx-prose .wpforms-container input:focus, .fx-prose .wpforms-container textarea:focus, .fx-prose .wpforms-container select:focus { border-color: var(--action) !important; outline: 2px solid var(--action) !important; outline-offset: 2px !important; }
.fx-prose .wpforms-container .wpforms-submit { background: var(--jaune) !important; color: var(--sur-jaune) !important; border: var(--cadre) solid var(--jaune) !important; border-radius: 0 !important; padding: 16px 28px !important; font-family: var(--font-sans) !important; font-size: 1.0625rem !important; font-weight: 600 !important; height: auto !important; cursor: pointer; }
.fx-prose .wpforms-container .wpforms-submit:hover { background: var(--jaune-clair) !important; border-color: var(--jaune-clair) !important; }
.fx-prose .wpforms-container label.wpforms-error, .fx-prose .wpforms-container em.wpforms-error { color: #ff9b8a !important; }
.fx-prose .wpforms-confirmation-container-full { background: var(--surface) !important; border: var(--cadre) solid var(--encre) !important; color: var(--texte) !important; border-radius: 0 !important; }

/* ---------- Pied de page ---------- */
.fx-pied { padding: var(--section-pied) 0 var(--espace-5); }
.fx-pied .wrap { padding-inline: clamp(20px, 5vw, 64px); }
.fx-pied-grille { font-size: 0.875rem; line-height: 1.5; }
.fx-pied-grille > * { margin: 0 !important; }
.fx-pied-mentions > * { margin: 0 !important; }
.fx-pied-mentions p { margin: 0; }
.fx-pied .wp-block-fenix-logo { display: inline-block; margin-bottom: var(--espace-3); }

/* ---------- Écrans étroits ---------- */
@media (max-width: 960px) {
  .fx-deux { grid-template-columns: 1fr; gap: var(--espace-7); }
  .fx-deux > :nth-child(n+3) { grid-column: auto; }
  .fx-grille--piliers, .fx-grille--atouts { grid-template-columns: 1fr; }
  .fx-grille--etapes { grid-template-columns: 1fr 1fr; row-gap: var(--espace-6); }
  .fx-grille--logos { grid-template-columns: repeat(3, 1fr); }
  .fx-grille--chiffres { grid-template-columns: 1fr 1fr; }
  .fx-grille--chiffres .fx-chiffre:first-child { grid-column: 1 / -1; }
  #journal { display: none; }
}
@media (max-width: 720px) {
  .fx-header .fx-barre-site { padding-block: 16px; }
  .fx-barre-site { grid-template-columns: auto 1fr; }
  .fx-barre-site nav { display: none; }
  .fx-barre-site .wp-block-fenix-logo { justify-self: start; }
  .fx-accroche .s-heros { padding-block: 8.5rem 6rem; }
  .fx-accroche h1 { font-size: 2.75rem; }
  .fx-accroche .chapo { font-size: 1.1875rem; }
  .fx-accroche .fx-pause { display: none; }
  #fond-tech { display: none; }
  .fx-s > .wrap { padding-block: 4.5rem; }
  .fx-s--bande > .wrap { padding-block: 3rem; }
  .fx-s h2.wp-block-heading, .fx-refs-tete h2.wp-block-heading { font-size: 2.0625rem; }
  .fx-contact h2.wp-block-heading { font-size: 2.5rem; }
  .fx-s h3 { font-size: 1.25rem; }
  .fx-grille--services, .fx-grille--metiers, .fx-grille--expertise, .fx-grille--etapes, .fx-grille--chiffres { grid-template-columns: 1fr; }
  .fx-grille--logos { grid-template-columns: 1fr 1fr; }
  .fx-chiffre:first-child b { font-size: 6rem; }
  .fx-chiffre { border-left: 0; padding-left: 0; border-top: var(--filet-ecran) solid var(--trait); padding-top: var(--espace-3); }
  .fx-chiffre:first-child { border-top: 0; padding-top: 0; }
  .fx-refs-tete { flex-direction: column; align-items: flex-start; }
  .fx-refs-tete p { text-align: left; }
  .fx-liste-marques li { font-size: 1.1875rem; padding-left: 40px; }
  .fx-tete h1 { font-size: 2.75rem; }
  .fx-prose h2 { font-size: 1.625rem; }
  .fx-pied-grille { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .fx-grille--logos { grid-template-columns: 1fr; }
  .fx-grille--logos .fx-carte { flex-direction: row; align-items: center; gap: var(--espace-4); }
  .fx-logo-client { flex: 0 0 104px; height: 44px; }
}

