/* ============================================================
   NOCTAMBUS – Refonte page d'accueil
   Couleurs en CSS custom properties (roots)
   Typo : PP Monument Extended (titres) / PP Monument Wide (textes)
   ============================================================ */

/* ---------- ROOTS / VARIABLES ---------- */
@font-face {
    font-family: 'PP Monument Extended';
    src: url('../layout/typo/PPMonumentExtended-Regular.woff2') format('woff2'),
        url('../layout/typo/PPMonumentExtended-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PP Monument Extended';
    src: url('../layout/typo/PPMonumentExtended-Bold.woff2') format('woff2'),
        url('../layout/typo/PPMonumentExtended-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PP Monument Extended';
    src: url('../layout/typo/PPMonumentExtended-Black.woff2') format('woff2'),
        url('../layout/typo/PPMonumentExtended-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PP Monument Wide';
    src: url('../layout/typo/PPMonumentWide-Regular.woff2') format('woff2'),
        url('../layout/typo/PPMonumentWide-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PP Monument Wide';
    src: url('../layout/typo/PPMonumentWide-Medium.woff2') format('woff2'),
        url('../layout/typo/PPMonumentWide-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PP Monument Wide';
    src: url('../layout/typo/PPMonumentWide-Bold.woff2') format('woff2'),
        url('../layout/typo/PPMonumentWide-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Couleurs principales */
    --color-primary: #3D39A6;
    /* Bleu Noctambus – fond principal */
    --color-primary-dark: #3D39A6;
    /* Bleu foncé – hover, nuances */
    --color-primary-deeper: #3D39A6;
    /* Bleu profond – footer */
    --color-orange: #E85F2F;
    /* Orange accent – boutons, tags */
    --color-orange-hover: #E85F2F;
    /* Orange foncé – hover */
    --color-white: #F2F2F2;
    --color-off-white: #FFFFFF;
    /* Fond clair sections */
    --color-black: #292929;
    --color-gray-100: #E8E8F0;
    --color-gray-200: #C8C8D8;
    --color-gray-400: #8888A8;
    --color-gray-600: #555570;

    /* Typographie */
    --font-title: 'PP Monument Extended', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-body: 'PP Monument Wide', 'Helvetica Neue', Helvetica, Arial, sans-serif;

    /* Tailles */
    --fs-hero: clamp(2.4rem, 5vw, 4.2rem);
    --fs-hero-sub: clamp(1.6rem, 3.5vw, 2.8rem);
    --fs-h2: clamp(1.8rem, 3vw, 2.6rem);
    --fs-h3: clamp(1.1rem, 1.8vw, 1.35rem);
    --fs-body: clamp(0.88rem, 1.2vw, 1rem);
    --fs-small: clamp(0.75rem, 1vw, 0.85rem);
    --fs-label: clamp(0.7rem, 0.9vw, 0.8rem);

    /* Espaces */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;

    /* Rayons */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 999px;

    /* Transitions */
    --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration: 0.35s;
}


/* ---------- RESET & BASE ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: var(--fs-body);
    line-height: 1.6;
    color: var(--color-black);
    background-color: var(--color-white);
    overflow-x: hidden;
}

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

img {
    max-width: 100%;
    display: block;
}

button,
input {
    font-family: var(--font-body);
    border: none;
    outline: none;
    background: none;
    font-size: inherit;
}


/* ---------- HEADER ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: var(--space-sm) var(--space-lg);
    transition: background var(--duration) var(--ease-out),
        box-shadow var(--duration) var(--ease-out);
}

.header--scrolled {
    background: var(--color-primary-dark);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.header__inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__logo {
    display: flex;
    align-items: center;
    width: 200px;
}

.header__logo-icon {
    flex-shrink: 0;
}

.header__nav {
    display: flex;
    gap: var(--space-md);
}

.header__nav-link {
    color: var(--color-white);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: var(--fs-small);
    letter-spacing: 0.02em;
    opacity: 0.8;
    padding: 6px 18px;
    border-radius: var(--radius-full);
    border: 1.5px solid transparent;
    transition: opacity var(--duration) var(--ease-out),
        border-color var(--duration) var(--ease-out);
    position: relative;
    overflow: hidden;
}

/* ============================================================
   PAGE TRANSITION — Rideau bleu qui tombe
   ============================================================ */

.page-transition {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--color-primary);
    pointer-events: none;
    transform: translateY(-100%);
}

/* Sortie : rideau tombe de haut en bas */
.page-transition.is-leaving {
    animation: pt-down 0.45s cubic-bezier(0.65, 0, 0.35, 1) forwards;
    pointer-events: all;
}

/* Entrée : rideau remonte vers le haut */
.page-transition.is-entering {
    transform: translateY(0%);
    animation: pt-up 0.45s cubic-bezier(0.65, 0, 0.35, 1) forwards;
    animation-delay: 0.1s;
}

@keyframes pt-down {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0%);
    }
}

@keyframes pt-up {
    from {
        transform: translateY(0%);
    }

    to {
        transform: translateY(100%);
    }
}


.header__nav-link:hover {
    opacity: 1;
    border-color: rgba(255, 255, 255, 0.4);
}

.header__nav-link.active {
    opacity: 1;
    border-color: var(--color-white);
}

.header__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}

.header__burger span {
    width: 24px;
    height: 2px;
    background: var(--color-white);
    border-radius: 2px;
    transition: transform var(--duration) var(--ease-out),
        opacity var(--duration) var(--ease-out);
}

.header__burger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.header__burger.open span:nth-child(2) {
    opacity: 0;
}

.header__burger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* ---------- CURSEUR CUSTOM GLOBAL ---------- */
@media (hover: hover) and (min-width: 769px) {

    *,
    *::before,
    *::after {
        cursor: none !important;
    }
}

.cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 36px;
    height: 36px;
    border: 2px solid var(--color-white);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s var(--ease-out),
        height 0.2s var(--ease-out),
        border-color 0.2s var(--ease-out),
        background 0.2s var(--ease-out),
        opacity 0.2s var(--ease-out);
    mix-blend-mode: difference;
    will-change: left, top;
}

/* Curseur agrandi au hover des liens / boutons */
.cursor--hover {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.08);
}

/* Curseur en mode metaball dans le hero */
.cursor--erasing {
    width: 200px;
    height: 200px;
    border-color: rgba(255, 255, 255, 0.15);
    background: transparent;
    mix-blend-mode: normal;
}

/* Masquer sur tactile ET mobile */
@media (hover: none),
(max-width: 768px) {
    .cursor {
        display: none !important;
    }

    *,
    *::before,
    *::after {
        cursor: auto !important;
    }
}


/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--color-primary);
    overflow: hidden;
}

/* Image plein écran — z1, visible à travers les trous du masque */
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/*
   Div bleu pur — z2, masqué par le SVG mask.
   Le SVG mask utilise un filtre goo (blur + colormatrix)
   sur des cercles noirs dans un fond blanc.
   Blanc = bleu visible. Noir = trou → image visible.
*/
.hero__blue {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: var(--color-primary);
    pointer-events: none;
    mask: url(#metaballMask);
    -webkit-mask: url(#metaballMask);
}

/* SVG caché — contient le mask + filtre */
.hero__svg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: -1;
}

/* Textes — z3, positionnés dans les zones du S */
.hero__content {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

.hero__text-right {
    position: absolute;
    right: 12%;
    top: 32%;
    text-align: left;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s var(--ease-out) 0.3s forwards;
}

.hero__text-right-info {
    position: absolute;
    right: 18%;
    top: 32%;
    text-align: left;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s var(--ease-out) 0.3s forwards;
}

.hero__text-left {
    position: absolute;
    left: 15%;
    bottom: 28%;
    text-align: left;
    max-width: 800px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s var(--ease-out) 0.55s forwards;
}

.hero__title {
    font-family: var(--font-title);
    font-weight: 900;
    font-size: var(--fs-hero);
    color: var(--color-white);
    line-height: 1.15;
    letter-spacing: -0.08em;
    margin-bottom: var(--space-sm);
    text-shadow: 0 4px 40px rgba(0, 0, 0, 0.4);
}

.hero__title--accent {
    color: var(--color-orange);
}

.hero__subtitle {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: var(--fs-hero-sub);
    color: var(--color-white);
    line-height: 1.25;
    text-shadow: 0 4px 40px rgba(0, 0, 0, 0.4);
}

.hero__subtitle--italic {
    font-style: italic;
    color: var(--color-orange);
}

.hero__scroll {
    position: absolute;
    bottom: var(--space-xl);
    z-index: 3;
    color: var(--color-white);
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) 0.8s forwards,
        bounce 2s ease-in-out 1.5s infinite;
    pointer-events: auto;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(8px);
    }
}


