/*
Theme Name: BYRTN Wappify
Theme URI: https://wappify.byrtn.fr/
Author: BYRTN — Patrick Ritaine
Author URI: https://byrtn.fr/
Description: Thème WordPress standalone pour wappify.byrtn.fr. 100% maison, structure héritée d'Underscores (_s) Automattic, design BYRTN.
Version: 1.2.6
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: byrtn-wappify
Tags: business, custom-menu, custom-logo, footer-widgets, threaded-comments, translation-ready, accessibility-ready

v1.2.6 — 26 juin 2026 — Hotfix L3-quater :
  restauration filet doré d'origine sur croix mobile
  (border 1px), suppression définitive du halo focus.

v1.2.5 — 26 juin 2026 — Hotfix L3-ter :
  suppression complète du halo au focus de la
  croix mobile (décision pilote).

v1.2.4 — 26 juin 2026 — Hotfix L3 :
  border-radius rétabli sur croix mobile
  (box-shadow focus suivait la forme rectangulaire).

v1.2.3 — 26 juin 2026 — Lot L3 quick wins :
  M1 flèche sous-menu +67% (3px→5px),
  M2 croix mobile sans cercle,
  M3 croix repositionnée absolue 20/20,
  M4 fin du text-transform lowercase drawer,
  H1 boutons hero égalisés flex,
  H2 classe .wappify-step-number cercle doré.

v1.2.2 — 26 juin 2026 — Fix bug #L1 drawer mobile :
  Garde-fou overflow-x sur html/body. Sur les pages contenant un
  tableau > viewport (ex. Offres, 570px), le layout viewport
  s'élargissait à 594px, cassant le centrage left:50% du drawer
  position:fixed. overflow-x:clip + max-width:100vw neutralise le
  débordement sans créer de stacking context (contrairement à hidden).

v1.2.1 — 24 juin 2026 — 2 améliorations :
  1. Drawer mobile recalé sous le header (top calculé, plus de centrage
     vertical), animation slide-down depuis le haut.
  2. Sous-menus desktop fonctionnels en dropdown au survol — règles CSS
     .byrtn-nav-desktop__submenu, caret animé, gestion focus-within.
     Et dans le drawer mobile, sous-menus indentés avec puce ◦.

v1.2.0 — REFACTOR COMPLET DU MENU MOBILE :
  Architecture : le drawer mobile (#byrtn-drawer) et son backdrop
  (.byrtn-drawer__backdrop) sont injectés en fin de <body> via wp_footer
  (functions.php), hors du <header>. Aucun ancêtre n'a sticky/transform/
  filter/backdrop-filter → position:fixed se réfère bien au viewport.

  Nommage entièrement renouvelé pour éliminer toute collision avec
  d'éventuelles règles cachées :
    .byrtn-burger              → bouton hamburger (header)
    .byrtn-nav-desktop         → nav desktop (header, ≥1101px)
    .byrtn-nav-desktop__list   → ul / __item → li / __link → a
    .byrtn-drawer              → conteneur drawer mobile (fin body)
    .byrtn-drawer__backdrop    → backdrop fullscreen (fin body)
    .byrtn-drawer__close       → croix
    .byrtn-drawer__nav         → nav dans le drawer
    .byrtn-drawer__list / __item / __link
    body.byrtn-drawer-open     → lock scroll
*/

/* ═══════════════════════════════════════════════════════════════ */
/*                       CSS VARIABLES                              */
/* ═══════════════════════════════════════════════════════════════ */

:root {
  --navy: #0d1825;
  --navy-mid: #111e2e;
  --gold: #c9a84c;
  --gold-light: #e8d08a;
  --cream: #f5f1ea;
  --text-light: #f0ece4;
  --ink: #0d1825;
  --ink-dim: rgba(13, 24, 37, 0.62);
  --ink-faint: rgba(13, 24, 37, 0.32);

  --on-navy-strong: rgba(240, 236, 228, 0.92);
  --on-navy-base:   rgba(240, 236, 228, 0.78);
  --on-navy-soft:   rgba(240, 236, 228, 0.68);
  --on-navy-subtle: rgba(240, 236, 228, 0.55);
  --on-navy-mute:   rgba(240, 236, 228, 0.40);

  --header-height: 60px;
  --container-max: 1200px;
  --content-max: 920px;
  --gutter-x: 2rem;
  --grid-pad-x: max(var(--gutter-x), calc(50vw - var(--container-max) / 2 + var(--gutter-x)));
}

