/* =========================================================
   FIALEO — DESIGN SYSTEM COMMUN (StockFlow / RH / Stock / Home)
   Structure :
   1.  Variables & base
   2.  Barre supérieure
   3.  Header & navigation (StockFlow + RH)
   4.  Boutons
   5.  Hero & dashboard
   6.  Sections, cartes, workflow, secteurs, CTA
   7.  Footer
   8.  Pages internes : hero, modules, tarifs, contact, formulaire
   9.  FIALEO RH : valeurs, présentation, articles, actualités,
       archives, tarifs, FAQ
   10. FIALEO Home
   11. Animations
   12. Responsive (du plus grand au plus petit breakpoint)
   13. Accessibilité (reduced motion)
========================================================= */

/* =========================================================
   1. VARIABLES & BASE
========================================================= */

:root {
    --navy: #153a60;
    --blue: #2878c8;
    --blue-dark: #1d5f9f;
    --ink: #172b40;
    --muted: #64758a;
    --line: #e6edf4;
    --pale: #f4f8fc;
    --white: #fff;
    --radius: 18px;
    --shadow: 0 22px 60px rgba(21, 58, 96, 0.11);

    /* Accents & alias (variables utilisées dans le code mais jamais définies) */
    --rh-accent: #1d5a9e;
    --primary-color: #1d5a9e;
    --fialeo-navy: var(--navy);
    --fialeo-blue: var(--blue);
    --fialeo-line: var(--line);
    --fialeo-muted: var(--muted);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: "DM Sans", sans-serif;
    line-height: 1.65;
    background: #fff;
}

h1,
h2,
h3,
h4,
strong {
    font-family: Manrope, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1160px, calc(100% - 48px));
    margin: auto;
}

/* Navigation par ancres : compensation du menu fixe */
.anchor-section,
#accueil {
    scroll-margin-top: 104px;
}

/* =========================================================
   2. BARRE SUPÉRIEURE
========================================================= */

.rh-topbar {
    position: relative;
    z-index: 1001;
    width: 100%;
    max-height: 55px;
    overflow: hidden;
    background: #1d5a9e;
    color: #fff;
    opacity: 1;
    visibility: visible;
    transition:
        max-height 0.35s ease,
        opacity 0.25s ease,
        visibility 0.35s ease;
}

.rh-topbar-inner {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.rh-topbar-contact {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 28px;
}

.rh-topbar-contact a,
.rh-topbar-language a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: color 0.25s ease;
}

.rh-topbar-contact a:hover,
.rh-topbar-language a:hover {
    color: #b9d7ff;
}

.rh-topbar-contact i {
    width: 15px;
    height: 15px;
    stroke-width: 2;
}

.rh-topbar-language a {
    gap: 8px;
}

.rh-topbar-language img {
    width: 24px;
    height: 18px;
    object-fit: cover;
    border-radius: 2px;
}

/* Disparition au défilement */
.rh-topbar.is-hidden {
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* =========================================================
   3. HEADER & NAVIGATION
========================================================= */

/* ---- Marque (commun) ---- */

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.brand img {
    filter: grayscale(1) brightness(0) saturate(100%) invert(29%) sepia(36%)
        saturate(1470%) hue-rotate(175deg) brightness(91%) contrast(91%);
    transition: filter 0.35s ease;
}

.brand:hover img {
    filter: none;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: var(--navy);
    color: #fff;
    display: grid;
    place-items: center;
}

.brand-mark svg {
    width: 23px;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-copy strong {
    font-size: 20px;
    letter-spacing: -0.8px;
    color: var(--navy);
}

.brand-copy small {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #7b8ca0;
    margin-top: 5px;
}

.brand-light .brand-copy strong {
    color: #fff;
}
.brand-light .brand-copy small {
    color: #9eb1c4;
}
.brand-light .brand-mark {
    background: #2a78ba;
}

/* ---- Header StockFlow / Stock ---- */

.site-header {
    height: 82px;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(230, 237, 244, 0.8);
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(16px);
}

.nav-wrap {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 31px;
}

.main-nav > a:not(.btn) {
    font-size: 13px;
    font-weight: 600;
    color: #52657a;
    transition: 0.2s;
}

.main-nav > a:not(.btn):hover {
    color: #1d5a9e;
}

.main-nav .nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 30px 0;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Bordure inférieure */
.main-nav .nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px 3px 0 0;
    transition: width 0.3s ease;
}

.main-nav .nav-link:hover::after,
.main-nav .nav-link.active::after {
    width: 100%;
}

.main-nav .nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-toggle {
    display: none;
    border: 0;
    background: none;
    color: var(--navy);
}

/* ---- Header FIALEO RH ---- */

.rh-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(220, 229, 239, 0.8);
}

.rh-header .nav-wrap {
    position: relative;
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.rh-header .brand {
    gap: 10px;
    flex-shrink: 0;
    text-decoration: none;
}

.rh-header .brand img {
    display: block;
    width: 43px;
    height: 43px;
    object-fit: contain;
}

.rh-nav {
    display: flex;
    align-items: center;
    gap: 5px;
}

.rh-nav .nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 28px 11px;
    color: #526579;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    white-space: nowrap;
    background: transparent;
    border: 0;
    cursor: pointer;
    transition: color 0.2s ease;
}

.rh-nav .nav-link:hover,
.rh-nav .nav-link.active {
    color: #1d5a9e;
}

/* Soulignement des liens */
.rh-nav > a.nav-link::after,
.rh-nav .rh-dropdown-toggle::after {
    content: "";
    position: absolute;
    top: 75px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--rh-accent);
    border-radius: 3px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.rh-nav > a.nav-link:hover::after,
.rh-nav > a.nav-link.active::after,
.rh-nav .rh-dropdown-toggle:hover::after,
.rh-nav .rh-dropdown-toggle.active::after {
    transform: scaleX(1);
}

/* Menus déroulants */
.rh-nav-dropdown {
    position: relative;
}

.rh-dropdown-toggle {
    font-family: inherit;
    cursor: pointer;
}

.rh-dropdown-toggle svg {
    width: 13px;
    height: 13px;
    transition: transform 0.2s ease;
}

.rh-nav-dropdown.is-open .rh-dropdown-toggle svg {
    transform: rotate(180deg);
}

.rh-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    z-index: 1001;
    min-width: 225px;
    padding: 9px;
    background: #fff;
    border: 1px solid #e8edf4;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(15, 45, 85, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        visibility 0.2s ease;
}

.rh-nav-dropdown:hover .rh-dropdown-menu,
.rh-nav-dropdown:focus-within .rh-dropdown-menu,
.rh-nav-dropdown.is-open .rh-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.rh-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 12px;
    color: #526579;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.rh-dropdown-menu a:hover,
.rh-dropdown-menu a.active {
    color: #1d5a9e;
    background: #f0f6fc;
}

.rh-dropdown-menu a svg {
    width: 16px;
    height: 16px;
    color: #2878c8;
    flex-shrink: 0;
}

/* Bouton espace client */
.rh-nav .nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-left: 10px;
    padding: 11px 17px;
    border-radius: 8px;
    font-size: 12px;
    white-space: nowrap;
}

.rh-nav .nav-cta svg {
    width: 15px;
    height: 15px;
}

/* Bouton du menu mobile */
.rh-nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    padding: 0;
    color: #173b63;
    background: #f0f6fc;
    border: 1px solid #e1eaf4;
    border-radius: 9px;
    cursor: pointer;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.rh-nav-toggle:hover {
    color: #fff;
    background: #1d5a9e;
}

