/* ???????????????????????????????????????????????????????
   AXENA ? Premium Theme CSS 2026 ? Light Mode
   Charte graphique Axena
   Rule 60-30-10:
     60% ? Blanc pur ? fonds de sections
     30% ? Vert fonc? #586C38 ? texte & structure
     10% ? Bleu #4F80FF / Jaune #FBE042 ? CTA & accents
   Palette: #BDBF2D  #4F80FF  #FBE042  #586C38  #FFFFFF
   ??????????????????????????????????????????????????????? */

:root {
    /* ?? 60% Dominant ?? */
    --color-bg:            #FFFFFF;
    --color-bg-alt:        #F5F6EC;
    --color-bg-white:      #FFFFFF;
    --color-text:          #586C38;
    --color-text-muted:    #6E7F52;
    --color-text-light:    #97A67F;

    /* ?? 30% Secondary ? Natural greens ?? */
    --color-secondary:     #E3E7D5;
    --color-stone:         #9AAB7E;
    --color-warm-gray:     #C5CDB0;
    --color-dark:          #586C38;

    /* ?? 10% Accent ? Blue ?? */
    --color-accent:        #4F80FF;
    --color-accent-light:  #6A96FF;
    --color-accent-glow:   rgba(79, 128, 255, 0.15);
    --color-accent-soft:   rgba(79, 128, 255, 0.08);

    /* ?? Brand extras ?? */
    --color-green-light:   #BDBF2D;
    --color-green-dark:    #586C38;
    --color-yellow:        #FBE042;

    /* Texte lisible pos? sur le vert clair #BDBF2D (ratio ? 6:1) */
    --color-on-light-green: #2E3B1B;

    /* ?? Fonds sections (modifiables via Customizer) ?? */
    --ax-bg-body:     #FFFFFF;
    --ax-bg-hero:     #FFFFFF;
    --ax-bg-pains:    #FFFFFF;
    --ax-bg-clients:  #BDBF2D;
    --ax-bg-services: #FFFFFF;
    --ax-bg-method:   #FFFFFF;
    --ax-bg-marquee:  #FFFFFF;
    --ax-bg-cta:      #4F80FF;
    --ax-bg-footer:   #BDBF2D;

    /* Amplitude unique pour toutes les vagues (header + ponts) */
    --ax-wave-h: clamp(40px, 5vw, 56px);

    /* ?? Typography ?? */
    --font-display:  'Poppins', -apple-system, sans-serif;
    --font-body:     'Poppins', -apple-system, sans-serif;

    /* ?? Spacing ?? */
    --space-xs:   0.5rem;
    --space-sm:   1rem;
    --space-md:   1.5rem;
    --space-lg:   2rem;
    --space-xl:   2.75rem;
    --space-2xl:  3.5rem;

    /* ?? Depth ?? */
    --shadow-sm:    0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md:    0 4px 16px rgba(0,0,0,0.06);
    --shadow-lg:    0 12px 40px rgba(0,0,0,0.08);
    --shadow-glow:  0 0 30px var(--color-accent-glow);

    /* ?? Borders ?? */
    --border-color: rgba(0,0,0,0.06);
    --radius-sm:  8px;
    --radius-md:  16px;
    --radius-lg:  24px;
    --radius-xl:  40px;

    /* ?? Transitions ?? */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration-fast: 0.3s;
    --duration-med:  0.6s;
    --duration-slow: 1s;
}


/* ???????????????????????????????????????????????????????
   RESET & BASE
   ??????????????????????????????????????????????????????? */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--color-text);
    background: var(--ax-bg-body);
    line-height: 1.7;
    overflow-x: hidden;
}

.ax-no-preloader .ax-preloader {
    display: none !important;
}

.ax-no-cursor .ax-cursor,
.ax-no-cursor .ax-cursor-dot {
    display: none !important;
}

.ax-no-progress .ax-progress {
    display: none !important;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}


/* ???????????????????????????????????????????????????????
   TYPOGRAPHY ? Fixed System
   ??????????????????????????????????????????????????????? */

.t-display {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: var(--color-text);
}

.t-display--xl {
    font-size: clamp(2.6rem, 5.5vw, 4.8rem);
}

.t-display--lg {
    font-size: clamp(1.8rem, 3.5vw, 3rem);
}

.t-display--md {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
}

.t-body {
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.8;
}

.t-body--lg {
    font-size: clamp(1.05rem, 1.3vw, 1.25rem);
}

.t-body--md {
    font-size: clamp(0.92rem, 1.05vw, 1.05rem);
}

.t-overtitle {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-green-dark);
}

.t-italic {
    font-style: italic;
}


/* ???????????????????????????????????????????????????????
   LAYOUT
   ??????????????????????????????????????????????????????? */

.ax-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 4rem);
}

.ax-container--narrow {
    max-width: 900px;
}

.ax-section {
    position: relative;
    padding: var(--space-2xl) 0;
    overflow: hidden;
}


/* Grain overlay d?sactiv? ? produisait des filets color?s visibles sur mobile */
body::after {
    display: none !important;
    content: none;
}


/* ???????????????????????????????????????????????????????
   SCROLL-REVEAL ANIMATIONS
   ??????????????????????????????????????????????????????? */

.ax-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition:
        opacity var(--duration-slow) var(--ease-out-expo),
        transform var(--duration-slow) var(--ease-out-expo);
}

.ax-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.ax-reveal--left {
    transform: translateX(-60px);
}

.ax-reveal--left.is-visible {
    transform: translateX(0);
}

.ax-reveal--right {
    transform: translateX(60px);
}

.ax-reveal--right.is-visible {
    transform: translateX(0);
}

.ax-reveal--scale {
    transform: scale(0.9);
}

.ax-reveal--scale.is-visible {
    transform: scale(1);
}

.ax-stagger > * {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity var(--duration-med) var(--ease-out-expo),
        transform var(--duration-med) var(--ease-out-expo);
}

.ax-stagger.is-visible > *:nth-child(1) { transition-delay: 0.08s; }
.ax-stagger.is-visible > *:nth-child(2) { transition-delay: 0.16s; }
.ax-stagger.is-visible > *:nth-child(3) { transition-delay: 0.24s; }
.ax-stagger.is-visible > *:nth-child(4) { transition-delay: 0.32s; }
.ax-stagger.is-visible > *:nth-child(5) { transition-delay: 0.40s; }
.ax-stagger.is-visible > *:nth-child(6) { transition-delay: 0.48s; }
.ax-stagger.is-visible > *:nth-child(7) { transition-delay: 0.56s; }
.ax-stagger.is-visible > *:nth-child(8) { transition-delay: 0.64s; }

.ax-stagger.is-visible > * {
    opacity: 1;
    transform: translateY(0);
}