/* ═══════════════════════════════════════════════════════════════ */
/*                       RESET LÉGER                                */
/* ═══════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font-family: inherit; }

/* Garde-fou anti-débordement horizontal — fix bug
   drawer décalé sur pages contenant des tableaux
   larges. Diagnostic complet 26/06 (commit suivant). */
html, body {
  overflow-x: clip;
  max-width: 100vw;
}

/* ═══════════════════════════════════════════════════════════════ */
/*                       ACCESSIBILITÉ                              */
/* ═══════════════════════════════════════════════════════════════ */

.skip-link {
  position: absolute;
  left: -9999px;
  top: -9999px;
  z-index: 100000;
  background: var(--gold);
  color: var(--navy);
  padding: 0.75rem 1.25rem;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  background-color: var(--gold);
  clip: auto !important;
  clip-path: none;
  color: var(--navy);
  display: block;
  font-size: 14px;
  font-weight: 500;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 0.75rem 1.25rem;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* ═══════════════════════════════════════════════════════════════ */
/*                       TYPOGRAPHIE GLOBALE                        */
/* ═══════════════════════════════════════════════════════════════ */

body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 200;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 1rem;
}
h3 { font-weight: 300; }

em, h1 em, h2 em, h3 em {
  font-style: italic;
  font-weight: 300;
  color: var(--gold);
}

p { margin: 0 0 1rem; }

/* ═══════════════════════════════════════════════════════════════ */
/*  HEADER — sticky SANS z-index (pas de stacking context créé)     */
/* ═══════════════════════════════════════════════════════════════ */

.byrtn-header {
  position: sticky;
  top: 0;
  background-color: rgba(13, 24, 37, 0.94);
}

.byrtn-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0.5rem var(--gutter-x);
  min-height: var(--header-height);
}

.byrtn-logo {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.25em;
  margin: 0;
  line-height: 1;
  flex-shrink: 0;
}
.byrtn-logo a {
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  display: inline-block;
}
.byrtn-logo a:hover,
.byrtn-logo a:focus {
  color: #fff;
  opacity: 1;
  text-decoration: none;
  background: transparent;
}
.byrtn-logo__accent { color: var(--gold); }
.byrtn-logo a:hover .byrtn-logo__accent { color: var(--gold); }
.byrtn-logo__product {
  font-weight: 300;
  letter-spacing: 0.18em;
  margin-left: 0.6em;
  opacity: 0.45;
  font-size: 0.85em;
  text-transform: none;
}

/* ═══════════════════════════════════════════════════════════════ */
/*  NAV DESKTOP (≥ 1101px)                                          */
/* ═══════════════════════════════════════════════════════════════ */

.byrtn-nav-desktop { display: none; }

.byrtn-nav-desktop__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.byrtn-nav-desktop__item { margin: 0; }

.byrtn-nav-desktop__link {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1rem 0.85rem;
  color: var(--on-navy-base);
  text-decoration: none;
  transition: color 0.2s;
}
.byrtn-nav-desktop__link:hover,
.byrtn-nav-desktop__item.is-current > .byrtn-nav-desktop__link,
.byrtn-nav-desktop__item.current-menu-item > .byrtn-nav-desktop__link {
  color: var(--gold);
}

/* v1.2.1 — Sous-menu desktop (dropdown au survol) */
.byrtn-nav-desktop__item.menu-item-has-children {
  position: relative;
}

/* Caret visuel après les items qui ont un sous-menu */
.byrtn-nav-desktop__item.menu-item-has-children > .byrtn-nav-desktop__link::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 0.4em;
  vertical-align: 0.18em;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.7;
  transition: transform 0.2s, opacity 0.2s;
}
.byrtn-nav-desktop__item.menu-item-has-children:hover > .byrtn-nav-desktop__link::after,
.byrtn-nav-desktop__item.menu-item-has-children:focus-within > .byrtn-nav-desktop__link::after {
  transform: rotate(180deg);
  opacity: 1;
}

/* Le panneau dropdown lui-même */
.byrtn-nav-desktop__submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  margin: 0;
  padding: 0.5rem 0;
  list-style: none;
  background: rgba(13, 24, 37, 0.98);
  border: 0.5px solid rgba(201, 168, 76, 0.2);
  border-radius: 4px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
  z-index: 600;
}
.byrtn-nav-desktop__item.menu-item-has-children:hover > .byrtn-nav-desktop__submenu,
.byrtn-nav-desktop__item.menu-item-has-children:focus-within > .byrtn-nav-desktop__submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s;
}

.byrtn-nav-desktop__submenu .byrtn-nav-desktop__item {
  margin: 0;
}

