/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */


/* ══════════════════════════════════════
   TEMPLATE : Full Width Bootstrap
   Scopé à #main uniquement
   (ne touche PAS le header/footer Blocksy)
   ══════════════════════════════════════ */
.bootstrap-full-width #main {
    padding: 0 !important;
    margin: 0 !important;
}
.bootstrap-full-width .bootstrap-page-wrapper {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}
/* Blocksy containers UNIQUEMENT dans le contenu */
.bootstrap-full-width #main .ct-container,
.bootstrap-full-width #main .ct-container-full {
    max-width: 100% !important;
    padding: 0 !important;
}
/* Sidebar Blocksy cachée sur ce template */
.bootstrap-full-width #primary {
    width: 100% !important;
    max-width: 100% !important;
}
.bootstrap-full-width aside#secondary {
    display: none !important;
}


/* ══════════════════════════════════════
   WPFORMS : Compact fields
   ══════════════════════════════════════ */
.wpforms-container .wpforms-field,
.wp-core-ui div.wpforms-container .wpforms-field {
    padding: 5px 0 !important;
    position: relative;
}


/* ══════════════════════════════════════
   AGM VARIABLES + Secondary Variables Mapping
   ══════════════════════════════════════ */
:root {
    --agm-primary: #1a4d8f;
    --agm-primary-dark: #0f3461;
    --agm-primary-light: #1565c0;
    --agm-accent: #ff6b35;
    --agm-accent-hover: #e55a25;
    --agm-success: #16a34a;
    --agm-light-bg: #f8f9fa;
    --agm-warm-bg: #fffaf7;
    --agm-dark-text: #1f2937;
    --agm-body-text: #374151;
    --agm-muted: #6b7280;
    --agm-border: rgba(0, 0, 0, 0.08);
    
    /* Mapping Secondary CSS variables to AGM system */
    --blue: var(--agm-primary);
    --blue-dark: var(--agm-primary-dark);
    --blue-light: rgba(26, 77, 143, 0.08);
    --orange: var(--agm-accent);
    --orange-dim: rgba(255, 107, 53, 0.12);
    --orange-hover: var(--agm-accent-hover);
    --ink: var(--agm-dark-text);
    --ink-60: var(--agm-muted);
    --ink-20: rgba(31, 41, 55, 0.12);
    --bg: var(--agm-light-bg);
    --surface: #ffffff;
}


/* ══════════════════════════════════════
   AGM PAGE WRAPPER
   ══════════════════════════════════════ */
.agm-page {
    font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
    color: var(--agm-body-text);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
.agm-page h1,
.agm-page h2,
.agm-page h3,
.agm-page h4 {
    color: var(--agm-dark-text);
    letter-spacing: -.02em;
    line-height: 1.25;
    font-weight: 800;
}
.agm-page a {
    color: var(--agm-primary);
    text-decoration: none;
}
.agm-page a:hover {
    text-decoration: underline;
}

/* Kill <p> vides wpautop */
.agm-page p:empty {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    line-height: 0 !important;
    font-size: 0 !important;
}


/* ══════════════════════════════════════
   LAYOUT HELPERS
   ══════════════════════════════════════ */
.agm-section {
    padding: 4.5rem 0;
}
.agm-bg-alt {
    background: var(--agm-light-bg);
}
.agm-bg-warm {
    background: var(--agm-warm-bg);
}
.agm-overline {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--agm-accent);
    margin-bottom: .5rem;
    display: block;
}
.agm-intro {
    max-width: 620px;
    color: var(--agm-muted);
}


/* ══════════════════════════════════════
   BOUTON CTA
   ══════════════════════════════════════ */