/* ???????????????????????????????????????????????????????
   HEADER / NAVIGATION
   ??????????????????????????????????????????????????????? */

.ax-header {
    --ax-nav: #BDBF2D;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
}

.ax-header__bar {
    padding: 0.85rem 0;
    transition: padding 0.28s ease;
    background: var(--ax-nav);
    border-bottom: 1px solid rgba(88, 108, 56, 0.12);
    box-shadow: none;
}

.ax-header.is-scrolled .ax-header__bar {
    padding: 0.58rem 0;
}

.ax-header__wave {
    display: block;
    width: 100%;
    line-height: 0;
    margin: -1px 0 0;
    padding: 0;
    pointer-events: none;
    opacity: 1;
    background: transparent;
    filter: none;
}

.ax-header__wave-svg {
    display: block;
    width: 100%;
    height: var(--ax-wave-h);
    margin: 0;
}

.ax-header__wave-svg path {
    fill: var(--ax-nav);
    shape-rendering: geometricPrecision;
}

.ax-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ax-header__logo {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--color-text);
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    height: 40px;
    flex-shrink: 0;
    overflow: hidden;
}

.ax-header__logo span {
    color: var(--color-accent);
}

.ax-header__logo .ax-header__logo-img {
    display: block;
    height: 30px !important;
    max-height: 30px !important;
    width: auto !important;
    max-width: 190px !important;
    object-fit: contain;
    transition: height var(--duration-fast) ease;
}

.ax-header.is-scrolled .ax-header__logo {
    height: 30px;
}

.ax-header.is-scrolled .ax-header__logo .ax-header__logo-img {
    height: 26px !important;
    max-height: 26px !important;
}

/* Accueil : navbar vert clair, accents vert foncé */
.ax-front-page .ax-header__logo {
    opacity: 1;
    pointer-events: auto;
}

.ax-front-page .ax-header__logo-img--light {
    display: none !important;
}

.ax-front-page .ax-header__logo-img--dark {
    display: block !important;
}

.ax-front-page .ax-header__toggle-bar {
    background: var(--color-on-light-green);
}

.ax-front-page .ax-header__nav a {
    color: var(--color-on-light-green);
}

.ax-front-page .ax-header__nav a:hover {
    color: #fff;
}

.ax-front-page .ax-header__nav a::after {
    background: var(--color-on-light-green);
}

.ax-front-page .ax-header__nav .ax-btn--primary {
    background: #fff;
    color: var(--color-on-light-green);
    border-color: #fff;
    box-shadow: none;
}

.ax-front-page .ax-header__nav .ax-btn--primary:hover {
    background: var(--color-on-light-green);
    color: #fff;
    border-color: var(--color-on-light-green);
}
.ax-header__nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.ax-header__nav a {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-on-light-green);
    transition: color 0.2s ease;
    position: relative;
    padding: 0.3rem 0;
}

.ax-header__nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-on-light-green);
    transition: width 0.25s var(--ease-out-expo);
}

.ax-header__nav a:hover {
    color: var(--color-green-dark);
}

.ax-header__nav a:hover::after {
    width: 100%;
}

/* Mobile menu toggle */
.ax-header__toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    position: relative;
    z-index: 10010;
    margin-right: -12px;
    margin-left: auto;
}

.ax-header__toggle-bar {
    display: block;
    position: absolute;
    width: 24px;
    height: 1.5px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all 0.4s var(--ease-out-expo);
}

.ax-header__toggle-bar:nth-child(1) {
    transform: translateY(-4px);
}

.ax-header__toggle-bar:nth-child(2) {
    transform: translateY(4px);
    width: 16px;
    margin-left: 4px;
}

.ax-header__toggle.is-active .ax-header__toggle-bar {
    background: var(--color-text);
}

.ax-header__toggle.is-active .ax-header__toggle-bar:nth-child(1) {
    transform: rotate(45deg);
    width: 22px;
}

.ax-header__toggle.is-active .ax-header__toggle-bar:nth-child(2) {
    transform: rotate(-45deg);
    width: 22px;
    margin-left: 0;
}


/* ???????????????????????????????????????????????????????
   MOBILE FULLSCREEN NAV ? Light Theme
   ??????????????????????????????????????????????????????? */

.ax-mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 10000;
    pointer-events: none;
    visibility: hidden;
}

.ax-mobile-nav.is-open {
    pointer-events: auto;
    visibility: visible;
}

.ax-mobile-nav__bg {
    position: absolute;
    inset: 0;
    background: var(--color-bg);
    transform: scaleY(0);
    transform-origin: top right;
    transition: transform 0.6s var(--ease-out-expo);
}

.ax-mobile-nav.is-open .ax-mobile-nav__bg {
    transform: scaleY(1);
}

.ax-mobile-nav__content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 5rem clamp(2rem, 8vw, 4rem) 3rem;
    opacity: 0;
    transition: opacity 0.3s ease 0s;
}

.ax-mobile-nav.is-open .ax-mobile-nav__content {
    opacity: 1;
    transition-delay: 0.3s;
}

/* Top bar: logo + close */
.ax-mobile-nav__top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem clamp(1.5rem, 4vw, 4rem);
}

.ax-mobile-nav__logo-img {
    height: 26px !important;
    width: auto !important;
    max-width: 170px;
    object-fit: contain;
}

.ax-mobile-nav__logo-text {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--color-text);
}

.ax-mobile-nav__logo-text span {
    color: var(--color-accent);
}

/* Close button */
.ax-mobile-nav__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    background: var(--color-bg-white);
    cursor: pointer;
    transition: all var(--duration-fast) ease;
    flex-shrink: 0;
}

.ax-mobile-nav__close svg {
    width: 18px;
    height: 18px;
    stroke: var(--color-text);
    transition: stroke var(--duration-fast) ease;
}

.ax-mobile-nav__close:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.ax-mobile-nav__close:hover svg {
    stroke: #fff;
}

/* Nav links */
.ax-mobile-nav__links {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
}

.ax-mobile-nav__links li {
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.ax-mobile-nav__links li:first-child {
    border-top: 1px solid var(--border-color);
}

.ax-mobile-nav__links a {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 7vw, 2.6rem);
    font-weight: 400;
    color: var(--color-text);
    text-decoration: none;
    padding: 0.8rem 0;
    transform: translateY(110%);
    transition: transform 0.5s var(--ease-out-expo), color 0.2s ease;
    line-height: 1.2;
}

.ax-mobile-nav.is-open .ax-mobile-nav__links a {
    transform: translateY(0);
}