/* ---------- SECTIONS (shared) ---------- */
.section {
    padding: var(--space-3xl) var(--space-lg);
}

.section__container-num {
    max-width: 1120px;
    margin: 0 auto;
    padding-bottom: 300px;
}

.section__container {
    max-width: 1120px;
    margin: 0 auto;
    padding-bottom: 0px;
}

.horaires {
    max-width: 1120px;
    margin: 0 auto;
}

.section__header {
    margin-bottom: var(--space-xl);
}

.section__header--row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.section__label {
    display: inline-block;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: var(--fs-small);
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-xs);
}

.section__label--orange {
    color: var(--color-orange);
}

.section__title {
    font-family: var(--font-title);
    font-weight: 900;
    font-size: var(--fs-h2);
    color: var(--color-black);
    line-height: 1;
    letter-spacing: -0.05em;
    padding-bottom: 20px;
}

.section__title--large {
    font-size: clamp(2rem, 4vw, 3.2rem);
}


/* ---------- À LA UNE – CARDS ---------- */
.alaune {
    background: var(--color-off-white);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: transform var(--duration) var(--ease-spring),
        box-shadow var(--duration) var(--ease-out);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(51, 51, 230, 0.1);
}

.card__tag {
    display: inline-block;
    align-self: flex-start;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: var(--fs-label);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    letter-spacing: 0.02em;
}

.card__tag--orange {
    background: rgba(255, 92, 40, 0.12);
    color: var(--color-orange);
}

.card__tag--blue {
    background: rgba(51, 51, 230, 0.1);
    color: var(--color-primary);
}

.card__tag--purple {
    background: rgba(120, 80, 200, 0.1);
    color: #6B40C4;
}

.card__title {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: var(--fs-h3);
    color: var(--color-black);
    line-height: 1.3;
}

.card__text {
    font-size: var(--fs-small);
    color: var(--color-gray-600);
    line-height: 1.6;
    flex: 1;
}

.card__btn {
    display: inline-block;
    align-self: flex-start;
    padding: 10px 22px;
    background: var(--color-orange);
    color: var(--color-white);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: var(--fs-small);
    border-radius: var(--radius-full);
    transition: background var(--duration) var(--ease-out),
        transform var(--duration) var(--ease-spring);
    cursor: pointer;
}

.card__btn:hover {
    background: var(--color-orange-hover);
    transform: scale(1.03);
}


/* ---------- PLANIFIER ---------- */
.planifier {
    background: var(--color-white);
    position: relative;
}



@keyframes floatIcon {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-12px) rotate(8deg);
    }
}

.planifier__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.planifier__card {
    background: var(--color-primary);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.planifier__card-header {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-title);
    font-weight: 700;
    font-size: var(--fs-h3);
}

.icone-itineraires {
    width: 10px;
}

.icone-clock {
    width: 30px;
}

.planifier__card-desc {
    font-size: var(--fs-small);
    opacity: 0.75;
}

.planifier__input-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.planifier__input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    color: var(--color-white);
    font-size: var(--fs-small);
    transition: background var(--duration) var(--ease-out),
        border-color var(--duration) var(--ease-out);
}

.planifier__input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.planifier__input:focus {
    background: rgba(255, 255, 255, 0.22);
    border-color: var(--color-orange);
}

.planifier__btn {
    width: 100%;
    padding: 12px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: var(--fs-small);
    cursor: pointer;
    transition: background var(--duration) var(--ease-out),
        transform var(--duration) var(--ease-spring);
}

.planifier__btn--primary {
    background: var(--color-orange);
    color: var(--color-white);
}

.planifier__btn--primary:hover {
    background: var(--color-orange-hover);
    transform: scale(1.02);
}

.planifier__btn--accent {
    background: var(--color-orange);
    color: var(--color-white);
}

.planifier__btn--accent:hover {
    background: var(--color-orange-hover);
    transform: scale(1.02);
}

.planifier__link {
    font-size: var(--fs-label);
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--duration) var(--ease-out);
    margin-top: auto;
}

.planifier__link:hover {
    color: var(--color-white);
}


/* ---------- SORTIES ---------- */
.sorties {
    background: var(--color-off-white);
}

.sorties__voir-plus {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    border: 1.5px solid var(--color-black);
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: var(--fs-small);
    transition: background var(--duration) var(--ease-out),
        color var(--duration) var(--ease-out);
}

.sorties__voir-plus:hover {
    background: var(--color-black);
    color: var(--color-white);
}

.sorties__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.event-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-white);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: transform var(--duration) var(--ease-spring),
        box-shadow var(--duration) var(--ease-out);
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(51, 51, 230, 0.1);
}

.event-card__image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.event-card__image-placeholder {
    width: 100%;
    height: 100%;
}

.event-card__badge {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-sm);
    padding: 4px 12px;
    background: rgba(255, 92, 40, 0.9);
    color: var(--color-white);
    font-size: var(--fs-label);
    font-weight: 600;
    border-radius: var(--radius-full);
    backdrop-filter: blur(8px);
}

.event-card__body {
    padding: var(--space-md);
}

.event-card__title {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: var(--fs-h3);
    color: var(--color-black);
    line-height: 1.3;
    margin-bottom: var(--space-xs);
}

.event-card__info {
    font-size: var(--fs-small);
    color: var(--color-gray-600);
    margin-bottom: var(--space-xs);
}

.event-card__tag {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(40, 200, 80, 0.12);
    color: #1A8C3C;
    font-size: var(--fs-label);
    font-weight: 600;
    border-radius: var(--radius-full);
}


/* ---------- À PROPOS ---------- */
.apropos {
    background: var(--color-white);
    overflow: hidden;
}

.apropos__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.apropos__content .section__title {
    margin-bottom: var(--space-md);
    word-break: break-word;
    overflow-wrap: break-word;
}

.apropos__text {
    color: var(--color-gray-600);
    font-size: var(--fs-body);
    line-height: 1.7;
    margin-bottom: var(--space-sm);
}

.apropos__visual {
    display: flex;
    justify-content: center;
}

.apropos__image-wrapper {
    position: relative;
    width: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.apropos__image-placeholder {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.apropos__icon-overlay {
    position: absolute;
    bottom: var(--space-lg);
    right: var(--space-lg);
    width: 64px;
    height: 64px;
    animation: floatIcon 5s ease-in-out infinite;
}


/* ---------- FOOTER ---------- */
.footer {
    background: var(--color-primary-deeper);
    color: var(--color-white);
    padding: var(--space-2xl) var(--space-lg) var(--space-lg);
}

.footer__inner {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__heading {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: var(--fs-small);
    opacity: 0.7;
    margin-bottom: var(--space-sm);
}

.footer__heading--mt {
    margin-top: var(--space-lg);
}

.footer__socials {
    display: flex;
    gap: var(--space-sm);
}

.footer__social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-white);
    transition: background var(--duration) var(--ease-out),
        transform var(--duration) var(--ease-spring);
}

.footer__social-link:hover {
    background: var(--color-orange);
    transform: scale(1.08);
}

.footer__stores {
    display: flex;
    gap: var(--space-sm);
}

.footer__store-link {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    color: var(--color-white);
    transition: background var(--duration) var(--ease-out);
}

.footer__store-link:hover {
    background: rgba(255, 255, 255, 0.18);
}

.footer__col {
    display: flex;
    flex-direction: column;
}

.footer__link {
    font-size: var(--fs-small);
    color: rgba(255, 255, 255, 0.6);
    padding: 4px 0;
    transition: color var(--duration) var(--ease-out);
}

.footer__link:hover {
    color: var(--color-white);
}

.footer__bottom {
    max-width: 1120px;
    margin: 0 auto;
    padding-top: var(--space-md);
    display: flex;
    justify-content: space-between;
}

.footer__legal {
    font-size: var(--fs-label);
    color: rgba(255, 255, 255, 0.35);
}


/* ---------- REVEAL ANIMATION ---------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease-out),
        transform 0.7s var(--ease-out);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}


/* ============================================================
   PAGE RÉSEAU
   ============================================================ */

/* ---------- JOURS ---------- */
.jours {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-xl);
}

.jours__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
    padding-bottom: 0;
}

.jours__arrow {
    width: 320px;
    height: auto;
    flex-shrink: 0;
}