.byrtn-nav-desktop__submenu .byrtn-nav-desktop__link {
  display: block;
  padding: 0.55rem 1.25rem;
  font-size: 10.5px;
  white-space: nowrap;
}
.byrtn-nav-desktop__submenu .byrtn-nav-desktop__link:hover {
  color: var(--gold-light);
  background: rgba(201, 168, 76, 0.06);
}

@media (min-width: 1101px) {
  .byrtn-nav-desktop { display: block; }
}

/* ═══════════════════════════════════════════════════════════════ */
/*  HAMBURGER (< 1101px uniquement)                                 */
/* ═══════════════════════════════════════════════════════════════ */

.byrtn-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 0;
  color: var(--gold);
  font-size: 24px;
  line-height: 1;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  transition: color 0.2s;
}
.byrtn-burger:hover { color: var(--gold-light); }
.byrtn-burger:focus { outline: none; color: var(--gold-light); }

@media (min-width: 1101px) {
  .byrtn-burger { display: none; }
}

/* ═══════════════════════════════════════════════════════════════ */
/*  DRAWER MOBILE — v1.2.0                                          */
/*                                                                   */
/*  #byrtn-drawer + .byrtn-drawer__backdrop sont siblings de <main> */
/*  (injectés en fin de <body>). Aucun parent contaminant.          */
/* ═══════════════════════════════════════════════════════════════ */

/* Backdrop fullscreen */
.byrtn-drawer__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.byrtn-drawer__backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* Drawer modal — v1.2.1 : positionné en haut sous le header */
.byrtn-drawer {
  position: fixed;
  top: calc(var(--header-height) + 0.75rem);
  left: 50%;
  transform: translateX(-50%) translateY(-12px);
  width: calc(100% - 2rem);
  max-width: 480px;
  max-height: calc(100vh - var(--header-height) - 1.5rem);
  display: flex;
  flex-direction: column;
  background: rgba(13, 24, 37, 0.96);
  border: 0.5px solid rgba(201, 168, 76, 0.25);
  border-radius: 6px;
  padding: 1rem 2rem 2rem;
  z-index: 1000;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
}
.byrtn-drawer.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s;
}

/* Croix de fermeture */
.byrtn-drawer__close {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 20px;
  right: 20px;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(201, 168, 76, 0.5);
  border-radius: 50%;
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  padding: 0;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
.byrtn-drawer__close:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  transform: scale(1.05);
}
.byrtn-drawer__close:focus {
  outline: none;
}

/* Nav dans le drawer */
.byrtn-drawer__nav {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}

/* Liste des items */
.byrtn-drawer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.byrtn-drawer__item {
  margin: 0;
  width: 100%;
}

/* Liens drawer mobile : letter-spacing, puce dorée */
.byrtn-drawer__link {
  display: block;
  padding: 0.6rem 0 0.6rem 1.4rem;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-decoration: none;
  position: relative;
  transition: color 0.2s;
}
.byrtn-drawer__link::before {
  content: '•';
  position: absolute;
  left: 0.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 16px;
  line-height: 1;
}
.byrtn-drawer__link:hover,
.byrtn-drawer__item.is-current > .byrtn-drawer__link,
.byrtn-drawer__item.current-menu-item > .byrtn-drawer__link {
  color: var(--gold-light);
}

/* v1.2.1 — Sous-menu dans le drawer mobile : indenté */
.byrtn-drawer__submenu {
  list-style: none;
  padding: 0 0 0 1.4rem;
  margin: 0.25rem 0 0.5rem;
}
.byrtn-drawer__submenu .byrtn-drawer__link {
  font-size: 13px;
  padding-block: 0.45rem;
  opacity: 0.85;
}
.byrtn-drawer__submenu .byrtn-drawer__link::before {
  content: '◦';
  font-size: 14px;
}

/* Lock du scroll body */
body.byrtn-drawer-open { overflow: hidden; }

/* Cacher complètement le drawer en desktop */
@media (min-width: 1101px) {
  .byrtn-drawer,
  .byrtn-drawer__backdrop {
    display: none !important;
  }
}

/* Respect des préférences animation */
@media (prefers-reduced-motion: reduce) {
  .byrtn-drawer,
  .byrtn-drawer__backdrop { transition: none !important; }
  .byrtn-drawer { transform: translateX(-50%) translateY(0); }
}

/* ═══════════════════════════════════════════════════════════════ */
/*                       MAIN / ENTRY                               */
/* ═══════════════════════════════════════════════════════════════ */

.byrtn-main { padding: 0; margin: 0; }
.entry-header { display: none; }
.section .wp-block-group__inner-container { max-width: var(--content-max); margin: 0 auto; }

/* ═══════════════════════════════════════════════════════════════ */
/*                       HERO (homepage)                            */
/* ═══════════════════════════════════════════════════════════════ */

