/* ======================================================
   PAGE LICENCES
   Direction visuelle alignée sur « Le Club » et « Organisation »
====================================================== */

.licences-page {
    background: linear-gradient(180deg, #f7faf8 0%, #ffffff 100%);
}

.licences-page,
.licences-page *,
.licences-page *::before,
.licences-page *::after {
    box-sizing: border-box;
}

/* HERO */
.licences-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(2.75rem, 5vw, 4rem);
    background:
        radial-gradient(circle at 85% 20%, rgba(0, 168, 84, 0.15), transparent 34%),
        linear-gradient(135deg, #08140f 0%, #0d261a 58%, #07331e 100%);
    color: var(--color-white);
}

.licences-hero::after {
    content: "";
    position: absolute;
    right: -110px;
    bottom: -175px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(0, 168, 84, 0.15);
    border-radius: 50%;
    box-shadow: 0 0 0 44px rgba(0, 168, 84, 0.035), 0 0 0 88px rgba(0, 168, 84, 0.02);
    pointer-events: none;
}

.licences-hero .container { position: relative; z-index: 1; }

.licences-hero__eyebrow,
.licences-heading__eyebrow,
.licences-contact__eyebrow {
    margin: 0 0 0.7rem;
    color: var(--color-primary);
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.licences-hero__title {
    margin: 0;
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: clamp(3.6rem, 7vw, 6.5rem);
    line-height: 0.92;
    text-transform: uppercase;
}

.licences-hero__title::after,
.licences-heading h2::after {
    content: "";
    display: block;
    width: 54px;
    height: 3px;
    margin-top: 0.85rem;
    background: var(--color-primary);
}

.licences-hero__intro {
    max-width: 700px;
    margin: 1.3rem 0 0;
    color: rgba(255,255,255,.74);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* TITRES DE SECTION */
.licences-heading { margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.licences-heading--center { text-align: center; }
.licences-heading__eyebrow { margin-bottom: .5rem; }

.licences-heading h2,
.licences-contact h2 {
    margin: 0;
    color: var(--color-black);
    font-family: var(--font-heading);
    font-size: clamp(2.3rem, 4.5vw, 4rem);
    line-height: 1;
    text-transform: uppercase;
}

.licences-heading--center h2::after { margin-inline: auto; }

.licences-heading > p:last-child {
    max-width: 680px;
    margin: 1rem auto 0;
    color: var(--color-muted);
    line-height: 1.7;
}

/* PARCOURS */
.licences-paths-section { padding: clamp(4rem, 8vw, 7rem) 0; }

.licence-paths {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
    max-width: 980px;
    margin-inline: auto;
}

.licence-path-card,
.licence-journey-card {
    border: 1px solid rgba(0,0,0,.055);
    border-radius: 14px;
    background: radial-gradient(circle at 80% 12%, rgba(0,168,84,.08), transparent 34%), var(--color-white);
    box-shadow: 0 12px 30px rgba(0,0,0,.065);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.licence-path-card:hover,
.licence-journey-card:hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,.1);
}

.licence-path-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(1.7rem, 3vw, 2.5rem);
}

.licence-path-card__icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin-bottom: 1.2rem;
    border-radius: 50%;
    background: rgba(0,168,84,.09);
    color: var(--color-primary-dark);
}

.licence-path-card__icon svg {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.licence-path-card__eyebrow {
    margin: 0 0 .35rem;
    color: var(--color-primary);
    font-family: var(--font-display);
    font-size: .92rem;
    font-weight: 700;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.licence-path-card h3 {
    margin: 0;
    color: var(--color-black);
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.2vw, 3rem);
    line-height: 1;
    text-transform: uppercase;
}

.licence-path-card > p:not(.licence-path-card__eyebrow) {
    margin: 1rem 0 1.1rem;
    color: var(--color-muted);
    line-height: 1.7;
}

.licence-path-card ul {
    display: grid;
    gap: .55rem;
    width: 100%;
    margin: 0 0 1.6rem;
    padding: 0;
    list-style: none;
}

.licence-path-card li { position: relative; padding-left: 1.35rem; }
.licence-path-card li::before { content: "✓"; position: absolute; left: 0; color: var(--color-primary); font-weight: 800; }
.licence-path-card .button { margin-top: auto; }

/* ÉTAPES */
.licences-journey-section {
    padding: clamp(4rem, 8vw, 7rem) 0;
    background: #f2f7f4;
}

.licence-journey {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: clamp(.8rem, 1.5vw, 1.2rem);
    margin: 0;
    padding: 0;
    list-style: none;
}

.licence-journey-card {
    min-width: 0;
    padding: 1.5rem 1.1rem;
    text-align: center;
}

.licence-journey-card__number {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 1rem;
    border: 1px solid rgba(0,168,84,.18);
    border-radius: 50%;
    background: rgba(0,168,84,.09);
    color: var(--color-primary-dark);
    font-family: var(--font-heading);
    font-size: 2rem;
}

.licence-journey-card h3 {
    margin: 0 0 .65rem;
    color: var(--color-black);
    font-family: var(--font-display);
    font-size: 1rem;
    line-height: 1.15;
    text-transform: uppercase;
}

.licence-journey-card p { margin: 0; color: var(--color-muted); font-size: .9rem; line-height: 1.55; }

/* TARIFS */
.licences-fees-section { padding: clamp(4rem, 8vw, 7rem) 0; }

.licence-fees-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.2rem, 2.5vw, 2rem);
    max-width: 1120px;
    margin-inline: auto;
}