.jours__title {
    font-family: var(--font-title);
    font-weight: 900;
    font-size: clamp(2rem, 5vw, 5rem);
    color: var(--color-primary);
    line-height: 1.1;
    letter-spacing: -0.03em;
    text-align: right;
    text-wrap: nowrap;
}

.jours__title--accent {
    color: var(--color-orange);
}

/* ---------- INTRO ---------- */
.intro {
    padding-top: 10;
    padding-bottom: 0px;
}

.intro__text {
    font-size: 1.3rem;
    color: var(--color-gray-600);
    line-height: 1.7;
    margin-bottom: var(--space-sm);
    max-width: 100%;
}

.intro__text strong {
    color: var(--color-orange);
    font-weight: 600;
}

.intro__link {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ---------- LIGNES SECTIONS ---------- */
.lignes-section {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);
    position: relative;
}

.lignes-section__title {
    margin-bottom: var(--space-md);
}

.lignes-section__deco {
    position: absolute;
    width: 100%;
    height: auto;
    margin: var(--space-sm) 0;
    display: block;
    overflow: visible;
    pointer-events: none;
}

.orange {
    left: 0px;
    top: -200px;
}

.violet {
    left: 0px;
    top: 400px;
}

.bleu {
    left: 0;
    top: 500px;
}

.vert {
    right: 450px;
    top: 300px;
    width: 80%;

}

.lignes-section__deco img {
    width: 100%;
    height: auto;
    display: block;
}

/* Inline SVG deco — stroke draw animation */
.lignes-section__deco svg {
    width: 100%;
    height: auto;
    display: block;
    overflow: visible;
}

.lignes-section__deco svg path {
    stroke-dasharray: 5000;
    stroke-dashoffset: 5000;
    transition: stroke-dashoffset 2.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.lignes-section__deco svg circle {
    opacity: 0;
    transition: opacity 0.5s ease 2s;
}

.lignes-section__deco.drawn svg path {
    stroke-dashoffset: 0;
}

.lignes-section__deco.drawn svg circle {
    opacity: 1;
}

.lignes-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    align-items: center;
    padding: var(--space-sm) 10;
}

.ligne-num {
    width: 100px;
    height: 100px;
    object-fit: contain;
    cursor: pointer;
}

.ligne-num:hover {
    transform: scale(1.15);
}

/* ---------- HORAIRES ---------- */
.horaires {
    padding-bottom: var(--space-3xl);
}

.horaires__layout {
    display: flex;
    gap: var(--space-xl);
    max-width: 1120px;
    margin: 0 auto;
    align-items: flex-start;
}

.horaires__sidebar {
    width: 340px;
    flex-shrink: 0;
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    padding: var(--space-lg);
    background: var(--color-primary);
    border-radius: var(--radius-xl);
    color: white;
}

/* Scrollbar discrète */
.horaires__sidebar::-webkit-scrollbar {
    width: 4px;
}

.horaires__sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

/* Titre dans le sidebar */
.horaires__heading {
    font-family: var(--font-title);
    font-weight: 900;
    font-size: var(--fs-h2);
    color: white;
    margin-bottom: var(--space-xs);
    line-height: 1.15;
}

.horaires__subtitle {
    font-size: var(--fs-small);
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
    margin-bottom: var(--space-md);
}

/* Filtres catégorie */
.horaires__filters {
    display: flex;
    gap: 6px;
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
}

.horaires__filter {
    padding: 7px 16px;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: var(--fs-small);
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.horaires__filter.active {
    background: var(--color-orange);
    color: white;
    border-color: var(--color-orange);
}

.horaires__filter:hover:not(.active) {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-color: rgba(255, 255, 255, 0.25);
}

/* Grille des lignes */
.horaires__lines {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}

.horaires__line-btn {
    width: 100%;
    aspect-ratio: 1;
    border: none;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.92);
    cursor: pointer;
    padding: 4px;
    transition: transform 0.2s var(--ease-spring), background 0.25s, box-shadow 0.25s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.horaires__line-btn img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.horaires__line-btn.active {
    background: white;
    box-shadow: 0 0 0 3px var(--color-orange);
    transform: scale(1.05);
}

.horaires__line-btn:hover:not(.active) {
    background: white;
    transform: scale(1.08);
}

/* Detail panel */
.horaires__detail {
    flex: 1;
    min-width: 0;
    overflow: visible;
}

.horaires__detail-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--color-gray-100);
}

.horaires__detail-num {
    font-family: var(--font-title);
    font-weight: 900;
    font-size: 3rem;
    color: var(--color-black);
    line-height: 1;
}

.horaires__reverse-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--color-gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: white;
    color: var(--color-gray-600);
    transition: border-color 0.25s, color 0.25s, transform 0.3s var(--ease-spring), background 0.25s;
}

.horaires__reverse-btn:hover {
    border-color: var(--color-orange);
    color: var(--color-orange);
    background: rgba(229, 85, 65, 0.06);
    transform: rotate(180deg);
}

.horaires__stops {
    position: relative;
    padding-left: 40px;
    margin-bottom: var(--space-xl);
    min-height: 480px;
}

.horaires__stops::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 0;
    bottom: 0;
    width: 4px;
    border-radius: 2px;
    background: var(--line-color, var(--color-primary));
}

.horaires__stop {
    position: relative;
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.horaires__stop::before {
    content: '';
    position: absolute;
    left: -32px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--line-color, var(--color-primary));
    border: 3px solid white;
    box-shadow: 0 0 0 2px var(--line-color, var(--color-primary));
    z-index: 1;
}

.horaires__stop--terminus::before {
    width: 18px;
    height: 18px;
    left: -34px;
    background: var(--color-orange);
    box-shadow: 0 0 0 2px var(--color-orange);
}

.horaires__stop-name {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: var(--fs-body);
    color: var(--color-black);
}

.horaires__stop-commune {
    font-size: var(--fs-small);
    color: var(--color-gray-400);
    margin-left: auto;
}

.horaires__stop-correspondances {
    display: flex;
    gap: 4px;
    margin-left: var(--space-xs);
}

.horaires__stop-corresp {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.horaires__map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-primary-dark);
    aspect-ratio: 16/10;
    width: 100%;
    position: relative;
    z-index: 0;
}

/* Curseur natif sur la map Leaflet */
.horaires__map *,
.horaires__map *::before,
.horaires__map *::after {
    cursor: auto !important;
}

.horaires__map .leaflet-grab {
    cursor: grab !important;
}

.horaires__map .leaflet-dragging .leaflet-grab {
    cursor: grabbing !important;
}

/* Dark tiles */
.horaires__map .leaflet-tile {
    filter: brightness(0.55) saturate(0.3) hue-rotate(200deg);
}

/* Leaflet controls */
.horaires__map .leaflet-control-zoom a {
    background: var(--color-primary) !important;
    color: white !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}

.horaires__map .leaflet-control-zoom a:hover {
    background: var(--color-orange) !important;
}

.horaires__map .leaflet-control-attribution {
    background: rgba(37, 35, 74, 0.8) !important;
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 9px !important;
}

