/*
 * Theme Name:   Kadence Child - ALICOG
 * Theme URI:    https://alicog.com
 * Description:  Thème enfant Kadence pour ALICOG — Mobile First
 * Author:       NovaSiteWeb - Khalil
 * Template:     kadence
 * Version:      2.0.0
 */

/* ============================================================
   VARIABLES
   ============================================================ */
:root {
  --ink:    #080C14; --deep:  #0F1520; --slate: #1A2540;
  --steel:  #4A5A7A; --muted: #6B7A9A;
  --blue:   #1B72BE; --gold:  #C8922A; --teal:  #2A8C6E;
  --cyan:   #00C2FF; --violet:#7B61FF;
  --sand:   #F5F2EC; --sand2: #EDE9E0; --white: #FFFFFF;
  --f-d: 'Montserrat', Georgia, serif;
  --f-t: 'Montserrat', sans-serif;
  --f-b: 'Montserrat', sans-serif;
  --header-h: 60px;
  --pad-x: 20px;
  --pad-y: 56px;
  --max-w: 1200px;
}

/* ============================================================
   RESET BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-b);
  background: var(--ink);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; }
a { color: inherit; }
button { cursor: pointer; }

/* ============================================================
   HEADER — MOBILE FIRST
   ============================================================ */

/* Masquer le header Kadence par défaut */
.site-header, .kadence-header, #masthead,
.header-wrap, .site-header-wrap,
.kadence-sticky-header { display: none !important; }

/* Notre header custom */
.alicog-header { display: block !important; }

.ah-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  width: 100%;
  height: var(--header-h);
  background: var(--ink);
  border-bottom: 1px solid var(--slate);
  display: flex;
  align-items: center;
  transition: background .3s, box-shadow .3s;
}
.ah-bar.ah-scrolled {
  background: rgba(8,12,20,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0,0,0,.35);
}
.ah-inner {
  width: 100%;
  padding: 0 var(--pad-x);
  display: flex;
  align-items: center;
  gap: 16px;
}
.ah-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.ah-logo img { height: 36px; width: auto; }
.ah-logo-txt { font-family: var(--f-t); font-size: 1.3rem; font-weight: 800; color: var(--white); letter-spacing: -.03em; }
.ah-logo-txt span { color: var(--blue); }

/* Nav desktop — cachée sur mobile */
.ah-nav { display: none; }
.ah-cta { display: none; }

/* Burger */
.ah-burger {
  display: flex; flex-direction: column; gap: 5px;
  width: 36px; height: 36px; cursor: pointer;
  align-items: center; justify-content: center;
  background: none; border: 1px solid var(--slate);
  border-radius: 3px; padding: 6px;
  transition: border-color .2s;
  margin-left: auto; flex-shrink: 0;
}
.ah-burger:hover { border-color: var(--blue); }
.ah-burger span { display: block; width: 18px; height: 1.5px; background: var(--white); border-radius: 2px; transition: all .25s; }
.ah-burger.ah-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.ah-burger.ah-open span:nth-child(2) { opacity: 0; }
.ah-burger.ah-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Menu mobile */
.ah-mobile {
  position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: var(--ink); z-index: 8999; overflow-y: auto;
  padding: 20px var(--pad-x) 40px;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.ah-mobile.ah-open { transform: translateX(0); }
.ah-mob-item { border-bottom: 1px solid var(--slate); }
.ah-mob-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 4px; text-decoration: none;
  font-family: var(--f-t); font-size: 1.05rem; font-weight: 700;
  color: var(--white); transition: color .2s;
}
.ah-mob-link:hover { color: var(--blue); }
.ah-mob-toggle {
  width: 32px; height: 32px; background: var(--deep);
  border: 1px solid var(--slate); border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .2s;
}
.ah-mob-toggle svg { width: 14px; height: 14px; stroke: var(--steel); stroke-width: 2; fill: none; transition: transform .25s; }
.ah-mob-item.ah-mob-open .ah-mob-toggle svg { transform: rotate(180deg); }
.ah-mob-sub { list-style: none; overflow: hidden; max-height: 0; transition: max-height .3s ease; }
.ah-mob-item.ah-mob-open .ah-mob-sub { max-height: 600px; }
.ah-mob-sub-item a {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 8px 12px 16px; text-decoration: none;
  font-family: var(--f-b); font-size: .88rem;
  color: var(--steel); transition: all .2s;
  border-left: 2px solid var(--slate);
}
.ah-mob-sub-item a:hover { color: var(--white); border-color: var(--blue); padding-left: 20px; }
.ah-mob-cta { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.ah-mob-cta a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px; border-radius: 3px; text-decoration: none;
  font-family: var(--f-t); font-size: .9rem; font-weight: 700; transition: all .2s;
}
.ah-mob-cta-p { background: var(--blue); color: var(--white); }
.ah-mob-cta-p:hover { background: var(--white); color: var(--ink); }
.ah-mob-cta-g { background: transparent; color: var(--white); border: 1px solid var(--slate); }
.ah-mob-cta-g:hover { border-color: rgba(255,255,255,.3); }
.ah-spacer { height: var(--header-h); display: block; }