.ax-mobile-nav.is-open .ax-mobile-nav__links li:nth-child(1) a { transition-delay: 0.35s; }
.ax-mobile-nav.is-open .ax-mobile-nav__links li:nth-child(2) a { transition-delay: 0.40s; }
.ax-mobile-nav.is-open .ax-mobile-nav__links li:nth-child(3) a { transition-delay: 0.45s; }
.ax-mobile-nav.is-open .ax-mobile-nav__links li:nth-child(4) a { transition-delay: 0.50s; }

.ax-mobile-nav__links a:hover,
.ax-mobile-nav__links a:active {
    color: var(--color-accent);
}

.ax-mobile-nav__num {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: var(--color-green-light);
    min-width: 1.6rem;
}

/* CTA button in mobile nav */
.ax-mobile-nav__cta {
    margin-top: 0.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s var(--ease-out-expo);
}

.ax-mobile-nav.is-open .ax-mobile-nav__cta {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

/* Footer info */
.ax-mobile-nav__footer {
    position: absolute;
    bottom: 2.5rem;
    left: clamp(2rem, 8vw, 4rem);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.ax-mobile-nav.is-open .ax-mobile-nav__footer {
    opacity: 1;
    transition-delay: 0.7s;
}

.ax-mobile-nav__footer a {
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: var(--color-text-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

.ax-mobile-nav__footer a:hover {
    color: var(--color-accent);
}


/* ============================================================
   HERO ? Full-bleed brand-first (charte Axena)
   ============================================================ */

.ax-hero {
    --ax-hero-blue: #4F80FF;
    --ax-hero-blue-deep: #3a6aef;
    position: relative;
    min-height: min(100svh, 920px);
    display: flex;
    align-items: stretch;
    overflow: hidden;
    background: var(--ax-bg-hero, #FFFFFF);
    color: var(--color-text);
    padding: 0;
}

.ax-hero--light {
    color: var(--color-text);
}

.ax-hero--light .ax-hero__veil {
    background:
        linear-gradient(
            105deg,
            rgba(255, 255, 255, 0.94) 0%,
            rgba(255, 255, 255, 0.88) 35%,
            rgba(227, 231, 213, 0.55) 62%,
            rgba(189, 191, 45, 0.08) 100%
        );
}

.ax-hero--light.ax-hero--photo .ax-hero__veil {
    background:
        linear-gradient(
            105deg,
            rgba(255, 255, 255, 0.96) 0%,
            rgba(255, 255, 255, 0.82) 40%,
            rgba(227, 231, 213, 0.45) 70%,
            rgba(189, 191, 45, 0.06) 100%
        );
}

.ax-hero--light .ax-hero__kicker {
    color: var(--color-text-muted);
}

.ax-hero--light .ax-hero__title {
    color: var(--color-green-dark);
}

.ax-hero--light .ax-hero__title em {
    color: var(--color-green-light);
}

.ax-hero--light .ax-hero__lead {
    color: var(--color-text);
}

.ax-hero--light .ax-btn--primary {
    background: var(--color-green-dark);
    color: #fff;
    border-color: var(--color-green-dark);
}

.ax-hero--light .ax-btn--primary:hover {
    background: var(--color-green-light);
    color: var(--color-on-light-green);
    border-color: var(--color-green-light);
}

.ax-hero--light .ax-hero__link {
    color: var(--color-green-dark);
    text-decoration-color: rgba(88, 108, 56, 0.35);
}

.ax-hero--light .ax-hero__link:hover {
    color: var(--color-green-light);
    text-decoration-color: var(--color-green-light);
}

.ax-hero--light .ax-hero__scroll {
    color: var(--color-text-muted);
}

.ax-hero--light .ax-hero__scroll-line {
    background: var(--color-green-light);
}

.ax-hero.ax-section {
    padding: 0;
}

.ax-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.ax-hero__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 68% center;
}

.ax-hero__fallback {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.ax-hero__fallback-plane {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 55% at 78% 35%, rgba(189, 191, 45, 0.18), transparent 58%),
        radial-gradient(ellipse 55% 45% at 18% 78%, rgba(255, 255, 255, 0.65), transparent 55%),
        linear-gradient(145deg, #FFFFFF 0%, #E3E7D5 48%, #BDBF2D 100%);
}

.ax-hero__fallback-loop {
    position: absolute;
    right: -12%;
    bottom: -18%;
    width: min(58vw, 640px);
    height: auto;
    opacity: 0.22;
    transform: rotate(-14deg);
    pointer-events: none;
    animation: heroVisualFloat 10s ease-in-out infinite;
}

.ax-hero__fallback-bidule {
    position: absolute;
    right: 12%;
    top: 22%;
    width: clamp(42px, 5vw, 72px);
    height: auto;
    opacity: 0.9;
    animation: heroVisualFloat 6s ease-in-out 0.6s infinite reverse;
}

.ax-hero__veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(
            105deg,
            rgba(255, 255, 255, 0.94) 0%,
            rgba(255, 255, 255, 0.88) 35%,
            rgba(227, 231, 213, 0.55) 62%,
            rgba(189, 191, 45, 0.08) 100%
        );
}

.ax-hero--fallback .ax-hero__veil {
    background:
        linear-gradient(
            105deg,
            rgba(255, 255, 255, 0.92) 0%,
            rgba(227, 231, 213, 0.65) 50%,
            rgba(189, 191, 45, 0.12) 100%
        );
}

.ax-hero__stage {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: inherit;
    padding-top: calc(4.25rem + var(--ax-wave-h));
    padding-bottom: clamp(3.5rem, 8vh, 5.5rem);
}

.ax-hero__copy {
    max-width: 34rem;
}

.ax-hero__brand {
    margin: 0 0 0.85rem;
    opacity: 0;
    transform: translateY(24px);
    animation: heroFadeUp 0.9s var(--ease-out-expo) 0.1s forwards;
}

.ax-hero__brand-logo {
    display: block;
    width: clamp(136px, 15vw, 196px);
    height: auto;
}

.ax-hero__ronds {
    display: block;
    width: clamp(80px, 10vw, 132px);
    height: auto;
    margin: 0 0 0.7rem;
    opacity: 0;
    transform: translateY(24px);
    animation: heroFadeUp 0.9s var(--ease-out-expo) 0.22s forwards;
}

.ax-no-ronds .ax-hero__ronds {
    display: none;
}

.ax-hero__kicker {
    margin: 0 0 0.7rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    opacity: 0;
    transform: translateY(24px);
    animation: heroFadeUp 0.9s var(--ease-out-expo) 0.34s forwards;
}

.ax-hero__title {
    margin: 0 0 0.85rem;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(1.85rem, 3.8vw, 3.1rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--color-green-dark);
    opacity: 0;
    transform: translateY(28px);
    animation: heroFadeUp 1s var(--ease-out-expo) 0.46s forwards;
}

.ax-hero__title em {
    color: var(--color-green-light);
    font-style: normal;
}

.ax-hero__lead {
    margin: 0 0 1.35rem;
    max-width: 30rem;
    font-family: var(--font-body);
    font-weight: 300;
    font-size: clamp(0.98rem, 1.2vw, 1.08rem);
    line-height: 1.6;
    color: var(--color-text);
    opacity: 0;
    transform: translateY(28px);
    animation: heroFadeUp 1s var(--ease-out-expo) 0.58s forwards;
}

.ax-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem 1.35rem;
    opacity: 0;
    transform: translateY(28px);
    animation: heroFadeUp 1s var(--ease-out-expo) 0.7s forwards;
}

.ax-hero .ax-btn--primary {
    background: var(--color-green-dark);
    color: #fff;
    border-color: var(--color-green-dark);
    box-shadow: none;
}

.ax-hero .ax-btn--primary:hover {
    background: var(--color-green-light);
    color: var(--color-on-light-green);
    border-color: var(--color-green-light);
}

.ax-hero__link {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-green-dark);
    text-decoration: underline;
    text-underline-offset: 0.35em;
    text-decoration-thickness: 1px;
    text-decoration-color: rgba(88, 108, 56, 0.35);
    transition: color var(--duration-fast) ease, text-decoration-color var(--duration-fast) ease;
}

.ax-hero__link:hover {
    color: var(--color-green-light);
    text-decoration-color: var(--color-green-light);
}

.ax-hero__scroll {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    opacity: 0;
    animation: heroFadeUp 1s var(--ease-out-expo) 1.05s forwards;
}

.ax-hero__scroll span:first-child {
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.ax-hero__scroll-line {
    display: block;
    width: 1px;
    height: 34px;
    background: linear-gradient(to bottom, var(--color-yellow), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes heroFadeUp {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes heroSlideIn {
    to { opacity: 1; transform: translateX(0); }
}

@keyframes heroVisualFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50%      { opacity: 1;   transform: scaleY(1); }
}


/* ???????????????????????????????????????????????????????
   BUTTONS
   ??????????????????????????????????????????????????????? */

.ax-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.82rem 1.55rem;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.2;
    border: 1.5px solid transparent;
    cursor: pointer;
    border-radius: 12px;
    box-shadow: none;
    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
    position: relative;
    overflow: visible;
    text-decoration: none;
}

.ax-btn--primary {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
}

.ax-btn--primary:hover {
    background: var(--color-green-dark);
    border-color: var(--color-green-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: none;
}

.ax-btn--ghost {
    background: transparent;
    color: var(--color-text);
    border-color: rgba(88, 108, 56, 0.28);
}

.ax-btn--ghost:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: var(--color-accent-soft);
    transform: none;
}

.ax-btn__arrow {
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.ax-btn:hover .ax-btn__arrow {
    transform: translateX(3px);
}


/* ???????????????????????????????????????????????????????
   MARQUEE / SCROLLING TEXT
   ??????????????????????????????????????????????????????? */

.ax-marquee {
    overflow: hidden;
    padding: var(--space-md) 0;
    background: var(--ax-bg-marquee);
    border: none;
}

.ax-marquee__track {
    display: flex;
    gap: var(--space-lg);
    animation: marqueeScroll 25s linear infinite;
    width: max-content;
}

.ax-marquee__item {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.5vw, 3rem);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    white-space: nowrap;
    color: var(--color-warm-gray);
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.ax-marquee__item span {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-green-light);
    opacity: 0.6;
}

@keyframes marqueeScroll {
    to { transform: translateX(-50%); }
}


/* ???????????????????????????????????????????????????????
   PAIN POINTS ? Grid with Stagger Reveal
   ??????????????????????????????????????????????????????? */

/* En-t?tes de section ? style charte (align?s ? gauche) */
.ax-section-header {
    text-align: left;
    max-width: 720px;
    margin: 0 0 var(--space-xl);
}

.ax-section-header .t-display--lg {
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

/* Ronds jaunes festonn?s de la charte, pos?s au-dessus du titre */
.ax-section-header::before {
    content: '';
    display: block;
    width: clamp(80px, 9vw, 124px);
    aspect-ratio: 434.96 / 145.51;
    margin-bottom: var(--space-sm);
    background: url('../img/ronds_jaune.svg') no-repeat left center;
    background-size: contain;
}

.ax-no-ronds .ax-section-header::before {
    display: none;
}

.ax-pains {
    background: var(--ax-bg-pains);
    overflow: visible;
}

.ax-pains__header {
    text-align: left;
    max-width: 720px;
    margin: 0 0 var(--space-xl);
}

.ax-pains__header .t-overtitle {
    margin-bottom: var(--space-sm);
}

.ax-pains__header .t-body--lg {
    color: var(--color-text-muted);
    margin-top: var(--space-sm);
}

@media (min-width: 768px) {
    .ax-pains__header .t-display--lg {
        white-space: nowrap;
    }
    .ax-pains__header .t-body--lg {
        max-width: 620px;
    }
}

.ax-pains__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
}

.ax-pain {
    padding: var(--space-md) 0;
    border-radius: 0;
    border: none;
    background: transparent;
    transition: opacity var(--duration-fast) ease;
}

.ax-pain:hover {
    transform: none;
    box-shadow: none;
    opacity: 0.92;
}

.ax-pain__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--color-accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-sm);
    color: var(--color-accent);
}

.ax-pain__icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-accent);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ax-pain__icon-img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.ax-pain__title {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.ax-pain__text {
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--color-text-muted);
}


/* ???????????????????????????????????????????????????????
   CLIENTS / AUDIENCE ? Types de TPE/PME cibl?es
   ??????????????????????????????????????????????????????? */

.ax-clients {
    background: var(--ax-bg-clients);
    color: var(--color-on-light-green);
}

.ax-clients__header {
    text-align: left;
    max-width: 720px;
    margin: 0 0 var(--space-xl);
}

.ax-clients .t-overtitle {
    color: var(--color-on-light-green);
}

.ax-clients .t-display {
    color: #fff;
}

.ax-clients .t-body--lg {
    color: var(--color-on-light-green);
}

.ax-clients__header .t-overtitle {
    margin-bottom: var(--space-sm);
}

.ax-clients__header .t-body--lg {
    color: var(--color-on-light-green);
    margin-top: var(--space-sm);
}

/* ?? Desktop: Flip Cards grid ?? */
.ax-clients__grid--flip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
}