.rh-nav-toggle svg {
    width: 21px;
    height: 21px;
}

/* =========================================================
   4. BOUTONS
========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 5px 20px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid transparent;
    transition:
        transform 0.2s,
        background 0.2s,
        box-shadow 0.2s;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn svg {
    width: 16px;
}

.btn-primary {
    background: #1d5a9e;
    color: #fff;
    box-shadow: 0 8px 20px rgba(40, 120, 200, 0.18);
}

.btn-primary:hover {
    background: var(--blue-dark);
}

.btn-outline {
    border-color: #d8e3ee;
    background: #fff;
    color: var(--navy);
}

.btn-small {
    padding: 5px 20px;
    font-size: 12px;
}

.btn-white {
    background: #fff;
    color: var(--navy);
    white-space: nowrap;
}

/* =========================================================
   5. HERO & DASHBOARD
========================================================= */

.hero-section {
    padding: 84px 0 0;
    background:
        radial-gradient(
            ellipse at 78% 22%,
            #e9f3fc 0,
            rgba(233, 243, 252, 0) 43%
        ),
        linear-gradient(180deg, #fbfdff, #fff);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.08fr;
    gap: 52px;
    align-items: center;
    min-height: 490px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #1d5a9e;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.55px;
}

.eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #38a4d9;
    box-shadow: 0 0 0 4px #e2f2fc;
}

.eyebrow-light {
    color: #9bc8ef;
}

.hero-content h1,
.page-hero h1 {
    font:
        800 clamp(39px, 5vw, 60px)/1.12 Manrope,
        sans-serif;
    letter-spacing: -2.7px;
    color: var(--navy);
    margin: 22px 0;
}

.hero-content h1 span,
.section-heading h2 span,
.split-copy h2 span,
.page-hero h1 span {
    color: #1d5a9e;
}

.hero-lead {
    max-width: 520px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.85;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 29px 0;
}

.hero-proof {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 27px;
}

.proof-avatars {
    display: flex;
    padding-left: 5px;
}

.proof-avatars span {
    width: 29px;
    height: 29px;
    margin-left: -5px;
    border: 2px solid #fff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #dceaf7;
    color: var(--navy);
    font-size: 9px;
    font-weight: 800;
}

.proof-avatars span:nth-child(2) {
    background: #e6e0fa;
}
.proof-avatars span:nth-child(3) {
    background: #d9f0e9;
}

.hero-proof p {
    font-size: 11px;
    line-height: 1.45;
    color: #8290a0;
    margin: 0;
}

.hero-proof strong {
    color: #42576d;
}

.hero-visual {
    position: relative;
    padding: 24px 0 38px;
    padding-right: 0px;
    border-radius: 25px;
    /* border: 1px solid rgba(210, 224, 240, 0.8); */
}

.fialeo-home .hero-visual {
    border: 1px solid rgba(210, 224, 240, 0.8);
}

.visual-glow {
    position: absolute;
    inset: 7% 0 8% 5%;
    background: #dcecfb;
    filter: blur(48px);
    border-radius: 50%;
}

.dashboard-window {
    position: relative;
    background: #fff;
    border: 1px solid #e5edf5;
    border-radius: 16px;
    box-shadow: 0 28px 75px rgba(30, 73, 115, 0.16);
    overflow: hidden;
    transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
}

.dash-top {
    height: 53px;
    border-bottom: 1px solid #edf1f5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.dash-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--navy);
}

.mini-mark {
    width: 25px;
    height: 25px;
    border-radius: 7px;
    color: #fff;
    display: grid;
    place-items: center;
}

.mini-mark svg {
    width: 14px;
}

.dash-user {
    font-size: 9px;
    color: #8190a0;
}

.dash-user span {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #41b88b;
    margin-right: 5px;
}

.dash-body {
    padding: 22px;
}

.dash-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dash-heading small {
    font-size: 8px;
    letter-spacing: 1.2px;
    color: #91a0af;
    font-weight: 800;
}

.dash-heading h3 {
    font-size: 17px;
    color: var(--navy);
    margin: 3px 0 15px;
}

.period-pill {
    font-size: 8px;
    color: #6c7d90;
    border: 1px solid #e8edf2;
    border-radius: 6px;
    padding: 7px;
}