/* ============================================================
   LAYOUT COMMUNS — MOBILE FIRST
   ============================================================ */
.page-section {
  padding: var(--pad-y) var(--pad-x);
}
.page-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

/* ============================================================
   TYPOGRAPHIE — MOBILE FIRST
   ============================================================ */
.t-hero {
  font-family: var(--f-d);
  font-size: clamp(2.4rem, 8vw, 5.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.025em;
}
.t-h2 {
  font-family: var(--f-d);
  font-size: clamp(1.7rem, 5vw, 2.8rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.015em;
}
.t-body {
  font-family: var(--f-b);
  font-size: .9rem;
  line-height: 1.78;
}

/* ============================================================
   COMPOSANTS COMMUNS
   ============================================================ */

/* Boutons */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue); color: var(--white); border: none;
  padding: 13px 22px; border-radius: 3px;
  font-family: var(--f-t); font-size: .88rem; font-weight: 700;
  cursor: pointer; text-decoration: none; transition: all .2s;
  white-space: nowrap;
}
.btn-primary:hover { background: var(--white); color: var(--ink); transform: translateY(-2px); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--white);
  border: 1px solid var(--slate); padding: 13px 18px; border-radius: 3px;
  font-family: var(--f-b); font-size: .88rem;
  cursor: pointer; text-decoration: none; transition: all .2s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,.3); }
.btn-group { display: flex; flex-wrap: wrap; gap: 10px; }

/* Section tag */
.sec-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-b); font-size: .68rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 12px;
}
.sec-tag::before { content: ''; display: block; width: 20px; height: 1px; background: currentColor; }
.sec-tag-blue { color: var(--blue); }
.sec-tag-gold { color: var(--gold); }

/* Cards grille */
.card-grid-2 { display: grid; grid-template-columns: 1fr; gap: 10px; }
.card-grid-3 { display: grid; grid-template-columns: 1fr; gap: 10px; }

/* Stats row */
.stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding-top: 28px;
  border-top: 1px solid var(--slate);
}
.stat-item { padding: 14px 16px 14px 0; border-right: 1px solid var(--slate); margin-right: 16px; }
.stat-item:last-child { border-right: none; margin-right: 0; }
.stat-val { font-family: var(--f-t); font-size: 1.6rem; font-weight: 800; color: var(--white); line-height: 1; letter-spacing: -.04em; }
.stat-val span { color: var(--blue); }
.stat-lbl { font-family: var(--f-b); font-size: .66rem; color: var(--muted); margin-top: 4px; line-height: 1.4; }