/* ?? Mobile: Classic Cards grid (hidden on desktop) ?? */
.ax-clients__grid--mobile {
    display: none;
}

/* "Afficher plus" button ? hidden on desktop */
.ax-clients__more {
    display: none;
}

/* ?? Flip Card Container ?? */
.ax-flip-card {
    perspective: 900px;
}

.ax-flip-card__inner {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    transition: transform 0.8s var(--ease-out-expo);
    transition-delay: var(--flip-delay, 0s);
    transform-style: preserve-3d;
}

.ax-flip-card.is-flipped .ax-flip-card__inner {
    transform: rotateY(180deg);
}

.ax-clients__grid--flip .ax-flip-card:nth-child(1) { --flip-delay: 0.15s; }
.ax-clients__grid--flip .ax-flip-card:nth-child(2) { --flip-delay: 0.30s; }
.ax-clients__grid--flip .ax-flip-card:nth-child(3) { --flip-delay: 0.45s; }
.ax-clients__grid--flip .ax-flip-card:nth-child(4) { --flip-delay: 0.60s; }
.ax-clients__grid--flip .ax-flip-card:nth-child(5) { --flip-delay: 0.75s; }
.ax-clients__grid--flip .ax-flip-card:nth-child(6) { --flip-delay: 0.90s; }