.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 6rem;
  padding-inline: var(--grid-pad-x);
  background:
    radial-gradient(ellipse at 80% 20%, rgba(201, 168, 76, 0.08), transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(26, 51, 82, 0.4), transparent 60%),
    var(--navy);
  color: var(--text-light);
}
.hero > * { max-width: 760px; margin-left: 0; margin-right: 0; }
.hero h1 {
  font-size: clamp(38px, 5.5vw, 62px);
  color: #fff;
  margin-bottom: 1.75rem;
}

.eyebrow { font-size: 10px; font-weight: 400; letter-spacing: 0.32em; text-transform: uppercase; color: var(--on-navy-soft); margin-bottom: 2rem; }
.subtitle { font-size: 16px; color: var(--on-navy-strong); max-width: 520px; margin-bottom: 1.5rem; }
.tagline { font-size: 13px; font-style: italic; color: var(--on-navy-soft); margin-bottom: 3rem; }

.hero .wp-block-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero .wp-block-buttons > .wp-block-button {
  flex: 1 1 0;
  min-width: 0;
}
.hero .wp-block-buttons > .wp-block-button > .wp-block-button__link {
  width: 100%;
  text-align: center;
}

/* ═══════════════════════════════════════════════════════════════ */
/*                       SECTIONS                                   */
/* ═══════════════════════════════════════════════════════════════ */

.section,
.wp-block-group.section {
  padding-block: 6rem;
  padding-inline: var(--grid-pad-x);
}
.section-inner { max-width: var(--content-max); margin: 0 auto; }

.section-light,
.wp-block-group.section-light { background: var(--cream); color: var(--ink); }
.section-light h1, .section-light h2, .section-light h3 { color: var(--ink); }
.section-light p { color: var(--ink-dim); }
.section-light .eyebrow { color: var(--ink-faint); }

.section-dark,
.wp-block-group.section-dark { background: var(--navy-mid); color: var(--text-light); }

.section h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  margin-bottom: 2rem;
  max-width: 720px;
}

/* ═══════════════════════════════════════════════════════════════ */
/*                       PILIERS / OFFRES / POUR QUI / BOUTONS      */
/* ═══════════════════════════════════════════════════════════════ */

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: rgba(240, 236, 228, 0.06);
  border-radius: 6px;
  overflow: hidden;
  margin-top: 2rem;
}
.pillar { padding: 2rem 1.75rem; background: var(--navy-mid); border-left: 2px solid var(--gold); }
.pillar h4 { font-size: 13px; font-weight: 500; color: #fff; margin-bottom: 0.6rem; letter-spacing: 0.02em; }
.pillar p { font-size: 12px; color: var(--on-navy-soft); line-height: 1.8; margin: 0; }

.offers { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
.offer {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: 2.5rem;
  align-items: center;
  padding: 2.5rem 2rem;
  background: #fff;
  border-left: 2px solid var(--gold);
  border-radius: 3px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.offer:hover { transform: translateX(4px); box-shadow: 0 8px 32px rgba(13, 24, 37, 0.1); }
.offer-mark { font-size: 92px; font-weight: 100; line-height: 1; color: var(--gold); letter-spacing: -0.05em; text-align: center; }
.offer-mark .mini { display: block; font-size: 10px; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-faint); margin-top: 0.5rem; }
.offer h3 { margin-bottom: 0.5rem; color: var(--ink); }
.offer p { color: var(--ink-dim); font-size: 13px; line-height: 1.8; margin: 0; }
.offer-price { text-align: right; white-space: nowrap; }
.offer-price .price { font-size: 22px; font-weight: 300; color: var(--ink); }
.offer-price .price strong { font-weight: 500; }
.offer-price .meta { font-size: 10px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); margin-top: 0.4rem; }

.qualif-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; margin-top: 2rem; }
.qualif-col { padding: 2.5rem; background: rgba(240, 236, 228, 0.03); border-top: 2px solid var(--gold); border-radius: 3px; }
.qualif-col.no { border-top-color: rgba(240, 236, 228, 0.15); }
.qualif-col .label { font-size: 10px; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; display: block; }
.qualif-col.no .label { color: var(--on-navy-mute); }
.qualif-col h3 { color: #fff; margin-bottom: 1.5rem; }
.qualif-col ul { list-style: none; padding: 0; margin: 0; }
.qualif-col li { font-size: 13px; color: var(--on-navy-soft); line-height: 1.6; padding: 0.6rem 0 0.6rem 1.5rem; position: relative; border-bottom: 1px solid rgba(240, 236, 228, 0.04); }
.qualif-col li:last-child { border-bottom: none; }
.qualif-col.yes li::before { content: '+'; position: absolute; left: 0; color: var(--gold); }
.qualif-col.no li::before { content: '—'; position: absolute; left: 0; color: rgba(240, 236, 228, 0.3); }

.wp-block-button .wp-block-button__link,
.byrtn-btn {
  padding: 14px 28px;
  border-radius: 3px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--navy);
  border: none;
  box-shadow: 0 4px 24px rgba(201, 168, 76, 0.28);
  transition: background 0.2s, transform 0.2s;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
}
.wp-block-button .wp-block-button__link:hover,
.byrtn-btn:hover { background: var(--gold-light); transform: translateY(-1px); }
.wp-block-button.is-style-outline .wp-block-button__link,
.byrtn-btn--outline { background: transparent; color: var(--on-navy-base); border: 0.5px solid rgba(240, 236, 228, 0.25); box-shadow: none; }
.wp-block-button.is-style-outline .wp-block-button__link:hover,
.byrtn-btn--outline:hover { border-color: rgba(240, 236, 228, 0.5); color: #fff; background: transparent; }

/* ═══════════════════════════════════════════════════════════════ */
/*                  NUMÉROTATION / STEP-NUMBER                      */
/* ═══════════════════════════════════════════════════════════════ */

.wappify-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: var(--gold);
  color: var(--cream);
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1;
  margin: 0 auto 1rem;
}