.licence-fees-panel {
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.07);
    border-radius: 16px;
    background: var(--color-white);
    box-shadow: 0 16px 38px rgba(0,0,0,.075);
}

.licence-fees-panel__header {
    padding: 1.7rem 1.8rem 1.5rem;
    background: linear-gradient(135deg, #0b2d1d 0%, #086132 100%);
    color: var(--color-white);
}

.licence-fees-panel__eyebrow {
    margin: 0 0 .45rem;
    color: rgba(255,255,255,.68);
    font-family: var(--font-display);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.licence-fees-panel__header h3 {
    margin: 0;
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3vw, 2.75rem);
    line-height: 1;
    text-transform: uppercase;
}

.licence-fees-panel__header p:last-child {
    margin: .75rem 0 0;
    color: rgba(255,255,255,.74);
    line-height: 1.55;
}

.licence-fees-table__head,
.licence-fees-table__row {
    display: grid;
    grid-template-columns: minmax(145px, 1.4fr) repeat(2, minmax(110px, .8fr));
    align-items: center;
}

.licence-fees-table__head {
    padding: .8rem 1.35rem;
    background: #eef6f1;
    color: #476055;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.licence-fees-table__head span:not(:first-child) { text-align: center; }

.licence-fees-table__row {
    min-height: 82px;
    padding: .75rem 1.35rem;
    border-top: 1px solid rgba(0,0,0,.06);
}

.licence-fees-table__category strong {
    display: block;
    color: var(--color-black);
    font-family: var(--font-display);
    font-size: 1.05rem;
    text-transform: uppercase;
}

.licence-fees-table__category small {
    display: block;
    margin-top: .25rem;
    color: var(--color-primary-dark);
    font-size: .76rem;
    font-weight: 700;
}

.licence-fees-table__price {
    text-align: center;
}

.licence-fees-table__price span { display: none; }

.licence-fees-table__price strong {
    color: var(--color-primary-dark);
    font-family: var(--font-heading);
    font-size: 2rem;
    line-height: 1;
}

.licence-fees-note {
    max-width: 900px;
    margin: 1.5rem auto 0;
    color: var(--color-muted);
    font-size: .88rem;
    line-height: 1.6;
    text-align: center;
}

/* MOYENS DE PAIEMENT */
.licences-payment-section {
    padding: clamp(4rem, 8vw, 7rem) 0;
    background: #f2f7f4;
}

.licence-payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: clamp(.85rem, 1.8vw, 1.25rem);
    max-width: 980px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.licence-payment-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 170px;
    padding: 1.5rem 1rem;
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 14px;
    background: var(--color-white);
    color: var(--color-primary-dark);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .055);
    text-align: center;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.licence-payment-method:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, .085);
}

.licence-payment-method__icon {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: rgba(0, 168, 84, .09);
}