.ax-flip-card__front,
.ax-flip-card__back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
    text-align: center;
}

/* ?? Front Face ? Logo ?? */
.ax-flip-card__front {
    background: linear-gradient(145deg, var(--color-dark) 0%, #4A5D32 100%);
    gap: 0.75rem;
}

.ax-flip-card__logo-img {
    max-height: 64px;
    max-width: 64px;
    width: auto;
    object-fit: contain;
}

.ax-flip-card__logo-text {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 400;
    color: #fff;
    letter-spacing: 0.01em;
}

.ax-flip-card__logo-text span {
    color: var(--color-accent);
}

.ax-flip-card__hint {
    font-family: var(--font-body);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.35);
}

/* ?? Back Face ? Content ?? */
.ax-flip-card__back {
    background: var(--color-bg-white);
    transform: rotateY(180deg);
    gap: 0.3rem;
    box-shadow: var(--shadow-md);
}

.ax-flip-card__back .ax-client-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--color-accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.3rem;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.ax-flip-card__back .ax-client-card__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 0;
    color: var(--color-text);
}

.ax-flip-card__back .ax-client-card__text {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    line-height: 1.55;
}

/* ?? Classic client card (used in mobile grid) ?? */
.ax-client-card {
    text-align: center;
    padding: var(--space-lg) var(--space-md);
    background: var(--color-bg-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: all var(--duration-fast) var(--ease-out-expo);
}

.ax-client-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent-glow);
}

.ax-client-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--color-accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-sm);
    font-size: 1.4rem;
}

.ax-client-card__icon-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.ax-client-card__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 0.4rem;
}

.ax-client-card__text {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.ax-clients__more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.35rem;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-on-light-green);
    background: transparent;
    border: 1.5px solid rgba(46, 59, 27, 0.35);
    border-radius: 12px;
    cursor: pointer;
    box-shadow: none;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.ax-clients__more-btn:hover {
    background: var(--color-green-dark);
    color: #fff;
    border-color: var(--color-green-dark);
}

.ax-clients__more-btn svg {
    width: 14px;
    height: 14px;
    transition: transform var(--duration-fast) ease;
}

.ax-clients__more-btn.is-expanded svg {
    transform: rotate(180deg);
}


/* ???????????????????????????????????????????????????????
   SERVICES SECTION ? Depth Cards
   ??????????????????????????????????????????????????????? */

.ax-services {
    background: var(--ax-bg-services);
    position: relative;
}

.ax-services__header {
    text-align: left;
    max-width: 720px;
    margin: 0 0 var(--space-xl);
}

.ax-services__header .t-overtitle {
    margin-bottom: var(--space-sm);
}

.ax-services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.ax-service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    padding: var(--space-lg) var(--space-md);
    background: transparent;
    border: none;
    border-top: 3px solid var(--color-green-dark);
    border-radius: 0;
    transition: border-color var(--duration-fast) ease;
}

.ax-service-card:hover {
    border-color: var(--color-accent);
}

.ax-service-card__aside {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
}

.ax-service-card__mark {
    display: block;
    width: 52px;
    height: auto;
}

.ax-service-card__emoji {
    display: block;
    font-size: 1.6rem;
    line-height: 1;
}

.ax-service-card__icon {
    display: none;
}

.ax-service-card__title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: var(--space-xs);
}

.ax-service-card__text {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
}

.ax-service-card__number {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 400;
    color: rgba(0,0,0,0.04);
    line-height: 1;
}


/* ???????????????????????????????????????????????????????
   METHOD SECTION ? Timeline
   ??????????????????????????????????????????????????????? */

.ax-method {
    background: var(--ax-bg-method);
    position: relative;
}

.ax-method__header {
    text-align: left;
    max-width: 720px;
    margin: 0 0 var(--space-xl);
}

.ax-method__header .t-overtitle {
    margin-bottom: var(--space-sm);
}

.ax-method__timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.ax-method__timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(
        to bottom,
        transparent,
        var(--color-stone) 10%,
        var(--color-stone) 90%,
        transparent
    );
    opacity: 0.4;
}

.ax-step {
    position: relative;
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: var(--space-md);
    padding-bottom: var(--space-lg);
}

.ax-step:last-child {
    padding-bottom: 0;
}

.ax-step__marker {
    position: relative;
    display: flex;
    justify-content: center;
    padding-top: 0.3rem;
}

.ax-step__dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--color-bg-alt);
    border: 2px solid var(--color-stone);
    position: relative;
    z-index: 2;
    transition: all var(--duration-fast) ease;
}

.ax-step.is-active .ax-step__dot {
    background: var(--color-accent);
    border-color: var(--color-accent);
    box-shadow: 0 0 16px var(--color-accent-glow);
}

.ax-step__icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.ax-step__icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ax-step__number {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-green-light);
    opacity: 0.6;
    margin-bottom: var(--space-xs);
}

.ax-step__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 0.4rem;
}

.ax-step__text {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 550px;
}


/* ???????????????????????????????????????????????????????
   CTA SECTION
   ??????????????????????????????????????????????????????? */

.ax-cta {
    background: var(--ax-bg-cta);
    position: relative;
}

.ax-cta__grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(var(--space-lg), 4vw, var(--space-xl));
    align-items: center;
    padding: var(--space-md) 0;
}

.ax-cta__intro {
    position: relative;
    z-index: 2;
    max-width: 36rem;
}

.ax-cta__brand {
    margin-bottom: var(--space-sm);
}

.ax-cta__logo-img {
    width: clamp(72px, 12vw, 110px);
    height: auto;
}

.ax-cta__intro .t-overtitle {
    margin-bottom: var(--space-sm);
    color: var(--color-yellow);
}