/* ═══════════════════════════════════════════════════════════════ */
/*                       FOOTER                                     */
/* ═══════════════════════════════════════════════════════════════ */

.byrtn-footer { background: var(--navy); width: 100%; margin: 0; }
.byrtn-footer__inner {
  padding-block: 1.5rem;
  padding-inline: var(--gutter-x);
  border-top: 0.5px solid rgba(240, 236, 228, 0.1);
}
.byrtn-footer__copyright {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: var(--container-max);
  margin: 0 auto;
  font-size: 12px;
  color: var(--on-navy-soft);
}
.byrtn-footer__copyright div { display: inline-block; }
.byrtn-footer__copyright a { color: var(--on-navy-base); text-decoration: none; letter-spacing: 0.04em; transition: color 0.2s; }
.byrtn-footer__copyright a:hover { color: var(--gold); }

/* ═══════════════════════════════════════════════════════════════ */
/*                       FORMULAIRE CF7                             */
/* ═══════════════════════════════════════════════════════════════ */

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  background: #fff;
  border: 1px solid rgba(13,24,37,0.18);
  border-radius: 3px;
  color: var(--ink);
  padding: 0.7rem 1rem;
  width: 100%;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form textarea:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}
.wpcf7-form textarea { resize: vertical; min-height: 120px; }
.wpcf7-form input[type="submit"] {
  padding: 14px 28px; border-radius: 3px; font-family: 'Montserrat', sans-serif;
  font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--gold); color: var(--navy); border: none;
  box-shadow: 0 4px 24px rgba(201,168,76,0.28);
  cursor: pointer; transition: background 0.2s, transform 0.2s;
}
.wpcf7-form input[type="submit"]:hover { background: var(--gold-light); transform: translateY(-1px); }
.wpcf7-form p { margin-bottom: 1.25rem; }
.wpcf7-form .wpcf7-list-item-label { color: var(--on-navy-base); font-size: 13px; margin-left: 0.5rem; }
.wpcf7-form .wpcf7-list-item { display: inline-flex; align-items: flex-start; gap: 0.4rem; }

/* ═══════════════════════════════════════════════════════════════ */
/*                       BACK-TO-TOP                                */
/* ═══════════════════════════════════════════════════════════════ */

#back-to-top {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); border: 0.5px solid rgba(201,168,76,0.3);
  color: var(--on-navy-soft); font-size: 18px; cursor: pointer;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s, color 0.2s, border-color 0.2s;
  z-index: 998;
  display: flex; align-items: center; justify-content: center; line-height: 1;
}
#back-to-top.is-visible { opacity: 1; pointer-events: auto; }
#back-to-top:hover { color: var(--gold); border-color: var(--gold); }

/* ═══════════════════════════════════════════════════════════════ */
/*  PAGES INTÉRIEURES — grille 1200 unifiée                         */
/* ═══════════════════════════════════════════════════════════════ */

body:not(.is-home) { background: var(--navy); }
body:not(.is-home) .byrtn-main,
body:not(.is-home) article,
body:not(.is-home) .entry-content,
body:not(.is-home) .wp-block-group { background: var(--navy); }