.horaires__map .leaflet-control-attribution a {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Stop markers */
.map-stop-marker {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
}

.map-stop-marker--terminus {
    width: 14px;
    height: 14px;
}

/* Popups */
.map-stop-popup .leaflet-popup-content-wrapper {
    background: var(--color-primary);
    color: white;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: var(--fs-small);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.map-stop-popup .leaflet-popup-tip {
    background: var(--color-primary);
}

.map-stop-popup .leaflet-popup-content {
    margin: 10px 14px;
}

.map-stop-popup strong {
    font-weight: 700;
    display: block;
    margin-bottom: 2px;
}

.map-stop-popup span {
    opacity: 0.6;
    font-size: 0.85em;
}

/* Stops + Timetable côte à côte */
.horaires__stops-row {
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
    margin-bottom: var(--space-xl);
    min-height: 500px;
}

.horaires__stops-row .horaires__stops {
    flex: 1;
    min-width: 0;
    margin-bottom: 0;
}

/* Arrêts cliquables */
.horaires__stop {
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: background 0.15s;
}

.horaires__stop:hover {
    background: rgba(51, 51, 230, 0.04);
}

.horaires__stop.active {
    background: rgba(51, 51, 230, 0.08);
}

/* Timetable — colonne droite */
.horaires__timetable {
    width: 260px;
    flex-shrink: 0;
    padding: var(--space-md);
    background: var(--color-off-white);
    border-radius: var(--radius-lg);
    position: sticky;
    top: 80px;
}

.horaires__timetable-title {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: var(--fs-h3);
    color: var(--color-black);
    margin-bottom: var(--space-md);
    line-height: 1.3;
}

.horaires__timetable-grid {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.horaires__time {
    padding: 10px 14px;
    background: white;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: var(--fs-body);
    color: var(--color-black);
    border: 1px solid var(--color-gray-100);
    text-align: center;
    letter-spacing: 0.02em;
}

.horaires__time:first-child {
    border-color: var(--color-orange);
    color: var(--color-orange);
}

.horaires__time:last-child {
    border-color: var(--color-primary);
    color: var(--color-primary);
}


/* ============================================================
   ACTIVITÉS — LISTING PAGE
   ============================================================ */

.hero--short {
    min-height: 50vh;
}

/* Intro */
.act-intro__title {
    font-family: var(--font-title);
    font-weight: 900;
    font-size: clamp(1.8rem, 4vw, 3rem);
    color: var(--color-primary);
    line-height: 1.15;
    letter-spacing: -0.02em;
    max-width: 600px;
    margin-bottom: var(--space-md);
}

.act-intro__title-big {
    font-family: var(--font-title);
    font-weight: 900;
    font-size: clamp(1.8rem, 4vw, 3rem);
    color: var(--color-primary);
    line-height: 1.15;
    letter-spacing: -0.02em;
    max-width: 100%;
    margin-bottom: var(--space-md);
    align-items: center;
}

.act-intro__accent {
    color: var(--color-orange);
}

.act-intro__text {
    font-size: var(--fs-body);
    color: var(--color-gray-600);
    line-height: 1.7;
    max-width: 600px;
}

/* Filters */
.act-filters {
    padding-top: 0;
}

.act-filters__bar {
    display: flex;
    gap: var(--space-xl);
    align-items: flex-end;
    border-bottom: 1px solid var(--color-gray-100);
    padding-bottom: var(--space-sm);
}

.act-filters__item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.act-filters__item label {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: var(--fs-body);
    color: var(--color-black);
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.act-filters__item select,
.act-filters__item input {
    border: none;
    background: transparent;
    font-family: var(--font-body);
    font-size: var(--fs-small);
    color: var(--color-gray-600);
    outline: none;
    padding: 4px 0;
    min-width: 120px;
}

.act-filters__item--search {
    flex: 1;
}

.act-filters__item--search input {
    border-bottom: 2px solid var(--color-gray-200);
    width: 100%;
    padding: 4px 0;
    transition: border-color 0.2s;
}

.act-filters__item--search input:focus {
    border-color: var(--color-primary);
}

/* Grid */
.act-grid-section {
    padding-top: var(--space-lg);
}

.act-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.act-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: white;
    border: 1px solid var(--color-gray-100);
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s var(--ease-spring), box-shadow 0.25s;
}

.act-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.act-card__img {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.act-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.act-card__badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: var(--color-orange);
    color: white;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.act-card__body {
    padding: var(--space-sm) var(--space-md) var(--space-md);
}

.act-card__title {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: var(--fs-h3);
    color: var(--color-black);
    margin-bottom: 4px;
    line-height: 1.25;
}

.act-card__date {
    font-size: var(--fs-small);
    color: var(--color-gray-400);
    margin-bottom: 6px;
}

.act-card__status {
    font-size: var(--fs-small);
    font-weight: 600;
}

.act-card__status--on {
    color: #22c55e;
}

.act-card__status--off {
    color: var(--color-primary);
}

/* Pagination */
.act-pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: var(--space-xl);
}

.act-page {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid var(--color-gray-200);
    background: white;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: var(--fs-small);
    color: var(--color-black);
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.act-page.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}

.act-page:hover:not(.active) {
    border-color: var(--color-primary);
    color: var(--color-primary);
}


/* ============================================================
   ACTIVITÉ — DETAIL PAGE
   ============================================================ */

/* Banner plein écran */
.actd-banner {
    position: relative;
    width: 100%;
    height: 90vh;
    min-height: 350px;
    overflow: hidden;
}

.actd-banner__img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.actd-banner__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 50px 50px;
}

.actd-banner__title {
    font-family: var(--font-title);
    font-weight: 900;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: white;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
    max-width: 50%;
}

.actd-banner__sub {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    color: rgba(255, 255, 255, 0.85);
    margin-top: var(--space-xs);
}

/* Layout 2 colonnes */
.actd-layout {
    display: flex;
    gap: var(--space-2xl);
    align-items: flex-start;
}

.actd-info {
    flex: 1;
    min-width: 0;
}

.actd-side {
    width: 380px;
    flex-shrink: 0;
}

/* Info gauche */
.actd-info__title {
    font-family: var(--font-title);
    font-weight: 900;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    color: var(--color-black);
    margin-bottom: var(--space-sm);
}

.actd-info__cat {
    display: inline-block;
    border: 1.5px solid var(--color-primary);
    color: var(--color-primary);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: var(--fs-small);
    padding: 3px 12px;
    border-radius: var(--radius-full);
    margin-right: var(--space-sm);
}

.actd-info__status {
    font-size: var(--fs-small);
    font-weight: 600;
}

.actd-info__status--on {
    color: #22c55e;
}

.actd-info__status--off {
    color: var(--color-primary);
}

.actd-info__text {
    font-size: var(--fs-body);
    color: var(--color-gray-600);
    line-height: 1.7;
    margin-top: var(--space-md);
}

/* Itinéraire (style planifier__card) */
.actd-itineraire {
    background: var(--color-primary);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    color: white;
}

.actd-itineraire__header {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-title);
    font-weight: 700;
    font-size: var(--fs-h3);
    margin-bottom: 4px;
}

.actd-itineraire__desc {
    font-size: var(--fs-small);
    opacity: 0.7;
    margin-bottom: var(--space-md);
}

.actd-itineraire__fields {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
}

.actd-itineraire__field {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    padding: 0 12px;
}

.actd-itineraire__label {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: var(--fs-body);
    color: white;
    flex-shrink: 0;
}

.actd-itineraire__input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    padding: 12px 8px;
    font-size: var(--fs-small);
    font-family: var(--font-body);
    outline: none;
}

.actd-itineraire__input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.actd-itineraire__btn {
    width: 100%;
    padding: 12px;
    background: var(--color-orange);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: var(--fs-body);
    cursor: pointer;
    transition: background 0.2s;
    margin-bottom: var(--space-xs);
}

.actd-itineraire__btn:hover {
    background: #e04e1e;
}

.actd-itineraire__link {
    display: block;
    text-align: center;
    font-size: var(--fs-small);
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
}

/* Infos pratiques */
.actd-side__date {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: var(--fs-body);
    color: var(--color-orange);
    margin-top: var(--space-md);
    margin-bottom: var(--space-md);
}

.actd-side__heading {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: var(--fs-h3);
    color: var(--color-black);
    margin-bottom: var(--space-sm);
}

.actd-side__label {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: var(--fs-small);
    color: var(--color-black);
    margin-top: var(--space-sm);
    margin-bottom: 2px;
}

.actd-side__value {
    font-size: var(--fs-small);
    color: var(--color-gray-600);
    line-height: 1.5;
}

.actd-side__value--primary {
    color: var(--color-primary);
}

.actd-side__link {
    display: inline-block;
    margin-top: var(--space-xs);
    font-size: var(--fs-small);
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    word-break: break-all;
}

/* Bouton retour */
.actd-back {
    padding-top: 0;
}

.actd-back__btn {
    display: inline-block;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: var(--fs-h3);
    color: var(--color-orange);
    border: 2px solid var(--color-orange);
    border-radius: var(--radius-full);
    padding: 8px 24px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.actd-back__btn:hover {
    background: var(--color-orange);
    color: white;
}

/* Activity detail — map */
.actd-map {
    width: 100%;
    height: 300px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: var(--space-md);
}

.actd-map .leaflet-tile {
    filter: brightness(0.55) saturate(0.3) hue-rotate(200deg);
}

.actd-map .leaflet-control-zoom a {
    background: var(--color-primary) !important;
    color: white !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}

.actd-map .leaflet-control-attribution {
    background: rgba(37, 35, 74, 0.8) !important;
    color: rgba(255, 255, 255, 0.4) !important;
    font-size: 9px !important;
}

.actd-map .leaflet-popup-content-wrapper {
    background: rgba(37, 35, 74, 0.95);
    color: white;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: var(--fs-small);
}

.actd-map .leaflet-popup-tip {
    background: rgba(37, 35, 74, 0.95);
}

/* Cursor natif sur la map */
.actd-map *,
.actd-map *::before,
.actd-map *::after {
    cursor: auto !important;
}

.actd-map .leaflet-grab {
    cursor: grab !important;
}

.actd-map .leaflet-dragging .leaflet-grab {
    cursor: grabbing !important;
}

/* Lignes proches badges dans la map section */
.actd-lines-proches {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: var(--space-sm);
    padding-bottom: 25px;
}

.actd-line-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 26px;
    padding: 0 8px;
    border-radius: 6px;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 0.75rem;
    color: white;
    background: var(--color-primary);
}