.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    background: var(--agm-accent);
    color: #fff !important;
    font-weight: 700;
    font-size: 1rem;
    padding: .8rem 1.5rem;
    border-radius: 10px;
    border: none;
    text-decoration: none !important;
    transition: background .2s, transform .2s, box-shadow .2s;
    cursor: pointer;
    /* Suppression du white-space: nowrap */
    white-space: normal;
    word-break: break-word;
    /* Largeur max pour éviter le débordement */
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.btn-cta:hover,
.btn-cta:focus,
.btn-cta:active,
.btn-cta:visited {
    color: #fff !important;
    text-decoration: none !important;
}

.btn-cta:hover {
    background: var(--agm-accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(255, 107, 53, .35);
}

.btn-cta-lg {
    font-size: 1.08rem;
    padding: .95rem 2rem;
}

/* Mobile : bouton pleine largeur */
@media (max-width: 575px) {
    .btn-cta {
        width: 100%;
        justify-content: center;
    }
}

/* ══════════════════════════════════════
   HERO
   ══════════════════════════════════════ */
.agm-hero {
    background: linear-gradient(157deg, #0f3461 0%, #1a4d8f 55%, #ff6b35 100%);
    padding: 3.5rem 0 3rem;
    overflow: hidden;
    position: relative;
}
.agm-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.agm-hero h1 {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    color: #fff !important;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}
.agm-hero .agm-overline {
    position: relative;
    z-index: 1;
}
.hero-hook {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, .88);
    line-height: 1.65;
    max-width: 520px;
    margin-bottom: 1.75rem;
    position: relative;
    z-index: 1;
}
.hero-bullets {
    list-style: none;
    padding: 0 0 0 1.25rem;
    margin: 0 0 1.75rem;
    border-left: 2px solid rgba(255, 255, 255, .15);
    position: relative;
    z-index: 1;
}
.hero-bullets li {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: .75rem;
    color: rgba(255, 255, 255, .95);
}
.hero-bullets li:last-child {
    margin-bottom: 0;
}
.hero-bullets .fa-check-circle {
    color: var(--agm-accent);
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: .22rem;
}
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    position: relative;
    z-index: 1;
}
.hero-trust span {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 8px;
    padding: .3rem .7rem;
    font-size: .78rem;
    font-weight: 500;
    color: rgba(255, 255, 255, .9);
}


/* ══════════════════════════════════════
   HERO FORM CARD
   ══════════════════════════════════════ */
.hero-form-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .2);
    position: relative;
    z-index: 1;
}
.hero-form-card h3 {
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--agm-dark-text);
    margin-bottom: .25rem;
}
.hero-form-card .sub {
    font-size: .81rem;
    color: var(--agm-muted);
    margin-bottom: 1rem;
    line-height: 1.5;
}


/* ══════════════════════════════════════
   STAT BAR
   ══════════════════════════════════════ */
.agm-stat-bar {
    background: var(--agm-primary);
    padding: 0;
}
.stat-bar-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-left: 1px solid rgba(255, 255, 255, .12);
}
.stat-item {
    padding: 1.05rem 1.2rem;
    border-right: 1px solid rgba(255, 255, 255, .12);
    text-align: center;
}
.stat-val {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.03em;
    line-height: 1.1;
}
.stat-val .ac {
    color: var(--agm-accent);
}
.stat-lbl {
    font-size: .74rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .7);
    margin-top: .12rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}


/* ══════════════════════════════════════
   EXPERTISE CARDS
   ══════════════════════════════════════ */
.expertise-card {
    background: #fff;
    border: 1px solid var(--agm-border);
    border-radius: 14px;
    padding: 1.75rem;
    height: 100%;
    transition: all .3s;
    position: relative;
    overflow: hidden;
}
.expertise-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--agm-accent);
    transform: scaleX(0);
    transition: transform .3s;
}
.expertise-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
}
.expertise-card:hover::after {
    transform: scaleX(1);
}
.expertise-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--agm-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: #fff;
    font-size: 1.1rem;
}
.expertise-card p {
    color: var(--agm-muted);
    font-size: .9rem;
}


/* ══════════════════════════════════════
   MÉTIER CARDS (span-based, wpautop-safe)
   ══════════════════════════════════════ */