body:not(.is-home) .entry-content {
  padding-block: 6rem;
  padding-inline: var(--gutter-x);
  max-width: var(--container-max);
  margin: 0 auto;
}
body:not(.is-home) .entry-content > * {
  max-width: var(--content-max);
  margin-left: 0;
  margin-right: 0;
}
body:not(.is-home) .entry-content > .alignwide {
  max-width: var(--container-max);
}
body:not(.is-home) .entry-content > .alignfull {
  max-width: none;
  margin-left: calc(-1 * var(--gutter-x));
  margin-right: calc(-1 * var(--gutter-x));
  width: calc(100% + 2 * var(--gutter-x));
}

body:not(.is-home) .entry-content h1,
body:not(.is-home) .entry-content h2,
body:not(.is-home) .entry-title { color: #fff; font-weight: 200; }
body:not(.is-home) .entry-content h3 { color: var(--gold); font-weight: 300; }

body:not(.is-home) .entry-content > * + * { margin-top: 1.5rem; }
body:not(.is-home) .entry-content > h2 { margin-top: 3rem; margin-bottom: 1.25rem; }
body:not(.is-home) .entry-content > h3 { margin-top: 2.25rem; margin-bottom: 0.75rem; }
body:not(.is-home) .entry-content > h1:first-child,
body:not(.is-home) .entry-content > h2:first-child,
body:not(.is-home) .entry-content > h3:first-child { margin-top: 0; }

body:not(.is-home) .entry-content p,
body:not(.is-home) .entry-content li {
  color: var(--on-navy-strong);
  line-height: 1.75;
}
body:not(.is-home) .entry-content ul,
body:not(.is-home) .entry-content ol { padding-left: 1.5rem; }
body:not(.is-home) .entry-content li + li { margin-top: 0.5rem; }
body:not(.is-home) .entry-content strong { color: #fff; }
body:not(.is-home) .entry-content a { color: var(--gold); }
body:not(.is-home) .entry-content hr {
  border: 0;
  border-top: 0.5px solid rgba(240, 236, 228, 0.15);
  margin: 3rem 0;
}
body:not(.is-home) .entry-content blockquote {
  border-left: 2px solid var(--gold);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin-left: 0;
  font-style: italic;
  color: var(--on-navy-strong);
}

body:not(.is-home) .wpcf7-form label { color: var(--on-navy-strong); }
body:not(.is-home) .wpcf7-form input,
body:not(.is-home) .wpcf7-form textarea {
  background: rgba(255,255,255,0.05);
  color: #fff;
  border: 1px solid rgba(201,168,76,0.3);
  padding: 0.75rem 1rem;
}
body:not(.is-home) .wpcf7-form input::placeholder,
body:not(.is-home) .wpcf7-form textarea::placeholder { color: var(--on-navy-soft); }
body:not(.is-home) .wpcf7-form input[type="submit"] {
  background: var(--gold); color: var(--navy); border: none; padding: 14px 28px;
}

body:not(.is-home) .entry-content table,
body:not(.is-home) .entry-content .wp-block-table,
body:not(.is-home) .entry-content .wp-block-table table,
body:not(.is-home) .entry-content figure.wp-block-table {
  background: transparent; width: 100%; border-collapse: collapse;
}
body:not(.is-home) .entry-content td,
body:not(.is-home) .entry-content th {
  background: rgba(240, 236, 228, 0.04);
  color: var(--on-navy-strong);
  border-color: rgba(240, 236, 228, 0.1);
  padding: 0.7rem 1rem;
  vertical-align: top;
}
body:not(.is-home) .entry-content thead th {
  background: rgba(201, 168, 76, 0.12);
  color: var(--gold);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(201, 168, 76, 0.25);
}
body:not(.is-home) .entry-content tbody th { color: #fff; font-weight: 500; background: rgba(240, 236, 228, 0.07); }
body:not(.is-home) .entry-content tbody tr:nth-child(even) td,
body:not(.is-home) .entry-content tbody tr:nth-child(even) th { background: rgba(240, 236, 228, 0.07); }
body:not(.is-home) .entry-content tr { border-bottom: 1px solid rgba(240, 236, 228, 0.06); background: transparent; }

/* ═══════════════════════════════════════════════════════════════ */
/*  ARTICLES, ARCHIVES, RECHERCHE, 404                              */
/* ═══════════════════════════════════════════════════════════════ */

.byrtn-content {
  padding-block: 6rem;
  padding-inline: var(--gutter-x);
  max-width: var(--container-max);
  margin: 0 auto;
  color: var(--on-navy-strong);
}
.byrtn-content > * { max-width: var(--content-max); margin-left: 0; margin-right: 0; }
.byrtn-content > article { max-width: var(--content-max); }

body.single .entry-header,
body.archive .entry-header,
body.search .entry-header,
body.error404 .entry-header,
body.blog .entry-header { display: block; margin-bottom: 2.5rem; }

.byrtn-content .entry-title { font-size: clamp(28px, 3.4vw, 42px); color: #fff; font-weight: 200; margin-bottom: 1rem; line-height: 1.2; }
.byrtn-content .entry-title a { color: #fff; text-decoration: none; transition: color 0.2s; }
.byrtn-content .entry-title a:hover { color: var(--gold); }

.entry-meta,
.entry-footer { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--on-navy-soft); margin-bottom: 1.5rem; }
.entry-meta a, .entry-footer a { color: var(--gold); text-decoration: none; }
.entry-meta a:hover, .entry-footer a:hover { text-decoration: underline; }
.entry-meta > span, .entry-footer > span { margin-right: 1.25rem; }

.post-thumbnail { margin: 0 0 2rem; display: block; }
.post-thumbnail img { width: 100%; height: auto; border-radius: 3px; }

.byrtn-content article + article { margin-top: 4rem; padding-top: 4rem; border-top: 0.5px solid rgba(240, 236, 228, 0.1); }
.byrtn-content .entry-summary { color: var(--on-navy-strong); font-size: 15px; line-height: 1.75; }
.byrtn-content .entry-summary p { margin-bottom: 1rem; }
.byrtn-content .read-more {
  display: inline-block; margin-top: 0.5rem;
  font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); text-decoration: none;
  border-bottom: 0.5px solid rgba(201, 168, 76, 0.4);
  padding-bottom: 2px; transition: border-color 0.2s;
}
.byrtn-content .read-more:hover { border-color: var(--gold); }

.page-header { margin-bottom: 3rem; padding-bottom: 2rem; border-bottom: 0.5px solid rgba(240, 236, 228, 0.1); }
.page-title { color: #fff; font-weight: 200; font-size: clamp(28px, 3.4vw, 42px); margin: 0 0 0.75rem; }
.archive-description, .taxonomy-description { color: var(--on-navy-soft); font-size: 14px; margin: 0; }

.navigation.pagination, .posts-navigation, .post-navigation {
  margin-top: 4rem; padding-top: 3rem; border-top: 0.5px solid rgba(240, 236, 228, 0.1);
}
.navigation.pagination .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
  display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: space-between; align-items: center;
}
.navigation.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; padding: 0 0.75rem;
  font-size: 12px; font-weight: 500; letter-spacing: 0.08em;
  color: var(--on-navy-base); text-decoration: none;
  border: 0.5px solid rgba(240, 236, 228, 0.15); border-radius: 3px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.navigation.pagination .page-numbers:hover,
.navigation.pagination .page-numbers.current {
  color: var(--navy); background: var(--gold); border-color: var(--gold);
}
.navigation.pagination .page-numbers.dots { border-color: transparent; }

.posts-navigation .nav-previous a, .posts-navigation .nav-next a,
.post-navigation .nav-previous a, .post-navigation .nav-next a {
  display: inline-block; font-size: 11px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); text-decoration: none; padding: 0.5rem 0;
  transition: color 0.2s;
}
.posts-navigation .nav-previous a:hover,
.post-navigation .nav-previous a:hover { color: var(--gold-light); }

.no-results, .error-404 { text-align: center; padding-block: 4rem; }
.no-results .page-title, .error-404 .page-title { font-size: clamp(36px, 5vw, 56px); margin-bottom: 1.5rem; }
.no-results .page-content p, .error-404 .page-content p { color: var(--on-navy-strong); max-width: 540px; margin: 0 auto 1.5rem; }

/* ═══════════════════════════════════════════════════════════════ */
/*                       RECHERCHE (form)                           */
/* ═══════════════════════════════════════════════════════════════ */

.search-form { display: flex; gap: 0.5rem; margin: 2rem auto; max-width: 520px; }
.search-form label { flex: 1; }
.search-form .search-field {
  width: 100%; background: rgba(255,255,255,0.05); color: #fff;
  border: 1px solid rgba(201,168,76,0.3); border-radius: 3px;
  padding: 0.75rem 1rem; font-family: 'Montserrat', sans-serif;
  font-size: 14px; font-weight: 300;
}
.search-form .search-field::placeholder { color: var(--on-navy-soft); }
.search-form .search-field:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,0.12); }
.search-form .search-submit {
  padding: 0.75rem 1.25rem; font-size: 11px; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; background: var(--gold); color: var(--navy);
  border: none; border-radius: 3px; cursor: pointer; transition: background 0.2s;
}
.search-form .search-submit:hover { background: var(--gold-light); }