/* ============================================================
   À PROPOS
   ============================================================ */

/* Intro centré */
.ap-intro__inner {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.ap-intro__label {
    display: block;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: var(--fs-small);
    color: var(--color-orange);
    margin-bottom: var(--space-sm);
    letter-spacing: 0.03em;
}

.ap-intro__text {
    font-size: var(--fs-body);
    color: var(--color-gray-600);
    line-height: 1.7;
}

/* Histoire — layout 2 col */
.ap-histoire__layout {
    display: flex;
    gap: var(--space-2xl);
    margin-top: var(--space-lg);
    align-items: flex-start;
}

.ap-histoire__text {
    flex: 1;
    min-width: 0;
}

.ap-histoire__text p {
    font-size: var(--fs-body);
    color: var(--color-gray-600);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

/* Timeline */
.ap-timeline {
    width: 340px;
    flex-shrink: 0;
    position: relative;
    padding-left: 28px;
}

.ap-timeline__line {
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--color-gray-100);
    border-radius: 2px;
}

.ap-timeline__item {
    position: relative;
    padding-bottom: var(--space-lg);
}

.ap-timeline__dot {
    position: absolute;
    left: -24px;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--color-orange);
    border: 3px solid white;
    box-shadow: 0 0 0 2px var(--color-orange);
    z-index: 1;
}

.ap-timeline__year {
    display: inline-block;
    font-family: var(--font-title);
    font-weight: 900;
    font-size: var(--fs-h3);
    color: var(--color-orange);
    margin-bottom: 4px;
}

.ap-timeline__content p {
    font-size: var(--fs-small);
    color: var(--color-gray-600);
    line-height: 1.5;
}

/* Chiffres clés */
.ap-chiffres {
    background: var(--color-primary);
    color: white;
    padding-bottom: var(--space-3xl);
}

.ap-chiffres .section__label {
    color: var(--color-orange);
}

.ap-chiffres .section__title {
    color: white;
}

.ap-chiffres__band {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.ap-chiffres__item {
    text-align: center;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-xl) var(--space-md);
}

.ap-chiffres__number {
    display: block;
    font-family: var(--font-title);
    font-weight: 900;
    font-size: clamp(2.4rem, 5vw, 4rem);
    color: var(--color-white);
    line-height: 1;
    margin-bottom: 8px;
}

.ap-chiffres__desc {
    font-size: var(--fs-body);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
}

/* Vidéo */
.ap-video__layout {
    display: flex;
    gap: var(--space-2xl);
    margin-top: var(--space-lg);
    align-items: center;
}

.ap-video__player {
    width: 300px;
    flex-shrink: 0;
}