.period-pill svg {
    width: 10px;
    vertical-align: middle;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.stat-card {
    border: 1px solid #edf1f5;
    border-radius: 9px;
    padding: 12px;
}

.stat-card span {
    font-size: 8px;
    color: #7e8c9c;
}

.stat-card strong {
    display: block;
    font-size: 21px;
    color: var(--navy);
    margin: 5px 0;
}

.stat-card small {
    font-size: 8px;
    color: #8b99a8;
}

.stat-card small svg {
    width: 10px;
    vertical-align: middle;
}

.dash-lower,
.rh-dashboard-lower {
    display: grid;
    grid-template-columns: 1.25fr 0.9fr;
    gap: 12px;
    margin-top: 12px;
}

.chart-card,
.activity-card {
    border: 1px solid #edf1f5;
    border-radius: 9px;
    padding: 13px;
}

.chart-title {
    display: flex;
    justify-content: space-between;
    font-size: 9px;
}

.chart-title span {
    color: #9aa7b4;
    font-size: 8px;
}

.chart-bars {
    height: 104px;
    display: flex;
    align-items: end;
    gap: 8px;
    padding: 12px 5px 0;
    border-bottom: 1px solid #edf1f5;
}

.chart-bars i {
    flex: 1;
    border-radius: 4px 4px 0 0;
    background: linear-gradient(180deg, #62a7e5, #d5e8f8);
}

.chart-bars i:nth-child(3n) {
    background: linear-gradient(180deg, #8db9e7, #e2eef9);
}

.chart-labels {
    display: flex;
    justify-content: space-between;
    color: #a0acb8;
    font-size: 7px;
    padding-top: 5px;
}

.activity-card > b {
    font-size: 9px;
}

.activity-line {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 12px;
}

.activity-icon {
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    border-radius: 7px;
}

.activity-icon svg {
    width: 13px;
}

.activity-icon.blue {
    background: #e7f2fc;
    color: #4389ca;
}
.activity-icon.violet {
    background: #f0ebfb;
    color: #8b70c5;
}
.activity-icon.green {
    background: #e6f6ef;
    color: #36a17a;
}

.activity-line span:last-child {
    display: flex;
    flex-direction: column;
}

.activity-line b {
    font-size: 8px;
}

.activity-line small {
    font-size: 7px;
    color: #98a5b1;
}

.floating-note {
    position: absolute;
    bottom: 3px;
    left: -22px;
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 7px 11px;
    background: #fff;
    border: 1px solid #eaf0f6;
    border-radius: 11px;
    box-shadow: var(--shadow);
}

.floating-note > span {
    width: 33px;
    height: 33px;
    background: #e8f4fc;
    color: #1d5a9e;
    border-radius: 9px;
    display: grid;
    place-items: center;
}

.floating-note svg {
    width: 17px;
}

.floating-note div {
    display: flex;
    flex-direction: column;
}

.floating-note b {
    font-size: 10px;
    color: var(--navy);
}

.floating-note small {
    font-size: 8px;
    color: #8795a4;
}

.hero-bottom {
    margin-top: 50px;
    border-top: 1px solid #eaf0f5;
    padding: 22px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.hero-bottom > span {
    font-size: 9px;
    letter-spacing: 1.2px;
    font-weight: 800;
    color: #94a1af;
}

.hero-bottom > div {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.hero-bottom b {
    font-size: 11px;
    color: #607286;
}

.hero-bottom svg {
    width: 15px;
    vertical-align: middle;
    margin-right: 5px;
    color: #1d5a9e;
}

/* =========================================================
   6. SECTIONS, CARTES, WORKFLOW, SECTEURS, CTA
========================================================= */

.section {
    padding: 100px 0;
}
.section-white {
    background: #fff;
}
.section-tint {
    background: #f5f9fd;
}

.section-heading {
    max-width: 650px;
    margin-bottom: 45px;
}

.section-heading.centered {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-heading h2,
.split-copy h2 {
    font:
        800 clamp(31px, 4vw, 43px)/1.2 Manrope,
        sans-serif;
    letter-spacing: -1.8px;
    color: var(--navy);
    margin: 15px 0;
}

.section-heading p,
.split-copy > p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.85;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px;
}

.feature-grid-large {
    grid-template-columns: repeat(4, 1fr);
}

.feature-card {
    padding: 27px 25px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fff;
    transition: 0.25s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(24, 62, 99, 0.08);
    border-color: #cfe1f1;
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    background: #e9f3fc;
    color: #347fc0;
    display: grid;
    place-items: center;
}

.feature-icon svg {
    width: 21px;
}

.icon-cyan {
    background: #e5f6f8;
    color: #2696a7;
}
.icon-violet {
    background: #f0ebfa;
    color: #8768c1;
}
.icon-orange {
    background: #fff1e5;
    color: #d98b42;
}
.icon-green {
    background: #e7f6ef;
    color: #329b72;
}
.icon-pink {
    background: #fbeaf0;
    color: #c46b91;
}

.feature-card h3 {
    font-size: 16px;
    color: var(--navy);
    margin: 19px 0 8px;
}

.feature-card p {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.8;
    overflow-wrap: anywhere;
    margin: 0;
}

.feature-card > a {
    font-size: 11px;
    font-weight: 800;
    color: #1d5a9e;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    margin-top: 8px;
}

.feature-card > a svg {
    width: 14px;
}

.split-section {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 90px;
    align-items: center;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 30px;
    display: grid;
    gap: 13px;
}

.check-list li {
    font-size: 12px;
    color: #50657a;
    display: flex;
    align-items: center;
    gap: 10px;
}

.check-list svg {
    width: 17px;
    color: #35a47c;
    flex: none;
}

.workflow-card {
    background: #fff;
    border: 1px solid #e7eef5;
    border-radius: 16px;
    padding: 25px 28px;
    box-shadow: 0 20px 55px rgba(30, 73, 115, 0.07);
}

.workflow-head {
    display: flex;
    gap: 12px;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #edf1f5;
}

.workflow-badge {
    width: 39px;
    height: 39px;
    border-radius: 10px;
    background: #eaf3fb;
    color: #1d5a9e;
    display: grid;
    place-items: center;
}

.workflow-head div {
    display: flex;
    flex-direction: column;
}

.workflow-head b {
    font-size: 12px;
    color: var(--navy);
}

.workflow-head small {
    font-size: 9px;
    color: #91a0ae;
}

.workflow-step {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 13px 0;
}

.workflow-step > span {
    font-size: 9px;
    color: #a5b2bf;
    font-weight: 800;
}

.workflow-step > svg:not(.step-check) {
    width: 18px;
    color: #1d5a9e;
}

.workflow-step div {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.workflow-step b {
    font-size: 11px;
    color: #314c67;
}

.workflow-step small {
    font-size: 9px;
    color: #96a3b0;
}

.step-check {
    width: 14px;
    color: #42b28a;
}

.workflow-connector {
    height: 12px;
    border-left: 1px dashed #c9d8e5;
    margin-left: 39px;
}

.workflow-footnote {
    font-size: 9px;
    color: #9aa7b3;
    border-top: 1px solid #edf1f5;
    padding-top: 14px;
    margin: 8px 0 0;
}

.sector-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 13px;
}

.sector-card {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sector-card > svg {
    width: 23px;
    color: #1d5a9e;
    margin-bottom: 8px;
}

.sector-card b {
    font-size: 12px;
    color: var(--navy);
}

.sector-card span {
    font-size: 10px;
    color: #8190a0;
}

.cta-section {
    background: var(--navy);
    padding: 65px 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-section:after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 50%;
    right: 5%;
    top: -240px;
    box-shadow:
        0 0 0 45px rgba(255, 255, 255, 0.025),
        0 0 0 90px rgba(255, 255, 255, 0.02);
}

.cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 35px;
}

.cta-inner h2 {
    font:
        800 34px/1.2 Manrope,
        sans-serif;
    letter-spacing: -1px;
    margin: 14px 0;
}

.cta-inner p {
    font-size: 12px;
    color: #c0d0df;
    max-width: 510px;
}

.disclaimer {
    font-size: 10px;
    color: #8b99a8;
    margin-top: 25px;
}

/* =========================================================
   7. FOOTER
========================================================= */

/* ---- Footer StockFlow ---- */

.site-footer {
    background: #102d4a;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
    gap: 45px;
    padding-bottom: 45px;
}

.footer-brand p,
.footer-grid > div:last-child p {
    font-size: 11px;
    line-height: 1.8;
    color: #a9bdcf;
    max-width: 270px;
}

.footer-grid a:hover {
    color: #fff;
}

.footer-link {
    display: inline-flex !important;
    gap: 7px;
    align-items: center;
    color: #8fc5f2 !important;
}

.footer-link svg {
    width: 14px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    color: #8fa7bd;
    font-size: 9px;
}

/* Sélecteur de langue (commun à tous les footers) */
.footer-bottom .dropdown-lang {
    display: inline-flex;
    align-items: center;
}

.footer-bottom .dropdown-lang a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border: none;
    background: transparent;
}

.footer-bottom .dropdown-lang img {
    display: block;
    width: 24px;
    height: 18px;
    object-fit: cover;
    border-radius: 2px;
}

/* ---- Footer principal FIALEO ---- */

.fialeo-footer {
    position: relative;
    padding: 65px 0 0;
    color: #dce6f1;
    background: #0c2039;
}

.fialeo-footer .footer-grid {
    grid-template-columns: 1.35fr 1fr 1fr 1.2fr;
    gap: 42px;
}

/* Identité */
.fialeo-footer .footer-brand .brand {
    gap: 12px;
    color: #fff;
    text-decoration: none;
}

.fialeo-footer .footer-brand .brand img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    flex-shrink: 0;
}

.fialeo-footer .footer-brand .brand-copy {
    gap: 3px;
}

.fialeo-footer .footer-brand .brand-copy strong {
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: normal;
}

.fialeo-footer .footer-brand .brand-copy small {
    color: #9fb6d0;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 0;
}

.fialeo-footer .footer-brand > p {
    max-width: 320px;
    margin: 20px 0 0;
    color: #aabbd0;
    line-height: 1.9;
}

/* Colonnes */
/* .fialeo-footer .footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
} */

.fialeo-footer .footer-column h4,
.footer-grid h4 {
    position: relative;
    margin: 5px 0 24px;
    padding-bottom: 12px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.fialeo-footer .footer-column h4::after,
.footer-grid h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 27px;
    height: 2px;
    border-radius: 5px;
    background: #398bd8;
}

.fialeo-footer .footer-column > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #aabbd0;
    font-size: 11px;
    line-height: 1.5;
    text-decoration: none;
    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.fialeo-footer .footer-column > a:hover {
    color: #fff;
    transform: translateX(4px);
}

.footer-grid > div:not(:first-child) > a {
    display: block;
    font-size: 11px;
    color: #a9bdcf;
    margin: 11px 0;
}

.fialeo-footer .footer-column > p {
    margin: 0 0 17px;
    color: #aabbd0;
    font-size: 13px;
    line-height: 1.8;
}

/* Lien principal FIALEO */
.fialeo-footer .footer-column .footer-link {
    gap: 8px;
    margin: 0 0 19px;
    padding: 10px 14px;
    border: 1px solid rgba(130, 180, 230, 0.35);
    border-radius: 7px;
    color: #fff !important;
    background: rgba(255, 255, 255, 0.06);
    font-size: 11px;
    font-weight: 700;
}

.fialeo-footer .footer-column .footer-link:hover {
    border-color: #398bd8;
    background: rgba(57, 139, 216, 0.15);
    transform: translateY(-2px);
}

.fialeo-footer .footer-column .footer-link i {
    width: 15px;
    height: 15px;
}

/* Contact */
.fialeo-footer .footer-column .footer-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #aabbd0;
    font-size: 12px;
}

.fialeo-footer .footer-contact-link i {
    width: 16px;
    height: 16px;
    color: #62a8e8;
}

/* Bas du footer */
.fialeo-footer .footer-bottom {
    min-height: 75px;
    align-items: center;
    gap: 22px;
    padding-top: 18px;
    padding-bottom: 18px;
    color: #8fa3ba;
    font-size: 11px;
}

/* =========================================================
   8. PAGES INTERNES : HERO, MODULES, TARIFS, CONTACT, FORMULAIRE
========================================================= */

.page-hero {
    padding: 85px 0 75px;
    background: linear-gradient(120deg, #f4f9fd, #fff);
}

.page-hero h1 {
    margin: 17px 0;
    font-size: 48px;
}

.page-hero p {
    max-width: 620px;
    color: var(--muted);
    font-size: 14px;
}

/* Modules : liste */
.module-list {
    max-width: 900px;
}

.module-row {
    display: grid;
    grid-template-columns: 45px 48px 1fr 25px;
    align-items: center;
    gap: 18px;
    padding: 22px 8px;
    border-bottom: 1px solid var(--line);
}

.module-number {
    font-size: 11px;
    color: #9aa9b8;
    font-weight: 800;
}

.module-row .module-icon {
    width: 42px;
    height: 42px;
}

.module-row .module-icon svg {
    width: 20px;
    height: 20px;
}

.module-row h3 {
    font-size: 15px;
    color: var(--navy);
    margin: 0 0 3px;
}

.module-row p {
    font-size: 11px;
    color: var(--muted);
    margin: 0;
}

.module-arrow {
    width: 17px;
    color: #8ca0b3;
}

/* Modules : cartes (FIALEO RH) */
.modules-grid {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
}

.modules-grid-col {
    min-width: 0;
    padding: 8px;
}

.module-card {
    height: 100%;
    padding: 28px 24px;
    background: #fff;
    border: 1px solid #e8edf4;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.module-card:hover {
    transform: translateY(-5px);
    border-color: #cbdcf5;
    box-shadow: 0 12px 30px rgba(15, 45, 85, 0.08);
}

.module-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.module-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1555a5;
    background: #edf4ff;
    border-radius: 12px;
}

.module-icon svg {
    width: 23px;
    height: 23px;
}

.module-header h3 {
    margin: 0;
    color: #102b50;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

.module-card p {
    margin: 0;
    color: #68778b;
    font-size: 14px;
    line-height: 1.7;
}

/* Tarif unique */
.pricing-wrap {
    display: flex;
    justify-content: center;
}

.pricing-card {
    max-width: 600px;
    width: 100%;
    padding: 42px;
    border: 1px solid #e1eaf2;
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.pricing-label {
    font-size: 10px;
    letter-spacing: 1.5px;
    color: #1d5a9e;
    font-weight: 800;
}

.pricing-card h2 {
    font-size: 27px;
    color: var(--navy);
    margin: 12px 0;
}

.pricing-card > p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.8;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 75px;
}

.contact-info h2 {
    font-size: 27px;
    color: var(--navy);
    line-height: 1.25;
}

.contact-info > p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.8;
}

.contact-point {
    display: flex;
    gap: 13px;
    margin-top: 25px;
}

.contact-point > svg {
    width: 20px;
    color: #1d5a9e;
    flex: none;
}

.contact-point div {
    display: flex;
    flex-direction: column;
}

.contact-point b {
    font-size: 12px;
    color: var(--navy);
}

.contact-point span {
    font-size: 10px;
    color: #8291a0;
}

.contact-form {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 15px;
    box-shadow: 0 15px 45px rgba(21, 58, 96, 0.06);
    display: grid;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.contact-form label {
    display: grid;
    gap: 7px;
    font-size: 10px;
    font-weight: 700;
    color: #425a70;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 13px;
    border: 1px solid #dfe7ef;
    border-radius: 8px;
    background: #fff;
    font:
        12px "DM Sans",
        sans-serif;
    color: var(--ink);
    outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #6da8dc;
    box-shadow: 0 0 0 3px #eaf4fc;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    justify-self: start;
}

.form-note {
    font-size: 9px;
    color: #93a0ad;
}

.form-success,
.form-errors {
    padding: 11px;
    border-radius: 7px;
    font-size: 11px;
    background: #e9f7ef;
    color: #26784f;
}

.form-errors {
    background: #fff0ef;
    color: #a43d35;
}

/* =========================================================
   9. FIALEO RH
========================================================= */

/* ---- Valeurs & images sources ---- */

.fialeo-rh .rh-value-grid {
    grid-template-columns: repeat(4, 1fr);
}

.fialeo-rh .rh-value-grid .feature-card p {
    min-height: 94px;
}

.rh-source-hero-image {
    display: block;
    width: 100%;
    max-width: 590px;
    height: auto;
    object-fit: contain;
    margin-inline: auto;
}

.fialeo-rh .rh-value-grid .rh-source-feature-image {
    display: block;
    width: 100%;
    height: 145px;
    object-fit: cover;
    border-radius: 10px;
    margin: 0 0 18px;
}

/* ---- Présentation & mission ---- */

.rh-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.rh-about-copy h2 {
    font:
        800 clamp(31px, 4vw, 43px)/1.2 Manrope,
        sans-serif;
    letter-spacing: -1.8px;
    color: var(--navy);
    margin: 15px 0;
}

.rh-about-copy h2 span,
.rh-news-header h2 span {
    color: #1d5a9e;
}

.rh-about-copy p,
.rh-mission-card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
}

.rh-mission-card {
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow);
}

.rh-mission-card .eyebrow {
    display: flex;
    margin-top: 23px;
}

.rh-mission-card h3 {
    color: var(--navy);
    font-size: 23px;
    line-height: 1.35;
    margin: 13px 0;
}

.rh-mission-card .rh-source-mission-image {
    display: block;
    width: 100%;
    max-height: 245px;
    object-fit: contain;
    object-position: center;
    margin: 0 auto 18px;
}

.rh-mission-foot {
    display: flex;
    align-items: center;
    gap: 9px;
    padding-top: 18px;
    margin-top: 20px;
    border-top: 1px solid var(--line);
    color: #607286;
    font-size: 11px;
    font-weight: 700;
}

.rh-mission-foot svg {
    width: 17px;
    color: #1d5a9e;
}

/* ---- Articles ---- */

.rh-articles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
}

