/**
 * LD Solutions - Hero & Header
 * Version minimaliste et professionnelle
 *
 * @package ldsolutions
 * @version 3.0.0
 */

/* Tokens (variables CSS) centralises dans assets/css/tokens.css */
/* Boutons (.lds-btn--*) centralises dans assets/css/components/buttons.css
   ATTENTION : copie defensive ci-dessous au cas ou buttons.css ne charge pas
   (les regles sont identiques a buttons.css - une seule source : buttons.css) */

/* ============================================================
   BOUTONS (copie defensive - source dans buttons.css)
   ============================================================ */

.lds-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    padding: 0 28px;
    border-radius: 16px;
    font-family: var(--lds-font, Arial, -apple-system, BlinkMacSystemFont, sans-serif);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.3px;
    cursor: pointer;
    outline: none;
    white-space: nowrap;
    text-decoration: none;
    transition: box-shadow 0.35s ease, transform 0.2s ease, border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
    z-index: 1;
}

a.lds-btn,
a.lds-btn:hover,
a.lds-btn:focus,
a.lds-btn:visited {
    text-decoration: none;
}

a.lds-btn--primary,
a.lds-btn--primary:hover,
a.lds-btn--primary:focus,
a.lds-btn--primary:visited {
    color: rgba(255, 255, 255, 0.95);
}