.ap-video__placeholder {
    aspect-ratio: 9/16;
    background: var(--color-gray-100);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.ap-video__play {
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s, transform 0.2s;
}


.ap-video__play svg circle {
    fill: rgba(0, 0, 0, 0.3);
}

.ap-video__text {
    flex: 1;
}

.ap-video__heading {
    font-family: var(--font-title);
    font-weight: 900;
    font-size: var(--fs-h2);
    color: var(--color-black);
    margin-bottom: var(--space-md);
    line-height: 1.15;
}

.ap-video__text p {
    font-size: var(--fs-body);
    color: var(--color-gray-600);
    line-height: 1.7;
    margin-bottom: var(--space-sm);
}

/* Témoignages */
.ap-temoignages {
    background: var(--color-primary);
    color: white;
}

.ap-temoignages .section__label {
    color: rgba(255, 255, 255, 0.6);
}

.ap-temoignages__title {
    color: white;
}

.ap-temoignages__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.ap-temoignage {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ap-temoignage__quote {
    font-family: var(--font-title);
    font-weight: 900;
    font-size: 2rem;
    color: var(--color-orange);
    line-height: 1;
    margin-bottom: var(--space-sm);
    user-select: none;
}

.ap-temoignage__text {
    font-size: var(--fs-body);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.65;
    margin-bottom: var(--space-lg);
}

.ap-temoignage__author {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.ap-temoignage__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.1rem;
    color: white;
    flex-shrink: 0;
}

.ap-temoignage__author strong {
    display: block;
    font-size: var(--fs-body);
    color: white;
    font-weight: 700;
}

.ap-temoignage__author span.ap-temoignage__role {
    font-size: var(--fs-small);
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

/* CTA avis */
.ap-temoignages__cta {
    text-align: center;
    margin-top: var(--space-xl);
}

.ap-temoignages__btn {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: var(--fs-body);
    color: white;
    border: 2px solid white;
    border-radius: var(--radius-full);
    padding: 10px 28px;
    background: transparent;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.ap-temoignages__btn:hover {
    background: white;
    color: var(--color-primary);
}

/* Formulaire avis */
.ap-avis-form {
    margin-top: var(--space-md);
}

.ap-avis-form__inner {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.ap-avis-form__input,
.ap-avis-form__textarea {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    color: white;
    font-family: var(--font-body);
    font-size: var(--fs-small);
    outline: none;
    resize: none;
}

.ap-avis-form__input::placeholder,
.ap-avis-form__textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.ap-avis-form__input--small {
    max-width: 150px;
}

.ap-avis-form__submit {
    align-self: flex-start;
    padding: 10px 24px;
    background: var(--color-orange);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: var(--fs-small);
    cursor: pointer;
    transition: background 0.2s;
}

.ap-avis-form__submit:hover {
    background: #e04e1e;
}

/* Écologie */
.ap-eco__layout {
    display: flex;
    gap: var(--space-2xl);
    margin-top: var(--space-lg);
    align-items: flex-start;
}

.ap-eco__text {
    flex: 1;
    min-width: 0;
}

.ap-eco__text p {
    font-size: var(--fs-body);
    color: var(--color-gray-600);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.ap-eco__stats {
    width: 360px;
    flex-shrink: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.ap-eco__stat {
    text-align: left;
}

.ap-eco__stat-num {
    display: block;
    font-family: var(--font-title);
    font-weight: 900;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 4px;
}

.ap-eco__stat-desc {
    font-size: var(--fs-small);
    color: var(--color-gray-600);
    line-height: 1.4;
}


/* ============================================================
   INFOS PAGE
   ============================================================ */

/* Hero anchors overlay */
.inf-hero-anchors {
    position: absolute;
    bottom: var(--space-xl);
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    pointer-events: auto;
}

.inf-hero-btns {
    display: flex;
    gap: var(--space-sm);
}

.inf-hero-btn {
    padding: 8px 20px;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-full);
    color: white;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: var(--fs-small);
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}

.inf-hero-btn:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
}

.inf-hero-btn--orange {
    background: var(--color-orange);
    border-color: var(--color-orange);
}

.inf-hero-btn--orange:hover {
    background: #e04e1e;
}

/* Tarifs */
.inf-tarifs__layout {
    display: flex;
    gap: var(--space-2xl);
    margin-top: var(--space-lg);
    align-items: flex-start;
}

.inf-tarifs__text {
    flex: 1;
}

.inf-tarifs__text p {
    font-size: var(--fs-body);
    color: var(--color-gray-600);
    line-height: 1.7;
    margin-bottom: var(--space-sm);
}

.inf-tarifs__badges {
    width: 240px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    bottom: 150px;
    position: relative;
}

.inf-tarifs__badge {
    border: 1.5px solid rgba(51, 51, 230, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
}

.inf-tarifs__badge--orange {
    border-color: var(--color-orange);
}

.inf-tarifs__badge--blue {
    border-color: var(--color-primary);
}

.inf-tarifs__badge-big {
    display: block;
    font-family: var(--font-title);
    font-weight: 900;
    font-size: 2em;
    color: var(--color-orange);
    line-height: 1;
    margin-bottom: 6px;
}

.inf-tarifs__badge--blue .inf-tarifs__badge-big {
    color: var(--color-primary);
}

.inf-tarifs__badge-sub {
    font-size: var(--fs-small);
    color: var(--color-gray-600);
    line-height: 1.4;
}

/* Abonnements */
.inf-abo {
    background: var(--color-primary);
    color: white;
}

.inf-abo .section__label {
    color: var(--color-orange);
}

.inf-abo .section__title {
    color: white;
}

.inf-abo__intro {
    font-size: var(--fs-body);
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    max-width: 600px;
    margin-bottom: var(--space-xl);
}

.inf-abo__highlight {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: white;
    border-radius: var(--radius-lg);
    color: var(--color-black);
    margin-bottom: var(--space-xl);
    align-items: flex-start;
}

.inf-abo__highlight-icon {
    font-size: 1.5rem;
    padding: 8px;
    border-radius: var(--radius-sm);
}

.inf-abo__highlight h4 {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: var(--fs-h3);
    margin-bottom: 4px;
}

.inf-abo__highlight p {
    font-size: var(--fs-small);
    color: var(--color-gray-600);
    line-height: 1.6;
    margin-bottom: var(--space-xs);
}

.inf-abo__tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.inf-abo__tag--orange {
    background: rgba(255, 92, 40, 0.15);
    color: var(--color-orange);
    border: 1px solid var(--color-orange);
}

.inf-abo__tag--purple {
    background: rgba(110, 37, 133, 0.15);
    color: #6E2585;
    border: 1px solid #6E2585;
}

.inf-abo__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.inf-abo__card {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    color: var(--color-black);
}

.inf-abo__card-icon {
    font-size: 1.3rem;
    padding: 6px;
    border-radius: var(--radius-sm);
    display: inline-block;
    margin-bottom: var(--space-xs);
}

.inf-abo__card h4 {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: var(--fs-body);
    margin-bottom: 4px;
}

.inf-abo__card p {
    font-size: var(--fs-small);
    color: var(--color-gray-600);
    line-height: 1.5;
    margin-bottom: var(--space-xs);
}

/* Non valable */
.inf-nonval__intro {
    font-size: var(--fs-body);
    color: var(--color-gray-600);
    line-height: 1.7;
    max-width: 650px;
    margin-bottom: var(--space-xl);
}

.inf-nonval__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.inf-nonval__card {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-lg);
    border: 1.5px solid var(--color-primary);
    border-radius: var(--radius-lg);
    align-items: flex-start;
}

.inf-nonval__x {
    font-size: 1.2rem;
    color: var(--color-orange);
    font-weight: 700;
    flex-shrink: 0;
    background: rgba(255, 92, 40, 0.1);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
}

.inf-nonval__card h4 {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: var(--fs-body);
    color: var(--color-black);
    margin-bottom: 4px;
}

.inf-nonval__card p {
    font-size: var(--fs-small);
    color: var(--color-gray-600);
    line-height: 1.5;
}

/* Accessibilité */
.inf-access {
    background: var(--color-primary);
    color: white;
}

.inf-access .section__label {
    color: var(--color-orange);
}

.inf-access .section__title {
    color: white;
}

.inf-access__intro {
    font-size: var(--fs-body);
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    max-width: 600px;
    margin-bottom: var(--space-xl);
}

.inf-access__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.inf-access__card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: var(--space-xl) var(--space-lg);
    text-align: center;
}

.inf-access__icon {
    font-size: 1.8rem;
    margin-bottom: var(--space-sm);
    display: inline-block;
    padding: 8px;
    background: rgba(255, 92, 40, 0.15);
    border-radius: var(--radius-sm);
}

.inf-access__card h4 {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: var(--fs-body);
    color: white;
    margin-bottom: var(--space-xs);
}

.inf-access__card p {
    font-size: var(--fs-small);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

/* Sécurité */
.inf-secu__layout {
    display: flex;
    gap: var(--space-2xl);
    margin-top: var(--space-xl);
    align-items: flex-start;
}

.inf-secu__list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.inf-secu__tip {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    border: 1.5px solid var(--color-primary);
    border-radius: var(--radius-lg);
    align-items: flex-start;
}

.inf-secu__num {
    font-family: var(--font-title);
    font-weight: 900;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    color: var(--color-orange);
    flex-shrink: 0;
    min-width: 40px;
}

.inf-secu__tip h4 {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: var(--fs-body);
    color: var(--color-black);
    margin-bottom: 4px;
}

.inf-secu__tip p {
    font-size: var(--fs-small);
    color: var(--color-gray-600);
    line-height: 1.5;
}

.inf-secu__aside {
    width: 340px;
    flex-shrink: 0;
    position: sticky;
    top: 80px;
}

.inf-secu__aside h3 {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: var(--fs-h3);
    color: var(--color-black);
    margin-bottom: var(--space-md);
}

.inf-secu__aside>p {
    font-size: var(--fs-small);
    color: var(--color-gray-600);
    line-height: 1.6;
    margin-bottom: var(--space-sm);
}

.inf-secu__aside h4 {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: var(--fs-body);
    color: var(--color-black);
    margin-top: var(--space-md);
    margin-bottom: var(--space-sm);
}

.inf-secu__emergency {
    display: flex;
    gap: var(--space-sm);
}

.inf-secu__emer-card {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    background: rgba(51, 51, 230, 0.08);
    border-radius: var(--radius-md);
    flex: 1;
}

.inf-secu__emer-num {
    font-family: var(--font-title);
    font-weight: 900;
    font-size: 1.4rem;
    color: var(--color-primary);
}

.inf-secu__emer-card span:last-child {
    font-size: var(--fs-small);
    color: var(--color-gray-600);
    line-height: 1.3;
}

/* FAQ */
.inf-faq {
    background: var(--color-primary);
    color: white;
}

.inf-faq .section__label {
    color: var(--color-orange);
}

.inf-faq .section__title {
    color: white;
}

.inf-faq__list {
    margin-top: var(--space-lg);
}

.inf-faq__item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.inf-faq__item summary {
    padding: var(--space-md) 0;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: var(--fs-body);
    color: white;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
    transition: color 0.3s var(--ease-out);
}

/* Hover → texte et croix orange */
.inf-faq__item summary:hover {
    color: var(--color-orange);
}

.inf-faq__item summary::after {
    content: '+';
    font-size: 1.6rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.4);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.3s var(--ease-out),
        color 0.3s var(--ease-out),
        transform 0.4s var(--ease-out);
}

.inf-faq__item summary:hover::after {
    color: var(--color-orange);
    background: rgba(229, 85, 65, 0.15);
}

/* Open → rotation 45deg pour transformer + en × */
.inf-faq__item[open] summary::after {
    content: '+';
    transform: rotate(45deg);
    background: rgba(229, 85, 65, 0.2);
    color: var(--color-orange);
}

.inf-faq__item[open] summary {
    color: var(--color-orange);
}

.inf-faq__item summary::-webkit-details-marker {
    display: none;
}

/* Contenu FAQ — transition smooth via max-height */
.inf-faq__item p {
    font-size: var(--fs-body);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    overflow: hidden;
    max-height: 0;
    padding: 0;
    opacity: 0;
    transition: max-height 0.4s var(--ease-out),
        padding 0.4s var(--ease-out),
        opacity 0.35s var(--ease-out);
}

.inf-faq__item[open] p {
    max-height: 200px;
    padding: 0 0 var(--space-md);
    opacity: 1;
}

/* Outils */
.inf-outils__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.inf-outils__card {
    background: var(--color-primary);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    color: white;
}

.inf-outils__icon {
    font-size: 1.5rem;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    display: inline-block;
    margin-bottom: var(--space-md);
}

.inf-outils__card h3 {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: var(--fs-h3);
    margin-bottom: var(--space-sm);
}

.inf-outils__card p {
    font-size: var(--fs-body);
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    margin-bottom: var(--space-sm);
}

.inf-outils__agencies {
    font-size: var(--fs-small) !important;
    color: rgba(255, 255, 255, 0.9) !important;
    line-height: 1.8 !important;
}

.inf-outils__btns {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-top: var(--space-md);
}

.inf-outils__btn {
    display: flex;
    gap: 10px;
    padding: 8px 16px;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    color: white;
    font-size: var(--fs-small);
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}

.inf-outils__btn img {
    width: 15%;
}

.inf-outils__btn:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
}

.inf-outils__btn--orange {
    display: flex;
    gap: 10px;
    background: var(--color-orange);
    border-color: var(--color-orange);
    text-wrap: nowrap;
}


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

@media (max-width: 1024px) {

    .cards-grid,
    .sorties__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .apropos__grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .apropos__visual {
        order: -1;
    }

    .footer__inner {
        grid-template-columns: 1fr 1fr;
    }

    /* Réseau */
    .horaires__layout {
        gap: var(--space-md);
    }

    .horaires__sidebar {
        width: 280px;
        padding: var(--space-md);
    }

    .horaires__map {
        width: 100%;
    }

    .act-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .actd-side {
        width: 320px;
    }
}

@media (max-width: 768px) {
    .header__nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--color-primary-deeper);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: var(--space-lg);
        transform: translateY(-100%);
        transition: transform 0.5s var(--ease-out);
        z-index: 999;
    }

    .header__nav.open {
        transform: translateY(0);
    }

    .header__nav-link {
        font-size: 1.3rem;
        opacity: 1;
    }

    .header__burger {
        display: flex;
        z-index: 1001;
    }

    .cards-grid,
    .planifier__grid,
    .sorties__grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: var(--space-2xl) var(--space-md);
    }

    .section__header--row {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
    }

    /* Planifier cards */
    .planifier__card {
        padding: var(--space-md);
    }

    .planifier__card-header {
        font-size: var(--fs-body);
    }

    .planifier__input {
        padding: 10px 12px;
        font-size: 0.78rem;
    }

    .planifier__btn {
        padding: 10px;
        font-size: 0.78rem;
    }

    .planifier__link {
        font-size: 0.65rem;
    }

    /* À la une cards */
    .card {
        padding: var(--space-md);
        gap: var(--space-xs);
    }

    .card__title {
        font-size: var(--fs-body);
    }

    .card__text {
        font-size: var(--fs-small);
        line-height: 1.5;
    }

    .card__btn {
        font-size: var(--fs-small);
        padding: 8px 16px;
        align-self: flex-start;
    }

    /* Sorties event cards */
    .event-card__body {
        padding: var(--space-sm);
    }

    .event-card__title {
        font-size: var(--fs-body);
    }

    .sorties__voir-plus {
        font-size: var(--fs-small);
    }

    /* Apropos section — stack on mobile */
    .apropos__grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .apropos__visual {
        order: -1;
    }

    .apropos__image-wrapper {
        max-width: 100%;
        aspect-ratio: 16/9;
    }

    .apropos__text {
        font-size: var(--fs-small);
    }

    .apropos__content .section__title {
        font-size: clamp(1.4rem, 5vw, 2rem);
    }

    .apropos__content .section__title br {
        display: none;
    }

    .section__title--large {
        font-size: clamp(1.4rem, 5vw, 2rem);
    }

    /* Footer */
    .footer {
        padding: var(--space-xl) var(--space-md) var(--space-md);
    }

    .footer__inner {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .footer__bottom {
        flex-direction: column;
        gap: var(--space-xs);
    }

    .footer__heading {
        font-size: var(--fs-small);
    }

    .footer__link {
        font-size: var(--fs-small);
    }

    .footer__legal {
        font-size: 0.65rem;
    }

    /* Hero mobile — pas de forme SVG, fond bleu plein, dessin fonctionne */
    #unionShape {
        display: none;
    }

    /* Hero textes — empiler verticalement sur mobile */
    .hero__text-right,
    .hero__text-left,
    .hero__text-right-info {
        position: relative;
        right: auto;
        left: auto;
        top: auto;
        bottom: auto;
        text-align: center;
    }

    .hero__content {
        position: absolute;
        inset: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: var(--space-lg) var(--space-md);
        gap: var(--space-sm);
    }

    /* Réseau responsive */
    .horaires__layout {
        flex-direction: column;
    }

    .horaires__sidebar {
        width: 100%;
        position: static;
        max-height: none;
        border-radius: var(--radius-lg);
    }

    .jours__inner {
        justify-content: center;
        gap: var(--space-sm);
    }

    .jours__arrow {
        width: 50px;
    }

    .jours__title {
        font-size: 2em;
        line-height: 30px;
        text-align: right;
    }

    .section__container-num {
        padding-bottom: 80px;
    }

    .intro__text {
        font-size: var(--fs-body);
    }

    .ligne-num {
        width: 50px;
        height: 50px;
    }

    .horaires__lines {
        grid-template-columns: repeat(5, 1fr);
    }

    /* Deco lines — absolute, scaled up, section gets proper height */
    .lignes-section {
        overflow: hidden;
        padding-top: var(--space-md);
        padding-bottom: var(--space-md);
    }

    .section__container-num {
        padding-bottom: 80px;
    }

    .lignes-section__deco {
        position: absolute;
        width: 140% !important;
        left: -20% !important;
        height: auto;
        margin: 0;
    }

    /* Override the hardcoded desktop positions */
    .lignes-section__deco.orange {
        bottom: 250px !important;
    }

    .lignes-section__deco.violet {
        top: auto !important;
        bottom: -120px !important;
    }

    .lignes-section__deco.bleu {
        top: -20px !important;
    }

    .lignes-section__deco.vert {
        top: auto !important;
        bottom: -40px !important;
        right: auto !important;
        width: 140% !important;
    }

    .lignes-section__deco svg {
        width: 100%;
        height: auto;
    }

    .lignes-grid {
        gap: 6px;
        position: relative;
        z-index: 1;
    }

    .horaires__detail-num {
        font-size: 2rem;
    }

    .horaires__stops {
        padding-left: 30px;
    }

    .horaires__stop::before {
        left: -24px;
        width: 10px;
        height: 10px;
    }

    .horaires__stop--terminus::before {
        width: 14px;
        height: 14px;
        left: -26px;
    }

    .horaires__stops-row {
        flex-direction: column;
    }

    .horaires__timetable {
        width: 100%;
        position: static;
    }

    .horaires__map {
        width: 100%;
        aspect-ratio: 4/3;
    }

    .horaires__stops {
        min-height: auto;
    }

    /* Activités responsive */
    .act-grid {
        grid-template-columns: 1fr;
    }

    .act-filters__bar {
        flex-direction: column;
        gap: var(--space-md);
    }

    .actd-layout {
        flex-direction: column;
    }

    .actd-side {
        width: 100%;
    }

    .actd-banner {
        height: 40vh;
        min-height: 250px;
    }

    .actd-banner__overlay {
        display: none;
    }

    /* À propos responsive */
    .ap-histoire__layout {
        flex-direction: column;
    }

    .ap-timeline {
        width: 100%;
    }

    .ap-video__layout {
        flex-direction: column;
    }

    .ap-video__player {
        width: 100%;
        max-width: 300px;
    }

    .ap-temoignages__grid {
        grid-template-columns: 1fr;
    }

    .ap-eco__layout {
        flex-direction: column;
    }

    .ap-eco__stats {
        width: 100%;
    }

    .ap-chiffres__band {
        grid-template-columns: repeat(2, 1fr);
    }

    .ap-chiffres__item {
        min-width: auto;
    }

    /* ============================================================
       INFOS — MOBILE 768px
       ============================================================ */
    .inf-hero-aside {
        display: none;
    }

    .inf-hero-anchors {
        bottom: var(--space-lg);
    }

    .inf-hero-btns {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
        padding-bottom: 150px;
    }

    .inf-hero-btn {
        padding: 6px 12px;
        font-size: clamp(0.65rem, 2.5vw, 0.78rem);
        white-space: nowrap;
    }

    /* Tarifs */
    .inf-tarifs__layout {
        flex-direction: column;
        gap: var(--space-lg);
    }

    .inf-tarifs__text p {
        font-size: var(--fs-small);
    }

    .inf-tarifs__badges {
        width: 100%;
        flex-direction: row;
        gap: var(--space-sm);
        position: static;
        bottom: auto;
    }

    .inf-tarifs__badge {
        flex: 1;
        padding: var(--space-md);
    }

    .inf-tarifs__badge-big {
        font-size: 1.3em;
    }

    /* Abonnements */
    .inf-abo__intro {
        max-width: 100%;
    }

    .inf-abo__highlight {
        flex-direction: column;
        padding: var(--space-md);
        gap: var(--space-sm);
    }

    .inf-abo__grid {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }

    .inf-abo__card {
        padding: var(--space-md);
    }

    /* Non valable */
    .inf-nonval__intro {
        max-width: 100%;
    }

    .inf-nonval__grid {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }

    .inf-nonval__card {
        padding: var(--space-md);
        gap: var(--space-sm);
    }

    /* Accessibilité */
    .inf-access__intro {
        max-width: 100%;
    }

    .inf-access__grid {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }

    .inf-access__card {
        padding: var(--space-lg) var(--space-md);
        text-align: left;
    }

    /* Sécurité */
    .inf-secu__layout {
        flex-direction: column;
        gap: var(--space-lg);
    }

    .inf-secu__aside {
        width: 100%;
        position: static;
    }

    .inf-secu__tip {
        padding: var(--space-sm) var(--space-md);
        gap: var(--space-sm);
    }

    .inf-secu__num {
        min-width: 28px;
        font-size: 1.1rem;
    }

    .inf-secu__emergency {
        flex-direction: column;
        gap: var(--space-xs);
    }

    /* FAQ */
    .inf-faq__item summary {
        font-size: var(--fs-small);
        gap: var(--space-sm);
        padding: var(--space-sm) 0;
    }

    .inf-faq__item summary::after {
        width: 28px;
        height: 28px;
        min-width: 28px;
        font-size: 1rem;
    }

    .inf-faq__item p {
        font-size: var(--fs-small);
    }

    /* Outils */
    .inf-outils__grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .inf-outils__card {
        padding: var(--space-md);
    }

    .inf-outils__card h3 {
        font-size: var(--fs-body);
    }

    .inf-outils__card p {
        font-size: var(--fs-small);
    }

    .inf-outils__agencies {
        font-size: 0.7rem !important;
    }

    .inf-outils__btns {
        flex-direction: column;
    }

    .inf-outils__btn {
        justify-content: center;
        width: 100%;
        padding: 10px 14px;
        font-size: 0.72rem;
    }

    .inf-outils__btn img {
        width: 16px;
        height: auto;
    }
}