.metier-card {
    display: block;
    background: #fff;
    border: 1px solid var(--agm-border);
    border-radius: 12px;
    padding: 1rem 1.1rem;
    text-decoration: none !important;
    color: inherit !important;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}
.metier-card:hover {
    border-color: var(--agm-primary);
    box-shadow: 0 4px 14px rgba(26, 77, 143, .09);
    transform: translateY(-2px);
    color: inherit !important;
}
.mc-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.mc-text {
    display: block;
}
.mc-title {
    display: block;
    font-weight: 700;
    color: var(--agm-dark-text);
    font-size: .88rem;
    margin: 0 0 .12rem;
}
.mc-desc {
    display: block;
    font-size: .79rem;
    color: var(--agm-muted);
    margin: 0;
}
.mc-arrow {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    color: var(--agm-accent);
    opacity: 0;
    transition: opacity .2s;
    font-size: .79rem;
    margin-top: .25rem;
}
.metier-card:hover .mc-arrow {
    opacity: 1;
}
.metiers-desc {
    color: var(--agm-muted);
}
.metiers-img {
    border-radius: 14px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .06);
}


/* ══════════════════════════════════════
   STEPS
   ══════════════════════════════════════ */
.step-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--agm-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
    font-weight: 800;
}
.step-desc {
    color: var(--agm-muted);
    font-size: .88rem;
    margin: 0;
}


/* ══════════════════════════════════════
   CTA BAND (forcer centrage vs Blocksy)
   ══════════════════════════════════════ */
.agm-cta-band {
    background: linear-gradient(135deg, var(--agm-primary-dark) 0%, var(--agm-primary) 100%);
    padding: 2.75rem 0;
}
.agm-cta-band .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.agm-cta-band,
.agm-cta-band .container,
.agm-cta-band h2,
.agm-cta-band p,
.agm-cta-band .cta-sub {
    text-align: center !important;
}
.agm-cta-band h2 {
    color: #fff !important;
    margin-bottom: .5rem;
}
.agm-cta-band p {
    color: rgba(255, 255, 255, .82) !important;
    margin: 0;
}
.agm-cta-band .cta-sub {
    max-width: 600px;
    margin: 0 auto 1.5rem !important;
}
.agm-cta-band p:has(> a.btn-cta) {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}


/* ══════════════════════════════════════
   ABOUT
   ══════════════════════════════════════ */
.about-pill {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: var(--agm-light-bg);
    border: 1px solid var(--agm-border);
    border-radius: 100px;
    padding: .28rem .8rem;
    font-size: .77rem;
    font-weight: 600;
    color: var(--agm-muted);
    margin-bottom: .75rem;
}
.about-img {
    border-radius: 14px;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .06);
}
.about-badge {
    font-size: .88rem;
    font-weight: 600;
    color: var(--agm-dark-text);
}
.about-badge i {
    color: var(--agm-success);
}


/* ══════════════════════════════════════
   FAQ ACCORDION
   ══════════════════════════════════════ */
.agm-page .faq-acc .accordion-item {
    border: 1px solid var(--agm-border);
    border-radius: 12px !important;
    margin-bottom: 1rem;
    overflow: hidden;
}
.agm-page .faq-acc .accordion-button {
    font-weight: 600;
    color: var(--agm-dark-text);
    font-size: .93rem;
    background: #fff;
    box-shadow: none;
    padding: 1.1rem 1.2rem;
}
.agm-page .faq-acc .accordion-button:not(.collapsed) {
    background: #eef4fc;
    color: var(--agm-primary);
}
.agm-page .faq-acc .accordion-body {
    color: var(--agm-body-text);
    font-size: .91rem;
    line-height: 1.72;
    padding: 1.1rem 1.2rem;
}


/* ══════════════════════════════════════
   STICKY CTA
   ══════════════════════════════════════ */
.agm-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--agm-primary);
    padding: .85rem 1.25rem;
    z-index: 999;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, .18);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: transform .4s ease, opacity .4s ease, visibility .4s;
}