.rh-articles > .rh-article-card:last-child {
    grid-column: 1 / -1;
}

.rh-article-card {
    padding: 27px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    transition: 0.25s;
}

.rh-article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(24, 62, 99, 0.07);
}

.rh-article-card h3 {
    color: var(--navy);
    font-size: 18px;
    line-height: 1.4;
    margin: 0 0 14px;
}

.rh-article-card h4 {
    color: #284d70;
    font-size: 13px;
    margin: 20px 0 5px;
}

.rh-article-card p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.85;
    margin: 10px 0;
}

.rh-article-card .rh-tip {
    padding: 11px 13px;
    border-left: 3px solid #6da8dc;
    background: #f4f8fc;
    border-radius: 0 7px 7px 0;
}

.rh-article-card .rh-tip strong {
    color: #1d5a9e;
}

/* ---- Actualités (slider) ---- */

.rh-news-section {
    width: 100%;
    overflow: hidden;
}

.rh-news-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
}

.rh-news-header h2 {
    font:
        700 30px/1.2 Manrope,
        sans-serif;
    letter-spacing: -1.8px;
    color: #102b50;
    margin: 0 0 10px;
}

.rh-news-header p {
    margin: 0;
    color: #68778b;
    font-size: 15px;
    line-height: 1.6;
}