/* Steps liste */
.step-list { display: flex; flex-direction: column; gap: 8px; }
.step-item {
  background: var(--deep); border: 1px solid var(--slate);
  border-radius: 4px; padding: 20px;
  display: flex; flex-direction: column; gap: 12px;
  position: relative; overflow: hidden; transition: all .25s;
}
.step-item::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--blue);
  transform: scaleY(0); transform-origin: top; transition: transform .3s;
}
.step-item:hover { border-color: rgba(27,114,190,.3); transform: translateX(4px); }
.step-item:hover::before { transform: scaleY(1); }
.step-num { font-family: var(--f-d); font-size: 2rem; font-style: italic; color: var(--slate); line-height: 1; }
.step-title { font-family: var(--f-t); font-size: .92rem; font-weight: 800; color: var(--white); }
.step-desc { font-family: var(--f-b); font-size: .82rem; color: var(--steel); line-height: 1.65; }
.step-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.step-tag { font-family: var(--f-b); font-size: .63rem; font-weight: 600; padding: 3px 9px; border-radius: 2px; background: rgba(27,114,190,.08); color: var(--blue); }

/* ============================================================
   HERO SECTIONS — MOBILE FIRST
   ============================================================ */
.hero-dark {
  background: var(--ink);
  padding: var(--pad-y) var(--pad-x);
  border-bottom: 1px solid var(--slate);
  position: relative; overflow: hidden;
  min-height: 70vh;
  display: flex; align-items: center;
}
.hero-dark::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 80% at 75% 40%, rgba(27,114,190,.05) 0%, transparent 70%);
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}
.hero-title { color: var(--white); margin-bottom: 8px; }
.hero-title-em { font-family: var(--f-d); font-size: clamp(2.4rem,8vw,5.5rem); font-weight: 400; line-height: 1.02; letter-spacing: -.025em; color: var(--gold); font-style: italic; margin-bottom: 24px; }
.hero-sub { font-family: var(--f-b); font-size: .95rem; color: var(--steel); line-height: 1.78; font-weight: 300; margin-bottom: 32px; }
.hero-sub strong { color: var(--white); font-weight: 500; }

/* ============================================================
   SECTIONS SAND / DARK
   ============================================================ */
.section-sand { background: var(--sand); padding: var(--pad-y) var(--pad-x); border-bottom: 1px solid var(--sand2); }
.section-dark { background: var(--ink); padding: var(--pad-y) var(--pad-x); border-top: 1px solid var(--slate); border-bottom: 1px solid var(--slate); }
.section-inner { max-width: var(--max-w); margin: 0 auto; }
.section-header { margin-bottom: 36px; }

/* ============================================================
   GRILLE SERVICES 5 CARDS — MOBILE FIRST
   ============================================================ */