.agm-sticky-cta.visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

/* Desktop : masqué même si .visible est ajouté */
@media (min-width: 992px) {
    .agm-sticky-cta {
        display: none !important;
    }
}

/* Padding bas de page sur mobile/tablette */
@media (max-width: 991px) {
    .agm-page {
        padding-bottom: 64px;
    }
}


/* ═══════════════════════════════════════════════════════════
   SECONDARY CSS ADDITIONS
   Classes complémentaires pour la compatibilité page secondaire
   ═══════════════════════════════════════════════════════════ */

/* ── TYPOGRAPHY ─────────────────────────────────────── */
.t-hero  { font-size: clamp(1.9rem, 4.2vw, 2.85rem); font-weight: 800; line-height: 1.15; letter-spacing: -.03em; color: #fff; }
.t-h2    { font-size: clamp(1.45rem, 2.8vw, 1.95rem); font-weight: 800; line-height: 1.2;  letter-spacing: -.025em; color: var(--blue); }
.t-h3    { font-size: clamp(1rem, 1.8vw, 1.2rem); font-weight: 700; line-height: 1.3; color: var(--ink); }
.t-label { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); }
.t-lead  { font-size: clamp(.975rem, 1.4vw, 1.1rem); color: rgba(255,255,255,.88); line-height: 1.72; }
.t-body  { font-size: .9375rem; line-height: 1.78; color: var(--ink-60); }
.t-small { font-size: .8125rem; color: var(--ink-60); line-height: 1.6; }
.t-price { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; color: var(--blue); letter-spacing: -.04em; line-height: 1; }

/* ── LAYOUT ─────────────────────────────────────────── */
.section     { padding: clamp(2.8rem, 6.5vw, 5rem) 0; }
.section--bg { background: var(--bg); }

.f-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.f-grid--60-40 { grid-template-columns: 1fr; }
.f-grid--40-60 { grid-template-columns: 1fr; }
@media (min-width: 992px) {
  .f-grid--60-40 { grid-template-columns: 60fr 40fr; }
  .f-grid--40-60 { grid-template-columns: 40fr 60fr; }
}

/* ── HERO (Secondary variant) ───────────────────────── */
.hero {
  background: linear-gradient(150deg, var(--blue-dark) 0%, var(--blue) 60%, #2462ab 100%);
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.9);
  border-radius: 999px;
  padding: .3rem .9rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: 1.25rem;
}

/* Hero bullets */
.hero-list { list-style: none; padding: 0; margin: 0 0 1.75rem; }
.hero-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .55rem 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  font-size: clamp(.9rem, 1.3vw, 1rem);
  color: rgba(255,255,255,.92);
}
.hero-list li:last-child { border-bottom: none; }
.hero-list .ic {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: rgba(255,255,255,.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: .8rem;
  color: #ffd280;
  margin-top: .1rem;
}

/* Trust strip */
.trust-strip { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 1.5rem; }
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  color: rgba(255,255,255,.72);
  font-weight: 500;
}
.trust-item i { font-size: .7rem; color: rgba(255,255,255,.45); }

/* Hero image + badge */
.hero-img-wrap { position: relative; }
.hero-img-wrap img {
  border-radius: 20px;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.hero-price-badge {
  position: absolute;
  bottom: -1px;
  left: -1px;
  background: var(--surface);
  border-radius: 0 18px 0 20px;
  padding: 1rem 1.25rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.13);
}
.hero-price-badge .price-num {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}
.hero-price-badge .price-sub {
  font-size: .7rem;
  color: var(--ink-60);
  margin-top: .2rem;
}
@media (max-width: 767.98px) {
  .hero-price-badge { position: static; border-radius: 12px; margin-top: 1rem; }
}