/* ═══════════════════════════════════════════════════════════════ */
/*  COMMENTAIRES                                                    */
/* ═══════════════════════════════════════════════════════════════ */

.comments-area { margin-top: 4rem; padding-top: 3rem; border-top: 0.5px solid rgba(240, 236, 228, 0.1); }
.comments-title, .comment-reply-title { color: #fff; font-weight: 200; font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 2rem; }
.comment-list { list-style: none; padding: 0; margin: 0 0 3rem; }
.comment-list .comment, .comment-list .pingback, .comment-list .trackback {
  margin-bottom: 1.75rem; padding-bottom: 1.75rem;
  border-bottom: 0.5px solid rgba(240, 236, 228, 0.06);
}
.comment-list .comment:last-child, .comment-list .pingback:last-child, .comment-list .trackback:last-child { border-bottom: none; }
.comment-list .children { list-style: none; padding-left: 1.5rem; margin-top: 1.5rem; border-left: 1px solid rgba(201, 168, 76, 0.15); }
.comment-author { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; }
.comment-author .avatar { border-radius: 50%; width: 36px; height: 36px; }
.comment-author .fn { color: #fff; font-weight: 500; font-size: 13px; font-style: normal; }
.comment-author .says { display: none; }
.comment-metadata { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-navy-soft); margin-bottom: 0.75rem; }
.comment-metadata a { color: var(--on-navy-soft); text-decoration: none; }
.comment-metadata a:hover { color: var(--gold); }
.comment-content { color: var(--on-navy-strong); line-height: 1.75; font-size: 14px; }
.comment-content p { margin-bottom: 1rem; }
.reply { margin-top: 0.5rem; }
.reply .comment-reply-link { display: inline-block; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); text-decoration: none; padding: 0.25rem 0; }
.reply .comment-reply-link:hover { color: var(--gold-light); }
.comment-respond { margin-top: 3rem; }
.comment-form .comment-notes, .comment-form .logged-in-as { color: var(--on-navy-soft); font-size: 12px; margin-bottom: 1.5rem; }
.comment-form .comment-notes a, .comment-form .logged-in-as a { color: var(--gold); }
.comment-form label { display: block; color: var(--on-navy-strong); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.4rem; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
  width: 100%; background: rgba(255,255,255,0.05); color: #fff;
  border: 1px solid rgba(201,168,76,0.3); border-radius: 3px;
  padding: 0.75rem 1rem; font-family: 'Montserrat', sans-serif;
  font-size: 14px; font-weight: 300; margin-bottom: 1.25rem;
}
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,0.12); }
.comment-form textarea { resize: vertical; min-height: 140px; }
.comment-form .submit {
  padding: 14px 28px; font-size: 12px; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; background: var(--gold); color: var(--navy);
  border: none; border-radius: 3px; cursor: pointer;
  box-shadow: 0 4px 24px rgba(201,168,76,0.28); transition: background 0.2s, transform 0.2s;
}
.comment-form .submit:hover { background: var(--gold-light); transform: translateY(-1px); }
.no-comments { color: var(--on-navy-soft); font-style: italic; }