.srv5__grid { display: flex; flex-direction: column; gap: 10px; }
.srv5__card {
  background: var(--deep); border: 1px solid var(--slate);
  border-radius: 6px; padding: 22px;
  text-decoration: none; display: flex; flex-direction: column; gap: 12px;
  position: relative; overflow: hidden; transition: all .25s;
}
.srv5__card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.srv5__card:hover { transform: translateY(-3px); }
.srv5__card:hover::before { transform: scaleX(1); }
.srv5__card--1::before,.srv5__card--5::before { background: var(--cyan); }
.srv5__card--2::before { background: var(--gold); }
.srv5__card--3::before { background: var(--teal); }
.srv5__card--4::before { background: var(--violet); }
.srv5__card-top { display: flex; align-items: flex-start; justify-content: space-between; }
.srv5__num { font-family: var(--f-d); font-size: 2rem; font-style: italic; color: var(--slate); line-height: 1; }
.srv5__ico { width: 44px; height: 44px; border-radius: 9px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.srv5__ico svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.5; fill: none; }
.srv5__card--1 .srv5__ico,.srv5__card--5 .srv5__ico { background: rgba(0,194,255,.08); border: 1px solid rgba(0,194,255,.2); color: var(--cyan); }
.srv5__card--2 .srv5__ico { background: rgba(200,146,42,.08); border: 1px solid rgba(200,146,42,.2); color: var(--gold); }
.srv5__card--3 .srv5__ico { background: rgba(42,140,110,.08); border: 1px solid rgba(42,140,110,.2); color: var(--teal); }
.srv5__card--4 .srv5__ico { background: rgba(123,97,255,.08); border: 1px solid rgba(123,97,255,.2); color: var(--violet); }
.srv5__title { font-family: var(--f-d); font-size: 1.1rem; font-weight: 400; color: var(--white); line-height: 1.25; transition: color .2s; }
.srv5__card--1:hover .srv5__title,.srv5__card--5:hover .srv5__title { color: var(--cyan); }
.srv5__card--2:hover .srv5__title { color: var(--gold); }
.srv5__card--3:hover .srv5__title { color: var(--teal); }
.srv5__card--4:hover .srv5__title { color: var(--violet); }
.srv5__desc { font-family: var(--f-b); font-size: .8rem; color: var(--steel); line-height: 1.65; flex: 1; }
.srv5__tags { display: flex; flex-wrap: wrap; gap: 5px; }
.srv5__tags span { font-family: var(--f-b); font-size: .62rem; font-weight: 600; padding: 3px 9px; border-radius: 2px; letter-spacing: .04em; }
.srv5__card--1 .srv5__tags span,.srv5__card--5 .srv5__tags span { background: rgba(0,194,255,.08); color: var(--cyan); }
.srv5__card--2 .srv5__tags span { background: rgba(200,146,42,.08); color: var(--gold); }
.srv5__card--3 .srv5__tags span { background: rgba(42,140,110,.08); color: var(--teal); }
.srv5__card--4 .srv5__tags span { background: rgba(123,97,255,.08); color: var(--violet); }
.srv5__link { display: flex; align-items: center; gap: 6px; font-family: var(--f-b); font-size: .75rem; font-weight: 600; color: var(--muted); transition: all .2s; }
.srv5__link svg { width: 13px; height: 13px; stroke: currentColor; stroke-width: 2; fill: none; transition: transform .2s; }
.srv5__card:hover .srv5__link { color: var(--white); }
.srv5__card:hover .srv5__link svg { transform: translateX(3px); }
.srv5__wide-body { display: flex; flex-direction: column; gap: 16px; }
.srv5__kpis { display: flex; gap: 16px; flex-wrap: wrap; }
.srv5__kpi-item { text-align: center; }
.srv5__kpi-val { font-family: var(--f-t); font-size: 1.1rem; font-weight: 800; color: var(--cyan); line-height: 1; margin-bottom: 3px; }
.srv5__kpi-lbl { font-family: var(--f-b); font-size: .62rem; color: var(--muted); white-space: nowrap; }

/* ============================================================
   FOOTER — MOBILE FIRST
   ============================================================ */