@media (max-width: 480px) {
    :root {
        --space-lg: 1.5rem;
        --space-xl: 2.5rem;
        --space-2xl: 4rem;
        --space-3xl: 5rem;
    }

    .hero__title {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
    }

    .hero__subtitle {
        font-size: clamp(1.1rem, 5vw, 1.6rem);
    }

    .section__title {
        font-size: clamp(1.2rem, 5vw, 1.6rem);
    }

    .section__title br {
        display: none;
    }

    /* Infos 480px — extra tight */
    .inf-hero-anchors {
        bottom: var(--space-sm);
    }

    .inf-hero-btn {
        padding: 5px 8px;
        font-size: 0.6rem;
    }

    .inf-tarifs__badges {
        flex-direction: column;
        gap: var(--space-xs);
    }

    .inf-tarifs__badge-big {
        font-size: 1.1em;
    }

    .inf-abo__highlight {
        padding: var(--space-sm);
    }

    .inf-abo__highlight h4 {
        font-size: var(--fs-body);
    }

    .inf-secu__tip {
        padding: var(--space-xs) var(--space-sm);
    }

    .inf-secu__emer-card {
        padding: var(--space-xs) var(--space-sm);
    }

    .inf-secu__emer-num {
        font-size: 1.1rem;
    }

    .inf-faq__item summary {
        font-size: 0.72rem;
    }

    .inf-outils__btn {
        font-size: 0.65rem;
        padding: 8px 10px;
    }

    .horaires__stops::before {
        content: '';
        position: absolute;
        left: 10px;
        top: 0;
        bottom: 0;
        width: 4px;
        border-radius: 2px;
        background: var(--line-color, var(--color-primary));
    }

    .hero__text-right {
        position: absolute;
        top: 40%;

    }

    .hero__text-left {
        position: absolute;
        bottom: 43%;
    }

}