.rh-section-label {
    display: inline-block;
    margin-bottom: 12px;
    color: #2563a8;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.rh-slider-controls {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.rh-slider-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dce5ef;
    border-radius: 50%;
    background: #fff;
    color: #1555a5;
    cursor: pointer;
    transition: all 0.25s ease;
}

.rh-slider-btn:hover {
    background: #1555a5;
    color: #fff;
    border-color: #1555a5;
}

.rh-slider-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.rh-news-slider {
    width: 100%;
    overflow: hidden;
}

.rh-news-track {
    display: flex;
    gap: 24px;
    transition: transform 0.45s ease;
    will-change: transform;
}

.rh-news-card {
    flex: 0 0 calc((100% - 24px) / 2);
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e8edf4;
    border-radius: 16px;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.rh-news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 35px rgba(15, 45, 85, 0.09);
}

.rh-news-image {
    position: relative;
    height: 210px;
    overflow: hidden;
    background: #edf4ff;
}

.rh-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.rh-news-card:hover .rh-news-image img {
    transform: scale(1.05);
}

.rh-news-image .rh-article-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 7px 12px;
    background: #fff;
    color: #1555a5;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
}

.rh-news-content {
    padding: 24px;
}

.rh-article-date {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: #8491a3;
    font-size: 13px;
}

.rh-article-date svg {
    width: 15px;
    height: 15px;
}

.rh-news-content h3 {
    min-height: 54px;
    margin: 0 0 12px;
    color: #102b50;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.4;
}

.rh-news-content p {
    min-height: 96px;
    margin: 0 0 20px;
    color: #68778b;
    font-size: 14px;
    line-height: 1.75;
}

.rh-news-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #1555a5;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.rh-news-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.rh-news-link:hover svg {
    transform: translateX(5px);
}

/* Pagination du slider */
.rh-slider-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 28px;
}

.rh-slider-pagination {
    display: flex;
    gap: 7px;
}

.rh-slider-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 20px;
    background: #d5deea;
    cursor: pointer;
    transition: all 0.3s ease;
}

.rh-slider-dot.active {
    width: 26px;
    background: #1555a5;
}

.rh-slider-counter {
    color: #8491a3;
    font-size: 13px;
    font-weight: 600;
}

/* ---- Archives du blog : 3 cartes par ligne sur grand écran ---- */

.rh-archives-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 28px;
    width: 100%;
    justify-content: center;
}

.rh-archives-grid > .rh-article-card {
    grid-column: span 2;
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 28px;
    background: #fff;
    border: 1px solid #e8edf4;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.rh-archives-grid > .rh-article-card:hover {
    transform: translateY(-5px);
    border-color: #cbdcf5;
    box-shadow: 0 12px 30px rgba(15, 45, 85, 0.08);
}

/* Centrer la dernière ligne incomplète (desktop uniquement) */
@media (min-width: 1051px) {
    .fialeo-rh
        .rh-archives-grid
        > .rh-article-card:nth-child(3n + 1):nth-last-child(2) {
        grid-column: 2 / span 2;
    }
    .rh-archives-grid > .rh-article-card:nth-child(3n + 2):last-child {
        grid-column: 4 / span 2;
    }
}

.rh-archive-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: #1555a5;
    background: #edf4ff;
    border-radius: 12px;
}

.rh-archive-icon svg {
    width: 23px;
    height: 23px;
}

.rh-archives-grid .rh-article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
    min-width: 0;
}

.rh-archives-grid .rh-article-meta > span:first-child {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #8491a3;
    font-size: 12px;
}

.rh-archives-grid .rh-article-meta > span:first-child svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.rh-archives-grid .rh-article-tag {
    max-width: 100%;
    padding: 6px 10px;
    color: #1555a5;
    background: #edf4ff;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.rh-archives-grid .rh-article-card h3 {
    margin: 0 0 14px;
    color: #102b50;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.rh-archives-grid .rh-article-card p {
    margin: 0;
    color: #68778b;
    font-size: 14px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

/* Lien vers le blog source */
.rh-blog-source-link {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.rh-blog-source-link a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #1555a5;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.rh-blog-source-link a svg {
    width: 17px;
    height: 17px;
    transition: transform 0.2s ease;
}

.rh-blog-source-link a:hover svg {
    transform: translate(4px, -4px);
}

/* ---- Tarifs ---- */

.rh-pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    max-width: 900px;
    margin: 0 auto;
}

.rh-pricing-card {
    position: relative;
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow);
}

.rh-pricing-featured {
    border: 2px solid var(--rh-accent);
}

.rh-plan-label {
    color: #6f8091;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rh-pricing-card h3 {
    margin: 12px 0 4px;
    color: var(--navy);
    font-size: 27px;
}

.rh-plan-audience {
    color: var(--muted);
    font-size: 13px;
}

.rh-plan-price {
    margin: 22px 0;
    color: #1d5a9e;
    font-size: 28px;
    font-weight: 800;
}

.rh-pricing-card .check-list {
    margin: 24px 0;
}

.rh-pricing-card .check-list li {
    color: #526579;
    font-size: 13px;
    line-height: 1.6;
}

.rh-recommended {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 6px 10px;
    border-radius: 30px;
    color: #1d5a9e;
    background: #eaf3fb;
    font-size: 10px;
    font-weight: 800;
}

.rh-pricing-note {
    max-width: 900px;
    margin: 20px auto 0;
    color: var(--muted);
    font-size: 11px;
    text-align: center;
}

/* ---- FAQ ---- */

.rh-faq-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    align-items: stretch;
    gap: 60px;
}

.rh-faq-layout .section-heading {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
    padding-right: 50px;
}

.rh-faq-layout .section-heading::after {
    content: "";
    position: absolute;
    top: 0;
    right: -30px;
    width: 5px;
    height: 100%;
    background: #1d5a9e;
}

.rh-faq-list {
    width: 100%;
    min-width: 0;
    border-top: 1px solid var(--line);
}

.rh-faq-item {
    border-bottom: 1px solid var(--line);
}

.rh-faq-item summary {
    display: grid;
    grid-template-columns: 34px 1fr 20px;
    gap: 13px;
    align-items: center;
    padding: 19px 4px;
    cursor: pointer;
    list-style: none;
}

.rh-faq-item summary::-webkit-details-marker {
    display: none;
}

.rh-faq-item summary span {
    color: #2878c8;
    font-size: 11px;
    font-weight: 800;
}