/* ── BUTTONS (Secondary variants) ───────────────────── */
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    background: transparent;
    color: rgba(255, 255, 255, .85);
    font-weight: 600;
    font-size: .9rem;
    padding: .875rem 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .25);
    cursor: pointer;
    text-decoration: none;
    min-height: 48px;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-break: break-word;
    text-align: center;
    transition: background .18s, border-color .18s;
}
.btn-ghost:hover {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .4);
    color: #fff;
}

.btn-blue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    background: var(--blue);
    color: #fff;
    font-weight: 700;
    font-size: .9375rem;
    padding: .875rem 1.75rem;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    min-height: 48px;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-break: break-word;
    text-align: center;
    transition: background .18s, transform .18s, box-shadow .18s;
}
.btn-blue:hover {
    background: var(--blue-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(26, 77, 143, .25);
}

.btn-outline-blue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    background: transparent;
    color: var(--blue);
    font-weight: 600;
    font-size: .9rem;
    padding: .75rem 1.4rem;
    border-radius: 10px;
    border: 1.5px solid var(--blue);
    cursor: pointer;
    text-decoration: none;
    min-height: 48px;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-break: break-word;
    text-align: center;
    transition: background .18s;
}
.btn-outline-blue:hover {
    background: var(--blue-light);
    color: var(--blue);
}

/* Mobile : boutons pleine largeur sous 575px */
@media (max-width: 575px) {
    .btn-ghost,
    .btn-blue,
    .btn-outline-blue {
        width: 100%;
    }
}
/* ── STAT STRIP ─────────────────────────────────────── */
.stat-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--ink-20);
  border-radius: 16px; overflow: hidden;
}
.stat-cell { background: var(--surface); padding: 1.4rem 1rem; text-align: center; }
.stat-cell .num { font-size: 1.65rem; font-weight: 800; color: var(--blue); letter-spacing: -.03em; line-height: 1; }
.stat-cell .lbl { font-size: .75rem; color: var(--ink-60); margin-top: .3rem; }
@media (max-width: 767.98px) {
  .stat-row { grid-template-columns: 1fr 1fr; }
  .stat-row .stat-cell:last-child { grid-column: span 2; border-top: 1px solid var(--ink-20); }
}

/* ── SECTION LABEL ──────────────────────────────────── */
.section-label { display: flex; align-items: center; gap: .75rem; margin-bottom: .875rem; }
.section-label::after { content: ''; flex: 1; height: 1px; background: var(--ink-20); }

/* ── FEAT LIST ──────────────────────────────────────── */
.feat-list { list-style: none; padding: 0; margin: 0; }
.feat-list li {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: .9rem 0; border-bottom: 1px solid var(--ink-20);
}
.feat-list li:last-child { border-bottom: none; padding-bottom: 0; }
.feat-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--blue-light); color: var(--blue);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: .875rem;
}
.feat-icon--orange { background: var(--orange-dim); color: var(--orange); }

/* ── KPI GRID ───────────────────────────────────────── */
.kpi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 575.98px) { .kpi-grid { grid-template-columns: 1fr; } }

.kpi-card {
  background: var(--bg);
  border: 1px solid var(--ink-20);
  border-radius: 14px;
  padding: 1.1rem 1.15rem;
}
.kpi-card .kpi-label {
  display: flex; align-items: center; gap: .5rem;
  font-weight: 700; font-size: .9rem;
  color: var(--ink); margin-bottom: .4rem;
}
.kpi-card .kpi-label i { color: var(--orange); font-size: .85rem; }
.kpi-card p { font-size: .8375rem; color: var(--ink-60); margin: 0; line-height: 1.65; }