.ax-cta__intro .t-display--lg {
    margin-bottom: var(--space-sm);
    color: #fff;
    text-transform: uppercase;
}

.ax-cta__intro .t-body--lg {
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: var(--space-sm);
}

.ax-cta__note {
    margin: 0 0 var(--space-md);
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.7);
}

.ax-cta__panel {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    align-items: stretch;
    width: 100%;
    max-width: 28rem;
    justify-self: start;
}

.ax-cta__cards {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.ax-contact-form__notice {
    margin: 0;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    font-size: 0.88rem;
    line-height: 1.5;
}

.ax-contact-form__notice--success {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
}

.ax-contact-form__notice--error {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(251, 224, 66, 0.45);
    color: #fff;
}

.ax-contact-form__form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ax-contact-form__field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.ax-contact-form__field label {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.ax-contact-form__field input,
.ax-contact-form__field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font: inherit;
    transition: border-color var(--duration-fast) ease, background var(--duration-fast) ease;
}

.ax-contact-form__field input::placeholder,
.ax-contact-form__field textarea::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.ax-contact-form__field input:focus,
.ax-contact-form__field textarea:focus {
    outline: none;
    border-color: rgba(251, 224, 66, 0.65);
    background: rgba(255, 255, 255, 0.14);
}

.ax-contact-form__form .ax-btn--primary {
    align-self: flex-start;
    margin-top: 0.15rem;
}

.ax-cta__card {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    width: 100%;
    box-sizing: border-box;
    padding: 0.95rem 1.1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    transition: background var(--duration-fast) ease, border-color var(--duration-fast) ease, transform var(--duration-fast) ease;
}

.ax-cta__card:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(251, 224, 66, 0.55);
    transform: translateY(-2px);
    color: #fff;
}

.ax-cta__card-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    background: var(--color-yellow);
    color: var(--color-green-dark);
}

.ax-cta__card-body {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.ax-cta__card-label {
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
}

.ax-cta__card-value {
    font-size: 0.88rem;
    font-weight: 500;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.ax-cta__zone {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 0.35rem;
    padding: 0 0.25rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.72);
}

.ax-cta__zone-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-yellow);
    box-shadow: 0 0 0 4px rgba(251, 224, 66, 0.2);
}

.ax-cta .ax-btn--primary {
    background: #fff;
    color: var(--color-accent);
    border-color: #fff;
    box-shadow: none;
}

.ax-cta .ax-btn--primary:hover {
    background: var(--color-yellow);
    color: var(--color-green-dark);
    border-color: var(--color-yellow);
}


/* ???????????????????????????????????????????????????????
   FOOTER
   ??????????????????????????????????????????????????????? */

.ax-footer {
    position: relative;
    padding: var(--space-lg) 0;
    background: var(--ax-bg-footer);
    color: var(--color-on-light-green);
    border-top: none;
}

.ax-footer__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
}

.ax-footer__logo {
    display: inline-flex;
    align-items: center;
}

.ax-footer__logo-img {
    height: 30px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

.ax-footer__nav {
    flex: 1 1 auto;
}

.ax-footer__links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    margin: 0;
    padding: 0;
    justify-content: center;
}

.ax-footer__links a {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-on-light-green);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity var(--duration-fast) ease;
}

.ax-footer__links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.ax-footer__copy {
    font-size: 0.8rem;
    color: var(--color-on-light-green);
    opacity: 0.85;
}

.ax-footer__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--color-green-dark);
    color: var(--color-on-light-green);
    font-size: 0.9rem;
    transition: all var(--duration-fast) ease;
}

.ax-footer__social a:hover {
    border-color: var(--color-green-dark);
    background: var(--color-green-dark);
    color: #fff;
    transform: translateY(-2px);
}


/* ???????????????????????????????????????????????????????
   PARALLAX / MAGNETIC / CURSOR
   ??????????????????????????????????????????????????????? */

[data-parallax] {
    will-change: transform;
    transition: transform 0.1s linear;
}

.ax-magnetic {
    transition: transform var(--duration-fast) var(--ease-out-expo);
}

.ax-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 1.5px solid var(--color-accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition:
        width 0.3s var(--ease-out-expo),
        height 0.3s var(--ease-out-expo),
        border-color 0.3s ease,
        background 0.3s ease;
}

.ax-cursor.is-hover {
    width: 50px;
    height: 50px;
    background: var(--color-accent-glow);
}

.ax-cursor-dot {
    position: fixed;
    width: 4px;
    height: 4px;
    background: var(--color-accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10001;
    transform: translate(-50%, -50%);
}


/* ============================================================
   PONTS ENTRE SECTIONS ? forme vague uniquement
   ============================================================ */

.ax-hero:has(+ .ax-section-bridge),
.ax-section:has(+ .ax-section-bridge),
.ax-marquee:has(+ .ax-section-bridge) {
    padding-bottom: clamp(4.25rem, 7vw, 5.5rem);
}

.ax-hero:has(+ .ax-section-bridge) .ax-hero__stage {
    padding-bottom: clamp(4.5rem, 8vw, 5.75rem);
}

.ax-section-bridge {
    --ax-bridge-wave-h: var(--ax-wave-h);
    position: relative;
    z-index: 2;
    background: transparent;
    padding: 0;
    margin: calc(var(--ax-bridge-wave-h) * -1) 0 0;
    overflow: visible;
    line-height: 0;
    pointer-events: none;
}

.ax-section-bridge__gap {
    display: none;
}

.ax-section-bridge__wave {
    display: block;
    width: 100%;
    height: var(--ax-bridge-wave-h);
    margin: 0;
    line-height: 0;
    position: relative;
    bottom: 0;
    shape-rendering: geometricPrecision;
}

.ax-section-bridge + .ax-section,
.ax-section-bridge + .ax-marquee,
.ax-section-bridge + .ax-footer {
    position: relative;
    z-index: 1;
    margin-top: 0;
}


/* ???????????????????????????????????????????????????????
   ILLUSTRATIONS CUSTOMIZER (SVG / images)
   ??????????????????????????????????????????????????????? */

.ax-section-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.ax-section-decor__img {
    display: block;
    width: auto;
    height: auto;
    max-width: min(42vw, 280px);
    opacity: 0.95;
}

.ax-section-decor--hero .ax-section-decor__img {
    position: absolute;
    right: 4%;
    bottom: 12%;
}

.ax-section-decor--pains .ax-section-decor__img,
.ax-section-decor--services .ax-section-decor__img,
.ax-section-decor--method .ax-section-decor__img {
    position: absolute;
    right: 2%;
    top: 8%;
    max-width: min(36vw, 220px);
}

.ax-section-decor--clients .ax-section-decor__img {
    position: absolute;
    left: 2%;
    bottom: 8%;
    max-width: min(36vw, 220px);
}

.ax-section-decor--cta .ax-section-decor__img {
    position: absolute;
    right: 3%;
    bottom: 10%;
    max-width: min(34vw, 200px);
}

.ax-section .ax-container,
.ax-section .ax-hero__scroll {
    position: relative;
    z-index: 2;
}

/* ???????????????????????????????????????????????????????
   SCROLL PROGRESS BAR
   ??????????????????????????????????????????????????????? */

.ax-progress {
    display: none !important;
}


/* ???????????????????????????????????????????????????????
   RESPONSIVE ? Tablet / medium (hero ?pur?)
   ??????????????????????????????????????????????????????? */


/* ============================================================
   RESPONSIVE ? Tablet / medium hero
   ============================================================ */

@media (max-width: 1100px) and (min-width: 769px) {
    .ax-hero {
        min-height: min(88svh, 780px);
    }

    .ax-hero__stage {
        padding-top: calc(3.75rem + var(--ax-wave-h));
        padding-bottom: 3rem;
    }

    .ax-hero__copy {
        max-width: 30rem;
    }

    .ax-hero__brand-logo {
        width: clamp(140px, 16vw, 190px);
    }

    .ax-hero__title {
        font-size: clamp(1.85rem, 3.4vw, 2.6rem);
    }

    .ax-hero__lead {
        font-size: 0.98rem;
        margin-bottom: 1.35rem;
    }

    .ax-hero__actions {
        gap: 0.75rem 1.15rem;
    }

    .ax-hero__actions .ax-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.7rem;
    }

    .ax-hero__veil {
        background:
            linear-gradient(
                180deg,
                rgba(255, 255, 255, 0.96) 0%,
                rgba(227, 231, 213, 0.72) 45%,
                rgba(189, 191, 45, 0.1) 100%
            );
    }

    .ax-hero--fallback .ax-hero__veil {
        background:
            linear-gradient(
                180deg,
                rgba(255, 255, 255, 0.94) 0%,
                rgba(227, 231, 213, 0.78) 55%,
                rgba(189, 191, 45, 0.14) 100%
            );
    }

    .ax-hero__scroll {
        display: none;
    }
}