/* ============================================================
   ANIMATIONS D'APPARITION AU SCROLL (Reveal)
   ============================================================ */

/* Base state — hidden */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal--left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal--right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal--scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

/* Visible state */
.reveal.is-visible,
.reveal--left.is-visible,
.reveal--right.is-visible,
.reveal--scale.is-visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* Stagger delays for grids */
.reveal-stagger>*:nth-child(1) {
    transition-delay: 0s;
}

.reveal-stagger>*:nth-child(2) {
    transition-delay: 0.1s;
}

.reveal-stagger>*:nth-child(3) {
    transition-delay: 0.2s;
}

.reveal-stagger>*:nth-child(4) {
    transition-delay: 0.3s;
}

.reveal-stagger>*:nth-child(5) {
    transition-delay: 0.35s;
}

.reveal-stagger>*:nth-child(6) {
    transition-delay: 0.4s;
}

.reveal-stagger>*:nth-child(7) {
    transition-delay: 0.45s;
}

.reveal-stagger>*:nth-child(8) {
    transition-delay: 0.5s;
}


/* ============================================================
   À PROPOS — TYPO COHÉRENCE
   ============================================================ */

/* Intro label — un poil plus grand, plus d'espace */
.ap-intro__label {
    font-size: var(--fs-small);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: var(--space-md);
}

/* Intro text — un peu plus grand pour lisibilité */
.ap-intro__text {
    font-size: clamp(0.95rem, 1.3vw, 1.1rem);
}

/* Harmoniser les h2 section titles de la page apropos */
.ap-histoire .section__title,
.ap-chiffres .section__title,
.ap-video .section__title,
.ap-temoignages .section__title,
.ap-eco .section__title {
    font-size: var(--fs-h2);
    line-height: 1.15;
}

/* Video heading — était en h2 mais c'est un h3, on harmonise */
.ap-video__heading {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
}

/* Témoignages quote mark — harmoniser */
.ap-temoignage__quote {
    font-size: 2.4rem;
}

/* Stats eco — harmoniser les chiffres */
.ap-eco__stat-num {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
}

/* Chiffres clés — harmoniser */
.ap-chiffres__number {
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
}

/* Timeline years — un poil plus affirmé */
.ap-timeline__year {
    font-size: clamp(1.15rem, 1.8vw, 1.4rem);
}


/* ============================================================
   FORMULAIRE AVIS — SMOOTH REVEAL
   ============================================================ */

.ap-avis-form {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.5s var(--ease-out),
        opacity 0.4s var(--ease-out),
        margin 0.4s var(--ease-out);
    margin-top: 0;
}

.ap-avis-form.is-open {
    max-height: 400px;
    opacity: 1;
    margin-top: var(--space-md);
}

/* ============================================================
   VIDÉO PLAYER — À PROPOS
   ============================================================ */

.ap-video__media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.ap-video__placeholder {
    position: relative;
    cursor: pointer;
}

/* Play button overlay */
.ap-video__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

/* Cacher le bouton quand la vidéo joue */
.ap-video__placeholder.is-playing .ap-video__play {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.8);
}

/* Ré-afficher au hover même en lecture */
.ap-video__placeholder.is-playing:hover .ap-video__play {
    opacity: 0.8;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

/* ============================================================
   PLANIFIER — Autocomplete + Résultats
   ============================================================ */

.planifier__autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--color-gray-100);
    border-radius: var(--radius-sm);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    z-index: 50;
    max-height: 240px;
    overflow-y: auto;
}

.planifier__autocomplete-item {
    padding: 10px 14px;
    font-family: var(--font-body);
    font-size: var(--fs-small);
    color: var(--color-black);
    cursor: pointer;
    transition: background 0.15s;
}

.planifier__autocomplete-item:hover {
    background: var(--color-off-white);
    color: var(--color-primary);
}

/* Résultats */
.planifier__results {
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-gray-100);
}

.planifier__result-title {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: var(--fs-h3);
    color: var(--color-black);
    margin-bottom: var(--space-xs);
}

.planifier__result-label {
    font-size: var(--fs-small);
    color: var(--color-gray-400);
    margin-bottom: 6px;
    margin-top: var(--space-sm);
}

.planifier__result-lines {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: var(--space-xs);
}

.planifier__result-line {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 28px;
    padding: 0 8px;
    background: var(--color-primary);
    color: white;
    border-radius: var(--radius-sm);
    font-family: var(--font-title);
    font-weight: 700;
    font-size: var(--fs-small);
}

.planifier__result-times {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.planifier__result-time {
    padding: 6px 12px;
    background: var(--color-off-white);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: var(--fs-body);
    color: var(--color-black);
    border: 1px solid var(--color-gray-100);
}

.planifier__result-time:first-child {
    background: var(--color-orange);
    color: white;
    border-color: var(--color-orange);
}

.planifier__no-result {
    font-size: var(--fs-body);
    color: var(--color-gray-400);
    font-style: italic;
}

/* Itinéraire transfer */
.planifier__result-transfer {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.planifier__result-step {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--fs-body);
    color: var(--color-black);
}

.planifier__result-arrow {
    font-size: var(--fs-small);
    color: var(--color-orange);
    font-weight: 600;
    padding-left: 40px;
}