/* ── TABS (couverture) ──────────────────────────────── */
.tab-nav {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin-bottom: 1.25rem; list-style: none; padding: 0;
}
.tab-nav button {
  background: var(--bg); border: 1px solid var(--ink-20);
  border-radius: 8px; padding: .55rem 1rem;
  font-size: .875rem; font-weight: 600; color: var(--ink-60);
  cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.tab-nav button.active,
.tab-nav button:hover {
  background: var(--blue); color: #fff; border-color: var(--blue);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Coverage tables */
.cov-table { background: var(--surface); border: 1px solid var(--ink-20); border-radius: 14px; overflow: hidden; }
.cov-head {
  display: flex; align-items: center; gap: .6rem;
  padding: .85rem 1.1rem; font-weight: 700; font-size: .875rem;
  border-bottom: 1px solid var(--ink-20);
}
.cov-head--green { background: #f0faf4; color: #1a7a3a; }
.cov-head--red   { background: #fff1f0; color: #c0392b; }
.cov-head--amber { background: #fffbf0; color: #92620a; }
.cov-body { padding: 1rem 1.1rem; }
.cov-body ul { margin: 0; padding-left: 1.2rem; font-size: .875rem; color: var(--ink-60); line-height: 2.1; }

/* ── TAGS ───────────────────────────────────────────── */
.tag-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: .78rem; font-weight: 600;
  padding: .3rem .65rem; border-radius: 6px;
}
.tag--red   { background: #fff1f0; color: #c0392b; }
.tag--green { background: #f0faf4; color: #1a7a3a; }
.tag--amber { background: #fffbf0; color: #92620a; }

/* ── PRICE BLOCK ────────────────────────────────────── */
.price-block { border-left: 3px solid var(--orange); padding-left: 1.25rem; }

/* ── STEP TIMELINE ──────────────────────────────────── */
.timeline { position: relative; padding-left: 2.5rem; }
.timeline::before {
  content: ''; position: absolute;
  left: .9375rem; top: .5rem; bottom: .5rem;
  width: 1px; background: var(--ink-20);
}
.timeline-item { position: relative; padding-bottom: 1.6rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute; left: -2.5rem; top: .1rem;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--blue); color: #fff;
  font-size: .75rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center; z-index: 1;
}

/* ── LAW REF ────────────────────────────────────────── */
.law-ref {
  border-left: 2px solid var(--blue);
  padding: .625rem 1rem;
  background: var(--blue-light);
  border-radius: 0 10px 10px 0;
  font-size: .825rem; color: var(--blue-dark);
}

/* ── TRANSP BOX ─────────────────────────────────────── */
.transp-box {
  background: var(--bg); border: 1px solid var(--ink-20);
  border-radius: 14px; padding: 1.1rem 1.4rem;
  font-size: .875rem; color: var(--ink-60);
}
.transp-box strong { color: var(--ink); }

/* ── CTA BAND (Secondary) ───────────────────────────── */
.cta-band { background: var(--blue); padding: clamp(2.5rem, 6vw, 4rem) 0; }

/* ── CARD FLAT ──────────────────────────────────────── */
.card-flat { background: var(--surface); border: 1px solid var(--ink-20); border-radius: 16px; padding: 1.5rem; }
.card-flat--bg { background: var(--bg); border-color: transparent; }

/* ── FORM ───────────────────────────────────────────── */
.form-wrap { background: var(--surface); border: 1px solid var(--ink-20); border-radius: 20px; padding: clamp(1.5rem, 4vw, 2.25rem); }
.form-label-c { display: block; font-size: .8125rem; font-weight: 700; color: var(--ink); margin-bottom: .35rem; }
.form-ctrl, .form-sel {
  width: 100%; padding: .75rem 1rem;
  border: 1.5px solid var(--ink-20); border-radius: 10px;
  font-size: .9375rem; color: var(--ink); background: var(--surface);
  transition: border-color .15s, box-shadow .15s;
  appearance: none; -webkit-appearance: none;
}
.form-ctrl:focus, .form-sel:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,77,143,.1);
}
.form-sel {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%231a1f2e' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat; background-position: right .9rem center; background-size: 14px; padding-right: 2.5rem;
}
textarea.form-ctrl { resize: vertical; min-height: 108px; }
.form-hint-c { font-size: .775rem; color: var(--ink-60); margin-top: .25rem; }
.form-check-c { display: flex; gap: .6rem; align-items: flex-start; }
.form-check-c input[type="checkbox"] {
  width: 18px; height: 18px; border: 1.5px solid var(--ink-20);
  border-radius: 4px; cursor: pointer; flex-shrink: 0;
  margin-top: .15rem; accent-color: var(--blue);
}
.form-check-c label { font-size: .8125rem; color: var(--ink-60); cursor: pointer; }

/* ── FAQ (Secondary style) ──────────────────────────── */
.faq-item { border-bottom: 1px solid var(--ink-20); }
.faq-item:first-child { border-top: 1px solid var(--ink-20); }
.faq-btn {
  width: 100%; background: none; border: none;
  padding: 1.2rem 0;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  cursor: pointer; text-align: left;
  font-size: .9375rem; font-weight: 700; color: var(--ink);
  transition: color .15s;
}
.faq-btn:hover { color: var(--blue); }
.faq-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: .75rem; color: var(--blue);
  transition: transform .2s, background .2s;
}
.faq-btn[aria-expanded="true"] .faq-icon { transform: rotate(45deg); background: var(--blue); color: #fff; }
.faq-body { font-size: .9rem; color: var(--ink-60); padding-bottom: 1.2rem; line-height: 1.75; }

/* ── LINK CARDS ─────────────────────────────────────── */
.link-card {
  border: 1px solid var(--ink-20); border-radius: 14px;
  padding: 1.2rem; background: var(--surface);
  text-decoration: none; display: block;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.link-card:hover { border-color: var(--blue); box-shadow: 0 8px 24px rgba(26,77,143,.1); transform: translateY(-2px); }
.link-card .lc-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--blue-light); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: .875rem; margin-bottom: .7rem;
}
.link-card .lc-title { font-weight: 700; color: var(--ink); font-size: .9rem; margin-bottom: .25rem; }
.link-card .lc-desc  { font-size: .78rem; color: var(--ink-60); }
.link-card .lc-arrow { color: var(--blue); font-size: .78rem; margin-top: .6rem; font-weight: 600; }

/* ── BREADCRUMB ─────────────────────────────────────── */
.bc { display: flex; flex-wrap: wrap; gap: .3rem .5rem; list-style: none; padding: 0; margin: 0; font-size: .8rem; }
.bc li { display: flex; align-items: center; gap: .5rem; color: var(--ink-60); }
.bc li::after { content: '/'; opacity: .4; }
.bc li:last-child::after { display: none; }
.bc a { color: var(--ink-60); text-decoration: none; }
.bc a:hover { color: var(--blue); }
.bc li:last-child { color: var(--ink); font-weight: 600; }

.divider { height: 1px; background: var(--ink-20); margin: 0; }


/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */
@media (max-width: 991px) {
    .agm-sticky-cta {
        display: flex;
    }
    .agm-page {
        padding-bottom: 64px;
    }
}
@media (max-width: 767px) {
    .stat-bar-inner {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat-item {
        border-bottom: 1px solid rgba(255, 255, 255, .12);
    }
    .agm-hero h1 {
        font-size: 1.65rem;
    }
}

/* ══════════════════════════════════════
   WPAUTOP CLEANUP — filet CSS
   ══════════════════════════════════════ */

/* <p> vide natif */
.agm-page p:empty {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    line-height: 0 !important;
}

/* <p> ne contenant que des <a> vides
   :has() — Chrome 105+, Firefox 121+, Safari 15.4+ */
.agm-page p:has(> a:empty):not(:has(*:not(a))) {
    display: none !important;
}

/* <p> parasite dans un .link-card */
.agm-page .link-card > p:empty {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* FAQ / TABS — panels cachés */
.faq-body[hidden],
.tab-panel[hidden] {
    display: none !important;
}

/* Conteneurs de boutons — pas de débordement */
.agm-page .btn-wrap,
.agm-page p:has(> .btn-cta),
.agm-page p:has(> .btn-blue) {
    max-width: 100%;
    overflow: hidden;
}