/* ???????????????????????????????????????????????????????
   RESPONSIVE ? Tablet
   ??????????????????????????????????????????????????????? */

@media (max-width: 1024px) {
    .ax-clients__grid--flip {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Contact / CTA ? cartes align?es en rang?e sur tablette */
    .ax-cta__grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
        align-items: start;
        justify-items: start;
    }

    .ax-cta__intro {
        max-width: 36rem;
        width: 100%;
    }

    .ax-cta__panel {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
        width: 100%;
        max-width: 34rem;
        justify-self: start;
        align-self: start;
    }

    .ax-cta__card {
        width: 100%;
        min-width: 0;
    }

    .ax-cta__zone {
        grid-column: 1 / -1;
        justify-content: flex-start;
        padding-left: 0.15rem;
        margin-top: 0.15rem;
    }

    /* Solutions: liste hors desktop */
    .ax-services__header {
        margin-bottom: var(--space-md);
    }

    .ax-services__grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .ax-service-card {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 0 var(--space-md);
        align-items: start;
        padding: 1rem 0;
        border-top: none;
        border-bottom: 1px solid rgba(88, 108, 56, 0.14);
    }

    .ax-service-card:first-child {
        border-top: 1px solid rgba(88, 108, 56, 0.14);
    }

    .ax-service-card__aside {
        grid-row: 1 / span 2;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.55rem;
        min-width: 3.25rem;
    }

    .ax-service-card__number {
        position: static;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 3.1rem;
        height: 3.1rem;
        border-radius: 50%;
        background: var(--color-yellow);
        color: var(--color-green-dark);
        font-size: 0.95rem;
        font-weight: 600;
        line-height: 1;
    }

    .ax-service-card__mark {
        width: 28px;
        margin: 0;
    }

    .ax-service-card__emoji {
        font-size: 1.15rem;
        margin: 0;
    }

    .ax-service-card__body {
        min-width: 0;
    }

    .ax-service-card__title {
        font-size: 1.05rem;
        margin-bottom: 0.35rem;
    }

    .ax-service-card__text {
        font-size: 0.88rem;
        line-height: 1.65;
    }

    .ax-pains__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ???????????????????????????????????????????????????????
   RESPONSIVE ? Mobile
   ??????????????????????????????????????????????????????? */

@media (max-width: 768px) {
    :root {
        --space-2xl: 2.5rem;
        --space-xl:  2rem;
        --space-lg:  1.5rem;
    }

    /* ?? Header mobile ?? */
    .ax-header__nav {
        display: none;
    }

    .ax-header__toggle {
        display: flex;
    }

    /* Hero mobile */
    .ax-hero {
        min-height: min(92svh, 760px);
    }

    .ax-hero__stage {
        min-height: auto;
        padding-top: calc(3.5rem + var(--ax-wave-h));
        padding-bottom: 2rem;
        align-items: flex-end;
    }

    .ax-hero__copy {
        max-width: 34rem;
    }

    .ax-hero__brand-logo {
        width: clamp(132px, 42vw, 180px);
    }

    .ax-hero__ronds {
        width: clamp(72px, 26vw, 110px);
        margin-bottom: 0.7rem;
    }

    .ax-hero__kicker {
        margin-bottom: 0.65rem;
        font-size: 0.7rem;
    }

    .ax-hero__title {
        margin-bottom: 0.8rem;
        font-size: clamp(1.7rem, 7vw, 2.25rem);
    }

    .ax-hero__lead {
        margin-bottom: 1.25rem;
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .ax-hero__actions {
        gap: 0.75rem 1.1rem;
    }

    .ax-hero__actions .ax-btn {
        width: auto;
        padding: 0.75rem 1.25rem;
        font-size: 0.72rem;
    }

    .ax-hero__veil {
        background:
            linear-gradient(
                180deg,
                rgba(255, 255, 255, 0.96) 0%,
                rgba(227, 231, 213, 0.72) 45%,
                rgba(189, 191, 45, 0.1) 100%
            );
    }

    .ax-hero--fallback .ax-hero__veil {
        background:
            linear-gradient(
                180deg,
                rgba(255, 255, 255, 0.94) 0%,
                rgba(227, 231, 213, 0.78) 55%,
                rgba(189, 191, 45, 0.14) 100%
            );
    }

    .ax-hero__photo {
        object-position: 72% 28%;
    }

    .ax-hero__scroll {
        display: none;
    }

    .ax-hero__orb--1 {
        width: 300px;
        height: 300px;
    }

    .ax-hero__orb--2 {
        width: 200px;
        height: 200px;
    }

    /* ?? Pain grid mobile ?? */
    .ax-pains__grid {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .ax-pain {
        display: grid;
        grid-template-columns: 36px 1fr;
        grid-template-rows: auto auto;
        gap: 0 0.75rem;
        padding: 1rem;
        align-items: start;
    }

    .ax-pain__icon {
        grid-row: 1 / 3;
        width: 36px;
        height: 36px;
        margin-bottom: 0;
        margin-top: 2px;
    }

    .ax-pain__title {
        font-size: 0.9rem;
        margin-bottom: 0.15rem;
        line-height: 1.3;
    }

    .ax-pain__text {
        font-size: 0.82rem;
        line-height: 1.5;
    }

    /* ?? Clients mobile: hide flip, show classic ?? */
    .ax-clients__grid--flip {
        display: none;
    }

    .ax-clients__grid--mobile {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .ax-clients__grid--mobile .ax-client-card:nth-child(n+4) {
        display: none;
    }

    .ax-clients__grid--mobile.is-expanded .ax-client-card:nth-child(n+4) {
        display: block;
    }

    .ax-clients__grid--mobile .ax-client-card {
        padding: var(--space-md) var(--space-sm);
    }

    .ax-clients__grid--mobile .ax-client-card__icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .ax-clients__grid--mobile .ax-client-card__title {
        font-size: 0.92rem;
    }

    .ax-clients__grid--mobile .ax-client-card__text {
        font-size: 0.78rem;
    }

    .ax-clients__more {
        display: flex;
        justify-content: center;
        margin-top: var(--space-md);
    }


    /* Services mobile ? layout liste d?j? d?fini en tablette */

    /* ?? Method mobile ?? */
    .ax-step {
        grid-template-columns: 40px 1fr;
        gap: var(--space-sm);
    }

    .ax-step__title {
        font-size: 1.2rem;
    }

    .ax-step__text {
        font-size: 0.88rem;
    }

    .ax-method__timeline::before {
        left: 20px;
    }

    /* CTA mobile / tablette ?troite */
    .ax-cta__grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
        padding: var(--space-sm) 0;
        justify-items: start;
    }

    .ax-cta__intro {
        max-width: none;
        width: 100%;
    }

    .ax-cta__brand {
        margin-bottom: var(--space-sm);
    }

    .ax-cta .ax-btn {
        width: auto;
        max-width: 100%;
        justify-content: center;
        white-space: nowrap;
        font-size: 0.75rem;
        padding: 0.8rem 1.4rem;
    }

    .ax-cta__panel {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 22rem;
        justify-self: start;
    }

    .ax-cta__card {
        width: 100%;
        padding: 0.85rem 1rem;
        box-sizing: border-box;
    }

    .ax-cta__zone {
        grid-column: auto;
        width: 100%;
        justify-content: flex-start;
    }

    /* ?? Footer mobile ?? */
    .ax-footer__inner {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }

    /* ?? Marquee mobile ?? */
    .ax-marquee__item {
        font-size: clamp(1.3rem, 5vw, 2rem);
    }

    /* ?? Hide custom cursor ?? */
    .ax-cursor,
    .ax-cursor-dot {
        display: none;
    }

    /* ?? Typography mobile ?? */
    .t-display--xl {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }

    .t-display--lg {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }
}


/* ???????????????????????????????????????????????????????
   RESPONSIVE ? Small Mobile
   ??????????????????????????????????????????????????????? */

@media (max-width: 400px) {
    :root {
        --space-2xl: 2.5rem;
    }

    .ax-hero__title {
        font-size: clamp(1.55rem, 7.5vw, 1.9rem);
    }

    .ax-hero__actions .ax-btn {
        padding: 0.65rem 1rem;
        font-size: 0.66rem;
    }

    .ax-clients__grid--mobile {
        grid-template-columns: 1fr;
    }
}


/* ???????????????????????????????????????????????????????
   PRELOADER
   ??????????????????????????????????????????????????????? */

.ax-preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.ax-preloader.is-hidden {
    opacity: 0;
    visibility: hidden;
}

.ax-preloader__logo {
    opacity: 0;
    transform: translateY(20px);
    animation: preloaderIn 0.8s var(--ease-out-expo) 0.2s forwards;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ax-preloader__logo-img {
    height: 72px !important;
    max-height: 72px !important;
    width: auto !important;
    max-width: 200px;
    object-fit: contain;
}

.ax-preloader__logo-text {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 400;
    color: var(--color-text);
}

.ax-preloader__logo-text span {
    color: var(--color-accent);
}

.ax-preloader__bar {
    position: absolute;
    bottom: 40%;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 2px;
    background: var(--color-secondary);
    border-radius: 2px;
    overflow: hidden;
}

.ax-preloader__bar-fill {
    width: 0;
    height: 100%;
    background: var(--color-accent);
    animation: preloaderBar 1.5s var(--ease-out-expo) 0.4s forwards;
}

@keyframes preloaderIn {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes preloaderBar {
    to { width: 100%; }
}

/* -------------------------------------------------------
   PAGES INT?RIEURES (l?gales, contenu, 404, recherche)
   ------------------------------------------------------- */

.ax-page-hero {
    padding-top: clamp(7rem, 14vw, 9rem);
    padding-bottom: var(--space-md);
    background: var(--ax-bg-body);
}

.ax-page-hero .t-overtitle {
    margin-bottom: var(--space-sm);
}

.ax-page-content {
    padding-top: var(--space-md);
    padding-bottom: var(--space-2xl);
    background: var(--ax-bg-body);
}

.ax-prose {
    color: var(--color-text);
    font-size: 1.05rem;
    line-height: 1.8;
}

.ax-prose h2,
.ax-prose h3 {
    font-family: var(--font-display);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--color-text);
    margin: var(--space-lg) 0 var(--space-sm);
}

.ax-prose h2 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
.ax-prose h3 { font-size: 1.05rem; }

.ax-prose p,
.ax-prose ul {
    margin-bottom: var(--space-md);
    color: var(--color-text-muted);
}

.ax-prose ul {
    padding-left: 1.2rem;
}

.ax-prose li {
    margin-bottom: 0.4rem;
}

.ax-prose a {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.ax-prose strong {
    color: var(--color-text);
    font-weight: 600;
}

.ax-page-back {
    margin-top: var(--space-xl);
}

.ax-search-item {
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--border-color);
}

.ax-search-item h2 a {
    color: var(--color-text);
    text-decoration: none;
}

.ax-search-item h2 a:hover {
    color: var(--color-accent);
}

.ax-page--404 .ax-page-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .ax-footer__inner {
        flex-direction: column;
        text-align: center;
    }

    .ax-footer__links {
        justify-content: center;
    }
}