.rh-faq-item summary strong {
    color: var(--navy);
    font-size: 13px;
    line-height: 1.55;
}

.rh-faq-item summary svg {
    width: 17px;
    color: #2878c8;
    transition: transform 0.2s ease;
}

.rh-faq-item[open] summary svg {
    transform: rotate(45deg);
}

.rh-faq-answer {
    padding: 0 34px 18px 51px;
}

.rh-faq-answer p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.85;
}


/* ###################### */

/* Liens légaux du footer */
.footer-legal {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 22px;
}

.footer-legal a {
    color: inherit;
    font-size: 13px;
    text-decoration: none;
    opacity: 0.75;
    transition:
        opacity 0.25s ease,
        color 0.25s ease;
}

.footer-legal a:hover {
    opacity: 1;
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Organisation du bas du footer */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .footer-legal {
        justify-content: center;
        gap: 12px 18px;
    }
}

.legal-hero {
    position: relative;
    overflow: hidden;
    padding: 75px 0 65px;
    background: linear-gradient(135deg, #123d70, #1d5a9e);
    color: #fff;
}

.legal-hero::before {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -220px;
    right: -80px;
}

.legal-hero::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    bottom: -180px;
    left: 8%;
}

.legal-hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.legal-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.09);
    font-size: 13px;
    margin-bottom: 20px;
}

.legal-eyebrow i {
    width: 16px;
    height: 16px;
}

.legal-hero h1 {
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.15;
    font-weight: 750;
    margin: 0 0 18px;
    color: #fff;
}

.legal-hero p {
    max-width: 650px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
}

/* NAVIGATION DES DOCUMENTS */

.legal-navigation-wrapper {
    position: relative;
    z-index: 5;
    margin-top: -28px;
}

.legal-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 35px rgba(20, 55, 90, 0.09);
    border: 1px solid #edf1f6;
}

.legal-navigation a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 17px;
    border-radius: 8px;
    color: #536276;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.25s ease;
}

.legal-navigation a i {
    width: 17px;
    height: 17px;
}

.legal-navigation a:hover,
.legal-navigation a.active {
    color: #1d5a9e;
    background: #edf4fc;
}

/* CONTENU */

.legal-content {
    padding: 65px 0 90px;
}

.legal-document {
    scroll-margin-top: 110px;
    margin-bottom: 35px;
    padding: 38px 42px;
    background: #fff;
    border: 1px solid #e9eef5;
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(20, 55, 90, 0.035);
}

.legal-document-header {
    display: flex;
    align-items: flex-start;
    gap: 17px;
    padding-bottom: 25px;
    margin-bottom: 27px;
    border-bottom: 1px solid #edf0f5;
}

.legal-document-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 13px;
    color: #1d5a9e;
    background: #edf4fc;
}

.legal-document-icon i {
    width: 25px;
    height: 25px;
}

.legal-document-header h2 {
    margin: 0 0 7px;
    color: #183b63;
    font-size: 25px;
    font-weight: 750;
}

.legal-document-header p {
    margin: 0;
    color: #7a8798;
    font-size: 13px;
}

.legal-section {
    margin-bottom: 28px;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h3 {
    position: relative;
    margin: 0 0 12px;
    padding-left: 15px;
    color: #1d5a9e;
    font-size: 17px;
    font-weight: 700;
}

.legal-section h3::before {
    content: "";
    position: absolute;
    top: 4px;
    left: 0;
    width: 4px;
    height: 17px;
    border-radius: 5px;
    background: #1d5a9e;
}

.legal-section p {
    margin: 0 0 12px;
    color: #596779;
    font-size: 14px;
    line-height: 1.9;
}

.legal-section ul {
    padding-left: 22px;
    margin: 10px 0 15px;
}

.legal-section li {
    padding-left: 4px;
    margin-bottom: 9px;
    color: #596779;
    font-size: 14px;
    line-height: 1.8;
}

.legal-section li::marker {
    color: #1d5a9e;
}

.legal-section a {
    color: #1d5a9e;
    font-weight: 600;
    text-decoration: none;
}

.legal-section a:hover {
    text-decoration: underline;
}

.legal-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 17px 19px;
    margin-top: 15px;
    border-radius: 10px;
    background: #f1f6fc;
    color: #52657b;
    font-size: 13px;
    line-height: 1.8;
}

.legal-info i {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
    color: #1d5a9e;
    margin-top: 2px;
}

.legal-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
}

.legal-contact i {
    width: 16px;
    height: 16px;
}

/* RESPONSIVE */

@media (max-width: 768px) {
    .legal-hero {
        padding: 55px 0 55px;
    }

    .legal-hero h1 {
        font-size: 33px;
    }

    .legal-hero p {
        font-size: 14px;
    }

    .legal-navigation {
        justify-content: flex-start;
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
    }

    .legal-navigation a {
        justify-content: flex-start;
    }

    .legal-content {
        padding: 45px 0 60px;
    }

    .legal-document {
        padding: 25px 20px;
        border-radius: 12px;
    }

    .legal-document-header {
        gap: 12px;
    }

    .legal-document-header h2 {
        font-size: 21px;
    }

    .legal-document-icon {
        width: 43px;
        height: 43px;
    }

    .legal-section h3 {
        font-size: 16px;
    }
}

/* =========================================================
   10. FIALEO HOME
========================================================= */

.fialeo-home .hero {
    position: relative;
    padding: 105px 0 95px;
    background:
        radial-gradient(
            circle at 85% 25%,
            rgba(71, 148, 224, 0.13),
            transparent 27%
        ),
        linear-gradient(115deg, #f7faff 0%, #fff 58%, #f0f6fd 100%);
}

.fialeo-home .hero-note {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    color: #64758a;
    font-size: 12px;
}

.fialeo-home .hero-note i {
    color: #239b73;
}

.fialeo-home .hero-visual {
    position: relative;
    min-height: 410px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fialeo-home .visual-main {
    position: relative;
    width: 100%;
    max-width: 470px;
    padding: 34px;
}

.fialeo-home .visual-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 27px;
}

.fialeo-home .visual-top strong {
    color: var(--fialeo-navy);
    font-size: 16px;
}

.fialeo-home .visual-dots {
    display: flex;
    gap: 5px;
}

.fialeo-home .visual-dots span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #d7e2ef;
}

.fialeo-home .visual-dots span:first-child {
    background: var(--fialeo-blue);
}

.fialeo-home .visual-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px;
}

.fialeo-home .visual-card {
    min-height: 112px;
    padding: 18px;
    border: 1px solid #eaf0f7;
    border-radius: 14px;
    background: #f9fbfe;
}

.fialeo-home .visual-card i {
    display: block;
    margin-bottom: 17px;
    color: var(--fialeo-blue);
}

.fialeo-home .visual-card strong {
    display: block;
    color: var(--fialeo-navy);
    font-size: 13px;
}

.fialeo-home .visual-card small {
    display: block;
    margin-top: 5px;
    color: #8391a3;
    font-size: 10px;
}

.fialeo-home .visual-bottom {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 16px;
    padding: 15px;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(110deg, #2878c8, #174f91);
}

.fialeo-home .visual-bottom i {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.16);
}

.fialeo-home .visual-bottom strong {
    display: block;
    font-size: 12px;
}

.fialeo-home .visual-bottom small {
    display: block;
    margin-top: 4px;
    opacity: 0.8;
    font-size: 10px;
}

/* Solutions */
.fialeo-home .solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
}