a.lds-btn--inverse,
a.lds-btn--inverse:visited,
a.lds-btn--inverse:hover,
a.lds-btn--inverse:focus {
    color: var(--lds-white, #ffffff);
}

a.lds-btn--cta,
a.lds-btn--cta:hover,
a.lds-btn--cta:focus,
a.lds-btn--cta:visited {
    color: var(--lds-white, #ffffff);
}

.lds-btn--primary {
    background: linear-gradient(135deg, var(--lds-btn-primary-1, #0a3fd0) 0%, var(--lds-btn-primary-2, #1a6aff) 100%);
    color: rgba(255, 255, 255, 0.95);
    border: 2.5px solid rgba(100, 170, 255, 0.5);
    box-shadow: 0 4px 12px rgba(18, 90, 248, 0.25), 0 2px 4px rgba(0, 0, 0, 0.1);
}

.lds-btn--primary::before,
.lds-btn--primary::after,
.lds-btn--primary:hover::before {
    display: none;
}

.lds-btn--primary:hover,
.lds-btn--primary:focus {
    background: linear-gradient(135deg, var(--lds-btn-primary-hover-1, #0d45da) 0%, var(--lds-btn-primary-hover-2, #2575ff) 100%);
    border-color: rgba(130, 190, 255, 0.6);
    color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 6px 20px rgba(18, 90, 248, 0.3), 0 2px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.lds-btn--primary:active {
    transform: translateY(1px);
    box-shadow: 0 2px 8px rgba(18, 90, 248, 0.2), 0 1px 4px rgba(0, 0, 0, 0.1);
}

.lds-btn--inverse {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.09) 100%);
    color: var(--lds-white, #ffffff);
    border: 2.5px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.lds-btn--inverse::before,
.lds-btn--inverse:hover::before {
    display: none;
}

.lds-btn--inverse:hover,
.lds-btn--inverse:focus {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.15) 100%);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--lds-white, #ffffff);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transform: translateY(-1px);
}

.lds-btn--inverse:active {
    transform: translateY(1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.lds-btn--cta {
    background: linear-gradient(135deg, #011540 0%, var(--lds-navy-light, #0A2A6E) 100%);
    color: rgba(255, 255, 255, 0.95);
    border: 2.5px solid rgba(100, 150, 255, 0.5);
    box-shadow: 0 4px 12px rgba(2, 27, 80, 0.25), 0 2px 4px rgba(0, 0, 0, 0.1);
}

.lds-btn--cta::before,
.lds-btn--cta::after,
.lds-btn--cta:hover::before {
    display: none;
}

.lds-btn--cta:hover,
.lds-btn--cta:focus {
    background: linear-gradient(135deg, var(--lds-navy, #021B50) 0%, #0d3580 100%);
    border-color: rgba(130, 170, 255, 0.6);
    color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 6px 20px rgba(2, 27, 80, 0.3), 0 2px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.lds-btn--cta:active {
    transform: translateY(1px);
    box-shadow: 0 2px 8px rgba(2, 27, 80, 0.2), 0 1px 4px rgba(0, 0, 0, 0.1);
}

.lds-btn--outline {
    background: transparent;
    color: var(--lds-navy, #021B50);
    border: 2.5px solid rgba(2, 27, 80, 0.25);
    box-shadow: none;
}

.lds-btn--outline:hover,
.lds-btn--outline:focus {
    background: rgba(2, 27, 80, 0.04);
    border-color: rgba(2, 27, 80, 0.5);
    color: var(--lds-navy, #021B50);
}

.lds-btn--outline-light {
    background: transparent;
    color: var(--lds-navy, #021B50);
    border: 2.5px solid rgba(2, 27, 80, 0.2);
    box-shadow: none;
}

.lds-btn--outline-light:hover,
.lds-btn--outline-light:focus {
    background: rgba(2, 27, 80, 0.05);
    border-color: rgba(2, 27, 80, 0.4);
    color: var(--lds-navy, #021B50);
}

.lds-btn--outline-light svg {
    stroke: var(--lds-navy, #021B50);
    margin-right: 8px;
}

.lds-btn--sm {
    height: 48px;
    padding: 0 26px;
    font-size: 0.9375rem;
    border-radius: 12px;
}

.lds-btn--large {
    height: 60px;
    padding: 0 32px;
    font-size: 1.0625rem;
}

.wp-block-button__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    padding: 0 28px;
    border-radius: 16px;
    font-family: var(--lds-font, Arial, -apple-system, BlinkMacSystemFont, sans-serif);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.3px;
    cursor: pointer;
    outline: none;
    white-space: nowrap;
    text-decoration: none;
    background: linear-gradient(135deg, var(--lds-btn-primary-1, #0a3fd0) 0%, var(--lds-btn-primary-2, #1a6aff) 100%);
    color: rgba(255, 255, 255, 0.95);
    border: 2.5px solid rgba(100, 170, 255, 0.5);
    box-shadow: 0 4px 12px rgba(18, 90, 248, 0.25), 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.35s ease, transform 0.2s ease, border-color 0.3s ease, background 0.3s ease;
    z-index: 1;
}

.wp-block-button__link:hover {
    background: linear-gradient(135deg, var(--lds-btn-primary-hover-1, #0d45da) 0%, var(--lds-btn-primary-hover-2, #2575ff) 100%);
    border-color: rgba(130, 190, 255, 0.6);
    box-shadow: 0 6px 20px rgba(18, 90, 248, 0.3), 0 2px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

/* ============================================================
   HEADER
   ============================================================ */

.lds-header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.5rem 1rem;
    background: linear-gradient(180deg, rgba(2, 27, 80, 0.4) 0%, rgba(2, 27, 80, 0.15) 70%, transparent 100%);
    /* Proprietes explicites plutot que `all` : `all` animait aussi la
       geometrie du header, et le menu mobile — positionne en absolute sous
       lui — derivait pendant les 0.3s de transition vers l'etat scrolled. */
    transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
    overflow: visible;
}

.lds-header-wrapper.scrolled {
    padding: 0.5rem 1rem;
    background: var(--lds-white, #ffffff);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.lds-header {
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
}

/* ============================================================
   TOPBAR - Ligne 1 avec réseaux sociaux et téléphone
   ============================================================ */

.lds-header__topbar {
    width: 100%;
    padding: 10px 0 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.lds-header__topbar-content {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.25rem;
}

.lds-topbar__phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--lds-font, Arial, -apple-system, BlinkMacSystemFont, sans-serif);
    font-size: 1rem;
    font-weight: 400;
    color: var(--lds-white, #ffffff);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.lds-topbar__phone:hover {
    opacity: 1;
    color: var(--lds-white, #ffffff);
}

.lds-topbar__phone svg {
    width: 20px;
    height: 20px;
}

/* Partie droite de la topbar */
.lds-topbar__right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.lds-topbar__cta {
    margin-left: 0.5rem;
    font-size: 1rem;
}

/* Topbar scrolled */
.lds-header-wrapper.scrolled .lds-header__topbar {
    display: none;
}

.lds-header-wrapper.scrolled .lds-topbar__phone {
    color: var(--lds-navy, #021B50);
}

.lds-header-wrapper.scrolled .lds-topbar__phone:hover {
    color: var(--lds-blue, #125AF8);
}

/* Réinitialiser les marges des menus au scroll (topbar masqué) */
.lds-header-wrapper.scrolled .lds-header__left,
.lds-header-wrapper.scrolled .lds-header__right {
    align-items: center;
}

.lds-header-wrapper.scrolled .lds-header__row {
    padding: 0;
}

.lds-header__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    max-width: 100%;
    overflow: visible;
    margin: 0 auto;
    padding: 14px 0;
}

/* Partie gauche : navigation */
.lds-header__left {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    padding-right: 20px;
}

/* Réseaux sociaux dans la topbar */
.lds-header__topbar .lds-social {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.lds-header__topbar .lds-social__link svg {
    width: 22px;
    height: 22px;
}

/* Navigation gauche */
.lds-nav--left {
    justify-content: flex-end;
}

/* Partie droite : navigation */
.lds-header__right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    padding-left: 20px;
}

/* Navigation droite */
.lds-nav--right {
    justify-content: flex-start;
}

/* Logo - Centré, chevauche topbar et nav */
.lds-logo {
    position: relative;
    display: block;
    flex-shrink: 0;
    height: 52px;
    transition: height 0.3s ease;
    z-index: 10;
}

.lds-logo__img {
    height: 100%;
    width: auto;
    display: block;
    transition: all 0.3s ease;
}

/* Logo light (blanc) visible par défaut, logo dark masqué */
.lds-logo__img--light {
    display: block;
}

.lds-logo__img--dark {
    display: none;
}

/* Au scroll : inverse les logos */
.lds-header-wrapper.scrolled .lds-logo__img--light {
    display: none;
}

.lds-header-wrapper.scrolled .lds-logo__img--dark {
    display: block;
}

.lds-header-wrapper.scrolled .lds-logo {
    height: 38px;
}

/* Navigation */
.lds-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lds-nav__list {
    display: flex;
    align-items: center;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Item CTA dans la nav */
.lds-nav__item--cta {
    margin-left: 0.5rem;
}

.lds-nav__item {
    position: relative;
}

.lds-nav__link {
    position: relative;
    display: inline-block;
    padding: 1rem 1.25rem;
    font-family: var(--lds-font-heading, 'Chillax', Arial, -apple-system, BlinkMacSystemFont, sans-serif);
    font-size: 1.375rem;
    font-weight: 500;
    color: var(--lds-white, #ffffff);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    opacity: 0.85;
    transition: opacity 0.2s ease;
    white-space: nowrap;
}

.lds-nav__link:hover {
    color: var(--lds-white, #ffffff);
    opacity: 1;
}

/* Header scrolled - textes navy */
.lds-header-wrapper.scrolled .lds-nav__link {
    color: var(--lds-navy, #021B50);
    opacity: 0.7;
    font-size: 1.125rem;
}

.lds-header-wrapper.scrolled .lds-nav__link:hover {
    color: var(--lds-blue, #125AF8);
    opacity: 1;
}

/* Header CTA */
.lds-nav__cta {
    margin-left: 1rem;
}

/* CTA scrolled - garder bleu électrique (sans glow) */
.lds-header-wrapper.scrolled .lds-nav__cta {
    background: linear-gradient(135deg, #0a3fd0 0%, #1a6aff 100%);
    color: rgba(255, 255, 255, 0.95);
    border: 2.5px solid rgba(100, 170, 255, 0.5);
    box-shadow:
        0 4px 12px rgba(18, 90, 248, 0.25),
        0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.lds-header-wrapper.scrolled .lds-nav__cta:hover {
    background: linear-gradient(135deg, #0d45da 0%, #2575ff 100%);
    color: rgba(255, 255, 255, 0.95);
    border-color: rgba(130, 190, 255, 0.6);
    box-shadow:
        0 6px 20px rgba(18, 90, 248, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

/* Réseaux sociaux */
.lds-social {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.lds-social__link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lds-white, #ffffff);
    opacity: 0.8;
    transition: all 0.2s ease;
}

.lds-social__link:hover {
    color: var(--lds-white, #ffffff);
    opacity: 1;
    transform: translateY(-2px);
}

.lds-social__link svg {
    width: 18px;
    height: 18px;
}

/* Réseaux sociaux scrolled */
.lds-header-wrapper.scrolled .lds-social__link {
    color: var(--lds-navy, #021B50);
    opacity: 0.7;
}

.lds-header-wrapper.scrolled .lds-social__link:hover {
    color: var(--lds-blue, #125AF8);
    opacity: 1;
}

/* Mobile toggle */
.lds-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: 2px solid var(--lds-white, #ffffff);
    border-radius: 8px;
    color: var(--lds-white, #ffffff);
    cursor: pointer;
    transition: all 0.2s ease;
}

.lds-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.lds-header-wrapper.scrolled .lds-menu-toggle {
    border-color: var(--lds-navy, #021B50);
    color: var(--lds-navy, #021B50);
}

.lds-header-wrapper.scrolled .lds-menu-toggle:hover {
    background: rgba(2, 27, 80, 0.05);
    border-color: var(--lds-navy, #021B50);
    color: var(--lds-navy, #021B50);
}

.lds-menu-toggle__icon {
    width: 24px;
    height: 24px;
}

.lds-menu-toggle__icon--close {
    display: none;
}

.lds-menu-toggle[aria-expanded="true"] .lds-menu-toggle__icon--open {
    display: none;
}

.lds-menu-toggle[aria-expanded="true"] .lds-menu-toggle__icon--close {
    display: block;
}

/* ============================================================
   MENU MOBILE
   ------------------------------------------------------------
   Panneau deroulant ancre sous le header fixe.

   Parti pris : un rail vertical se dessine a l'ouverture et
   chaque entree s'y accroche par un point. L'image evoque une
   infrastructure reseau — le metier de LD Solutions — sans
   illustration litterale. C'est le seul element decoratif du
   panneau ; tout le reste reste volontairement sobre.
   ============================================================ */

.lds-mobile-menu {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 1.5rem;
    right: 1.5rem;
    z-index: 10;

    /* Surface opaque en valeur explicite : le panneau se detache
       d'un hero navy, et une valeur en dur le met a l'abri d'une
       variable redefinie plus loin dans la cascade — c'est ce qui
       assombrissait le fond et rendait les libelles illisibles. */
    background: #ffffff;
    border-radius: 4px 20px 20px 20px;
    padding: 1.25rem 1.25rem 1rem;
    box-shadow:
        0 24px 60px rgba(2, 27, 80, 0.18),
        0 4px 12px rgba(2, 27, 80, 0.08);

    /* Le header est `fixed` : sans hauteur maximale, le bas du
       panneau sortait de l'ecran sur les petits mobiles.
       `--lds-header-h` est publiee par header.js et suit la
       hauteur reelle du header, qui varie selon l'etat scrolled. */
    max-height: calc(100vh - var(--lds-header-h, 120px) - 2rem);
    max-height: calc(100dvh - var(--lds-header-h, 120px) - 2rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;

    /* Etat ferme. `visibility` plutot que `display: none` : il faut
       une propriete animable pour fermer en fondu au lieu d'une
       disparition seche. */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px) scale(0.985);
    transform-origin: top center;
    transition:
        opacity 0.34s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.34s cubic-bezier(0.16, 1, 0.3, 1),
        visibility 0.34s;
}

/* Filet superieur : rappel de l'accent de marque. */
.lds-mobile-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #125AF8 0%, #021B50 100%);
    border-radius: 4px 20px 0 0;
}

.lds-mobile-menu[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

/* ------------------------------------------------------------
   Navigation
   ------------------------------------------------------------ */

.lds-mobile-menu__list {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0.25rem 0 0.25rem 1.125rem;
}

/* Le rail se trace de haut en bas a l'ouverture. */
.lds-mobile-menu__list::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    bottom: 0.5rem;
    width: 2px;
    border-radius: 2px;
    background: linear-gradient(180deg, #021B50 0%, #125AF8 100%);
    transform: scaleY(0);
    transform-origin: top center;
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.08s;
}

.lds-mobile-menu[aria-hidden="false"] .lds-mobile-menu__list::before {
    transform: scaleY(1);
}

.lds-mobile-menu__list li {
    opacity: 0;
    transform: translateX(-8px);
    transition:
        opacity 0.4s ease,
        transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lds-mobile-menu[aria-hidden="false"] .lds-mobile-menu__list li {
    opacity: 1;
    transform: translateX(0);
}

/* Cascade : les entrees apparaissent dans le sillage du rail. */
.lds-mobile-menu[aria-hidden="false"] .lds-mobile-menu__list li:nth-child(1) { transition-delay: 0.10s; }
.lds-mobile-menu[aria-hidden="false"] .lds-mobile-menu__list li:nth-child(2) { transition-delay: 0.15s; }
.lds-mobile-menu[aria-hidden="false"] .lds-mobile-menu__list li:nth-child(3) { transition-delay: 0.20s; }
.lds-mobile-menu[aria-hidden="false"] .lds-mobile-menu__list li:nth-child(4) { transition-delay: 0.25s; }
.lds-mobile-menu[aria-hidden="false"] .lds-mobile-menu__list li:nth-child(5) { transition-delay: 0.30s; }
.lds-mobile-menu[aria-hidden="false"] .lds-mobile-menu__list li:nth-child(6) { transition-delay: 0.35s; }
.lds-mobile-menu[aria-hidden="false"] .lds-mobile-menu__list li:nth-child(7) { transition-delay: 0.40s; }
.lds-mobile-menu[aria-hidden="false"] .lds-mobile-menu__list li:nth-child(n+8) { transition-delay: 0.45s; }

.lds-mobile-menu__link {
    position: relative;
    display: block;
    padding: 0.8125rem 0.5rem 0.8125rem 0.875rem;
    /* Chillax en casse normale : le uppercase + letter-spacing
       elargi de l'ancienne version allongeait les libelles et
       nuisait a la lisibilite sur petit ecran. L'uppercase est
       desormais reserve aux etiquettes utilitaires. */
    font-family: var(--lds-font-heading, 'Chillax', Arial, sans-serif);
    font-size: 1.0625rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #021B50;
    text-decoration: none;
    border-radius: 8px;
    transition:
        color 0.2s ease,
        background 0.2s ease;
}

/* Le point qui accroche l'entree au rail. Le halo blanc masque
   le rail derriere lui pour que la jonction reste nette. */
.lds-mobile-menu__link::before {
    content: '';
    position: absolute;
    left: calc(-1.125rem + 1px);
    top: 50%;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #125AF8;
    box-shadow: 0 0 0 3px #ffffff;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.24s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Etats tactiles et page courante. */
.lds-mobile-menu__link:active,
.lds-mobile-menu__link[aria-current="page"] {
    color: #125AF8;
    background: rgba(18, 90, 248, 0.06);
}

.lds-mobile-menu__link:active::before,
.lds-mobile-menu__link[aria-current="page"]::before {
    transform: translate(-50%, -50%) scale(1);
}

/* Survol reserve aux pointeurs fins : sur tactile, :hover reste
   actif apres le contact et laisserait des entrees allumees. */
@media (hover: hover) and (pointer: fine) {
    .lds-mobile-menu__link:hover {
        color: #125AF8;
        background: rgba(18, 90, 248, 0.06);
    }

    .lds-mobile-menu__link:hover::before {
        transform: translate(-50%, -50%) scale(1);
    }
}

/* ------------------------------------------------------------
   Appel a l'action
   ------------------------------------------------------------ */

.lds-mobile-menu__cta {
    margin-top: 1.125rem;
    width: 100%;
    justify-content: center;
}

/* ------------------------------------------------------------
   Ligne directe et reseaux sociaux
   ------------------------------------------------------------ */

.lds-mobile-menu__social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(2, 27, 80, 0.08);
}

.lds-mobile-menu__social-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    border-radius: 10px;
    transition:
        color 0.2s ease,
        background 0.2s ease;
}

/* Le telephone est la premiere entree du bloc. En B2B mobile
   l'appel est l'action decisive : pleine largeur, en Chillax. */
.lds-mobile-menu__social-link:first-child {
    flex: 1 1 100%;
    justify-content: center;
    gap: 0.625rem;
    padding: 0.875rem;
    font-family: var(--lds-font-heading, 'Chillax', Arial, sans-serif);
    font-size: 1.0625rem;
    font-weight: 600;
    color: #021B50;
    background: rgba(2, 27, 80, 0.04);
}

.lds-mobile-menu__social-link:first-child:active {
    color: #125AF8;
    background: rgba(18, 90, 248, 0.08);
}

/* Les trois reseaux tiennent sur une rangee d'icones : en
   colonne avec leurs libelles, ils occupaient a eux seuls la
   moitie de la hauteur du panneau. */
.lds-mobile-menu__social-link:not(:first-child) {
    flex: 1;
    justify-content: center;
    padding: 0.75rem;
    color: #6B7280;
    background: rgba(2, 27, 80, 0.03);
}

.lds-mobile-menu__social-link:not(:first-child):active {
    color: #125AF8;
    background: rgba(18, 90, 248, 0.08);
}

/* Le libelle reste porte par l'attribut aria-label du lien. */
.lds-mobile-menu__social-link:not(:first-child) span {
    display: none;
}

.lds-mobile-menu__social-link svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

@media (hover: hover) and (pointer: fine) {
    .lds-mobile-menu__social-link:hover {
        color: #125AF8;
        background: rgba(18, 90, 248, 0.08);
    }
}

/* ------------------------------------------------------------
   Accessibilite
   ------------------------------------------------------------ */

.lds-mobile-menu a:focus-visible {
    outline: 2px solid #125AF8;
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .lds-mobile-menu,
    .lds-mobile-menu__list::before,
    .lds-mobile-menu__list li,
    .lds-mobile-menu__link::before {
        transition-duration: 0.01ms !important;
        transition-delay: 0ms !important;
    }
}

/* Filet de securite : le panneau ne doit jamais apparaitre au
   dela du point de bascule ou le bouton hamburger disparait. */
@media (min-width: 1201px) {
    .lds-mobile-menu {
        display: none;
    }
}

/* ============================================================
   HERO WRAPPER
   ============================================================ */

.lds-hero-wrapper {
    background: var(--lds-white, #ffffff);
    padding: 0;
}

/* ============================================================
   HERO
   ============================================================ */

.lds-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 180px 2rem 80px;
    overflow: hidden;
    border-radius: 0;
}

/* Background */
.lds-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    border-radius: 0;
    overflow: hidden;
}

.lds-hero__bg-img {
    width: 100%;
    height: 120%;
    object-fit: cover;
    will-change: transform;
    transform: translateY(0);
    transition: transform 0.1s linear;
}

/* Parallax pour tous les page-hero */
.page-hero__bg-img,
.sp-hero__bg-img {
    width: 100%;
    height: 120%;
    object-fit: cover;
    will-change: transform;
    transform: translateY(0);
    transition: transform 0.1s linear;
}

.lds-hero__bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(2, 27, 80, 0.7);
    border-radius: 0;
}

.lds-hero__container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
}

/* Badge */
.lds-hero__badge {
    display: inline-block;
    margin-bottom: 2rem;
    padding: 0.5rem 1.25rem;
    font-family: var(--lds-font, Arial, -apple-system, BlinkMacSystemFont, sans-serif);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--lds-white, #ffffff);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
}

/* Titre */
.lds-hero__title {
    margin: 0 0 1.5rem;
    font-family: var(--lds-font-heading, 'Chillax', Arial, -apple-system, BlinkMacSystemFont, sans-serif);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--lds-white, #ffffff);
}

.lds-hero__title span {
    color: var(--lds-white, #ffffff);
}

/* Description */
.lds-hero__desc {
    margin: 0 auto 2.5rem;
    max-width: 640px;
    font-family: var(--lds-font, Arial, -apple-system, BlinkMacSystemFont, sans-serif);
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

/* CTAs */
.lds-hero__cta {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 3rem;
}

/* Valeurs - Marquee défilant */
.lds-hero__marquee {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.lds-hero__marquee-track {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    width: max-content;
    animation: marquee 25s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.lds-hero__value {
    font-family: var(--lds-font, Arial, -apple-system, BlinkMacSystemFont, sans-serif);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
}

.lds-hero__value-separator {
    font-family: var(--lds-font, Arial, -apple-system, BlinkMacSystemFont, sans-serif);
    font-size: 0.8125rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.4);
}


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

/* Écrans moyens - Réduire la taille du header */
@media (max-width: 1600px) {
    .lds-nav__link {
        padding: 0.75rem 0.75rem;
        font-size: 1.125rem;
    }

    .lds-nav__list {
        gap: 0.5rem;
    }

    .lds-logo {
        height: 48px;
    }

    .lds-header__row {
        gap: 1rem;
    }

    /* Topbar réduite */
    .lds-header__topbar {
        padding: 8px 0 5px;
    }

    .lds-topbar__phone {
        font-size: 0.9375rem;
    }

    .lds-topbar__phone svg {
        width: 18px;
        height: 18px;
    }

    .lds-header__topbar .lds-social {
        gap: 1rem;
    }

    .lds-header__topbar .lds-social__link svg {
        width: 20px;
        height: 20px;
    }

    .lds-topbar__cta {
        font-size: 0.9375rem;
    }
}

@media (max-width: 1400px) {
    .lds-nav__link {
        padding: 0.5rem 0.4rem;
        font-size: 0.85rem;
    }

    .lds-nav__list {
        gap: 0;
    }

    .lds-logo {
        height: 41px;
    }

    .lds-header__left,
    .lds-header__right {
        padding-left: 5px;
        padding-right: 5px;
    }

    .lds-header__row {
        gap: 0.25rem;
    }

    /* Topbar encore plus réduite */
    .lds-header__topbar {
        padding: 4px 0 3px;
    }

    .lds-topbar__phone {
        font-size: 0.8125rem;
        gap: 5px;
    }

    .lds-topbar__phone svg {
        width: 14px;
        height: 14px;
    }

    .lds-header__topbar .lds-social {
        gap: 0.5rem;
    }

    .lds-header__topbar .lds-social__link svg {
        width: 16px;
        height: 16px;
    }

    .lds-topbar__right {
        gap: 0.75rem;
    }

    .lds-topbar__cta {
        font-size: 0.75rem;
        height: 36px;
        padding: 0 14px;
    }

    .lds-header-wrapper.scrolled .lds-nav__link {
        font-size: 0.8125rem;
        padding: 0.4rem 0.3rem;
    }
}

@media (max-width: 1280px) {
    .lds-nav__link {
        padding: 0.4rem 0.3rem;
        font-size: 0.75rem;
    }

    .lds-logo {
        height: 38px;
    }

    .lds-header__left,
    .lds-header__right {
        padding-left: 3px;
        padding-right: 3px;
    }

    .lds-header-wrapper.scrolled .lds-nav__link {
        font-size: 0.75rem;
    }
}

/* Passer au menu mobile */
@media (max-width: 1200px) {
    .lds-header__topbar {
        display: none;
    }

    .lds-header__left {
        display: none;
    }

    .lds-nav {
        display: none;
    }

    .lds-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .lds-logo {
        height: 41px;
    }

    .lds-header__right {
        flex: 0;
        padding-left: 0;
    }
}

@media (max-width: 1024px) {
    .lds-header-wrapper {
        padding: 0.75rem 1.5rem;
    }

    .lds-header-wrapper.scrolled {
        padding: 0.5rem 1.5rem;
    }

    .lds-header__topbar {
        display: none;
    }

    .lds-logo {
        height: 38px;
    }

    .lds-header-wrapper.scrolled .lds-logo {
        height: 32px;
    }

    .lds-header__left {
        display: none;
    }

    .lds-nav {
        display: none;
    }

    .lds-social {
        display: none;
    }

    .lds-nav__cta {
        display: none;
    }

    .lds-header__row {
        justify-content: space-between;
    }

    .lds-header__right {
        flex: 0;
    }

    .lds-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .lds-header-wrapper {
        padding: 0.5rem 1rem;
    }

    .lds-header-wrapper.scrolled {
        padding: 0.5rem 1rem;
    }

    .lds-logo {
        height: 30px;
    }

    .lds-header-wrapper.scrolled .lds-logo {
        height: 27px;
    }

    .lds-menu-toggle {
        width: 44px;
        height: 44px;
    }

    .lds-mobile-menu {
        left: 1rem;
        right: 1rem;
        /* Conserve l'angle asymetrique de la marque : un rayon
           uniforme de 12px l'effacait sur les petits ecrans,
           precisement la ou le panneau est le plus visible. */
        border-radius: 4px 16px 16px 16px;
        padding: 1.125rem 1.125rem 0.875rem;
    }

    .lds-mobile-menu::before {
        border-radius: 4px 16px 0 0;
    }

    .lds-hero-wrapper {
        padding: 0;
    }

    .lds-hero {
        padding: 100px 1.5rem 60px;
        min-height: 100vh;
        min-height: 100dvh;
    }

    .lds-hero__badge {
        margin-bottom: 1.5rem;
        font-size: 0.6875rem;
    }

    .lds-hero__title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
        line-height: 1.2;
    }

    .lds-hero__desc {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .lds-hero__cta {
        flex-direction: column;
        margin-bottom: 2.5rem;
    }

    .lds-hero__cta .lds-btn {
        width: 100%;
        justify-content: center;
    }

    .lds-hero__values {
        gap: 1rem;
    }

    .lds-hero__value {
        font-size: 0.75rem;
    }
}

/* ============================================================
   ADMIN BAR
   ============================================================ */

body.admin-bar .lds-header-wrapper {
    top: 32px;
}

body.admin-bar .lds-hero {
    padding-top: 210px;
}

@media (max-width: 782px) {
    body.admin-bar .lds-header-wrapper {
        top: 46px;
    }

    body.admin-bar .lds-hero {
        padding-top: 130px;
    }
}