/* ═══════════════════════════════════════════════════════════════ */
/*                       RESPONSIVE — tailles intermédiaires        */
/* ═══════════════════════════════════════════════════════════════ */

@media (max-width: 900px) {
  .offer { grid-template-columns: 100px 1fr; gap: 1.5rem; }
  .offer-mark { font-size: 64px; }
  .offer-price { grid-column: 1 / -1; text-align: left; padding-left: calc(100px + 1.5rem); }
}
@media (max-width: 768px) {
  :root { --gutter-x: 1.5rem; }
  .hero { padding-block: 5rem; }
  .section, .wp-block-group.section { padding-block: 4rem; }
  .qualif-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .offer { grid-template-columns: 80px 1fr; padding: 1.75rem 1.5rem; }
  .offer-mark { font-size: 56px; }
  body:not(.is-home) .entry-content,
  .byrtn-content { padding-block: 4rem; }
  .byrtn-header__inner { padding: 0.5rem 1rem; }
  .search-form { flex-direction: column; }
}
@media (max-width: 480px) {
  .pillars { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════ */
/*                       FIN style.css — v1.2.0                     */
/* ═══════════════════════════════════════════════════════════════ */

/* Test pipeline déploiement v4.1 — 2026-06-25T11:17:26+02:00 */
/* Test pipeline v2.0 systemd — 2026-06-25T12:48:53+02:00 */
/* Test pipeline v3.0 polkit — 2026-06-25T14:56:48+02:00 */