.fialeo-home .solution-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 390px;
    padding: 36px;
    border: 1px solid var(--fialeo-line);
    border-radius: 19px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(25, 55, 90, 0.035);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.fialeo-home .solution-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(25, 55, 90, 0.09);
}

.fialeo-home .solution-icon {
    width: 59px;
    height: 59px;
    display: grid;
    place-items: center;
    margin-bottom: 24px;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(135deg, #2878c8, #17569d);
}

.fialeo-home .solution-card.stock .solution-icon {
    background: linear-gradient(135deg, #18a58a, #087e72);
}

.fialeo-home .solution-card h3 {
    margin: 0 0 7px;
    color: var(--fialeo-navy);
    font-size: 25px;
}

.fialeo-home .solution-subtitle {
    margin-bottom: 16px;
    color: var(--fialeo-blue);
    font-size: 13px;
    font-weight: 700;
}

.fialeo-home .solution-card p {
    margin: 0 0 21px;
    color: var(--fialeo-muted);
    font-size: 14px;
    line-height: 1.8;
}

.fialeo-home .solution-features {
    display: grid;
    gap: 12px;
    margin: 0 0 27px;
    padding: 0;
    list-style: none;
}

.fialeo-home .solution-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #52647a;
    font-size: 12px;
}

.fialeo-home .solution-features i {
    color: #20a17c;
}

.fialeo-home .solution-card .btn {
    align-self: flex-start;
    margin-top: auto;
}

/* Contact */
.fialeo-home .contact-section {
    padding: 80px 0;
    color: #fff;
    background: linear-gradient(115deg, #102b4e, #174f87);
}

.fialeo-home .contact-grid {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 45px;
}

.fialeo-home .contact-section h2 {
    margin: 0 0 14px;
    font-size: clamp(28px, 4vw, 38px);
    letter-spacing: -1px;
}

.fialeo-home .contact-section p {
    max-width: 650px;
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: 15px;
    line-height: 1.8;
}

.fialeo-home .contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.fialeo-home .contact-section .btn-primary {
    color: var(--fialeo-navy);
    background: #fff;
    box-shadow: none;
}

.fialeo-home .contact-section .btn-outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
    background: transparent;
}

/* =========================================================
   11. ANIMATIONS
========================================================= */

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 0.65s ease,
        transform 0.65s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* =========================================================
   12. RESPONSIVE (du plus grand au plus petit)
========================================================= */

/* Modules : 2 colonnes à partir de 768px, 4 à partir de 1200px */
@media (min-width: 768px) {
    .modules-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .modules-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* ---------- ≤ 1050px : menu mobile, tablettes ---------- */
@media (max-width: 1050px) {
    /* Header & menu RH */
    .rh-header .nav-wrap {
        position: relative !important;
        min-height: 70px;
    }

    .rh-header .rh-nav-toggle {
        display: inline-flex !important;
        position: relative;
        z-index: 10002;
        cursor: pointer;
    }

    .rh-header .rh-nav {
        display: none !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 10001;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0;
        padding: 15px 20px 22px;
        background: #fff;
        border-top: 1px solid #edf1f5;
        border-bottom: 1px solid #e8edf4;
        box-shadow: 0 15px 30px rgba(15, 45, 85, 0.12);
    }

    .rh-header .rh-nav.open {
        display: flex !important;
    }

    .rh-header .rh-nav .nav-link {
        display: flex;
        width: 100%;
        min-height: 46px;
        justify-content: space-between;
        padding: 13px 8px;
        font-size: 13px;
        text-align: left;
        white-space: normal;
        border-bottom: 1px solid #f0f3f6;
    }

    .rh-header .rh-nav > a.nav-link::after,
    .rh-header .rh-nav .rh-dropdown-toggle::after {
        display: none;
    }

    .rh-header .rh-nav-dropdown {
        display: block;
        width: 100%;
    }

    .rh-header .rh-dropdown-toggle {
        width: 100%;
    }

    .rh-header .rh-dropdown-menu {
        display: none;
        position: static;
        width: 100%;
        min-width: 0;
        margin: 5px 0 10px;
        padding: 5px 10px 10px 15px;
        background: #f8fafc;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .rh-header .rh-nav-dropdown.is-open .rh-dropdown-menu {
        display: block;
    }

    .rh-header .rh-dropdown-menu a {
        padding: 12px;
    }

    .rh-header .rh-nav .nav-cta {
        justify-content: center;
        width: 100%;
        margin: 13px 0 0;
        padding: 14px;
    }

    /* Dashboard, présentation, articles, tarifs */
    .rh-dashboard-lower {
        grid-template-columns: 1fr;
    }

    .rh-about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .rh-articles {
        grid-template-columns: 1fr;
    }

    .rh-articles > .rh-article-card:last-child {
        grid-column: auto;
    }

    .rh-pricing-grid {
        grid-template-columns: 1fr;
    }

    /* FAQ */
    .rh-faq-item summary {
        grid-template-columns: 28px 1fr 18px;
        gap: 9px;
    }

    .rh-faq-answer {
        padding-left: 37px;
    }

    /* Actualités */
    .rh-news-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .rh-news-header h2 {
        font-size: 25px;
    }

    .rh-news-image {
        height: 190px;
    }

    .rh-news-content {
        padding: 20px;
    }

    .rh-news-content h3,
    .rh-news-content p {
        min-height: auto;
    }

    /* Archives : 2 cartes par ligne, dernière carte seule centrée */
    .rh-archives-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 24px;
    }

    .rh-archives-grid > .rh-article-card {
        grid-column: span 2;
        padding: 24px;
    }

    .fialeo-rh
        .rh-archives-grid
        > .rh-article-card:nth-child(2n + 1):last-child {
        grid-column: 2 / span 2;
    }
}

/* ---------- ≤ 991px ---------- */
@media (max-width: 991px) {
    .fialeo-rh .rh-value-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rh-faq-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .rh-faq-layout .section-heading {
        padding-right: 0;
    }

    .rh-faq-layout .section-heading::after {
        display: none;
    }

    .fialeo-footer .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px 35px;
    }

    .fialeo-footer .footer-brand {
        grid-column: 1 / -1;
    }

    .fialeo-footer .footer-brand > p {
        max-width: 480px;
    }
}