.af-cta {
  background: var(--blue);
  padding: 40px var(--pad-x);
}
.af-cta-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; flex-direction: column; gap: 20px;
}
.af-cta-text { font-family: var(--f-t); font-size: 1.3rem; font-weight: 700; color: var(--white); line-height: 1.3; }
.af-cta-text em { font-style: italic; opacity: .85; }
.af-cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); color: var(--blue);
  padding: 13px 22px; border-radius: 3px;
  font-family: var(--f-t); font-size: .88rem; font-weight: 700;
  text-decoration: none; transition: all .2s; align-self: flex-start;
}
.af-cta-btn:hover { background: var(--ink); color: var(--white); }
.af-body { background: var(--deep); padding: 48px var(--pad-x) 32px; border-top: 1px solid var(--slate); }
.af-body-inner { max-width: var(--max-w); margin: 0 auto; display: flex; flex-direction: column; gap: 36px; }
.af-logo { display: block; margin-bottom: 16px; max-width: 180px; }
.af-tagline { font-family: var(--f-b); font-size: .78rem; color: var(--steel); line-height: 1.7; margin-bottom: 20px; }
.af-contacts { display: flex; flex-direction: column; gap: 10px; }
.af-contact { display: flex; align-items: center; gap: 10px; font-family: var(--f-b); font-size: .8rem; }
.af-contact-ico { width: 30px; height: 30px; border-radius: 6px; background: rgba(27,114,190,.08); border: 1px solid rgba(27,114,190,.15); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--blue); }
.af-contact-ico svg { width: 13px; height: 13px; stroke: currentColor; stroke-width: 1.5; fill: none; }
.af-contact a { color: var(--steel); text-decoration: none; } .af-contact a:hover { color: var(--white); }
.af-contact span { color: var(--steel); }
.af-social { display: flex; gap: 8px; margin-top: 20px; }
.af-social-btn { width: 36px; height: 36px; border-radius: 6px; background: rgba(255,255,255,.04); border: 1px solid var(--slate); display: flex; align-items: center; justify-content: center; text-decoration: none; transition: all .2s; color: var(--steel); }
.af-social-btn:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }
.af-social-btn svg { width: 15px; height: 15px; stroke: currentColor; stroke-width: 1.5; fill: none; }
.af-nav-title { font-family: var(--f-t); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--white); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--slate); }
.af-nav-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.af-nav-list a { font-family: var(--f-b); font-size: .82rem; color: var(--steel); text-decoration: none; transition: color .2s; }
.af-nav-list a:hover { color: var(--white); }
.af-bottom { background: var(--ink); border-top: 1px solid var(--slate); padding: 16px var(--pad-x); }
.af-bottom-inner { max-width: var(--max-w); margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.af-copy { font-family: var(--f-b); font-size: .72rem; color: var(--muted); }
.af-legal { display: flex; flex-wrap: wrap; gap: 12px; }
.af-legal a { font-family: var(--f-b); font-size: .72rem; color: var(--muted); text-decoration: none; }
.af-legal a:hover { color: var(--white); }
.af-made { font-family: var(--f-b); font-size: .68rem; color: var(--slate); }
.af-made a { color: inherit; text-decoration: none; }
@keyframes af-pulse { 0%,100%{opacity:1;transform:scale(1)}50%{opacity:.5;transform:scale(.75)} }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.r-fade { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.r-fade.r-in { opacity: 1; transform: none; }
.r-d1 { transition-delay: .1s; } .r-d2 { transition-delay: .2s; } .r-d3 { transition-delay: .3s; }

/* ============================================================
   ≥ 640px — TABLETTE PORTRAIT
   ============================================================ */
@media (min-width: 640px) {
  :root { --pad-x: 32px; --pad-y: 72px; --header-h: 64px; }
  .card-grid-2 { grid-template-columns: 1fr 1fr; }
  .card-grid-3 { grid-template-columns: 1fr 1fr; }
  .srv5__grid { grid-template-columns: 1fr 1fr; }
  .srv5__card--wide { grid-column: 1 / -1; }
  .srv5__wide-body { flex-direction: row; align-items: center; }
  .af-cta-inner { flex-direction: row; justify-content: space-between; align-items: center; }
  .af-body-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
  .af-bottom-inner { flex-direction: row; justify-content: space-between; align-items: center; }
  .stats-row { grid-template-columns: repeat(4, 1fr); }
  .step-item { flex-direction: row; align-items: flex-start; padding: 24px 28px; }
  .step-item .step-num { min-width: 48px; }
}

/* ============================================================
   ≥ 900px — TABLETTE PAYSAGE / PETIT DESKTOP
   ============================================================ */
@media (min-width: 900px) {
  :root { --pad-x: 48px; --pad-y: 80px; }
  /* Header — montrer nav desktop, cacher burger */
  .ah-burger { display: none; }
  .ah-mobile { display: none; }
  .ah-nav {
    display: flex; align-items: center; gap: 4px;
    list-style: none; margin-left: auto;
  }
  .ah-nav > li { position: relative; }
  .ah-nav > li > a {
    display: flex; align-items: center; gap: 5px;
    font-family: var(--f-b); font-size: .83rem; font-weight: 500;
    color: var(--steel); text-decoration: none;
    padding: 8px 12px; border-radius: 3px; transition: color .2s;
  }
  .ah-nav > li > a:hover { color: var(--white); }
  .ah-nav > li.current-menu-item > a { color: var(--blue); }
  .ah-chevron { width: 12px; height: 12px; stroke: currentColor; stroke-width: 2; fill: none; transition: transform .25s; }
  .ah-nav > li.ah-open > a .ah-chevron { transform: rotate(180deg); }
  /* Mega menu */
  .ah-mega {
    position: absolute; top: calc(100% + 8px); left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: var(--deep); border: 1px solid var(--slate);
    border-radius: 6px; padding: 20px;
    box-shadow: 0 24px 60px rgba(0,0,0,.5);
    min-width: 500px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
    opacity: 0; pointer-events: none;
    transition: opacity .2s, transform .2s;
  }
  .ah-nav > li.ah-open .ah-mega { opacity: 1; pointer-events: all; transform: translateX(-50%) translateY(0); }
  .ah-mega::before { content: ''; position: absolute; top: -6px; left: 50%; transform: translateX(-50%); width: 12px; height: 6px; clip-path: polygon(50% 0%,0% 100%,100% 100%); background: var(--slate); }
  .ah-mega-item { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: 4px; text-decoration: none; transition: background .2s; border: 1px solid transparent; }
  .ah-mega-item:hover { background: rgba(27,114,190,.06); border-color: rgba(27,114,190,.15); }
  .ah-mega-ico { width: 34px; height: 34px; border-radius: 7px; background: rgba(27,114,190,.08); border: 1px solid rgba(27,114,190,.15); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .ah-mega-ico svg { width: 15px; height: 15px; stroke: var(--blue); stroke-width: 1.5; fill: none; }
  .ah-mega-name { font-family: var(--f-t); font-size: .8rem; font-weight: 700; color: var(--white); margin-bottom: 2px; transition: color .2s; }
  .ah-mega-item:hover .ah-mega-name { color: var(--blue); }
  .ah-mega-desc { font-family: var(--f-b); font-size: .7rem; color: var(--muted); line-height: 1.4; }
  .ah-mega-footer { grid-column: 1/-1; padding-top: 12px; margin-top: 6px; border-top: 1px solid var(--slate); display: flex; justify-content: space-between; align-items: center; }
  .ah-mega-footer-txt { font-family: var(--f-b); font-size: .72rem; color: var(--muted); }
  .ah-mega-footer-lnk { font-family: var(--f-b); font-size: .72rem; font-weight: 600; color: var(--blue); text-decoration: none; display: flex; align-items: center; gap: 5px; transition: gap .2s; }
  .ah-mega-footer-lnk:hover { gap: 8px; }
  .ah-mega-footer-lnk svg { width: 11px; height: 11px; stroke: var(--blue); stroke-width: 2; fill: none; }
  .ah-cta {
    display: inline-flex; align-items: center; gap: 7px;
    background: var(--blue); color: var(--white); border: none;
    padding: 9px 18px; border-radius: 3px;
    font-family: var(--f-t); font-size: .82rem; font-weight: 700;
    cursor: pointer; text-decoration: none; transition: all .2s; flex-shrink: 0;
  }
  .ah-cta:hover { background: var(--white); color: var(--ink); }
  /* Content grids */
  .card-grid-3 { grid-template-columns: 1fr 1fr 1fr; }
  .af-body-inner { grid-template-columns: 1.8fr 1fr 1fr; gap: 48px; }
}

/* ============================================================
   ≥ 1200px — DESKTOP LARGE
   ============================================================ */
@media (min-width: 1200px) {
  :root { --pad-x: 72px; --pad-y: 88px; --header-h: 72px; }
  .ah-inner { padding: 0 var(--pad-x); }
  .ah-logo img { height: 42px; }
  .af-body-inner { grid-template-columns: 1.8fr 1fr 1fr 1fr; }
  .srv5__grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   UTILITAIRES RESPONSIVE
   ============================================================ */
.hide-mobile { display: none !important; }
.hide-desktop { display: block !important; }

@media (min-width: 900px) {
  .hide-mobile { display: initial !important; }
  .hide-desktop { display: none !important; }
}

/* Touch targets minimum 44px */
@media (max-width: 899px) {
  a, button { min-height: 44px; }
  .ah-mob-link { min-height: 48px; }
}

/* Désactiver les transforms hover sur touch */
@media (hover: none) {
  .step-item:hover { transform: none; }
  .srv5__card:hover { transform: none; }
  .btn-primary:hover { transform: none; }
}