.licence-payment-method__icon svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.licence-payment-method > span:last-child {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
}

.licence-payment-notice {
    display: flex;
    align-items: flex-start;
    gap: .9rem;
    max-width: 820px;
    margin: 1.75rem auto 0;
    padding: 1.15rem 1.3rem;
    border: 1px solid rgba(0, 168, 84, .13);
    border-radius: 12px;
    background: rgba(255, 255, 255, .72);
    color: #40564c;
}

.licence-payment-notice__icon {
    flex: 0 0 auto;
    color: var(--color-primary-dark);
}

.licence-payment-notice__icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.licence-payment-notice p {
    margin: 0;
    line-height: 1.6;
}

.licence-payment-notice strong { color: var(--color-primary-dark); }

/* CONTACT */
.licences-contact-section { padding: 0 0 clamp(4rem, 8vw, 7rem); }

.licences-contact {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) auto;
    align-items: center;
    gap: 2rem;
    padding: clamp(2rem, 5vw, 3.6rem);
    border-radius: 14px;
    background: linear-gradient(135deg, #06351f 0%, #008b46 100%);
    color: var(--color-white);
    box-shadow: 0 18px 42px rgba(0,93,49,.18);
}

.licences-contact::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -155px;
    width: 320px;
    height: 320px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 50%;
    box-shadow: 0 0 0 38px rgba(255,255,255,.035), 0 0 0 76px rgba(255,255,255,.02);
}

.licences-contact > * { position: relative; z-index: 1; }
.licences-contact__eyebrow { color: #9ce5bd; }
.licences-contact h2 { color: var(--color-white); }
.licences-contact h2::after { content: ""; display: block; width: 44px; height: 3px; margin-top: .7rem; background: #8be0b2; }
.licences-contact p:last-child { max-width: 700px; margin: 1rem 0 0; color: rgba(255,255,255,.75); line-height: 1.7; }
.licences-contact__actions { display: flex; flex-direction: column; align-items: center; gap: .8rem; }
.licences-contact__phone { color: var(--color-white); font-weight: 700; }

@media (max-width: 1120px) {
    .licence-journey { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .licence-fee-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
    .licence-payment-methods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .licence-paths,
    .licences-contact { grid-template-columns: 1fr; }
    .licence-fee-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .licences-contact__actions { align-items: flex-start; }
}

@media (max-width: 560px) {
    .licence-payment-methods { grid-template-columns: 1fr; }
    .licence-payment-method { min-height: 130px; }
    .licences-hero { padding-top: 3.25rem; }
    .licences-hero__title { font-size: clamp(3.25rem, 17vw, 5rem); }
    .licence-journey,
    .licence-fee-grid { grid-template-columns: 1fr; }
    .licence-path-card { padding: 1.5rem; }
    .licence-fee-card__prices { gap: .5rem; }
}

@media (max-width: 900px) {
    .licence-fees-layout { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
    .licence-fees-table__head { display: none; }
    .licence-fees-table__row {
        grid-template-columns: 1fr 1fr;
        gap: .85rem;
        padding: 1.15rem;
    }
    .licence-fees-table__category { grid-column: 1 / -1; }
    .licence-fees-table__price {
        padding: .8rem .65rem;
        border-radius: 10px;
        background: #eef6f1;
    }
    .licence-fees-table__price span {
        display: block;
        margin-bottom: .3rem;
        color: var(--color-muted);
        font-size: .68rem;
        font-weight: 700;
        text-transform: uppercase;
    }
}

.licence-path-card__phone{display:inline-flex;margin-top:.85rem;color:var(--color-primary);font-weight:700;text-decoration:none}.licence-path-card__phone:hover{text-decoration:underline}

.licence-fees-panel--unique .licence-fees-table__head,
.licence-fees-panel--unique .licence-fees-table__row {
    grid-template-columns: minmax(180px, 1.7fr) minmax(130px, .8fr);
}

@media (max-width: 620px) {
    .licence-fees-panel--unique .licence-fees-table__row {
        grid-template-columns: 1fr;
    }
    .licence-fees-panel--unique .licence-fees-table__category {
        grid-column: auto;
    }
}