/* ---------- ≤ 900px ---------- */
@media (max-width: 900px) {
    .main-nav {
        gap: 17px;
    }
    .hero-grid {
        gap: 25px;
    }
    .hero-content h1 {
        font-size: 46px;
    }
    .feature-grid-large {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .split-section {
        gap: 35px;
    }
    .sector-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---------- ≤ 768px : barre supérieure ---------- */
@media (max-width: 768px) {
    .rh-topbar {
        max-height: 90px;
    }

    .rh-topbar-inner {
        min-height: 44px;
        padding-top: 8px;
        padding-bottom: 8px;
        gap: 10px;
    }

    .rh-topbar-contact {
        gap: 8px 16px;
    }

    .rh-topbar-contact a {
        font-size: 11px;
        gap: 5px;
    }

    .rh-topbar-contact a:nth-child(2) {
        display: none;
    }

    .rh-topbar-language a {
        font-size: 11px;
    }

    .rh-topbar-language a span {
        display: none;
    }
}

/* ---------- ≤ 700px : mobiles ---------- */
@media (max-width: 700px) {
    .container {
        width: min(100% - 34px, 560px);
    }

    .site-header {
        height: 70px;
    }

    .nav-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 69px;
        padding: 18px 24px 24px;
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 15px 25px rgba(20, 50, 80, 0.08);
        align-items: stretch;
        gap: 0;
    }

    .main-nav.open {
        display: flex;
        flex-direction: column;
    }

    .main-nav > a:not(.btn) {
        padding: 12px 0;
        border-bottom: 1px solid #f0f3f6;
    }

    .nav-cta {
        margin-top: 14px;
    }

    .hero-section {
        padding-top: 50px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .hero-content h1 {
        font-size: 43px;
        letter-spacing: -2px;
    }

    .hero-lead {
        font-size: 14px;
    }

    /* .hero-visual {
        padding: 10px 0 35px;
    } */

    .dashboard-window {
        transform: none;
    }

    .dash-body {
        padding: 14px;
    }

    .dash-lower {
        grid-template-columns: 1fr;
    }

    .activity-card {
        display: none;
    }

    .floating-note {
        left: -5px;
    }

    .hero-bottom {
        margin-top: 25px;
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-bottom > div {
        gap: 13px 20px;
    }

    .section {
        padding: 70px 0;
    }

    .section-heading h2,
    .split-copy h2 {
        font-size: 34px;
    }

    .feature-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .feature-card {
        padding: 19px 16px;
    }

    /* .feature-card p {
        min-height: 100px;
    } */

    .split-section {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .workflow-card {
        padding: 20px;
    }

    .cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .cta-inner h2 {
        font-size: 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .footer-grid > div:first-child {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        gap: 10px;
        flex-direction: column;
    }

    .page-hero {
        padding: 60px 0;
    }

    .page-hero h1 {
        font-size: 38px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .pricing-card {
        padding: 28px;
    }

    .module-row {
        grid-template-columns: 28px 40px 1fr 18px;
        gap: 10px;
    }

    .module-row p {
        line-height: 1.5;
    }

    /* Actualités */
    .rh-news-card {
        flex-basis: 100%;
    }

    .rh-news-header {
        gap: 18px;
    }

    /* Archives : 1 carte par ligne */
    .rh-archives-grid {
        grid-template-columns: 1fr;
    }

    .rh-archives-grid > .rh-article-card,
    .fialeo-rh
        .rh-archives-grid
        > .rh-article-card:nth-child(2n + 1):last-child {
        grid-column: 1 / -1;
    }
}

/* ---------- ≤ 600px ---------- */
@media (max-width: 600px) {
    .rh-archives-grid {
        gap: 18px;
    }

    .rh-archives-grid > .rh-article-card {
        width: 100%;
        padding: 22px;
    }

    .rh-archive-icon {
        width: 44px;
        height: 44px;
        margin-bottom: 18px;
    }

    .rh-archives-grid .rh-article-meta {
        justify-content: flex-start;
        gap: 9px 12px;
    }

    .rh-archives-grid .rh-article-card h3 {
        font-size: 17px;
    }

    .rh-archives-grid .rh-article-card p {
        font-size: 14px;
        line-height: 1.7;
    }

    .fialeo-footer {
        padding-top: 48px;
    }

    .fialeo-footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-bottom: 35px;
    }

    .fialeo-footer .footer-brand {
        grid-column: auto;
    }

    .fialeo-footer .footer-column h4 {
        margin-bottom: 18px;
    }

    .fialeo-footer .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 13px;
        padding-top: 20px;
        padding-bottom: 22px;
    }
}

/* ---------- ≤ 480px ---------- */
@media (max-width: 480px) {
    .rh-header .brand img {
        width: 39px;
        height: 39px;
    }

    .rh-header .brand-copy strong {
        font-size: 20px;
    }

    .rh-header .rh-nav {
        padding-left: 16px;
        padding-right: 16px;
    }

    .fialeo-rh .rh-value-grid {
        grid-template-columns: 1fr;
    }

    .fialeo-rh .rh-value-grid .feature-card p {
        min-height: 0;
    }
}

/* ---------- ≤ 420px ---------- */
@media (max-width: 420px) {
    .feature-grid,
    .feature-grid-large {
        grid-template-columns: 1fr;
    }

    /* .feature-card p {
        min-height: 0;
    } */

    .form-row {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 37px;
    }

    .stat-grid {
        gap: 5px;
    }

    .stat-card {
        padding: 8px;
    }

    .stat-card strong {
        font-size: 17px;
    }

    .dash-heading h3 {
        font-size: 15px;
    }

    .period-pill {
        font-size: 7px;
    }
}

/* ---------- ≤ 380px : très petits écrans ---------- */
@media (max-width: 380px) {
    .rh-archives-grid {
        gap: 14px;
    }

    .rh-archives-grid > .rh-article-card {
        padding: 18px;
    }

    .rh-archives-grid .rh-article-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .fialeo-footer .footer-brand .brand-copy strong {
        font-size: 20px;
    }

    .fialeo-footer .footer-brand > p,
    .fialeo-footer .footer-column > p {
        font-size: 11px;
    }
}

/* =========================================================
   13. ACCESSIBILITÉ — RÉDUCTION DES ANIMATIONS
========================================================= */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    * {
        transition: none !important;
    }
}

/* =====================================================
   MENU DÉROULANT ESPACE CLIENT
===================================================== */

/* =====================================================
   MENU DÉROULANT ESPACE CLIENT
===================================================== */

/* CONTENEUR */
.client-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

/* BOUTON */
.client-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
}

.client-dropdown-toggle svg {
    width: 16px;
    height: 16px;
    transition: transform 0.25s ease;
}

/* SOUS-MENU */
.client-dropdown-menu {
    position: absolute;
    top: 58px;
    left: 50%;
    min-width: 240px;
    padding: 8px;
    background: #fff;
    border: 1px solid #e8edf4;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    z-index: 1000;

    /* Masqué par défaut */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 10px);

    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        visibility 0.2s ease;
}

/* OUVERTURE AU SURVOL ET AU CLAVIER */
.client-dropdown:hover .client-dropdown-menu,
.client-dropdown:focus-within .client-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

/* ROTATION DE LA FLÈCHE */
.client-dropdown:hover .client-dropdown-toggle svg,
.client-dropdown:focus-within .client-dropdown-toggle svg {
    transform: rotate(180deg);
}

/* LIENS DU SOUS-MENU */
.client-dropdown-menu > a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    color: #24364b;
    text-decoration: none;
    border-radius: 9px;
    transition: background 0.2s ease;
}

.client-dropdown-menu > a:hover {
    background: #f1f6fc;
}

/* ICÔNE PRINCIPALE */
.client-dropdown-menu > a > svg:first-child {
    width: 21px;
    height: 21px;
    color: #1769d2;
    flex-shrink: 0;
}

/* TEXTE */
.client-dropdown-menu > a > span {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 3px;
}

.client-dropdown-menu strong {
    font-size: 14px;
    font-weight: 700;
}

.client-dropdown-menu small {
    font-size: 12px;
    color: #8492a5;
}

/* ICÔNE DE LIEN EXTERNE */
.client-dropdown-menu > a > svg:last-child {
    width: 15px;
    height: 15px;
    margin-left: auto;
    color: #8a99aa;
    flex-shrink: 0;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 768px) {
    .client-dropdown {
        width: 100%;
    }

    .client-dropdown-toggle {
        width: 100%;
        justify-content: center;
    }

    .client-dropdown-menu {
        top: 100%;
        left: 50%;
        right: auto;
        width: 100%;
        min-width: 0;
    }
}

/* =====================================================
   APPAREILS SANS SURVOL
===================================================== */

@media (hover: none) {
    .client-dropdown:hover .client-dropdown-menu {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translate(-50%, 10px);
    }

    .client-dropdown:focus-within .client-dropdown-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translate(-50%, 0);
    }
}
